/* Tren de sombras — hoja de estilos
   Fondo blanco, titulares en Source Sans 3 (pariente de la Myriad del logotipo),
   lectura en Newsreader. Sin adornos: tipografía, filete y fotograma. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-standard-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-ext-standard-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-standard-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-ext-standard-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-sans-3-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-sans-3-latin-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #fff;
  --tint: #f4f4f2;
  --ink: #111;
  --ink-2: #5e5e5e;
  --rule: #e2e2e0;
  --strong-rule: #111;
  --link: #111;
  --brand: #8ea732;            /* verde del favicon original */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Myriad Pro", Myriad, "Segoe UI", system-ui, sans-serif;
  --page: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121212; --tint: #1b1b1b; --ink: #ededeb; --ink-2: #a3a39f; --rule: #2c2c2a; --strong-rule: #ededeb; --link: #ededeb; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
::selection { background: var(--brand); color: #111; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.page { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: var(--bg); padding: .5rem .9rem; z-index: 10; }
.skip:focus { top: .5rem; }

/* ---------- Cabecera ---------- */
.masthead { border-bottom: 1px solid var(--strong-rule); }
.masthead .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem 1.1rem; }
.logo { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo svg { width: 2.6rem; height: 2.6rem; flex: none; }
.logo .word { display: grid; font: 400 1.85rem/1 var(--sans); letter-spacing: -.01em; }
.logo .word small { font: italic 700 .82rem/1.2 var(--sans); letter-spacing: 0; margin-top: .3rem; }
.search-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem; color: var(--ink-2); min-height: 44px; min-width: 44px; justify-content: flex-end; }
.search-link svg { width: 1.1rem; height: 1.1rem; }
.search-link:hover { color: var(--ink); }
.nav { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .85rem; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-size: 1rem; font-weight: 600; white-space: nowrap; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
@media (max-width: 40rem) {
  .masthead .top { padding-block: 1rem .8rem; }
  .logo svg { width: 2.1rem; height: 2.1rem; }
  .logo .word { font-size: 1.45rem; }
  .logo .word small { font-size: .74rem; }
  .search-link span { display: none; }
  /* Una sola línea desplazable; el difuminado del borde indica que hay más. */
  .nav { flex-wrap: nowrap; overflow-x: auto; gap: 1.25rem; margin-right: calc(-1 * var(--gutter)); padding-right: 4.5rem;
         -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .nav a { font-size: .98rem; padding-block: .2rem; }
  .prose { font-size: 1.125rem; line-height: 1.62; }
  .article { margin-top: 2rem; }
}

main { padding-bottom: 5rem; }

/* ---------- Elementos de tarjeta ---------- */
.label { font: 600 .78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.label a:hover { color: var(--ink); }
.byline { font: 400 .9rem/1.35 var(--sans); color: var(--ink-2); }
.byline b { font-weight: 600; color: var(--ink); }
.byline .sep { margin-inline: .35em; }
.dek { font: 400 1.05rem/1.4 var(--serif); color: var(--ink-2); }
.dek.film { font-style: italic; }

.img { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--tint); }
.img img { width: 100%; height: 100%; object-fit: cover; }
.img.none { display: grid; place-items: center; color: var(--rule); }
.img.none svg { width: 2.4rem; height: 2.4rem; }
.img.word { display: grid; place-items: center; background: #111; color: #f2f2f0; padding: 1rem; text-align: center; }
.img.word span { font: 300 clamp(1.6rem, 2.6vw, 2.2rem)/1.05 var(--sans); letter-spacing: -.02em; }

.card { display: grid; align-content: start; gap: .5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.card .img { margin-bottom: .45rem; }
.card h3 { font: 600 1.35rem/1.18 var(--sans); letter-spacing: -.01em; }
.card .dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .byline { margin-top: .25rem; }
.grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.grid.four .card h3 { font-size: 1.15rem; }

/* Filas (índices): texto a la izquierda, fotograma a la derecha si lo hay */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(7rem, 26vw, 17rem); gap: 1.5rem 2rem; padding-block: 1.4rem; border-bottom: 1px solid var(--rule); align-items: start; }
.row .text { display: grid; gap: .45rem; max-width: 40rem; }
.row h3 { font: 600 1.45rem/1.15 var(--sans); letter-spacing: -.012em; }
.row .dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row:not(:has(.img)) .text { grid-column: 1 / -1; }
@media (max-width: 40rem) { .row { grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 1rem; } .row h3 { font-size: 1.2rem; } .row .dek { -webkit-line-clamp: 2; } }

/* ---------- Bloques de portada ---------- */
.block { margin-top: 4rem; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 2px solid var(--strong-rule); padding-top: .7rem; margin-bottom: 1.75rem; }
.block-head h2 { font: 600 1.5rem/1.2 var(--sans); letter-spacing: -.01em; }
.block-head a.all { font-size: .95rem; color: var(--ink-2); }
.block-head a.all:hover { color: var(--ink); }

.lead { display: grid; gap: 1.5rem 3rem; margin-top: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 56rem) { .lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.lead .img { aspect-ratio: 16 / 9; }
.lead .text { display: grid; gap: .9rem; align-content: center; }
.lead h2 { font: 600 clamp(2rem, 4vw, 3.1rem)/1.04 var(--sans); letter-spacing: -.022em; }
.lead .dek { font-size: 1.25rem; line-height: 1.45; }
.lead .byline { font-size: 1rem; }

/* Entrevistas: el nombre manda */
.talks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 0 1.5rem; }
.talks li { border-bottom: 1px solid var(--rule); padding-block: 1rem 1.2rem; }
.talks .who { display: block; font: 300 2rem/1.05 var(--sans); letter-spacing: -.02em; }
.talks .ctx { display: block; margin-top: .5rem; font: italic 400 1rem/1.35 var(--serif); color: var(--ink-2); }
.talks .byline { margin-top: .4rem; }

/* Dossiers */
.dossier-card h3 { font-size: 1.6rem; }

/* Índice de cineastas en línea */
.names { font: 400 1.25rem/1.75 var(--serif); }
.names a { white-space: nowrap; }
.names a:hover { text-decoration: underline; }
.names .sep { color: var(--rule); margin-inline: .4em; }

/* ---------- Cabeceras de índice ---------- */
.index-head { padding-block: 3rem 2rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.index-head h1 { font: 600 clamp(2.4rem, 5.5vw, 3.8rem)/1 var(--sans); letter-spacing: -.025em; }
.index-head .dek { font-size: 1.25rem; max-width: 40rem; }
.index-head .count { font-size: .95rem; color: var(--ink-2); }
.subnav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .98rem; margin-top: .4rem; }
.subnav a { color: var(--ink-2); }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Listas compactas (archivo, búsqueda, autores) */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; align-items: baseline; padding-block: .9rem; border-bottom: 1px solid var(--rule); }
.list .t { font: 600 1.15rem/1.25 var(--sans); }
.list .meta { grid-column: 1; font-size: .92rem; color: var(--ink-2); }
.list .side { grid-row: 1; grid-column: 2; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.list .snippet { grid-column: 1 / -1; font: 400 1rem/1.5 var(--serif); color: var(--ink-2); max-width: 46rem; }
.year-group { display: grid; gap: 1rem 3rem; margin-bottom: 3rem; }
@media (min-width: 56rem) { .year-group { grid-template-columns: 9rem minmax(0, 1fr); } }
.year-group > h2 { font: 300 2.6rem/1 var(--sans); letter-spacing: -.03em; }

.people { list-style: none; margin: 0; padding: 0; columns: 3 16rem; column-gap: 2.5rem; }
.people li { break-inside: avoid; padding-block: .55rem; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; }
.people .n { font-weight: 600; font-size: 1.1rem; }
.people .c { color: var(--ink-2); font-size: .92rem; }

.az { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.az h2 { font: 300 2.2rem/1 var(--sans); padding-bottom: .4rem; border-bottom: 2px solid var(--strong-rule); margin-bottom: .4rem; }
.az ul { list-style: none; margin: 0; padding: 0; }
.az li { padding-block: .6rem; border-bottom: 1px solid var(--rule); }
.az .who { font-weight: 600; font-size: 1.1rem; display: block; }
.az .films { font: 400 1rem/1.45 var(--serif); color: var(--ink-2); }
.az .films a { color: var(--ink); }
.az .films a:hover { text-decoration: underline; }
.letters { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-weight: 600; margin-top: .6rem; }
.letters a { color: var(--ink-2); }

/* ---------- Texto ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem 4.5rem; margin-top: 3rem; }
@media (min-width: 64rem) { .article { grid-template-columns: minmax(0, 42rem) minmax(0, 17rem); justify-content: center; } }
.article-head { display: grid; gap: .9rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
.article-head h1 { font: 600 clamp(2.1rem, 5vw, 3.2rem)/1.05 var(--sans); letter-spacing: -.024em; }
.article-head .dek { font-size: 1.3rem; line-height: 1.4; }
.article-head .byline { font-size: 1rem; }
.hero { margin: 2rem 0 0; }
.hero img { width: 100%; }
.hero.small img { width: auto; max-width: 100%; }

.prose { margin-top: 2rem; font: 400 1.25rem/1.65 var(--serif); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { font: 600 1.3rem/1.3 var(--sans); margin: 2em 0 .6em; letter-spacing: -.005em; }
.prose h4 { font: 600 1.05rem/1.4 var(--sans); margin: 2em 0 .6em; hyphens: manual; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.25rem; border-left: 2px solid var(--ink); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.prose a:hover { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose em em { font-style: normal; }
.prose strong { font-weight: 600; }
.prose img { margin: 1.8em auto; width: min(100%, calc(var(--w, 40rem) * 1.25)); }
.prose figure.still { margin: 2em 0; display: grid; gap: .5rem; }
.prose figure.still img { margin: 0 auto; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; font: .95rem/1.45 var(--sans); margin-block: 1.6em; hyphens: manual; }
.prose td, .prose th { border-top: 1px solid var(--rule); padding: .5rem .6rem; vertical-align: top; text-align: left; }
.prose td p { margin: 0; }
.prose br + br { display: none; }
.notes { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font: 400 .98rem/1.55 var(--serif); color: var(--ink-2); }
.notes h2 { font: 600 .95rem/1.3 var(--sans); color: var(--ink); margin-bottom: .6rem; }
.notes ol { margin: 0; padding-left: 1.4rem; }
.notes li { margin-bottom: .4rem; }
.signature { margin-top: 2.5rem; padding-top: 1rem; border-top: 2px solid var(--strong-rule); display: grid; gap: .2rem; }
.signature .who { font: 600 1.2rem/1.3 var(--sans); }
.signature .what { font-size: .95rem; color: var(--ink-2); }
.chapters-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-weight: 600; }

/* Barra lateral (como «Related films» de MUBI) */
.aside { display: grid; gap: 2.25rem; align-content: start; }
.aside h2 { font: 600 .95rem/1.3 var(--sans); padding-bottom: .5rem; border-bottom: 1px solid var(--strong-rule); margin-bottom: .2rem; }
.aside .film { padding-block: .7rem; border-bottom: 1px solid var(--rule); }
.aside .film .ft { font: 700 .92rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.aside .film .fo { font: italic 400 .95rem/1.35 var(--serif); color: var(--ink-2); }
.aside .film .fd { font-size: .92rem; color: var(--ink-2); }
.aside dl { margin: 0; font-size: .92rem; line-height: 1.4; }
.aside dl > div { padding-block: .45rem; border-bottom: 1px solid var(--rule); }
.aside dt { font-weight: 600; }
.aside dd { margin: .1rem 0 0; color: var(--ink-2); }
.aside ol, .aside ul { list-style: none; margin: 0; padding: 0; }
.aside li { padding-block: .55rem; border-bottom: 1px solid var(--rule); font-size: .95rem; line-height: 1.3; }
.aside li .by { display: block; color: var(--ink-2); font-size: .88rem; margin-top: .1rem; }
.aside li[aria-current] { font-weight: 600; }
.aside .more { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; align-items: start; }
.aside .more .img { aspect-ratio: 2 / 1; }
@media (max-width: 63.99rem) { .aside { border-top: 2px solid var(--strong-rule); padding-top: 1.5rem; } }

/* Búsqueda */
.search { display: flex; border: 1px solid var(--ink); max-width: 40rem; margin-top: .5rem; }
.search input { flex: 1; min-width: 0; width: 100%; font: 400 1.25rem/1.2 var(--sans); padding: .75rem .9rem; border: 0; background: var(--bg); color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.search button { border: 0; border-left: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 600 1rem var(--sans); padding: 0 1.25rem; cursor: pointer; }
mark { background: color-mix(in srgb, var(--brand) 35%, transparent); color: inherit; }

.plain { max-width: 42rem; }
.plain .prose { margin-top: 0; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--strong-rule); padding-block: 2.5rem 3rem; font-size: .95rem; color: var(--ink-2); }
.foot .page { display: grid; gap: 2rem 3rem; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
.foot .logo svg { width: 2rem; height: 2rem; }
.foot .logo .word { font-size: 1.35rem; }
.foot p { margin-top: 1rem; max-width: 26rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.foot a { color: var(--ink); }
@media (max-width: 44rem) { .foot .page { grid-template-columns: 1fr 1fr; } .foot .page > :first-child { grid-column: 1 / -1; } }

@media print { .masthead .nav, .search-link, .foot, .aside { display: none; } .article { display: block; } }

/* Ajustes de revisión */
.index-head + .list, .index-head + .rows, .index-head + .grid { border-top: 0; }
.foot ul { align-content: start; }
