/* cultura científica — preto e branco, vermelho só em detalhes; Fraunces nos títulos */
:root {
  --ink: #131313;
  --paper: #FFFFFF;
  --muted: #4A4A4A;
  --faint: #5C5C5C;
  --rule: #E2E2E2;
  --red: #C8192E;
  --red-on-dark: #FF6B7D;
  --pink: #FBECEE;
  --placeholder: #F2F2F0;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --label: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 19px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.label { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin: 0; }
.label a { color: inherit; text-decoration: none; }
.label-muted { color: var(--faint); font-size: 11px; letter-spacing: 0.18em; }

/* topo */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.logo { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.search-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
.search-btn:hover { color: var(--red); }

/* rodapé */
.site-footer { background: #131313; color: #BDBDBD; font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 56px 64px; }
.site-footer .about { display: flex; flex-direction: column; gap: 10px; max-width: 38em; }
.site-footer .logo { color: #FFFFFF; }
.site-footer .more { color: #FFFFFF; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--red-on-dark); text-underline-offset: 6px; padding-block: 10px; }

/* home */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-block: 16px 88px; }
.hero-art { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-art .blob { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { position: relative; width: 90%; height: auto; }
.hero h1 { margin: 12px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(42px, 6vw, 66px); line-height: 1.02; letter-spacing: -0.025em; max-width: 13em; }
.hero p { margin: 0; font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 34em; }

.section { border-top: 1px solid var(--rule); }
.section > .wrap { padding-block: 64px 72px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 8px; max-width: 42em; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.015em; }
.section-head p:not(.label) { margin: 0; color: var(--muted); }

.basics { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 28px; }
.basics a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding-block: 18px 20px; border-top: 1px solid var(--rule); text-decoration: none; }
.num { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--red); }
.basics .num { font-size: 30px; line-height: 1; }
.basics .t { font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1.15; }
.basics .d { font-size: 16px; color: var(--muted); line-height: 1.5; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.split-intro { display: flex; flex-direction: column; gap: 16px; }
.split-intro img { width: 100%; max-width: 420px; aspect-ratio: 16 / 9; object-fit: cover; }
.chapters { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.chapters a { display: flex; gap: 20px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.chapters .num { font-size: 22px; min-width: 24px; }
.chapters .t { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.2; }
.chapters .who { display: block; font-size: 16px; font-style: italic; color: var(--faint); }
.chapters .current .t { color: var(--red); }

.dark { background: #131313; color: #FFFFFF; }
.dark .label { color: var(--red-on-dark); }
.dark .section-head p:not(.label) { color: #BDBDBD; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.tools a { display: flex; flex-direction: column; gap: 4px; padding-block: 18px; border-top: 1px solid #333333; color: #FFFFFF; text-decoration: none; }
.tools a:hover .t { color: var(--red-on-dark); }
.tools .t { font-family: var(--display); font-weight: 400; font-size: 23px; }
.tools .d { font-size: 16px; color: #BDBDBD; line-height: 1.45; }
.tools .soon { font-family: var(--label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8C8C8C; }

.redbg { background: var(--red); color: #FFFFFF; }
.redbg .label { color: #FFFFFF; }
.questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; }
.questions a { display: flex; flex-direction: column; gap: 14px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,0.45); color: #FFFFFF; text-decoration: none; }
.questions .t { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 27px; line-height: 1.2; }
.questions .go { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.cards a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cards .kind { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.cards .t { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.15; }
.cards .d { font-size: 16px; font-style: italic; color: var(--faint); }
.cards a:hover .t { color: var(--red); }

.pinkbg { background: var(--pink); border-top: 0; }
.linklist { display: flex; flex-direction: column; border-top: 1px solid #DCCFD1; }
.linklist a { display: flex; flex-direction: column; gap: 4px; padding-block: 18px; border-bottom: 1px solid #DCCFD1; text-decoration: none; }
.linklist .t { font-family: var(--display); font-weight: 500; font-size: 23px; }
.linklist .d { font-size: 16px; color: var(--muted); }

/* páginas de conteúdo */
.page-head { max-width: 800px; margin: 0 auto; padding: 40px 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.5vw, 58px); line-height: 1.04; letter-spacing: -0.025em; }
.page-head .dek { margin: 0; font-size: 22px; font-style: italic; line-height: 1.45; color: var(--muted); }
.page-hero { max-width: 1060px; margin: 40px auto 0; padding-inline: 24px; }
.page-hero img { width: 100%; }

.page-body { max-width: 1160px; margin: 0 auto; padding: 48px 24px 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; justify-content: center; }
.page-body.single { display: block; }
.page-body.single article { margin: 0 auto; }
article.prose { flex: 999 1 560px; min-width: 0; max-width: 680px; }
aside.side { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 32px; }
.side .group { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--rule); padding-top: 14px; }
.side .group a { font-family: var(--display); font-weight: 400; font-size: 20px; padding-block: 6px; text-decoration: none; }
.side .group a.soon { color: var(--faint); }
.side .chapters a { padding-block: 10px; }
.side .chapters .t { font-size: 18px; }
.side .chapters .num { font-size: 18px; }
.reflect { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--red); color: #FFFFFF; }
.reflect .label { color: #FFFFFF; font-size: 11px; }
.reflect p:not(.label) { margin: 0; font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.35; }

/* texto convertido do WordPress */
.prose > *, .prose .box > *, .prose .media > div > *, .prose .cols > div > *, .prose .refs > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 22px; }
.prose p { margin-bottom: 0; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0 !important; }
.prose h2 + *, .prose h3 + * { margin-top: 10px !important; }
.prose > p:first-child:not(.center)::first-letter { float: left; font-family: var(--display); font-weight: 600; font-size: 74px; line-height: 0.85; padding: 6px 10px 0 0; color: var(--red); }
.prose h2 { margin: 44px 0 0; font-family: var(--display); font-weight: 500; font-size: 31px; line-height: 1.2; letter-spacing: -0.01em; }
.prose h3 { margin: 32px 0 0; font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1.25; }
.prose .box h3, .prose .row h3, .prose .cols h3 { margin-top: 0; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--red); }
.prose figure { margin: 32px 0 0; }
.prose figure img { margin-inline: auto; }
.prose .anim { width: 100%; }
.prose figcaption { margin-top: 8px; font-family: var(--label); font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.prose figcaption a { color: var(--faint); }
.prose blockquote { margin: 32px 0 0; padding: 0 0 0 20px; border-left: 2px solid var(--red); font-style: italic; }
.prose blockquote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--label); font-size: 13px; color: var(--faint); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 44px 0 0; }
.prose pre { margin: 22px 0 0; font-family: var(--mono); font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; padding: 18px; background: var(--placeholder); max-height: 320px; overflow: auto; }
.prose .center { text-align: center; }
.prose .box { border: 1px solid var(--rule); padding: 22px; }
.prose .box > * + * { margin-top: 14px; }
.prose .row { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; justify-content: center; }
.prose .row > * { margin-top: 0; }
.prose .row figure { margin: 0; }
.prose .row > .item { flex: 0 1 170px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.prose .row > .item > * { margin: 0; }
.prose .row > .item h3 { font-size: 18px; line-height: 1.3; }
.prose .row > .box { flex: 1 1 190px; }
.prose .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.prose .cols > div > * + * { margin-top: 14px; }
.prose .media { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: center; }
.prose .media figure { margin: 0; }
.prose .media > div > * + * { margin-top: 14px; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.prose .gallery figure { margin: 0; }
.prose .refs { font-size: 15px; line-height: 1.55; color: var(--faint); }
.prose .refs p + p { margin-top: 10px; }
.prose .refs a { color: var(--faint); word-break: break-word; }

.extra { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 16px; }
.strip { aspect-ratio: 3 / 1; background: var(--placeholder); display: flex; align-items: center; justify-content: center; font-family: var(--label); font-size: 13px; color: var(--faint); }
.related { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; text-decoration: none; }
.related img { width: 160px; aspect-ratio: 3 / 2; object-fit: cover; flex: 0 0 auto; }
.related span { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.related .t { font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1.2; }
.related .d { font-size: 16px; font-style: italic; color: var(--faint); }

.pager { border-top: 1px solid var(--rule); }
.pager .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 48px; }
.pager a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding-block: 8px; }
.pager a.next { align-items: flex-end; text-align: right; margin-left: auto; }
.pager .t { font-family: var(--display); font-weight: 400; font-size: 23px; }

.soon-page { max-width: 680px; margin: 0 auto; padding: 24px 24px 96px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.soon-page p { margin: 0; color: var(--muted); }

/* busca */
.search-panel { position: fixed; inset: 0; z-index: 50; background: rgba(19,19,19,0.55); display: flex; justify-content: center; align-items: flex-start; padding: calc(env(safe-area-inset-top, 0px) + 64px) 16px 16px; }
.search-box { width: 100%; max-width: 680px; background: var(--paper); padding: 24px; max-height: calc(100vh - 96px); overflow: auto; }
.search-box form { display: flex; gap: 12px; align-items: center; border-bottom: 2px solid var(--ink); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: none; font-family: var(--display); font-size: 26px; padding: 8px 0; background: transparent; color: var(--ink); }
.search-box .close { background: transparent; border: 0; font-family: var(--label); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; padding: 12px 0; color: var(--faint); }
.results { list-style: none; margin: 8px 0 0; padding: 0; }
.results a { display: flex; flex-direction: column; gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.results .t { font-family: var(--display); font-size: 21px; }
.results .d { font-size: 15px; color: var(--faint); }
.results .empty { padding-block: 16px; color: var(--faint); font-size: 16px; }

@media (max-width: 640px) {
  body { font-size: 18px; }
  .section > .wrap { padding-block: 48px 56px; }
  .hero { padding-bottom: 64px; }
  aside.side { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.prose .stack { display: flex; flex-direction: column; gap: 14px; }
.prose .stack > * { margin: 0 !important; }
.prose .stack.center { align-items: center; text-align: center; }
.prose .row > .stack { flex: 1 1 220px; }
.prose figure:has(> .anim) { width: 100%; flex: 1 1 100%; }
.prose .anim { aspect-ratio: auto; }

/* ---------- ajustes de outubro */
.search-panel[hidden] { display: none; }
.hero-art .credit { position: absolute; right: 0; bottom: -6px; margin: 0; font-family: var(--label); font-size: 10.5px; letter-spacing: 0.02em; }
.hero-art .credit a { color: #8A8A8A; text-decoration: none; }
.hero-art .credit a:hover { color: var(--red); text-decoration: underline; }
.page-hero figcaption { margin-top: 8px; font-family: var(--label); font-size: 12.5px; color: var(--faint); }
.page-body.single article.prose { max-width: 680px; }

/* datas do Nobel: centralizadas, logo abaixo da medalha */
.prose figcaption.year { text-align: center; font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); margin-top: 6px; }

/* caixas lado a lado (PCR, RT-qPCR) */
.prose .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.prose .card { border: 1px solid var(--rule); padding: 22px; display: flex; flex-direction: column; gap: 14px; margin: 0 !important; }
.prose .card > * { margin: 0 !important; }
.prose .card .card-title { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; line-height: 1.4; }
.prose .card figure img { margin-inline: auto; }
.prose .card p { font-size: 17px; line-height: 1.55; }

/* slideshow */
.prose .slideshow { position: relative; }
.prose .slideshow > figure { margin: 0; display: none; }
.prose .slideshow > figure.on { display: block; }
.prose .slide-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.prose .slide-btn { width: 44px; height: 44px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; }
.prose .slide-btn:hover { border-color: var(--red); color: var(--red); }
.prose .slide-dots { display: flex; gap: 2px; }
.prose .slide-dot { width: 28px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; padding: 0; }
.prose .slide-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #C9C9C9; }
.prose .slide-dot[aria-current="true"]::after { background: var(--red); }

/* organismos-modelo: uma caixa por linha */
.prose .stacked { display: flex; flex-direction: column; gap: 16px; }
.prose .stacked > .box { margin: 0 !important; overflow: hidden; }
.prose .organism-name { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.prose figure.bleed { margin: -22px -22px 0 !important; }
.prose figure.bleed video { display: block; width: 100%; height: auto; }

/* essa técnica na pesquisa: só texto */
.research { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.research li { padding-block: 16px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; margin: 0 !important; }
.research li::marker { content: none; }
.research a { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.25; text-decoration: none; }
.research a:hover { color: var(--red); }
.research p { margin: 0; font-size: 17px; line-height: 1.55; }
.research .src { font-family: var(--label); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); }

/* links que antes ficavam na lateral, agora no fim */
.related-end { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 40px; }
.related-end .group { display: flex; flex-direction: column; gap: 2px; }
.related-end .group > a { font-family: var(--display); font-size: 20px; padding-block: 6px; text-decoration: none; }
.related-end .group > a.soon { color: var(--faint); }
.related-end .chapters { border-top: 0; }
.related-end .chapters a { padding-block: 9px; }
.related-end .chapters .t { font-size: 19px; }
.related-end .chapters .num { font-size: 18px; }
.prose .research { padding-left: 0; }
.soon-page + .page-body { padding-top: 0; }
.prose .organism-name { text-align: center; }
.prose .cards-grid.icons figure img { max-width: 120px; }
.prose .card .card-title { text-transform: none; }
.prose .chapters { padding-left: 0; }

/* ---------- ajustes de 11/out */
/* história da home: duas colunas */
@media (min-width: 760px) {
  .section > .wrap.split.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .split.two .split-intro { position: sticky; top: 24px; }
}
/* pesquisa na home: uma linha, com setas */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.carousel-head .section-head { margin: 0; }
.car-nav { display: flex; gap: 8px; flex-shrink: 0; }
.car-btn { width: 48px; height: 48px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 20px; cursor: pointer; }
.car-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.car-btn:disabled { opacity: 0.3; cursor: default; }
.carousel .cards { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 72px) / 3); gap: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel .cards::-webkit-scrollbar { display: none; }
.carousel .cards > a { scroll-snap-align: start; }
@media (max-width: 900px) { .carousel .cards { grid-auto-columns: calc((100% - 36px) / 2); } }
@media (max-width: 600px) {
  .carousel .cards { grid-auto-columns: 82%; gap: 20px; }
  .carousel-head { flex-direction: column; align-items: flex-start; }
}
/* Rothmund-Thomson */
.prose h3.criteria { text-align: center; }
.prose .icon-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 28px 24px; align-items: start; }
.prose .icon-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin: 0 !important; }
.prose .icon-item > * { margin: 0 !important; }
.prose .icon-item img { height: 64px; width: auto !important; }
.prose .icon-label { font-family: var(--label); font-weight: 500; font-size: 12.5px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; }
.prose .stacked > .box .media { margin-top: 14px; }
.byline { text-align: center; margin: 6px 0 0; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.prose .box > figure { margin-top: 0; }
@media (min-width: 760px) { .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* reportagem: fotos lado a lado e linha do tempo */
.prose .photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.prose .photo-pair figure { margin: 0 !important; }
.prose .fig-title { text-align: center; margin-top: 36px !important; }
.prose .timeline { list-style: none; padding: 0; margin-top: 36px !important; border-left: 2px solid var(--red); }
.prose .timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0 10px 18px; margin: 0 !important; position: relative; }
.prose .timeline li::before { content: ''; position: absolute; left: -6px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.prose .timeline .yr { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.prose .timeline li > span:last-child { font-family: var(--label); font-size: 13px; line-height: 1.6; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- home: faixa vermelha com o topo, texto à esquerda e ilustração à direita */
body.home .site-header { background: var(--red); }
body.home .site-header .logo, body.home .site-header .search-btn { color: #FFFFFF; }
body.home .site-header .search-btn:hover { color: #131313; }
.hero-band { background: var(--red); color: #FFFFFF; }
.hero-band + .section { border-top: 0; }
.hero-band .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; text-align: left; gap: 48px; padding-block: 8px 72px; }
.hero-band .hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-band .hero h1 { margin: 0; color: #FFFFFF; }
.hero-band .hero-text p { color: #FFFFFF; opacity: 0.92; }
.hero-band .hero-art { justify-self: end; }
.hero-band .hero-art .credit a { color: rgba(255, 255, 255, 0.75); }
.hero-band .hero-art .credit a:hover { color: #FFFFFF; }
@media (max-width: 800px) {
  .hero-band .hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 56px; }
  .hero-band .hero-art { justify-self: center; max-width: 460px; }
}
/* passo a passo com imagens (Sanger) */
.prose .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 24px; margin-top: 28px !important; }
.prose .step { display: flex; flex-direction: column; gap: 10px; margin: 0 !important; }
.prose .step > * { margin: 0 !important; }
.prose .step-n { font-family: var(--display); font-style: italic; font-size: 28px; line-height: 1; color: var(--red); }
.prose .step figure img { max-height: 180px; width: auto; }
.prose .step p:not(.step-n) { font-size: 16px; line-height: 1.5; }
.prose .step-credit { font-family: var(--label); font-size: 12.5px; color: var(--faint); margin-top: 12px !important; }
.prose .step-box h3 { text-align: center; }
.prose .step-box .stacked { margin-top: 14px; }
/* tirinhas (esboço): mito e fato */
.strip-fig { margin: 0 !important; }
.strip-fig .strip-svg { display: block; width: 100%; height: auto; }
.prose .strip-fig .strip-cap { margin-top: 12px; font-family: var(--label); font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }

/* tirinhas */
.carousel .hq-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 2); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel .hq-track::-webkit-scrollbar { display: none; }
.carousel .hq-track > a { scroll-snap-align: start; display: block; }
.carousel .hq-track img { width: 100%; height: auto; display: block; }
@media (max-width: 700px) { .carousel .hq-track { grid-auto-columns: 88%; gap: 16px; } }
.section-head p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.hq-list.prose { max-width: 960px !important; }
.page-body.single article.prose.hq-list { max-width: 960px; }
.prose .hq { margin: 0 0 40px !important; }
.prose .hq img { width: 100%; height: auto; display: block; }

/* tirinhas na home: uma por vez, rolando para baixo */
.hq-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 20px; align-items: center; max-width: 1000px; margin: 0 auto; width: 100%; }
#tirinhas .hq-track { display: block; aspect-ratio: 1376 / 992; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; scroll-behavior: smooth; scrollbar-width: none; border: 1px solid var(--rule); }
#tirinhas .hq-track::-webkit-scrollbar { display: none; }
#tirinhas .hq-track > a { display: flex; align-items: center; justify-content: center; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: #fff; }
#tirinhas .hq-track img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.hq-marker { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hq-count { margin: 0; display: flex; flex-direction: column; align-items: center; font-family: var(--label); line-height: 1.1; }
.hq-now { font-family: var(--display); font-style: italic; font-size: 34px; color: var(--red); }
.hq-of { font-size: 12px; letter-spacing: 0.08em; color: var(--faint); }
.hq-dots { display: flex; flex-direction: column; gap: 2px; }
.hq-dot { width: 28px; height: 20px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.hq-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #C9C9C9; transition: transform .2s, background .2s; }
.hq-dot[aria-current="true"]::after { background: var(--red); transform: scale(1.4); }
.hq-dot:hover::after { background: var(--ink); }
@media (max-width: 700px) {
  .hq-viewer { grid-template-columns: minmax(0, 1fr) 36px; gap: 10px; }
  .hq-now { font-size: 26px; }
  .hq-dot { width: 20px; height: 14px; }
  .hq-dot::after { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
}

/* ---------- 24/out: abertura em tela cheia e nome do site menor */
.logo { font-size: 23px; }
body.home .site-header { background: #fff; }
body.home .site-header .logo, body.home .site-header .search-btn { color: var(--ink); }
body.home .site-header .search-btn:hover { color: var(--red); }
.opening { position: relative; min-height: calc(100vh - 84px); min-height: calc(100svh - 84px); display: flex; align-items: center; justify-content: center; background: #fff; }
.opening-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 6vh, 64px); padding-block: 40px 96px; }
.opening-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(52px, 11vw, 168px); line-height: 0.95; letter-spacing: -0.035em; text-align: center; color: var(--ink); text-wrap: balance; }
.opening-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.opening-nav a { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink); border: 1.5px solid var(--ink); padding: 12px 18px; transition: background .15s, color .15s, border-color .15s; }
.opening-nav a:hover, .opening-nav a:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.opening-down { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 22px; color: var(--faint); text-decoration: none; animation: opening-bob 2.4s ease-in-out infinite; }
.opening-down:hover { color: var(--red); }
@keyframes opening-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .opening-down { animation: none; } }
@media (max-width: 600px) {
  .opening-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; }
  .opening-nav a { text-align: center; padding: 14px 8px; }
}
/* poeira sobre a abertura */
.opening { overflow: hidden; }
.opening .dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.opening-inner, .opening-down { position: relative; z-index: 1; }
.opening-down { position: absolute; }
/* licença das tirinhas */
.license { border: 1px solid var(--rule); border-left: 3px solid var(--red); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; margin: 0 0 36px !important; }
.license p { margin: 0 !important; font-size: 16px; line-height: 1.55; }
.license a.dl { display: inline-block; font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--ink); padding: 12px 16px; }
.license a.dl:hover, .license a.dl:focus-visible { background: var(--red); }
.prose .license { margin-top: 20px !important; }
