/* ==========================================================================
   Comida de Abuela — hoja de estilos principal
   Un solo archivo, sin @import, sin fuentes externas.
   Índice: 1 Variables · 2 Base · 3 Utilidades · 4 Cabecera · 5 Portada
           6 Tarjetas y secciones · 7 Listados · 8 Entrada · 9 Ficha de receta
           10 Extras de entrada · 11 Comentarios · 12 Formularios · 13 Pie
           14 Bloques · 15 Impresión y accesibilidad
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------ */
:root {
	--crema: #FBF6EE;
	--arena: #F3E9DA;
	--linea: #E6D9C6;
	--tinta: #2A1B12;
	--suave: #6B5A4C;
	--terra: #A8401F;
	--terra-osc: #86321A;
	--oliva: #4B5D3A;
	--azafran: #E2A32B;
	--blanco: #fff;

	--font-title: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(42, 27, 18, .06), 0 10px 28px rgba(42, 27, 18, .08);
	--wrap: 1120px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 74px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--crema);
	color: var(--tinta);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
svg.icon { display: inline-block; flex: none; vertical-align: -0.2em; }

h1, h2, h3, h4 {
	font-family: var(--font-title);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 .6em;
	color: var(--tinta);
	text-wrap: balance;
}

p { margin: 0 0 1.1em; }

a {
	color: var(--terra);
	text-underline-offset: .18em;
}
a:hover { color: var(--terra-osc); }

:focus-visible {
	outline: 3px solid var(--terra);
	outline-offset: 3px;
	border-radius: 4px;
}

/* 3. Utilidades ------------------------------------------------------------ */
.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important;
	top: .75rem; left: .75rem; z-index: 1000;
	width: auto; height: auto; margin: 0; padding: .75rem 1.25rem;
	clip: auto; clip-path: none; overflow: visible;
	background: var(--tinta); color: var(--crema);
	border-radius: var(--radius-sm);
	text-decoration: none; font-weight: 700;
}

.kicker {
	display: inline-block;
	margin: 0 0 .5rem;
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--terra);
}

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 46px;
	padding: .7rem 1.4rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit; font-weight: 700; line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--terra); color: var(--blanco); }
.btn--primary:hover { background: var(--terra-osc); color: var(--blanco); }
.btn--ghost { background: transparent; border-color: var(--tinta); color: var(--tinta); }
.btn--ghost:hover { background: var(--tinta); color: var(--crema); }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; }

.chip {
	display: inline-block;
	padding: .45rem 1rem;
	border: 1px solid var(--linea);
	border-radius: 999px;
	background: var(--blanco);
	color: var(--tinta);
	font-size: .9rem; font-weight: 600; line-height: 1.3;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease;
}
a.chip:hover { border-color: var(--terra); color: var(--terra); }
.chip.is-current, .chip--solid { background: var(--terra); border-color: var(--terra); color: var(--blanco); }
a.chip.is-current:hover { color: var(--blanco); }

.pill {
	display: inline-block;
	padding: .5rem 1rem;
	border: 1px solid var(--linea);
	border-radius: 999px;
	background: var(--blanco);
	color: var(--tinta);
	font-size: .9rem; font-weight: 600; line-height: 1.3;
	text-decoration: none;
}
.pill:hover { border-color: var(--terra); color: var(--terra); }

.link-arrow {
	display: inline-flex; align-items: center; gap: .4rem;
	font-weight: 700; text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* Mantel de cuadros vichy: motivo decorativo sin imágenes */
.site-header::before,
.site-footer__ribbon,
.recipe::before,
.hero::after,
.tile::before {
	content: "";
	display: block;
	background-color: var(--blanco);
	background-image:
		linear-gradient(90deg, rgba(168, 64, 31, .38) 50%, transparent 50%),
		linear-gradient(rgba(168, 64, 31, .38) 50%, transparent 50%);
	background-size: 12px 12px;
}

/* 4. Cabecera ---------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--crema);
	border-bottom: 1px solid var(--linea);
}
.site-header::before { height: 6px; background-size: 6px 6px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	min-height: calc(var(--header-h) - 6px);
	flex-wrap: wrap;
}

.brand { flex: none; }
.brand__link, .custom-logo-link {
	display: inline-flex; align-items: center; gap: .6rem;
	color: var(--tinta); text-decoration: none;
}
.brand__mark { width: 34px; height: 34px; color: var(--terra); }
.brand__name {
	font-family: var(--font-title);
	font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; line-height: 1;
}
.custom-logo { max-height: 48px; width: auto; }

.site-header__tools { display: flex; align-items: center; gap: .75rem; }
.site-header__search { display: none; }

.nav-toggle {
	display: none;
	align-items: center; justify-content: center;
	width: 46px; height: 46px;
	border: 1px solid var(--linea); border-radius: 50%;
	background: var(--blanco); color: var(--tinta);
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .nav-toggle__close { display: none; }
.is-open .nav-toggle .nav-toggle__open { display: none; }
.is-open .nav-toggle .nav-toggle__close { display: inline-block; }

/* Móvil: el menú es un panel desplegable (solo si hay JS; sin JS se muestra apilado) */
.site-nav { width: 100%; order: 3; padding-bottom: .75rem; }
.js .site-nav { display: none; }
.js .is-open .site-nav {
	display: block;
	position: absolute; top: 100%; left: 0; right: 0;
	padding: 1rem var(--gutter) 1.5rem;
	background: var(--crema);
	border-bottom: 1px solid var(--linea);
	box-shadow: 0 18px 30px rgba(42, 27, 18, .12);
	max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.js .nav-toggle { display: inline-flex; }

.site-nav .menu, .site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: block;
	padding: .75rem .25rem;
	color: var(--tinta); font-weight: 600; text-decoration: none;
	border-bottom: 1px solid var(--linea);
}
.site-nav .menu a:hover, .site-nav [aria-current="page"], .site-nav .current-menu-ancestor > a { color: var(--terra); }
.site-nav .sub-menu { padding-left: 1rem; }
.site-nav__search { margin-top: 1rem; }

/* Formulario de búsqueda */
.search-form {
	display: flex; align-items: center;
	border: 1px solid var(--linea); border-radius: 999px;
	background: var(--blanco);
	overflow: hidden;
}
.search-form:focus-within { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(168, 64, 31, .18); }
.search-form__input {
	flex: 1; min-width: 0;
	padding: .7rem 0 .7rem 1.1rem;
	border: 0; background: transparent;
	font: inherit; font-size: 1rem; color: var(--tinta);
}
.search-form__input:focus { outline: 0; }
.search-form__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 44px;
	border: 0; background: transparent; color: var(--terra); cursor: pointer;
}

@media (min-width: 1000px) {
	.site-header__inner { flex-wrap: nowrap; }
	.site-nav,
	.js .site-nav { display: block; position: static; order: 0; width: auto; flex: 1; padding: 0; box-shadow: none; border: 0; }
	.site-nav .menu { display: flex; justify-content: center; gap: .15rem; }
	.site-nav .menu a { border: 0; padding: .55rem .9rem; border-radius: 999px; }
	.site-nav .menu a:hover { background: var(--arena); }
	.site-nav .menu > li { position: relative; }
	.site-nav .sub-menu {
		position: absolute; top: 100%; left: 0; z-index: 10;
		min-width: 220px; padding: .5rem;
		background: var(--blanco); border: 1px solid var(--linea);
		border-radius: var(--radius-sm); box-shadow: var(--shadow);
		display: none;
	}
	.site-nav li:hover > .sub-menu,
	.site-nav li:focus-within > .sub-menu { display: block; }
	.site-nav .sub-menu a { border-radius: 8px; padding: .5rem .75rem; }
	.site-nav__search, .nav-toggle, .js .nav-toggle { display: none; }
	.site-header__search { display: block; width: 230px; }
}

/* 5. Portada ----------------------------------------------------------------- */
.hero {
	position: relative;
	padding: clamp(2rem, 6vw, 4.5rem) 0 calc(clamp(2rem, 6vw, 4.5rem) + 10px);
	background: var(--arena);
}
.hero::after {
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 10px; background-size: 10px 10px;
}
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__title {
	margin: .2rem 0 1rem;
	font-size: clamp(2.15rem, 1.2rem + 3.8vw, 3.75rem);
	line-height: 1.06; letter-spacing: -.015em;
}
.hero__lead { max-width: 34rem; font-size: 1.15rem; color: var(--suave); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.hero__feature {
	position: relative; display: block;
	overflow: hidden; border-radius: var(--radius);
	background: var(--tinta); color: var(--blanco);
	box-shadow: var(--shadow); text-decoration: none;
}
.hero__media { display: block; }
.hero__media img {
	width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
	transition: transform .5s ease;
}
.hero__feature:hover .hero__media img { transform: scale(1.03); }
.hero__caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
	padding: 3rem 1.25rem 1.25rem;
	background: linear-gradient(to top, rgba(42, 27, 18, .92), rgba(42, 27, 18, 0));
}
.hero__caption-title {
	font-family: var(--font-title); font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
	font-weight: 700; line-height: 1.2;
}
.hero__caption-meta { font-size: .9rem; opacity: .92; }

@media (min-width: 900px) {
	.hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}

/* 6. Tarjetas y secciones ----------------------------------------------------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--sand { background: var(--arena); }
.section--tight { padding: 1.75rem 0 clamp(2.5rem, 6vw, 4rem); }
.section__head { margin-bottom: 1.75rem; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; }
.section__head--row .section__title { margin-bottom: 0; }
.section__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
.section__sub { margin: 0; max-width: 40rem; color: var(--suave); }

.grid {
	display: grid; gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
}

.card {
	position: relative;
	display: flex; flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--linea); border-radius: var(--radius);
	background: var(--blanco);
	transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { display: block; background: var(--arena); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__media--empty {
	display: grid; place-items: center;
	aspect-ratio: 3 / 2; color: var(--terra);
}
.card__placeholder { width: 56px; height: 56px; opacity: .6; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.15rem 1.2rem; }
.card__cat {
	margin: 0 0 .35rem;
	font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.card__cat a { position: relative; z-index: 2; color: var(--terra); text-decoration: none; }
.card__cat a:hover { text-decoration: underline; }
.card__title { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.25; }
.card__title a { color: var(--tinta); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--terra); }
.card__meta {
	display: flex; align-items: center; gap: .35rem;
	margin: auto 0 0; padding-top: .35rem;
	font-size: .875rem; color: var(--suave);
}

.tiles {
	display: grid; gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
	list-style: none; margin: 0; padding: 0;
}
.tile {
	position: relative; display: flex; flex-direction: column; gap: .15rem;
	height: 100%;
	padding: 1.5rem 1.15rem 1.15rem;
	overflow: hidden;
	border: 1px solid var(--linea); border-radius: var(--radius);
	background: var(--blanco);
	color: var(--tinta); text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.tile::before { position: absolute; top: 0; left: 0; right: 0; height: 6px; background-size: 6px 6px; }
.tile:hover { border-color: var(--terra); transform: translateY(-2px); color: var(--tinta); }
.tile__name { font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.tile__count { font-size: .875rem; color: var(--suave); }

.about { display: grid; gap: 2rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); max-width: 1000px; margin-inline: auto; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text { max-width: 36rem; }
.about:not(:has(.about__media)) { text-align: center; }
.about:not(:has(.about__media)) .about__text { margin-inline: auto; }
.section--about { background: var(--blanco); border-block: 1px solid var(--linea); }

/* 7. Listados ------------------------------------------------------------------- */
.listing-head { padding: 1.5rem 0 1.75rem; background: var(--arena); border-bottom: 1px solid var(--linea); }
.listing-head__title { margin: 0 0 .5rem; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); letter-spacing: -.01em; }
.listing-head__lead { max-width: 40rem; color: var(--suave); }
.listing-head .prose { margin-inline: 0; }
.listing-head__intro { margin: 0; max-width: 46rem; color: var(--suave); }
.listing-head__search { max-width: 460px; margin-top: 1rem; }
.listing-head--center { text-align: center; padding-block: 3rem; }
.listing-head--center .listing-head__lead, .listing-head--center .listing-head__search { margin-inline: auto; }
.listing-head--center .chips ul { justify-content: center; }

.chips ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	min-width: 44px; height: 44px; padding: 0 1rem;
	border: 1px solid var(--linea); border-radius: 999px;
	background: var(--blanco); color: var(--tinta);
	font-weight: 600; text-decoration: none;
}
a.page-numbers:hover { border-color: var(--terra); color: var(--terra); }
.page-numbers.current { background: var(--terra); border-color: var(--terra); color: var(--blanco); }
.page-numbers.dots { border-color: transparent; background: transparent; }

.none { max-width: 760px; }
.none__sub { margin-top: 2rem; font-size: 1.3rem; }

/* 8. Entrada --------------------------------------------------------------------- */
.entry__head { padding-top: 1.5rem; padding-bottom: .5rem; }
.entry__cat { margin: 0 0 .75rem; }
.entry__title {
	max-width: 900px;
	margin: 0 0 .75rem;
	font-size: clamp(2rem, 1.2rem + 3.2vw, 3.3rem);
	line-height: 1.1; letter-spacing: -.012em;
}
.entry__lead { max-width: 720px; font-size: 1.2rem; color: var(--suave); }
.entry__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; margin: 0; font-size: .9rem; color: var(--suave); }
.meta a { color: inherit; }

.entry__hero { margin-top: 1.25rem; margin-bottom: 0; }
.entry__hero img {
	width: 100%; max-height: min(70vh, 640px);
	aspect-ratio: 3 / 2; object-fit: cover;
	border-radius: var(--radius);
}
.entry__body { padding-top: 2rem; padding-bottom: 3rem; }

.crumbs { margin-bottom: 1rem; font-size: .875rem; color: var(--suave); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .25rem; opacity: .6; }
.crumbs a { color: var(--suave); }
.crumbs a:hover { color: var(--terra); }
.crumbs [aria-current] { display: inline-block; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.prose { max-width: 760px; margin-inline: auto; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.prose h3 { margin: 1.8em 0 .5em; font-size: 1.4rem; }
.prose h4 { margin: 1.5em 0 .4em; font-size: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 1.75em 0; }
.prose figcaption { margin-top: .5em; font-size: .875rem; color: var(--suave); text-align: center; }
.prose blockquote {
	margin: 1.75em 0; padding: .25em 0 .25em 1.25em;
	border-left: 4px solid var(--azafran);
	font-family: var(--font-title); font-size: 1.2rem; font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { padding: .6rem .75rem; border: 1px solid var(--linea); text-align: left; }
.prose th { background: var(--arena); }
.prose hr { margin: 2.5em 0; border: 0; height: 8px; background: none; border-block: 1px dashed var(--linea); }
.prose > .alignwide, .prose > .alignfull {
	position: relative; left: 50%;
	width: min(1040px, calc(100vw - 2 * var(--gutter)));
	max-width: none; transform: translateX(-50%);
}
.alignleft { float: left; margin: .4em 1.25em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.25em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.entry--legal .prose { font-size: 1rem; }
.entry--legal .prose h2 { font-size: 1.45rem; }
.page-links { margin-top: 1.5rem; }

/* 9. Ficha de receta -------------------------------------------------------------- */
.recipe {
	max-width: 960px; margin: 3rem auto 0;
	overflow: hidden;
	border: 1px solid var(--linea); border-radius: var(--radius);
	background: var(--blanco); box-shadow: var(--shadow);
}
.recipe::before { height: 10px; background-size: 10px 10px; }
.recipe__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.5rem 0; }
.recipe__title { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.recipe__facts {
	display: grid; gap: 1rem .75rem;
	grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
	margin: 1.25rem 1.5rem; padding: 1rem 1.15rem;
	background: var(--arena); border-radius: var(--radius-sm);
}
.recipe__fact dt {
	display: flex; align-items: center; gap: .35rem;
	font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--suave);
}
.recipe__fact dt .icon { width: 16px; height: 16px; color: var(--terra); }
.recipe__fact dd { margin: .2rem 0 0; font-weight: 700; }

.recipe__body { display: grid; gap: 2rem; padding: 0 1.5rem 1.75rem; }
.recipe h3 {
	display: inline-block; margin: 0 0 .9rem; padding-bottom: .25rem;
	border-bottom: 3px solid var(--azafran);
	font-size: 1.35rem;
}
.recipe h4 { margin: 1.1rem 0 .4rem; font-size: 1.05rem; color: var(--oliva); }
.recipe__ingredients, .recipe__steps { margin: 0 0 1rem; padding: 0; list-style: none; }
.recipe__ingredients li {
	position: relative;
	padding: .5rem 0 .5rem 1.7rem;
	border-bottom: 1px dashed var(--linea);
}
.recipe__ingredients li::before {
	content: ""; position: absolute; left: 0; top: .95rem;
	width: .75rem; height: .75rem;
	border: 2px solid var(--terra); border-radius: 50%;
}
.recipe__col--steps { counter-reset: paso; }
.recipe__steps li { position: relative; counter-increment: paso; padding: 0 0 1.15rem 3rem; }
.recipe__steps li::before {
	content: counter(paso);
	position: absolute; left: 0; top: -.1rem;
	display: grid; place-items: center;
	width: 2.05rem; height: 2.05rem;
	border-radius: 50%; background: var(--terra); color: var(--blanco);
	font-size: .95rem; font-weight: 800;
}
.recipe__notes {
	margin: 0 1.5rem 1.5rem; padding: 1rem 1.25rem;
	border-left: 4px solid var(--azafran); border-radius: var(--radius-sm);
	background: #FFF8E7;
}
.recipe__notes h3 { margin-bottom: .5rem; }
.recipe__notes p:last-child { margin-bottom: 0; }

@media (min-width: 800px) {
	.recipe__body { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.5rem; }
}

/* 10. Extras de entrada ----------------------------------------------------------- */
.entry__foot { display: grid; gap: 1.75rem; max-width: 760px; margin: 2.5rem auto 0; }
.tags { margin: 0; font-size: .9rem; }
.tags__label { font-weight: 700; margin-right: .35rem; }
.tags a { display: inline-block; margin: 0 .35rem .35rem 0; padding: .2rem .7rem; border: 1px solid var(--linea); border-radius: 999px; background: var(--blanco); color: var(--tinta); text-decoration: none; }
.tags a:hover { border-color: var(--terra); color: var(--terra); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.share__label { font-weight: 700; }
.share ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }

.author-box {
	display: flex; gap: 1.25rem; align-items: flex-start;
	padding: 1.4rem;
	border-radius: var(--radius); background: var(--arena);
}
.author-box__avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; }
.author-box__label { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.author-box__name { margin: 0 0 .35rem; font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; }
.author-box__bio { margin: 0 0 .6rem; color: var(--suave); }
.author-box__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.author-box__more:hover { text-decoration: underline; }

/* 11. Comentarios ------------------------------------------------------------------- */
.comments { border-top: 1px solid var(--linea); }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: 1.25rem; padding-left: 1rem; border-left: 2px solid var(--linea); }
.comment-body { padding: 1.1rem 0; border-bottom: 1px solid var(--linea); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin-bottom: .5rem; }
.comment-author { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8125rem; color: var(--suave); }
.comment-metadata a { color: inherit; }
.comment-content > :last-child { margin-bottom: 0; }
.reply a { font-size: .875rem; font-weight: 700; text-decoration: none; }
.comment-respond { margin-top: 2rem; }
.comment-reply-title { font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; }
.comment-reply-title small { margin-left: .75rem; font-size: .8rem; font-family: var(--font-body); }
.comment-form label { display: block; margin-bottom: .3rem; font-weight: 600; }
.comment-form-cookies-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }

/* 12. Formularios (comentarios y plugins de formularios) ------------------------------ */
:where(.comment-form, .wpcf7, .wpforms-container, .fluentform, .prose form) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
:where(.comment-form, .wpcf7, .wpforms-container, .fluentform, .prose form) textarea,
:where(.comment-form, .wpcf7, .wpforms-container, .fluentform, .prose form) select {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid #CDBBA2; border-radius: var(--radius-sm);
	background: var(--blanco); color: var(--tinta);
	font: inherit;
}
:where(.comment-form, .wpcf7, .wpforms-container, .fluentform, .prose form) textarea { min-height: 150px; }
:where(.comment-form, .wpcf7, .wpforms-container, .fluentform, .prose form) input:focus,
:where(.comment-form, .wpcf7, .wpforms-container, .fluentform, .prose form) textarea:focus,
:where(.comment-form, .wpcf7, .wpforms-container, .fluentform, .prose form) select:focus {
	outline: 3px solid rgba(168, 64, 31, .25); border-color: var(--terra);
}
:where(.wpcf7, .wpforms-container, .fluentform, .prose form) :is(input[type="submit"], button[type="submit"]) {
	min-height: 46px; padding: .7rem 1.6rem;
	border: 0; border-radius: 999px;
	background: var(--terra); color: var(--blanco);
	font: inherit; font-weight: 700; cursor: pointer;
}
:where(.wpcf7, .wpforms-container, .fluentform, .prose form) :is(input[type="submit"], button[type="submit"]):hover { background: var(--terra-osc); }

/* 13. Pie ----------------------------------------------------------------------------- */
.site-footer { margin-top: 0; background: var(--tinta); color: var(--arena); }
.site-footer__ribbon { height: 10px; background-color: var(--tinta); background-size: 10px 10px; }
.site-footer a { color: var(--crema); }
.site-footer a:hover { color: var(--azafran); }
.site-footer :focus-visible { outline-color: var(--azafran); }
.site-footer__grid { display: grid; gap: 2rem; padding-block: 3rem 2.25rem; }
.site-footer__name {
	display: flex; align-items: center; gap: .55rem;
	margin: 0 0 .75rem;
	font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; color: var(--crema);
}
.site-footer__name .icon { width: 30px; height: 30px; color: var(--azafran); }
.site-footer__desc { max-width: 28rem; color: rgba(243, 233, 218, .8); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.pill--light { background: transparent; border-color: rgba(243, 233, 218, .35); color: var(--crema); }
.pill--light:hover { border-color: var(--azafran); color: var(--azafran); }
.site-footer__title { margin: 0 0 .9rem; font-size: 1.05rem; color: var(--crema); }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: .55rem; }
.footer-menu a { text-decoration: none; color: rgba(243, 233, 218, .88); }
.footer-menu a:hover { text-decoration: underline; }
.site-footer__bar { border-top: 1px solid rgba(243, 233, 218, .15); }
.site-footer__bar p { margin: 0; padding-block: 1.1rem; font-size: .875rem; color: rgba(243, 233, 218, .75); }

@media (min-width: 700px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1.4fr 1fr; }
	.site-footer__brand { grid-column: auto; }
}

/* 14. Bloques del editor ---------------------------------------------------------------- */
.wp-block-button__link {
	padding: .75rem 1.5rem;
	border-radius: 999px;
	background: var(--terra); color: var(--blanco);
	font-weight: 700; text-decoration: none;
}
.wp-block-button__link:hover { background: var(--terra-osc); color: var(--blanco); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--terra); color: var(--terra); }
.wp-block-image img { height: auto; }
.wp-block-separator { border: 0; border-top: 2px dashed var(--linea); }
.wp-block-group.has-background, .wp-block-columns .has-background { padding: 1.25rem 1.5rem; border-radius: var(--radius); }
.wp-block-table { overflow-x: auto; }

/* 15. Impresión y accesibilidad --------------------------------------------------------------- */
@media print {
	.site-header, .site-footer, .crumbs, .entry__actions, .entry__hero, .entry__lead, .meta,
	.prose, .entry__foot, .related, .comments, [data-print] { display: none !important; }
	body { background: #fff; font-size: 12pt; }
	.entry__head { padding: 0 0 .5rem; }
	.entry__title { font-size: 22pt; }
	.recipe { max-width: none; margin: 0; border: 0; box-shadow: none; }
	.recipe::before { display: none; }
	.recipe__body { grid-template-columns: 1fr 1.4fr; }
	.recipe__facts, .recipe__notes { background: #fff; border: 1px solid #ccc; }
	.recipe__steps li::before { background: #fff; color: #000; border: 1px solid #000; }
	a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
