/*
Copyright 2018 The Manrope Project Authors (https://github.com/googlefonts/manrope)
Copyright 2020 The Newsreader Project Authors (http://github.com/productiontype/Newsreader)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

*/

@font-face{font-family:"Manrope";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/498cf8247b4e.woff2") format("woff2");}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/e599ceb478c4.woff2") format("woff2");}

/* ============================================================
   zappo.wtf — sistema editorial
   Fuente única: ui/design.css. scripts/build_design.py lo compila
   en <sitio>/assets/site.css junto a las fuentes y Tailwind.
   Sin esquinas redondeadas, sin sombras: reglas, tipografía y foto.
   ============================================================ */

/* ---------- Tokens por publicación ---------- */

body.editorial {
  --wrap: 1280px;
  --measure: 68ch;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  margin: 0;
  background-color: var(--paper);
  background-image: url("pattern.svg");
  background-repeat: repeat;
  background-size: 220px 220px;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.portal,
body.focus {
  --paper: #f3f0e8;
  --ink: #191713;
  --muted: #5f5a50;
  --accent: #a83a1c;
  --accent-2: #2f5d46;
  --line: #cdc6b7;
  --soft: #e9e4d7;
  --accent-ink: #fff8ee;
  --font-display: "Newsreader", Georgia, serif;
  --font-text: "Manrope", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.portal {
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  background-size: 220px 220px;
}

body.focus {
  --paper: #f4f1e9;
  --ink: #1b211c;
  --muted: #596257;
  --accent: #1e5b42;
  --accent-2: #a66a22;
  --line: #d2ccbf;
  --soft: #e9e4d7;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  background-size: 240px 240px;
}

body.circuit {
  --paper: #0d0f0e;
  --ink: #ece9df;
  --muted: #a3a399;
  --accent: #d8ff4a;
  --accent-2: #ff6b3d;
  --line: #2c302b;
  --soft: #161917;
  --accent-ink: #11130e;
  --font-display: "Space Grotesk", "Manrope", sans-serif;
  --font-text: "Space Grotesk", "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  background-size: 260px 260px;
}

body.kitchen {
  --paper: #fbf3e3;
  --ink: #261e16;
  --muted: #6e604e;
  --accent: #c83e1d;
  --accent-2: #5c6a39;
  --line: #ddcdb2;
  --soft: #f3e4ca;
  --accent-ink: #fff8ec;
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Archivo", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  background-size: 280px 280px;
}

/* ---------- Base tipográfica ---------- */

body.editorial *,
body.editorial *::before,
body.editorial *::after {
  box-sizing: border-box;
}

body.editorial :where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: inherit;
}

body.editorial h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .96;
  margin: 0;
}

body.editorial h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.04;
  margin: 0;
}

body.editorial h3 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.1;
  margin: 0;
}

body.editorial p {
  margin: 0;
  text-wrap: pretty;
}

body.editorial a {
  color: inherit;
  text-decoration: none;
}

body.editorial :where(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

body.editorial ::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

body.editorial img {
  display: block;
  max-width: 100%;
}

body.editorial .media-frame {
  border-radius: var(--r-md);
}

body.editorial .media-frame img {
  border-radius: inherit;
}

body.editorial .article-page .article-photo .media-frame,
body.editorial .recipe-lead .media-frame,
body.portal .portal-entry .media-frame {
  border-radius: var(--r-lg);
}

body.editorial .primary-link {
  border-radius: var(--r-pill);
}

body.editorial .note {
  border-radius: var(--r-md);
}

body.editorial .ingredients-panel {
  border-radius: var(--r-lg);
}

body.editorial .author-initials {
  border-radius: 50%;
}

body.editorial .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.editorial .sr-only:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Etiquetas editoriales: una sola voz para metadatos. */
body.editorial .story-meta,
body.editorial .edition-line,
body.editorial .article-category,
body.editorial .site-header nav a,
body.editorial .portal-return,
body.editorial .footer-bottom,
body.editorial .section-heading > p,
body.editorial .publication,
body.editorial .recipe-facts,
body.editorial .author-note p:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.editorial .story-category {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

body.portal .portal-entry .publication,
body.portal .featured-card .publication {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

body.portal .featured-card .publication {
  justify-self: start;
}

/* ---------- Cabecera ---------- */

body.editorial .site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

body.editorial .portal-return {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

body.editorial .portal-return .text-link {
  min-height: 34px;
  border: 0;
  color: var(--muted);
  font-size: 10px;
}

body.editorial .portal-return .text-link:hover {
  color: var(--accent);
}

body.editorial .site-header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

body.editorial .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
}

body.editorial .wordmark svg {
  flex: none;
  color: var(--accent);
}

body.editorial .site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

body.editorial .site-header nav a {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  font-size: 10px;
}

body.editorial .site-header nav a:hover,
body.editorial .site-header nav a[aria-current] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

body.circuit .wordmark {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.circuit .site-header nav a {
  font-size: 10px;
}

/* ---------- Enlaces y botones ---------- */

body.editorial .primary-link,
body.editorial .text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

body.editorial .primary-link {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}

body.editorial .primary-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

body.editorial .text-link {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

body.editorial .text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Contenedores ---------- */

body.editorial .home-layout,
body.editorial .portal-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 32px 0;
}

/* ---------- Portada: Modo Enfoque ---------- */

body.focus .lead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

body.focus .lead-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: .94;
}

body.focus .lead-copy h1 span {
  color: var(--accent);
  font-style: italic;
}

body.focus .lead-copy > p {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

body.focus .lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

body.focus .lead .media-frame {
  aspect-ratio: 4 / 5;
}

body.focus .editorial-photo figcaption,
body.kitchen .editorial-photo figcaption,
body.circuit .editorial-photo figcaption {
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
}

body.editorial .edition-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

body.focus .home-support {
  margin-top: 42px;
  padding: 0;
  border: 0;
}

body.focus .home-support h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

body.focus .day-plan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--soft);
  overflow: hidden;
}

body.focus .day-plan li {
  display: block;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  font-size: 12px;
}

body.focus .day-plan li:last-child {
  border-right: 0;
}

body.focus .day-plan time {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

body.focus .day-plan strong {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
}

body.focus .day-plan p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

body.focus .home-support .pocket-rule {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

body.focus .home-support .pocket-rule strong {
  color: var(--ink);
}

/* ---------- Portada: Circuito ---------- */

body.circuit .lead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

body.circuit .lead-copy::before {
  content: "";
  display: block;
  width: 46px;
  height: 6px;
  margin-bottom: 22px;
  background: var(--accent);
}

body.circuit .lead-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 6.4vw, 6rem);
  line-height: .92;
  letter-spacing: -.045em;
}

body.circuit .lead-copy h1 span {
  color: var(--accent);
}

body.circuit .lead-copy > p {
  max-width: 42ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

body.circuit .lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}

body.circuit .primary-link {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

body.circuit .primary-link:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #160c08;
}

body.circuit .lead .media-frame {
  aspect-ratio: 4 / 3;
}

body.circuit .lead .media-frame img,
body.circuit .story .media-frame img {
  filter: grayscale(.18) contrast(1.06);
}

body.circuit .edition-line {
  border-color: var(--line);
  color: var(--muted);
  font-size: 10px;
}

body.circuit .home-support,
body.circuit .quote-strip {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

body.circuit .home-support h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

body.circuit .comparison-strip {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

body.circuit .comparison-strip table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
}

body.circuit .comparison-strip th,
body.circuit .comparison-strip td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}

body.circuit .comparison-strip th {
  width: 50%;
  color: var(--muted);
}

body.circuit .quote-strip blockquote {
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}

body.circuit .quote-strip p {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Portada: Cuchara Rápida ---------- */

body.kitchen .lead {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

body.kitchen .lead-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: .92;
}

body.kitchen .lead-copy h1 span {
  color: var(--accent);
}

body.kitchen .lead-copy > p {
  max-width: 40ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

body.kitchen .lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}

body.kitchen .lead .media-frame {
  aspect-ratio: 5 / 4;
}

body.kitchen .edition-line {
  color: var(--muted);
  font-size: 10px;
}

body.kitchen .home-support {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  gap: 24px 48px;
  align-items: end;
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.kitchen .home-support h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

body.kitchen .home-support p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

body.kitchen .home-support .text-link {
  margin-top: 10px;
  font-size: 10px;
}

body.kitchen .closing-note {
  margin-top: 56px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

body.kitchen .closing-note p {
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

/* ---------- Archivo: Modo Enfoque (índice, no rejilla) ---------- */

body.focus .archive {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

body.focus .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

body.focus .section-heading h2 {
  max-width: 24ch;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

body.focus .section-heading > p {
  max-width: 22ch;
  text-align: right;
  color: var(--muted);
}

body.focus .story-grid {
  display: block;
  counter-reset: story;
  border-top: 1px solid var(--line);
}

body.focus .story {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-md);
  counter-increment: story;
  transition: background-color 180ms ease;
}

body.focus .story:hover {
  background: var(--soft);
}

body.focus .story::before {
  content: counter(story, decimal-leading-zero);
  padding-top: 22px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
}

body.focus .story > a {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px 0;
}

body.focus .story .media-frame {
  aspect-ratio: 1 / 1;
}

body.focus .story:first-child .media-frame {
  aspect-ratio: 4 / 3;
}

body.focus .story-text {
  padding: 0;
}

body.focus .story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 10px;
}

body.focus .story-category {
  color: var(--accent);
}

body.focus .story h3 {
  margin-top: 7px;
  max-width: 42ch;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
}

body.focus .story p.excerpt {
  margin-top: 8px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

body.focus .story:first-child {
  grid-template-columns: 1fr;
}

body.focus .story:first-child::before {
  display: none;
}

body.focus .story:first-child > a {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 34px;
  padding: 26px 0;
}

body.focus .story:first-child img {
  aspect-ratio: 4 / 3;
}

body.focus .story:first-child h3 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.02;
}

body.focus .story:first-child p.excerpt {
  max-width: 46ch;
  font-size: 14px;
}

body.focus .story > a:hover h3 {
  color: var(--accent);
}

/* ---------- Archivo: Circuito (registro técnico) ---------- */

body.circuit .archive {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

body.circuit .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

body.circuit .section-heading h2 {
  max-width: 25ch;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -.04em;
}

body.circuit .section-heading > p {
  max-width: 22ch;
  text-align: right;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.circuit .story-grid {
  display: block;
  counter-reset: story;
  border-top: 1px solid var(--line);
}

body.circuit .story {
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-sm);
  counter-increment: story;
  transition: background-color 180ms ease;
}

body.circuit .story:hover {
  background: var(--soft);
}

body.circuit .story > a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 16px 0;
}

body.circuit .story .media-frame {
  aspect-ratio: 4 / 3;
}

body.circuit .story:first-child .media-frame {
  aspect-ratio: 16 / 10;
}

body.circuit .story-text {
  padding: 0;
}

body.circuit .story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}

body.circuit .story-category {
  color: var(--accent);
}

body.circuit .story h3 {
  margin-top: 7px;
  max-width: 46ch;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

body.circuit .story h3::before {
  content: counter(story, decimal-leading-zero);
  margin-right: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  vertical-align: .2em;
}

body.circuit .story p.excerpt {
  margin-top: 8px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

body.circuit .story:first-child > a {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 26px 0;
}

body.circuit .story:first-child img {
  aspect-ratio: 16 / 10;
}

body.circuit .story:first-child h3 {
  max-width: 22ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
}

body.circuit .story:first-child h3::before {
  display: block;
  margin: 0 0 8px;
  font-size: 10px;
}

body.circuit .story > a:hover h3 {
  color: var(--accent);
}

/* ---------- Archivo: Cuchara Rápida (menú asimétrico) ---------- */

body.kitchen .archive {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

body.kitchen .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

body.kitchen .section-heading h2 {
  max-width: 24ch;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

body.kitchen .section-heading > p {
  text-align: right;
  color: var(--muted);
}

body.kitchen .story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 28px;
}

body.kitchen .story {
  grid-column: span 4;
  min-width: 0;
  padding: 12px;
  background: var(--soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}

body.kitchen .story:nth-child(1) {
  grid-column: span 7;
}

body.kitchen .story:nth-child(2) {
  grid-column: span 5;
}

body.kitchen .story:nth-child(3),
body.kitchen .story:nth-child(4) {
  grid-column: span 6;
}

body.kitchen .story .media-frame {
  aspect-ratio: 4 / 5;
}

/* Las dos primeras comparten altura para que el texto arranque a la misma línea. */
body.kitchen .story:nth-child(1) .media-frame,
body.kitchen .story:nth-child(2) .media-frame {
  aspect-ratio: auto;
  height: 440px;
}

body.kitchen .story:nth-child(3) .media-frame,
body.kitchen .story:nth-child(4) .media-frame {
  aspect-ratio: 5 / 4;
}

body.kitchen .story-text {
  padding-top: 14px;
}

body.kitchen .story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 10px;
}

body.kitchen .story-category {
  color: var(--accent);
}

body.kitchen .story h3 {
  margin-top: 7px;
  max-width: 24ch;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.05;
}

body.kitchen .story:nth-child(1) h3 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

body.kitchen .story p.excerpt {
  margin-top: 8px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

body.kitchen .story > a:hover h3 {
  color: var(--accent);
}

/* ---------- Artículos: esqueleto común ---------- */

body.editorial .article-page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

body.editorial .article-page > nav {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.editorial .article-page > nav a:hover {
  color: var(--accent);
}

body.editorial .article-page article {
  max-width: 1080px;
  margin: 0 auto;
}

body.editorial .article-page article > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: 22px 48px;
  align-items: end;
  padding: 44px 0 26px;
  border-bottom: 1px solid var(--line);
}

body.editorial .article-page article > header h1 {
  grid-column: 1 / -1;
  max-width: 16ch;
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  line-height: .94;
}

body.editorial .article-page article > header > p:not(.article-category) {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.35;
}

body.editorial .article-page article > header > div {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

body.editorial .article-page .article-category {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--soft);
  color: var(--accent);
}

body.editorial .article-page .article-photo {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 0 0;
}

body.editorial .article-page .article-photo .media-frame {
  aspect-ratio: 2 / 1;
}

body.editorial .article-page .article-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
}

body.editorial .article-prose {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 14px 0 0;
  counter-reset: section;
}

body.editorial .article-prose > p,
body.editorial .article-prose > ul,
body.editorial .article-prose > ol {
  font-size: 17px;
  line-height: 1.85;
}

body.editorial .article-prose > p:first-of-type {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.55;
  letter-spacing: -.01em;
}

body.editorial .article-prose > h2 {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.06;
  counter-increment: section;
}

body.editorial .article-prose > h2::before {
  content: counter(section, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
}

body.editorial .article-prose > h3 {
  margin-top: 32px;
  font-size: 1.25rem;
}

body.editorial .article-prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.editorial .article-prose a:hover {
  color: var(--accent);
}

body.editorial .article-prose ul,
body.editorial .article-prose ol {
  padding-left: 1.2rem;
}

body.editorial .article-prose li + li {
  margin-top: .5rem;
}

body.editorial .article-prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.5;
}

body.editorial .article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
}

body.editorial .article-prose th {
  border-bottom: 1px solid var(--ink);
  padding: 10px 8px;
  text-align: left;
  font-weight: 500;
}

body.editorial .article-prose td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  vertical-align: top;
}

body.editorial .note {
  border: 0;
  border-left: 2px solid var(--accent);
  background: var(--soft);
  padding: 20px 22px;
  margin: 30px 0;
}

body.editorial .note > p:first-child {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.editorial .note > p + p {
  margin-top: 8px;
}

body.editorial .article-page .author-note {
  display: flex;
  gap: 16px;
  max-width: var(--measure);
  margin: 48px auto 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

body.editorial .author-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
}

body.editorial .article-page .author-note p {
  font-size: 12px;
  line-height: 1.6;
}

body.editorial .article-page .author-note p:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
}

body.editorial .article-page > section {
  max-width: 1080px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

body.editorial .article-page > section > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

body.editorial .article-page > section > div:first-child h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

body.editorial .article-page > section > div:first-child a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

body.editorial .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 22px;
}

body.editorial .related-grid a {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

body.editorial .related-grid .media-frame {
  margin-bottom: 12px;
  aspect-ratio: 3 / 2;
}

body.editorial .related-grid h3 {
  font-size: 1.1rem;
  line-height: 1.15;
}

body.editorial .related-grid p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

body.editorial .related-grid a:hover h3 {
  color: var(--accent);
}

/* ---------- Página de autoría ---------- */

body.editorial .author-page article {
  max-width: 1080px;
}

body.editorial .author-page h1 {
  max-width: 14ch;
  margin-top: 8px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .92;
}

body.editorial .author-page .author-lede {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.4;
}

body.editorial .author-page .article-category {
  color: var(--accent);
}

body.editorial .author-page .author-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 62ch;
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.editorial .author-page .author-card .author-initials {
  width: 72px;
  height: 72px;
  font-size: 1.4rem;
}

body.editorial .author-page .author-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

body.editorial .author-page .author-card .author-name {
  margin-bottom: 4px;
}

body.editorial .author-page .author-card .author-name strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.editorial .author-page h2 {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

body.editorial .author-page .author-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

body.editorial .author-page .author-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
}

body.editorial .author-page .author-list a {
  text-decoration: none;
}

body.editorial .author-page .author-list a:hover {
  color: var(--accent);
}

body.editorial .author-page .author-list time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.editorial .author-page .author-more {
  max-width: 68ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

body.editorial .author-page .author-more a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Artículo de Circuito */
body.circuit .article-page article > header h1 {
  max-width: 15ch;
  letter-spacing: -.05em;
}

body.circuit .article-page article > header > p:not(.article-category) {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.65;
}

body.circuit .article-page .article-category {
  color: var(--accent);
}

body.circuit .article-prose {
  color: #d7d5cc;
}

body.circuit .article-prose > h2 {
  border-color: var(--line);
  color: var(--ink);
}

body.circuit .article-prose > h2::before {
  color: var(--accent);
}

body.circuit .article-prose > p:first-of-type {
  color: var(--ink);
}

body.circuit .article-prose a {
  color: var(--accent);
}

body.circuit .article-prose a:hover {
  color: var(--accent-2);
}

body.circuit .article-prose th {
  border-color: var(--accent);
  color: var(--ink);
}

body.circuit .article-prose td {
  border-color: var(--line);
}

body.circuit .note {
  background: var(--soft);
  border-left-color: var(--accent);
}

body.circuit .note > p:first-child {
  color: var(--accent);
}

body.circuit .note > p + p {
  color: var(--ink);
}

body.circuit .article-page .author-note {
  border-color: var(--line);
}

body.circuit .article-page .author-note p {
  color: var(--muted);
}

body.circuit .article-page .author-note p:first-child {
  color: var(--ink);
}

/* Artículo de recetas */
body.kitchen .article-page {
  max-width: 1280px;
}

body.kitchen .recipe-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin: 0;
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--line);
}

body.kitchen .recipe-lead header > h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  line-height: .92;
  letter-spacing: -.035em;
}

body.kitchen .recipe-lead header > p:not(.article-category) {
  max-width: 40ch;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-style: italic;
  line-height: 1.45;
}

body.kitchen .recipe-lead header > p.article-category {
  margin-top: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.kitchen .recipe-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.kitchen .recipe-facts span {
  padding: 12px 10px 12px 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .1em;
}

body.kitchen .recipe-facts span:last-child {
  border-right: 0;
}

body.kitchen .recipe-lead .media-frame {
  aspect-ratio: 4 / 5;
}

body.kitchen .recipe-jump {
  display: flex;
  gap: 22px;
  margin-top: 18px;
}

body.kitchen .recipe-jump a {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.kitchen .recipe-intro {
  max-width: var(--measure);
  margin: 38px auto;
}

body.kitchen .recipe-intro p {
  font-size: 16px;
  line-height: 1.8;
}

body.kitchen .ingredients-panel {
  background: var(--soft);
  border-top: 2px solid var(--accent);
  padding: 22px;
}

body.kitchen .ingredients-panel h2 {
  font-size: 1.8rem;
}

body.kitchen .ingredients-panel ul {
  font-size: 12px;
}

body.kitchen .ingredients-panel li {
  border-color: var(--line);
}

body.kitchen .recipe-method > h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
}

body.kitchen .recipe-method > ol > li {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

body.kitchen .recipe-method ol > li > span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: .9;
}

body.kitchen .recipe-method h3 {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

/* ---------- Portal ---------- */

body.portal .portal-layout {
  padding-top: 40px;
}

body.portal .portal-intro {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 56px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

body.portal .portal-intro h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.04em;
}

body.portal .portal-intro h1 span {
  color: var(--accent);
  font-style: italic;
}

body.portal .portal-kicker {
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.portal .portal-lede {
  max-width: 42ch;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

body.portal .portal-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 44px;
}

body.portal .portal-entry {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--r-lg);
  overflow: hidden;
}

body.portal .portal-entry:nth-of-type(2) {
  border-top-color: var(--accent-2);
}

body.portal .portal-entry:nth-of-type(3) {
  border-top-color: #a5742c;
}

body.portal .portal-entry .media-frame {
  display: block;
  aspect-ratio: 4 / 5;
}

body.portal .portal-entry > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 16px;
}

body.portal .portal-entry .text-link {
  margin-top: auto;
}

body.portal .portal-entry .publication {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.portal .portal-entry:nth-of-type(2) .publication {
  color: var(--accent-2);
}

body.portal .portal-entry:nth-of-type(3) .publication {
  color: #8a5a1a;
}

body.portal .portal-entry h2 {
  margin-top: 8px;
  max-width: 18ch;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.02;
}

body.portal .portal-entry p {
  margin-top: 10px;
  max-width: 40ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

body.portal .portal-entry .text-link {
  margin-top: 14px;
  align-self: flex-start;
}

body.portal .portal-entry:hover h2 {
  color: var(--accent);
}

body.portal .portal-featured {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

body.portal .portal-featured .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

body.portal .portal-featured .section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

body.portal .portal-featured .section-heading p {
  max-width: 22ch;
  text-align: right;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.portal .featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: feat;
}

body.portal .featured-card {
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px 22px 0;
  counter-increment: feat;
  transition: background-color 180ms ease;
}

body.portal .featured-card:hover {
  background: var(--soft);
}

body.portal .featured-card > a {
  display: grid;
  gap: 7px;
}

body.portal .featured-card > a::before {
  content: counter(feat, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

body.portal .featured-card .publication {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.portal .featured-card h3 {
  max-width: 30ch;
  font-size: 1.2rem;
  line-height: 1.15;
}

body.portal .featured-card p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

body.portal .featured-card .text-link {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 10px;
  min-height: 32px;
}

body.portal .featured-card > a:hover h3 {
  color: var(--accent);
}

/* ---------- Pie ---------- */

body.editorial .site-footer {
  max-width: var(--wrap);
  margin: 68px auto 0;
  padding: 28px 32px 32px;
  border-top: 1px solid var(--line);
}

body.editorial .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

body.editorial .footer-top p {
  max-width: 42ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

body.editorial .footer-top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 8px 22px;
  max-width: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.editorial .footer-top nav a {
  padding: 6px 0;
  color: var(--muted);
}

body.editorial .footer-top nav a:hover {
  color: var(--accent);
}

body.editorial .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

/* ---------- Zonas de anuncio: discretas, nunca protagonistas ---------- */

body.editorial .ad-zone {
  max-width: var(--wrap);
  margin: 34px auto 0;
  padding: 0 32px;
}

body.editorial .ad-zone-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
}

body.editorial .ad-zone-inline {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 32px;
}

body.editorial .ad-zone-inline [data-ad-slot],
body.editorial .ad-zone-header [data-ad-slot] {
  max-width: 300px;
  margin: 0 auto;
}

body.editorial [data-ad-slot] {
  border-radius: var(--r-md);
  overflow: hidden;
}

/* ---------- 404 ---------- */

body.editorial .error-page {
  max-width: 1000px;
  padding: clamp(48px, 8vw, 96px) 32px;
}

body.editorial .error-page .error-code {
  margin: 0;
  color: var(--line);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 400;
  line-height: .8;
  opacity: 1;
}

body.editorial .error-page h1 {
  max-width: 12ch;
  margin: 10px 0 18px;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1;
}

body.editorial .error-page p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 15px;
}

body.editorial .error-page .error-actions {
  margin: 24px 0 48px;
}

body.editorial .error-page .error-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

body.editorial .error-page .error-cta:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

body.editorial .error-page h2 {
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.editorial .error-page .error-list a {
  border-color: var(--line);
  font-size: 15px;
}

body.editorial .error-page .error-list a:hover {
  color: var(--accent);
}

body.editorial .error-page .error-list small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Aviso de cookies: mismo sistema, compacto ---------- */

body.editorial #mf-consent-banner {
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 11px;
  line-height: 1.45;
}

body.editorial #mf-consent-banner > p {
  flex: 1;
}

body.editorial #mf-consent-banner a {
  color: var(--accent);
}

body.editorial #mf-consent-banner .mf-actions {
  flex: none;
  gap: 6px;
  margin-top: 0;
}

body.editorial #mf-consent-banner button {
  min-height: 44px;
  padding: 10px 14px;
  border-color: var(--ink);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.editorial #mf-consent-banner button[data-consent="granted"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

body.editorial #mf-consent-banner button:focus-visible {
  outline-color: var(--accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  body.editorial .site-header-inner,
  body.editorial .portal-return,
  body.editorial .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  body.editorial .home-layout,
  body.editorial .portal-layout,
  body.editorial .article-page {
    padding-left: 24px;
    padding-right: 24px;
  }

  body.focus .lead,
  body.circuit .lead,
  body.kitchen .lead {
    gap: 36px;
  }

  body.portal .portal-covers {
    gap: 26px;
  }
}

@media (max-width: 900px) {
  body.focus .lead,
  body.circuit .lead,
  body.kitchen .lead,
  body.portal .portal-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  body.focus .lead-copy h1,
  body.circuit .lead-copy h1,
  body.kitchen .lead-copy h1,
  body.portal .portal-intro h1 {
    max-width: 15ch;
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  body.focus .lead .media-frame,
  body.circuit .lead .media-frame,
  body.kitchen .lead .media-frame {
    aspect-ratio: 4 / 3;
  }

  body.kitchen .story:nth-child(1) .media-frame,
  body.kitchen .story:nth-child(2) .media-frame {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  body.portal .portal-covers {
    gap: 20px;
  }

  body.portal .portal-entry h2 {
    font-size: 1.4rem;
  }

  body.portal .portal-entry p {
    font-size: 12px;
  }

  body.portal .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.portal .portal-entry img {
    aspect-ratio: 3 / 2;
  }

  body.focus .story:first-child > a,
  body.circuit .story:first-child > a {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.kitchen .story:nth-child(1),
  body.kitchen .story:nth-child(2),
  body.kitchen .story:nth-child(3),
  body.kitchen .story:nth-child(4),
  body.kitchen .story {
    grid-column: span 6;
  }

  body.kitchen .story:nth-child(1) h3 {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
  }

  body.editorial .article-page article > header {
    grid-template-columns: 1fr;
  }

  body.editorial .article-page article > header h1 {
    grid-column: 1;
  }

  body.editorial .article-page article > header > p:not(.article-category),
  body.editorial .article-page article > header > div,
  body.editorial .article-page .article-category {
    grid-column: 1;
    grid-row: auto;
  }

  body.editorial .article-page article > header > p:not(.article-category) {
    order: 3;
  }

  body.kitchen .recipe-lead {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.kitchen .recipe-lead .editorial-photo img {
    aspect-ratio: 4 / 3;
  }

  body.circuit .comparison-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.editorial .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body.editorial .site-header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 20px;
  }

  body.editorial .site-header nav {
    width: 100%;
    gap: 20px;
    overflow-x: auto;
  }

  body.editorial .site-header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
  }

  body.editorial .portal-return,
  body.editorial .home-layout,
  body.editorial .portal-layout,
  body.editorial .article-page,
  body.editorial .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.focus .day-plan {
    grid-template-columns: 1fr 1fr;
  }

  body.focus .day-plan li {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 14px;
  }

  body.focus .day-plan li:nth-child(2n) {
    border-right: 0;
  }

  body.focus .day-plan li:nth-child(n + 3) {
    border-bottom: 0;
  }

  body.focus .story {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 12px;
  }

  body.focus .story > a {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  body.focus .story:first-child > a {
    grid-template-columns: 1fr;
  }

  body.focus .story h3,
  body.focus .story:first-child h3 {
    font-size: 1.25rem;
  }

  body.circuit .story > a {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  body.circuit .story:first-child h3 {
    font-size: 1.5rem;
  }

  body.circuit .story h3 {
    font-size: 1.1rem;
  }

  body.circuit .story p.excerpt,
  body.focus .story p.excerpt {
    display: none;
  }

  body.portal .portal-covers {
    grid-template-columns: 1fr;
  }

  body.portal .portal-entry img,
  body.portal .portal-entry .media-frame {
    aspect-ratio: 3 / 2;
  }

  body.portal .featured-grid {
    grid-template-columns: 1fr;
  }

  body.portal .featured-card {
    padding-right: 0;
  }

  body.kitchen .story-grid {
    grid-template-columns: 1fr;
  }

  body.kitchen .story:nth-child(1),
  body.kitchen .story:nth-child(2),
  body.kitchen .story:nth-child(3),
  body.kitchen .story:nth-child(4),
  body.kitchen .story {
    grid-column: 1;
  }

  body.kitchen .story .media-frame,
  body.kitchen .story:nth-child(1) .media-frame,
  body.kitchen .story:nth-child(2) .media-frame,
  body.kitchen .story:nth-child(3) .media-frame,
  body.kitchen .story:nth-child(4) .media-frame {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  body.editorial .article-page article > header {
    padding-top: 30px;
  }

  body.editorial .article-prose > p,
  body.editorial .article-prose > ul,
  body.editorial .article-prose > ol {
    font-size: 16px;
    line-height: 1.8;
  }

  body.editorial .article-page .article-photo .media-frame {
    aspect-ratio: 4 / 3;
  }

  body.kitchen .recipe-facts {
    grid-template-columns: 1fr 1fr;
  }

  body.kitchen .recipe-facts span:nth-child(2) {
    border-right: 0;
  }

  body.kitchen .recipe-facts span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  body.editorial .related-grid {
    grid-template-columns: 1fr;
  }

  body.editorial .author-page .author-list {
    grid-template-columns: 1fr;
  }

  body.editorial .author-page .author-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  body.editorial .author-page .author-card .author-initials {
    width: 54px;
    height: 54px;
  }

  body.editorial .related-grid a {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  body.editorial .related-grid .media-frame {
    aspect-ratio: 1 / 1;
    margin: 0;
  }

  body.editorial .footer-top {
    display: block;
  }

  body.editorial .footer-top nav {
    max-width: 100%;
    margin-top: 18px;
  }

  body.editorial .footer-bottom {
    display: block;
  }

  body.editorial .footer-bottom p + p {
    margin-top: 6px;
  }

  body.editorial .ad-zone,
  body.editorial .ad-zone-inline {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.editorial #mf-consent-banner {
    display: block;
    padding: 12px;
  }

  body.editorial #mf-consent-banner .mf-actions {
    justify-content: stretch;
    margin-top: 8px;
  }

  body.editorial #mf-consent-banner button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.editorial *,
  body.editorial *::before,
  body.editorial *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Inline in every HTML: progressive enhancement, no navigation interception. */
@view-transition {
  navigation: auto;
}

body.editorial {
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ad slots reserve the 300x250 box while the network answers, then collapse if empty. */
[data-ad-slot][hidden] {
  display: none;
}

html.ads-granted [data-ad-slot][hidden] {
  display: block;
  min-height: 250px;
}

[data-ad-slot][data-ad-state="loading"],
[data-ad-slot][data-ad-state="filled"] {
  min-height: 250px;
}

[data-ad-slot][data-ad-state="empty"] {
  min-height: 0;
}

/* The Adsterra native slot adds 32px of top padding and a border around the 300x250 unit. */
[data-ad-slot][data-ad-format="native"].pt-8,
html.ads-granted [data-ad-slot][hidden][data-ad-format="native"].pt-8 {
  min-height: 283px;
}

[data-ad-slot][data-ad-format="native"][data-ad-state="empty"].pt-8 {
  min-height: 0;
}

/* --- Strategic placements: header, in-content, sidebar, footer, sticky and overlays --- */
.ad-zone-label {
  display: none;
  margin: 0 0 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted, #78716c);
}

html.ads-granted .ad-zone-label {
  display: block;
}

.ad-zone {
  display: none;
}

html.ads-granted .ad-zone {
  display: block;
}

html.ads-granted .ad-zone-sidebar {
  display: none;
}

.ad-zone-header {
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 0 24px;
}

.ad-zone-header [data-ad-slot] {
  max-width: 300px;
  margin: 0 auto;
}

.ad-zone-inline {
  margin: 30px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line, #e7e5e4);
  border-bottom: 1px solid var(--line, #e7e5e4);
  text-align: center;
}

.ad-zone-inline [data-ad-slot] {
  max-width: 300px;
  margin: 0 auto;
}

.ad-zone-footer {
  max-width: 1240px;
  margin: 44px auto 0;
  padding: 0 24px;
}

.ad-zone-footer [data-ad-slot] {
  max-width: 300px;
  margin: 0 auto;
}

.ad-zone-sidebar {
  display: none;
}

@media (min-width: 1840px) {
  html.ads-granted .ad-zone-sidebar {
    display: block;
    position: fixed;
    top: 104px;
    right: calc((100vw - 1240px) / 2 - 300px);
    z-index: 20;
    width: 300px;
  }
}

.ad-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 8px 42px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line, #d6d3d1);
  background: var(--paper, #fffdf8);
  text-align: center;
}

.ad-sticky[hidden] {
  display: none;
}

.ad-sticky [data-ad-slot] {
  max-width: 300px;
  margin: 0 auto;
}

.ad-sticky .ad-close {
  position: absolute;
  top: 6px;
  right: 8px;
}

@media (min-width: 1024px) {
  .ad-sticky {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: 336px;
    padding: 10px 36px 10px 10px;
    border: 1px solid var(--line, #d6d3d1);
  }
}

@media (min-width: 1840px) {
  .ad-sticky {
    display: none;
  }
}

.ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 25, 23, 0.62);
}

.ad-overlay[hidden] {
  display: none;
}

.ad-dialog {
  position: relative;
  width: min(360px, 100%);
  padding: 14px;
  border: 1px solid var(--line, #d6d3d1);
  background: var(--paper, #fffdf8);
}

.ad-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ad-dialog [data-ad-slot] {
  max-width: 300px;
  margin: 8px auto 0;
}

.ad-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line, #d6d3d1);
  background: transparent;
  color: inherit;
  font: 700 18px/1 sans-serif;
  cursor: pointer;
}

.ad-close:hover,
.ad-close:focus-visible {
  border-color: currentColor;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

body.ad-overlay-open {
  overflow: hidden;
}

/* Collapse the whole placement when the network leaves it empty. */
.ad-zone:has(> [data-ad-slot][data-ad-state="empty"]),
.ad-sticky:has([data-ad-slot][data-ad-state="empty"]) {
  display: none;
}

.media-frame {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  align-self: start;
  background: var(--soft);
}

body.editorial .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  transition: opacity 240ms ease, transform 600ms var(--motion-ease), filter 400ms ease;
}

/* Las proporciones concretas viven en ui/design.css; aquí solo el 4/3 base. */

.media-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  place-content: center;
  justify-items: center;
  gap: 12px;
  overflow: hidden;
  color: var(--muted);
  background: var(--soft);
  pointer-events: none;
}

.media-skeleton svg { opacity: .35; margin-bottom: 5px; }
.skeleton-line { width: 110px; height: 7px; background: currentColor; opacity: .12; }
.skeleton-line.short { width: 70px; }
.media-frame.is-loading .media-skeleton { display: grid; }
body.editorial .media-frame.is-loading img { opacity: 0; }

.media-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 15%, var(--paper) 50%, transparent 85%);
  opacity: .6;
  transform: translateX(-100%);
  animation: media-shimmer 1.5s ease-in-out infinite;
  animation-play-state: paused;
}

.media-frame.is-visible .media-skeleton::after { animation-play-state: running; }
.page-hidden .media-skeleton::after { animation-play-state: paused; }

.media-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.media-error[hidden], body.editorial .media-frame img[hidden] { display: none; }

/* One photographic reveal, not an entrance on every scrolled section. */
.lead .media-frame.is-ready,
.recipe-lead .media-frame.is-ready,
.article-photo .media-frame.is-ready {
  animation: photo-unveil 650ms var(--motion-ease) both;
}

.site-header nav a,
.primary-link,
.text-link {
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.text-link {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-position: left bottom;
  background-size: 0 1px;
  background-repeat: no-repeat;
  transition: color 180ms ease, border-color 180ms ease, background-size 260ms var(--motion-ease);
}
.text-link:is(:hover, :focus-visible) { background-size: 100% 1px; }
.primary-link:active { filter: brightness(.9); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .story > a:is(:hover, :focus-visible) .media-frame img,
  .portal-entry:is(:hover, :focus-visible) .media-frame img,
  .related-grid > a:is(:hover, :focus-visible) .media-frame img {
    transform: scale(1.035);
    filter: saturate(1.07);
  }
}

::view-transition-old(root) {
  animation: page-out 140ms ease both;
}
::view-transition-new(root) {
  animation: page-in 260ms var(--motion-ease) both;
}

@keyframes media-shimmer {
  to { transform: translateX(100%); }
}
@keyframes photo-unveil {
  from { clip-path: inset(0 8% 0 0); opacity: .75; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes page-out {
  to { opacity: 0; }
}
@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 700px) {
  .related-grid .media-frame { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  body.editorial .media-frame.is-ready { animation: none; }
  .media-skeleton::after { animation: none; opacity: 0; }
  body.editorial .media-frame img { transition: opacity 120ms ease; transform: none; filter: none; }
  .text-link { transition: color 120ms ease; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Tailwind compilado: sustituye al CDN */
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.\!sticky{position:sticky!important}.sticky{position:sticky}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.mb-7{margin-bottom:1.75rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-7{margin-top:1.75rem}.flex{display:flex}.table{display:table}.hidden{display:none}.h-auto{height:auto}.w-full{width:100%}.max-w-3xl{max-width:48rem}.border-collapse{border-collapse:collapse}.scroll-mt-24{scroll-margin-top:6rem}.list-disc{list-style-type:disc}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-y-2{row-gap:.5rem}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))}.overflow-x-auto{overflow-x:auto}.scroll-smooth{scroll-behavior:smooth}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-stone-200{--tw-border-opacity:1;border-color:rgb(231 229 228/var(--tw-border-opacity,1))}.border-stone-300{--tw-border-opacity:1;border-color:rgb(214 211 209/var(--tw-border-opacity,1))}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pl-5{padding-left:1.25rem}.pr-4{padding-right:1rem}.pt-3{padding-top:.75rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.align-top{vertical-align:top}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[1\.05rem\]{font-size:1.05rem}.text-\[10px\]{font-size:10px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-\[1\.1\]{line-height:1.1}.tracking-\[0\.16em\]{letter-spacing:.16em}.tracking-\[0\.18em\]{letter-spacing:.18em}.tracking-tight{letter-spacing:-.025em}.text-amber-800{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity,1))}.text-amber-950{--tw-text-opacity:1;color:rgb(69 26 3/var(--tw-text-opacity,1))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.text-emerald-800{--tw-text-opacity:1;color:rgb(6 95 70/var(--tw-text-opacity,1))}.text-emerald-900{--tw-text-opacity:1;color:rgb(6 78 59/var(--tw-text-opacity,1))}.text-emerald-950{--tw-text-opacity:1;color:rgb(2 44 34/var(--tw-text-opacity,1))}.text-stone-500{--tw-text-opacity:1;color:rgb(120 113 108/var(--tw-text-opacity,1))}.text-stone-600{--tw-text-opacity:1;color:rgb(87 83 78/var(--tw-text-opacity,1))}.text-stone-700{--tw-text-opacity:1;color:rgb(68 64 60/var(--tw-text-opacity,1))}.text-stone-800{--tw-text-opacity:1;color:rgb(41 37 36/var(--tw-text-opacity,1))}.text-stone-900{--tw-text-opacity:1;color:rgb(28 25 23/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.decoration-emerald-300{text-decoration-color:#6ee7b7}.underline-offset-4{text-underline-offset:4px}.marker\:text-amber-600 ::marker{color:#d97706}.marker\:text-emerald-600 ::marker{color:#059669}.marker\:text-amber-600::marker{color:#d97706}.marker\:text-emerald-600::marker{color:#059669}.hover\:text-emerald-700:hover{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.hover\:text-emerald-900:hover{--tw-text-opacity:1;color:rgb(6 78 59/var(--tw-text-opacity,1))}.hover\:decoration-emerald-700:hover{text-decoration-color:#047857}.focus\:not-sr-only:focus{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.focus\:absolute:focus{position:absolute}.focus\:left-4:focus{left:1rem}.focus\:top-4:focus{top:1rem}.focus\:z-50:focus{z-index:50}.focus\:bg-emerald-700:focus{--tw-bg-opacity:1;background-color:rgb(4 120 87/var(--tw-bg-opacity,1))}.focus\:px-4:focus{padding-left:1rem;padding-right:1rem}.focus\:py-2:focus{padding-top:.5rem;padding-bottom:.5rem}.focus\:text-white:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:640px){.sm\:py-14{padding-top:3.5rem;padding-bottom:3.5rem}.sm\:text-5xl{font-size:3rem;line-height:1}}