:root {
    --gm-yellow: #ffcf17;
    --gm-orange: #ff9819;
    --gm-purple: #a60065;
    --gm-purple-dark: #7a004b;
    --gm-text: #182033;
    --gm-muted: #687083;
    --gm-soft: #f4f6fa;
    --gm-border: #e5e9f1;
    --gm-dark: #111827;
    --gm-radius: 18px;
    --gm-shadow: 0 12px 34px rgba(0, 0, 0, .05);
}

/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: #fff;
    color: var(--gm-text);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   TOPO E CABEÇALHO
========================================================= */

.topbar {
    background: var(--gm-dark);
    color: #fff;
    font-size: 12px;
}

.topbar__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
}

.topbar a {
    color: #fff;
    opacity: .92;
}

.topbar a:hover {
    opacity: 1;
    text-decoration: underline;
}

.topbar__separator {
    padding: 0 7px;
    opacity: .55;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gm-border);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 22px rgba(17, 24, 39, .05);
}

.header__wrap {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    min-height: 98px;
    padding: 12px 0;
}

.brand-logo {
    display: block;
    width: 230px;
    min-width: 0;
    line-height: 0;
}

.brand-logo img {
    display: block;
    width: 230px !important;
    max-width: 230px !important;
    height: 74px !important;
    max-height: 74px !important;
    object-fit: contain;
    object-position: left center;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.nav a {
    border-bottom: 3px solid transparent;
    padding: 10px 0;
    transition: .2s ease;
}

.nav a:hover {
    border-bottom-color: var(--gm-yellow);
    color: var(--gm-purple);
}

.actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 10px 15px;
    background: var(--gm-purple);
    color: #fff;
    cursor: pointer;
    font: 800 13px/1 Inter, Arial, sans-serif;
    white-space: nowrap;
    transition: .2s ease;
}

.btn:hover {
    filter: brightness(.97);
    transform: translateY(-1px);
}

.btn--yellow {
    background: var(--gm-yellow);
    color: #1b1b1b;
}

.btn--ghost {
    background: #f5edf3;
    color: var(--gm-purple);
}

.mobile-menu,
.mobile-nav {
    display: none;
}

/* =========================================================
   BANNERS
========================================================= */

.ad {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--gm-radius);
    background: #f4f6fa;
    line-height: 0;
}

.ad__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.ad--empty {
    display: grid;
    min-height: var(--h, 160px);
    place-items: center;
    border: 1px dashed #cfd6e0;
    border-radius: var(--gm-radius);
    background: linear-gradient(135deg, #fafafa, #f0f2f6);
    color: #7a8493;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

.ad__label {
    display: block;
    padding: 18px;
    color: #7a8493;
    line-height: 1.3;
}

/* =========================================================
   SEÇÕES
========================================================= */

.section {
    padding: 38px 0;
}

.section--soft {
    background: var(--gm-soft);
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-title h2 {
    margin: 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.05;
}

.underline {
    width: 56px;
    height: 5px;
    margin-top: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--gm-yellow), var(--gm-purple));
}

/* =========================================================
   ÚLTIMAS NOTÍCIAS
========================================================= */

.breaking {
    border-bottom: 1px solid #f2df81;
    background: #fff8d9;
}

.breaking__wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 9px 0;
    font-size: 13px;
}

.breaking strong {
    border-radius: 999px;
    padding: 4px 8px;
    background: var(--gm-yellow);
    color: #191919;
}

.ticker {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
    gap: 24px;
}

.headline-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.headline-carousel > .hero-card {
    flex: 0 0 360px;
    width: 360px;
}

.hero-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 24px;
    background: #dfe3ea;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
    scroll-snap-align: start;
}

.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s;
}

.hero-card:hover img {
    transform: scale(1.04);
}

.hero-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .84),
        rgba(0, 0, 0, .16),
        transparent 68%
    );
    content: "";
}

.hero-card__content {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 20px;
    color: #fff;
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--gm-yellow);
    color: #151515;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

/* título mais discreto, sem dominar a imagem */
.hero-card h3 {
    margin: 11px 0 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(20px, 1.55vw, 23px);
    line-height: 1.12;
}

.hero-card p {
    display: none;
}

/* =========================================================
   MAIS LIDAS
========================================================= */

.ranked {
    border: 1px solid var(--gm-border);
    border-radius: 24px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.ranked h2 {
    margin: 0 0 14px;
    font-family: Poppins, Inter, sans-serif;
    font-size: 26px;
}

.ranked__item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--gm-border);
}

.ranked__item:last-child {
    border-bottom: 0;
}

.rank {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #fff5cc;
    color: #7a5400;
    font-weight: 900;
}

.ranked__item h3 {
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.28;
}

.meta {
    color: var(--gm-muted);
    font-size: 11px;
    font-weight: 600;
}

/* =========================================================
   OPINIÃO
========================================================= */

.columnists {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scrollbar-width: none;
}

.columnists::-webkit-scrollbar {
    display: none;
}

.columnists::before,
.columnists::after {
    content: "";
    margin: auto;
}

.columnist {
    flex: 0 0 170px;
    width: 170px;
    border: 1px solid var(--gm-border);
    border-radius: 22px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .045);
    text-align: center;
}

.avatar {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gm-yellow), var(--gm-purple));
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.avatar--photo {
    background: #eef1f5;
    object-fit: cover;
}

.avatar--initial {
    flex-shrink: 0;
}

.columnist h3 {
    margin: 0;
    font-size: 15px;
}

.columnist p {
    display: none;
}

/* =========================================================
   EDITORIAS
========================================================= */

.editorias-header {
    align-items: center;
}

.editorias-navigation {
    display: flex;
    gap: 8px;
}

.editorias-nav-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gm-border);
    border-radius: 50%;
    background: #fff;
    color: var(--gm-purple);
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    transition: .2s ease;
}

.editorias-nav-button:hover {
    border-color: var(--gm-purple);
    background: var(--gm-purple);
    color: #fff;
    transform: translateY(-2px);
}

/*
   Desktop: mostra 3 cards completos.
   O restante fica disponível por rolagem horizontal / setas / autoplay.
*/
.editorias-carousel {
    display: flex;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 2px 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.editorias-carousel::-webkit-scrollbar {
    display: none;
}

.editorias-carousel > .editoria {
    flex: 0 0 calc((100% - 36px) / 3);
    width: calc((100% - 36px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.editoria {
    border: 1px solid var(--gm-border);
    border-radius: 22px;
    padding: 19px;
    background: #fff;
    box-shadow: var(--gm-shadow);
}

.editoria h3 {
    margin: 0 0 12px;
    font-family: Poppins, Inter, sans-serif;
    font-size: 22px;
}

.news-row {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--gm-border);
}

.news-row:last-of-type {
    border-bottom: 0;
}

.news-row h4 {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.32;
}

/* =========================================================
   CARDS, BUSCA E PÁGINAS GERAIS
========================================================= */

.grid-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--gm-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--gm-shadow);
}

.news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card__body {
    padding: 16px;
}

.news-card h3 {
    margin: 8px 0;
    font-size: 19px;
    line-height: 1.25;
}

.page-header {
    padding: 36px 0;
    background: linear-gradient(135deg, #fff8dc, #f7efff);
}

.page-header h1 {
    margin: 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(34px, 5vw, 56px);
}

.search-box {
    display: flex;
    gap: 10px;
    border: 1px solid var(--gm-border);
    border-radius: 18px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.search-box input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 14px;
    font-size: 16px;
}

.empty-state {
    border: 1px dashed var(--gm-border);
    border-radius: 22px;
    padding: 30px;
    background: #fff;
    color: var(--gm-muted);
    text-align: center;
}

.pagination-lite {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

/* =========================================================
   ARTIGO
========================================================= */

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 34px;
    padding: 34px 0;
}

.article-title {
    margin: 14px 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.03;
}

.article-subtitle {
    color: var(--gm-muted);
    font-size: 20px;
    line-height: 1.45;
}

.article-cover {
    width: 100%;
    max-height: 520px;
    border-radius: 26px;
    object-fit: cover;
}

.article-body {
    font-size: 18px;
    line-height: 1.78;
}

.article-body img,
.article-body iframe,
.article-body video {
    max-width: 100%;
}

.sidebar-card {
    position: sticky;
    top: 115px;
    border: 1px solid var(--gm-border);
    border-radius: 24px;
    padding: 16px;
    background: #fff;
}

.related {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gm-border);
}

.related img {
    width: 82px;
    height: 82px;
    border-radius: 16px;
    object-fit: cover;
}

.related h4 {
    margin: 3px 0;
    font-size: 14px;
    line-height: 1.25;
}

/* =========================================================
   COMPARTILHAMENTO
========================================================= */

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 34px 0 24px;
    border-top: 1px solid #e4e9f1;
    padding-top: 22px;
}

.article-share-label {
    color: #536273;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
}

.article-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-share .share-icon-button {
    display: inline-flex;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #dce3ed;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.article-share .share-icon-button:hover {
    box-shadow: 0 8px 18px rgba(17, 30, 55, .16);
    transform: translateY(-2px);
}

.article-share .share-icon-button svg {
    display: block;
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}

.share-whatsapp { color: #18aa53; }
.share-facebook { color: #1877f2; }
.share-x { color: #171717; }
.share-instagram { color: #be2c79; }
.share-copy { color: #536273; }

.article-share-feedback {
    position: absolute;
    margin-top: 54px;
    color: #536273;
    font-size: .78rem;
}

/* =========================================================
   PÁGINA DE COLUNISTA
========================================================= */

.author-hero {
    padding: 38px 0 42px;
    background:
        radial-gradient(circle at top right, rgba(166, 0, 101, .10), transparent 34%),
        linear-gradient(135deg, #fff8dc 0%, #fffaf6 48%, #f8eff9 100%);
}

.author-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
}

.author-hero__breadcrumb a:hover {
    color: var(--gm-purple);
}

.author-hero__card {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    border: 1px solid rgba(229, 233, 241, .92);
    border-radius: 28px;
    padding: 30px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 42px rgba(17, 24, 39, .08);
    backdrop-filter: blur(8px);
}

.author-hero__photo {
    width: 180px;
    min-width: 180px;
    height: 180px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #edf0f5;
    box-shadow: 0 14px 28px rgba(17, 24, 39, .16);
    object-fit: cover;
}

.author-hero__photo--initial {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gm-yellow), var(--gm-orange), var(--gm-purple));
    color: #fff;
    font-size: 66px;
    font-weight: 900;
}

.author-hero__content {
    min-width: 0;
}

.author-hero__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gm-purple);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.author-hero h1 {
    margin: 0;
    color: var(--gm-text);
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.05;
}

.author-hero__role {
    margin: 8px 0 0;
    color: var(--gm-purple-dark);
    font-size: 17px;
    font-weight: 800;
}

.author-hero__bio {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--gm-muted);
    font-size: 16px;
    line-height: 1.65;
}

.author-hero__count {
    display: inline-flex;
    margin-top: 18px;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff1b7;
    color: #5f4700;
    font-size: 13px;
    font-weight: 800;
}

.author-posts-section {
    padding-top: 42px;
}

/* =========================================================
   RODAPÉ
========================================================= */

.footer {
    padding: 42px 0;
    background: var(--gm-dark);
    color: #fff;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.55;
}

.footer h3,
.footer h4 {
    margin-top: 0;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1120px) {
    .header__wrap {
        grid-template-columns: 210px minmax(0, 1fr) auto;
        gap: 14px;
    }

    .brand-logo,
    .brand-logo img {
        width: 210px !important;
        max-width: 210px !important;
    }

    .nav {
        gap: 10px;
        font-size: 12px;
    }

    .actions .btn {
        padding: 9px 12px;
    }
}

@media (max-width: 980px) {
    .header__wrap {
        grid-template-columns: 190px 1fr auto;
        min-height: 82px;
    }

    .brand-logo,
    .brand-logo img {
        width: 190px !important;
        max-width: 190px !important;
    }

    .brand-logo img {
        height: 60px !important;
        max-height: 60px !important;
    }

    .nav {
        display: none;
    }

    .mobile-menu {
        display: inline-flex;
    }

    .mobile-nav {
        display: none;
        border-top: 1px solid var(--gm-border);
        padding: 8px 20px 16px;
        background: #fff;
    }

    .menu-open .mobile-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-nav a {
        padding: 11px 6px;
        font-size: 14px;
        font-weight: 800;
    }

    .hero-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 400px;
    }

    .editorias-carousel {
        grid-auto-columns: calc((100% - 18px) / 2);
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .topbar__wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 30px 0;
    }

    .sidebar-card {
        position: static;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar {
        font-size: 11px;
    }

    .topbar__wrap {
        gap: 3px;
        padding: 6px 0;
    }

    .topbar__separator {
        padding: 0 4px;
    }

    .header__wrap {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 68px;
        padding: 8px 0;
    }

    .brand-logo,
    .brand-logo img {
        width: 160px !important;
        max-width: 160px !important;
    }

    .brand-logo img {
        height: 50px !important;
        max-height: 50px !important;
    }

    .actions .btn--ghost,
    .actions .btn--yellow {
        display: none;
    }

    .mobile-menu {
        padding: 9px 12px;
    }

    .menu-open .mobile-nav {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 25px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .headline-carousel {
        display: flex;
        gap: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        padding: 2px 0 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .headline-carousel > .hero-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        min-height: 360px;
        border-radius: 20px;
    }

    .hero-card h3 {
        font-size: 24px;
        line-height: 1.1;
    }

    .hero-card__content {
        padding: 18px;
    }

    .ranked {
        padding: 14px;
    }

    .columnists .columnist {
        flex-basis: 148px;
        width: 148px;
    }

    .editorias-header {
        align-items: flex-end;
    }

    .editorias-navigation {
        gap: 6px;
    }

    .editorias-nav-button {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .grid-news {
        grid-template-columns: 1fr;
    }

    .news-card img {
        height: 210px;
    }

    .article-title {
        font-size: clamp(32px, 10vw, 44px);
    }

    .article-body {
        font-size: 17px;
        line-height: 1.75;
    }

    .article-subtitle {
        font-size: 18px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box .btn {
        justify-content: center;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 28px;
    }

    .article-share .share-icon-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .article-share-feedback {
        position: static;
        margin-top: 0;
    }

    .author-hero {
        padding: 24px 0 30px;
    }

    .author-hero__card {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        border-radius: 22px;
        padding: 22px;
    }

    .author-hero__photo {
        width: 130px;
        min-width: 130px;
        height: 130px;
    }

    .author-hero__photo--initial {
        font-size: 48px;
    }

    .author-hero h1 {
        font-size: 36px;
    }

    .author-hero__bio {
        font-size: 15px;
    }
}

/* =========================================================
   CARROSSEIS, DESTAQUES E EDITORIAS
========================================================= */

.highlights-header,
.editorias-header {
    align-items: center;
}

.highlights-actions,
.editorias-navigation {
    display: flex;
    gap: 8px;
}

.carousel-nav-button,
.editorias-nav-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gm-border);
    border-radius: 50%;
    background: #fff;
    color: var(--gm-purple);
    cursor: pointer;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    transition: .2s ease;
}

.carousel-nav-button:hover,
.editorias-nav-button:hover {
    border-color: var(--gm-purple);
    background: var(--gm-purple);
    color: #fff;
    transform: translateY(-2px);
}

.headline-carousel,
.editorias-carousel {
    scrollbar-width: none;
}

.headline-carousel::-webkit-scrollbar,
.editorias-carousel::-webkit-scrollbar {
    display: none;
}

/* Destaques: título menor, sem subtítulo visual */
.hero-card p {
    display: none !important;
}

.hero-card h3 {
    font-size: clamp(15px, 1.15vw, 18px) !important;
    line-height: 1.16 !important;
}

/* Editorias: 3 cards no desktop; o restante navega por setas/autoplay */
#editorias .editorias-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 18px !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
}

#editorias .editorias-carousel > .editoria {
    display: block !important;
    flex: 0 0 calc((100% - 36px) / 3) !important;
    width: calc((100% - 36px) / 3) !important;
    min-width: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
}

/* Título principal da matéria */
.article-title {
    font-size: clamp(27px, 2.55vw, 36px) !important;
    line-height: 1.12 !important;
}

/* Banner no topo da matéria */
.article-top-banner {
    padding-bottom: 0;
}

/* Rodapé: logo Guia MS */
.footer__logo {
    width: auto;
    height: 56px;
    max-width: 230px;
    margin-bottom: 14px;
    object-fit: contain;
    object-position: left center;
}

/* Faixa "Um produto Guia VW" */
.footer-vw {
    padding: 18px 0;
    border-top: 1px solid var(--gm-border);
    background: #fff;
}

.footer-vw__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-vw__label {
    color: var(--gm-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.footer-vw__logo {
    width: auto;
    height: 30px;
    max-width: 240px;
    object-fit: contain;
}

@media (max-width: 980px) {
    #editorias .editorias-carousel > .editoria {
        flex-basis: calc((100% - 18px) / 2) !important;
        width: calc((100% - 18px) / 2) !important;
    }
}

@media (max-width: 640px) {
    .carousel-nav-button,
    .editorias-nav-button {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }

    .headline-carousel .hero-card {
        min-height: 360px;
    }

    .hero-card h3 {
        font-size: 18px !important;
        line-height: 1.15 !important;
    }

    .article-title {
        font-size: clamp(26px, 7.2vw, 32px) !important;
        line-height: 1.14 !important;
    }

    #editorias .editorias-carousel {
        gap: 14px !important;
    }

    #editorias .editorias-carousel > .editoria {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .footer-vw {
        padding: 16px 0;
    }

    .footer-vw__logo {
        height: 26px;
    }

    .footer-vw__label {
        font-size: 12px;
    }
}

/* Destaques mais verticais */
.headline-carousel > .hero-card {
    min-height: 540px;
}

.hero-card {
    min-height: 540px;
}

@media (max-width: 640px) {
    .headline-carousel > .hero-card,
    .hero-card {
        min-height: 500px;
    }
}

/* =========================================================
   OPINIÃO — BANNER LATERAL
========================================================= */

.opinion-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 28px;
}

.opinion-content {
    min-width: 0;
}

.opinion-layout .columnists {
    justify-content: flex-start;
    padding-bottom: 4px;
}

.opinion-side-ad {
    display: grid;
    min-width: 0;
    gap: 20px;
}
.opinion-side-ad .ad {
    min-height: 350px;
    border-radius: 22px;
}

.opinion-side-ad .ad__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
}

@media (max-width: 980px) {
    .opinion-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .opinion-side-ad {
        max-width: 520px;
    }

    .opinion-side-ad .ad,
    .opinion-side-ad .ad__image {
        min-height: 0;
        height: auto;
    }
}

/* =========================================================
   OPINIÃO — ÚLTIMAS COLUNAS PUBLICADAS
   Mantém o conteúdo na coluna esquerda, abaixo dos colunistas.
========================================================= */

.opinion-posts {
    margin-top: 28px;
    border-top: 1px solid var(--gm-border);
    padding-top: 24px;
}

.opinion-posts__title {
    margin: 0 0 16px;
    color: var(--gm-text);
    font-family: Poppins, Inter, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.opinion-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.opinion-post {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gm-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .045);
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.opinion-post:hover {
    box-shadow: 0 14px 30px rgba(17, 24, 39, .10);
    transform: translateY(-3px);
}

.opinion-post__image {
    width: 100%;
    height: 150px;
    background: #eef1f5;
    object-fit: cover;
}

.opinion-post__body {
    display: flex;
    min-height: 132px;
    padding: 14px;
    flex: 1;
    flex-direction: column;
}

.opinion-post .meta {
    display: block;
    margin-bottom: 7px;
    color: var(--gm-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.opinion-post h4 {
    margin: 0;
    color: var(--gm-text);
    font-family: Poppins, Inter, sans-serif;
    font-size: 16px;
    line-height: 1.28;
}

@media (max-width: 760px) {
    .opinion-posts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .opinion-posts {
        margin-top: 24px;
        padding-top: 20px;
    }

    .opinion-posts__title {
        font-size: 20px;
    }

    .opinion-posts__grid {
        grid-template-columns: 1fr;
    }

    .opinion-post {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .opinion-post__image {
        height: 100%;
        min-height: 118px;
    }

    .opinion-post__body {
        min-height: 118px;
        padding: 13px;
    }
}


/* =========================================================
   TÍTULO DOS CARDS — ÚLTIMAS NOTÍCIAS
   Altere somente o número abaixo.
========================================================= */

.headline-carousel .hero-card .hero-card__content h3,
.headline-carousel .hero-card .hero-card__content h4 {
    margin: 11px 0 0 !important;
    font-family: Poppins, Inter, sans-serif !important;
    font-size: 24px !important; /* MUDE AQUI */
    line-height: 1.15 !important;
}


/* =========================================================
   OPINIÃO — VÍDEOS E COLUNAS
========================================================= */

.opinion-header {
    align-items: center;
}

.opinion-carousel-controls {
    display: flex;
    gap: 8px;
}

.opinion-videos-carousel,
.opinion-posts-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 2px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.opinion-videos-carousel::-webkit-scrollbar,
.opinion-posts-carousel::-webkit-scrollbar {
    display: none;
}

.opinion-videos-carousel > .opinion-video {
    flex: 0 0 calc((100% - 56px) / 5);
    width: calc((100% - 56px) / 5);
    min-width: 0;
    scroll-snap-align: start;
}

.opinion-video {
    display: block;
    min-width: 0;
}

.opinion-video__thumb {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #e8edf4;
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .10);
}

.opinion-video__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.opinion-video:hover .opinion-video__thumb img {
    transform: scale(1.04);
}

.opinion-video__play,
.video-page-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: rgba(17, 24, 39, .70);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.opinion-video h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 2px 0;
    color: var(--gm-text);
    font-size: 13px;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.opinion-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 3px 0 0;
    color: var(--gm-purple);
    font-size: 14px;
    font-weight: 900;
}

.opinion-all-link:hover {
    color: var(--gm-purple-dark);
    text-decoration: underline;
}

.opinion-columns {
    margin-top: 24px;
    border-top: 1px solid var(--gm-border);
    padding-top: 22px;
}

.opinion-columns__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.opinion-columns__header h3 {
    margin: 0;
    color: var(--gm-text);
    font-family: Poppins, Inter, sans-serif;
    font-size: 21px;
    line-height: 1.2;
}

.opinion-posts-carousel > .opinion-post-card {
    flex: 0 0 calc((100% - 28px) / 3);
    width: calc((100% - 28px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.opinion-post-card {
    display: flex;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid var(--gm-border);
    border-radius: 18px;
    padding: 17px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .045);
    color: var(--gm-text);
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.opinion-post-card:hover {
    box-shadow: 0 14px 30px rgba(17, 24, 39, .10);
    transform: translateY(-3px);
}

.opinion-post-card__eyebrow {
    margin-bottom: 9px;
    color: var(--gm-purple);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.opinion-post-card h4 {
    margin: 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

.opinion-post-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 11px 0 0;
    color: var(--gm-muted);
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.opinion-post-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid var(--gm-border);
    padding-top: 12px;
    color: var(--gm-text);
    font-size: 12px;
    font-weight: 800;
}

.opinion-post-card__author img,
.opinion-post-card__author-initial {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gm-yellow), var(--gm-purple));
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    object-fit: cover;
}

/* Página pública com todos os vídeos. */

.videos-page-header p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--gm-muted);
    font-size: 17px;
    line-height: 1.5;
}

.videos-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.video-page-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--gm-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--gm-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.video-page-card:hover {
    box-shadow: 0 14px 30px rgba(17, 24, 39, .11);
    transform: translateY(-3px);
}

.video-page-card__thumb {
    position: relative;
    overflow: hidden;
    background: #e8edf4;
    aspect-ratio: 16 / 9;
}

.video-page-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.video-page-card:hover .video-page-card__thumb img {
    transform: scale(1.04);
}

.video-page-card h2 {
    margin: 0;
    padding: 15px 16px 18px;
    color: var(--gm-text);
    font-family: Poppins, Inter, sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

@media (max-width: 760px) {
    .opinion-videos-carousel > .opinion-video {
        flex-basis: calc((100% - 28px) / 3);
        width: calc((100% - 28px) / 3);
    }

    .opinion-posts-carousel > .opinion-post-card {
        flex-basis: calc((100% - 14px) / 2);
        width: calc((100% - 14px) / 2);
    }

    .videos-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .opinion-videos-carousel > .opinion-video,
    .opinion-posts-carousel > .opinion-post-card {
        flex-basis: 100%;
        width: 100%;
    }

    .opinion-video h3 {
        font-size: 15px;
    }

    .opinion-post-card {
        min-height: 226px;
    }

    .videos-page-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BANNERS LATERAIS — NOTÍCIA INTERNA
========================================================= */

.article-sidebar-ads {
    display: grid;
    gap: 18px;
    margin-top: 20px;
    border-top: 1px solid var(--gm-border);
    padding-top: 20px;
}

.article-sidebar-ads .ad {
    border-radius: 18px;
}

.article-sidebar-ads .ad__image {
    width: 100%;
    border-radius: 18px;
}

/* =========================================================
   CORREÇÃO MOBILE — PÁGINA INDIVIDUAL DA NOTÍCIA
========================================================= */

@media (max-width: 640px) {
    .article-layout {
        display: block !important;
        width: 100% !important;
        overflow: hidden;
    }

    .article-layout > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .article-body {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .article-body img,
    .article-body video,
    .article-body iframe,
    .article-body embed,
    .article-body object,
    .article-body table {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .article-body iframe {
        min-height: 220px;
    }

    .article-body pre,
    .article-body code {
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .article-body a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .article-cover {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .sidebar-card {
        width: 100%;
        max-width: 100%;
        margin-top: 24px;
    }
}



/* =========================================================
   CARREGAR MAIS NOTÍCIAS — EDITORIAS
========================================================= */

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 34px 0 14px;
}

.load-more-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gm-border);
    border-radius: 999px;
    padding: 10px 20px;
    background: #fff;
    color: var(--gm-purple);
    cursor: pointer;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.load-more-button:hover {
    border-color: var(--gm-purple);
    background: #fff6fb;
    color: var(--gm-purple-dark);
    transform: translateY(-1px);
}

.load-more-button:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.load-more-end {
    margin: 30px 0 14px;
    color: var(--gm-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 640px) {
    .load-more-wrap {
        margin-top: 28px;
    }

    .load-more-button {
        width: min(100%, 300px);
        min-height: 46px;
    }
}

/* =========================================================
   MOBILE — CABEÇALHO E BANNER TOPO FIXOS
========================================================= */

@media (max-width: 640px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 200;
    }

    .mobile-sticky-top-ad {
        position: fixed;
        top: var(--mobile-header-height, 68px);
        right: 0;
        left: 0;
        z-index: 190;
        overflow: hidden;
        border-bottom: 1px solid var(--gm-border);
        background: #fff;
        box-shadow: 0 8px 18px rgba(17, 24, 39, .10);
    }

    .mobile-sticky-top-ad .ad {
        border-radius: 0;
    }

    .mobile-sticky-top-ad .ad__image {
        width: 100%;
        max-height: 88px;
        object-fit: cover;
        object-position: center;
    }

    body:has(.mobile-sticky-top-ad) main {
        padding-top: var(--mobile-top-ad-height, 0px);
    }
}
/* =========================================================
   PUBLICIDADE NO CARROSSEL DE ÚLTIMAS NOTÍCIAS
   Posições: Destaques — anúncio 1 e Destaques — anúncio 2
========================================================= */

.headline-carousel > .hero-card--ad {
    display: block;
    overflow: hidden;
    background: #eef1f5;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.hero-card--ad::after {
    display: none;
}

.hero-card--ad > div,
.hero-card--ad .ad {
    width: 100%;
    height: 100%;
}

.hero-card--ad .ad {
    display: block;
    border-radius: 0;
    background: #eef1f5;
}

.hero-card--ad .ad__image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.hero-card--ad .ad__label {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 22px;
    color: var(--gm-muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 640px) {
    .headline-carousel > .hero-card--ad {
        min-height: 500px;
    }
}
