/* Editorial portal: geometry follows the supplied desktop references. */
body { background:#fff; color:#202020; }
*, *::before, *::after { box-sizing:border-box; }
.container { max-width:1200px; padding-inline:20px; }
.site-header { box-shadow:none; border-bottom:1px solid #ccc; }
.top-bar { background:#fff; box-shadow:none; padding:24px 0; }
.top-bar-inner { min-height:52px; }
.logo { color:#151515; font-size:52px; letter-spacing:-3px; line-height:1; }
.portal-logo-dot { color:#e00000; }
.logo-category { color:#444; }
.custom-logo-link img { max-width:220px; max-height:70px; width:auto; height:auto; }
.menu-toggle-btn,.menu-toggle-label { color:#222; }
.gnews-search-form { background:#f3f3f3; border-radius:0; }
.gnews-search-input { color:#333; }
.gnews-search-submit { color:#333; }
.portal-navigation { border-top:1px solid #eee; }
.portal-nav-list { display:flex; align-items:center; gap:20px; list-style:none; margin:0; padding:12px 0; overflow-x:auto; scrollbar-width:thin; }
.portal-nav-list li { flex:none; }
.portal-nav-list a { font-size:11px; text-transform:uppercase; text-decoration:none; color:#222; white-space:nowrap; }
.portal-nav-list a:hover { color:#d00000; }
.portal-skip-link { position:fixed; top:-100px; left:20px; background:#fff; padding:12px; z-index:10000; }
.portal-skip-link:focus { top:8px; }
.portal-home { padding-top:44px; padding-bottom:64px; }
.portal-top-grid,.portal-section-grid { display:grid; grid-template-columns:minmax(0,1.72fr) minmax(0,1fr); gap:30px; }
.portal-main-column,.portal-sidebar,.portal-section-main,.portal-section-side { min-width:0; }
.portal-top-grid:not(:has(.portal-sidebar)) { grid-template-columns:1fr; }
.portal-cover { border-bottom:1px solid #ccc; margin-bottom:24px; padding-bottom:24px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.portal-cover > .portal-story--lead { grid-column:1 / -1; }
.portal-story { position:relative; min-width:0; background:transparent; break-inside:avoid; }
.portal-story a { color:inherit; text-decoration:none; }
.portal-story a:hover { color:#c00; }
.portal-story h2 { margin:0; font-size:18px; line-height:1.28; font-weight:700; letter-spacing:-.35px; }
.portal-story-image { display:block; margin-bottom:10px; overflow:hidden; }
.portal-story-image img { display:block; width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; border-radius:2px; }
.portal-story-category { display:block; color:#d00000; font-size:11px; font-weight:600; margin:0 0 6px; }
.portal-story-subtitle { font-size:14px; color:#777; line-height:1.45; margin:10px 0 0; }
.portal-story--lead h2 { font-size:36px; line-height:1.13; letter-spacing:-1.25px; }
.portal-story--lead .portal-story-image img { aspect-ratio:16 / 9; }
.portal-story--lead .portal-story-category { font-size:12px; }
.portal-story .gnews-noticias-relacionadas { margin-top:12px; padding:0; border:0; display:flex; flex-direction:column; gap:10px; }
.portal-story .gnews-noticia-relacionada { font-size:13px; line-height:1.45; color:#333; font-weight:400; text-shadow:none; }
.portal-story .gnews-related-arrow { color:#e00000; font-size:10px; }
.portal-story .gnews-related-lembre { color:#d00000; }
.portal-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 24px; align-items:start; }
.portal-sidebar .widget-area { padding:0; margin:0 0 32px; background:transparent; border:0; border-radius:0; box-shadow:none; }
.portal-sidebar .widget-title { font-size:20px; color:#d00000; border:0; padding:0; margin:0 0 12px; }
.portal-sidebar img,.portal-sidebar video,.portal-sidebar iframe { max-width:100%; }
.portal-sidebar p { line-height:1.5; }
.portal-sidebar .widget_media_video iframe { width:100%; aspect-ratio:16 / 9; height:auto; }
.portal-section { margin-top:80px; border-top:2px solid #e00000; padding-top:16px; }
.portal-section--2 { border-top-color:#9300d5; }
.portal-section-title { text-align:center; font-size:34px; text-transform:uppercase; letter-spacing:4px; font-weight:300; margin:0 0 24px; padding-bottom:16px; border-bottom:1px solid #ccc; }
.portal-section-title a { color:#222; text-decoration:none; }
.portal-section--2 .portal-section-title a { color:#7900b5; }
.portal-story--section-lead { display:flex; gap:18px; border-bottom:1px solid #ccc; padding-bottom:24px; margin-bottom:24px; }
.portal-story--section-lead .portal-story-image { flex:0 0 38%; margin:0; }
.portal-story--section-lead .portal-story-image img { aspect-ratio:4 / 3; }
.portal-story--section-lead h2 { font-size:30px; line-height:1.15; letter-spacing:-1px; }
.portal-story--feature { margin-bottom:24px; }
.portal-story--feature .portal-story-image { margin:0; }
.portal-story--feature .portal-story-image img { aspect-ratio:16 / 10; border-radius:0; }
.portal-story--feature .portal-story-text { background:#d00000; color:#fff; padding:14px; }
.portal-story--feature h2 { font-size:18px; }
.portal-story--feature a:hover { color:inherit; text-decoration:underline; }
.portal-story--feature .portal-story-category { color:inherit; }
.portal-section--2 .portal-story--feature .portal-story-text { background:#9000cf; }
.portal-story--compact { display:flex; gap:14px; align-items:start; margin-bottom:24px; }
.portal-story--compact .portal-story-image { flex:0 0 86px; margin:0; }
.portal-story--compact .portal-story-image img { aspect-ratio:1; border-radius:8px; }
.portal-story--compact h2 { font-size:15px; font-weight:400; letter-spacing:0; }
.portal-story--compact .portal-story-category { display:none; }
.portal-story .btn-editar-frontend { top:4px; right:4px; font-size:11px; padding:5px 8px; }
.portal-home .gnews-cover-edit-bar { margin:0 0 14px; }
.portal-home .gnews-edit-submanchete { margin-bottom:14px; }
.portal-story a:focus-visible,.portal-nav-list a:focus-visible { outline:2px solid #d00000; outline-offset:4px; }
@media (min-width:769px) and (max-width:1000px) {
 .portal-top-grid,.portal-section-grid { gap:24px; }
 .portal-news-grid { gap:24px 16px; }
 .portal-story h2 { font-size:15px; }
 .portal-story--lead h2 { font-size:30px; }
 .portal-story--section-lead h2 { font-size:24px; }
 .portal-story--compact .portal-story-image { flex-basis:64px; }
 .portal-story--compact h2 { font-size:13px; }
}

@media (max-width:768px) {
 .container { padding-inline:16px; }
 .top-bar { padding:12px 0; }
 .top-bar-inner { min-height:36px; }
 .logo { font-size:36px; letter-spacing:-2px; }
 .custom-logo-link img { max-width:140px; max-height:44px; }
 .logo-category,.menu-toggle-label { display:none; }
 .portal-nav-list { gap:18px; padding:10px 0; }
 .portal-nav-list a { font-size:10px; }
 .portal-home { padding-top:24px; }
 .portal-top-grid,.portal-section-grid,.portal-top-grid:not(:has(.portal-sidebar)) { display:block; }
 .portal-cover { display:block; margin-bottom:0; padding-bottom:0; border:0; }
 .portal-news-grid { display:block; }
 .portal-story { margin-bottom:24px; padding-bottom:24px; border-bottom:1px solid #ddd; }
 .portal-story h2 { font-size:22px; line-height:1.25; letter-spacing:-.5px; }
 .portal-story--lead h2 { font-size:30px; line-height:1.15; letter-spacing:-.8px; }
 .portal-story-image img { aspect-ratio:16 / 10; border-radius:0; }
 .portal-story-category { font-size:12px; }
 .portal-story-subtitle { font-size:15px; }
 .portal-story .gnews-noticia-relacionada { font-size:14px; }
 .portal-sidebar { margin:32px 0; }
 .portal-sidebar .widget-area { margin-bottom:24px; }
 .portal-section { margin-top:44px; }
 .portal-section-title { font-size:25px; letter-spacing:3px; margin-bottom:24px; }
 .portal-story--section-lead { display:block; }
 .portal-story--section-lead .portal-story-image { margin-bottom:12px; }
 .portal-story--section-lead h2 { font-size:27px; }
 .portal-story--feature { padding-bottom:0; border:0; }
 .portal-story--feature h2 { font-size:20px; }
 .portal-story--compact { display:flex; padding-bottom:20px; margin-bottom:20px; }
 .portal-story--compact .portal-story-image { flex:0 0 88px; margin:0; }
 .portal-story--compact h2 { font-size:16px; }
}
@media (max-width:360px) {
 .portal-story--lead h2 { font-size:27px; }
 .portal-story--compact .portal-story-image { flex-basis:72px; }
}

.sidebar-header .logo { color:#fff; letter-spacing:-1px; }
.portal-between { display:flex; gap:24px; border-top:2px solid #e00000; border-bottom:1px solid #ccc; margin:36px 0; padding:16px 0; }
.portal-between > .widget { flex:1; min-width:0; margin:0; padding:0; border:0; box-shadow:none; border-radius:0; }
.portal-between img { max-width:100%; height:auto; }
.portal-more-grid { margin-top:36px; }
@media(max-width:768px) {
 .portal-between { flex-direction:column; gap:18px; }
}

/* Section brand: both words share exactly the same typographic rules. */
.site-header .top-bar-inner { display:grid; grid-template-columns:100px minmax(0,1fr) 140px; gap:16px; }
.site-header .logo-wrapper {
    position:static !important; transform:none !important; margin:0;
    width:100%; justify-content:center; align-items:baseline; flex-wrap:nowrap;
    gap:8px 6.4px; min-width:0;
    font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size:52px; font-weight:700; line-height:1; letter-spacing:-3px;
}
.site-header .logo-wrapper .logo,
.site-header .logo-wrapper .logo-category {
    font-family:inherit; font-size:inherit !important; font-weight:inherit;
    line-height:inherit; letter-spacing:inherit !important;
}
.site-header .logo-wrapper .logo-category {
    display:block; flex:0 0 auto; margin:0 !important; text-transform:lowercase;
    color:#000; font-size:95% !important; white-space:nowrap; overflow-wrap:normal; text-align:center;
}
.site-header .logo-wrapper .logo { flex:0 0 auto; white-space:nowrap; }
.site-header .header-right { justify-self:end; }
@media(max-width:1000px) and (min-width:769px) {
    .site-header .logo-wrapper { font-size:42px; letter-spacing:-2px; }
}
@media(max-width:768px) {
    .site-header .top-bar-inner { grid-template-columns:minmax(0,1fr) auto; gap:12px; }
    .site-header .logo-wrapper { justify-content:flex-start; font-size:36px; letter-spacing:-2px; gap:6px 4.8px; }
    .site-header .logo-wrapper .logo .portal-logo-dot { margin-left:4.8px; }
    .site-header .logo-wrapper .logo-category { display:block !important; font-size:inherit !important; text-align:left; }
}

.site-header .logo-wrapper .logo { color:#002452; }

/* Red brand dot on desktop and mobile. */
.site-header .portal-logo-dot {
    display:inline-block;
    position:relative; top:-.16em;
    margin-left:6.4px; line-height:1; letter-spacing:0;
    color:#e00000;
    animation:oimpresso-brand-blink 1.6s ease-in-out infinite;
}
.site-header .logo-wrapper > .portal-logo-dot { font-size:24px; margin-left:3px; }
@keyframes oimpresso-brand-blink {
    0%, 100% { opacity:1; }
    50% { opacity:0.15; }
}
@media(prefers-reduced-motion:reduce) {
    .site-header .portal-logo-dot { animation:none; }
}
@media(max-width:768px) {
    /* The section is already identified by the header brand. */
    body.single-post .artigo-header > .artigo-categoria { display:none; }
    body.single-post .artigo-header .artigo-meta {
        display:grid; grid-template-columns:minmax(0,1fr) auto;
        align-items:center; gap:8px 12px;
    }
    body.single-post .artigo-meta-info { display:contents; }
    body.single-post .artigo-meta .autor {
        grid-column:1; grid-row:1; margin:0; min-width:0;
        overflow-wrap:anywhere;
    }
    body.single-post .artigo-meta-info .data {
        grid-column:1 / -1; grid-row:2;
        white-space:normal; line-height:1.5; margin:0;
    }
    body.single-post .artigo-meta .artigo-share {
        grid-column:2; grid-row:1; justify-self:end;
        margin:0; gap:6px;
    }
    body.single-post .artigo-share .share-btn { width:36px; height:36px; flex:0 0 36px; }
    body.single-post .artigo-share .share-btn svg { width:18px; height:18px; }
}

/* Visible editorial separators between homepage news cards. */
.portal-home .portal-news-grid > .portal-story {
    border-bottom:1px solid #ccc;
    padding-bottom:24px;
}
@media(min-width:769px) {
    .portal-home .portal-news-grid { align-items:stretch; }
    .portal-home .portal-cover > .portal-story:not(.portal-story--lead) {
        border-bottom:1px solid #ccc;
        padding-bottom:24px;
    }
}

@media(max-width:768px) {
    .portal-home .portal-news-grid > .portal-story { border-bottom-color:#ccc; }
}

/* Related headlines must remain readable at every viewport size. */
.gnews-noticia-relacionada,
.portal-story .gnews-noticia-relacionada { font-size:17px; line-height:1.5; }
.portal-story .gnews-related-arrow { font-size:16px; }
/* The category is already present beside the brand on single posts. */
body.single-post .artigo-header > .artigo-categoria { display:none; }
@media(min-width:769px) {
    .portal-home .portal-news-grid {
        grid-auto-flow:row dense;
        align-items:start;
    }
    .portal-home .portal-news-grid > .portal-story {
        border-inline-end:1px solid #ccc;
        padding-inline-end:18px;
    }
    .portal-home .portal-news-grid > .portal-story.has-photo {
        grid-column:span 2;
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        align-items:start;
        gap:18px;
    }
    .portal-home .portal-news-grid > .portal-story.has-photo .portal-story-image { margin:0; }
    .portal-home .portal-news-grid > .portal-story.has-photo .portal-story-image img {
        aspect-ratio:4 / 3;
        width:100%; height:auto;
    }
}

@media(max-width:768px) {
    .gnews-noticia-relacionada,
    .portal-story .gnews-noticia-relacionada { font-size:18px; line-height:1.5; }
}

/* Homepage section labels use the site's official colour. */
.portal-home .portal-story-category { color:var(--gnews-primary); }
.portal-home .portal-story--feature .portal-story-category {
    background:#fff; width:fit-content; padding:3px 6px;
}
/* Shared grid dividers: no gutters interrupt the horizontal or vertical lines. */
@media(min-width:769px) {
    .portal-home .portal-news-grid {
        gap:0;
        align-items:stretch;
        border-bottom:1px solid #ccc;
    }
    .portal-home .portal-news-grid > .portal-story {
        margin:0;
        padding:20px;
        border-bottom:1px solid #ccc;
        border-inline-end:1px solid #ccc;
    }
    .portal-home .portal-news-grid > .portal-story.has-photo {
        align-items:start;
    }
}
@media(max-width:768px) {
    .portal-home .portal-news-grid > .portal-story {
        border-inline-end:0;
    }
}

/* Official hover colour and animated section marker. */
.portal-home .portal-story h2 a:hover,
.portal-home .portal-story h2 a:focus-visible { color:var(--gnews-primary); }
.portal-home .portal-story-category::after {
    content:'.'; color:#e00000; display:inline-block; margin-left:4px;
    font-size:1.3em; line-height:1;
    animation:oimpresso-brand-blink 1.6s ease-in-out infinite;
}
.portal-subheadline-grid {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    border-top:1px solid #ccc; border-bottom:1px solid #ccc;
}
.portal-subheadline-column {
    display:grid; grid-template-rows:repeat(2,minmax(min-content,1fr));
    min-width:0; border-inline-end:1px solid #ccc;
}
.portal-subheadline-column:last-child { border-inline-end:0; }
.portal-subheadline-column > .portal-story {
    padding:20px; margin:0; min-width:0;
}
.portal-subheadline-column > .portal-story + .portal-story { border-top:1px solid #ccc; }
.portal-subheadline-column:last-child > .portal-story.has-photo { grid-row:1 / span 2; }
.portal-subheadline-column .portal-story-image img { aspect-ratio:4 / 3; }
@media(max-width:768px) {
    .portal-subheadline-grid { display:block; border:0; }
    .portal-subheadline-column { display:contents; }
    .portal-subheadline-column > .portal-story {
        padding:0 0 24px; margin:0 0 24px; border-bottom:1px solid #ccc;
    }
    .portal-subheadline-column > .portal-story + .portal-story { border-top:0; }
}
@media(prefers-reduced-motion:reduce) {
    .portal-home .portal-story-category::after { animation:none; }
}

/* Centre the animated category marker and related-story arrow. */
.portal-home .portal-story-category { display:flex; align-items:center; gap:4px; }
.portal-home .portal-story-category::after {
    content:''; width:0.3em; height:0.3em; flex:0 0 0.3em;
    background:#e00000; border-radius:50%; margin:0;
}
.gnews-noticia-relacionada,
.portal-story .gnews-noticia-relacionada { align-items:center; }
.gnews-related-arrow,
.portal-story .gnews-related-arrow {
    display:flex; align-items:center; justify-content:center;
    align-self:center; line-height:1;
}
.gnews-noticia-relacionada:hover,
.gnews-noticia-relacionada:focus-visible,
.portal-story .gnews-noticia-relacionada:hover,
.portal-story .gnews-noticia-relacionada:focus-visible { color:var(--gnews-primary); }

/* Two-dimensional packing: horizontal photos in columns 1/2, vertical only in 3. */
.portal-subheadline-grid {
    grid-template-rows:repeat(2,minmax(min-content,1fr));
}
.portal-subheadline-slot { min-width:0; border-right:1px solid #ccc; border-bottom:1px solid #ccc; }
.portal-subheadline-slot > .portal-story { padding:20px; margin:0; height:100%; }
.portal-subheadline-slot.is-horizontal > .portal-story {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:18px; align-items:start;
}
.portal-subheadline-slot.is-wide-text > .portal-story { display:block; }
.portal-subheadline-slot.is-horizontal .portal-story-image { margin:0; }
.portal-subheadline-slot.is-vertical > .portal-story { display:block; }
.portal-subheadline-slot .portal-story-image img { width:100%; height:auto; aspect-ratio:4 / 3; }
@media(max-width:768px) {
    .portal-subheadline-slot { border:0; }
    .portal-subheadline-slot > .portal-story,
    .portal-subheadline-slot.is-horizontal > .portal-story {
        display:block; padding:0 0 24px; margin:0 0 24px; height:auto;
        border-bottom:1px solid #ccc;
    }
    .portal-subheadline-slot.is-horizontal .portal-story-image { margin-bottom:10px; }
}

.portal-story-gap-subtitle[hidden] { display:none !important; }
@media(min-width:769px) {
    .portal-story-gap-subtitle:not([hidden]) {
        display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;
        -webkit-line-clamp:var(--oimpresso-summary-lines,4);
        font-size:15px; line-height:1.45; margin-top:12px; color:#666;
    }
}
@media(max-width:768px) {
    .portal-story-gap-subtitle { display:none !important; }
}

@media(min-width:769px) {
    /* A compact first row leaves the lower row free to absorb the tall third card. */
    .portal-subheadline-grid { grid-template-rows:max-content auto; }
    .portal-subheadline-slot[data-row="1"][data-rowspan="1"] .portal-story-subtitle {
        display:none !important;
    }
    .portal-subheadline-slot[data-row="2"] .portal-story-gap-subtitle:not([hidden]) {
        display:block; -webkit-line-clamp:unset; overflow:visible;
    }
}

/* Dividers are real grid boundaries; editing handles are absolute overlays. */
.portal-home [data-oimpresso-grid] { position:relative; }
.oimpresso-divider-toolbar {
    display:flex; align-items:center; gap:16px; flex-wrap:wrap;
    padding:12px 0; margin-bottom:16px; color:#002452; font-size:13px;
}
.oimpresso-divider-toolbar button {
    background:#fff; border:1px solid #002452; border-radius:4px;
    color:#002452; padding:8px 12px; cursor:pointer;
}
.oimpresso-divider {
    position:absolute; display:block; background:transparent; border:0;
    padding:0; margin:0; z-index:15; touch-action:none;
}
.oimpresso-divider.is-columns { top:0; bottom:0; width:12px; transform:translateX(-50%); cursor:col-resize; }
.oimpresso-divider.is-rows { left:0; right:0; height:12px; transform:translateY(-50%); cursor:row-resize; }
.oimpresso-divider:hover,.oimpresso-divider:focus-visible { background:rgba(0,36,82,.2); outline:1px solid #002452; }
.oimpresso-dragging { user-select:none; }
@media(min-width:769px) {
    [data-oimpresso-manual="1"] .oimpresso-fit-summary:not([hidden]) {
        display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;
        -webkit-line-clamp:var(--oimpresso-summary-lines,4);
    }
}
@media(max-width:768px) {
    .oimpresso-divider,.oimpresso-divider-toolbar { display:none; }
}

/* Compact brand bar and content entry spacing. */
.site-header .top-bar { padding:10px 0; }
.site-header .top-bar-inner { min-height:0; }
.portal-home { padding-top:16px; }
.destaques-principais { padding-top:16px; }
.artigo-conteudo { margin-top:16px; padding-top:16px; }
@media(max-width:768px) {
    .site-header .top-bar { padding:7px 0; }
    .portal-home { padding-top:12px; }
    .destaques-principais { padding-top:12px; }
    .artigo-conteudo { margin-top:12px; padding-top:12px; }
}
/* Contextual widget management is emitted only for authorised users. */
.oimpresso-widget-area-tools {
    display:block; padding:10px; margin:0 0 14px;
    background:#f3f6fa; border:1px dashed #002452; font-size:12px; color:#002452;
}
.oimpresso-widget-area-tools > div,.oimpresso-widget-tools {
    display:flex; flex-wrap:wrap; gap:8px; align-items:center;
}
.oimpresso-widget-area-tools strong { display:block; margin-bottom:8px; }
.oimpresso-widget-tools { padding:6px 0; margin-bottom:8px; }
.oimpresso-widget-area-tools a,.oimpresso-widget-tools a {
    display:inline-block; padding:6px 9px; border:1px solid #002452;
    border-radius:3px; background:#fff; color:#002452; text-decoration:none;
    font-size:12px; line-height:1.3;
}
.oimpresso-widget-area-tools a:hover,.oimpresso-widget-tools a:hover { background:#e7eef7; }
.portal-between > .oimpresso-widget-area-tools { flex:0 0 200px; }

/* Replacement below the first block: full-width cover, then one story per row. */
.portal-second-cover { border-top:2px solid #e00000; margin-top:32px; padding-top:20px; }
.portal-second-cover-grid { display:grid; gap:24px; }
.portal-second-cover-grid.cover-count-1 { grid-template-columns:minmax(0,1fr); }
.portal-second-cover-grid.cover-count-2 { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); }
.portal-second-cover-grid.cover-count-3 { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); }
.portal-second-cover-grid.cover-count-3 > .portal-story--second-lead { grid-row:1 / span 2; }
.portal-story--second-lead h2 { font-size:34px; line-height:1.15; letter-spacing:-1px; }
.portal-story--second-secondary h2 { font-size:22px; }
.portal-second-cover-grid .portal-story-image img { aspect-ratio:16 / 9; }
.portal-second-cover-grid.cover-count-1 > .has-photo { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
.portal-lower-list-layout { margin-top:32px; padding-top:24px; border-top:1px solid #ccc; }
.portal-lower-list { display:flex; flex-direction:column; }
.portal-lower-list > .portal-story { display:flex; gap:24px; padding:24px 0; border-bottom:1px solid #ccc; }
.portal-lower-list > .portal-story:first-child { padding-top:0; }
.portal-lower-list .portal-story-image { flex:0 0 34%; margin:0; }
.portal-lower-list .portal-story-text { flex:1; min-width:0; }
.portal-lower-list h2 { font-size:24px; line-height:1.25; }
@media(max-width:768px) {
    .portal-second-cover-grid.cover-count-1,
    .portal-second-cover-grid.cover-count-2,
    .portal-second-cover-grid.cover-count-3 { display:block; }
    .portal-second-cover-grid.cover-count-1 > .has-photo { display:block; }
    .portal-story--second-lead h2 { font-size:28px; }
    .portal-story--second-secondary h2 { font-size:22px; }
    .portal-lower-list > .portal-story { display:block; }
    .portal-lower-list .portal-story-image { margin-bottom:12px; }
    .portal-lower-list h2 { font-size:22px; }
}

@media(max-width:768px) {
    /* First cover and first block bleed to the viewport; text keeps its inset. */
    .portal-home > .portal-top-grid .portal-cover,
    .portal-home .portal-subheadline-grid {
        margin-inline:-16px; width:calc(100% + 32px);
    }
    .portal-home .portal-cover > .portal-story,
    .portal-home .portal-subheadline-slot > .portal-story,
    .portal-home .portal-subheadline-slot.is-horizontal > .portal-story {
        padding-inline:0; border-radius:0;
    }
    .portal-home .portal-cover .portal-story-text,
    .portal-home .portal-subheadline-slot .portal-story-text { padding-inline:16px; }
    .portal-home .portal-cover .portal-story-image,
    .portal-home .portal-subheadline-slot .portal-story-image { margin-inline:0; width:100%; }
    .portal-home .portal-cover .portal-story-image img,
    .portal-home .portal-subheadline-slot .portal-story-image img { border-radius:0; }
    .portal-home .portal-cover { border-bottom:1px solid #ccc; }
    /* Lower news list: thumbnail and title side by side when a photo exists. */
    .portal-lower-list > .portal-story.has-photo {
        display:flex; align-items:flex-start; gap:14px;
    }
    .portal-lower-list > .portal-story.has-photo .portal-story-image {
        flex:0 0 32%; width:32%; max-width:140px; margin:0;
    }
    .portal-lower-list > .portal-story.has-photo .portal-story-image img {
        width:100%; height:auto; aspect-ratio:4 / 3;
        object-fit:cover; border-radius:6px;
    }
    .portal-lower-list > .portal-story.has-photo .portal-story-text { flex:1; min-width:0; }
    .portal-lower-list h2 { font-size:20px; line-height:1.3; }
    .portal-lower-list > .portal-story:not(.has-photo) { display:block; }
}

/* Use the exact category-home components below the exclusive first homepage block. */
.gnews-category-style-cover { background:#fff; padding:24px; }
.gnews-category-style-feed { background:#fff; padding:24px; margin-top:0; }
@media(min-width:769px) {
    .gnews-category-style-feed { display:grid; grid-template-columns:minmax(0,2.15fr) minmax(0,1fr); gap:40px; }
    .gnews-category-style-feed:not(:has(.coluna-widgets)) { grid-template-columns:1fr; }
    .gnews-category-style-feed > .coluna-feed,
    .gnews-category-style-feed > .coluna-widgets { max-width:none; min-width:0; }
}
@media(max-width:768px) {
    .gnews-category-style-cover,.gnews-category-style-feed { padding:16px 0; }
    .gnews-category-style-feed { display:flex; flex-direction:column; }
    .gnews-category-style-feed > .coluna-feed,
    .gnews-category-style-feed > .coluna-widgets { max-width:100%; width:100%; }
    .gnews-category-style-feed .feed-item { display:flex; flex-direction:row; align-items:flex-start; padding:16px; gap:14px; }
    .gnews-category-style-feed .feed-item .feed-imagem { flex:0 0 32%; width:32%; max-width:140px; order:initial; }
    .gnews-category-style-feed .feed-item .feed-imagem img { width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; border-radius:6px; }
    .gnews-category-style-feed .feed-item .feed-texto { display:block; flex:1; min-width:0; }
    .gnews-category-style-feed .feed-item .noticia-categoria-feed { position:static !important; width:auto; padding:0; margin:0 0 6px !important; }
    .gnews-category-style-feed .feed-item .noticia-titulo { padding:0; font-size:20px !important; }
    .gnews-category-style-feed .feed-item .noticia-resumo,
    .gnews-category-style-feed .feed-item .gnews-noticias-relacionadas { padding:0; margin-top:10px; }
}

/* One rounding standard for editorial cards, photographs and the search field. */
:root {
    --radius-card:16px;
    --radius-img:12px;
    --oimpresso-radius-control:10px;
}
body .site-header .gnews-search-form { border-radius:20px; }
body .noticia-card,
body .grid-destaques .noticia-card.noticia-com-foto,
body .grid-destaques .noticia-card.noticia-sem-foto,
body .feed-lista .feed-item,
body .widget-area,
body .artigo-conteudo,
body .relacionado-card { border-radius:var(--radius-card); }
body .portal-cover > .portal-story { border-radius:var(--radius-card); }
body .portal-subheadline-grid { border-radius:var(--radius-card); overflow:hidden; }
body .portal-home .portal-story-image,
body .portal-home .portal-story-image img,
body .portal-home .portal-cover .portal-story-image img,
body .portal-home .portal-subheadline-slot .portal-story-image img,
body .grid-destaques .noticia-card > img,
body .feed-item .feed-imagem,
body .feed-item .feed-imagem img,
body .relacionado-thumb,
body .relacionado-thumb img,
body .artigo-imagem-destaque,
body .artigo-imagem-destaque img,
body .artigo-texto img { border-radius:var(--radius-img); }
body .portal-sidebar .widget-area {
    border-radius:var(--radius-card); background:#fff; padding:16px;
    box-shadow:var(--shadow-sm);
}
body .widget-area img,
body .widget-area iframe,
body .widget-area video { border-radius:var(--radius-img); }
body .oimpresso-widget-area-tools,
body .oimpresso-widget-area-tools a,
body .oimpresso-widget-tools a,
body .oimpresso-divider-toolbar button { border-radius:var(--oimpresso-radius-control); }

@media(max-width:768px) {
    /* Cover photos and separating borders reach both sides on every homepage. */
    body.category .destaques-principais > .container,
    body.tag .destaques-principais > .container,
    body.category .conteudo-principal > .container,
    body.tag .conteudo-principal > .container {
        padding-inline:0; max-width:none; width:100%;
    }
    .portal-home .gnews-category-style-cover,
    .portal-home .gnews-category-style-feed {
        margin-inline:-16px; width:calc(100% + 32px);
        padding-inline:0;
    }
    .portal-home .gnews-category-style-cover .grid-destaques {
        width:100%; margin-inline:0;
    }
    body .grid-destaques .noticia-card,
    body .feed-lista .feed-item { border-top-color:#ccc; border-bottom-color:#ccc; }
    body.category .coluna-widgets,
    body.tag .coluna-widgets,
    .portal-home .gnews-category-style-feed > .coluna-widgets { padding-inline:16px; }
    .portal-home .gnews-category-style-cover > .gnews-cover-edit-bar { margin-inline:16px; }
}

/* Horizontal menus have their own rules; the existing sidebar menu is unaffected. */
.oimpresso-horizontal-navigation { display:flex; align-items:center; gap:8px; min-width:0; }
.oimpresso-navigation-viewport { flex:1; min-width:0; overflow-x:auto; scrollbar-width:thin; }
.oimpresso-navigation-track { display:flex; gap:20px; width:max-content; }
.oimpresso-navigation-list { flex:none; overflow:visible; gap:20px; }
.oimpresso-navigation-list li[hidden] { display:none; }
.oimpresso-navigation-pause {
    flex:0 0 28px; width:28px; height:28px; padding:0;
    background:#f3f3f3; border:0; border-radius:8px; color:#002452; cursor:pointer;
}
.oimpresso-navigation-pause[hidden] { display:none; }
.portal-nav-list a:hover { color:var(--gnews-primary); }
@media(min-width:769px) {
    .is-category-navigation .oimpresso-navigation-viewport { overflow:hidden; }
}
@media(max-width:768px) {
    .is-category-navigation.has-motion .oimpresso-navigation-viewport { overflow:hidden; }
    .is-category-navigation.has-motion .oimpresso-navigation-track {
        animation:oimpresso-topic-loop var(--oimpresso-navigation-duration,30s) linear infinite;
    }
    .is-category-navigation.is-paused .oimpresso-navigation-track,
    .is-category-navigation:has(.oimpresso-navigation-list:focus-within) .oimpresso-navigation-track { animation-play-state:paused; }
}
@keyframes oimpresso-topic-loop {
    from { transform:translateX(0); }
    to { transform:translateX(calc(-1 * var(--oimpresso-navigation-distance))); }
}
@media(prefers-reduced-motion:reduce) {
    .is-category-navigation .oimpresso-navigation-track { animation:none !important; }
    .is-category-navigation .oimpresso-navigation-viewport { overflow-x:auto !important; }
}

@media(max-width:768px) {
    /* Full-width news separators are a single straight grey rule. */
    body .portal-subheadline-grid { border:0; border-radius:0; overflow:visible; }
    body .portal-subheadline-slot { border:0; position:relative; }
    body .portal-home .portal-cover > .portal-story,
    body .portal-home .portal-subheadline-slot > .portal-story,
    body .grid-destaques .noticia-card.noticia-com-foto,
    body .grid-destaques .noticia-card.noticia-sem-foto,
    body .feed-lista > .feed-item {
        border:0 !important; box-shadow:none;
        overflow:visible;
    }
    .portal-home .portal-cover > .portal-story:not(:last-child)::after,
    .portal-home .portal-subheadline-slot:not(:last-child)::after,
    .grid-destaques > .noticia-card:not(:last-child)::after,
    .feed-lista > .feed-item:not(:last-child)::after {
        content:''; position:absolute; bottom:0; inset-inline:0;
        height:1px; background:#ccc; border-radius:0;
        pointer-events:none;
    }
    /* Edge-to-edge photos keep straight corners; inset thumbnails remain rounded. */
    body .portal-home .portal-cover .portal-story-image,
    body .portal-home .portal-cover .portal-story-image img,
    body .portal-home .portal-subheadline-slot .portal-story-image,
    body .portal-home .portal-subheadline-slot .portal-story-image img,
    body .grid-destaques .noticia-card.noticia-com-foto,
    body .grid-destaques .noticia-card.noticia-com-foto > img,
    body.category .feed-item .feed-imagem,
    body.category .feed-item .feed-imagem img,
    body.tag .feed-item .feed-imagem,
    body.tag .feed-item .feed-imagem img { border-radius:0; }
}

@media(max-width:768px) and (hover:hover) {
    .is-category-navigation:hover .oimpresso-navigation-track { animation-play-state:paused; }
}

/* Dividers stay straight even when the cards and photographs are rounded. */
body .portal-subheadline-grid { border-radius:0; overflow:visible; }
body .portal-cover > .portal-story { border-bottom:0; }
.portal-cover > .portal-story:not(.portal-story--lead)::after {
    content:''; position:absolute; inset-inline:0; bottom:0;
    height:1px; background:#ccc; border-radius:0; pointer-events:none;
}
body .feed-lista > .feed-item { border:0; overflow:visible; }
.feed-lista > .feed-item:not(:last-child)::after {
    content:''; position:absolute; inset-inline:0; bottom:-12px;
    height:1px; background:#ccc; border-radius:0; pointer-events:none;
}
@media(max-width:768px) {
    /* Explicit image/text grid wins over the original stacked mobile feed rules. */
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo {
        display:grid; grid-template-columns:minmax(0,32%) minmax(0,1fr);
        align-items:start; column-gap:14px; row-gap:0; padding:16px;
    }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem {
        grid-column:1; grid-row:1; order:0;
        width:100%; max-width:none; min-width:0; height:auto; margin:0;
    }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto {
        display:block; grid-column:2; grid-row:1; order:0;
        width:auto; min-width:0;
    }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo .feed-imagem img {
        width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover;
        border-radius:var(--radius-img);
    }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item:not(.oimpresso-feed-photo) { display:block; padding:16px; }
    body .portal-home .gnews-category-style-feed .feed-item .noticia-titulo { padding:0; }
    .feed-lista > .feed-item:not(:last-child)::after { bottom:0; }
    .portal-cover > .portal-story--lead:not(:last-child)::after {
        content:''; position:absolute; inset-inline:0; bottom:0;
        height:1px; background:#ccc; border-radius:0; pointer-events:none;
    }
    .portal-cover > .portal-story:not(.portal-story--lead):last-child::after { content:none; }
}

@media(max-width:768px) {
    .is-main-navigation.has-motion .oimpresso-navigation-viewport { overflow:hidden; }
    .is-main-navigation.has-motion .oimpresso-navigation-track {
        animation:oimpresso-main-menu-loop var(--oimpresso-navigation-duration,30s) linear infinite;
    }
    .is-main-navigation.is-paused .oimpresso-navigation-track,
    .is-main-navigation:has(.oimpresso-navigation-list:focus-within) .oimpresso-navigation-track { animation-play-state:paused; }
}
@keyframes oimpresso-main-menu-loop {
    from { transform:translateX(calc(-1 * var(--oimpresso-navigation-distance))); }
    to { transform:translateX(0); }
}
@media(max-width:768px) and (hover:hover) {
    .is-main-navigation:hover .oimpresso-navigation-track { animation-play-state:paused; }
}
@media(prefers-reduced-motion:reduce) {
    .is-main-navigation .oimpresso-navigation-track { animation:none !important; }
    .is-main-navigation .oimpresso-navigation-viewport { overflow-x:auto !important; }
}

/* Mobile card labels, image order, edge-to-edge photos and compact spacing. */
.gnews-mobile-category,.portal-story-category-mobile { display:none; }
@media (min-width:769px) {
    /* The mobile duplicate must not become a grid item in desktop cards. */
    body .portal-home .portal-story-category-mobile,
    body .grid-destaques .gnews-mobile-category,
    body .feed-lista .gnews-mobile-category { display:none !important; }
}
@media(max-width:768px) {
    .gnews-mobile-widgets-relocated { display:none !important; }
    .portal-home .portal-main-column { min-width:0; }
    .portal-home .portal-sidebar { min-width:0; }
    .portal-home .portal-sidebar > .widget,
    .portal-home .portal-main-column > .widget { width:100%; max-width:100%; }

    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact),
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact),
    body .grid-destaques > .noticia-card,
    body .feed-lista > .feed-item {
        box-sizing:border-box;
        width:calc(100% + 32px);
        max-width:none;
        margin:0 -16px 16px;
        padding:16px;
        border:0;
        border-top:1px solid #e3e6e8;
        border-bottom:1px solid #e3e6e8;
        border-radius:0;
        background:transparent;
        box-shadow:none;
    }

    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact),
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact) {
        display:flex;
        flex-direction:column;
        gap:0;
        margin-inline:0;
        width:100%;
        padding:16px 0;
    }
    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact) > .portal-story-category-mobile,
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact) > .portal-story-category-mobile,
    body .grid-destaques > .noticia-card > .gnews-mobile-category,
    body .feed-lista > .feed-item > .gnews-mobile-category {
        display:block;
        position:static !important;
        inset:auto !important;
        order:1;
        width:auto;
        height:auto;
        margin:0 0 10px;
        padding:0 !important;
        color:var(--gnews-primary) !important;
        font-size:12px;
        font-weight:700;
        line-height:1.3;
        text-align:left;
        text-transform:uppercase;
        background:transparent !important;
        border:0 !important;
        border-radius:0 !important;
        box-shadow:none !important;
        text-shadow:none !important;
        z-index:auto;
    }
    body .portal-home .portal-story-category-desktop,
    body .grid-destaques .gnews-desktop-category,
    body .feed-lista .gnews-desktop-category { display:none !important; }

    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact) > .portal-story-image,
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact) > .portal-story-image,
    body .grid-destaques > .noticia-card > img,
    body .feed-lista > .feed-item > .feed-imagem {
        display:block;
        order:2;
        flex:none;
        width:calc(100% + 32px);
        max-width:none;
        height:auto;
        margin:0 -16px 12px;
        padding:0;
        border-radius:0;
        overflow:hidden;
    }
    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact) > .portal-story-image,
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact) > .portal-story-image {
        width:100%;
        margin:0 0 12px;
    }
    body .portal-home .portal-story-image img,
    body .grid-destaques > .noticia-card > img,
    body .feed-lista > .feed-item > .feed-imagem img {
        display:block;
        width:100%;
        max-width:none;
        height:auto;
        max-height:none;
        aspect-ratio:16 / 10;
        object-fit:cover;
        border-radius:0;
    }
    body .portal-home .portal-cover .portal-story-text,
    body .portal-home .portal-subheadline-slot .portal-story-text,
    body .grid-destaques > .noticia-card > .noticia-conteudo,
    body .feed-lista > .feed-item > .feed-texto {
        display:block;
        order:3;
        width:100%;
        min-width:0;
        padding:0;
    }
    body .portal-home .portal-cover .portal-story-text,
    body .portal-home .portal-subheadline-slot .portal-story-text { padding:0 16px; }
    body .grid-destaques > .noticia-card,
    body .feed-lista > .feed-item { display:flex; flex-direction:column; align-items:stretch; gap:0; }
    body .grid-destaques > .noticia-card.noticia-com-foto > img {
        position:static;
        inset:auto;
        opacity:1;
        transform:none;
    }
    body .grid-destaques > .noticia-card.noticia-com-foto > .noticia-conteudo {
        position:static;
        inset:auto;
        padding:0 16px;
        background:transparent;
        pointer-events:auto;
        z-index:auto;
    }
    body .portal-home .portal-story h2,
    body .portal-home .portal-story--lead h2,
    body .portal-home .portal-story--section-lead h2,
    body .portal-home .portal-story--feature h2,
    body .portal-home .portal-story--second-lead h2,
    body .portal-home .portal-story--second-secondary h2,
    body .grid-destaques .noticia-titulo,
    body .feed-lista .noticia-titulo {
        margin:0;
        padding:0;
        font-size:22px !important;
        line-height:1.25;
        letter-spacing:-.35px;
        color:var(--gnews-primary);
    }
    body .feed-lista { gap:0; }
    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact) { border-bottom:1px solid #e3e6e8; }
    body .portal-home .portal-subheadline-grid > .portal-subheadline-slot,
    body .portal-home .portal-cover { border:0; }
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact) { border-bottom:1px solid #e3e6e8; }
    body .portal-home .portal-subheadline-slot:not(:last-child)::after,
    body .portal-home .portal-cover > .portal-story::after,
    body .grid-destaques > .noticia-card::after,
    body .feed-lista > .feed-item::after { content:none !important; }

    body .portal-home .portal-sidebar .gnews-widget-sticky,
    body .portal-home .portal-main-column .gnews-widget-sticky,
    body .coluna-widgets .gnews-widget-sticky { position:static !important; top:auto !important; }

    body.category .grid-destaques > .noticia-card,
    body.tag .grid-destaques > .noticia-card,
    body.category .feed-lista > .feed-item,
    body.tag .feed-lista > .feed-item,
    body .portal-home .gnews-category-style-cover .grid-destaques > .noticia-card,
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item {
        width:100%;
        margin-inline:0;
    }

    body.single-post .artigo-meta-info .data {
        display:block !important;
        width:max-content;
        max-width:100%;
        white-space:nowrap !important;
        font-size:clamp(8px, 2.6vw, 11px) !important;
        letter-spacing:-.35px;
        line-height:1.25;
    }
}


/* Final corrections: desktop subheadline borders, widget wrapper, and category markers. */
@media (min-width:769px) {
    /* The subheadline block starts cleanly; only internal dividers remain. */
    body .portal-home .portal-subheadline-grid { border-top:0 !important; }
    body .portal-home .portal-subheadline-slot[data-row="2"],
    body .portal-home .portal-subheadline-slot[data-row="1"][data-rowspan="2"] { border-bottom:0 !important; }
    body .portal-home .portal-subheadline-slot[style*="grid-column:3 / span 1"],
    body .portal-home .portal-subheadline-slot[style*="grid-column:2 / span 2"] { border-right:0 !important; }
}

/* Keep the selected widget's own card without the theme's outer card. */
body .portal-home .portal-sidebar > .widget-area {
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

/* All category seals share the same centered, blinking red marker. */
body .portal-story-category,
body .noticia-categoria,
body .noticia-categoria-feed,
body .gnews-mobile-category {
    display:inline-flex !important;
    align-items:center !important;
}
body .portal-story-category::after,
body .noticia-categoria::after,
body .noticia-categoria-feed::after,
body .gnews-mobile-category::after {
    content:"" !important;
    display:inline-block !important;
    flex:0 0 5px !important;
    width:5px !important;
    height:5px !important;
    margin:0 0 0 5px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:50% !important;
    background:#e00000 !important;
    vertical-align:middle !important;
    animation:oimpresso-brand-blink 1.6s ease-in-out infinite !important;
}

@media (max-width:768px) {
    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact),
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact),
    body .grid-destaques > .noticia-card,
    body .feed-lista > .feed-item {
        border-top:1px solid #e3e6e8 !important;
        border-bottom:1px solid #e3e6e8 !important;
        margin-bottom:16px !important;
    }

    /* Align the label with the headline text in every mobile card type. */
    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact) > .portal-story-category-mobile,
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact) > .portal-story-category-mobile {
        display:flex !important;
        align-items:center !important;
        width:calc(100% - 32px) !important;
        margin:0 16px 10px !important;
        line-height:1.3 !important;
    }
    body .grid-destaques > .noticia-card > .noticia-conteudo { padding:0 !important; }
    body .grid-destaques > .noticia-card > .gnews-mobile-category,
    body .feed-lista > .feed-item > .gnews-mobile-category {
        display:flex !important;
        align-items:center !important;
        width:auto !important;
        margin:0 0 10px !important;
        line-height:1.3 !important;
    }

    /* Photo-feed cards place the category first and the full-width image second. */
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item {
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        gap:0 !important;
    }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item > .gnews-mobile-category { order:1 !important; }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item > .feed-imagem {
        order:2 !important;
        width:calc(100% + 32px) !important;
        max-width:none !important;
        margin:0 -16px 12px !important;
    }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item > .feed-texto {
        display:block !important;
        order:3 !important;
        width:100% !important;
        padding:0 !important;
    }
    body .portal-home .gnews-category-style-feed .feed-lista > .feed-item > .feed-imagem img {
        display:block !important;
        width:100% !important;
        max-width:none !important;
        height:auto !important;
        aspect-ratio:16 / 10;
        object-fit:cover;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .portal-story-category::after,
    body .noticia-categoria::after,
    body .noticia-categoria-feed::after,
    body .gnews-mobile-category::after { animation:none !important; }
}

.gnews-feed-more-controls { display:flex; justify-content:center; align-items:center; min-height:0; padding:20px 0 32px; }
.gnews-feed-more-controls[hidden] { display:none !important; }
.gnews-feed-more-button {
    display:inline-flex; align-items:center; justify-content:center;
    min-height:46px; padding:11px 26px; border:0; border-radius:24px;
    background:var(--gnews-primary); color:#fff; font:inherit; font-weight:700;
    cursor:pointer; transition:background .2s ease, transform .2s ease;
}
.gnews-feed-more-button:hover,.gnews-feed-more-button:focus-visible { background:var(--gnews-primary-hover); transform:translateY(-1px); }
.gnews-feed-more-button:disabled { opacity:.65; cursor:wait; transform:none; }
.gnews-feed-more-button[hidden] { display:none !important; }
.gnews-feed-more-status { color:#606a75; font-size:14px; }

/* Cities dropdown in the main horizontal navigation. */
.portal-navigation { position:relative; z-index:50; }
.gnews-nav-item-has-children { position:relative; display:flex; align-items:center; gap:3px; }
.gnews-nav-submenu-toggle { display:inline-flex; align-items:center; justify-content:center; width:20px; height:22px; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; font-size:15px; line-height:1; }
.gnews-nav-item-has-children > .sub-menu { display:none; position:absolute; top:100%; left:0; z-index:1000; min-width:210px; max-width:min(280px, calc(100vw - 16px)); max-height:70vh; overflow-y:auto; margin:0; padding:6px 0; list-style:none; background:#fff; border:1px solid #e3e6e8; box-shadow:0 8px 22px rgba(0,0,0,.14); }
.gnews-nav-item-has-children > .sub-menu > li { display:block; padding:0; }
.gnews-nav-item-has-children > .sub-menu a { display:block; padding:9px 14px; font-size:13px; text-transform:none; white-space:normal; }
.gnews-nav-item-has-children:focus-within:not(.is-closed) > .sub-menu,
.gnews-nav-item-has-children.is-open > .sub-menu { display:block; }
@media(hover:hover) {
    .gnews-nav-item-has-children:hover > .sub-menu { display:block; }
}
.oimpresso-navigation-copy { pointer-events:none; }
@media(min-width:769px) {
    .is-main-navigation .oimpresso-navigation-viewport { overflow:visible; }
}
@media(max-width:768px) {
    .is-main-navigation.has-open-submenu .oimpresso-navigation-viewport { overflow:visible !important; }
    .is-main-navigation.has-open-submenu .oimpresso-navigation-track { animation-play-state:paused; }
    .is-main-navigation .gnews-nav-item-has-children > .sub-menu {
        left:var(--gnews-submenu-offset, 0px);
        width:min(260px, calc(100vw - 16px));
        min-width:0;
    }
}

/* Mobile: exactly one light divider between cards; full-bleed images are square. */
@media(max-width:768px) {
    body .portal-home .portal-cover,
    body .portal-home .portal-subheadline-grid { border:0 !important; }
    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact),
    body .portal-home .portal-subheadline-slot > .portal-story:not(.portal-story--compact),
    body .grid-destaques > .noticia-card,
    body .feed-lista > .feed-item {
        border:0 !important;
        margin-bottom:16px !important;
    }
    body .portal-home .portal-cover > .portal-story:not(.portal-story--compact):not(:last-child),
    body .portal-home .portal-subheadline-slot:not(:last-child) > .portal-story:not(.portal-story--compact),
    body .grid-destaques > .noticia-card:not(:last-child),
    body .feed-lista > .feed-item:not(:last-child) {
        border-bottom:1px solid #e3e6e8 !important;
    }
    body .portal-home .portal-cover > .portal-story::after,
    body .portal-home .portal-subheadline-slot::after,
    body .grid-destaques > .noticia-card::after,
    body .feed-lista > .feed-item::after { content:none !important; }
    body .portal-home .portal-cover .portal-story-image,
    body .portal-home .portal-subheadline-slot .portal-story-image,
    body .grid-destaques > .noticia-card.noticia-com-foto > img,
    body .feed-lista > .feed-item > .feed-imagem,
    body .feed-lista > .feed-item > .feed-imagem img { border-radius:0 !important; }
    body .portal-home .portal-cover .portal-story-image img,
    body .portal-home .portal-subheadline-slot .portal-story-image img,
    body .grid-destaques > .noticia-card.noticia-com-foto > img,
    body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .feed-imagem img {
        display:block;
        width:100% !important;
        height:100vw !important;
        max-height:none !important;
        aspect-ratio:1 / 1 !important;
        object-fit:cover;
        border-radius:0 !important;
    }
}

/* Separate the lead cover from the subheadline block on mobile. */
@media(max-width:768px) {
    body .portal-home .portal-cover {
        margin-bottom:16px !important;
        padding-bottom:16px !important;
        border-bottom:1px solid #e3e6e8 !important;
    }
}

/* Keep the second-cover category and headline on one text inset, with a
   divider after each cover story and before the following news feed. */
@media(max-width:768px) {
    body .portal-home .portal-second-cover {
        margin-bottom:16px !important;
        padding-bottom:16px !important;
        border-bottom:1px solid #e3e6e8 !important;
    }
    body .portal-home .portal-second-cover .grid-destaques > .noticia-card {
        padding:16px 0 !important;
        margin:0 0 16px !important;
    }
    body .portal-home .portal-second-cover .grid-destaques > .noticia-card > .gnews-mobile-category {
        display:flex !important;
        align-items:center !important;
        width:calc(100% - 32px) !important;
        margin:0 16px 10px !important;
    }
    body .portal-home .portal-second-cover .grid-destaques > .noticia-card > .noticia-conteudo {
        padding:0 16px !important;
    }
    body .portal-home .portal-second-cover .grid-destaques > .noticia-card.noticia-com-foto > img {
        width:100% !important;
        height:100vw !important;
        margin:0 0 12px !important;
    }
    body .portal-home .portal-second-cover .grid-destaques > .noticia-card:not(:last-child) {
        border-bottom:1px solid #e3e6e8 !important;
    }
}

/* Mobile category seals grow by 10%, keeping the current card proportions. */
@media(max-width:768px) {
    body .portal-home .portal-story-category-mobile,
    body .grid-destaques > .noticia-card > .gnews-mobile-category,
    body .feed-lista > .feed-item > .gnews-mobile-category {
        font-size:13.2px !important;
    }
    body .gnews-latest-news-page .noticia-categoria-feed {
        font-size:15.95px !important;
    }
}

/* Tighten spacing between sidebar widgets, including the Brasileirão table. */
body .portal-sidebar > .widget-area {
    margin-bottom:16px !important;
}
@media(max-width:768px) {
    body .portal-sidebar > .widget-area {
        margin-bottom:16px !important;
    }
}

/* The Esporte G standings embed reserves 430px, although its card is about 352px tall. */
body .widget-area iframe[src*="esporteg_top5_embed=1"] {
    display:block !important;
    height:352px !important;
    min-height:0 !important;
    margin-bottom:0 !important;
}

/* Feed items keep a compact thumbnail beside their headline. */
@media(min-width:769px) {
    body .feed-lista > .feed-item.oimpresso-feed-photo {
        display:flex !important;
        flex-direction:row !important;
        align-items:flex-start !important;
        gap:16px !important;
    }
    body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem {
        display:block !important;
        flex:0 0 140px !important;
        width:140px !important;
        max-width:140px !important;
        height:auto !important;
        aspect-ratio:4 / 3;
        margin:0 !important;
    }
    body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem img {
        display:block !important;
        width:100% !important;
        height:100% !important;
        aspect-ratio:4 / 3;
        object-fit:cover;
    }
    body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto {
        display:block !important;
        flex:1 1 auto !important;
        min-width:0 !important;
        padding:0 !important;
    }
}

/* Category archive badges align with the headline inset on mobile. */
@media(max-width:768px) {
    body .grid-destaques > .noticia-card > .gnews-mobile-category {
        width:calc(100% - 32px) !important;
        margin:0 16px 10px !important;
    }

    /* Feed thumbnails are compact and stay beside the text on small screens too. */
    body .feed-lista > .feed-item.oimpresso-feed-photo {
        display:grid !important;
        grid-template-columns:minmax(0,32%) minmax(0,1fr) !important;
        align-items:start !important;
        column-gap:14px !important;
        row-gap:0 !important;
        padding:12px 16px !important;
    }
    body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem {
        grid-column:1 !important;
        grid-row:1 !important;
        display:block !important;
        width:100% !important;
        max-width:120px !important;
        height:auto !important;
        aspect-ratio:4 / 3;
        margin:0 !important;
        padding:0 !important;
        border-radius:6px !important;
    }
    body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem img {
        display:block !important;
        width:100% !important;
        height:100% !important;
        aspect-ratio:4 / 3 !important;
        object-fit:cover !important;
        border-radius:6px !important;
    }
    body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto {
        grid-column:2 !important;
        grid-row:1 !important;
        display:block !important;
        width:auto !important;
        min-width:0 !important;
        padding:0 !important;
    }
    body .feed-lista > .feed-item > .feed-texto > .gnews-mobile-category {
        display:flex !important;
        align-items:center !important;
        width:auto !important;
        margin:0 0 6px !important;
        padding:0 !important;
    }
}

/* The compact list below cover 2 is a thumbnail-and-headline feed, not a cover. */
@media (max-width:768px) {
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo {
        display:grid !important;
        grid-template-columns:minmax(0,30%) minmax(0,1fr) !important;
        grid-template-rows:auto !important;
        align-items:start !important;
        column-gap:14px !important;
        row-gap:0 !important;
        padding:12px 16px !important;
        min-height:0 !important;
        height:auto !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem {
        grid-column:1 !important;
        grid-row:1 !important;
        display:block !important;
        order:initial !important;
        width:100% !important;
        max-width:120px !important;
        min-width:0 !important;
        height:auto !important;
        aspect-ratio:4 / 3 !important;
        margin:0 !important;
        padding:0 !important;
        border-radius:6px !important;
        overflow:hidden !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem img {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        height:100% !important;
        aspect-ratio:4 / 3 !important;
        object-fit:cover !important;
        border-radius:6px !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto {
        grid-column:2 !important;
        grid-row:1 !important;
        display:block !important;
        order:initial !important;
        width:auto !important;
        min-width:0 !important;
        padding:0 !important;
    }

    /* One shared inset keeps category labels aligned with their story titles. */
    html body .grid-destaques > .noticia-card > .gnews-mobile-category {
        width:auto !important;
        margin:0 0 10px !important;
        padding:0 !important;
    }
    html body .feed-lista > .feed-item > .feed-texto > .gnews-mobile-category,
    html body .feed-lista > .feed-item > .feed-texto > .noticia-categoria-feed {
        width:auto !important;
        margin:0 0 6px !important;
        padding:0 !important;
    }
}

/* One shared mobile feed layout for home, category, subcategory, tag, search,
   latest news, and the article's Veja também recommendations. */
@media (max-width:768px) {
    html body .feed-lista > .feed-item {
        box-sizing:border-box !important;
        width:calc(100% + 32px) !important;
        max-width:none !important;
        margin:0 -16px 16px !important;
        padding:12px 16px 16px !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        transform:none !important;
        overflow:visible !important;
    }
    html body .feed-lista > .feed-item:not(:last-child) {
        border-bottom:1px solid #e3e6e8 !important;
    }
    html body .feed-lista > .feed-item::after { content:none !important; }

    /* Text-only stories share one exact left edge for category and headline. */
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) {
        display:block !important;
    }
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .feed-texto {
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
    }
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .gnews-mobile-category {
        display:flex !important;
        align-items:center !important;
        width:max-content !important;
        max-width:100% !important;
        margin:0 0 6px !important;
        padding:0 !important;
        position:static !important;
        color:var(--gnews-primary) !important;
        font-size:13.2px !important;
        font-weight:700 !important;
        line-height:1.3 !important;
        text-align:left !important;
        text-transform:uppercase !important;
        background:transparent !important;
        border:0 !important;
        border-radius:0 !important;
        box-shadow:none !important;
    }
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .feed-texto > a,
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) .noticia-titulo {
        display:block !important;
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }

    /* With a photo, category and title share the title column; title alone
       sits beside the thumbnail, while supporting text spans below both. */
    html body .feed-lista > .feed-item.oimpresso-feed-photo {
        display:grid !important;
        grid-template-columns:minmax(0,32%) minmax(0,1fr) !important;
        grid-template-rows:auto auto auto !important;
        align-items:start !important;
        column-gap:14px !important;
        row-gap:0 !important;
        height:auto !important;
        min-height:0 !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .gnews-mobile-category {
        display:flex !important;
        align-items:center !important;
        grid-column:2 !important;
        grid-row:1 !important;
        width:max-content !important;
        max-width:100% !important;
        margin:0 0 6px !important;
        padding:0 !important;
        position:static !important;
        color:var(--gnews-primary) !important;
        font-size:13.2px !important;
        font-weight:700 !important;
        line-height:1.3 !important;
        text-align:left !important;
        text-transform:uppercase !important;
        background:transparent !important;
        border:0 !important;
        border-radius:0 !important;
        box-shadow:none !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem {
        display:block !important;
        grid-column:1 !important;
        grid-row:2 !important;
        width:100% !important;
        max-width:120px !important;
        min-width:0 !important;
        height:auto !important;
        aspect-ratio:4 / 3 !important;
        margin:0 !important;
        padding:0 !important;
        overflow:hidden !important;
        border-radius:0 !important;
        box-shadow:none !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem img {
        display:block !important;
        width:100% !important;
        height:100% !important;
        aspect-ratio:4 / 3 !important;
        object-fit:cover !important;
        border-radius:0 !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto {
        display:contents !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > a {
        display:block !important;
        grid-column:2 !important;
        grid-row:2 !important;
        align-self:start !important;
        width:auto !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > a .noticia-titulo {
        display:block !important;
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > .noticia-resumo,
    html body .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > .gnews-noticias-relacionadas {
        grid-column:1 / -1 !important;
        grid-row:auto !important;
        margin:10px 0 0 !important;
    }
    html body .feed-lista > .feed-item.oimpresso-feed-photo .noticia-titulo {
        font-size:19px !important;
        line-height:1.25 !important;
        letter-spacing:-.2px !important;
        color:var(--gnews-primary) !important;
    }

    /* Latest-news category/date and headline use the same inset as the feed. */
    html body .gnews-latest-news-list > .gnews-latest-news-item > .feed-texto,
    html body .gnews-latest-news-list .gnews-latest-news-meta,
    html body .gnews-latest-news-list .gnews-latest-news-link,
    html body .gnews-latest-news-list .gnews-latest-news-link .noticia-titulo {
        width:100% !important;
        margin-left:0 !important;
        padding-left:0 !important;
        text-align:left !important;
    }

    html body .artigo-relacionados .gnews-related-feed {
        display:flex !important;
        flex-direction:column !important;
        gap:0 !important;
    }
}

/* Final mobile corrections: preserve an inset on text-only stories and force
   the home feed title wrapper to participate in the photo-card grid. */
@media (max-width:768px) {
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) {
        padding:12px 16px 16px !important;
    }
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .gnews-mobile-category {
        margin:0 0 6px !important;
    }
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .feed-texto {
        width:100% !important;
        margin:0 !important;
    }
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .feed-texto > a,
    html body .feed-lista > .feed-item:not(.oimpresso-feed-photo) > .feed-texto .noticia-titulo {
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }

    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo {
        display:grid !important;
        grid-template-columns:minmax(0,32%) minmax(0,1fr) !important;
        grid-template-rows:min-content auto auto !important;
        align-items:start !important;
        column-gap:14px !important;
        row-gap:0 !important;
        padding:12px 16px 16px !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .gnews-mobile-category {
        display:flex !important;
        grid-column:2 !important;
        grid-row:1 !important;
        align-self:start !important;
        position:static !important;
        order:initial !important;
        width:max-content !important;
        max-width:100% !important;
        margin:0 0 6px !important;
        padding:0 !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-imagem {
        display:block !important;
        grid-column:1 !important;
        grid-row:2 !important;
        order:initial !important;
        width:100% !important;
        max-width:120px !important;
        height:auto !important;
        aspect-ratio:4 / 3 !important;
        margin:0 !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto {
        display:contents !important;
        order:initial !important;
        width:auto !important;
        min-width:0 !important;
        padding:0 !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > a {
        display:block !important;
        grid-column:2 !important;
        grid-row:2 !important;
        width:auto !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > a .noticia-titulo {
        display:block !important;
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
    }
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > .noticia-resumo,
    html body .portal-home .gnews-category-style-feed .feed-lista > .feed-item.oimpresso-feed-photo > .feed-texto > .gnews-noticias-relacionadas {
        grid-column:1 / -1 !important;
        grid-row:auto !important;
        margin-top:10px !important;
    }
}

/* Mobile feed cards: keep only the divider full-bleed; inset all story content. */
@media (max-width:768px) {
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item {
        box-sizing:border-box !important;
        width:calc(100% + 32px) !important;
        max-width:none !important;
        margin:0 -16px !important;
        padding:14px 16px 16px !important;
        border:0 !important;
        border-bottom:1px solid #e3e6e8 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        overflow:visible !important;
    }

    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item > .gnews-mobile-category {
        display:flex !important;
        align-items:center !important;
        position:static !important;
        grid-column:1 / -1 !important;
        grid-row:1 !important;
        order:0 !important;
        width:max-content !important;
        max-width:100% !important;
        margin:0 0 8px !important;
        padding:0 !important;
        color:var(--gnews-primary) !important;
        font-size:13.2px !important;
        font-weight:700 !important;
        line-height:1.3 !important;
        text-align:left !important;
        text-transform:uppercase !important;
        background:transparent !important;
        border:0 !important;
        border-radius:0 !important;
        box-shadow:none !important;
    }

    /* Text-only feed cards: category and title share the same 16px inset. */
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) {
        display:block !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) > .feed-texto {
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) > .feed-texto > .gnews-desktop-category {
        display:none !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) > .feed-texto > a,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) .noticia-titulo {
        display:block !important;
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }

    /* Photo cards put the category above the thumbnail. The title alone sits beside it. */
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo {
        display:grid !important;
        grid-template-columns:120px minmax(0,1fr) !important;
        grid-template-rows:min-content auto auto !important;
        align-items:start !important;
        column-gap:14px !important;
        row-gap:0 !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .gnews-mobile-category {
        grid-column:1 / -1 !important;
        grid-row:1 !important;
        margin:0 0 8px !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-imagem {
        display:block !important;
        grid-column:1 !important;
        grid-row:2 !important;
        order:initial !important;
        width:120px !important;
        max-width:100% !important;
        min-width:0 !important;
        height:auto !important;
        aspect-ratio:4 / 3 !important;
        margin:0 !important;
        padding:0 !important;
        border-radius:6px !important;
        overflow:hidden !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-imagem img {
        display:block !important;
        width:100% !important;
        height:100% !important;
        aspect-ratio:4 / 3 !important;
        object-fit:cover !important;
        border-radius:6px !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto {
        display:contents !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > .gnews-desktop-category {
        display:none !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > a {
        display:block !important;
        grid-column:2 !important;
        grid-row:2 !important;
        align-self:start !important;
        width:auto !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo .noticia-titulo {
        display:block !important;
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        color:var(--gnews-primary) !important;
        font-size:19px !important;
        line-height:1.25 !important;
        text-align:left !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > .noticia-resumo,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > .gnews-noticias-relacionadas {
        grid-column:1 / -1 !important;
        grid-row:auto !important;
        margin:10px 0 0 !important;
    }

    /* If an editor hid the mobile category, do not leave a blank grid row. */
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo:not(:has(> .gnews-mobile-category)) > .feed-imagem,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo:not(:has(> .gnews-mobile-category)) > .feed-texto > a {
        grid-row:1 !important;
    }

    /* Latest-news cards also use the same edge-to-edge separator and inner gutter. */
    html body .gnews-latest-news-list > article.gnews-latest-news-item {
        box-sizing:border-box !important;
        width:calc(100% + 32px) !important;
        margin:0 -16px !important;
        padding:14px 16px 16px !important;
        border:0 !important;
        border-bottom:1px solid #e3e6e8 !important;
    }
    html body .gnews-latest-news-list .gnews-latest-news-meta,
    html body .gnews-latest-news-list .gnews-latest-news-link,
    html body .gnews-latest-news-list .gnews-latest-news-link .noticia-titulo {
        margin-left:0 !important;
        padding-left:0 !important;
    }
}

/* Final mobile gutter: story content stays inset; only separators bleed to edges. */
@media (max-width:768px) {
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista {
        box-sizing:border-box !important;
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
        padding:0 !important;
        gap:0 !important;
        overflow:visible !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item,
    html body .gnews-latest-news-list > article.gnews-latest-news-item {
        position:relative !important;
        box-sizing:border-box !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        padding:14px 16px 16px !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        overflow:visible !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(:last-child)::after,
    html body .gnews-latest-news-list > article.gnews-latest-news-item:not(:last-child)::after {
        content:"" !important;
        display:block !important;
        position:absolute !important;
        z-index:0 !important;
        left:-16px !important;
        right:-16px !important;
        bottom:0 !important;
        height:0 !important;
        margin:0 !important;
        padding:0 !important;
        border:0 !important;
        border-bottom:1px solid #e3e6e8 !important;
        background:transparent !important;
        pointer-events:none !important;
    }

    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item > .gnews-mobile-category {
        position:static !important;
        display:flex !important;
        align-items:center !important;
        width:max-content !important;
        max-width:100% !important;
        margin:0 0 8px !important;
        padding:0 !important;
        text-align:left !important;
    }

    /* Text-only cards have one shared inset for the category and headline. */
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) {
        display:block !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) > .feed-texto {
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) > .feed-texto > .gnews-desktop-category {
        display:none !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) > .feed-texto > a,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) .noticia-titulo {
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }

    /* Photo cards: category above the thumbnail, title alone beside it. */
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo {
        display:grid !important;
        grid-template-columns:120px minmax(0,1fr) !important;
        grid-template-rows:min-content auto auto !important;
        align-items:start !important;
        column-gap:14px !important;
        row-gap:0 !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .gnews-mobile-category {
        grid-column:1 / -1 !important;
        grid-row:1 !important;
        margin:0 0 8px !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-imagem {
        display:block !important;
        grid-column:1 !important;
        grid-row:2 !important;
        order:initial !important;
        width:120px !important;
        max-width:100% !important;
        min-width:0 !important;
        height:auto !important;
        aspect-ratio:4 / 3 !important;
        margin:0 !important;
        padding:0 !important;
        border-radius:6px !important;
        overflow:hidden !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-imagem img {
        display:block !important;
        width:100% !important;
        height:100% !important;
        aspect-ratio:4 / 3 !important;
        object-fit:cover !important;
        border-radius:6px !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto {
        display:contents !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > .gnews-desktop-category {
        display:none !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > a {
        display:block !important;
        grid-column:2 !important;
        grid-row:2 !important;
        align-self:start !important;
        width:auto !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
        text-align:left !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo .noticia-titulo {
        display:block !important;
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        color:var(--gnews-primary) !important;
        font-size:19px !important;
        line-height:1.25 !important;
        text-align:left !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > .noticia-resumo,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo > .feed-texto > .gnews-noticias-relacionadas {
        grid-column:1 / -1 !important;
        grid-row:auto !important;
        margin:10px 0 0 !important;
    }
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo:not(:has(> .gnews-mobile-category)) > .feed-imagem,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados) .feed-lista > article.feed-item.oimpresso-feed-photo:not(:has(> .gnews-mobile-category)) > .feed-texto > a {
        grid-row:1 !important;
    }

    html body .gnews-latest-news-list .gnews-latest-news-meta,
    html body .gnews-latest-news-list .gnews-latest-news-link,
    html body .gnews-latest-news-list .gnews-latest-news-link .noticia-titulo,
    html body .gnews-latest-news-list .noticia-categoria-feed {
        width:100% !important;
        margin-left:0 !important;
        padding-left:0 !important;
        text-align:left !important;
    }
}

/* Category and subcategory cover cards: inset the mobile badge to the title edge. */
@media (max-width:768px) {
    html body.category .destaques-principais .grid-destaques > article.noticia-card {
        padding:0 !important;
    }
    html body.category .destaques-principais .grid-destaques > article.noticia-card > .gnews-mobile-category {
        display:flex !important;
        align-items:center !important;
        position:static !important;
        inset:auto !important;
        order:1 !important;
        box-sizing:border-box !important;
        width:calc(100% - 32px) !important;
        max-width:none !important;
        margin:16px 16px 10px !important;
        padding:0 !important;
        text-align:left !important;
        background:transparent !important;
        border:0 !important;
        box-shadow:none !important;
    }
    html body.category .destaques-principais .grid-destaques > article.noticia-card > .noticia-conteudo {
        box-sizing:border-box !important;
        width:100% !important;
        margin:0 !important;
        padding:0 16px 16px !important;
    }
}

/* The shared mobile card rules include an ID-level :is() selector and !important;
   match that specificity so these final color overrides take effect. */
@media (max-width:768px) {
    html body.category .destaques-principais .grid-destaques > article.noticia-card > .gnews-mobile-category,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item.oimpresso-feed-photo > .gnews-mobile-category,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) > .gnews-mobile-category,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item > .gnews-mobile-category,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item .noticia-categoria,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item .noticia-categoria-feed {
        color:#002452 !important;
    }

    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item.oimpresso-feed-photo .noticia-titulo,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item:not(.oimpresso-feed-photo) .noticia-titulo,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .feed-lista > article.feed-item .noticia-titulo,
    html body :is(#conteudo,.conteudo-principal,.gnews-page-main,.artigo-relacionados,.portal-home) .gnews-latest-news-list > article.gnews-latest-news-item .noticia-titulo {
        color:#000 !important;
    }
}

/* Black mobile headlines in the homepage lead, subheadline block, and second cover. */
@media (max-width:768px) {
    html body #conteudo.portal-home .portal-cover > .portal-story .portal-story-text h2,
    html body #conteudo.portal-home .portal-cover > .portal-story .portal-story-text h2 a,
    html body #conteudo.portal-home .portal-subheadline-grid .portal-story .portal-story-text h2,
    html body #conteudo.portal-home .portal-subheadline-grid .portal-story .portal-story-text h2 a,
    html body #conteudo.portal-home .portal-second-cover .grid-destaques > article.noticia-card .noticia-titulo {
        color:#000 !important;
    }
}

/* Category and subcategory cover headlines use the same black mobile title color. */
@media (max-width:768px) {
    html body.category .destaques-principais .grid-destaques > article.noticia-card > .noticia-conteudo h2.noticia-titulo,
    html body.category .destaques-principais .grid-destaques > article.noticia-card > .noticia-conteudo h2.noticia-titulo a {
        color:#000 !important;
        text-shadow:none !important;
    }
}
