/*
Theme Name: MANGEEK
Theme URI: https://mangeek.com.br
Author: MANGEEK
Description: Tema editorial da MANGEEK — cultura em todas as formas. Home, categorias com filtros por tipo de matéria, agenda de eventos, matéria, busca, autor e 404.
Version: 1.3.3
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mangeek
*/

    /* =========================================================
       PALETA — extraída do layout de referência
       Contraste (WCAG AA, texto pequeno ≥ 4,5:1):
       ink/paper 15:1 · text-2/paper 11:1 · muted/paper 4,9:1
       accent/paper 5,2:1 · paper/accent 5,2:1
       ========================================================= */
    :root {
      color-scheme: only light;
      --paper: #f7f6f2;
      --ink: #1a1a1a;
      --text-2: #33302a;
      --muted: #66625b;
      --accent: #9e412e;
      --rule: #c9c7bf;
      --photo: #3b3a35;
      --photo-2: #4a4943;

      --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
      --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

      --wrap: 1680px;
      --pad: clamp(14px, 1.2vw, 20px);
      --gap: clamp(12px, 1vw, 16px);
    }

    *, *::before, *::after { box-sizing: border-box; }
    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--serif);
      font-size: 17px;
      line-height: 1.45;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; }
    h1, h2, h3, p { margin: 0; }
    ul, ol { margin: 0; padding: 0; list-style: none; }
    :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

    .skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--sans); font-size: 14px; z-index: 100; }
    .skip-link:focus { top: 12px; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

    .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

    /* ---------- Tipografia utilitária ---------- */
    .label {
      font-family: var(--sans);
      font-size: 10.5px; font-weight: 600;
      letter-spacing: .16em; text-transform: uppercase;
    }
    .kicker { color: var(--accent); }
    .meta { color: var(--muted); font-weight: 500; }
    .more { display: inline-flex; align-items: center; gap: 8px; }
    .more svg { width: 13px; height: 13px; transition: transform .2s; }
    a:hover .more svg { transform: translateX(3px); }
    a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

    /* ---------- Placeholder de foto (troque por <img>) ---------- */
    .ph {
      position: relative; width: 100%;
      background-color: var(--photo);
      background-image: repeating-linear-gradient(135deg, rgba(243,242,238,.06) 0 2px, transparent 2px 12px);
      display: grid; place-items: center;
      overflow: hidden;
    }
    .ph > span {
      font-family: var(--sans); font-size: 10px; font-weight: 600;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--paper);
    }

    /* =========================================================
       CABEÇALHO
       ========================================================= */
    .site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
    .header-inner {
      display: grid;
      grid-template-columns: auto auto 1fr auto;
      align-items: center;
      min-height: 76px;
    }
    .brand { display: flex; align-items: center; gap: 16px; padding-right: 26px; }
    .brand__star { width: 34px; height: 34px; flex: none; }
    .brand__name {
      font-family: var(--sans);
      font-weight: 900; font-stretch: 125%;
      font-size: clamp(30px, 2.6vw, 46px);
      letter-spacing: -.01em; line-height: 1;
    }
    .brand__tagline {
      font-family: var(--sans); font-size: 10.5px; font-weight: 500;
      letter-spacing: .2em; text-transform: uppercase; line-height: 1.3;
      padding-left: 16px; border-left: 1px solid var(--ink);
    }
    .vline { width: 1px; height: 34px; background: var(--rule); }

    .site-nav ul { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
    .site-nav li { display: flex; align-items: center; }
    .site-nav li + li::before { content: "·"; margin: 0 clamp(10px, 1.5vw, 26px); color: var(--ink); }
    .site-nav a {
      font-family: var(--sans); font-size: 13px; font-weight: 500;
      letter-spacing: .22em; text-transform: uppercase;
      padding: 8px 0; border-bottom: 1px solid transparent;
    }
    .site-nav a:hover { border-bottom-color: var(--ink); }

    .header-actions { display: flex; align-items: center; gap: 4px; }
    .icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
    .icon-btn svg { width: 24px; height: 24px; }
    .header-actions .vline { margin: 0 8px; height: 36px; background: var(--ink); }

    .search-bar { border-top: 1px solid var(--rule); padding: 14px 0; }
    .search-bar[hidden] { display: none; }
    .search-bar form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
    .search-bar input { flex: 1; font: inherit; font-size: 18px; padding: 10px 14px; background: #fbfbf9; color: var(--ink); border: 1px solid var(--ink); }

    .btn {
      font-family: var(--sans); font-size: 11px; font-weight: 600;
      letter-spacing: .16em; text-transform: uppercase;
      background: var(--ink); color: var(--paper);
      border: 1px solid var(--ink); padding: 0 20px; min-height: 40px; cursor: pointer;
    }
    .btn:hover { background: var(--accent); border-color: var(--accent); }

    .drawer-backdrop { position: fixed; inset: 0; background: rgba(26,26,26,.45); z-index: 60; }
    .drawer {
      position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
      background: var(--paper); border-left: 1px solid var(--ink); z-index: 70;
      padding: 20px 28px 32px; overflow-y: auto;
      transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
    }
    .drawer.is-open { transform: none; visibility: visible; }
    .drawer__top { display: flex; justify-content: flex-end; }
    .drawer nav a { display: block; font-size: 28px; line-height: 1.2; padding: 10px 0; border-bottom: 1px solid var(--rule); }
    .drawer nav a:hover { color: var(--accent); }
    /* Menu lateral: categorias só aparecem quando a barra do topo some */
    .drawer-cats { margin-bottom: 28px; }
    .drawer__inst { display: grid; }
    .drawer__inst a {
      font-family: var(--sans); font-size: 13px; font-weight: 500;
      letter-spacing: .16em; text-transform: uppercase;
      padding: 12px 0; border-bottom: 1px solid var(--rule);
    }
    .drawer__inst a:hover { color: var(--accent); }
    .drawer__inst .drawer__legal { border-bottom: 0; margin-top: 18px; font-size: 11px; color: var(--muted); padding: 6px 0; }
    .drawer__inst .drawer__legal--2 { margin-top: 0; }
    @media (min-width: 1281px) {
      .drawer-cats { display: none; }
      .drawer__top { margin-bottom: 8px; }
    }


    /* =========================================================
       BLOCO PRINCIPAL
       ========================================================= */
    .top {
      display: grid;
      grid-template-columns: minmax(0, 6.4fr) minmax(0, 3.6fr) minmax(0, 2fr) minmax(0, 3.8fr);
      gap: var(--gap);
      padding-top: var(--gap); padding-bottom: var(--gap);
    }

    /* Destaque */
    .hero { position: relative; display: block; min-height: 410px; background: var(--photo); overflow: hidden; }
    .hero .ph { position: absolute; inset: 0; place-items: start end; padding: 16px; }
    .hero__crumb {
      position: absolute; top: 22px; left: 24px; z-index: 2;
      color: var(--paper);
    }
    .hero__crumb::after { content: ""; display: block; width: 32px; height: 2px; background: var(--paper); margin-top: 10px; }
    .hero__body {
      position: absolute; left: 0; bottom: 0; z-index: 2;
      width: 78%;
      padding: 90px 40px 22px 14px;
      background: linear-gradient(to top, rgba(243,242,238,.96) 0%, rgba(243,242,238,.94) 62%, rgba(243,242,238,0) 100%);
      -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
              mask-image: linear-gradient(to right, #000 82%, transparent 100%);
    }
    .hero__title {
      font-weight: 500;
      font-size: clamp(32px, 2.6vw, 42px);
      line-height: 1.04; letter-spacing: -.01em;
      margin-bottom: 14px;
    }
    .hero__dek { font-size: 17px; line-height: 1.4; color: var(--text-2); max-width: 46ch; margin-bottom: 14px; }

    /* Em alta */
    .trending-box { border: 1px solid var(--rule); padding: 10px 14px 6px; }
    .box-title {
      font-family: var(--sans); font-size: 13px; font-weight: 600;
      letter-spacing: .12em; text-transform: uppercase;
      padding-bottom: 8px; border-bottom: 1px solid var(--rule);
    }
    .box-title--accent { color: var(--accent); }
    .trending li { border-bottom: 1px solid var(--rule); }
    .trending li:last-child { border-bottom: 0; }
    .trending a { display: grid; grid-template-columns: 52px 1fr; padding: 12px 0 10px; }
    .trending__num { font-size: 20px; line-height: 1.1; }
    .trending__title { font-size: 17px; font-weight: 500; line-height: 1.2; margin-bottom: 6px; }

    /* Editorial */
    .editorial {
      background: var(--accent); color: var(--paper);
      display: flex; flex-direction: column;
      padding: 16px 18px 0; overflow: hidden;
    }
    .editorial__title { font-weight: 500; font-size: clamp(26px, 2vw, 32px); line-height: 1.05; margin: 10px 0 18px; }
    .editorial__rule { width: 26px; height: 1px; background: var(--paper); margin-bottom: 16px; }
    .editorial p { font-size: 16px; line-height: 1.45; margin-bottom: 18px; }
    .editorial__art {
      margin: auto -18px 0; position: relative;
      min-height: 140px; flex: 1 1 140px;
      background-color: rgba(26,26,26,.22);
      background-image: repeating-linear-gradient(135deg, rgba(243,242,238,.07) 0 2px, transparent 2px 12px);
      display: grid; place-items: center;
    }
    .editorial__star { position: absolute; left: 14px; bottom: 30px; width: 46px; height: 46px; color: var(--paper); }

    /* Últimas */
    .latest-box { padding: 0; }
    .latest-box .box-title { padding: 4px 0 8px; border-bottom: 1px solid var(--rule); }
    .latest li { border-bottom: 1px solid var(--rule); }
    .latest a { display: grid; grid-template-columns: 88px 1px 1fr; gap: 14px; padding: 8px 0; align-items: start; }
    .latest .ph { aspect-ratio: 4 / 3; }
    .latest .sep { align-self: stretch; background: var(--rule); }
    .latest .kicker { display: block; margin-bottom: 4px; }
    .latest__title { font-size: 17px; font-weight: 500; line-height: 1.2; margin-bottom: 6px; }
    .latest .meta { font-size: 10.5px; }

    /* =========================================================
       CATEGORIAS
       ========================================================= */
    .cat-grid {
      display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
      border: 1px solid var(--rule);
    }
    .cat-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; padding: 4px 12px 12px; border-right: 1px solid var(--rule); }
    .cat-card:last-child { border-right: 0; }
    .cat-card .ph { aspect-ratio: 5 / 2; margin-bottom: 12px; }
    .cat-card .kicker { margin-bottom: 4px; }
    .cat-card__title { font-weight: 500; font-size: 22px; line-height: 1.1; margin-bottom: 8px; }
    .cat-card__dek { font-size: 15px; line-height: 1.35; color: var(--text-2); margin-bottom: 12px; }
    .cat-card .more { align-self: end; }

    /* =========================================================
       FAIXA INFERIOR
       ========================================================= */
    .bottom {
      display: grid;
      grid-template-columns: minmax(0, 8.6fr) minmax(0, 3.8fr) minmax(0, 3.6fr);
      gap: var(--gap);
      padding-top: var(--gap); padding-bottom: var(--gap);
    }
    .special {
      display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1.55fr);
      border: 1px solid var(--rule); align-items: stretch;
    }
    .special__star { display: grid; place-items: center; border-right: 1px solid var(--rule); color: var(--accent); }
    .special__star svg { width: 32px; height: 32px; }
    .special .ph { min-height: 96px; margin: 2px 0; }
    .special__body { padding: 8px 20px 10px; border-left: 1px solid var(--rule); margin-left: 10px; }
    .special__title { font-weight: 500; font-size: 26px; line-height: 1.1; margin: 4px 0 8px; }
    .special__body p { font-size: 16px; color: var(--text-2); line-height: 1.35; margin-bottom: 8px; }

    .newsletter { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; border: 1px solid var(--rule); padding: 4px 12px 4px 12px; align-items: center; }
    .newsletter .ph { align-self: stretch; min-height: 96px; }
    .newsletter h2 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; margin-bottom: 4px; }
    .newsletter p { font-size: 14px; color: var(--text-2); line-height: 1.35; margin-bottom: 8px; }
    .newsletter > div { min-width: 0; }
    .newsletter form { display: flex; gap: 6px; }
    .newsletter .btn { flex: none; }
    .newsletter input { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 7px 8px; background: #fbfbf9; color: var(--ink); border: 1px solid var(--rule); }
    .newsletter input::placeholder { color: var(--muted); }
    .newsletter input[aria-invalid="true"] { border-color: var(--accent); }
    .newsletter .btn { min-height: 32px; padding: 0 16px; font-size: 9.5px; }
    .form-msg { font-family: var(--sans); font-size: 11.5px; font-weight: 600; margin-top: 4px; min-height: 1em; }
    .form-msg--error { color: var(--accent); }

    .agenda { border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); padding: 6px 0 0 12px; }
    .agenda .box-title { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .16em; border-bottom: 1px solid var(--rule); }
    .agenda .box-title svg { width: 14px; height: 14px; }
    .agenda li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
    .agenda__date { font-family: var(--sans); font-size: 11.5px; font-weight: 500; }
    .agenda__place { font-size: 12.5px; color: var(--muted); }
    .agenda .more { margin-top: 6px; }

    /* =========================================================
       RODAPÉ
       ========================================================= */
    .site-footer .wrap { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .footer-inner { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; min-height: 64px; }
    .footer-inner .brand__name { font-size: clamp(26px, 2vw, 34px); }
    .footer-tagline { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 0 28px 0 16px; border-left: 1px solid var(--ink); margin-left: 14px; }
    .footer-nav { border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); padding: 8px 0; }
    .footer-nav ul { display: flex; justify-content: center; flex-wrap: wrap; }
    .footer-nav li { display: flex; align-items: center; }
    .footer-nav li + li::before { content: "·"; margin: 0 clamp(8px, 1.3vw, 22px); }
    .footer-nav a { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
    .footer-nav a:hover { color: var(--accent); }
    .social { padding-left: 26px; }
    .social .label { font-size: 8.5px; display: block; margin-bottom: 2px; }
    .social ul { display: flex; gap: 2px; }
    .social a { width: 36px; height: 36px; display: grid; place-items: center; }
    .social a:hover { color: var(--accent); }
    .social svg { width: 18px; height: 18px; }

    /* =========================================================
       RESPONSIVO
       ========================================================= */
    @media (max-width: 1280px) {
      .site-nav { display: none; }
      .header-inner { grid-template-columns: auto 1fr auto; }
      .header-inner > .vline { display: none; }
      .header-actions { grid-column: 3; }

      .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .hero { grid-column: 1 / -1; min-height: 460px; }
      .editorial { grid-column: 1 / -1; }
      .editorial__art { min-height: 120px; }

      .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .cat-card:nth-child(3n) { border-right: 0; }
      .cat-card:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }

      .bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .special { grid-column: 1 / -1; }

      .footer-inner { grid-template-columns: auto 1fr; row-gap: 10px; padding: 14px 0; }
      .footer-tagline { display: none; }
      .footer-nav { grid-column: 1 / -1; grid-row: 2; border: 0; }
      .footer-nav ul { justify-content: flex-start; }
      .social { justify-self: end; }
    }

    @media (max-width: 760px) {
      .brand__tagline { display: none; }
      .brand { padding-right: 0; }
      .header-inner { min-height: 62px; }

      .top { grid-template-columns: minmax(0, 1fr); }
      .hero { min-height: 0; background: none; }
      .hero .ph { position: relative; aspect-ratio: 4 / 3; }
      .hero__body { position: static; width: 100%; padding: 14px 0 0; background: none; -webkit-mask-image: none; mask-image: none; }

      .cat-grid { grid-template-columns: minmax(0, 1fr); border-left: 0; border-right: 0; }
      .cat-card { display: grid; grid-row: auto; grid-template-rows: none; grid-template-columns: 112px 1fr; column-gap: 14px; border-right: 0; border-bottom: 1px solid var(--rule); padding: 12px 0; }
      .cat-card:last-child { border-bottom: 0; }
      .cat-card .ph { grid-row: 1 / span 4; margin: 0; aspect-ratio: 1; }
      .cat-card .ph > span { display: none; }
      .cat-card__dek { display: none; }

      .bottom { grid-template-columns: minmax(0, 1fr); }
      .special { grid-template-columns: minmax(0, 1fr); }
      .special__star { display: none; }
      .special .ph { aspect-ratio: 16 / 9; margin: 0; }
      .special__body { border-left: 0; margin: 0; padding: 14px; }
      .newsletter { grid-template-columns: minmax(0, 1fr); padding: 14px; }
      .newsletter .ph { display: none; }
      .newsletter h2 { font-size: 13px; }
      .newsletter p { font-size: 14px; }
      .newsletter input { font-size: 16px; }
      .newsletter .btn { min-height: 44px; }
      .agenda li { grid-template-columns: 44px 1fr; }
      .agenda__place { grid-column: 2; }

      .footer-inner { grid-template-columns: minmax(0, 1fr); }
      .social { justify-self: start; padding-left: 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition: none !important; }
    }

    /* =========================================================
       AVISO DE COOKIES (LGPD)
       ========================================================= */
    .cookie {
      position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
      max-width: 760px; margin: 0 auto;
      background: var(--paper); color: var(--ink);
      border: 1px solid var(--ink); box-shadow: 0 10px 30px rgba(26,26,26,.18);
      padding: 16px 18px;
      display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
    }
    .cookie[hidden] { display: none; }
    .cookie p { font-size: 15px; line-height: 1.4; }
    .cookie a { text-decoration: underline; text-underline-offset: 2px; }
    .cookie__actions { display: flex; gap: 8px; }
    .cookie .btn { min-height: 42px; }
    .btn--ghost { background: none; color: var(--ink); }
    .btn--ghost:hover { color: var(--paper); }
    @media (max-width: 640px) {
      .cookie { grid-template-columns: minmax(0, 1fr); }
      .cookie__actions .btn { flex: 1; }
    }
    /* =========================================================
       PÁGINA DE CATEGORIA
       ========================================================= */
    .site-nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); }
    .drawer nav a[aria-current="page"] { color: var(--accent); }

    .cat-head { padding-top: 28px; }
    .cat-head__crumb { color: var(--muted); }
    .cat-head__crumb a:hover { color: var(--ink); text-decoration: underline; }
    .cat-head__row {
      display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: end;
      padding: 10px 0 18px; border-bottom: 1px solid var(--ink);
    }
    .cat-head__title {
      font-family: var(--serif); font-weight: 500;
      font-size: clamp(36px, 3.2vw, 48px); line-height: 1; letter-spacing: -.01em;
    }
    .cat-head__desc { font-size: 17px; line-height: 1.45; color: var(--text-2); max-width: 52ch; padding-bottom: 6px; border-left: 1px solid var(--rule); padding-left: 24px; }

    .filters { display: flex; flex-wrap: wrap; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
    .filters li { display: flex; align-items: center; }
    .filters li + li::before { content: "·"; margin: 0 clamp(8px, 1.4vw, 22px); }
    .filters button {
      background: none; border: 0; cursor: pointer;
      font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
      padding: 8px 0; border-bottom: 2px solid transparent;
    }
    .filters button:hover { border-bottom-color: var(--ink); }
    .filters button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }

    /* Destaques da categoria */
    .features {
      display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
      gap: var(--gap); padding-top: 24px; padding-bottom: 32px;
    }
    .feature-lead { position: relative; display: block; min-height: 480px; background: var(--photo); overflow: hidden; }
    .feature-lead .ph { position: absolute; inset: 0; place-items: start end; padding: 16px; }
    .feature-lead .hero__crumb { top: 22px; left: 24px; }
    .feature-lead .hero__body { width: 72%; }
    .feature-side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); }
    .feature-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; border: 1px solid var(--rule); padding: 12px; }
    .feature-card .ph { height: 100%; min-height: 150px; }
    .feature-card__body { display: flex; flex-direction: column; }
    .feature-card .kicker { margin-bottom: 6px; }
    .feature-card__title { font-weight: 500; font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
    .feature-card__dek { font-size: 15px; color: var(--text-2); line-height: 1.35; margin-bottom: 10px; }
    .feature-card .more { margin-top: auto; }

    /* Lista + lateral */
    .listing { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 40px); padding-bottom: 32px; align-items: start; }
    .section-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 10px; margin-bottom: 18px; }
    .section-head h2 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
    .section-head .meta { font-size: 10.5px; }

    .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
    .post { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
    .post .ph { aspect-ratio: 3 / 2; margin-bottom: 12px; }
    .post .kicker { margin-bottom: 5px; }
    .post__title { font-weight: 500; font-size: 22px; line-height: 1.1; margin-bottom: 8px; }
    .post__dek { font-size: 15px; line-height: 1.4; color: var(--text-2); margin-bottom: 10px; }
    .post .meta { align-self: end; }

    .post--wide { grid-column: 1 / -1; grid-template-rows: none; align-content: center; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
    .post--wide .ph { aspect-ratio: 16 / 9; margin: 0; }
    .post--wide .post__title { font-size: 30px; line-height: 1.06; }
    .post--wide .post__dek { font-size: 17px; }
    .post--wide .meta { margin-top: 4px; }

    .post[hidden] { display: none; }
    .empty-msg { grid-column: 1 / -1; padding: 24px 0; color: var(--text-2); }

    .load-more { display: flex; justify-content: center; padding-top: 6px; }
    .btn--outline { background: none; color: var(--ink); min-height: 46px; padding: 0 28px; }
    .btn--outline:hover { color: var(--paper); }

    .sidebar { display: grid; gap: 24px; position: sticky; top: 16px; }
    .side-box .box-title { border-bottom: 1px solid var(--ink); }
    .side-box .trending a { grid-template-columns: 36px 1fr; padding: 10px 0; }
    .side-box .trending__title { font-size: 17px; }
    .releases li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
    .releases__date { font-family: var(--sans); font-size: 12px; font-weight: 600; }
    .releases__title { font-size: 17px; font-weight: 500; line-height: 1.25; display: block; margin-bottom: 3px; }
    .releases .meta { font-size: 9.5px; }
    .side-box > .more { margin-top: 10px; }

    @media (max-width: 1280px) {
      .features { grid-template-columns: minmax(0, 1fr); }
      .feature-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
      .listing { grid-template-columns: minmax(0, 1fr); }
      .sidebar { position: static; grid-template-columns: 1fr 1fr; }
      .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 760px) {
      .cat-head__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
      .cat-head__desc { border-left: 0; padding-left: 0; font-size: 16px; }
      .cat-head__title { font-size: 30px; }
      .filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .filters button { white-space: nowrap; }
      .feature-lead { min-height: 0; background: none; }
      .feature-lead .ph { position: relative; aspect-ratio: 4 / 3; }
      .feature-lead .hero__body { position: static; width: 100%; padding: 14px 0 0; background: none; -webkit-mask-image: none; mask-image: none; }
      .feature-side { grid-template-columns: minmax(0, 1fr); }
      .feature-card { grid-template-columns: 112px 1fr; }
      .feature-card .ph { min-height: 0; aspect-ratio: 1; height: auto; }
      .feature-card__dek { display: none; }
      .post-grid { grid-template-columns: minmax(0, 1fr); }
      .post--wide { grid-template-columns: minmax(0, 1fr); gap: 12px; }
      .post--wide .post__title { font-size: 24px; }
      .sidebar { grid-template-columns: minmax(0, 1fr); }
    }

    /* =========================================================
       PÁGINA DE EVENTOS (AGENDA)
       ========================================================= */
    .ev-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); }
    .ev-tools .filters { border-bottom: 0; }
    .uf-select { display: flex; align-items: center; gap: 10px; }
    .uf-select select {
      font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
      background: var(--paper); color: var(--ink); border: 1px solid var(--ink); padding: 8px 30px 8px 12px; min-height: 40px;
      appearance: none; -webkit-appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
      background-position: right 14px center, right 9px center; background-size: 5px 5px; background-repeat: no-repeat;
      cursor: pointer;
    }
    .ev-feature-date {
      position: absolute; top: 20px; left: 24px; z-index: 2;
      background: var(--paper); color: var(--ink); padding: 8px 12px 6px; text-align: center; line-height: 1;
    }
    .ev-feature-date b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; }
    .ev-feature-date .label { font-size: 9.5px; }
    .feature-lead .hero__place { font-size: 16px; color: var(--text-2); margin-bottom: 12px; }

    .ev-month { margin-bottom: 28px; }
    .ev-month[hidden] { display: none; }
    .ev-month__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 28px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
    .ev {
      display: grid; grid-template-columns: 64px 128px minmax(0, 1fr) auto; gap: 20px; align-items: center;
      padding: 14px 0; border-bottom: 1px solid var(--rule);
    }
    .ev[hidden] { display: none; }
    .ev__date { text-align: center; border-right: 1px solid var(--rule); padding-right: 16px; line-height: 1; }
    .ev__day { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; margin-bottom: 4px; }
    .ev__img { aspect-ratio: 4 / 3; }
    .ev__info .kicker { display: block; margin-bottom: 4px; }
    .ev__title { margin: 0 0 4px; font-weight: 500; font-size: 22px; line-height: 1.1; }
    .ev__place { font-size: 15px; color: var(--text-2); }
    .ev__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
    .ev__price { color: var(--text-2); }
    .ev__price--free { color: var(--accent); font-weight: 700; }

    .promo { background: var(--accent); color: var(--paper); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
    .promo h2 { font-weight: 500; font-size: 26px; line-height: 1.05; }
    .promo p { font-size: 15px; line-height: 1.4; }
    .promo .btn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; background: var(--paper); color: var(--ink); border-color: var(--paper); }
    .promo .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

    .bottom--two { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); }

    @media (max-width: 1280px) {
      .bottom--two .special { grid-column: auto; }
      .bottom--two { grid-template-columns: minmax(0, 1fr); }
    }
    @media (max-width: 900px) {
      .ev-tools { flex-direction: column; align-items: stretch; gap: 0; }
      .uf-select { padding: 10px 0 12px; }
      .uf-select select { flex: 1; }
    }
    @media (max-width: 760px) {
      .ev { grid-template-columns: 56px minmax(0, 1fr); gap: 6px 14px; align-items: start; }
      .ev__img { display: none; }
      .ev__date { grid-row: 1 / span 2; padding-right: 12px; }
      .ev__side { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
      .ev__day { font-size: 28px; }
      .ev-month__title { font-size: 24px; }
      .ev__title { font-size: 20px; }
    }
  
    /* =========================================================
       PÁGINAS DE CONTEÚDO (matéria, institucionais, 404, busca, autor)
       ========================================================= */
    .crumb { color: var(--muted); padding-top: 24px; }
    .crumb a:hover { color: var(--ink); text-decoration: underline; }
    .page-head { padding-bottom: 18px; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
    .page-head h1 { font-weight: 500; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; margin-top: 10px; }
    .page-head p { font-size: 18px; color: var(--text-2); max-width: 60ch; margin-top: 10px; }

    .layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 3vw, 56px); align-items: start; padding-bottom: 40px; }
    .layout--narrow { grid-template-columns: minmax(0, 760px); justify-content: center; }

    .prose { font-size: 19px; line-height: 1.6; max-width: 68ch; }
    .prose > * + * { margin-top: 1em; }
    .prose h2 { font-weight: 500; font-size: 28px; line-height: 1.15; margin-top: 1.6em; }
    .prose h3 { font-weight: 600; font-size: 21px; margin-top: 1.4em; }
    .prose ul, .prose ol { padding-left: 1.2em; }
    .prose ul { list-style: disc; } .prose ol { list-style: decimal; }
    .prose li + li { margin-top: .4em; }
    .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
    .prose blockquote {
      margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
      font-size: 26px; line-height: 1.25; font-style: italic;
    }
    .prose blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
    .prose figure { margin: 1.6em 0; }
    .prose figcaption, .figcap { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
    .toc { border: 1px solid var(--rule); padding: 14px 18px; font-size: 16px; }
    .toc ol { list-style: decimal; padding-left: 1.2em; margin-top: 8px; }
    .toc a:hover { color: var(--accent); }

    /* Botões e CTAs */
    .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
    .btn--accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
    .btn--accent:hover { background: var(--ink); border-color: var(--ink); }
    .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
    .cta-box { border: 1px solid var(--ink); padding: 20px; display: grid; gap: 10px; }
    .cta-box h2 { font-weight: 500; font-size: 24px; line-height: 1.1; }
    .cta-box p { font-size: 16px; color: var(--text-2); }
    .cta-box .btn { justify-self: start; }
    .aside-stack { display: grid; gap: 20px; position: sticky; top: 16px; }

    /* Formulários */
    .form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
    .field { display: grid; gap: 6px; }
    .field--full { grid-column: 1 / -1; }
    .field label, .field legend { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
    .field .req { color: var(--accent); }
    .field input, .field select, .field textarea {
      font: inherit; font-size: 17px; color: var(--ink);
      background: #fbfbf9; border: 1px solid var(--ink); padding: 10px 12px; min-height: 46px; width: 100%;
    }
    .field textarea { min-height: 150px; resize: vertical; }
    .field [aria-invalid="true"] { border-color: var(--accent); border-width: 2px; }
    .field .hint { font-size: 14px; color: var(--muted); }
    .check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
    .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
    .check a { text-decoration: underline; }
    .form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
    .form-actions .btn { min-height: 48px; padding: 0 28px; }
    .form-status { font-family: var(--sans); font-size: 14px; font-weight: 600; }
    .form-status--error { color: var(--accent); }

    /* Matéria */
    .progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 90; }
    .article-head { max-width: 980px; padding-top: 14px; }
    .article-head .kicker { display: inline-block; margin-top: 14px; }
    .article-head h1 { font-weight: 500; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.01em; margin: 10px 0 14px; }
    .article-head .dek { font-size: 21px; line-height: 1.4; color: var(--text-2); max-width: 62ch; }
    .byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; margin: 22px 0 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .byline__who { display: flex; align-items: center; gap: 12px; }
    .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--photo); flex: none; }
    .avatar--lg { width: 96px; height: 96px; }
    .byline__name { font-size: 17px; font-weight: 600; }
    .byline__name a:hover { color: var(--accent); }
    .share { display: flex; align-items: center; gap: 4px; }
    .share .label { margin-right: 6px; }
    .share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule); background: none; cursor: pointer; }
    .share a:hover, .share button:hover { border-color: var(--ink); }
    .share svg { width: 18px; height: 18px; }
    .lead-figure .ph { aspect-ratio: 16 / 9; }
    .article-body { padding-top: 28px; }
    .factsheet { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 14px 0; font-size: 16px; }
    .factsheet h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
    .factsheet dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; margin: 0; }
    .factsheet dt { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
    .factsheet dd { margin: 0; }
    .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
    .tags a { border: 1px solid var(--rule); padding: 6px 10px; }
    .tags a:hover { border-color: var(--ink); }
    .author-box { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; border: 1px solid var(--rule); padding: 18px; margin-top: 28px; }
    .author-box h2 { font-weight: 500; font-size: 22px; margin: 4px 0 6px; }
    .author-box p { font-size: 16px; color: var(--text-2); margin-bottom: 10px; }
    .fix-note { margin-top: 18px; font-size: 16px; color: var(--text-2); }
    .fix-note a { color: var(--accent); text-decoration: underline; }
    .related { padding-top: 10px; padding-bottom: 20px; }

    /* 404 */
    .notfound { text-align: center; padding: 56px 0 48px; max-width: 720px; margin: 0 auto; }
    .notfound__code { color: var(--accent); }
    .notfound h1 { font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 12px 0; }
    .notfound p { font-size: 18px; color: var(--text-2); }
    .notfound form { display: flex; gap: 8px; max-width: 520px; margin: 26px auto 0; }
    .notfound input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 10px 12px; background: #fbfbf9; border: 1px solid var(--ink); }
    .notfound .cta-row { justify-content: center; }
    .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
    .chips a { border: 1px solid var(--rule); padding: 8px 12px; }
    .chips a:hover { border-color: var(--ink); }

    /* Busca */
    .result { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
    .result .ph { aspect-ratio: 3 / 2; }
    .result .kicker { display: block; margin-bottom: 4px; }
    .result h2 { font-weight: 500; font-size: 22px; line-height: 1.12; margin-bottom: 6px; }
    .result p { font-size: 15px; color: var(--text-2); margin-bottom: 8px; }
    .result mark { background: rgba(158,65,46,.16); color: inherit; padding: 0 2px; }

    /* Autor */
    .author-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 0 24px; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
    .author-hero .avatar { width: 120px; height: 120px; }
    .author-hero h1 { font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; margin: 6px 0 8px; }
    .author-hero p { font-size: 17px; color: var(--text-2); max-width: 62ch; }

    /* Anuncie */
    .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); margin: 8px 0 32px; }
    .stat { padding: 18px; border-right: 1px solid var(--rule); }
    .stat:last-child { border-right: 0; }
    .stat b { display: block; font-weight: 500; font-size: 40px; line-height: 1; margin-bottom: 6px; }
    .formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 32px; }
    .format { border: 1px solid var(--rule); padding: 18px; }
    .format h3 { font-weight: 500; font-size: 22px; margin: 6px 0; }
    .format p { font-size: 16px; color: var(--text-2); }

    /* FAQ */
    .faq details { border-bottom: 1px solid var(--rule); }
    .faq details:first-child { border-top: 2px solid var(--ink); }
    .faq summary {
      list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
      padding: 18px 0; font-size: 22px; font-weight: 500; line-height: 1.2;
    }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; font-weight: 400; flex: none; transition: transform .2s; }
    .faq details[open] summary::after { transform: rotate(45deg); }
    .faq summary:hover { color: var(--accent); }
    .faq .answer { padding: 0 0 20px; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 64ch; }
    .faq .answer a { color: var(--accent); text-decoration: underline; }

    @media (max-width: 1100px) {
      .layout { grid-template-columns: minmax(0, 1fr); }
      .aside-stack { position: static; }
    }
    @media (max-width: 760px) {
      .page-head h1 { font-size: 30px; }
      .prose { font-size: 18px; }
      .prose blockquote { font-size: 22px; }
      .form { grid-template-columns: minmax(0, 1fr); }
      .article-head h1 { font-size: 32px; }
      .article-head .dek { font-size: 18px; }
      .factsheet dl { grid-template-columns: 1fr; gap: 2px; }
      .factsheet dd { margin-bottom: 8px; }
      .author-box { grid-template-columns: 64px 1fr; }
      .author-box .avatar--lg { width: 64px; height: 64px; }
      .result { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
      .result p { display: none; }
      .result h2 { font-size: 19px; }
      .author-hero { grid-template-columns: 80px 1fr; gap: 16px; }
      .author-hero .avatar { width: 80px; height: 80px; }
      .stats { grid-template-columns: 1fr; }
      .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
      .stat:last-child { border-bottom: 0; }
      .formats { grid-template-columns: 1fr; }
      .faq summary { font-size: 19px; }
      .notfound form { flex-direction: column; }
    }
    .lead-figure { margin: 0; max-width: 640px; }
    .prose .tags a, .prose .author-box a { color: inherit; text-decoration: none; }
    .prose .author-box h2 a:hover { color: var(--accent); }

    /* =========================================================
       AJUSTES DO TEMA WORDPRESS
       ========================================================= */
    .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    .ph.has-img { background-image: none; }
    .alignwide { max-width: 100%; }
    .prose img { max-width: 100%; height: auto; }
    .prose .wp-block-image figcaption { font-size: 14px; color: var(--muted); }
    .prose details { border-bottom: 1px solid var(--rule); }
    .prose details summary { cursor: pointer; padding: 16px 0; font-size: 21px; font-weight: 500; }
    .prose details > *:not(summary) { color: var(--text-2); }
    .pagination-more { display: flex; justify-content: center; padding-top: 6px; }
    .pagination-more a { text-decoration: none; }
    .ev-info { border: 1px solid var(--ink); padding: 16px 18px; display: grid; gap: 8px; font-size: 17px; margin-bottom: 24px; }
    .ev-info dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; margin: 0; }
    .ev-info dt { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
    .ev-info dd { margin: 0; }
    .ev-info .btn { justify-self: start; margin-top: 6px; }
    .filters a { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
    .filters a:hover { border-bottom-color: var(--ink); }
    .filters a[aria-current="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
    .uf-select form { display: flex; align-items: center; gap: 10px; }
    .empty-state { padding: 32px 0; font-size: 18px; color: var(--text-2); }
    .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .wp-caption-text, .gallery-caption { font-size: 14px; color: var(--muted); }
    .admin-bar .site-header { top: 0; }
    @media (max-width: 760px) { .ev-info dl { grid-template-columns: 1fr; gap: 2px; } }

    /* Busca animada (computador): categorias encolhem, barra desliza para a esquerda */
    .site-nav ul { flex-wrap: nowrap; }
    .site-nav li + li::before { margin: 0 clamp(8px, 1.1vw, 22px); transition: margin .45s ease; }
    .site-nav a { letter-spacing: .18em; transition: letter-spacing .45s ease, font-size .45s ease; white-space: nowrap; }
    .header-search { width: 0; opacity: 0; overflow: hidden; transition: width .45s ease, opacity .3s ease; }
    .header-search input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fbfbf9; border: 1px solid var(--ink); padding: 8px 12px; min-height: 40px; }
    .site-header.is-searching .header-search { width: min(300px, 20vw); opacity: 1; margin-right: 4px; }
    .site-nav { padding: 0 14px; min-width: 0; }
    .brand { flex: none; }
    .brand__tagline { white-space: nowrap; max-width: 140px; overflow: hidden; transition: opacity .3s ease, max-width .45s ease, padding .45s ease; }
    .site-header.is-searching .brand__tagline { opacity: 0; max-width: 0; padding-left: 0; border-left-color: transparent; }
    .site-header.is-searching .site-nav a { letter-spacing: .06em; font-size: 12px; }
    .site-header.is-searching .site-nav li + li::before { margin: 0 clamp(5px, .6vw, 10px); }
    @media (max-width: 1280px) { .header-search { display: none; } }
    @media (prefers-reduced-motion: reduce) { .header-search, .site-nav a, .site-nav li + li::before { transition: none; } }

    /* Fotos em preto e branco automático (a foto original continua colorida na biblioteca de mídia) */
    .ph img, .editorial__art img {
      filter: grayscale(1) sepia(.14) contrast(1.08) brightness(.97);
    }

    /* Textura de papel (grão leve sobre a página) */
    body::after {
      content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      opacity: .22; mix-blend-mode: multiply;
    }


    /* Sombra no topo das fotos de destaque, para o rótulo claro sempre ter contraste */
    .hero::before, .feature-lead::before {
      content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; z-index: 1; pointer-events: none;
      background: linear-gradient(rgba(20,20,18,.6), rgba(20,20,18,0));
    }

    /* Lista de seleção personalizada (abre deslizando, com leve efeito elástico no final) */
    .sel { position: relative; }
    .sel select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
    .sel__btn {
      width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
      font: inherit; font-size: 17px; color: var(--ink); text-align: left; cursor: pointer;
      background: #fbfbf9; border: 1px solid var(--ink); padding: 10px 12px;
    }
    .sel__btn.is-placeholder { color: var(--muted); }
    .sel__btn svg { width: 14px; height: 14px; flex: none; transition: transform .25s ease; }
    .sel.is-open .sel__btn svg { transform: rotate(180deg); }
    .sel.is-invalid .sel__btn { border-color: var(--accent); border-width: 2px; }
    .sel__list {
      position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
      margin: 0; padding: 6px 0; list-style: none;
      background: #fbfbf9; border: 1px solid var(--ink); box-shadow: 0 12px 28px rgba(26,26,26,.14);
      transform-origin: top center; display: none;
    }
    .sel.is-open .sel__list { display: block; animation: sel-drop .34s cubic-bezier(.2,.9,.3,1) both; }
    @keyframes sel-drop {
      0%   { opacity: 0; transform: translateY(-10px) scaleY(.9); }
      60%  { opacity: 1; transform: translateY(3px) scaleY(1.015); }
      80%  { transform: translateY(-1px) scaleY(.997); }
      100% { opacity: 1; transform: translateY(0) scaleY(1); }
    }
    .sel__opt { padding: 10px 14px; font-size: 17px; cursor: pointer; }
    .sel__opt:hover, .sel__opt.is-active { background: rgba(158,65,46,.09); }
    .sel__opt[aria-selected="true"] { color: var(--accent); font-weight: 600; }
    @media (prefers-reduced-motion: reduce) { .sel.is-open .sel__list { animation: none; } }
    .uf-select .sel { min-width: 220px; }
    .uf-select .sel__btn { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; min-height: 40px; }
    .uf-select .sel__opt { font-size: 16px; }

    .filters { flex-wrap: wrap; }

    .writes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
    .writes .meta { margin-right: 4px; }
    .writes a { border: 1px solid var(--rule); padding: 6px 10px; }
    .writes a:hover { border-color: var(--ink); }
    .author-hero { border-bottom: 0; margin-bottom: 12px; }

    .nf-read { text-align: left; max-width: 560px; margin: 36px auto 0; }
    .nf-read .box-title { border-bottom: 1px solid var(--ink); }

    /* Padrão de abertura com leve efeito elástico: menu lateral e busca do celular */
    .drawer { right: -14px; padding-right: 42px; }
    .drawer.is-open { animation: drawer-in .46s cubic-bezier(.2,.9,.3,1) both; }
    @keyframes drawer-in {
      0%   { transform: translateX(100%); }
      62%  { transform: translateX(-10px); }
      82%  { transform: translateX(3px); }
      100% { transform: translateX(0); }
    }
    .search-bar:not([hidden]) { animation: bar-drop .36s cubic-bezier(.2,.9,.3,1) both; transform-origin: top; }
    @keyframes bar-drop {
      0%   { opacity: 0; transform: translateY(-12px); }
      60%  { opacity: 1; transform: translateY(3px); }
      80%  { transform: translateY(-1px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @media (prefers-reduced-motion: reduce) { .drawer.is-open, .search-bar:not([hidden]) { animation: none; } }

    /* ===== Páginas institucionais (versão final) ===== */

    /* =========================================================
       PÁGINAS DE CONTEÚDO (matéria, institucionais, 404, busca, autor)
       ========================================================= */
    .crumb { color: var(--muted); padding-top: 24px; }
    .crumb a:hover { color: var(--ink); text-decoration: underline; }
    .page-head { padding-bottom: 18px; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
    .page-head h1 { font-weight: 500; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; margin-top: 10px; }
    .page-head p { font-size: 18px; color: var(--text-2); max-width: 60ch; margin-top: 10px; }

    .layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 3vw, 56px); align-items: start; padding-bottom: 40px; }
    .layout--narrow { grid-template-columns: minmax(0, 760px); justify-content: center; }

    .prose { font-size: 19px; line-height: 1.6; max-width: 68ch; }
    .prose > * + * { margin-top: 1em; }
    .prose h2 { font-weight: 500; font-size: 28px; line-height: 1.15; margin-top: 1.6em; }
    .prose h3 { font-weight: 600; font-size: 21px; margin-top: 1.4em; }
    .prose ul, .prose ol { padding-left: 1.2em; }
    .prose ul { list-style: disc; } .prose ol { list-style: decimal; }
    .prose li + li { margin-top: .4em; }
    .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
    .prose blockquote {
      margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent);
      font-size: 26px; line-height: 1.25; font-style: italic;
    }
    .prose blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
    .prose figure { margin: 1.6em 0; }
    .prose figcaption, .figcap { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
    .toc { border: 1px solid var(--rule); padding: 14px 18px; font-size: 16px; }
    .toc ol { list-style: decimal; padding-left: 1.2em; margin-top: 8px; }
    .toc a:hover { color: var(--accent); }

    /* Botões e CTAs */
    .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
    .btn--accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
    .btn--accent:hover { background: var(--ink); border-color: var(--ink); }
    .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
    .cta-box { border: 1px solid var(--ink); padding: 20px; display: grid; gap: 10px; }
    .cta-box h2 { font-weight: 500; font-size: 24px; line-height: 1.1; }
    .cta-box p { font-size: 16px; color: var(--text-2); }
    .cta-box .btn { justify-self: start; }
    .aside-stack { display: grid; gap: 20px; position: sticky; top: 16px; }

    /* Formulários */
    .form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
    .field { display: grid; gap: 6px; }
    .field--full { grid-column: 1 / -1; }
    .field label, .field legend { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
    .field .req { color: var(--accent); }
    .field input, .field select, .field textarea {
      font: inherit; font-size: 17px; color: var(--ink);
      background: #fbfbf9; border: 1px solid var(--ink); padding: 10px 12px; min-height: 46px; width: 100%;
    }
    .field textarea { min-height: 150px; resize: vertical; }
    .field [aria-invalid="true"] { border-color: var(--accent); border-width: 2px; }
    .field .hint { font-size: 14px; color: var(--muted); }
    .check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
    .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
    .check a { text-decoration: underline; }
    .form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
    .form-actions .btn { min-height: 48px; padding: 0 28px; }
    .form-status { font-family: var(--sans); font-size: 14px; font-weight: 600; }
    .form-status--error { color: var(--accent); }

    /* Matéria */
    .progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 90; }
    .article-head { max-width: 980px; padding-top: 14px; }
    .article-head .kicker { display: inline-block; margin-top: 14px; }
    .article-head h1 { font-weight: 500; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.01em; margin: 10px 0 14px; }
    .article-head .dek { font-size: 21px; line-height: 1.4; color: var(--text-2); max-width: 62ch; }
    .byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; margin: 22px 0 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .byline__who { display: flex; align-items: center; gap: 12px; }
    .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--photo); flex: none; }
    .avatar--lg { width: 96px; height: 96px; }
    .byline__name { font-size: 17px; font-weight: 600; }
    .byline__name a:hover { color: var(--accent); }
    .share { display: flex; align-items: center; gap: 4px; }
    .share .label { margin-right: 6px; }
    .share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule); background: none; cursor: pointer; }
    .share a:hover, .share button:hover { border-color: var(--ink); }
    .share svg { width: 18px; height: 18px; }
    .lead-figure .ph { aspect-ratio: 16 / 9; }
    .article-body { padding-top: 28px; }
    .factsheet { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 14px 0; font-size: 16px; }
    .factsheet h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
    .factsheet dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; margin: 0; }
    .factsheet dt { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
    .factsheet dd { margin: 0; }
    .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
    .tags a { border: 1px solid var(--rule); padding: 6px 10px; }
    .tags a:hover { border-color: var(--ink); }
    .author-box { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; border: 1px solid var(--rule); padding: 18px; margin-top: 28px; }
    .author-box h2 { font-weight: 500; font-size: 22px; margin: 4px 0 6px; }
    .author-box p { font-size: 16px; color: var(--text-2); margin-bottom: 10px; }
    .fix-note { margin-top: 18px; font-size: 16px; color: var(--text-2); }
    .fix-note a { color: var(--accent); text-decoration: underline; }
    .related { padding-top: 10px; padding-bottom: 20px; }

    /* 404 */
    .notfound { text-align: center; padding: 56px 0 48px; max-width: 720px; margin: 0 auto; }
    .notfound__code { color: var(--accent); }
    .notfound h1 { font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 12px 0; }
    .notfound p { font-size: 18px; color: var(--text-2); }
    .notfound form { display: flex; gap: 8px; max-width: 520px; margin: 26px auto 0; }
    .notfound input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 10px 12px; background: #fbfbf9; border: 1px solid var(--ink); }
    .notfound .cta-row { justify-content: center; }
    .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
    .chips a { border: 1px solid var(--rule); padding: 8px 12px; }
    .chips a:hover { border-color: var(--ink); }

    /* Busca */
    .result { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
    .result .ph { aspect-ratio: 3 / 2; }
    .result .kicker { display: block; margin-bottom: 4px; }
    .result h2 { font-weight: 500; font-size: 22px; line-height: 1.12; margin-bottom: 6px; }
    .result p { font-size: 15px; color: var(--text-2); margin-bottom: 8px; }
    .result mark { background: rgba(158,65,46,.16); color: inherit; padding: 0 2px; }

    /* Autor */
    .author-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 0 24px; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
    .author-hero .avatar { width: 120px; height: 120px; }
    .author-hero h1 { font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; margin: 6px 0 8px; }
    .author-hero p { font-size: 17px; color: var(--text-2); max-width: 62ch; }

    /* Anuncie */
    .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); margin: 8px 0 32px; }
    .stat { padding: 18px; border-right: 1px solid var(--rule); }
    .stat:last-child { border-right: 0; }
    .stat b { display: block; font-weight: 500; font-size: 40px; line-height: 1; margin-bottom: 6px; }
    .formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 32px; }
    .format { border: 1px solid var(--rule); padding: 18px; }
    .format h3 { font-weight: 500; font-size: 22px; margin: 6px 0; }
    .format p { font-size: 16px; color: var(--text-2); }

    /* FAQ */
    .faq details { border-bottom: 1px solid var(--rule); }
    .faq details:first-child { border-top: 2px solid var(--ink); }
    .faq summary {
      list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
      padding: 18px 0; font-size: 22px; font-weight: 500; line-height: 1.2;
    }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; font-weight: 400; flex: none; transition: transform .2s; }
    .faq details[open] summary::after { transform: rotate(45deg); }
    .faq summary:hover { color: var(--accent); }
    .faq .answer { padding: 0 0 20px; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 64ch; }
    .faq .answer a { color: var(--accent); text-decoration: underline; }

    @media (max-width: 1100px) {
      .layout { grid-template-columns: minmax(0, 1fr); }
      .aside-stack { position: static; }
    }
    @media (max-width: 760px) {
      .page-head h1 { font-size: 30px; }
      .prose { font-size: 18px; }
      .prose blockquote { font-size: 22px; }
      .form { grid-template-columns: minmax(0, 1fr); }
      .article-head h1 { font-size: 32px; }
      .article-head .dek { font-size: 18px; }
      .factsheet dl { grid-template-columns: 1fr; gap: 2px; }
      .factsheet dd { margin-bottom: 8px; }
      .author-box { grid-template-columns: 64px 1fr; }
      .author-box .avatar--lg { width: 64px; height: 64px; }
      .result { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
      .result p { display: none; }
      .result h2 { font-size: 19px; }
      .author-hero { grid-template-columns: 80px 1fr; gap: 16px; }
      .author-hero .avatar { width: 80px; height: 80px; }
      .stats { grid-template-columns: 1fr; }
      .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
      .stat:last-child { border-bottom: 0; }
      .formats { grid-template-columns: 1fr; }
      .faq summary { font-size: 19px; }
      .notfound form { flex-direction: column; }
    }
    .lead-figure { margin: 0; max-width: 640px; }
    .prose .tags a, .prose .author-box a { color: inherit; text-decoration: none; }
    .prose .author-box h2 a:hover { color: var(--accent); }

    /* Bloco vermelho de publicidade (Fale conosco) */
    /* Alinhado às colunas do formulário: o vermelho começa onde começa o campo E-mail e termina com a coluna da direita */
    .page-head--split {
      --g: clamp(24px, 3vw, 56px);
      display: grid; align-items: stretch; column-gap: 18px; row-gap: 20px;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, calc(340px + var(--g) - 18px));
    }
    .page-head--split > div { grid-column: 1; align-self: end; }
    .page-head--split .ad-cta { grid-column: 2 / 4; }
    .ad-cta {
      position: relative; overflow: hidden; display: grid; gap: 12px; justify-items: start;
      background: var(--accent); color: var(--paper); padding: 20px 22px 22px;
    }
    .ad-cta .label { color: var(--paper); }
    .ad-cta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; max-width: 26ch; }
    .ad-cta__btn { background: var(--paper); color: var(--ink); border-color: var(--paper); min-height: 42px; position: relative; z-index: 1; }
    .ad-cta:hover .ad-cta__btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
    .ad-cta__star { position: absolute; right: -14px; bottom: -14px; width: 96px; height: 96px; color: var(--paper); opacity: .2; }
    .page-head--split .ad-cta { align-content: end; }
    .sponsor { display: grid; gap: 8px; border: 1px solid var(--rule); padding: 14px; }
    .sponsor__tag { color: var(--muted); font-size: 9.5px; }
    .sponsor__title { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; }
    @media (max-width: 1100px) {
      .page-head--split { grid-template-columns: minmax(0, 1fr); }
      .page-head--split > div, .page-head--split .ad-cta { grid-column: 1; }
    }
    @media (max-width: 900px) {
      .ad-cta__title { font-size: 23px; }
    }

    /* Lista de seleção personalizada (abre deslizando, com leve efeito elástico no final) */
    .sel { position: relative; }
    .sel select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
    .sel__btn {
      width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
      font: inherit; font-size: 17px; color: var(--ink); text-align: left; cursor: pointer;
      background: #fbfbf9; border: 1px solid var(--ink); padding: 10px 12px;
    }
    .sel__btn.is-placeholder { color: var(--muted); }
    .sel__btn svg { width: 14px; height: 14px; flex: none; transition: transform .25s ease; }
    .sel.is-open .sel__btn svg { transform: rotate(180deg); }
    .sel.is-invalid .sel__btn { border-color: var(--accent); border-width: 2px; }
    .sel__list {
      position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
      margin: 0; padding: 6px 0; list-style: none;
      background: #fbfbf9; border: 1px solid var(--ink); box-shadow: 0 12px 28px rgba(26,26,26,.14);
      transform-origin: top center; display: none;
    }
    .sel.is-open .sel__list { display: block; animation: sel-drop .34s cubic-bezier(.2,.9,.3,1) both; }
    @keyframes sel-drop {
      0%   { opacity: 0; transform: translateY(-10px) scaleY(.9); }
      60%  { opacity: 1; transform: translateY(3px) scaleY(1.015); }
      80%  { transform: translateY(-1px) scaleY(.997); }
      100% { opacity: 1; transform: translateY(0) scaleY(1); }
    }
    .sel__opt { padding: 10px 14px; font-size: 17px; cursor: pointer; }
    .sel__opt:hover, .sel__opt.is-active { background: rgba(158,65,46,.09); }
    .sel__opt[aria-selected="true"] { color: var(--accent); font-weight: 600; }
    @media (prefers-reduced-motion: reduce) { .sel.is-open .sel__list { animation: none; } }

    /* FAQ: numeração, rótulo e abertura com efeito elástico */
    .faq details:first-child { border-top: 0; }
    .faq summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; align-items: start; gap: 12px; padding: 22px 0; }
    .faq summary::after { content: none; }
    .faq__num { font-size: 28px; line-height: 1; color: var(--ink); padding-top: 2px; }
    .faq__q { display: grid; gap: 6px; }
    .faq__title { font-size: 24px; font-weight: 500; line-height: 1.15; }
    .faq summary:hover .faq__title { color: var(--accent); }
    .faq__icon { width: 22px; height: 22px; position: relative; margin-top: 6px; }
    .faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .3s ease; }
    .faq__icon::after { transform: rotate(90deg); }
    .faq details[open] .faq__icon::after { transform: rotate(0deg); }
    .faq .answer { padding: 0 0 26px 68px; max-width: calc(64ch + 68px); }
    .faq .answer p + p { margin-top: .7em; }
    .faq .answer strong { color: var(--ink); font-weight: 600; }
    .faq details[open] .answer { animation: faq-drop .38s cubic-bezier(.2,.9,.3,1) both; transform-origin: top; }
    @keyframes faq-drop {
      0%   { opacity: 0; transform: translateY(-10px); }
      60%  { opacity: 1; transform: translateY(3px); }
      80%  { transform: translateY(-1px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    .faq .answer a.faq__cta { margin-top: 16px; min-height: 42px; padding: 0 20px; color: var(--ink); text-decoration: none; }
    .faq .answer a.faq__cta:hover { color: var(--paper); }
    @media (max-width: 760px) {
      .faq summary { grid-template-columns: 38px minmax(0, 1fr) 22px; gap: 10px; }
      .faq__num { font-size: 22px; }
      .faq__title { font-size: 20px; }
      .faq .answer { padding-left: 48px; }
    }
    @media (prefers-reduced-motion: reduce) { .faq details[open] .answer { animation: none; } }

    .layout--full { grid-template-columns: minmax(0, 1fr); }

    /* Sobre */
    .about { padding-bottom: 40px; }
    .about__manifesto { border-left: 3px solid var(--accent); padding: 4px 0 4px 28px; margin: 8px 0 48px; max-width: 980px; }
    .about__manifesto .kicker { display: block; margin-bottom: 12px; }
    .about__manifesto p { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.25; font-weight: 500; }
    .about__manifesto .about__sub { font-size: 19px; line-height: 1.55; font-weight: 400; color: var(--text-2); margin-top: 16px; max-width: 70ch; }
    .about__block { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px 48px; padding: 32px 0; border-top: 1px solid var(--rule); }
    .about__h { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding-top: 6px; }
    .about__block .prose { max-width: 70ch; }
    .values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
    .value { padding: 18px 20px 22px 0; border-bottom: 1px solid var(--rule); }
    .value + .value { }
    .value__num { display: block; font-size: 24px; line-height: 1; margin-bottom: 10px; }
    .value h3 { font-weight: 500; font-size: 23px; margin-bottom: 6px; }
    .value p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
    .about__heritage {
      position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 48px;
      background: var(--accent); color: var(--paper); padding: clamp(28px, 4vw, 52px); margin: 24px 0;
    }
    .about__heritage .label { color: var(--paper); display: block; margin-bottom: 12px; }
    .about__heritage h2 { font-weight: 500; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
    .about__heritage-text p { font-size: 18px; line-height: 1.6; }
    .about__heritage-text p + p { margin-top: 1em; }
    .about__heritage .ad-cta__star { width: 140px; height: 140px; right: -26px; bottom: -26px; }
    .cover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); }
    .cover-card { display: grid; gap: 8px; align-content: start; padding: 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .cover-card:nth-child(4n) { border-right: 0; }
    .cover-card:nth-last-child(-n+4) { border-bottom: 0; }
    .cover-card p { font-size: 16px; line-height: 1.45; color: var(--text-2); }
    .cover-card .more { margin-top: 4px; }
    .cover-card:hover .label.kicker { text-decoration: underline; }
    .about__close { text-align: center; max-width: 760px; margin: 24px auto 0; padding: 40px 0 8px; border-top: 1px solid var(--ink); }
    .about__close p { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; font-style: italic; }
    .about__close .cta-row { justify-content: center; }
    @media (max-width: 1000px) {
      .about__block { grid-template-columns: minmax(0, 1fr); gap: 16px; }
      .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .about__heritage { grid-template-columns: minmax(0, 1fr); }
      .cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .cover-card:nth-child(4n) { border-right: 1px solid var(--rule); }
      .cover-card:nth-child(2n) { border-right: 0; }
      .cover-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--rule); }
      .cover-card:nth-last-child(-n+2) { border-bottom: 0; }
    }
    @media (max-width: 600px) {
      .values { grid-template-columns: minmax(0, 1fr); }
      .about__manifesto { padding-left: 18px; }
      .cover-grid { grid-template-columns: minmax(0, 1fr); }
      .cover-card { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; }
      .cover-card:last-child { border-bottom: 0 !important; }
    }

    .fix-note { font-size: 15px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }

    .result[hidden] { display: none; }
    .filters { flex-wrap: wrap; }

    .writes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
    .writes .meta { margin-right: 4px; }
    .writes a { border: 1px solid var(--rule); padding: 6px 10px; }
    .writes a:hover { border-color: var(--ink); }
    .post[hidden] { display: none; }

    .author-hero { border-bottom: 0; margin-bottom: 12px; }

    .nf-read { text-align: left; max-width: 560px; margin: 36px auto 0; }
    .nf-read .box-title { border-bottom: 1px solid var(--ink); }

    .table-wrap { overflow-x: auto; margin: 1em 0; }
    .data-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
    .data-table th { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--ink); padding: 8px 12px 8px 0; }
    .data-table td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; vertical-align: top; }
    .data-table td:first-child { font-weight: 600; white-space: nowrap; }

    .stats--text .stat b { font-size: 26px; line-height: 1.1; margin-bottom: 8px; }
    .stats--text .stat p { font-size: 16px; line-height: 1.45; color: var(--text-2); }

    .steps { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
    .steps li { padding: 16px 18px 18px 0; border-bottom: 1px solid var(--rule); }
    .steps__num { display: block; font-size: 24px; line-height: 1; margin-bottom: 10px; }
    .steps h3 { font-weight: 500; font-size: 21px; line-height: 1.15; margin-bottom: 6px; }
    .steps p { font-size: 15.5px; line-height: 1.45; color: var(--text-2); }
    @media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

    .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
    .sponsor .ph { aspect-ratio: 16 / 10; }
    .form-actions .btn[disabled] { opacity: .6; cursor: wait; }

/* =========================================================
   PADRÃO DE MOVIMENTO (v1.3): tudo suave, esmaecendo, sem elástico
   ========================================================= */
:root { --ease-soft: cubic-bezier(.22, .61, .36, 1); --t-soft: .55s; }
a, button, .btn, input, textarea { transition: color .35s ease, background-color .35s ease, border-color .35s ease, opacity .35s ease; }

/* Menu lateral: desliza e esmaece, sem quicar */
.drawer { right: 0; padding-right: 28px; opacity: 0; transform: translateX(100%);
  transition: transform var(--t-soft) var(--ease-soft), opacity .45s ease, visibility 0s linear var(--t-soft); }
.drawer.is-open { animation: none; transform: none; opacity: 1; visibility: visible;
  transition: transform var(--t-soft) var(--ease-soft), opacity .45s ease, visibility 0s; }
.drawer-backdrop { opacity: 0; transition: opacity .5s ease; }
.drawer-backdrop.is-visible { opacity: 1; }

/* Tudo que abre descendo: esmaece descendo de leve */
@keyframes mg-soft-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes mg-soft-up   { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px); } }
@keyframes mg-fade-in   { from { opacity: 0; } to { opacity: 1; } }

.sel__list, .sel.is-open .sel__list { display: block; animation: none; }
.sel__list { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .4s ease, transform .5s var(--ease-soft), visibility 0s linear .5s; }
.sel.is-open .sel__list { opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .4s ease, transform .5s var(--ease-soft), visibility 0s; }
.sel__btn svg { transition: transform .45s var(--ease-soft); }

.faq details[open] .answer { animation: mg-soft-down .5s var(--ease-soft) both; }
.faq details.is-closing .answer { animation: mg-soft-up .35s ease both; }
.faq__icon::before, .faq__icon::after { transition: transform .45s var(--ease-soft); }

.search-bar:not([hidden]) { animation: mg-soft-down .5s var(--ease-soft) both; }
.search-bar.is-closing { animation: mg-soft-up .35s ease both; }

/* Busca do computador: mais lenta e macia */
.site-nav li + li::before { transition: margin .6s var(--ease-soft); }
.site-nav a { transition: letter-spacing .6s var(--ease-soft), font-size .6s var(--ease-soft), color .35s ease; }
.header-search { transition: width .6s var(--ease-soft), opacity .5s ease; }
.brand__tagline { transition: opacity .4s ease, max-width .6s var(--ease-soft), padding .6s var(--ease-soft); }

/* Aviso de cookies: aparece esmaecendo */
#cookie:not([hidden]) { animation: mg-fade-in .6s ease both; }
#cookie.is-closing { opacity: 0; transition: opacity .4s ease; }

/* =========================================================
   POP-UP DE AGRADECIMENTO (formulários e newsletter)
   ========================================================= */
.mg-pop { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  background: rgba(26,26,26,.55); opacity: 0; transition: opacity .5s ease; }
.mg-pop.is-in { opacity: 1; }
.mg-pop__card { position: relative; width: min(440px, 100%); background: var(--paper); border: 1px solid var(--ink);
  padding: 46px 40px 34px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(10px); transition: opacity .55s ease .05s, transform .65s var(--ease-soft) .05s; }
.mg-pop.is-in .mg-pop__card { opacity: 1; transform: none; }
.mg-pop__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; color: var(--ink); cursor: pointer; }
.mg-pop__x:hover { color: var(--accent); }
.mg-pop__x svg { width: 20px; height: 20px; }
.mg-pop__star { width: 30px; height: 30px; color: var(--accent); margin: 0 auto 18px; display: block; }
.mg-pop__kick { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.mg-pop__t { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.1; color: var(--ink); margin: 0; }
.mg-pop__rule { width: 40px; height: 1px; background: var(--ink); margin: 20px auto; }
.mg-pop__p { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: #33302a; margin: 0 0 28px; }
.mg-pop__btn { width: 100%; justify-content: center; background: var(--accent); border-color: var(--accent); color: var(--paper);
  min-height: 50px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.mg-pop__btn:hover { background: var(--ink); border-color: var(--ink); }
@media (max-width: 760px) { .mg-pop__card { padding: 42px 26px 28px; } .mg-pop__t { font-size: 30px; } }

/* =========================================================
   NOTA DA CRÍTICA
   ========================================================= */
.rating { display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 22px 0; margin: 2em 0 1.5em; }
.rating .label { color: var(--muted); display: block; }
.prose .rating p { margin: 0; }
.prose .rating .rating__work { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.15; color: var(--ink); margin: 6px 0 4px; text-align: left; }
.prose .rating .rating__info { text-align: left; }
.rating__score { display: flex; align-items: center; gap: 14px; }
.rating__stars { display: flex; gap: 5px; }
.rating__stars svg { width: 28px; height: 28px; }
.rating .r-empty { fill: #d9d5c9; stroke: #d9d5c9; stroke-width: 1.6; stroke-linejoin: round; }
.rating .r-full  { fill: var(--accent); stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.rating--music .r-full { fill: var(--ink); stroke: var(--ink); }
.rating__num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); }
.rating__of { font-family: var(--sans); font-size: 15px; color: var(--muted); align-self: flex-end; margin-left: -8px; padding-bottom: 6px; }
@media (max-width: 760px) { .rating__stars svg { width: 24px; height: 24px; } .rating__num { font-size: 38px; } }

@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer-backdrop, .sel__list, .mg-pop, .mg-pop__card { transition: none !important; }
  .faq details[open] .answer, .search-bar:not([hidden]), #cookie:not([hidden]) { animation: none !important; }
}
