/* Gerado por bin/build-assets.php a partir de public/assets/css/site/. Edite os modulos, nao este arquivo. */

/* ===== 01-base.css ===== */

/* Base: fonte, variaveis, reset e tipografia do site. */

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url("../fonts/nunito-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --red: #e30613;
    --red-dark: #b30410;
    --ink: #101418;
    --muted: #5c6672;
    --line: #e6e8ec;
    --soft: #f4f5f7;
    --white: #fff;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(16, 20, 24, .08);
    --font: "Nunito Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

a:hover { color: var(--red); }

a, button, input, textarea, select { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.2px; }

p { margin: 0 0 16px; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 02-header.css ===== */

/* Topo do site: fundo, altura, layout e marca. */

.site-header {
    background: var(--header-bg, var(--red));
    color: var(--header-text, var(--white));
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    position: sticky;
    top: 0;
    z-index: 40;
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }

.header-inner {
    color: var(--topbar-text, #16202b);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 84px;
    padding: 10px 0;
}

/* O anúncio ocupa toda a área reservada: nenhum banner fica com sobra
   vazia nas laterais. */
.header-ad { display: flex; justify-content: center; align-items: center; min-width: 0; }
.header-ad-mobile { display: none; }
.header-ad .ad-slot { margin: 0; width: 100%; }
.header-ad .ad-slot img { width: 100%; max-width: 100%; height: auto; }
.header-ad .ad-label { display: none; }

.header-nav {
    background: var(--menu-bg, var(--red));
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: var(--header-text, var(--white));
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    flex-shrink: 0;
}

.brand:hover { color: inherit; }
.brand-footer, .brand-footer:hover { color: #fff; }

.brand-mark { width: 44px; height: 44px; display: block; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark path { fill: var(--red, #e30613); }

.brand-text { display: flex; flex-direction: column; line-height: .95; }
.brand-text small { font-size: 12px; font-weight: 600; letter-spacing: 3px; }
.brand-text strong { font-size: 23px; font-weight: 700; letter-spacing: 1px; }

.brand-image { max-height: 46px; width: auto; }

@media (min-width: 901px) {
    .brand-image { max-width: 170px; }
    .header-ad-desktop .ad-slot img { width: 100%; max-width: 100%; height: auto; }
}
.brand-image-footer { max-height: 56px; }

/* Matéria e editoria: topo no gradiente da cor da editoria, com o logo branco
   do rodapé. O texto e os controles viram brancos para manter a leitura. */
.site-header.header-category {
    /* O indicador da editoria ativa acompanha o texto branco do topo. */
    --header-accent: #fff;
    background: linear-gradient(110deg,
        var(--cat-color, var(--red)) 0%,
        color-mix(in srgb, var(--cat-color, var(--red)) 80%, #000) 58%,
        color-mix(in srgb, var(--cat-color, var(--red)) 58%, #000) 100%);
    color: #fff;
    border-bottom-color: rgba(0, 0, 0, .2);
}

.site-header.header-category .header-inner { color: #fff; }
.site-header.header-category .header-search { background: rgba(255, 255, 255, .16); }
.site-header.header-category .header-search input { color: #fff; }
.site-header.header-category .header-search input::placeholder { color: rgba(255, 255, 255, .78); }
.site-header.header-category .header-search button { background: rgba(255, 255, 255, .22); }
.site-header.header-category .header-search button svg { color: #fff; }
.site-header.header-category .nav-toggle span { background: #fff; }

@media (min-width: 901px) {
    .site-header.header-category .header-nav {
        background: rgba(0, 0, 0, .18);
        border-top-color: rgba(255, 255, 255, .18);
        color: #fff;
    }
}

@media (max-width: 900px) {
    .site-header.header-category .main-nav {
        background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .32)), var(--cat-color, var(--red));
    }
}

/* ===== 02b-header-post.css ===== */

/* Matéria e editoria: faixa única estilo g1 — menu, logo, nome da editoria e
   busca. O anúncio da posição "header" fica logo abaixo da faixa de últimas,
   fora do cabeçalho. */

.site-header.header-post .header-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 8px 0;
}

.site-header.header-post .header-bar-start {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 0;
    min-width: 0;
}

.site-header.header-post .header-bar-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 0;
}

.site-header.header-post .brand-image { max-height: 32px; max-width: 180px; }
.site-header.header-post .brand-image-on-light { display: none; }
.site-header.header-post .header-section-bar { display: none; }

.site-header.header-post .header-bar-rule {
    width: 1px;
    height: 30px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .4);
}

.site-header.header-post .header-section {
    flex: 0 0 auto;
    max-width: 46vw;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #fff;
}

.site-header.header-post a.header-section:hover { color: #fff; }

/* O hambúrguer fica sempre visível; o menu abre como gaveta.
   Linhas e lupa têm o mesmo tamanho de ícone (22px). */
.site-header.header-post .nav-toggle {
    display: flex;
    margin: 0;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.site-header.header-post .nav-toggle span { width: 22px; margin: 0 auto; }

.site-header.header-post .header-search-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.site-header.header-post .header-search-toggle:hover { background: rgba(255, 255, 255, .16); }
.site-header.header-post .header-search-toggle svg { width: 22px; height: 22px; fill: currentColor; }

.site-header.header-post .header-search-panel { display: none; }

.site-header.header-post.is-search-open .header-search-panel {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    z-index: 60;
    width: min(320px, calc(100vw - 40px));
    padding: 8px 8px 8px 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

.site-header.header-post .header-search-panel input {
    width: 100%;
    color: #16202b;
}

.site-header.header-post .header-search-panel input::placeholder { color: rgba(22, 32, 43, .5); }

.site-header.header-post .header-search-panel button { background: var(--cat-color, var(--red)); }
.site-header.header-post .header-search-panel button svg { color: #fff; }

/* O anúncio do topo sai da faixa e vira uma faixa própria, centralizada. */
.header-ad-post { display: flex; justify-content: center; padding: 16px 0 0; }
.header-ad-post .ad-slot { margin: 0; width: 100%; }
.header-ad-post .ad-slot img { width: 100%; max-width: 100%; height: auto; }
.header-ad-post .ad-label { display: none; }

@media (min-width: 901px) {
    .site-header.header-post .header-nav {
        background: transparent;
        border-top: 0;
    }

    .site-header.header-post .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(340px, 84vw);
        margin: 0;
        padding: 78px 26px 26px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--cat-color, var(--menu-bg, #c10511));
        background-image: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .26));
        color: #fff;
        box-shadow: -18px 0 46px rgba(0, 0, 0, .32);
        transform: translateX(104%);
        visibility: hidden;
        transition: transform .28s ease, visibility .28s;
        overflow-y: auto;
        z-index: 70;
    }

    .site-header.header-post .main-nav.is-open { transform: translateX(0); visibility: visible; }

    .site-header.header-post .main-nav a {
        width: 100%;
        padding: 12px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .site-header.header-post .nav-close {
        display: inline-flex;
        position: absolute;
        top: 14px;
        right: 16px;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: rgba(0, 0, 0, .2);
        color: #fff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .nav-scrim-post {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 10, 14, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s;
        z-index: 65;
    }

    .nav-scrim-post.is-open { opacity: 1; visibility: visible; }

    body.nav-open .site-header.header-post { z-index: 80; }
    body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
    /* No celular a faixa segue colorida: logo branco centralizado, ícones nas
       pontas e o nome da editoria em uma faixa mais escura logo abaixo. */

    .site-header.header-post .header-bar {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        align-items: center;
        gap: 8px;
        min-height: 56px;
        padding: 8px 32px;
    }

    .site-header.header-post .header-bar-start { display: contents; }
    .site-header.header-post .nav-toggle { grid-column: 1; justify-self: start; }
    .site-header.header-post .brand-post { grid-column: 2; justify-self: center; min-width: 0; }
    .site-header.header-post .header-bar-end { grid-column: 3; justify-self: end; flex: 0 0 auto; }
    .site-header.header-post .header-bar-rule { display: none; }
    .site-header.header-post .header-section { display: none; }

    .site-header.header-post .brand-image { max-height: 26px; max-width: 150px; }
    .site-header.header-post .brand-image-on-light { display: none; }

    .site-header.header-post .nav-toggle { width: 34px; height: 34px; }
    .site-header.header-post .header-search-toggle { width: 34px; height: 34px; }
    .site-header.header-post .nav-toggle span { background: #fff; }
    .site-header.header-post .header-search-toggle { color: #fff; }
    .site-header.header-post .header-search-toggle:hover { background: rgba(255, 255, 255, .16); }

    .site-header.header-post .header-section-bar {
        display: block;
        background: rgba(0, 0, 0, .18);
        border-top: 1px solid rgba(255, 255, 255, .18);
    }

    /* Editoria sem cor cadastrada continua no fundo claro do site. */
    .site-header.header-post:not(.header-category) {
        background: var(--header-bg, #f2f4f7);
        color: var(--topbar-text, #16202b);
        border-bottom-color: var(--line, #e6e8ec);
    }

    .site-header.header-post:not(.header-category) .brand-image-on-color { display: none; }
    .site-header.header-post:not(.header-category) .brand-image-on-light { display: block; }
    .site-header.header-post:not(.header-category) .nav-toggle span { background: var(--topbar-text, #16202b); }
    .site-header.header-post:not(.header-category) .header-search-toggle { color: var(--topbar-text, #16202b); }
    .site-header.header-post:not(.header-category) .header-search-toggle:hover { background: rgba(0, 0, 0, .06); }

    .site-header.header-post .header-section-bar a {
        display: block;
        padding: 9px 10px;
        color: #fff;
        text-align: center;
        font-size: 28px;
        line-height: 1.15;
        font-weight: 800;
        letter-spacing: .2px;
        text-transform: uppercase;
        overflow-wrap: break-word;
    }

    .site-header.header-post .header-section-bar a:hover { color: #fff; }

    .header-ad-post { padding: 12px 0 0; }
    .header-ad-post .ad-slot img { width: 100%; max-width: 100%; height: auto; }
}

/* ===== 03-nav.css ===== */

/* Navegacao principal no desktop: links, busca e link ao vivo. */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    padding: 4px 0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.main-nav a { padding: 8px 0; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--header-text, #fff); border-bottom-color: rgba(255, 255, 255, .5); border-bottom-color: color-mix(in srgb, var(--header-accent, #fff) 55%, transparent); }
.main-nav a.is-active { border-bottom-color: var(--header-accent, #fff); }

.header-tools { display: flex; align-items: center; gap: 18px; }

/* No desktop a busca do topo é o campo completo; o ícone só aparece no
   celular, como nas páginas de matéria e editoria. */
.header-search-toggle { display: none; }

.header-search {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .07);
    border-radius: 30px;
    padding: 4px 6px 4px 14px;
}

.header-search input {
    width: 96px;
    background: transparent;
    border: 0;
    color: var(--topbar-text, #16202b);
    font-size: 13px;
    outline: none;
    transition: width .2s ease;
}

.header-search input::placeholder { color: rgba(0, 0, 0, .45); color: color-mix(in srgb, var(--topbar-text, #16202b) 62%, transparent); }
.header-search input:focus { width: 160px; }

.header-search button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    background: color-mix(in srgb, var(--topbar-text, #16202b) 12%, transparent);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.header-search button svg { width: 15px; height: 15px; fill: currentColor; color: var(--topbar-text, #16202b); }

.live-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .8px;
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    background: var(--header-accent, #fff);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--header-accent, #fff) 25%, transparent);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span { display: block; height: 2px; background: var(--menu-bg, var(--topbar-text, #16202b)); border-radius: 2px; }

.nav-close, .nav-scrim { display: none; }

@media (max-width: 1080px) {
    .main-nav { gap: 14px; font-size: 12.5px; }
    .header-search input { width: 70px; }
}


/* Muitas editorias: a faixa quebra em duas linhas em vez de estourar a largura. */
@media (min-width: 901px) {
    .main-nav { flex-wrap: wrap; gap: 2px 18px; }
    .main-nav a { padding: 9px 0; }
}

/* ===== 04-nav-mobile.css ===== */

/* Menu lateral do site no mobile: botao, gaveta e scrim. */

@media (max-width: 900px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 10px;
        min-height: 64px;
        padding: 10px 18px;
    }
    .brand { grid-column: 1; grid-row: 1; justify-self: start; min-width: 0; }
    .nav-toggle { display: flex; grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
    .header-tools { grid-column: 2; grid-row: 1; justify-self: end; justify-content: flex-end; margin: 0; gap: 6px; }

    .site-header.header-default .brand-image { max-height: 26px; max-width: 150px; }

    .site-header.header-default .header-search-toggle {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--topbar-text, #16202b);
        cursor: pointer;
    }

    .site-header.header-default .header-search-toggle:hover { background: rgba(0, 0, 0, .06); }
    .site-header.header-default .header-search-toggle svg { width: 22px; height: 22px; fill: currentColor; }

    .site-header.header-default .header-search-panel { display: none; }

    .site-header.header-default.is-search-open .header-search-panel {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        z-index: 60;
        width: min(320px, calc(100vw - 32px));
        padding: 8px 8px 8px 14px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
    }

    .site-header.header-default.is-search-open .header-search-panel input { width: 100%; color: #16202b; }
    .site-header.header-default.is-search-open .header-search-panel input::placeholder { color: rgba(22, 32, 43, .5); }
    .site-header.header-default.is-search-open .header-search-panel button { background: var(--menu-bg, var(--red)); }
    .site-header.header-default.is-search-open .header-search-panel button svg { color: #fff; }
    .header-search { display: none; }
    .header-ad-desktop { display: none; }
    .header-ad-mobile { display: flex; justify-content: center; padding-top: 12px; }
    .header-ad-mobile .ad-slot { margin: 0; }
    .header-ad-mobile .ad-slot img { width: 100%; max-width: 100%; height: auto; }
    .header-ad-mobile .ad-label { display: none; }
    .header-nav { background: transparent; border-top: 0; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(320px, 84vw);
        margin: 0;
        padding: 70px 26px 26px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--menu-bg, var(--header-bg, #c10511));
        background-image: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .16));
        color: var(--header-text, #fff);
        box-shadow: -18px 0 46px rgba(0, 0, 0, .32);
        transform: translateX(104%);
        visibility: hidden;
        transition: transform .28s ease, visibility .28s;
        overflow-y: auto;
        z-index: 70;
    }
    .main-nav.is-open { transform: translateX(0); visibility: visible; }
    .main-nav a {
        width: 100%;
        padding: 12px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        border-bottom-color: color-mix(in srgb, var(--header-text, #fff) 20%, transparent);
    }
    .main-nav a.is-active { border-bottom-color: var(--header-accent, #fff); }

    .nav-close {
        display: inline-flex;
        position: absolute;
        top: 12px;
        right: 14px;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: rgba(0, 0, 0, .2);
        color: var(--header-text, #fff);
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .nav-scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 10, 14, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s;
        z-index: 65;
    }
    .nav-scrim.is-open { opacity: 1; visibility: visible; }

    /* O header e sticky com z-index 40 e cria contexto de empilhamento: sem subir
       o proprio header, o drawer (70) fica preso abaixo do scrim (65) e nada
       dentro do menu recebe clique. */
    body.nav-open .site-header { z-index: 80; }

    body.nav-open { overflow: hidden; }
}

/* ===== 05-header-compact.css ===== */

/* Ajustes do topo em telas pequenas (640px, 380px e 340px). */

@media (max-width: 640px) {
    .header-tools .live-link { font-size: 11px; }
    .brand-text strong { font-size: 20px; }
}

@media (max-width: 380px) {
    .brand { gap: 7px; }
    .brand-mark { width: 36px; height: 36px; }
    .brand-text small { font-size: 10px; letter-spacing: 2px; }
    .brand-text strong { font-size: 18px; }
    .header-tools .live-link { font-size: 10.5px; }
}

@media (max-width: 340px) {
    .brand-text { display: none; }
}

/* ===== 06-ticker.css ===== */

/* Faixa de ultimas noticias em movimento continuo. */

.ticker {
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: #6a727d;
}

.ticker-inner { display: flex; align-items: center; gap: 14px; height: 42px; overflow: hidden; }

.ticker-label {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ticker-accent, var(--red));
    border-right: 1px solid var(--line);
    padding-right: 14px;
}

.ticker-window { overflow: hidden; position: relative; flex: 1; }

.ticker-track {
    display: flex;
    gap: 44px;
    width: max-content;
    animation: ticker 60s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { white-space: nowrap; color: #6a727d; }
.ticker-track a:hover { color: var(--cat, var(--red)); }
.ticker-track strong { color: var(--ticker-accent, var(--red)); font-weight: 700; }

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== 07-hero.css ===== */

/* Destaques da home: hero e lista lateral de materias. */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    gap: 36px;
    margin: 6px auto 34px;
}

.hero-featured { min-width: 0; }

.hero-media {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
    aspect-ratio: 16 / 9;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-featured:hover .hero-media img { transform: scale(1.02); }

.hero-media-empty {
    display: grid;
    place-items: center;
    height: 100%;
    color: #8994a1;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text { padding-top: 18px; }

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #2a3138;
}

.category-tag:hover { color: var(--red); }

.tag-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.hero-text h1 {
    font-size: clamp(26px, 2.6vw, 37px);
    font-weight: 700;
    margin: 10px 0 12px;
}

.hero-text h1 a:hover { color: var(--cat, var(--red)); }

.hero-excerpt { color: #4a535d; font-size: 16px; margin-bottom: 10px; }

.meta { font-size: 12px; color: #8b939e; }
.meta-datetime, .meta-date, .meta-time, .headline-time { display: inline-flex; align-items: center; gap: 5px; }
.meta-datetime { flex-wrap: wrap; gap: 6px 14px; }
.meta-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* Os numeros ficam acima do centro da caixa de linha com as metricas desta
       fonte; este ajuste optico de 1,5 px alinha o icone ao centro dos digitos
       tanto nas linhas compactas (11 px) quanto nas maiores (14 px). */
    transform: translateY(-1.5px);
}

/* Em alta: o horario e um flex item ao lado do rotulo, entao o wrapper
   tambem precisa centralizar o conteudo em vez de herdar a linha de base. */
.em-alta-time { display: inline-flex; align-items: center; }

.ed-note-meta .meta-icon,
.ed-cover-time .meta-icon,
.headline-time .meta-icon,
.em-alta-time .meta-icon { width: 11px; height: 11px; }

.hero-list { border-left: 1px solid var(--line); padding-left: 30px; }

.hero-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.hero-list-head h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.hero-list-head .live-dot { background: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .15); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent); }

.mini { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; }
.mini-media { width: 108px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--soft); }
.mini-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-body { display: block; min-width: 0; }
.mini-title { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; margin: 6px 0; }
.mini:hover .mini-title { color: var(--cat, var(--red)); }
.mini-excerpt { display: block; font-size: 12.5px; color: #7b838e; line-height: 1.45; }

/* ===== 08-cards.css ===== */

/* Cabecalhos de secao e grade de cards da home. */

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.section-head h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }

.section-head-tinted { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }

.section-bar { width: 5px; height: 22px; border-radius: 3px; }

.section-more { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--red); }

.latest { margin: 12px auto 42px; }

.card-grid { display: grid; gap: 26px 22px; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card-media {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
}

.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }

.card-media-empty { display: grid; place-items: center; height: 100%; font-size: 12px; color: #98a1ac; text-transform: uppercase; letter-spacing: .8px; }

.card-body { padding-top: 12px; }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 7px 0 6px; }
.card-title a:hover { color: var(--cat, var(--red)); }
.card-excerpt { font-size: 13px; color: #6c7681; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .hero-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
    .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .hero-text h1 { font-size: 26px; }
    .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 08b-magazine.css ===== */

/* Blocos editoriais variados da home: ancora, faixa de destaque e manchetes em texto. */

/* 1. Materia-ancora com duas chamadas horizontais ao lado. */
.magazine { margin: 6px auto 42px; }

.magazine-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.mag-lead { min-width: 0; }

.mag-lead-media {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
    margin-bottom: 14px;
}
.mag-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mag-lead:hover .mag-lead-media img { transform: scale(1.02); }

.mag-lead h3 { font-size: clamp(23px, 2.2vw, 32px); font-weight: 800; line-height: 1.16; margin: 10px 0; }
.mag-lead h3 a:hover { color: var(--cat, var(--red)); }
.mag-excerpt { color: #4a535d; font-size: 15.5px; margin: 0 0 10px; }

.mag-side { display: block; }

.mag-wide {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    align-items: start;
}
.mag-wide:first-child { border-top: 0; padding-top: 0; }

.mag-wide-media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
}
.mag-wide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mag-wide:hover .mag-wide-media img { transform: scale(1.04); }

.mag-wide-body { min-width: 0; }
.mag-wide h4 { font-size: 17px; font-weight: 700; line-height: 1.28; margin: 8px 0 6px; }
.mag-wide h4 a:hover { color: var(--cat, var(--red)); }

/* 2. Faixa de destaque em largura total: texto a esquerda, imagem a direita. */
.feature-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 34px;
    align-items: center;
    padding: 26px 20px;
    margin: 0 auto 42px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-band-text { position: relative; padding-left: 24px; min-width: 0; }
.feature-band-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    border-radius: 2px;
    background: var(--cat, var(--red));
}

.feature-band h3 { font-size: clamp(24px, 2.4vw, 35px); font-weight: 800; line-height: 1.12; margin: 10px 0; }
.feature-band h3 a:hover { color: var(--cat, var(--red)); }
.feature-band p { color: #46505b; font-size: 15.5px; max-width: 62ch; margin: 0 0 10px; }

.feature-band-media {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
}
.feature-band-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-band:hover .feature-band-media img { transform: scale(1.03); }

/* 3. Manchetes so em texto, usadas pelos blocos reforcados da home. */
.headline-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.headline-item:first-child { padding-top: 0; }

.headline-cat {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: #5c6672;
}
.headline-time { font-weight: 600; letter-spacing: 0; text-transform: none; color: #98a1ac; }

.headline-title {
    display: block;
    margin-top: 7px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.2px;
}
.headline-item:hover .headline-title { color: var(--cat, var(--red)); }

@media (max-width: 1080px) {
    .magazine-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .feature-band { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .feature-band-media { order: -1; aspect-ratio: 16 / 9; }
    .feature-band-text { padding-left: 18px; }
}

@media (max-width: 640px) {
    .mag-wide { grid-template-columns: 110px minmax(0, 1fr); }
    .mag-lead h3 { font-size: 23px; }
    .feature-band { padding: 22px 20px; gap: 18px; }
    .feature-band h3 { font-size: 23px; }
    .headline-item:first-child { padding-top: 14px; }
}

/* ===== 08c-editorias.css ===== */

/* Editorias da home: tres composicoes que se alternam (capa + lista,
   capas com titulo sobre a imagem, retrato + numerada). */

/* Composicao 1: materia-capa a esquerda e lista so em texto a direita. */
.ed-lead-row {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.ed-lead { min-width: 0; }

.ed-lead-media {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
    margin-bottom: 13px;
}
.ed-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ed-lead:hover .ed-lead-media img { transform: scale(1.02); }

.ed-lead h3 { font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -.3px; margin: 0 0 8px; }
.ed-lead h3 a:hover { color: var(--cat, var(--red)); }
.ed-excerpt { color: #4a535d; font-size: 14.5px; line-height: 1.5; margin: 0 0 9px; }

.ed-notes {
    min-width: 0;
    padding-left: 26px;
    border-left: 1px solid var(--line);
}

.ed-note {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.ed-note:first-child { padding-top: 2px; }
.ed-note:last-child { border-bottom: 0; padding-bottom: 0; }

.ed-note-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #8b95a1;
}

.ed-note-title {
    display: block;
    margin-top: 6px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.2px;
}
.ed-note:hover .ed-note-title { color: var(--cat, var(--red)); }
.ed-note:first-child .ed-note-title { font-size: 19px; }

/* Composicao 2: duas capas com legenda sobre a imagem e uma faixa abaixo. */
.ed-covers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ed-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    background: #14181d;
    isolation: isolate;
}
.ed-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.ed-cover:hover img { transform: scale(1.03); }
.ed-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 12, 18, .93) 0%, rgba(8, 12, 18, .55) 40%, rgba(8, 12, 18, 0) 74%);
}

.ed-cover-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 18px 15px;
    color: #fff;
}

.ed-cover-cat {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--cat, var(--red));
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.ed-cover-title {
    display: block;
    margin-top: 9px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.2px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.ed-cover-time {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
}

.ed-strip {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.ed-strip-media {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
}
.ed-strip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ed-strip:hover .ed-strip-media img { transform: scale(1.04); }

.ed-strip-title {
    display: block;
    margin: 6px 0 5px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.26;
    letter-spacing: -.2px;
}
.ed-strip:hover .ed-strip-title { color: var(--cat, var(--red)); }
.ed-strip-excerpt {
    display: block;
    font-size: 13.5px;
    line-height: 1.45;
    color: #5d6772;
}

/* Composicao 3: destaque quadrado, lista numerada e chamadas com miniatura,
   formando tres colunas de largura parecida no desktop. A numeracao corre em
   uma unica coluna, como um indice, e a terceira coluna usa miniatura e
   nenhum numero, para o bloco ocupar toda a largura sem sobrar vazio. */
.ed-three {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 2fr);
    gap: 0 32px;
    align-items: start;
}

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

.ed-three-lead { min-width: 0; }

.ed-three-media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
    margin-bottom: 13px;
}
.ed-three-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ed-three-lead:hover .ed-three-media img { transform: scale(1.03); }

.ed-three-lead h3 { font-size: 21px; font-weight: 800; line-height: 1.24; letter-spacing: -.2px; margin: 0 0 9px; }
.ed-three-lead h3 a:hover { color: var(--cat, var(--red)); }

.ed-ranked {
    list-style: none;
    counter-reset: edrank;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.ed-ranked li {
    counter-increment: edrank;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}
.ed-ranked li:first-child { padding-top: 0; border-top: 0; }

.ed-ranked li::before {
    content: counter(edrank);
    font-size: 27px;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -1px;
    color: var(--cat, var(--red));
}

.ed-ranked-title {
    display: block;
    margin-top: 6px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.2px;
}
.ed-ranked a:hover .ed-ranked-title { color: var(--cat, var(--red)); }

/* Terceira coluna: chamadas com miniatura, sem numeracao. */
.ed-thumbs { min-width: 0; }

.ed-thumb {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}
.ed-thumb:first-child { padding-top: 0; border-top: 0; }

.ed-thumb-media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    overflow: hidden;
    background: var(--soft);
}
.ed-thumb-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ed-thumb:hover .ed-thumb-media img { transform: scale(1.05); }

.ed-thumb-body { display: block; min-width: 0; }

.ed-thumb-title {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.15px;
}
.ed-thumb:hover .ed-thumb-title { color: var(--cat, var(--red)); }

/* Editorias abaixo da coluna lateral: largura total, para nao sobrar vazio
   a direita depois que os widgets da lateral terminam. */
.split-continue { padding-top: 0; }
.split-continue .editoria { margin-bottom: 48px; }

.split-continue .ed-lead-row { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; }
.split-continue .ed-lead-media { aspect-ratio: 2 / 1; }
.split-continue .ed-lead h3 { font-size: 27px; }
.split-continue .ed-excerpt { font-size: 15px; }

/* Uma variacao de cabecalho por composicao evita a sensacao de bloco repetido. */
.editoria-v2 .section-head-tinted { border-bottom: 1px solid var(--line); }
.editoria-v3 .section-head h2 { font-size: 24px; }

@media (max-width: 1080px) {
    .ed-lead-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
    .ed-lead h3 { font-size: 21px; }
    .split-continue .ed-lead-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; }
    .ed-three { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: 0 24px; }
    .ed-three-full { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
    .ed-thumb { grid-template-columns: 66px minmax(0, 1fr); gap: 11px; }
    .ed-thumb-title { font-size: 14px; }
}

@media (max-width: 760px) {
    .split-continue { padding-top: 0; }
    .split-continue .ed-lead-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .split-continue .ed-lead-media { aspect-ratio: 16 / 9; }
    .split-continue .ed-lead h3 { font-size: 21px; }
    .ed-three, .ed-three-full { grid-template-columns: minmax(0, 1fr); gap: 22px 0; }
    .ed-three-media { aspect-ratio: 16 / 9; }
    .ed-thumb:first-child { padding-top: 15px; border-top: 1px solid var(--line); }
    .ed-lead-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .ed-notes { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .ed-note:first-child { padding-top: 14px; }
    .ed-covers { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .ed-cover-title { font-size: 18px; }
}

@media (max-width: 480px) {
    .ed-strip { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
    .ed-strip-title { font-size: 16px; }
    .ed-strip-excerpt { display: none; }
    .ed-lead h3 { font-size: 20px; }
    .ed-ranked li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
    .ed-ranked li::before { font-size: 22px; }
    .ed-three-lead h3 { font-size: 20px; }
}

/* ===== 08d-promo.css ===== */

/* Blocos reforcados de Politica e Esporte, logo abaixo de "Destaques do dia". */

.promo { margin: 0 auto 44px; }

.promo-head h2 { font-size: 26px; }

.promo-politica { border-top: 4px solid var(--red); padding-top: 18px; }
.promo-esporte { border-top: 4px solid var(--cat, var(--red)); padding-top: 18px; }

/* Politica: capa grande a esquerda e quatro chamadas com miniatura a direita. */
.promo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.promo-lead { min-width: 0; }

.promo-lead-media {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
    margin-bottom: 14px;
}
.promo-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.promo-lead:hover .promo-lead-media img { transform: scale(1.02); }

.promo-lead h3 {
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.6px;
    margin: 0 0 10px;
}
.promo-lead h3 a:hover { color: var(--cat, var(--red)); }

.promo-thumbs { display: flex; flex-direction: column; }
.promo-thumb {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.promo-thumb:first-child { padding-top: 0; border-top: 0; }

.promo-thumb-media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
}
.promo-thumb-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.promo-thumb:hover .promo-thumb-media img { transform: scale(1.04); }

.promo-thumb-body { min-width: 0; }
.promo-thumb-title {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.2px;
}
.promo-thumb:hover .promo-thumb-title { color: var(--cat, var(--red)); }

/* Linha de manchetes so em texto, usada pelos dois blocos. */
.promo-lines {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 28px;
    margin-top: 24px;
    border-top: 2px solid var(--ink);
}
.promo-lines .headline-item { padding: 14px 0 0; border-bottom: 0; }
.promo-lines .headline-title { font-size: 16px; }

/* Segunda linha de manchetes: continua a anterior, com fio mais fino. */
.promo-lines-more { margin-top: 18px; border-top-width: 1px; border-top-color: var(--line); }
.promo-lines-more .headline-item { padding-top: 12px; }

/* Esporte: tres capas com titulo sobre a imagem. */
.promo-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promo-covers .ed-cover { aspect-ratio: 4 / 3; }
.promo-covers .ed-cover-title { font-size: 17px; }

@media (max-width: 1080px) {
    .promo-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; }
    .promo-lead h3 { font-size: 25px; }
    .promo-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promo-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .promo { margin-bottom: 34px; }
    .promo-head h2 { font-size: 22px; }
    .promo-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .promo-lead h3 { font-size: 22px; }
    .promo-thumb { grid-template-columns: 88px minmax(0, 1fr); }
    .promo-thumb-title { font-size: 15.5px; }
    .promo-covers { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .promo-lines { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 18px; }
}

/* ===== 08e-em-alta.css ===== */

/* "Em alta": faixa numerada em grade de tres linhas. Como as linhas sao da
   mesma grade, os fios e as colunas ficam alinhados entre si. */

.em-alta {
    margin: 0 auto 46px;
    padding: 20px 26px 6px;
    background: #f5f7f9;
    border-top: 3px solid var(--red);
    border-radius: var(--radius);
}

.em-alta-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee3e8;
    margin-bottom: 4px;
}

.em-alta-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.em-alta-grid {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    column-gap: 38px;
}

.em-alta-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid #e2e7ec;
}
.em-alta-item:nth-child(3n) { border-bottom: 0; }

.em-alta-rank {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.6px;
    color: var(--red);
}
.em-alta-item:nth-child(n+4) .em-alta-rank { color: #a9b2bc; }

.em-alta-body { min-width: 0; }

.em-alta-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #5c6672;
}
.em-alta-time { font-weight: 600; letter-spacing: 0; text-transform: none; color: #98a1ac; }

.em-alta-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.2px;
}
.em-alta-item:hover .em-alta-text { color: var(--cat, var(--red)); }

@media (max-width: 1000px) {
    .em-alta-grid {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
    }
    .em-alta-item:nth-child(3n) { border-bottom: 1px solid #e2e7ec; }
    .em-alta-item:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 700px) {
    .em-alta { padding: 16px 18px 4px; margin-bottom: 34px; }
    .em-alta-title { font-size: 20px; }
    .em-alta-grid { grid-template-columns: minmax(0, 1fr); }
    .em-alta-item:nth-last-child(-n+2) { border-bottom: 1px solid #e2e7ec; }
    .em-alta-item:last-child { border-bottom: 0; }
    .em-alta-text { font-size: 15.5px; }
    .em-alta-rank { font-size: 19px; }
}

/* ===== 09-ads.css ===== */

/* Espacos publicitarios do site: faixas e carrossel. */

.ad-top { margin-top: 22px; }

.ad-slot { margin: 0 auto 26px; text-align: center; }
.ad-slot img { margin: 0 auto; border-radius: 4px; max-width: 100%; height: auto; }
.ad-label {
    display: block;
    font-size: 9px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #9aa2ad;
    margin-bottom: 6px;
}

.ad-slider { position: relative; }
.ad-slider-viewport { overflow: hidden; border-radius: 4px; }
.ad-slider-track { display: flex; transition: transform .35s ease; }
.ad-slide { flex: 0 0 100%; min-width: 100%; }
.ad-slide img { display: block; margin: 0 auto; border-radius: 4px; max-width: 100%; height: auto; }
.ad-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(10, 14, 20, .55);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
}
.ad-slider:hover .ad-slider-nav,
.ad-slider:focus-within .ad-slider-nav { opacity: 1; }
.ad-slider-nav:hover { background: rgba(10, 14, 20, .8); }
.ad-slider-nav.is-prev { left: 6px; }
.ad-slider-nav.is-next { right: 6px; }

.ad-header img { max-height: 190px; width: auto; }
.ad-band { margin: 10px auto 34px; }

/* A faixa publicitária da capa também cobre a largura toda do container. */
.ad-band .ad-slot { width: 100%; }
.ad-band .ad-slot img { width: 100%; max-width: 100%; height: auto; }

@media (max-width: 1080px) {
    .ad-top { margin-top: 16px; }
}

@media (max-width: 900px) {
    .ad-slider-nav { opacity: 1; }
}

/* ===== 10-layout.css ===== */

/* Estrutura da home: grade principal, editorias, lateral, widgets e botoes. */

.site-main { padding-bottom: 56px; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
    align-items: start;
}

.editoria { margin-bottom: 44px; }

.sidebar { display: flex; flex-direction: column; gap: 26px; }

/* Anuncios da lateral entram no mesmo ritmo e na mesma largura dos widgets. */
.sidebar .ad-slot {
    width: 100%;
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.sidebar .ad-slot img { width: 100%; max-width: 100%; height: auto; }
.sidebar .ad-slot .ad-label { margin-bottom: 8px; }

.widget {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}

.widget-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--red);
}

.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.4; }
.rank-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rank { color: var(--red); font-weight: 700; font-size: 16px; width: 18px; flex-shrink: 0; }
.rank-list a:hover { color: var(--cat, var(--red)); }

.live-widget { background: #14181d; color: #fff; border-color: #14181d; }
.live-widget h2 { font-size: 20px; margin: 10px 0 8px; }
.live-widget p { font-size: 13.5px; color: #b9c2cc; }
.live-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #ff5a63; }
.live-flag .live-dot { background: var(--red, #ff3b46); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-light { background: #fff; color: #14181d; margin-top: 6px; }
.btn-light:hover { background: #f1f3f5; color: #14181d; }

@media (max-width: 1080px) {
    .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .split-main > .editoria:last-child { margin-bottom: 0; }
    .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .site-main { padding-bottom: 36px; }
    .sidebar { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .sidebar .ad-slot { padding: 12px; }
}

/* ===== 11-article.css ===== */

/* Pagina da materia: capa, corpo, galeria embutida, video e compartilhamento. */

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
    margin-top: 26px;
}

.article { max-width: 820px; }

.breadcrumb { font-size: 12px; color: #8b939e; display: flex; gap: 8px; margin-bottom: 18px; }
.breadcrumb a { color: #6c7681; }
.breadcrumb a:hover { color: var(--red); }

.article-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin: 12px 0 14px; }

.article-lead { font-size: 18.5px; color: #4a535d; line-height: 1.55; }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 12.5px;
    color: #818a95;
    padding: 14px 0 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}

.article-cover { margin: 0 0 26px; }
.article-cover img { border-radius: var(--radius); width: 100%; }
.article-cover figcaption { font-size: 12px; color: #8b939e; margin-top: 8px; }

.article-body { font-size: 18px; line-height: 1.75; color: #222a31; }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-size: 27px; margin: 34px 0 14px; }
.article-body h3 { font-size: 22px; margin: 30px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
    margin: 26px 0;
    padding: 18px 24px;
    border-left: 4px solid var(--red);
    background: #faf4f4;
    font-size: 20px;
    line-height: 1.5;
    font-style: italic;
}
.article-body img { border-radius: 8px; margin: 20px auto; }
.article-body figure { margin: 24px 0; }

.content-gallery { margin: 30px 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fbfcfd; }
.content-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.content-gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.content-gallery figcaption { font-size: 12.5px; color: #6c7681; margin-top: 10px; }

.content-video { position: relative; padding-top: 56.25%; margin: 26px 0; border-radius: 10px; overflow: hidden; background: #000; }
.content-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.article .ad-slot { margin: 30px 0; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 34px 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: #6c7681; }
.share-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}
.share-btn svg { width: 17px; height: 17px; fill: currentColor; }
.share-btn.share-whatsapp svg { width: 19px; height: 19px; }
.share-btn.share-telegram svg { width: 16px; height: 16px; }
.share-link svg { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #0f1419; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #229ed9; }
.share-link { background: #4b5563; }
.share-btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.share-feedback { font-size: 12px; font-weight: 600; color: #18794e; }

.related { margin-top: 34px; }

@media (max-width: 1080px) {
    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 900px) {
    .content-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .article-body { font-size: 17px; }
    .article-title { font-size: 28px; }
    .article-lead { font-size: 17px; }
    .share { flex-wrap: wrap; }
}

/* ===== 12-pages.css ===== */

/* Paginas de listagem: cabecalho, busca, paginacao, erro e avisos. */

.page-head { margin: 34px auto 26px; }

/* A editoria agora aparece no topo; o conteúdo começa logo abaixo da faixa. */
.category-grid { padding-top: 26px; }
.page-head h1 { font-size: clamp(28px, 3vw, 38px); margin: 8px 0 6px; }
.page-head p { color: #5c6672; max-width: 720px; margin: 0; }
.page-count { display: inline-block; font-size: 12px; color: #8b939e; margin-top: 6px; }

.page-search { display: flex; gap: 10px; margin-top: 18px; max-width: 520px; }
.page-search input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.page-search input:focus { outline: 2px solid rgba(227, 6, 19, .2); outline: 2px solid color-mix(in srgb, var(--red) 20%, transparent); border-color: var(--red); }

/* Espacamento enxuto entre os blocos: a lateral acompanha a primeira parte
   da lista e o fecho ocupa a largura toda. */
.archive-head .feature-band {
    /* Sem caixa: a faixa alinha com a coluna em vez de abrir margem interna. */
    padding: 0;
    margin-bottom: 30px;
    border-top: 0;
    border-bottom: 0;
}
.archive-head .card-grid + .news-panel { margin-top: 30px; }
.archive-head .news-panel { margin-bottom: 0; }
.archive-continue { margin-top: 36px; }
.archive-continue .pagination { margin-top: 26px; }

/* Painel em lista das paginas de editoria e busca: capas pequenas, titulo e
   resumo. Fica direto no fundo da pagina, sem cartao dentro do container. */
.news-panel { margin: 0 0 34px; }

.news-panel-head { margin-bottom: 0; }
.news-panel-head h2 { font-size: 17px; text-transform: uppercase; letter-spacing: .6px; }
.news-panel .mini { align-items: flex-start; padding: 14px 0; }
.news-panel .mini-media { width: 124px; aspect-ratio: 4 / 3; }
.news-panel .mini:last-child { border-bottom: 0; }

@media (max-width: 640px) {
    .news-panel .mini { padding: 12px 0; }
    .news-panel .mini-media { width: 96px; }
    .news-panel .mini-excerpt { display: none; }
}

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.page-link { padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: #5c6672; }
.page-link:hover { border-color: var(--cat-color, var(--red)); color: var(--cat-color, var(--red)); }
.page-link.is-current { background: var(--cat-color, var(--red)); border-color: var(--cat-color, var(--red)); color: #fff; font-weight: 700; }

.empty-state { padding: 34px; text-align: center; color: #8994a1; background: var(--soft); border-radius: var(--radius); font-size: 14px; }
.error-page { text-align: center; padding: 90px 20px; max-width: 640px; }
.error-code { color: var(--red); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.error-page h1 { margin: 12px 0 24px; font-size: 28px; }

.flash { padding: 12px 16px; border-radius: 8px; margin: 16px 0; font-size: 14px; }
.flash-success { background: #e9f7ef; color: #1c6b3f; border: 1px solid #bfe6cf; }
.flash-error { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c9c9; }

/* ===== 13-gallery.css ===== */

/* Galeria de fotos, lightbox e responsivo da grade. */

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { position: relative; display: block; border-radius: 8px; overflow: hidden; background: var(--soft); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px 14px 10px;
    color: #fff;
    font-size: 12.5px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 12, .92);
    display: none;
    place-items: center;
    z-index: 90;
    padding: 28px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 6px; }
.lightbox-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
.lightbox-nav { position: absolute; background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 14-footer.css ===== */

/* Rodape: marca, editorias, navegacao e linha final. */

.site-footer { background: #10151a; color: #b9c3ce; margin-top: 40px; border-top: 3px solid var(--red); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.45fr) minmax(0, .85fr); gap: 28px 44px; padding: 34px 20px 30px; }
.site-footer h3 { font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.site-footer a { color: #b9c3ce; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand .brand-footer { margin-bottom: 14px; }
.brand-image-footer { max-height: 44px; }
.footer-tagline { font-size: 13px; color: #9aa5b1; line-height: 1.55; margin: 0 0 6px; max-width: 300px; }
.footer-address { font-size: 12px; color: #7f8a96; margin: 0; }
.site-footer .footer-links-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 24px; }
.site-footer .footer-contact-title { margin-top: 20px; }
.footer-contact { font-size: 12.5px; }
.footer-contact li { display: flex; align-items: center; gap: 7px; }
.footer-contact .icon { width: 14px; height: 14px; flex: 0 0 14px; color: #7f8a96; }
.footer-bottom { border-top: 1px solid #232a31; font-size: 12px; color: #7f8a96; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 13px; padding-bottom: 13px; flex-wrap: wrap; }

@media (max-width: 900px) {
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 20px 24px; }
    .footer-brand { grid-column: auto; }
    .footer-brand .brand-footer { margin-bottom: 10px; }
    .brand-image-footer { max-height: 36px; }
    .footer-tagline { max-width: none; }
    .footer-col h3 { margin-bottom: 9px; }
    .site-footer .footer-links { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
    .site-footer .footer-links-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; }
    .site-footer .footer-contact-title { margin-top: 4px; }
    .footer-bottom .container { padding-top: 12px; padding-bottom: 12px; }
}
