/**
 * Futuros Vinotinto - Single Article Styles (Mobile & Desktop Optimized)
 *
 * @package FuturosVinotinto
 */

/* 1. Header Consistency on Single Post */
body.single .fv-header {
	background: rgba(43, 8, 15, 0.98);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(214, 168, 75, 0.25);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.fv-icon-sm { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }

/* 2. Article Hero Banner */
.fv-single-hero {
	background: linear-gradient(135deg, var(--fv-vinotinto-dark, #3b0a13) 0%, var(--fv-vinotinto, #5b1220) 100%);
	color: #ffffff;
	padding: calc(var(--fv-header-height, 84px) + 36px) 0 45px;
	position: relative;
	overflow: hidden;
	border-bottom: 3px solid var(--fv-gold, #d4af37);
}

.fv-single-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 550px;
	height: 550px;
	background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.fv-single-hero__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.fv-single-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--fv-gold, #d4af37);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: transform 0.2s ease, color 0.2s ease;
}
.fv-single-hero__back:hover { transform: translateX(-3px); color: #ffffff; }

.fv-single-hero__category {
	display: inline-block;
	background: rgba(212, 175, 55, 0.2);
	border: 1px solid var(--fv-gold, #d4af37);
	color: var(--fv-gold, #d4af37);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 12px;
	border-radius: 20px;
}

.fv-single-hero__title {
	font-family: var(--fv-font-heading, "Bebas Neue", sans-serif);
	font-size: clamp(28px, 4.2vw, 50px);
	line-height: 1.15;
	letter-spacing: 1px;
	color: #ffffff;
	margin: 0 0 16px;
	text-transform: uppercase;
	word-break: break-word;
	overflow-wrap: break-word;
}

.fv-single-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 20px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

.fv-single-meta-item { display: inline-flex; align-items: center; gap: 6px; }

/* 3. Body Container & Featured Media */
.fv-single-body {
	padding: 45px 0 80px;
	background: #ffffff;
}

.fv-single-featured-media {
	max-width: 880px;
	margin: 0 auto 36px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	background: #2b080f;
}

.fv-single-featured-img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* 4. Prose & Gutenberg Block Styling */
.fv-single-content {
	max-width: 780px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.85;
	color: #2b2b2b;
	word-break: break-word;
	overflow-wrap: break-word;
}

.fv-single-content p { margin-bottom: 22px; }

.fv-single-content h2,
.fv-single-content h3,
.fv-single-content h4 {
	font-family: var(--fv-font-heading, "Bebas Neue", sans-serif);
	color: var(--fv-vinotinto-dark, #2b080f);
	letter-spacing: 0.5px;
	margin: 36px 0 16px;
	word-break: break-word;
}

.fv-single-content h2 {
	font-size: clamp(24px, 3.5vw, 32px);
	border-left: 4px solid var(--fv-gold, #d4af37);
	padding-left: 14px;
}

.fv-single-content h3 { font-size: clamp(20px, 3vw, 26px); }

.fv-single-content blockquote {
	margin: 28px 0;
	padding: 18px 24px;
	background: #fbf8f2;
	border-left: 4px solid var(--fv-vinotinto, #5b1220);
	font-style: italic;
	font-size: 18px;
	color: var(--fv-vinotinto-dark, #2b080f);
	border-radius: 0 8px 8px 0;
}

.fv-single-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.fv-single-content figure { margin: 24px 0; max-width: 100%; }
.fv-single-content figure figcaption { font-size: 13px; color: #6c757d; text-align: center; margin-top: 8px; }
.fv-single-content iframe, .fv-single-content video, .fv-single-content embed { max-width: 100%; border-radius: 8px; }

.fv-single-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.fv-single-content th, .fv-single-content td { padding: 10px 14px; border: 1px solid #dee2e6; font-size: 14px; }
.fv-single-content th { background: #f8f9fa; font-weight: 700; }
.fv-single-content ul, .fv-single-content ol { margin: 0 0 24px 20px; padding-left: 10px; }
.fv-single-content li { margin-bottom: 8px; }

/* 5. Mini CTA Box */
.fv-single-cta {
	max-width: 780px;
	margin: 44px auto 0;
	padding: 28px;
	background: linear-gradient(135deg, #fdfbf7 0%, #f7f1e6 100%);
	border: 1px solid rgba(212, 175, 55, 0.4);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.fv-single-cta__tag {
	display: inline-block;
	font-family: var(--fv-font-heading, "Bebas Neue", sans-serif);
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--fv-vinotinto, #5b1220);
	text-transform: uppercase;
	margin-bottom: 4px;
}

.fv-single-cta__title {
	font-family: var(--fv-font-heading, "Bebas Neue", sans-serif);
	font-size: 24px;
	color: var(--fv-vinotinto-dark, #2b080f);
	margin: 0 0 6px;
	letter-spacing: 0.5px;
}

.fv-single-cta__desc { font-size: 14px; line-height: 1.5; color: #555555; margin: 0; }
.fv-single-cta__action { flex-shrink: 0; }

/* 6. Article Footer & Share Box */
.fv-single-footer {
	max-width: 780px;
	margin: 40px auto 0;
	padding-top: 26px;
	border-top: 1px solid #e9ecef;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
}

.fv-share-box { display: flex; align-items: center; gap: 12px; }
.fv-share-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #6c757d; }

.fv-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f1f3f5;
	color: var(--fv-vinotinto, #5b1220);
	transition: all 0.2s ease;
	text-decoration: none;
}
.fv-share-btn:hover { background: var(--fv-vinotinto, #5b1220); color: #ffffff; transform: translateY(-2px); }
.fv-share-btn--wa:hover { background: #25d366; color: #ffffff; }

/* 7. Related Posts Section */
.fv-related-section {
	background: #f8f9fa;
	padding: 60px 0 80px;
	border-top: 1px solid #e9ecef;
}

.fv-related-title {
	font-family: var(--fv-font-heading, "Bebas Neue", sans-serif);
	font-size: clamp(24px, 3.5vw, 32px);
	color: var(--fv-vinotinto-dark, #2b080f);
	margin-bottom: 28px;
	text-align: center;
	letter-spacing: 1px;
}

/* 8. Responsive Breakpoints (Mobile, Tablet, Desktop) */
@media (max-width: 820px) {
	.fv-single-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 22px;
		gap: 16px;
	}
	.fv-single-cta__action,
	.fv-single-cta__action .fv-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.fv-single-hero {
		padding: calc(var(--fv-header-height, 84px) + 20px) 0 35px;
	}
	.fv-single-hero__top {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.fv-single-hero__title {
		font-size: 26px;
	}
	.fv-single-hero__meta {
		gap: 8px 14px;
		font-size: 12px;
	}
	.fv-single-body {
		padding: 30px 0 60px;
	}
	.fv-single-content {
		font-size: 15.5px;
		line-height: 1.75;
	}
	.fv-single-content blockquote {
		padding: 14px 18px;
		font-size: 16px;
		margin: 22px 0;
	}
	.fv-single-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}
	.fv-share-box,
	.fv-single-footer .fv-btn {
		justify-content: center;
		width: 100%;
	}
	.fv-related-section {
		padding: 40px 0 50px;
	}
}
