/* Single Post Page Styles - New Centered Design */
.fylo-single-post {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Dark Grey Bar Under Menu */
.fylo-single-top-bar {
	width: 100%;
	height: 80px !important;

	background: #1a1a1a;
	margin: 0 !important;
	padding: 0 !important;
	display: block;
	position: relative;
	z-index: 1;
	overflow: hidden;
	box-sizing: border-box;
}

/* Featured Image Section */
.fylo-single-featured-image {
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
    position: relative;
    z-index: 50;
    overflow: visible;
    margin-top: -50px;
}

.fylo-single-featured-image .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.fylo-single-featured-image__img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: 8px;
}

/* YouTube Video Player Section */
.fylo-single-video-player {
	width: 100%;
	padding: 0;
	margin: 0;
	display: block;
	position: relative;
	z-index: 50;
	overflow: visible;
	margin-top: -50px;
}

.fylo-single-video-player .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.fylo-video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.fylo-video-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.fylo-video-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fylo-video-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 127, 50, 0.95);
	color: #ffffff;
	border: none;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fylo-video-play-btn:hover {
	background: rgba(255, 127, 50, 1);
	transform: translate(-50%, -50%) scale(1.1);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.fylo-video-play-btn svg {
	width: 40px;
	height: 40px;
	margin-left: 4px;
}

.fylo-video-placeholder:hover .fylo-video-play-btn {
	background: rgba(255, 127, 50, 1);
}

.fylo-video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.fylo-video-placeholder.is-playing {
	cursor: default;
}

/* Centered Header Section */
.fylo-single-header {
	padding: 0 0 50px;
	background: #ffffff;
}

.fylo-single-header__content {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	margin-top: 20px;
}

/* Category Badges */
.fylo-single-header__categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 25px;
}

.fylo-single-header__category-badge {
	display: inline-block;
	background: rgba(15, 23, 42, 0.09);
	color: #0f172a;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.fylo-single-header__category-badge:hover {
	background: rgba(77, 215, 245, 0.22);
	color: #4dd7f5;
	transform: translateY(-2px);
}

/* Title */
.fylo-single-header__title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 25px;
	color: #0f172a;
	text-align: center;
}

/* Excerpt/Short Description */
.fylo-single-header__excerpt {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(15, 23, 42, 0.7);
	margin-bottom: 30px;
	text-align: center;
}

/* Social Share Icons */
.fylo-single-header__share {
	margin-top: 30px;
}

.fylo-single-header__share-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.fylo-single-header__share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.05);
	color: #0f172a;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.fylo-single-header__share-btn:hover {
	background: #0f172a;
	color: #ffffff;
	transform: translateY(-2px);
}

/* Main Content Section */
.fylo-single-content {
	padding: 60px 0;
	background: #ffffff;
}

.fylo-single-content__wrapper {
	max-width: 900px;
	margin: 0 auto;
}

.fylo-single-content__main {
	width: 100%;
}

.fylo-single-content__header {
	margin-bottom: 30px;
}

.fylo-single-content__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.fylo-single-content__category-badge {
	display: inline-block;
	background: rgba(15, 23, 42, 0.09);
	color: #0f172a;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.fylo-single-content__category-badge:hover {
	background: rgba(77, 215, 245, 0.22);
	color: #4dd7f5;
	transform: translateY(-2px);
}

.fylo-single-content__title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 20px;
	color: #0f172a;
}

.fylo-single-content__meta {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: rgba(15, 23, 42, 0.7);
	margin-bottom: 30px;
}

.fylo-single-content__share {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px 0;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
	border-bottom: 1px solid rgba(15, 23, 42, 0.1);
	margin-bottom: 40px;
}

.fylo-single-content__share-label {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.fylo-single-content__share-buttons {
	display: flex;
	gap: 10px;
}

.fylo-single-content__share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.05);
	color: #0f172a;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.fylo-single-content__share-btn:hover {
	background: #0f172a;
	color: #ffffff;
	transform: translateY(-2px);
}

.fylo-single-content__body {
	font-size: 18px;
	line-height: 1.8;
	color: #182046;
	margin-bottom: 40px;
}

.fylo-single-content__body p {
	margin-bottom: 1.5em;
}

.fylo-single-content__body h2,
.fylo-single-content__body h3,
.fylo-single-content__body h4 {
	margin-top: 2em;
	margin-bottom: 1em;
	color: #0f172a;
}

.fylo-single-content__footer {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.fylo-single-content__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.fylo-single-content__tags-label {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.fylo-single-content__tag {
	display: inline-block;
	background: rgba(15, 23, 42, 0.05);
	color: #0f172a;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.fylo-single-content__tag:hover {
	background: rgba(77, 215, 245, 0.15);
	color: #4dd7f5;
}

/* Discover More Section */
.fylo-single-discover {
	padding: 60px 0;
	background: #f8f9fa;
	border-radius: 100px 100px 0px 0px;
}

.fylo-single-discover__title {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 40px;
	color: #0f172a;
	text-align: center;
}

.fylo-single-discover__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.fylo-single-discover__item {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.fylo-single-discover__item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.fylo-single-discover__image {
	position: relative;
	display: block;
	width: 100%;
	padding-bottom: 60%;
	overflow: hidden;
	border-radius: 12px;
}

.fylo-single-discover__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	border-radius: 12px;
	z-index: 1;
}

.fylo-single-discover__item:hover .fylo-single-discover__image img {
	transform: scale(1.05);
}

.fylo-single-discover__label {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(255, 107, 53, 0.95);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 2;
}

.fylo-single-discover__format-icon {
	position: absolute !important;
	bottom: 15px !important;
	right: 15px !important;
	width: 40px !important;
	height: 40px !important;
	background: #ffffff !important;
	border: 2px solid rgba(255, 107, 53, 0.3) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.8) !important;
	transition: all 0.3s ease;
	z-index: 10 !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: none;
}

.fylo-single-discover__item:hover .fylo-single-discover__format-icon {
	transform: scale(1.15) rotate(5deg);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 6px rgba(255, 107, 53, 0.3);
	border-color: rgba(255, 107, 53, 0.5);
}

.fylo-single-discover__format-icon svg {
	width: 20px !important;
	height: 20px !important;
	color: #ff6b35 !important;
	fill: #ff6b35 !important;
	display: block !important;
	flex-shrink: 0;
	opacity: 1 !important;
	visibility: visible !important;
}

.fylo-single-discover__content {
	padding: 20px;
}

.fylo-single-discover__item-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.4;
}

.fylo-single-discover__item-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.3s ease;
}

.fylo-single-discover__item-title a:hover {
	color: #ff6b35;
}

.fylo-single-discover__item-date {
	font-size: 13px;
	color: rgba(15, 23, 42, 0.6);
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Responsive */
@media (max-width: 1024px) {
	.fylo-single-content__wrapper {
		max-width: 100%;
		padding: 0 20px;
	}
}

@media (max-width: 768px) {
	.fylo-single-header {
		padding: 40px 0;
	}
	
	.fylo-single-header__title {
		font-size: 32px;
	}
	
	.fylo-single-header__excerpt {
		font-size: 16px;
	}
	
	.fylo-single-content__title {
		font-size: 28px;
	}
	
	.fylo-single-content__body {
		font-size: 16px;
	}
	
	.fylo-single-discover__grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.fylo-single-header__title {
		font-size: 28px;
	}
	
	.fylo-single-header__excerpt {
		font-size: 15px;
	}
	
	.fylo-single-header__share-btn {
		width: 40px;
		height: 40px;
	}
	
	.fylo-single-discover__grid {
		grid-template-columns: 1fr;
	}
}

