/*
 * 365 Breaking News — sistema visual editorial 2026
 * Camada final e centralizada. Mantem os componentes PHP existentes e
 * neutraliza regras historicas conflitantes de assets/site.css.
 */
:root {
    --portal-navy-950: #031225;
    --portal-navy-900: #061a33;
    --portal-navy-800: #0a294e;
    --portal-red: #d71920;
    --portal-red-dark: #b60f17;
    --portal-gold: #bd8b25;
    --portal-ink: #0b1728;
    --portal-muted: #5e6c7e;
    --portal-line: #d8dee7;
    --portal-soft: #f3f6fa;
    --portal-white: #fff;
    --portal-shadow: 0 8px 24px rgba(3, 18, 37, .07);
    --portal-width: 1440px;
    --portal-reading: 760px;
    --primary: #0a5dc2;
    --primary-dark: #07488f;
    --danger: var(--portal-red);
    --dark: var(--portal-navy-900);
    --darkest: var(--portal-navy-950);
    --text: var(--portal-ink);
    --muted: var(--portal-muted);
    --border: var(--portal-line);
    --surface-soft: var(--portal-soft);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --max-width: var(--portal-width);
}

html { scroll-padding-top: 76px; }
body {
    overflow-x: clip;
    background: #eef2f6;
    color: var(--portal-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #ffca55;
    outline-offset: 3px;
}

.page-shell {
    width: min(var(--portal-width), 100%);
    margin-inline: auto;
    background: var(--portal-white);
    box-shadow: 0 0 36px rgba(3, 18, 37, .08);
}

/* Cabecalho editorial */
.site-header { display: flex; flex-direction: column; margin: 0; background: #fff; }
.topline {
    order: 1;
    min-height: 38px;
    margin: 0;
    padding: 7px clamp(18px, 3vw, 44px);
    border-bottom: 1px solid var(--portal-line);
    color: #455468;
    background: #fff;
}
.utility-nav__link { color: #455468; }
.utility-nav__link:hover { color: var(--portal-red); }
.lang-switch__item { width: 32px; height: 32px; border-radius: 50%; }
.lang-switch__item.is-active { border-color: var(--portal-red); box-shadow: 0 0 0 2px rgba(215,25,32,.13); }

.brand-row {
    order: 2;
    position: sticky;
    top: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(330px, auto) 1fr auto;
    grid-template-rows: minmax(86px, auto) 48px;
    gap: 0 28px;
    padding: 0 clamp(18px, 3vw, 44px);
    border: 0;
    background: rgba(255,255,255,.98);
    box-shadow: 0 1px 0 rgba(3,18,37,.12);
    backdrop-filter: blur(12px);
}
.brand-mark { grid-column: 1; grid-row: 1; gap: 12px; color: var(--portal-navy-950); }
.brand-mark__badge {
    padding: 4px 10px 6px;
    background: var(--portal-red);
    color: #fff;
    font-size: clamp(46px, 5vw, 68px);
    line-height: .92;
    letter-spacing: -.055em;
}
.brand-mark__text { padding-right: 22px; border-right: 1px solid #aeb8c5; }
.brand-mark__text strong {
    max-width: none;
    color: var(--portal-navy-950);
    font-size: clamp(22px, 2.2vw, 33px);
    line-height: .88;
    letter-spacing: -.02em;
}
.brand-mark__text small {
    display: block;
    max-width: 420px;
    margin-top: 7px;
    color: var(--portal-muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.25;
}
.site-nav-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + clamp(36px, 6vw, 88px));
    margin-left: calc(clamp(18px, 3vw, 44px) * -1);
    padding-inline: clamp(18px, 3vw, 44px);
    border: 0;
    background: var(--portal-navy-950);
}
.section-nav { justify-content: flex-start; min-height: 48px; gap: 2px; }
.section-nav__item,
.section-nav__item--more {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-bottom: 4px solid transparent;
    color: #f5f7fa;
    font-size: 14px;
    font-weight: 750;
}
.section-nav__item:hover,
.section-nav__item:focus-visible,
.section-nav__item.is-active {
    border-bottom-color: var(--portal-red);
    background: rgba(255,255,255,.08);
    color: #fff;
}
.section-nav__menu { top: 100%; border-radius: 0 0 6px 6px; }
.search-trigger {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 48px;
    height: 48px;
    border: 1px solid #b9c3cf;
    border-radius: 4px;
    background: #fff;
    color: var(--portal-navy-950);
}
.search-trigger svg, .search-trigger svg path { color: currentColor; fill: currentColor; }
.nav-toggle { color: var(--portal-navy-950); background: #fff; border-color: #b9c3cf; border-radius: 4px; }
.nav-toggle span { background: currentColor; }
.site-search {
    order: 3;
    margin: 0;
    padding: 14px clamp(18px, 3vw, 44px);
    border-bottom: 1px solid var(--portal-line);
    background: #fff;
}
.site-search__field, .site-search__submit { border-radius: 4px; }
.site-search__submit { background: var(--portal-red); border-color: var(--portal-red); }
.site-search__submit:hover { background: var(--portal-red-dark); border-color: var(--portal-red-dark); }
.breaking-strip { order: 4; min-height: 42px; border: 0; background: var(--portal-navy-950); color: #fff; }
.breaking-strip__label { padding-inline: 22px; background: var(--portal-red); }
.breaking-strip__headline, .breaking-strip__separator { color: #fff; }
.horoscope-nav { order: 5; margin: 0; padding-inline: clamp(18px, 3vw, 44px); }
.page-home .site-header .horoscope-nav { display: none; }

/* Estrutura, paineis e titulos */
.top-music-ad { margin: 18px auto 22px; padding-inline: clamp(14px, 3vw, 34px); }
.portal-layout { padding: 0 clamp(14px, 2.4vw, 34px) 42px; gap: 22px; }
.portal-main, .portal-sidebar { gap: 22px; }
.news-panel, .sidebar-card, .info-page, .article-layout__main {
    border: 1px solid var(--portal-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--portal-shadow);
}
.news-panel { padding: 22px; }
.news-panel--hero { padding: 14px; overflow: hidden; }
.section-heading { padding-bottom: 10px; border-bottom: 2px solid #1464bd; }
.section-heading__eyebrow { color: #075dbb; font-size: 11px; letter-spacing: .1em; }
.section-heading__eyebrow::before { display: none; }
.section-heading__title { color: var(--portal-navy-950); font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.025em; }
.section-heading__title a:hover { color: var(--portal-red); }
.news-card__kicker, .hero-quick__category {
    display: inline-flex;
    width: fit-content;
    color: #fff;
    background: #0965ca;
    border-radius: 2px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.story-meta { color: #5c6a7b; font-size: 12px; }

/* Grade principal inspirada na referencia */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, .72fr) minmax(240px, .7fr);
    gap: 3px;
    background: #fff;
}
.hero-story, .mini-story { border-radius: 0; box-shadow: none; }
.hero-story { min-height: clamp(430px, 42vw, 610px); }
.hero-story::after, .mini-story::after { background: linear-gradient(180deg, transparent 22%, rgba(2,11,24,.93) 100%); }
.hero-story__content { padding: clamp(22px, 3.5vw, 48px); }
.hero-story__title { max-width: 900px; font-size: clamp(36px, 4.2vw, 66px); line-height: 1.02; letter-spacing: -.035em; }
.hero-story__excerpt { max-width: 820px; font-size: 17px; line-height: 1.5; }
.hero-stack { gap: 3px; }
.mini-story { min-height: 300px; }
.mini-story__content { padding: 20px; }
.mini-story__title { font-size: 21px; line-height: 1.14; }
.hero-quick { padding-left: 18px; border-left: 1px solid var(--portal-line); background: #fff; }
.hero-quick__item { padding: 16px 0; }
.hero-quick__category { padding: 0; border-radius: 0; background: none; color: var(--portal-red); }
.hero-quick__title { font-size: 18px; line-height: 1.2; }
.hero-quick__title a:hover { color: #075dbb; }

.story-row, .section-lead, .news-card, .sidebar-story { border-radius: 4px; }
.story-row__title, .section-lead__title, .news-card__title, .sidebar-story__title { color: var(--portal-navy-950); }
.section-cluster__list { border-left: 1px solid var(--portal-line); padding-left: 18px; }
.sidebar-card { padding: 18px; }
.sidebar-card .section-heading { border-bottom-color: var(--portal-red); }

/* Materia */
.reading-progress {
    position: fixed;
    z-index: 150;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--portal-red);
    box-shadow: 0 0 8px rgba(215,25,32,.28);
    transform-origin: left center;
}
.portal-layout--article { padding-top: 18px; }
.article-shell { background: #fff; }
.breadcrumbs { max-width: 1040px; margin: 0 auto 20px; color: #4e5d70; font-size: 13px; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 38px;
    align-items: start;
}
.article-layout__main { padding: clamp(20px, 3.6vw, 48px); }
.article-header { max-width: 1040px; margin-inline: auto; }
.article-headline {
    max-width: 1000px;
    margin: 15px 0 12px;
    color: var(--portal-navy-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.1vw, 76px);
    font-weight: 700;
    line-height: .99;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.article-summary { max-width: 900px; color: #445164; font-size: clamp(19px, 2vw, 25px); line-height: 1.45; }
.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    color: var(--portal-navy-950);
    font-size: 14px;
}
.article-byline__avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: #e7ebf0;
    color: #5b6674;
    font-weight: 800;
}
.article-meta { margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--portal-line); border-bottom: 1px solid var(--portal-line); }
.article-share { justify-content: flex-start; margin-top: 14px; }
.article-share__link { border-radius: 4px; }
.article-figure { max-width: 1040px; margin: 24px auto 0; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e9edf2; }
.article-figure figcaption { padding: 8px 0 0; color: #667386; font-size: 12px; line-height: 1.45; }
.article-body { max-width: var(--portal-reading); margin-inline: auto; color: #172235; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.76; }
.article-body > p:first-child { font-size: 22px; line-height: 1.66; }
.article-body h2, .article-body h3 { color: var(--portal-navy-950); font-family: Georgia, "Times New Roman", serif; }
.article-inline-ad, .source-box, .article-inline-ad--bottom { max-width: var(--portal-reading); margin-inline: auto; }
.source-box { border-left: 4px solid var(--portal-gold); border-radius: 2px; background: #f7f8fa; }
.article-layout__sidebar { position: sticky; top: 154px; gap: 18px; }
.article-trust-card { padding: 20px; border: 1px solid var(--portal-line); border-radius: 4px; background: #fff; }
.article-trust-card__title { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--portal-gold); color: var(--portal-navy-950); font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.article-trust-card p { margin: 0; color: #4d5a6c; font-size: 14px; line-height: 1.6; }
.article-trust-card a { display: inline-flex; margin-top: 12px; color: #a70d14; font-weight: 800; }
.article-next { max-width: var(--portal-reading); margin: 28px auto 0; padding: 20px; border-top: 3px solid var(--portal-navy-900); background: var(--portal-soft); }
.article-next__eyebrow { color: var(--portal-red); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.article-next__title { margin: 8px 0 0; color: var(--portal-navy-950); font-size: 22px; line-height: 1.25; }

/* Rodape */
.site-footer { padding: 34px clamp(18px, 3vw, 44px); border-radius: 0; background: var(--portal-navy-950); color: #e8eef6; }
.site-footer .brand-mark__badge { font-size: 44px; }
.site-footer .brand-mark__text strong, .site-footer a { color: #fff; }
.site-footer a:hover { color: #ff7b80; }

@media (max-width: 1180px) {
    .brand-row { grid-template-columns: minmax(300px, auto) 1fr auto; }
    .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(250px, .8fr); }
    .hero-quick { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 14px 0 0; border: 0; gap: 18px; }
    .article-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
}

@media (max-width: 980px) {
    .page-shell { width: 100%; }
    .topline { align-items: center; flex-direction: row; }
    .utility-nav { display: none; }
    .brand-row { grid-template-columns: minmax(0, 1fr) 46px 46px; grid-template-rows: minmax(74px, auto) auto; gap: 0 10px; }
    .brand-mark__text small { display: none; }
    .brand-mark__text { padding-right: 0; border: 0; }
    .nav-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
    .search-trigger { grid-column: 3; grid-row: 1; width: 46px; height: 46px; }
    .site-nav-wrap { display: none; grid-column: 1 / -1; grid-row: 2; width: calc(100% + clamp(36px, 6vw, 88px)); }
    .site-nav-wrap.is-open { display: block; }
    .section-nav { display: flex; flex-direction: column; align-items: stretch; padding: 8px 0; }
    .section-nav__item, .section-nav__item--more { width: 100%; min-height: 46px; justify-content: flex-start; padding: 10px 16px; }
    .section-nav__menu { position: static; width: 100%; margin: 0; border: 0; background: var(--portal-navy-800); box-shadow: none; }
    .section-nav__menu-item { color: #fff; }
    .portal-layout, .article-layout { grid-template-columns: 1fr; }
    .portal-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout__sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hero-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
    .hero-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .topline { min-height: 36px; padding-inline: 12px; font-size: 12px; }
    .brand-row { padding-inline: 12px; }
    .brand-mark { gap: 7px; }
    .brand-mark__badge { padding: 3px 6px 5px; font-size: 38px; }
    .brand-mark__text strong { font-size: 15px; }
    .site-nav-wrap { width: calc(100% + 24px); margin-left: -12px; padding-inline: 12px; }
    .site-search { padding-inline: 12px; }
    .breaking-strip__label { padding-inline: 12px; font-size: 10px; }
    .breaking-strip__headline { font-size: 12px; }
    .top-music-ad { margin-block: 12px 18px; padding-inline: 10px; }
    .portal-layout { padding: 0 8px 28px; gap: 16px; }
    .portal-main, .portal-sidebar { gap: 16px; }
    .portal-sidebar, .article-layout__sidebar { grid-template-columns: 1fr; }
    .news-panel, .sidebar-card, .info-page { padding: 16px; border-radius: 2px; }
    .news-panel--hero { padding: 12px; }
    .hero-story { min-height: 470px; }
    .hero-story__content { padding: 20px; }
    .hero-story__title { font-size: 30px; line-height: 1.08; }
    .hero-story__excerpt { font-size: 14px; line-height: 1.5; }
    .hero-stack { grid-template-columns: 1fr; }
    .mini-story {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px;
        grid-template-areas: "content media";
        min-height: 0;
        padding: 15px 0;
        border-bottom: 1px solid var(--portal-line);
        background: #fff;
    }
    .mini-story::after { display: none; }
    .mini-story__media { position: relative; grid-area: media; width: 112px; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; }
    .mini-story__content { position: static; grid-area: content; padding: 0 14px 0 0; background: none; }
    .mini-story__title, .mini-story__title a { color: var(--portal-navy-950); font-size: 17px; line-height: 1.24; }
    .mini-story .story-meta { color: var(--portal-muted); }
    .hero-quick { grid-template-columns: 1fr; padding-top: 0; gap: 0; }
    .hero-quick__item { grid-template-columns: minmax(0, 1fr) 112px; padding: 15px 0; }
    .section-cluster__list { padding-left: 0; border-left: 0; }
    .article-layout__main { padding: 20px 16px; border-inline: 0; border-radius: 0; }
    .breadcrumbs { margin-bottom: 14px; padding-inline: 8px; }
    .article-headline { font-size: clamp(34px, 10vw, 48px); line-height: 1.04; }
    .article-summary { font-size: 18px; }
    .article-meta { align-items: flex-start; gap: 8px; }
    .article-share { overflow-x: auto; padding-bottom: 5px; }
    .article-share__label { flex: 0 0 100%; }
    .article-figure { width: calc(100% + 32px); margin-left: -16px; }
    .article-figure figcaption { padding-inline: 16px; }
    .article-body { font-size: 18px; line-height: 1.75; }
    .article-body > p:first-child { font-size: 19px; }
    .article-layout__sidebar { padding-inline: 0; }
}

@media (max-width: 390px) {
    .brand-mark__badge { font-size: 34px; }
    .brand-mark__text strong { font-size: 13px; }
    .nav-toggle, .search-trigger { width: 44px; min-width: 44px; height: 44px; }
    .hero-story { min-height: 440px; }
    .hero-story__title { font-size: 27px; }
    .mini-story, .hero-quick__item { grid-template-columns: minmax(0, 1fr) 96px; }
    .mini-story__media, .hero-quick__media { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .breaking-strip__track { animation: none !important; }
}

@media print {
    .site-header, .site-footer, .top-music-ad, .article-share, .article-inline-ad, .article-layout__sidebar, .reading-progress { display: none !important; }
    body, .page-shell { background: #fff; box-shadow: none; }
    .portal-layout { display: block; padding: 0; }
    .article-layout__main { border: 0; box-shadow: none; padding: 0; }
}

/*
 * Composicao editorial de capa e materia.
 * Esta camada final remove as duas grades antigas que comprimiam o conteudo
 * e aproxima proporcoes, ritmos e alinhamentos das referencias INDEX/NOTICIA.
 */
@media screen {
    .page-home .page-shell,
    .page-article .page-shell {
        width: 100%;
        max-width: none;
        background: #fff;
        box-shadow: none;
    }

    .page-home .site-header,
    .page-article .site-header {
        width: 100%;
        margin: 0;
    }

    .page-home .top-music-ad,
    .page-article .top-music-ad {
        width: min(920px, calc(100% - 32px));
        margin: 18px auto 28px;
        padding: 0;
    }

    /* A materia usa a versao azul-marinho do cabecalho da referencia. */
    .page-article .topline,
    .page-article .brand-row {
        background: var(--portal-navy-950);
        color: #fff;
    }
    .page-article .topline { border-bottom-color: rgba(255,255,255,.16); }
    .page-article .topline time,
    .page-article .utility-nav__link,
    .page-article .brand-mark,
    .page-article .brand-mark__text strong { color: #fff; }
    .page-article .brand-mark__text small { color: #c7d2df; }
    .page-article .nav-toggle,
    .page-article .search-trigger {
        border-color: rgba(255,255,255,.35);
        background: transparent;
        color: #fff;
    }

    /* CAPA: manchete em largura total, seguida pelas quatro colunas editoriais. */
    .page-home--front .portal-layout {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        margin: 0;
        padding: 0 0 48px;
        gap: 32px;
    }
    .page-home--front .portal-main { gap: 30px; }
    .page-home--front .news-panel--hero {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }
    .page-home--front .hero-grid {
        grid-template-columns: minmax(0, 53.5fr) minmax(0, 23.25fr) minmax(0, 23.25fr);
        width: 100%;
        height: clamp(450px, 31.25vw, 500px);
        gap: 2px;
        background: #fff;
    }
    .page-home--front .hero-story,
    .page-home--front .hero-stack,
    .page-home--front .hero-quick {
        height: 100%;
        min-height: 0;
    }
    .page-home--front .hero-story {
        min-height: 0;
        border-radius: 0;
    }
    .page-home--front .hero-story__content { padding: clamp(26px, 3vw, 48px); }
    .page-home--front .hero-story__title {
        max-width: 760px;
        margin: 8px 0 10px;
        font-size: clamp(36px, 3.15vw, 54px);
        line-height: 1.03;
        letter-spacing: -.035em;
        text-wrap: pretty;
    }
    .page-home--front .hero-story__excerpt {
        max-width: 680px;
        margin: 0 0 12px;
        font-size: 17px;
        line-height: 1.38;
    }
    .page-home--front .hero-stack {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 2px;
    }
    .page-home--front .mini-story {
        min-height: 0;
        border-radius: 0;
    }
    .page-home--front .mini-story__content { padding: 18px; }
    .page-home--front .mini-story__title {
        margin-top: 7px;
        font-size: clamp(18px, 1.55vw, 25px);
        line-height: 1.08;
    }
    .page-home--front .hero-quick {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        align-content: stretch;
        padding: 0;
        border: 0;
        gap: 2px;
    }
    .page-home--front .hero-quick__item {
        position: relative;
        display: block;
        min-height: 0;
        padding: 0;
        border: 0;
        overflow: hidden;
        background: var(--portal-navy-900);
    }
    .page-home--front .hero-quick__item:nth-child(n+3) { display: none; }
    .page-home--front .hero-quick__item::after {
        content: "";
        position: absolute;
        z-index: 1;
        inset: 0;
        background: linear-gradient(180deg, transparent 18%, rgba(2,11,24,.94) 100%);
        pointer-events: none;
    }
    .page-home--front .hero-quick__media {
        position: absolute;
        z-index: 0;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
    }
    .page-home--front .hero-quick__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .page-home--front .hero-quick__content {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 18px;
    }
    .page-home--front .hero-quick__category,
    .page-home--front .hero-quick__title,
    .page-home--front .hero-quick__title a,
    .page-home--front .hero-quick__meta,
    .page-home--front .hero-quick__time { color: #fff; }
    .page-home--front .hero-quick__category {
        padding: 4px 7px;
        background: var(--portal-red);
        font-size: 10px;
    }
    .page-home--front .hero-quick__title {
        margin: 7px 0 10px;
        font-size: clamp(18px, 1.55vw, 25px);
        line-height: 1.08;
    }

    .home-editorial-decks {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        padding: 20px clamp(24px, 3vw, 48px) 30px;
        border-top: 1px solid var(--portal-line);
        border-bottom: 1px solid var(--portal-line);
        background: #f8fafc;
    }
    .home-editorial-deck {
        min-width: 0;
        padding: 0 22px;
        border-right: 1px solid var(--portal-line);
    }
    .home-editorial-deck:first-child { padding-left: 0; }
    .home-editorial-deck:last-child { padding-right: 0; border-right: 0; }
    .home-editorial-deck__title {
        position: relative;
        margin: 0 0 14px;
        padding-bottom: 8px;
        color: var(--portal-navy-950);
        font-size: 21px;
        line-height: 1.15;
        letter-spacing: -.02em;
    }
    .home-editorial-deck__title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 42px;
        height: 3px;
        background: var(--portal-red);
    }
    .home-editorial-deck__list { display: grid; gap: 16px; }
    .story-row--deck {
        display: grid;
        grid-template-columns: 128px minmax(0, 1fr);
        gap: 12px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    .story-row--deck .story-row__media {
        width: 128px;
        min-height: 86px;
        aspect-ratio: 3 / 2;
        border-radius: 2px;
        overflow: hidden;
    }
    .story-row--deck .story-row__media img { width: 100%; height: 100%; object-fit: cover; }
    .story-row--deck .story-row__content { padding: 0; }
    .story-row--deck .news-card__kicker {
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--portal-red);
        font-size: 9px;
    }
    .story-row--deck .story-row__title {
        margin: 4px 0 6px;
        font-size: 15px;
        line-height: 1.24;
    }
    .story-row--deck .story-meta { gap: 6px; font-size: 10px; }
    .page-home--front .portal-sidebar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: min(1440px, calc(100% - 48px));
        margin: 0 auto;
    }

    /* MATERIA: uma unica grade, titulo legivel e sidebar ate a borda direita. */
    .page-article .portal-layout--article {
        grid-template-columns: minmax(0, 1fr);
        width: min(1340px, calc(100% - 48px));
        margin: 0 auto;
        padding: 18px 0 52px;
        gap: 0;
    }
    .page-article .portal-main { width: 100%; gap: 26px; }
    .page-article .article-shell { gap: 14px; }
    .page-article .breadcrumbs {
        width: 100%;
        max-width: none;
        margin: 0 0 8px;
        padding: 0;
    }
    .page-article .article-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 40px;
        width: 100%;
    }
    .page-article .article-layout__main {
        max-width: none;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .page-article .article-header { max-width: none; gap: 12px; }
    .page-article .article-header > .news-card__kicker { display: none; }
    .page-article .article-headline {
        max-width: 960px;
        margin: 0;
        color: var(--portal-navy-950);
        font-size: clamp(43px, 4vw, 60px);
        line-height: 1.02;
        letter-spacing: -.035em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        text-wrap: pretty;
    }
    .page-article .article-summary {
        max-width: 900px;
        font-size: clamp(19px, 1.6vw, 23px);
        line-height: 1.42;
    }
    .article-information-row {
        position: relative;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px 24px;
        margin-top: 4px;
        padding: 4px 0 16px;
        border-bottom: 4px solid #d8dde4;
    }
    .article-information-row::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 64px;
        height: 4px;
        background: var(--portal-red);
    }
    .page-article .article-byline { margin: 0; }
    .page-article .article-byline__avatar {
        position: relative;
        overflow: hidden;
        color: transparent;
        font-size: 0;
    }
    .page-article .article-byline__avatar::before,
    .page-article .article-byline__avatar::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 50%;
        background: #8d9299;
    }
    .page-article .article-byline__avatar::before { top: 6px; width: 12px; height: 12px; }
    .page-article .article-byline__avatar::after { bottom: -5px; width: 29px; height: 25px; }
    .page-article .article-meta {
        flex: 1 1 330px;
        margin: 0;
        padding: 0;
        border: 0;
        gap: 7px 14px;
        font-size: 12px;
    }
    .page-article .article-share {
        flex: 0 0 auto;
        margin: 0 0 0 auto;
        padding: 0;
    }
    .page-article .article-share__label { display: none; }
    .page-article .article-share__link { width: 38px; height: 38px; }
    .page-article .article-figure {
        width: 100%;
        max-width: none;
        margin: 18px 0 0;
    }
    .page-article .article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
    .page-article .article-body {
        max-width: 860px;
        margin: 22px 0 0;
        font-size: 18px;
        line-height: 1.58;
    }
    .page-article .article-body > p:first-child { font-size: 19px; line-height: 1.55; }
    .page-article .article-inline-ad,
    .page-article .source-box,
    .page-article .article-next {
        width: 100%;
        max-width: 860px;
        margin-right: 0;
        margin-left: 0;
        box-sizing: border-box;
    }
    .page-article .source-box {
        margin-top: 30px;
        padding: 20px 24px;
        border: 1px solid var(--portal-line);
        border-left: 4px solid var(--portal-gold);
        border-radius: 4px;
        background: #f7f8fa;
    }
    .page-article .source-box__link {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        margin-top: 3px;
        line-height: 1.35;
    }
    .page-article .article-next {
        display: block;
        clear: both;
        margin-top: 24px;
        padding: 21px 24px 23px;
        overflow: hidden;
        border: 1px solid var(--portal-line);
        border-top: 4px solid var(--portal-navy-900);
        border-radius: 4px;
        background: var(--portal-soft);
        color: var(--portal-navy-950);
        text-decoration: none;
    }
    .page-article .article-next:hover,
    .page-article .article-next:focus-visible {
        border-top-color: var(--portal-red);
        background: #edf2f7;
    }
    .page-article .article-next__eyebrow {
        display: block;
        margin: 0;
    }
    .page-article .article-next__title {
        width: 100%;
        margin: 8px 0 0;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
    .page-article .article-layout__sidebar {
        position: sticky;
        top: 78px;
        display: grid;
        gap: 20px;
    }
    .page-article .article-trust-card {
        padding: 20px 22px;
        border-radius: 3px;
        box-shadow: none;
    }
    .page-article .article-trust-card__title {
        margin-bottom: 14px;
        padding-bottom: 10px;
        font-size: 22px;
        line-height: 1.1;
    }
    .article-key-points {
        display: grid;
        gap: 18px;
        margin: 0;
        padding: 0;
        list-style: none;
        counter-reset: key-point;
    }
    .article-key-points li {
        position: relative;
        min-height: 30px;
        padding-left: 42px;
        color: #465263;
        font-size: 14px;
        line-height: 1.5;
        counter-increment: key-point;
    }
    .article-key-points li::before {
        content: counter(key-point);
        position: absolute;
        top: 0;
        left: 0;
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--portal-red);
        color: #fff;
        font-size: 13px;
        font-weight: 850;
    }
    .page-article .portal-main > .news-panel {
        width: calc(100% - 400px);
        margin-right: auto;
    }
}

@media screen and (max-width: 1100px) {
    .home-editorial-decks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
    .home-editorial-deck:nth-child(2) { border-right: 0; }
    .home-editorial-deck:nth-child(3) { padding-left: 0; }
    .page-home--front .portal-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-article .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
}

@media screen and (max-width: 900px) {
    .page-home--front .portal-layout { padding-inline: 0; }
    .page-home--front .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 0;
    }
    .page-home--front .hero-story { height: 500px; }
    .page-home--front .hero-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        height: 260px;
        gap: 2px;
    }
    .page-home--front .hero-quick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 220px);
        height: auto;
    }
    .page-home--front .hero-quick__item:nth-child(n+3) { display: block; }
    .page-article .portal-layout--article { width: min(100% - 28px, 760px); }
    .page-article .article-layout { grid-template-columns: minmax(0, 1fr); }
    .page-article .article-layout__sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-article .portal-main > .news-panel { width: 100%; }
}

@media screen and (max-width: 720px) {
    .page-home .top-music-ad,
    .page-article .top-music-ad { width: calc(100% - 16px); margin-block: 10px 18px; }
    .page-home--front .hero-story { height: 470px; }
    .page-home--front .hero-story__content { padding: 20px; }
    .page-home--front .hero-story__title { font-size: 30px; line-height: 1.08; }
    .page-home--front .hero-stack { display: block; height: auto; padding: 0 16px; }
    .page-home--front .mini-story {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px;
        grid-template-areas: "content media";
        min-height: 0;
        padding: 15px 0;
        border-bottom: 1px solid var(--portal-line);
        background: #fff;
    }
    .page-home--front .mini-story::after { display: none; }
    .page-home--front .mini-story__media {
        position: relative;
        grid-area: media;
        width: 112px;
        aspect-ratio: 4 / 3;
        border-radius: 3px;
        overflow: hidden;
    }
    .page-home--front .mini-story__content {
        position: static;
        grid-area: content;
        padding: 0 14px 0 0;
    }
    .page-home--front .mini-story__title,
    .page-home--front .mini-story__title a { color: var(--portal-navy-950); font-size: 17px; line-height: 1.24; }
    .page-home--front .mini-story .story-meta { color: var(--portal-muted); }
    .page-home--front .hero-quick {
        display: block;
        padding: 0 16px;
    }
    .page-home--front .hero-quick__item,
    .page-home--front .hero-quick__item:nth-child(n+3) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px;
        min-height: 0;
        padding: 15px 0;
        border-bottom: 1px solid var(--portal-line);
        background: #fff;
    }
    .page-home--front .hero-quick__item::after { display: none; }
    .page-home--front .hero-quick__content { position: static; padding: 0 14px 0 0; }
    .page-home--front .hero-quick__media {
        position: relative;
        width: 112px;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 3px;
        overflow: hidden;
    }
    .page-home--front .hero-quick__category { padding: 0; background: transparent; color: var(--portal-red); }
    .page-home--front .hero-quick__title,
    .page-home--front .hero-quick__title a { color: var(--portal-navy-950); font-size: 17px; line-height: 1.24; }
    .page-home--front .hero-quick__meta,
    .page-home--front .hero-quick__time { color: var(--portal-muted); }
    .home-editorial-decks { grid-template-columns: 1fr; padding: 22px 16px; gap: 26px; }
    .home-editorial-deck,
    .home-editorial-deck:nth-child(3) { padding: 0; border-right: 0; }
    .story-row--deck { grid-template-columns: 112px minmax(0, 1fr); }
    .story-row--deck .story-row__media { width: 112px; }
    .page-home--front .portal-sidebar { grid-template-columns: 1fr; width: calc(100% - 16px); }

    .page-article .portal-layout--article { width: 100%; padding: 14px 16px 36px; }
    .page-article .breadcrumbs { padding: 0; }
    .page-article .article-headline {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.04;
        overflow-wrap: break-word;
    }
    .page-article .article-summary { font-size: 18px; }
    .article-information-row { align-items: flex-start; gap: 12px; }
    .page-article .article-byline,
    .page-article .article-meta { flex: 1 1 100%; }
    .page-article .article-share { margin-left: 0; max-width: 100%; overflow-x: auto; }
    .page-article .article-figure { width: calc(100% + 32px); margin-left: -16px; }
    .page-article .article-figure figcaption { padding-inline: 16px; }
    .page-article .article-body { font-size: 18px; line-height: 1.68; }
    .page-article .article-layout__sidebar { grid-template-columns: 1fr; }
}
