/* ================== BLOG · Antonio Vázquez Vega ================== */
:root {
	--avv-navy: #0E2A47;
	--avv-navy-deep: #09203a;
	--avv-gold: #C9A24B;
	--avv-cream: #F6F4EF;
	--avv-ink: #23303f;
	--avv-muted: #6b7686;
}

/* ---- Cabecera de listado (blog y categorías) ---- */
.avv-archive__header {
	text-align: center;
	padding-block: 3rem 1.5rem;
}
.avv-archive__header .entry-title {
	color: var(--avv-navy);
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.15 !important;
	font-weight: 800;
	margin: 0;
	position: relative;
	padding-bottom: 1rem;
}
.avv-archive__header .entry-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 64px;
	height: 3px;
	background: var(--avv-gold);
	border-radius: 2px;
}
.avv-archive__header .archive-description {
	max-width: 640px;
	margin: 1.1rem auto 0;
	color: var(--avv-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}
.avv-archive__empty {
	text-align: center;
	color: var(--avv-muted);
	padding-block: 2rem 4rem;
}

/* ---- Chips de categoría (listado y entrada) ---- */
.avv-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.avv-chip {
	display: inline-block;
	background: rgba(201, 162, 75, .14);
	color: var(--avv-navy) !important;
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 4px 11px;
	border-radius: 999px;
	text-decoration: none !important;
}
.avv-chip:hover { background: var(--avv-gold); color: #fff !important; }

/* ---- Grid de tarjetas ---- */
.avv-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2.25rem;
	padding-block: 1rem 3rem;
}
.avv-post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(14, 42, 71, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.avv-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 32px rgba(14, 42, 71, .16);
}
.avv-post-card__thumb {
	display: block;
	height: 190px;
	background: linear-gradient(135deg, var(--avv-navy), var(--avv-navy-deep));
}
.avv-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.avv-post-card__thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--avv-gold);
	font-size: 3.5rem;
	font-weight: 800;
	font-family: Georgia, serif;
}
.avv-post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem 1.6rem 1.75rem;
}
.avv-post-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: .7rem;
}
.avv-post-card__date {
	color: var(--avv-muted);
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.avv-post-card__title {
	margin: 0 0 .6rem;
	font-size: 1.2rem !important;
	line-height: 1.35 !important;
}
.avv-post-card__title a {
	color: var(--avv-navy) !important;
	text-decoration: none !important;
	font-weight: 700;
}
.avv-post-card__title a:hover { color: var(--avv-gold) !important; }
.avv-post-card__excerpt {
	color: var(--avv-ink);
	font-size: .95rem;
	line-height: 1.65;
	flex: 1;
}
.avv-post-card__excerpt p { margin: 0; }
.avv-post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 1.1rem;
	color: var(--avv-gold) !important;
	font-weight: 700;
	font-size: .85rem;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.avv-post-card__more span { transition: transform .2s ease; }
.avv-post-card__more:hover span { transform: translateX(4px); }

/* ---- Paginación ---- */
.avv-pagination { border-top: 1px solid #e7e4dd; padding-top: 1.5rem; }
.avv-pagination a { color: var(--avv-navy); font-weight: 600; text-decoration: none; }
.avv-pagination a:hover { color: var(--avv-gold); }

/* ---- Entrada individual ---- */
.avv-single__header { padding-block: 2.5rem 0; }
.avv-single__back {
	display: inline-block;
	color: var(--avv-muted) !important;
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none !important;
	margin-bottom: 1.4rem;
}
.avv-single__back:hover { color: var(--avv-gold) !important; }
.avv-single__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 1rem; }
.avv-single__header .entry-title {
	color: var(--avv-navy);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.2 !important;
	margin: 0 0 .5rem;
}
.avv-single__thumb {
	margin-block: 1.75rem;
	margin-inline: auto;
	max-width: 80%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(14, 42, 71, .12);
}
.avv-single__thumb img { width: 100%; height: auto; display: block; }

.avv-single__content {
	max-width: 760px;
	margin-inline: auto;
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--avv-ink);
	padding-block: 1rem 2rem;
}
.avv-single__content p { margin: 0 0 1.4rem; }
.avv-single__content h2, .avv-single__content h3 { color: var(--avv-navy); margin-top: 2rem; }
.avv-single__content img, .avv-single__content video { border-radius: 12px; }
.avv-single__content .post-tags {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e7e4dd;
	font-size: .85rem;
	color: var(--avv-muted);
}
.avv-single__content .post-tags a { color: var(--avv-navy); text-decoration: none; }
.avv-single__content .post-tags a:hover { color: var(--avv-gold); }

.avv-single__nav {
	max-width: 760px;
	margin: 0 auto 3rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	border-top: 1px solid #e7e4dd;
	padding-top: 1.75rem;
}
.avv-single__nav-link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 1rem 1.15rem;
	border-radius: 12px;
	background: var(--avv-cream);
	text-decoration: none !important;
	transition: background .2s ease;
}
.avv-single__nav-link:hover { background: rgba(201, 162, 75, .16); }
.avv-single__nav-link--next { text-align: right; align-items: flex-end; grid-column: 2; }
.avv-single__nav-label {
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--avv-gold) !important;
}
.avv-single__nav-title { color: var(--avv-navy) !important; font-weight: 600; font-size: .95rem; }

@media (max-width: 575px) {
	.avv-single__nav { grid-template-columns: 1fr; }
	.avv-single__nav-link--next { grid-column: 1; text-align: left; align-items: flex-start; }
}

/* ---- Comentarios ---- */
.avv-single #comments {
	max-width: 640px;
	margin: 0 auto 3rem;
	padding-top: 1.75rem;
	border-top: 1px solid #e7e4dd;
}
.avv-single #comments .title-comments,
.avv-single #comments .comment-reply-title {
	color: var(--avv-navy);
	font-size: 1.3rem !important;
	line-height: 1.3 !important;
}
.avv-single #comments textarea#comment {
	width: 100%;
	max-width: 100%;
	height: 110px;
	min-height: 90px;
}
.avv-single #comments input[type="text"],
.avv-single #comments input[type="email"],
.avv-single #comments input[type="url"] {
	width: 100%;
	max-width: 100%;
}
