/* ==========================================================================
   POP NEWS — PADRÃO GRANDE PORTAL DE NOTÍCIAS (G1, UOL E TERRA)
   Layout Editorial de Alta Performance, Publicidade IAB e Mobile-First
   ========================================================================== */

:root {
    --site-primary: #e87900;
    --site-primary-rgb: 232, 121, 0;
    --site-primary-dark: #c26500;
    --site-primary-light: #fff7ed;
    --site-background: #f4f6f8;
    --site-card-bg: #ffffff;
    --site-text: #0f172a;
    --site-text-muted: #64748b;
    --site-border: #e2e8f0;
    --site-border-light: #f1f5f9;
    --site-width: 1280px;
    --site-radius: 6px;
    --site-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --site-heading: 'Lora', Georgia, serif;
    --site-weight: 400;
    --site-bold: 700;
    --site-heading-weight: 700;
    --site-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --site-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --site-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09);
    --site-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Cores Temáticas de Editorias estilo G1 */
    --cat-politica: #0b63c1;
    --cat-economia: #15803d;
    --cat-cidades: #ea580c;
    --cat-esportes: #16a34a;
    --cat-entretenimento: #9333ea;
    --cat-tecnologia: #0284c7;
    --cat-concursos: #b45309;
}

/* Reset Global e Anti-Overflow */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body.portal-site {
    background-color: var(--site-background);
    color: var(--site-text);
    font-family: var(--site-font);
    font-weight: var(--site-weight);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--site-transition);
}

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

button, input, select, textarea {
    font: inherit;
}

/* Container Responsivo */
.site-container {
    width: 100%;
    max-width: var(--site-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .site-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

#mainContent {
    padding-top: 24px;
}

/* Preview Bar */
.site-preview {
    background: #090d16;
    color: #f8fafc;
    padding: 9px 16px;
    font-size: 13px;
    text-align: center;
    border-bottom: 2px solid var(--site-primary);
}
.site-preview a {
    color: var(--site-primary);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 8px;
}

/* ==========================================================================
    1. SUPER TOPBAR (MERCADO FINANCEIRO, CLIMA E DATA)
    ========================================================================== */
@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
@keyframes market-ticker-mobile-ltr {
    0% { transform: translate3d(-100%, 0, 0); }
    100% { transform: translate3d(100vw, 0, 0); }
}
.site-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--site-border);
    font-size: 12px;
    color: var(--site-text-muted);
}
.site-topbar .site-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 16px;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.topbar-left::-webkit-scrollbar {
    display: none;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Ticker Econômico */
.topbar-market-ticker {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--site-border);
    padding-right: 14px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.topbar-market-ticker-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.topbar-market-ticker-inner::-webkit-scrollbar {
    display: none;
}
.market-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    flex: 0 0 auto;
}
.market-name {
    font-weight: 700;
    color: var(--site-text);
}
.market-val {
    font-weight: 600;
    color: #334155;
}
.market-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}
.market-badge.is-up {
    background: #dcfce7;
    color: #15803d;
}
.market-badge.is-down {
    background: #fee2e2;
    color: #b91c1c;
}

/* Clima e Data */
.topbar-weather {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--site-text);
}
.topbar-weather .weather-city {
    color: var(--site-text-muted);
    font-weight: 400;
}
.topbar-date {
    display: flex;
    align-items: center;
    color: var(--site-text-muted);
}
.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-social a {
    color: var(--site-text-muted);
    font-weight: 500;
}
.topbar-social a:hover {
    color: var(--site-primary);
}
.rss-link {
    font-weight: 700 !important;
    color: #ea580c !important;
}

/* ==========================================================================
   2. ESPAÇOS DE PUBLICIDADE IAB PADRONIZADOS
   ========================================================================== */
.site-billboard-wrapper {
    background: #eef2f6;
    border-bottom: 1px solid var(--site-border);
    padding: 10px 0;
}
.ad-slot-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}
.ad-slot-tag {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #94a3b8;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
}

/* Billboard 970x250 (e suporte a 970x90) */
.ad-slot-billboard {
    width: 100%;
    max-width: 970px;
    min-height: 100px;
    margin: 0 auto;
}
@media (min-width: 992px) {
    .ad-slot-billboard {
        width: 970px;
    }
    .ad-placeholder-billboard {
        height: auto;
        min-height: 250px;
    }
}
.ad-slot-billboard img {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.ad-placeholder-billboard {
    width: 100%;
    min-height: 120px;
    border: 1px dashed #cbd5e1;
    background: #ffffff;
    border-radius: var(--site-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}
.ad-size-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    background: #e2e8f0;
    color: #475569;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.ad-placeholder-content strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #334155;
    margin-bottom: 4px;
}
.ad-placeholder-content p {
    font-size: 12px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Leaderboard 970x90 */
.ad-slot-leaderboard {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}
@media (min-width: 992px) {
    .ad-slot-leaderboard {
        width: 970px;
        min-height: 90px;
    }
    .ad-placeholder-leaderboard {
        height: 90px;
        min-height: 90px;
    }
}
.ad-slot-leaderboard img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.ad-placeholder-leaderboard {
    width: 100%;
    min-height: 70px;
    border: 1px dashed #cbd5e1;
    background: #ffffff;
    border-radius: var(--site-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.8px;
    padding: 12px;
    text-align: center;
}

/* Retângulo Médio MPU 300x250 */
.ad-slot-mpu {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
@media (min-width: 992px) {
    .ad-slot-mpu {
        width: 300px;
        height: 250px;
    }
    .ad-placeholder-mpu {
        height: 250px;
        min-height: 250px;
    }
}
.ad-slot-mpu img {
    max-width: 300px;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.ad-placeholder-mpu {
    width: 100%;
    max-width: 300px;
    min-height: 220px;
    border: 1px dashed #cbd5e1;
    background: #ffffff;
    border-radius: var(--site-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
}
.ad-placeholder-mpu strong {
    font-size: 13px;
    color: #334155;
    margin-bottom: 4px;
}
.ad-placeholder-mpu p {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

/* Banner Lateral / Retângulo 300x250 */
.ad-slot-halfpage {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
@media (min-width: 992px) {
    .ad-slot-halfpage {
        width: 300px;
        height: 250px;
    }
    .ad-placeholder-halfpage {
        height: 250px;
        min-height: 250px;
    }
}
.ad-slot-halfpage img {
    max-width: 300px;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.ad-placeholder-halfpage {
    width: 100%;
    max-width: 300px;
    min-height: 220px;
    border: 1px dashed #cbd5e1;
    background: #ffffff;
    border-radius: var(--site-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
}
.ad-placeholder-halfpage strong {
    font-size: 13px;
    color: #334155;
    margin-bottom: 4px;
}
.ad-placeholder-halfpage p {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

/* ==========================================================================
   3. MAIN HEADER EDITORIAL & STICKY NAVIGATION WRAPPER
   ========================================================================== */
.site-header-sticky-wrapper {
    position: relative;
    width: 100%;
    z-index: 1000;
}
.site-header-sticky-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    animation: stickySlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes stickySlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.site-header-sticky-wrapper.is-sticky .site-breaking-bar {
    display: none;
}
.site-header-sticky-placeholder {
    width: 100%;
}

.site-header {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid var(--site-border);
    position: relative;
    transition: padding 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, max-height 0.22s ease, opacity 0.2s ease;
}
.site-header .site-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.site-logo {
    display: flex;
    align-items: center;
    max-width: 240px;
    flex-shrink: 0;
}
.site-logo img {
    max-height: 54px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.22s ease;
}
.site-header.is-sticky .site-logo img {
    max-height: 40px;
}
.site-logo .brand-fallback {
    font-family: var(--site-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--site-primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: font-size 0.22s ease;
}
.site-header.is-sticky .site-logo .brand-fallback {
    font-size: 20px;
}
.site-slogan-badge {
    border-left: 2px solid var(--site-border);
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.2s ease, max-width 0.2s ease, margin 0.2s ease, padding 0.2s ease;
}
.site-header.is-sticky .site-slogan-badge {
    opacity: 0;
    max-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    pointer-events: none;
}
.site-slogan-badge span {
    font-size: 10px;
    font-weight: 800;
    color: #b91c1c;
    letter-spacing: 0.6px;
}
.site-slogan-badge em {
    font-size: 11px;
    font-style: normal;
    color: var(--site-text-muted);
    white-space: nowrap;
}
.site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid var(--site-border);
    padding: 7px 9px;
    cursor: pointer;
    color: var(--site-text);
    border-radius: 6px;
    flex-shrink: 0;
    transition: var(--site-transition);
}
.site-header.is-sticky .site-menu-toggle {
    padding: 6px 8px;
}
.site-menu-toggle:hover {
    background: var(--site-primary-light);
    color: var(--site-primary);
    border-color: var(--site-primary);
}
.site-menu-toggle svg {
    width: 22px;
    height: 22px;
}
.site-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}
.header-search input {
    width: 240px;
    padding: 8px 38px 8px 14px;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    font-size: 13px;
    background: #f8fafc;
    color: var(--site-text);
    transition: var(--site-transition);
}
.header-search input:focus {
    outline: none;
    border-color: var(--site-primary);
    background: #ffffff;
    width: 280px;
    box-shadow: 0 0 0 3px rgba(var(--site-primary-rgb), 0.12);
}
.site-header.is-sticky .header-search input {
    height: 34px;
    padding: 6px 36px 6px 12px;
    font-size: 12.5px;
    width: 210px;
}
.site-header.is-sticky .header-search input:focus {
    width: 260px;
}
.site-header.is-sticky .header-mini-weather {
    padding: 4px 8px;
}
.site-header.is-sticky .weather-temp-mini {
    font-size: 12px;
}
.site-header.is-sticky .weather-range-mini {
    display: none;
}
.header-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--site-text-muted);
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.header-search button:hover {
    color: var(--site-primary);
}

/* ==========================================================================
   4. FAIXA DE PLANTÃO (BREAKING NEWS TICKER ESTILO G1)
   ========================================================================== */
.site-breaking-bar {
    background: #0f172a;
    color: #f8fafc;
    font-size: 13px;
    border-bottom: 2px solid var(--site-primary);
}
.breaking-container {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 12px;
}
.breaking-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.live-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: liveBlink 1.2s infinite ease-in-out;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}
.breaking-ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 22px;
}
.breaking-ticker-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease;
}
.breaking-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 22px;
    color: #f1f5f9;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breaking-ticker-item:hover {
    color: var(--site-primary);
}
.breaking-time {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

/* ==========================================================================
   5. NAVEGAÇÃO DE EDITORIAS & STICKY NAVIGATION
   ========================================================================== */
.site-nav-bar {
    background: #ffffff;
    border-bottom: 2px solid var(--site-primary);
    position: relative;
    z-index: 40;
    box-shadow: var(--site-shadow-sm);
    transition: padding 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}
.nav-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    min-height: 46px;
}
.nav-scroll-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}
.nav-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

/* Brand compacta (exibida no modo sticky desktop) */
.sticky-nav-brand {
    display: none;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.sticky-nav-brand img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}
.sticky-nav-brand .brand-fallback {
    font-family: var(--site-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--site-primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* Ações à direita (Busca e Menu no modo sticky desktop) */
.sticky-nav-actions {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.sticky-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--site-border);
    color: var(--site-text);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--site-transition);
}
.sticky-action-btn:hover {
    background: var(--site-primary-light);
    color: var(--site-primary);
    border-color: var(--site-primary);
}
.sticky-action-btn svg {
    display: block;
}

/* Dropdown de busca suspensa da barra fixa */
.sticky-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 16px;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1020;
}
.sticky-search-dropdown.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sticky-search-form {
    display: flex;
    align-items: center;
    gap: 6px;
}
.sticky-search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--site-border);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--site-text);
    background: #f8fafc;
    outline: none;
    transition: var(--site-transition);
}
.sticky-search-form input:focus {
    border-color: var(--site-primary);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(var(--site-primary-rgb), 0.12);
}
.sticky-search-form button {
    background: var(--site-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--site-transition);
}
.sticky-search-form button:hover {
    background: var(--site-primary-dark);
}
.nav-categories {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 0;
}
.nav-link {
    display: inline-block;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--site-transition);
}
.nav-link:hover {
    color: var(--site-primary);
    background: var(--site-primary-light);
}
.nav-link.is-active {
    color: var(--site-primary);
    background: var(--site-primary-light);
}
.nav-link.nav-badge-special {
    background: var(--site-primary);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 16px;
    margin-left: 6px;
    font-weight: 800;
}
.nav-link.nav-badge-special:hover {
    background: var(--site-primary-dark);
    color: #ffffff;
}

/* ==========================================================================
   5.1 COMPORTAMENTO STICKY DESKTOP (UNIFIED COMPACT NAV BAR)
   ========================================================================== */
@media (min-width: 769px) {
    .site-search-toggle-mobile {
        display: none !important;
    }

    .site-header-sticky-wrapper.is-sticky .site-header {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        border: none;
        pointer-events: none;
    }

    .site-header-sticky-wrapper.is-sticky .site-nav-bar {
        border-bottom: none;
        box-shadow: none;
        padding: 4px 0;
        background: #ffffff;
    }

    .site-header-sticky-wrapper.is-sticky .sticky-nav-brand {
        display: flex;
    }

    .site-header-sticky-wrapper.is-sticky .sticky-nav-actions {
        display: flex;
    }

    .site-header-sticky-wrapper.is-sticky .nav-container-flex {
        min-height: 48px;
    }

    .site-header-sticky-wrapper.is-sticky .nav-link {
        padding: 8px 11px;
        font-size: 12.5px;
    }
}

/* ==========================================================================
   6. STORIES / DESTAQUES RÁPIDOS
   ========================================================================== */
.site-stories-bar {
    padding: 12px 0 4px;
    margin-bottom: 8px;
}
.stories-scroll-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.stories-scroll-container::-webkit-scrollbar {
    display: none;
}
.story-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    padding: 4px 12px 4px 4px;
    flex-shrink: 0;
    transition: var(--site-transition);
    max-width: 260px;
}
.story-pill:hover {
    border-color: var(--site-primary);
    box-shadow: var(--site-shadow-sm);
    transform: translateY(-2px);
}
.story-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--site-primary);
    flex-shrink: 0;
}
.story-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--site-primary-light);
    color: var(--site-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    border: 2px solid var(--site-primary);
    flex-shrink: 0;
}
.story-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--site-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   7. BLOCO 1: A TRINCA DE MANCHETES (ESTILO UOL & G1)
   ========================================================================== */
.portal-mega-hero {
    margin: 14px 0 20px;
}
.mega-hero-grid {
    display: grid;
    gap: 18px;
    align-items: stretch;
}
.mega-hero-grid.has-live-feed {
    grid-template-columns: 1.4fr 1fr 280px;
}
.mega-hero-grid.no-live-feed {
    grid-template-columns: 1.4fr 1fr;
}
.mega-hero-grid.solo-hero {
    grid-template-columns: 1fr;
}

/* 7.1 Super Manchete Master */
.mega-super-card {
    background: #ffffff;
    border-radius: var(--site-radius);
    border: 1px solid var(--site-border);
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--site-transition);
}
.mega-super-card:hover {
    box-shadow: var(--site-shadow-md);
    border-color: #cbd5e1;
}
.super-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.super-media-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}
.super-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.mega-super-card:hover .super-media-wrapper img {
    transform: scale(1.03);
}

/* Graphic Placeholder for News without Image */
.media-placeholder-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #94a3b8;
    padding: 20px;
}
.media-placeholder-graphic .media-icon {
    font-size: 36px;
    margin-bottom: 4px;
}
.media-placeholder-graphic .media-brand {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #cbd5e1;
}

.super-hat {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
}
.super-content {
    padding: 18px 20px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.super-title {
    font-family: var(--site-heading);
    font-size: 26px;
    font-weight: var(--site-heading-weight);
    line-height: 1.22;
    color: var(--site-text);
    margin-bottom: 8px;
    transition: var(--site-transition);
}
.mega-super-card:hover .super-title {
    color: var(--site-primary);
}
.super-subtitle {
    font-size: 13px;
    color: var(--site-text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
}
.super-meta {
    margin-top: auto;
    font-size: 11px;
    color: var(--site-text-muted);
    display: flex;
    gap: 8px;
}
.super-related-bullets {
    border-top: 1px solid var(--site-border-light);
    background: #fafbfc;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.related-bullet-item {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.related-bullet-item a {
    color: var(--site-text);
}
.related-bullet-item a:hover {
    color: var(--site-primary);
}
.bullet-tag {
    font-size: 9px;
    font-weight: 800;
    color: #dc2626;
    background: #fee2e2;
    padding: 1px 5px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* 7.2 Manchetes Secundárias da Trinca */
.mega-sub-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mega-sub-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
    flex: 1;
    transition: var(--site-transition);
}
.mega-sub-card:hover {
    border-color: var(--site-primary);
    box-shadow: var(--site-shadow-md);
    transform: translateY(-2px);
}
.sub-media-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}
.sub-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.mega-sub-card:hover .sub-media-wrapper img {
    transform: scale(1.04);
}
.sub-hat {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
}
.sub-content {
    padding: 12px 14px;
}
.sub-title {
    font-family: var(--site-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--site-text);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--site-transition);
}
.mega-sub-card:hover .sub-title {
    color: var(--site-primary);
}
.sub-subtitle {
    font-size: 11px;
    color: var(--site-text-muted);
    line-height: 1.35;
}

/* 7.3 Coluna "Em Tempo Real" (Plantão 24h) */
.mega-live-feed {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--site-shadow-sm);
}
.live-feed-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0f172a;
    margin-bottom: 10px;
}
.live-pulse-dot {
    width: 7px;
    height: 7px;
    background: #dc2626;
    border-radius: 50%;
    animation: liveBlink 1s infinite ease-in-out;
}
.live-feed-header h3 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0f172a;
}
.live-feed-header small {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 4px;
    border-radius: 2px;
}
.live-feed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.live-feed-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--site-border-light);
}
.live-feed-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.live-time {
    font-size: 10px;
    font-weight: 800;
    color: #dc2626;
    background: #fef2f2;
    padding: 2px 5px;
    border-radius: 3px;
    flex-shrink: 0;
}
.live-info {
    flex: 1;
    min-width: 0;
}
.live-cat {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: var(--site-text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.live-info h4 {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--site-text);
    transition: var(--site-transition);
}
.live-feed-item:hover h4 {
    color: var(--site-primary);
}

/* ==========================================================================
   8. FAIXA DE COLUNISTAS (ESTILO UOL)
   ========================================================================== */
.portal-columnists-bar {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 16px 20px;
    margin: 20px 0;
    box-shadow: var(--site-shadow-sm);
}
.columnists-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.columnists-track::-webkit-scrollbar {
    display: none;
}
.columnist-box {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--site-border-light);
    border-radius: var(--site-radius);
    background: #f8fafc;
    transition: var(--site-transition);
}
.columnist-box:hover {
    background: #ffffff;
    border-color: var(--site-primary);
    box-shadow: var(--site-shadow-sm);
    transform: translateY(-2px);
}
.columnist-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--site-primary);
    flex-shrink: 0;
}
.columnist-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--site-primary-light);
    color: var(--site-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.columnist-details {
    flex: 1;
    min-width: 0;
}
.columnist-author {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--site-primary);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.columnist-headline {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--site-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   9. GRADE PRINCIPAL (68%) + SIDEBAR COMERCIAL (32%)
   ========================================================================== */
.portal-main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    margin-top: 20px;
}
.portal-feed-col {
    min-width: 0;
}
.portal-sidebar-col {
    min-width: 0;
}

/* Seções por Categoria */
.portal-category-block {
    margin-bottom: 28px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--site-border);
    padding-bottom: 6px;
    position: relative;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--site-primary);
}
.section-title {
    font-family: var(--site-heading);
    font-weight: var(--site-heading-weight);
    font-size: 18px;
    color: var(--site-text);
}
.section-link-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--site-primary);
}

/* Cores por Editoria */
.category-header-1::after { background: var(--cat-politica); }
.category-header-2::after { background: var(--cat-economia); }
.category-header-3::after { background: var(--cat-cidades); }
.category-header-4::after { background: var(--cat-esportes); }

/* News Grid */
.site-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.site-news-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--site-transition);
}
.site-news-card:hover {
    border-color: var(--site-primary);
    box-shadow: var(--site-shadow-md);
    transform: translateY(-2px);
}
.news-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--site-border-light);
}
.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.site-news-card:hover .news-card-media img {
    transform: scale(1.04);
}
.news-card-hat {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
}
.news-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-title {
    font-family: var(--site-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--site-text);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--site-transition);
}
.site-news-card:hover .news-card-title {
    color: var(--site-primary);
}
.news-card-subtitle {
    font-size: 12px;
    color: var(--site-text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta {
    margin-top: auto;
    font-size: 11px;
    color: var(--site-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--site-border-light);
    padding-top: 8px;
}

/* Sidebar Widgets */
.sidebar-widget-box {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 16px;
    box-shadow: var(--site-shadow-sm);
    margin-bottom: 20px;
}
.widget-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--site-primary);
    margin-bottom: 12px;
}
.widget-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--site-text);
}

/* Mais Lidas (Ranking 1 a 5) */
.most-read-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--site-border-light);
}
.most-read-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.most-read-number {
    font-family: var(--site-heading);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    color: var(--site-primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.most-read-content {
    flex: 1;
}
.most-read-hat {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--site-primary);
    margin-bottom: 2px;
    display: block;
}
.most-read-title {
    font-family: var(--site-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--site-text);
    transition: var(--site-transition);
}
.most-read-item:hover .most-read-title {
    color: var(--site-primary);
}

.btn-vote-now {
    display: block;
    text-align: center;
    background: var(--site-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 4px;
    transition: var(--site-transition);
}
.btn-vote-now:hover {
    background: var(--site-primary-dark);
}

.cities-list-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.city-compact-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--site-border-light);
}
.city-compact-item:last-child {
    border-bottom: none;
}
.city-pill {
    font-size: 9px;
    font-weight: 800;
    color: #0b63c1;
    text-transform: uppercase;
}
.city-compact-item a {
    font-weight: 600;
    color: var(--site-text);
}
.city-compact-item a:hover {
    color: var(--site-primary);
}

/* ==========================================================================
   10. CENTRAL MULTIMÍDIA (VÍDEOS E GALERIAS EM MODO ESCURO)
   ========================================================================== */
.portal-multimedia-dark {
    background: #090d16;
    color: #f8fafc;
    border-radius: var(--site-radius);
    padding: 24px 20px;
    margin: 28px 0;
}
.multimedia-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.multimedia-card {
    background: #1e293b;
    border-radius: var(--site-radius);
    overflow: hidden;
    transition: var(--site-transition);
}
.multimedia-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.multimedia-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}
.multimedia-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.multimedia-play-badge, .multimedia-photo-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}
.play-triangle {
    width: 38px;
    height: 38px;
    background: var(--site-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.multimedia-photo-badge span {
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
}
.multimedia-card-title {
    font-size: 12px;
    font-weight: 600;
    color: #f1f5f9;
    padding: 10px 12px;
    line-height: 1.3;
}

/* ==========================================================================
   11. VITRINE DE CLASSIFICADOS E MERCADO
   ========================================================================== */
.portal-classifieds-strip {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 20px;
    margin: 24px 0;
    box-shadow: var(--site-shadow-sm);
}
.classifieds-cards-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.classified-box-item {
    background: #f8fafc;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    transition: var(--site-transition);
}
.classified-box-item:hover {
    border-color: var(--site-primary);
    box-shadow: var(--site-shadow-md);
    transform: translateY(-2px);
}
.classified-thumb-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
}
.classified-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.classified-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.classified-price-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
}
.classified-info {
    padding: 10px;
}
.classified-category-name {
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: var(--site-primary);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.classified-item-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--site-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.classified-item-city {
    font-size: 11px;
    color: var(--site-text-muted);
}

/* ==========================================================================
   12. PÁGINA INTERNA DE LEITURA (2 COLUNAS COM SIDEBAR COMERCIAL)
   ========================================================================== */
.portal-article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    margin: 24px 0;
    align-items: start;
}
.article-main-column {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 30px 34px;
    box-shadow: var(--site-shadow-sm);
    min-width: 0;
}
.article-sidebar-column {
    min-width: 0;
}
.article-hat {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--site-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 2px 6px;
    border-radius: 3px;
}
.article-headline {
    font-family: var(--site-heading);
    font-size: 30px;
    font-weight: var(--site-heading-weight);
    line-height: 1.22;
    color: var(--site-text);
    margin-bottom: 10px;
}
.article-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: var(--site-text-muted);
    margin-bottom: 16px;
}
.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--site-border-light);
    border-bottom: 1px solid var(--site-border-light);
    font-size: 12px;
    color: var(--site-text-muted);
}
.byline-author strong {
    color: var(--site-text);
}
.article-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    flex-wrap: wrap;
}
.share-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--site-text-muted);
    margin-right: 4px;
}
.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    transition: var(--site-transition);
}
.btn-share.whatsapp { background: #25d366; }
.btn-share.telegram { background: #0088cc; }
.btn-share.facebook { background: #1877f2; }
.btn-share.twitter { background: #000000; }
.btn-share.copy-link {
    background: var(--site-border-light);
    color: var(--site-text);
    border: 1px solid var(--site-border);
}
.btn-share.copy-link.copied {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.article-cover-figure {
    margin: 20px 0 24px;
}
.article-cover-figure img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--site-radius);
}
.article-cover-caption {
    font-size: 11px;
    color: var(--site-text-muted);
    margin-top: 6px;
    text-align: right;
    font-style: italic;
}
.article-body {
    font-size: 17px;
    line-height: 1.75;
    color: #1e293b;
    overflow-wrap: anywhere;
}
.article-body p {
    margin-bottom: 18px;
}
.article-body h2, .article-body h3 {
    font-family: var(--site-heading);
    margin: 28px 0 14px;
    line-height: 1.3;
}
.article-body h2 { font-size: 22px; color: var(--site-primary); }
.article-body h3 { font-size: 18px; }

/* Comentários */
.comments-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid var(--site-border);
}
.comment-form {
    background: #f8fafc;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 16px;
    margin-bottom: 20px;
}
.comment-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.comment-form textarea, .comment-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--site-border);
    border-radius: 4px;
    background: #ffffff;
}
.comment-form textarea {
    min-height: 70px;
    margin-bottom: 10px;
}
.btn-submit-comment {
    background: var(--site-primary);
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
}
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.comment-single {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 12px;
}
.comment-single-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 4px;
}
.comment-author {
    font-weight: 700;
}
.comment-time {
    color: var(--site-text-muted);
}
.comment-text {
    font-size: 13px;
}

/* ==========================================================================
   13. RODAPÉ CLÁSSICO RICO (4 COLUNAS)
   ========================================================================== */
.site-footer {
    background: #090d16;
    color: #94a3b8;
    margin-top: 40px;
    border-top: 4px solid var(--site-primary);
    padding: 40px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding-bottom: 32px;
}
.footer-col h4 {
    font-family: var(--site-heading);
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 6px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--site-primary);
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}
.footer-links a:hover {
    color: var(--site-primary);
    padding-left: 3px;
}
.footer-social-bar {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.footer-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    transition: var(--site-transition);
}
.footer-social-btn:hover {
    background: var(--site-primary);
    transform: translateY(-2px);
}
.footer-bottom {
    background: #020617;
    padding: 14px 0;
    font-size: 11px;
    text-align: center;
    border-top: 1px solid #1e293b;
}

/* ==========================================================================
   14. OFF-CANVAS DRAWER (MOBILE)
   ========================================================================== */
.site-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.site-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.site-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--site-shadow-lg);
}
.site-drawer.is-active {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--site-border);
}
.drawer-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: var(--site-text-muted);
    cursor: pointer;
    padding: 4px;
}
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
}
.drawer-search {
    margin-bottom: 16px;
}
.drawer-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--site-border);
    border-radius: 4px;
    font-size: 13px;
}
.drawer-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--site-text-muted);
    font-weight: 700;
    margin: 14px 0 6px;
}
.drawer-nav-list {
    list-style: none;
}
.drawer-nav-list a {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--site-text);
    border-radius: 4px;
}
.drawer-nav-list a:hover {
    background: var(--site-primary-light);
    color: var(--site-primary);
}
.drawer-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--site-border);
    background: var(--site-border-light);
    font-size: 11px;
    color: var(--site-text-muted);
}

/* ==========================================================================
   15. RESPONSIVIDADE E MOBILE-FIRST EXTREMO
   ========================================================================== */

/* Tablets / Telas Médias (992px a 1150px) */
@media (max-width: 1150px) {
    .mega-hero-grid.has-live-feed {
        grid-template-columns: 1.2fr 1fr;
    }
    .mega-live-feed {
        grid-column: 1 / -1;
    }
    .portal-main-layout {
        grid-template-columns: 1fr;
    }
    .portal-sidebar-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .portal-article-layout {
        grid-template-columns: 1fr;
    }
    .classifieds-cards-row, .multimedia-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Telas Pequenas e Celulares (< 768px) */
@media (max-width: 768px) {
    .site-menu-toggle {
        display: inline-flex;
    }
    .site-slogan-badge, .header-search, .topbar-right, .topbar-date {
        display: none;
    }
    .topbar-left {
        width: 100%;
        flex: 1;
        gap: 0;
        overflow: hidden;
    }
    .topbar-market-ticker {
        flex: 1;
        width: 100%;
        max-width: 100%;
        border-right: 0;
        padding-right: 0;
    }
    .topbar-market-ticker-inner {
        gap: 8px;
        width: max-content;
        max-width: none;
        overflow: visible;
        animation: market-ticker-mobile-ltr 22s linear infinite;
        will-change: transform;
    }
    .market-item {
        scroll-snap-align: start;
        font-size: 10px;
        padding: 2px 0;
    }
    .site-topbar .site-container {
        justify-content: flex-start;
        min-height: 32px;
        overflow: hidden;
    }
    .site-header {
        padding: 8px 0;
    }
    .site-logo img {
        max-height: 40px;
    }
    .site-logo .brand-fallback {
        font-size: 20px;
    }

    /* Mobile Sticky Navigation (Linha 1: ☰ | LOGO | 🔍, Linha 2: Categorias) */
    .site-search-toggle-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 6px;
        background: #f8fafc;
        border: 1px solid var(--site-border);
        color: var(--site-text);
        cursor: pointer;
        transition: var(--site-transition);
        flex-shrink: 0;
    }
    .site-search-toggle-mobile:hover {
        background: var(--site-primary-light);
        color: var(--site-primary);
        border-color: var(--site-primary);
    }
    .site-search-toggle-mobile svg {
        display: block;
    }

    .site-header-sticky-wrapper.is-sticky {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    .site-header-sticky-wrapper.is-sticky .site-header {
        display: block;
        padding: 6px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .site-header-sticky-wrapper.is-sticky .site-header .site-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .site-header-sticky-wrapper.is-sticky .site-logo img {
        max-height: 34px;
    }
    .site-header-sticky-wrapper.is-sticky .site-menu-toggle {
        padding: 5px 8px;
    }
    .site-header-sticky-wrapper.is-sticky .site-search-toggle-mobile {
        width: 32px;
        height: 32px;
    }
    .site-header-sticky-wrapper.is-sticky .site-nav-bar {
        border-bottom: 2px solid var(--site-primary);
        box-shadow: none;
        padding: 2px 0;
    }
    .site-header-sticky-wrapper.is-sticky .nav-container-flex {
        min-height: 36px;
    }
    .site-header-sticky-wrapper.is-sticky .nav-link {
        padding: 7px 10px;
        font-size: 12px;
    }
    .sticky-nav-brand,
    .sticky-nav-actions {
        display: none !important;
    }

    /* Mega Hero Mobile: Vertical com submanchetes compactas */
    .mega-hero-grid, .mega-hero-grid.has-live-feed, .mega-hero-grid.no-live-feed {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .super-title {
        font-size: 20px;
        line-height: 1.25;
    }
    .super-content {
        padding: 12px 14px;
    }
    .super-subtitle {
        font-size: 12px;
    }

    /* Submanchetes Mobile em Linha Horizontal Compacta com Thumb à Direita */
    .mega-sub-column {
        gap: 10px;
    }
    .mega-sub-card a {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 10px;
        gap: 10px;
    }
    .sub-media-wrapper {
        width: 80px;
        height: 70px;
        aspect-ratio: auto;
        order: 2;
        border-radius: 4px;
        flex-shrink: 0;
    }
    .sub-content {
        order: 1;
        padding: 0;
        flex: 1;
        min-width: 0;
    }
    .sub-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 0;
        -webkit-line-clamp: 2;
    }
    .sub-subtitle {
        display: none;
    }

    /* Sidebar em coluna única */
    .portal-sidebar-col {
        grid-template-columns: 1fr;
    }
    .site-news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .classifieds-cards-row, .multimedia-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .article-main-column {
        padding: 18px 14px;
    }
    .article-headline {
        font-size: 22px;
    }
    .article-subtitle {
        font-size: 14px;
    }
    .comment-form .form-grid {
        grid-template-columns: 1fr;
    }

    /* Ocultar banners pesados que quebram a rolagem no mobile */
    .ad-slot-halfpage {
        display: none;
    }
    .ad-placeholder-billboard, .ad-placeholder-leaderboard {
        padding: 8px 12px;
    }
    .ad-placeholder-content strong {
        font-size: 11px;
    }
    .ad-placeholder-content p {
        display: none;
    }
    #mainContent {
        padding-top: 16px;
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .topbar-market-ticker-inner {
        width: auto;
        max-width: 100%;
        overflow-x: auto;
        animation: none;
        will-change: auto;
    }
}

/* ==========================================================================
   TEMA CLÁSSICO ELE1 — COMPONENTES ESPECÍFICOS E EXPANSÃO VISUAL
   ========================================================================== */

/* 1. Header Mini Weather */
.header-mini-weather {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid var(--site-border);
    transition: var(--site-transition);
    text-decoration: none;
    line-height: 1.2;
}
.header-mini-weather:hover {
    border-color: var(--site-primary);
    background: var(--site-primary-light);
}
.weather-icon-mini {
    font-size: 20px;
}
.weather-info-mini {
    display: flex;
    flex-direction: column;
}
.weather-temp-mini {
    font-size: 13px;
    color: var(--site-text);
}
.weather-temp-mini strong {
    font-size: 14px;
    font-weight: 800;
}
.weather-city-mini {
    color: var(--site-text-muted);
    font-size: 11px;
    margin-left: 4px;
}
.weather-range-mini {
    font-size: 10px;
    color: var(--site-text-muted);
}

/* 2. Stories Circulares com Dragscroll (Estilo Ele1) */
.pos-stories {
    margin: 16px 0;
    width: 100%;
}
.env-stories {
    display: flex;
    gap: 16px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow-sm);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}
.env-stories::-webkit-scrollbar {
    display: none;
}
.env-stories.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.item-stories {
    flex: 0 0 76px;
    width: 76px;
    text-align: center;
}
.item-stories a.story-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.thumb-stories {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2.5px solid var(--site-primary);
    padding: 2px;
    margin-bottom: 6px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.thumb-stories img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.thumb-stories-fallback, .story-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--site-primary-light);
    color: var(--site-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}
.item-stories:hover .thumb-stories {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--site-primary-dark);
}
.titulo-stories {
    font-size: 11px;
    font-weight: 600;
    color: var(--site-text);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
}

/* 3. Hero Composition Ele1 */
.mega-hero-grid.ele1-hero-composition {
    display: grid;
    grid-template-columns: 1fr 1.15fr 0.85fr;
    gap: 18px;
    align-items: stretch;
}
.hero-col-master {
    display: flex;
    flex-direction: column;
}
.mega-hero-grid.ele1-hero-composition .mega-super-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
}
.mega-hero-grid.ele1-hero-composition .super-media-wrapper {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
}
.mega-hero-grid.ele1-hero-composition .super-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.mega-hero-grid.ele1-hero-composition .mega-super-card:hover .super-media-wrapper img {
    transform: scale(1.03);
}
.super-related-bullets {
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid var(--site-border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}
.related-bullet-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
.bullet-arrow {
    color: var(--site-primary);
    font-weight: 900;
    font-size: 15px;
    line-height: 1;
}
.related-bullet-item a {
    color: var(--site-text);
    transition: color 0.15s ease;
}
.related-bullet-item a:hover {
    color: var(--site-primary);
}

/* Card Central Hero Slide */
.hero-center-slide {
    height: 100%;
    position: relative;
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    background: #0f172a;
}
.hero-center-slide a.center-slide-link {
    display: block;
    height: 100%;
    position: relative;
}
.center-slide-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
}
.center-slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hero-center-slide:hover .center-slide-thumb img {
    transform: scale(1.04);
}
.center-slide-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}
.center-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}
.center-slide-badge {
    display: inline-block;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.center-slide-title {
    font-family: var(--site-heading);
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Coluna Direita Mini Cards */
.hero-right-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}
.hero-mini-box {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    transition: var(--site-transition);
}
.hero-mini-box:hover {
    box-shadow: var(--site-shadow-md);
    border-color: var(--site-primary);
    transform: translateY(-2px);
}
.hero-mini-link {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 10px;
    gap: 12px;
}
.hero-mini-thumb {
    width: 82px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f1f5f9;
}
.hero-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.hero-mini-content {
    flex: 1;
    min-width: 0;
}
.hero-mini-cat {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--site-primary);
    margin-bottom: 2px;
}
.hero-mini-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--site-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4. Weather Forecast Widget - Versão Compacta Harmoniosa */
.pos-tempo-home {
    margin: 16px 0 20px;
    width: 100%;
}
.weather-cities-grid {
    display: grid;
    gap: 12px;
}
.weather-cities-grid:has(.card-tempo-wrapper:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-tempo-wrapper.tempo-compact-box {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 10px 16px;
    box-shadow: var(--site-shadow-sm);
}
.tempo-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--site-border-light);
    padding-bottom: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
.tempo-compact-header .tempo-header-city {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tempo-compact-header .tempo-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--site-text);
    margin: 0;
    line-height: 1.2;
}
.tempo-compact-header .tempo-title strong {
    color: var(--site-primary);
}
.tempo-compact-header .tempo-date-label {
    font-size: 11px;
    color: var(--site-text-muted);
}
.tempo-compact-header .tempo-condition-pill {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}
.tempo-compact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.tempo-compact-today {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.tempo-today-visual {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tempo-compact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tempo-compact-temp {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.tempo-compact-temp .t-main {
    font-size: 24px;
    font-weight: 900;
    color: var(--site-text);
    letter-spacing: -0.5px;
}
.tempo-compact-temp .t-main small {
    font-size: 13px;
    font-weight: 600;
    color: var(--site-text-muted);
    margin-left: 1px;
}
.tempo-compact-temp .t-limits {
    display: flex;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}
.tempo-compact-temp .t-max {
    color: #dc2626;
}
.tempo-compact-temp .t-min {
    color: #2563eb;
}
.tempo-compact-metrics {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 14px;
    border-left: 1px solid var(--site-border-light);
}
.tempo-compact-metrics .m-item {
    background: #f8fafc;
    border: 1px solid var(--site-border-light);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--site-text);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.tempo-compact-metrics .m-item small {
    color: var(--site-text-muted);
    font-size: 10px;
    text-transform: uppercase;
}
.tempo-compact-forecast {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 16px;
    border-left: 1px solid var(--site-border-light);
}
.forecast-compact-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--site-border-light);
    min-width: 52px;
    text-align: center;
}
.forecast-compact-day .f-day-name {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--site-text-muted);
    margin-bottom: 2px;
}
.forecast-compact-day .f-day-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    margin-bottom: 2px;
}
.forecast-compact-day .f-day-temps {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    gap: 4px;
    line-height: 1;
}
.forecast-compact-day .f-t-max {
    color: #dc2626;
}
.forecast-compact-day .f-t-min {
    color: #64748b;
    font-weight: 500;
}

/* 5. Seções Dinâmicas Ele1 com Cores de Destaque */
.env-secao.secao-1 {
    --sec-color: #34bf0d;
}
.env-secao.secao-2 {
    --sec-color: #0b63c1;
}
.env-secao.secao-3 {
    --sec-color: #11a291;
}
.env-secao.secao-4 {
    --sec-color: #d20f0f;
}
.category-header-1 .section-title {
    border-left-color: #34bf0d;
}
.category-header-2 .section-title {
    border-left-color: #0b63c1;
}
.category-header-3 .section-title {
    border-left-color: #11a291;
}
.category-header-4 .section-title {
    border-left-color: #d20f0f;
}

.section-layout-ele1 {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
}
.section-master-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    transition: var(--site-transition);
}
.section-master-card:hover {
    box-shadow: var(--site-shadow-md);
    transform: translateY(-2px);
}
.section-master-thumb {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
}
.section-master-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.section-master-card:hover .section-master-thumb img {
    transform: scale(1.03);
}
.section-master-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--sec-color, var(--site-primary));
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
}
.section-master-content {
    padding: 14px;
}
.section-master-title {
    font-family: var(--site-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--site-text);
    margin-bottom: 6px;
}
.section-master-desc {
    font-size: 13px;
    color: var(--site-text-muted);
    line-height: 1.45;
}

.section-sub-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.section-sub-item {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    transition: var(--site-transition);
}
.section-sub-item:hover {
    box-shadow: var(--site-shadow-md);
    border-color: var(--sec-color, var(--site-primary));
    transform: translateY(-1px);
}
.section-sub-item a {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 12px;
}
.section-sub-thumb {
    width: 84px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f1f5f9;
}
.section-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-sub-info {
    flex: 1;
    min-width: 0;
}
.section-sub-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--site-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.section-sub-date {
    font-size: 11px;
    color: var(--site-text-muted);
}

/* 6. Widget Loterias Caixa Oficial */
.widget-loterias {
    background: #ffffff;
}
.loterias-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lottery-card-item {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.lottery-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    cursor: pointer;
    user-select: none;
    background: #f8fafc;
    border-left: 4px solid var(--lottery-accent, #188038);
    transition: background 0.15s ease;
}
.lottery-card-header:hover {
    background: #f1f5f9;
}
.lottery-name-block {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--site-text);
}
.lottery-name-block strong {
    font-weight: 700;
}
.lottery-name-block small {
    font-size: 11px;
    color: var(--site-text-muted);
}
.lottery-color-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.lottery-date {
    font-size: 11px;
    color: var(--site-text-muted);
}
.lottery-card-body {
    padding: 12px;
    border-top: 1px solid var(--site-border-light);
    display: none;
    background: #ffffff;
}
.lottery-card-item.is-open .lottery-card-body {
    display: block;
}
.lottery-balls-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}
.lottery-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    background: #ffffff;
    border: 2px solid currentColor;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.lottery-prize-estimate {
    font-size: 11px;
    color: var(--site-text-muted);
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed var(--site-border);
    padding-top: 6px;
    margin-top: 6px;
}
.lottery-prize-estimate strong {
    color: #166534;
    font-size: 12px;
}

/* 7. Ranking Mais Lidas com Círculos Arredondados */
.pos-mais-lidas .most-read-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--site-border-light);
}
.pos-mais-lidas .most-read-item:last-child {
    border-bottom: none;
}
.pos-mais-lidas .most-read-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--site-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.pos-mais-lidas .most-read-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--site-text);
}

/* 8. Classifieds Chips & Search Bar */
.classifieds-chips-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.classifieds-chips-container::-webkit-scrollbar {
    display: none;
}
.classified-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--site-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--site-text);
    white-space: nowrap;
    text-decoration: none;
    transition: var(--site-transition);
}
.classified-chip:hover, .classified-chip.is-active {
    background: var(--site-primary);
    color: #ffffff;
    border-color: var(--site-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.classifieds-search-bar {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 14px 16px;
    box-shadow: var(--site-shadow-sm);
    margin-bottom: 20px;
}
.classifieds-search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.classifieds-search-form input {
    flex: 1;
    min-width: 220px;
    padding: 9px 14px;
    border: 1px solid var(--site-border);
    border-radius: 4px;
    font-size: 14px;
}
.btn-classifieds-search {
    background: var(--site-primary);
    color: #ffffff;
    font-weight: 700;
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s ease;
}
.btn-classifieds-search:hover {
    background: var(--site-primary-dark);
}
.classified-featured-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ea580c;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
}

/* 9. Regras Responsivas Mobile para Componentes Ele1 */
@media (max-width: 991px) {
    .mega-hero-grid.ele1-hero-composition {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hero-center-slide {
        min-height: 300px;
    }
    .section-layout-ele1 {
        grid-template-columns: 1fr;
    }
    .tempo-compact-content {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .weather-cities-grid:has(.card-tempo-wrapper:nth-child(2)) {
        grid-template-columns: 1fr;
    }
    .tempo-compact-today {
        justify-content: space-between;
    }
    .tempo-compact-forecast {
        border-left: none;
        border-top: 1px solid var(--site-border-light);
        padding-left: 0;
        padding-top: 8px;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .header-mini-weather {
        display: none;
    }
    .pos-stories {
        margin: 10px 0;
    }
    .env-stories {
        padding: 10px;
        gap: 12px;
    }
    .item-stories {
        flex: 0 0 64px;
        width: 64px;
    }
    .thumb-stories {
        width: 58px;
        height: 58px;
    }
    .tempo-compact-today {
        flex-wrap: wrap;
        gap: 8px;
    }
    .tempo-compact-metrics {
        border-left: none;
        padding-left: 0;
        flex-wrap: wrap;
        gap: 4px;
        width: 100%;
    }
    .tempo-compact-metrics .m-item {
        font-size: 10px;
        padding: 2px 6px;
    }
    .tempo-compact-forecast {
        gap: 4px;
        overflow-x: auto;
    }
    .forecast-compact-day {
        min-width: 44px;
        padding: 3px 4px;
        flex: 1;
    }
}

/* 10. Floating Slidebar Inferior (Dock/Slide-up bar acionada pelo scroll) */
.site-slidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.site-slidebar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.slidebar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.slidebar-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 20px;
    flex-shrink: 0;
}
.slidebar-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
    animation: slidebarPulse 1.8s infinite ease-in-out;
}
@keyframes slidebarPulse {
    0% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.slidebar-badge-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #b91c1c;
    text-transform: uppercase;
}
.slidebar-article {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}
.slidebar-thumb {
    width: 52px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #e2e8f0;
}
.slidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slidebar-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.slidebar-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--site-primary);
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.slidebar-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--site-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}
.slidebar-article:hover .slidebar-title {
    color: var(--site-primary);
}
.slidebar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-slidebar-top {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    background: var(--site-primary);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-slidebar-top:hover {
    background: var(--site-primary-dark);
    transform: translateY(-1px);
}
.btn-slidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.btn-slidebar-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

@media (max-width: 768px) {
    .slidebar-container {
        padding: 8px 12px;
        gap: 10px;
    }
    .slidebar-thumb {
        display: none;
    }
    .btn-slidebar-top span {
        display: none;
    }
    .btn-slidebar-top {
        padding: 7px;
        border-radius: 50%;
    }
}

/* ==========================================================================
   11. OFF-CANVAS DRAWER (Menu Lateral para Desktop e Mobile)
   ========================================================================== */
.site-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.site-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

body.drawer-open {
    overflow: hidden;
}

.site-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 88vw;
    background: #f8fafc;
    z-index: 2010;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.site-drawer.is-active {
    transform: translateX(0);
}

/* Cabeçalho do Drawer */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
}
.drawer-header .site-logo img {
    max-height: 40px;
    width: auto;
}
.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Barra Superior de Redes Sociais no Estilo Cards Arredondados */
.drawer-social-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 14px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.drawer-social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}
.drawer-social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
.drawer-social-card.is-facebook {
    color: #1877f2;
}
.drawer-social-card.is-facebook:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
}
.drawer-social-card.is-x {
    color: #0f172a;
}
.drawer-social-card.is-x:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.drawer-social-card.is-instagram {
    color: #e1306c;
}
.drawer-social-card.is-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
    border-color: transparent;
}
.drawer-social-card.is-youtube {
    color: #ff0000;
}
.drawer-social-card.is-youtube:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
}
.drawer-social-card.is-whatsapp {
    color: #25d366;
}
.drawer-social-card.is-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

/* Corpo do Drawer & Lista Linear de Menus */
.drawer-body {
    flex: 1;
    background: #f8fafc;
    padding: 0;
}
.drawer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.drawer-menu-item {
    border-bottom: 1px solid #eef2f6;
}
.drawer-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 20px;
    width: 100%;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}
.drawer-menu-link:hover {
    background: #ffffff;
    color: var(--site-primary);
}
.drawer-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #64748b;
    flex-shrink: 0;
    transition: color 0.15s ease;
}
.drawer-menu-link:hover .drawer-menu-icon {
    color: var(--site-primary);
}
.drawer-menu-label {
    flex: 1;
}
.drawer-chevron-icon {
    color: #94a3b8;
    transition: transform 0.2s ease;
}
.drawer-menu-item.is-open .drawer-chevron-icon {
    transform: rotate(180deg);
}

/* Submenus (Editorias e Páginas) */
.drawer-submenu-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px 52px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    display: none;
}
.drawer-menu-item.is-open .drawer-submenu-list {
    display: block;
}
.drawer-submenu-link {
    display: block;
    padding: 8px 16px 8px 0;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}
.drawer-submenu-link:hover {
    color: var(--site-primary);
}

/* Rodapé do Drawer */
.drawer-footer {
    padding: 18px 20px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
    font-size: 12px;
    color: var(--site-text-muted);
    line-height: 1.5;
}
.drawer-footer strong {
    color: var(--site-text);
}

/* ==========================================================================
   16. PÁGINAS DEDICADAS DO PORTAL (ÚLTIMAS, EDITORIAS, MUNICÍPIOS, COLUNAS, VÍDEOS, GALERIAS, CONTATO)
   ========================================================================== */

/* Cabeçalho Padronizado das Páginas de Seção */
.portal-category-header {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: var(--site-shadow-sm);
}
.category-header-pill {
    display: inline-block;
    padding: 3px 10px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}
.category-header-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--site-text);
    margin: 0 0 6px 0;
    line-height: 1.25;
}
.category-header-desc {
    font-size: 14px;
    color: var(--site-text-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 820px;
}

/* Chips de Filtro Rápido */
.category-filter-chips {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-filter-chips::-webkit-scrollbar {
    display: none;
}
.category-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--site-transition);
}
.category-chip:hover {
    background: #e2e8f0;
    color: var(--site-text);
}
.category-chip.is-active {
    background: var(--site-primary);
    border-color: var(--site-primary);
    color: #ffffff;
}

/* Estado Vazio */
.page-empty-state {
    background: #ffffff;
    border: 1px dashed var(--site-border);
    border-radius: var(--site-radius);
    padding: 48px 24px;
    text-align: center;
    color: var(--site-text-muted);
}
.page-empty-state svg {
    margin-bottom: 14px;
    stroke: #94a3b8;
}
.page-empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--site-text);
    margin: 0 0 6px 0;
}
.page-empty-state p {
    font-size: 14px;
    margin: 0 0 16px 0;
}
.btn-back-filter {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
}

/* Diretório de Editorias & Municípios */
.editorials-directory-grid,
.municipalities-directory-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.editorial-card-box,
.municipality-card-box {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 20px;
    box-shadow: var(--site-shadow-sm);
}
.editorial-card-header,
.municipality-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.editorial-card-info,
.municipality-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.editorial-color-strip {
    width: 6px;
    height: 38px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}
.municipality-icon-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: var(--site-primary);
    border-radius: 50%;
    flex-shrink: 0;
}
.editorial-card-title,
.municipality-name {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
}
.editorial-card-title a,
.municipality-name a {
    color: var(--site-text);
    text-decoration: none;
    transition: var(--site-transition);
}
.editorial-card-title a:hover,
.municipality-name a:hover {
    color: var(--site-primary);
}
.editorial-card-desc {
    font-size: 13px;
    color: var(--site-text-muted);
    margin: 4px 0 0 0;
}
.municipality-state {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 3px;
    margin-top: 3px;
}
.editorial-count-badge,
.municipality-badge-count {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid var(--site-border);
    padding: 4px 10px;
    border-radius: 14px;
    white-space: nowrap;
}

.editorial-news-mini-list,
.municipality-news-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}
.editorial-mini-item a,
.municipality-feed-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--site-text);
    padding: 6px 0;
    border-bottom: 1px solid #f8fafc;
    transition: var(--site-transition);
}
.editorial-mini-item a:hover .editorial-mini-title,
.municipality-feed-item a:hover .mfeed-title {
    color: var(--site-primary);
}
.editorial-mini-thumb,
.mfeed-thumb {
    width: 64px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}
.editorial-mini-thumb img,
.mfeed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.editorial-mini-content,
.mfeed-body {
    flex: 1;
}
.editorial-mini-title,
.mfeed-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 3px 0;
}
.editorial-mini-date,
.mfeed-date {
    font-size: 11px;
    color: var(--site-text-muted);
}
.editorial-card-footer,
.municipality-card-footer,
.col-card-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f8fafc;
    text-align: right;
}
.editorial-view-all,
.municipality-view-all,
.col-view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--site-primary);
    text-decoration: none;
}
.editorial-view-all:hover,
.municipality-view-all:hover,
.col-view-all:hover {
    text-decoration: underline;
}

/* Diretório de Colunistas */
.columnists-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.columnist-full-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 20px;
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
}
.columnist-full-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.col-author-photo,
.col-author-fallback {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--site-primary);
}
.col-author-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
}
.col-author-info {
    flex: 1;
}
.col-author-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
}
.col-author-name a {
    color: var(--site-text);
    text-decoration: none;
    transition: var(--site-transition);
}
.col-author-name a:hover {
    color: var(--site-primary);
}
.col-author-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--site-primary);
    margin-top: 2px;
}
.col-author-bio {
    font-size: 12px;
    color: var(--site-text-muted);
    margin: 6px 0 0 0;
    line-height: 1.4;
}
.col-articles-feed {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    flex: 1;
}
.col-feed-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    margin-bottom: 8px;
}
.col-article-snippet {
    margin-bottom: 8px;
}
.col-article-snippet a {
    display: block;
    text-decoration: none;
    color: var(--site-text);
}
.col-article-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    transition: var(--site-transition);
}
.col-article-snippet a:hover .col-article-title {
    color: var(--site-primary);
}
.col-article-date {
    font-size: 11px;
    color: var(--site-text-muted);
}

/* Perfil Individual de Colunista */
.columnist-profile-masthead {
    display: flex;
    align-items: center;
    gap: 20px;
}
.col-profile-avatar,
.col-profile-avatar-fallback {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--site-primary);
}
.col-profile-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
}
.col-profile-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--site-text);
    margin: 4px 0 2px 0;
}
.col-profile-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--site-primary);
}
.col-profile-bio {
    font-size: 14px;
    color: var(--site-text-muted);
    margin: 6px 0 0 0;
    line-height: 1.5;
}

/* Canal de Vídeos & Galerias */
.videos-gallery-grid,
.galleries-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.multimedia-video-card,
.gallery-album-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.multimedia-video-card:hover,
.gallery-album-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--site-shadow-md);
}
.multimedia-video-card a,
.gallery-album-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.video-thumb-container,
.album-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}
.video-thumb-container img,
.album-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.multimedia-video-card:hover .video-thumb-container img,
.gallery-album-card:hover .album-thumb-container img {
    transform: scale(1.04);
}
.video-card-body,
.album-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.video-card-title,
.album-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--site-text);
    line-height: 1.35;
    margin: 0 0 6px 0;
}
.video-card-desc {
    font-size: 13px;
    color: var(--site-text-muted);
    line-height: 1.4;
    margin: 0 0 10px 0;
    flex: 1;
}
.video-card-date,
.album-card-date {
    font-size: 12px;
    color: var(--site-text-muted);
}
.album-card-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

/* Enquetes Arquivo */
.polls-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.poll-index-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 20px;
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
}
.poll-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.poll-status-pill {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}
.poll-status-pill.is-open {
    background: #dcfce7;
    color: #15803d;
}
.poll-status-pill.is-closed {
    background: #f1f5f9;
    color: #64748b;
}
.poll-ends-text {
    font-size: 11px;
    color: var(--site-text-muted);
}
.poll-index-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px 0;
}
.poll-index-title a {
    color: var(--site-text);
    text-decoration: none;
}
.poll-index-title a:hover {
    color: var(--site-primary);
}
.poll-index-desc {
    font-size: 13px;
    color: var(--site-text-muted);
    line-height: 1.45;
    margin: 0 0 14px 0;
    flex: 1;
}
.poll-index-cover {
    width: 100%;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
}
.poll-index-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.poll-index-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.poll-votes-total {
    font-size: 12px;
    color: #64748b;
}
.btn-participate-poll {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--site-transition);
}
.btn-participate-poll:hover {
    opacity: 0.9;
}

/* Fale Conosco */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.contact-channel-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 16px;
    text-decoration: none;
    box-shadow: var(--site-shadow-sm);
    transition: var(--site-transition);
}
.contact-channel-card:hover {
    border-color: var(--site-primary);
    transform: translateY(-2px);
}
.contact-channel-card.is-whatsapp .channel-icon-circle {
    background: #25d366;
    color: #ffffff;
}
.contact-channel-card.is-email .channel-icon-circle {
    background: var(--site-primary);
    color: #ffffff;
}
.channel-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.channel-content {
    display: flex;
    flex-direction: column;
}
.channel-content strong {
    font-size: 14px;
    color: var(--site-text);
}
.channel-content span {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.channel-content em {
    font-style: normal;
    font-size: 11px;
    color: var(--site-primary);
    font-weight: 600;
    margin-top: 2px;
}

.contact-form-box {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 24px;
    box-shadow: var(--site-shadow-sm);
}
.contact-form-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--site-text);
    margin: 0 0 4px 0;
}
.contact-form-sub {
    font-size: 13px;
    color: var(--site-text-muted);
    margin: 0 0 20px 0;
}
.site-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group-item label {
    font-size: 13px;
    font-weight: 600;
    color: var(--site-text);
}
.form-group-item input,
.form-group-item select,
.form-group-item textarea {
    padding: 10px 14px;
    border: 1px solid var(--site-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
    color: var(--site-text);
    outline: none;
    transition: var(--site-transition);
}
.form-group-item input:focus,
.form-group-item select:focus,
.form-group-item textarea:focus {
    border-color: var(--site-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.btn-send-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--site-primary);
    color: #ffffff;
    border: 0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    transition: var(--site-transition);
}
.btn-send-contact:hover {
    opacity: 0.9;
}
.contact-alert-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 14px 18px;
    border-radius: var(--site-radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}
.contact-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 14px 18px;
    border-radius: var(--site-radius);
    margin-bottom: 20px;
    font-size: 13px;
}
.contact-alert-error ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

@media (max-width: 768px) {
    .columnists-directory-grid,
    .videos-gallery-grid,
    .galleries-archive-grid,
    .polls-archive-grid,
    .contact-channels-grid,
    .form-row-duo {
        grid-template-columns: 1fr;
    }
    .columnist-profile-masthead {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   17. SIDEBAR LATERAL PADRÃO PARA PÁGINAS SECUNDÁRIAS (ESTILO ELE1)
   ========================================================================== */
.standard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-header-link {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: var(--site-primary);
    text-decoration: none;
}
.widget-header-link:hover {
    text-decoration: underline;
}

/* Widget Previsão do Tempo Compacta */
.widget-tempo-lateral {
    background: #ffffff;
}
.tempo-lateral-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--site-border-light);
}
.tempo-lateral-city {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--site-text);
}
.tempo-lateral-city svg {
    color: var(--site-primary);
}
.tempo-lateral-cond {
    font-size: 11px;
    color: var(--site-text-muted);
    font-weight: 600;
}
.tempo-lateral-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.tempo-lateral-icon {
    flex-shrink: 0;
}
.tempo-lateral-temp {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.tempo-current-val {
    font-family: var(--site-heading);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    color: var(--site-text);
}
.tempo-minmax-pills {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
}
.tempo-minmax-pills .pill-max {
    color: #dc2626;
}
.tempo-minmax-pills .pill-min {
    color: #2563eb;
}
.tempo-lateral-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid var(--site-border-light);
    margin-bottom: 12px;
}
.tempo-lateral-metrics .metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}
.tempo-lateral-metrics .m-lbl {
    color: var(--site-text-muted);
}
.tempo-lateral-metrics .m-val {
    color: var(--site-text);
    font-weight: 700;
}
.tempo-lateral-forecast {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    text-align: center;
}
.forecast-mini-day {
    padding: 6px 4px;
    background: #f8fafc;
    border-radius: 4px;
    border: 1px solid var(--site-border-light);
}
.f-mini-name {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--site-text-muted);
    margin-bottom: 2px;
}
.f-mini-temp {
    font-size: 12px;
    font-weight: 800;
    color: var(--site-text);
}

/* Widget Economia & Cotações */
.cotacoes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.cotacao-card-mini {
    padding: 9px 10px;
    background: #f8fafc;
    border: 1px solid var(--site-border-light);
    border-radius: 6px;
    transition: var(--site-transition);
}
.cotacao-card-mini:hover {
    background: #ffffff;
    border-color: var(--site-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.cotacao-mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.cotacao-coin-name {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--site-text-muted);
}
.cotacao-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.2;
}
.cotacao-badge.is-up {
    background: #dcfce7;
    color: #15803d;
}
.cotacao-badge.is-down {
    background: #fee2e2;
    color: #b91c1c;
}
.cotacao-val {
    font-size: 13px;
    font-weight: 800;
    color: var(--site-text);
}

/* Widget Blogs & Colunas Sidebar */
.sidebar-columns-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-column-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--site-border-light);
}
.sidebar-column-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.columnist-avatar-wrap {
    flex-shrink: 0;
    text-decoration: none;
}
.columnist-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--site-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.columnist-avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.sidebar-column-info {
    flex: 1;
    min-width: 0;
}
.sidebar-column-author {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--site-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}
.sidebar-column-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--site-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-column-title:hover {
    color: var(--site-primary);
}
.sidebar-column-desc {
    font-size: 11px;
    color: var(--site-text-muted);
    line-height: 1.3;
}

/* Widget Enquete do Leitor Sidebar */
.sidebar-poll-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-poll-question {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--site-text);
    margin: 0;
}
.sidebar-poll-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar-poll-option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 4px;
    font-size: 12px;
    color: var(--site-text);
    border: 1px solid var(--site-border-light);
}
.sidebar-poll-option-item .opt-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid var(--site-primary);
    flex-shrink: 0;
}
.btn-sidebar-poll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: var(--site-primary);
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--site-transition);
    margin-top: 4px;
}
.btn-sidebar-poll:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* Loterias Links Oficiais */
.lottery-official-link {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--site-border-light);
    text-align: right;
}
.lottery-official-link a {
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.lottery-official-link a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   18. SEÇÕES ESPECIAIS DISTRIBUÍDAS PELA HOME (MAIS LIDAS, CIDADES, LOTERIAS COM ABAS)
   ========================================================================== */

/* 18.1 Ranking Mais Lidas (Grid Editorial 5 colunas) */
.portal-most-read-section {
    margin: 28px 0 24px;
    width: 100%;
}
.portal-most-read-section .sec-icon {
    margin-right: 6px;
}
.most-read-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}
.most-read-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 14px 12px;
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.most-read-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--site-shadow-md);
}
.rank-badge-wrap {
    margin-bottom: 8px;
}
.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    color: var(--site-primary);
    opacity: 0.85;
    font-variant-numeric: tabular-nums;
}
.rank-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.rank-hat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--site-primary);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}
.rank-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}
.rank-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--site-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rank-title:hover {
    color: var(--site-primary);
}
.rank-meta {
    font-size: 11px;
    color: var(--site-text-muted);
    margin-top: 8px;
    display: block;
}

/* 18.2 Cidades em Foco (Grid de Municípios) */
.portal-cities-section {
    margin: 32px 0;
    width: 100%;
}
.portal-cities-section .sec-icon {
    margin-right: 6px;
}
.cities-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
}
.city-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 14px;
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.city-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--site-shadow-md);
}
.city-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--site-border-light);
}
.city-badge {
    font-size: 12px;
    font-weight: 800;
    color: var(--site-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.city-uf {
    font-size: 11px;
    font-weight: 700;
    color: var(--site-text-muted);
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}
.city-news-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.city-news-thumb {
    width: 100%;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #f1f5f9;
}
.city-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.city-card:hover .city-news-thumb img {
    transform: scale(1.03);
}
.city-news-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--site-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.city-news-title:hover {
    color: var(--site-primary);
}
.city-news-date {
    font-size: 11px;
    color: var(--site-text-muted);
    margin-top: 6px;
    display: block;
}
.city-empty-state {
    font-size: 12px;
    color: var(--site-text-muted);
    font-style: italic;
    padding: 16px 0;
    flex: 1;
}
.city-card-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--site-border-light);
}
.city-view-all {
    font-size: 11px;
    font-weight: 700;
    color: var(--site-primary);
    text-decoration: none;
}
.city-view-all:hover {
    text-decoration: underline;
}

/* 18.3 Loterias Caixa Oficial com Abas (Tabs) */
.portal-lotteries-section {
    margin: 30px 0;
    width: 100%;
}
.lotteries-box-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 18px 20px;
    box-shadow: var(--site-shadow-sm);
}
.lotteries-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--site-border-light);
    margin-bottom: 16px;
}
.lotteries-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lotteries-icon {
    font-size: 24px;
    line-height: 1;
}
.lotteries-heading {
    font-size: 16px;
    font-weight: 800;
    color: var(--site-text);
    margin: 0;
    line-height: 1.2;
}
.lotteries-subheading {
    font-size: 11px;
    color: var(--site-text-muted);
    display: block;
}
.lotteries-tabs-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.lottery-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--site-border-light);
    border-radius: 20px;
    background: #f8fafc;
    color: var(--site-text);
    cursor: pointer;
    transition: all 0.2s ease;
}
.lottery-tab-btn .tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.lottery-tab-btn:hover {
    border-color: var(--lot-color);
    color: var(--lot-color);
    background: #ffffff;
}
.lottery-tab-btn.is-active {
    background: var(--lot-color);
    color: #ffffff;
    border-color: var(--lot-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.lottery-tab-btn.is-active .tab-dot {
    background: #ffffff !important;
}
.lotteries-tabs-content {
    min-height: 80px;
}
.lottery-tab-pane {
    display: none;
    animation: fadeInTab 0.25s ease-in-out;
}
.lottery-tab-pane.is-active {
    display: block;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}
.lottery-pane-grid {
    display: grid;
    grid-template-columns: 220px 1fr 210px;
    gap: 20px;
    align-items: center;
}
.lottery-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lottery-name-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lottery-meta {
    font-size: 12px;
    color: var(--site-text);
    margin-top: 2px;
}
.lottery-meta strong {
    font-weight: 700;
}
.lottery-prize-highlight {
    margin-top: 4px;
}
.prize-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--site-text-muted);
}
.prize-val {
    font-size: 18px;
    font-weight: 900;
    color: var(--site-text);
    letter-spacing: -0.5px;
}
.lottery-numbers-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    border-left: 1px solid var(--site-border-light);
    border-right: 1px solid var(--site-border-light);
}
.numbers-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--site-text-muted);
    margin-bottom: 8px;
}
.lottery-balls-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.lottery-ball-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid;
    font-size: 13px;
    font-weight: 800;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.lottery-action-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}
.btn-check-lottery {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.2s ease;
}
.btn-check-lottery:hover {
    background: var(--lot-color);
    color: #ffffff !important;
}
.lottery-disclaimer {
    font-size: 10px;
    color: var(--site-text-muted);
}

/* Responsividade das seções da home */
@media (max-width: 1024px) {
    .most-read-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .cities-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lottery-pane-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }
    .lottery-info-col {
        align-items: center;
    }
    .lottery-numbers-col {
        border-left: none;
        border-right: none;
        padding: 10px 0;
        border-top: 1px solid var(--site-border-light);
        border-bottom: 1px solid var(--site-border-light);
    }
    .lottery-action-col {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .most-read-cards-grid {
        grid-template-columns: 1fr;
    }
    .cities-cards-grid {
        grid-template-columns: 1fr;
    }
    .lotteries-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .lotteries-tabs-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        flex-wrap: nowrap;
    }
    .lottery-tab-btn {
        flex-shrink: 0;
        font-size: 11px;
        padding: 5px 10px;
    }
    .lottery-ball-tab {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ---- Loterias Caixa: visual de bilhetes (Federal) ---- */
.lottery-tickets-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}
.lottery-ticket-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border: 1px solid var(--site-border-light);
    border-top: 3px solid var(--lot-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.lottery-ticket-pos {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--site-text-muted);
    white-space: nowrap;
}
.lottery-ticket-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--lot-color);
    letter-spacing: 0.6px;
    font-variant-numeric: tabular-nums;
}
.lottery-ticket-prize {
    font-size: 10px;
    font-weight: 800;
    color: #15803d;
    white-space: nowrap;
}
.lottery-ticket-city {
    font-size: 9px;
    color: var(--site-text-muted);
    text-align: center;
    line-height: 1.3;
}
@media (max-width: 640px) {
    .lottery-tickets-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 420px) {
    .lottery-tickets-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.lottery-balls-label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--site-text-muted);
    margin-bottom: 6px;
}
.lottery-tickets-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}
.lottery-ticket-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid var(--site-border-light);
    border-left: 3px solid var(--lottery-accent);
    border-radius: 6px;
    background: #ffffff;
}
.lottery-ticket-row .lottery-ticket-pos {
    min-width: 34px;
    flex-shrink: 0;
}
.lottery-ticket-row .lottery-ticket-num {
    flex: 1;
    font-size: 13px;
}
.lottery-ticket-row .lottery-ticket-prize {
    white-space: nowrap;
}

/* ---- Noticias sem foto de capa: sem imagem/placeholder, rotulos fixos no texto ---- */
.news-card-hat-flat,
.super-hat-flat,
.section-master-badge-flat {
    position: static;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 8px;
}
.center-slide-info-plain {
    position: static;
    min-height: 380px;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.center-slide-info-plain .center-slide-title {
    color: var(--site-text);
    text-shadow: none;
}

/* ============================================================
   8. Web Stories � Visualizador (estilo Instagram / Ele1)
   ============================================================ */
.item-stories.story-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 76px;
    flex: 0 0 76px;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: var(--site-text);
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.env-stories .story-btn .thumb-stories { margin-bottom: 6px; }

/* Story j� visualizado (cookie popstorie_seen_) */
.story-btn.storie-visto .thumb-stories {
    border-color: var(--site-border);
    opacity: 0.72;
    filter: grayscale(0.55);
}
.story-btn.storie-visto .titulo-stories { color: var(--site-text-muted); }

/* ---- Overlay / visualizador ---- */
#storytime { display: contents; }
.storytime {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}
.storytime.open { display: block; }
.story-cover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}
.story-window {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity .35s ease;
}
.story-window.visible { opacity: 1; }

/* Setas (�reas clic�veis) */
.story-arrow {
    position: absolute;
    top: 12%;
    height: 78%;
    width: 50%;
    z-index: 5;
    cursor: pointer;
    border: none;
    padding: 0;
    background: transparent;
}
.story-arrow.storie-left { left: 0; }
.story-arrow.storie-right { right: 0; }
.story-arrow:hover { background: rgba(255, 255, 255, 0.04); }

/* Barra de progresso */
.story-timeline {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 3px;
    display: flex;
    gap: 5px;
    padding: 0 18px;
    z-index: 8;
}
.story-timeline-item {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .35);
    overflow: hidden;
}
.story-timeline-line-active {
    display: block;
    height: 100%;
    width: 0;
    background: #ffffff;
}

/* Barra superior (navega��o) */
.story-nav {
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px;
    color: #fff;
}
.story-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.story-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    flex: 0 0 auto;
}
.story-text {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.story-date {
    font-size: 13px;
    opacity: .85;
    white-space: nowrap;
}
.story-nav-right .story-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-nav-right .story-close::before { content: "\00D7"; }

/* M�dia */
.story-item-ele1 {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.story-item-ele1::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent);
    pointer-events: none;
}
.story-item-ele1 .story-next {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    background: #111111;
}

/* Informa��es inferiores */
.pos-info-storie {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 24px 5% 34px;
    text-align: center;
}
.info-storie {
    max-width: 720px;
    margin: 0 auto;
    color: #fff;
}
.info-storie .chapeu-storie-d {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.info-storie .titulo-storie-d {
    display: block;
    margin-top: 14px;
    font-family: var(--site-heading);
    font-size: clamp(20px, 3.4vw, 34px);
    font-weight: var(--site-heading-weight);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    opacity: 0;
    transition: opacity .8s ease;
}
.info-storie .credito-storie-d {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    opacity: .85;
}
.info-storie .url-storie {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 28px;
    border-radius: 999px;
    border: 1px solid #fff;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}
.info-storie .url-storie:hover { background: #fff; color: #000; }
.info-storie.is-anim .titulo-storie-d { opacity: 1; }

/* Responsivo */
@media (max-width: 640px) {
    .story-btn { width: 64px; flex: 0 0 64px; }
    .story-item-ele1 .story-next { height: 100%; width: 100%; object-fit: cover; }
    .story-nav { top: 18px; }
    .story-text { max-width: 42vw; }
    .info-storie { padding: 18px 4% 28px; }
}
