/* ============================================================
   POST / PÁGINA — single.php e page.php
   ============================================================ */

/* ===== POST FEATURED IMAGE ===== */
.post-featured {
	margin-top: var(--header-h);
	width: 100%;
}
.post-featured__img {
	width: 100%;
	aspect-ratio: 21 / 8;
	object-fit: cover;
	object-position: center;
	display: block;
}
@media (max-width: 768px) {
	.post-featured__img { aspect-ratio: 16 / 9; }
}

/* ===== POST HEADER ===== */
.post-header {
	padding: 3.5rem 0 2rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 3rem;
}
.post-header__breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}
.post-header__breadcrumb a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s;
}
.post-header__breadcrumb a:hover { color: var(--gold); }
.post-header__breadcrumb i { font-size: 0.6rem; }

.post-header__category {
	margin-bottom: 1rem;
}
.post-header__title {
	font-family: var(--font-heading);
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--text);
	margin: 0 0 1.5rem;
	max-width: 780px;
}
.post-header__meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.post-header__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.post-header__author-photo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}
.post-header__author-info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}
.post-header__author-name {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text);
}
.post-header__author-title {
	font-size: 0.72rem;
	color: var(--text-muted);
}
.post-header__date {
	font-size: 0.75rem;
	color: var(--text-muted);
}
.post-header__reading-time {
	font-size: 0.75rem;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

/* ===== POST LAYOUT ===== */
.post-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 5rem;
	padding-bottom: 6rem;
}
.post-layout--single {
	grid-template-columns: 1fr;
	max-width: 820px;
}
@media (max-width: 1024px) {
	.post-layout {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
}

/* ===== POST CONTENT ===== */
.post-content {
	max-width: 720px;
}
.post-content p {
	font-family: var(--font-body);
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--text-secondary);
	margin: 0 0 1.5rem;
}
.post-content h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.3rem, 2.5vw, 1.7rem);
	font-weight: 400;
	color: var(--text);
	margin: 2.5rem 0 1rem;
	letter-spacing: -0.015em;
}
.post-content h3 {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 400;
	color: var(--text);
	margin: 2rem 0 0.75rem;
}
.post-content ul,
.post-content ol {
	padding-left: 1.5rem;
	margin: 0 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.post-content li {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--text-secondary);
}
.post-content strong {
	color: var(--text);
	font-weight: 500;
}
.post-content a {
	color: var(--gold);
}
.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	margin: 1.5rem 0;
}
.post-content blockquote {
	margin: 2.5rem 0;
	padding: 1.5rem 2rem;
	border-left: 2px solid var(--gold);
	background: var(--bg-card);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content blockquote p {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--text);
	margin: 0;
}
.post-content blockquote cite {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: 0.75rem;
	font-style: normal;
}

/* ===== SIDEBAR ===== */
.post-sidebar {
	padding-top: 0.5rem;
}
.sidebar-widget {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	margin-bottom: 1.5rem;
}
.sidebar-widget__title {
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 1.25rem;
}
.sidebar-widget__author {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.75rem;
}
.sidebar-widget__author-photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--gold-border);
}
.sidebar-widget__author-name {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	color: var(--text);
}
.sidebar-widget__author-desc {
	font-size: 0.82rem;
	line-height: 1.6;
	color: var(--text-secondary);
}
.sidebar-widget .btn {
	width: 100%;
	justify-content: center;
	margin-top: 0.5rem;
}
.sidebar-toc {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}
.sidebar-toc li a {
	display: block;
	padding: 0.6rem 0;
	font-size: 0.85rem;
	color: var(--text-secondary);
	text-decoration: none;
	border-bottom: 1px solid var(--border);
	transition: color 0.2s;
	line-height: 1.4;
}
.sidebar-toc li:last-child a { border-bottom: none; }
.sidebar-toc li a:hover { color: var(--gold); }

/* ===== AUTHOR BOX ===== */
.post-author-box {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding: 2rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	margin-top: 3rem;
}
.post-author-box__photo {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.post-author-box__name {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	color: var(--text);
	margin: 0 0 0.35rem;
}
.post-author-box__role {
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 0.75rem;
}
.post-author-box__bio {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin: 0;
}
@media (max-width: 600px) {
	.post-author-box { flex-direction: column; }
}

/* ===== POST CTA ===== */
.post-cta {
	background: var(--bg-card);
	border-top: 1px solid var(--border);
	padding: 4rem 0;
	text-align: center;
}
.post-cta__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 400;
	color: var(--text);
	margin: 0 0 0.75rem;
}
.post-cta__subtitle {
	font-size: 0.95rem;
	color: var(--text-secondary);
	margin: 0 0 2rem;
}

/* Active nav link */
.nav__link--active {
	color: var(--gold);
}
