/**
 * assets/css/noticias_temas.css
 * SISTEMA VISUAL PROFISSIONAL DE TEMAS PARA O MÓDULO DE NOTÍCIAS
 * 4 Temas Oficiais: Portal, Jornal, Moderno e Dark
 * Compatível com os 4 Layouts Estruturais (16 Combinações Independentes)
 */

/* ==========================================================================
   1. DESIGN TOKENS BASE / DEFAULT
   ========================================================================== */
:root {
    /* Cores Padrão (Fallback Portal) */
    --news-primary: #0f172a;
    --news-primary-hover: #1e293b;
    --news-primary-light: #f1f5f9;
    --news-secondary: #2563eb;
    --news-secondary-hover: #1d4ed8;
    --news-accent: #f97316;
    --news-accent-hover: #ea580c;

    --news-bg: #ffffff;
    --news-bg-secondary: #f8fafc;
    --news-bg-card: #ffffff;
    --news-bg-card-hover: #ffffff;
    --news-bg-header: #ffffff;
    --news-bg-footer: #0f172a;

    --news-text: #0f172a;
    --news-text-secondary: #475569;
    --news-text-muted: #94a3b8;
    --news-text-inverse: #ffffff;

    --news-border: #e2e8f0;
    --news-border-light: #f1f5f9;
    --news-border-focus: #2563eb;

    --news-radius-sm: 4px;
    --news-radius-md: 8px;
    --news-radius-lg: 12px;
    --news-radius-full: 9999px;

    --news-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --news-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --news-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --news-shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.12);

    --news-font-title: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --news-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --news-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --news-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --news-container-max: 1280px;
}

/* ==========================================================================
   2. TEMA 1 — PORTAL (Moderno, Institucional, Alta Densidade Editorial)
   ========================================================================== */
[data-news-theme="portal"],
.news-theme-portal {
    --news-primary: #0f172a;
    --news-primary-hover: #1e293b;
    --news-primary-light: #f1f5f9;
    --news-secondary: #2563eb;
    --news-secondary-hover: #1d4ed8;
    --news-accent: #f97316;
    --news-accent-hover: #ea580c;

    --news-bg: #ffffff;
    --news-bg-secondary: #f8fafc;
    --news-bg-card: #ffffff;
    --news-bg-card-hover: #ffffff;
    --news-bg-header: #ffffff;
    --news-bg-footer: #0f172a;

    --news-text: #0f172a;
    --news-text-secondary: #475569;
    --news-text-muted: #94a3b8;
    --news-text-inverse: #ffffff;

    --news-border: #e2e8f0;
    --news-border-light: #f1f5f9;
    --news-border-focus: #2563eb;

    --news-radius-sm: 4px;
    --news-radius-md: 8px;
    --news-radius-lg: 12px;

    --news-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --news-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.06);
    --news-shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);

    --news-font-title: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --news-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   3. TEMA 2 — JORNAL (Tradicional, Editorial, Elegante, Serifas Clássicas)
   ========================================================================== */
[data-news-theme="jornal"],
.news-theme-jornal {
    --news-primary: #8b0000; /* Deep Crimson */
    --news-primary-hover: #6b0000;
    --news-primary-light: #fef2f2;
    --news-secondary: #1e293b;
    --news-secondary-hover: #0f172a;
    --news-accent: #b91c1c;
    --news-accent-hover: #991b1b;

    --news-bg: #fafaf9; /* Papel de jornal aquecido */
    --news-bg-secondary: #f5f5f4;
    --news-bg-card: #ffffff;
    --news-bg-card-hover: #fafaf9;
    --news-bg-header: #ffffff;
    --news-bg-footer: #1c1917;

    --news-text: #1c1917; /* Tinta preta pura */
    --news-text-secondary: #57534e;
    --news-text-muted: #78716c;
    --news-text-inverse: #ffffff;

    --news-border: #d6d3d1;
    --news-border-light: #e7e5e4;
    --news-border-focus: #8b0000;

    --news-radius-sm: 2px;
    --news-radius-md: 3px;
    --news-radius-lg: 4px;

    --news-shadow-sm: none;
    --news-shadow-md: 0 1px 3px rgba(0, 0, 0, 0.04);
    --news-shadow-lg: 0 2px 8px rgba(0, 0, 0, 0.06);

    --news-font-title: "Merriweather", "Georgia", "Times New Roman", serif;
    --news-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   4. TEMA 3 — MODERNO (Digital, Leve, Contemporâneo, Arredondado)
   ========================================================================== */
[data-news-theme="moderno"],
.news-theme-moderno {
    --news-primary: #4f46e5; /* Indigo Digital */
    --news-primary-hover: #4338ca;
    --news-primary-light: #eef2ff;
    --news-secondary: #06b6d4;
    --news-secondary-hover: #0891b2;
    --news-accent: #ec4899;
    --news-accent-hover: #db2777;

    --news-bg: #f8fafc;
    --news-bg-secondary: #f1f5f9;
    --news-bg-card: #ffffff;
    --news-bg-card-hover: #ffffff;
    --news-bg-header: rgba(255, 255, 255, 0.9);
    --news-bg-footer: #0f172a;

    --news-text: #0f172a;
    --news-text-secondary: #475569;
    --news-text-muted: #94a3b8;
    --news-text-inverse: #ffffff;

    --news-border: #e2e8f0;
    --news-border-light: #f1f5f9;
    --news-border-focus: #4f46e5;

    --news-radius-sm: 6px;
    --news-radius-md: 12px;
    --news-radius-lg: 18px;

    --news-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
    --news-shadow-md: 0 6px 18px rgba(79, 70, 229, 0.08);
    --news-shadow-lg: 0 16px 32px rgba(79, 70, 229, 0.12);

    --news-font-title: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --news-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   5. TEMA 4 — DARK (Dark Mode Premium, Alto Contraste, Tecnológico)
   ========================================================================== */
[data-news-theme="dark"],
.news-theme-dark {
    --news-primary: #38bdf8; /* Sky Neon */
    --news-primary-hover: #7dd3fc;
    --news-primary-light: rgba(56, 189, 248, 0.12);
    --news-secondary: #818cf8;
    --news-secondary-hover: #a5b4fc;
    --news-accent: #f59e0b;
    --news-accent-hover: #fbbf24;

    --news-bg: #0b0f17; /* True Dark */
    --news-bg-secondary: #111827;
    --news-bg-card: #1e293b;
    --news-bg-card-hover: #243147;
    --news-bg-header: #0f172a;
    --news-bg-footer: #05080e;

    --news-text: #f8fafc; /* Texto Claro Brilhante */
    --news-text-secondary: #94a3b8;
    --news-text-muted: #64748b;
    --news-text-inverse: #0b0f17;

    --news-border: #334155;
    --news-border-light: #1e293b;
    --news-border-focus: #38bdf8;

    --news-radius-sm: 6px;
    --news-radius-md: 10px;
    --news-radius-lg: 14px;

    --news-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
    --news-shadow-md: 0 8px 20px rgba(0, 0, 0, 0.5);
    --news-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.65);

    --news-font-title: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --news-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   6. COMPONENTES VISUAIS COMPARTILHADOS E RESPONSIVOS
   ========================================================================== */

/* Base e Tipografia */
.news-portal-container {
    width: 100%;
    max-width: var(--news-container-max);
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: var(--news-font-body);
    color: var(--news-text);
}

.news-heading-1 {
    font-family: var(--news-font-title);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--news-text);
    margin: 0 0 12px 0;
}

.news-heading-2 {
    font-family: var(--news-font-title);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--news-text);
    margin: 0 0 10px 0;
}

.news-heading-3 {
    font-family: var(--news-font-title);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--news-text);
    margin: 0 0 8px 0;
}

.news-lead {
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.6;
    color: var(--news-text-secondary);
    margin: 0 0 16px 0;
}

/* Super Manchete */
.news-super-manchete {
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-lg);
    overflow: hidden;
    box-shadow: var(--news-shadow-md);
    transition: var(--news-transition);
    display: flex;
    flex-direction: column;
}

.news-super-manchete:hover {
    box-shadow: var(--news-shadow-hover);
    border-color: var(--news-border-focus);
}

.news-super-manchete-img {
    width: 100%;
    height: clamp(220px, 35vw, 420px);
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-super-manchete:hover .news-super-manchete-img {
    transform: scale(1.02);
}

.news-super-manchete-content {
    padding: clamp(16px, 3vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Cards Padrão */
.news-card {
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-md);
    overflow: hidden;
    box-shadow: var(--news-shadow-sm);
    transition: var(--news-transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--news-shadow-md);
    border-color: var(--news-border-focus);
}

.news-card-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    background: var(--news-bg-secondary);
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-thumb {
    transform: scale(1.03);
}

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-family: var(--news-font-title);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--news-text);
    margin: 0 0 8px 0;
    transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
    color: var(--news-primary);
}

.news-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--news-text-secondary);
    margin: 0 0 12px 0;
    flex: 1;
}

/* Card Horizontal */
.news-card-horizontal {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-md);
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: var(--news-transition);
    align-items: center;
}

@media (max-width: 480px) {
    .news-card-horizontal {
        grid-template-columns: 100px 1fr;
        gap: 10px;
        padding: 8px;
    }
}

.news-card-horizontal:hover {
    box-shadow: var(--news-shadow-sm);
    border-color: var(--news-border-focus);
}

.news-card-horizontal-img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    border-radius: var(--news-radius-sm);
    display: block;
}

/* Badges e Categorias */
.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--news-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-badge-primary {
    background: var(--news-primary);
    color: var(--news-text-inverse);
}

.news-badge-accent {
    background: var(--news-accent);
    color: #ffffff;
}

.news-badge-outline {
    background: transparent;
    border: 1px solid var(--news-border);
    color: var(--news-text-secondary);
}

/* Meta Data (Autor, Data, Visualizações, Leitura) */
.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--news-text-secondary);
}

.news-meta-author {
    font-weight: 600;
    color: var(--news-text);
}

.news-meta-divider {
    color: var(--news-text-muted);
}

/* Widgets da Sidebar */
.news-widget {
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-md);
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: var(--news-shadow-sm);
}

.news-widget-title {
    font-family: var(--news-font-title);
    font-size: 16px;
    font-weight: 800;
    color: var(--news-text);
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--news-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Ranking Mais Lidas */
.news-ranking-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--news-border-light);
    text-decoration: none;
    color: inherit;
}

.news-ranking-row:last-child {
    border-bottom: none;
}

.news-ranking-number {
    font-family: var(--news-font-title);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    color: var(--news-primary);
    min-width: 24px;
    text-align: center;
}

.news-ranking-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--news-text);
    transition: color 0.2s;
}

.news-ranking-row:hover .news-ranking-text {
    color: var(--news-primary);
}

/* Container de Anúncios Integrados (Respeita 100% o Módulo de Publicidade) */
.news-ad-wrapper {
    background: var(--news-bg-secondary);
    border: 1px dashed var(--news-border);
    border-radius: var(--news-radius-md);
    padding: 12px;
    margin: 24px 0;
    text-align: center;
    box-sizing: border-box;
}

.news-ad-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--news-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

/* Navegação e Paginação */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--news-radius-sm);
    border: 1px solid var(--news-border);
    background: var(--news-bg-card);
    color: var(--news-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--news-transition);
}

.news-page-btn:hover {
    background: var(--news-bg-secondary);
    border-color: var(--news-border-focus);
    color: var(--news-primary);
}

.news-page-btn.active {
    background: var(--news-primary);
    color: var(--news-text-inverse);
    border-color: var(--news-primary);
}

/* ==========================================================================
   7. COMPONENTES EXCLUSIVOS DA PÁGINA INDIVIDUAL DA NOTÍCIA (ETAPA 7)
   ========================================================================== */

/* Breadcrumb Editorial */
.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--news-text-muted);
    margin: 12px 0 20px 0;
    padding: 0;
    list-style: none;
}

.news-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-breadcrumb-link {
    color: var(--news-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--news-transition);
}

.news-breadcrumb-link:hover {
    color: var(--news-secondary);
}

.news-breadcrumb-separator {
    color: var(--news-text-muted);
    font-size: 10px;
    opacity: 0.7;
}

.news-breadcrumb-current {
    color: var(--news-text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

/* Layout do Artigo: Split com Sidebar */
.news-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .news-article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.news-article-main {
    min-width: 0;
    width: 100%;
}

/* Container do Artigo Individual */
.news-article-card {
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-lg);
    padding: clamp(20px, 4vw, 40px);
    box-shadow: var(--news-shadow-sm);
    box-sizing: border-box;
}

/* Cabeçalho do Artigo */
.news-article-header {
    margin-bottom: 24px;
}

.news-article-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: var(--news-radius-full);
    color: #ffffff !important;
    text-decoration: none;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: var(--news-transition);
}

.news-article-cat-badge:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.news-article-title {
    font-family: var(--news-font-title);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--news-text);
    margin: 0 0 16px 0;
    word-break: break-word;
}

.news-article-lead {
    font-size: clamp(16px, 2.2vw, 19px);
    font-style: italic;
    line-height: 1.6;
    color: var(--news-text-secondary);
    margin: 0 0 20px 0;
    border-left: 4px solid var(--news-secondary);
    padding-left: 16px;
}

/* Barra de Metadados do Artigo */
.news-article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--news-border-light);
    border-bottom: 1px solid var(--news-border-light);
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--news-text-secondary);
}

.news-article-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.news-article-meta-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.news-meta-author-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--news-text);
}

.news-meta-author-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--news-bg-secondary);
    border: 1px solid var(--news-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--news-text);
}

/* Capa e Mídia Principal */
.news-cover-wrap {
    margin-bottom: 28px;
    border-radius: var(--news-radius-md);
    overflow: hidden;
    background: var(--news-bg-secondary);
}

.news-cover-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    border-radius: var(--news-radius-md);
}

.news-cover-caption {
    font-size: 13px;
    color: var(--news-text-secondary);
    padding: 8px 12px;
    background: var(--news-bg-secondary);
    border-left: 3px solid var(--news-secondary);
    margin-top: 6px;
    border-radius: 0 0 var(--news-radius-sm) var(--news-radius-sm);
}

/* Barra de Compartilhamento */
.news-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 28px 0;
    padding: 12px 16px;
    background: var(--news-bg-secondary);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-md);
    flex-wrap: wrap;
}

.news-share-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--news-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--news-radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: var(--news-transition);
}

.news-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.92;
}

.news-share-whatsapp { background: #25D366; }
.news-share-facebook { background: #1877F2; }
.news-share-twitter { background: #000000; }
.news-share-linkedin { background: #0A66C2; }
.news-share-copy {
    background: var(--news-primary);
    color: var(--news-text-inverse);
}

/* Área de Leitura Editorial do Artigo */
.news-article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--news-text);
    word-break: break-word;
}

.news-article-paragraph {
    margin: 0 0 20px 0;
    color: var(--news-text);
    line-height: 1.8;
}

.news-article-subheading {
    font-family: var(--news-font-title);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 800;
    color: var(--news-text);
    margin: 32px 0 16px 0;
    border-left: 4px solid var(--news-secondary);
    padding-left: 12px;
}

.news-article-quote {
    margin: 28px 0;
    padding: 18px 24px;
    background: var(--news-bg-secondary);
    border-left: 4px solid var(--news-secondary);
    border-radius: 0 var(--news-radius-md) var(--news-radius-md) 0;
}

.news-quote-body {
    font-size: 19px;
    font-style: italic;
    line-height: 1.6;
    color: var(--news-text);
    margin: 0 0 8px 0;
}

.news-quote-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--news-text-secondary);
    margin: 0;
}

.news-article-figure {
    margin: 28px 0;
    padding: 0;
    text-align: center;
}

.news-article-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--news-radius-md);
    box-shadow: var(--news-shadow-sm);
    display: block;
    margin: 0 auto;
}

.news-article-caption {
    font-size: 13px;
    color: var(--news-text-secondary);
    margin-top: 8px;
    text-align: center;
}

.news-article-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--news-radius-md);
    margin: 28px 0;
    box-shadow: var(--news-shadow-sm);
    background: #000;
}

.news-article-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-article-list {
    margin: 20px 0;
    padding-left: 28px;
}

.news-article-list li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.news-article-divider {
    border: 0;
    border-top: 1px solid var(--news-border);
    margin: 36px 0;
}

.news-article-callout {
    background: var(--news-primary-light);
    border: 1px solid var(--news-border);
    border-left: 4px solid var(--news-secondary);
    border-radius: var(--news-radius-md);
    padding: 16px 20px;
    margin: 28px 0;
}

.news-callout-title {
    font-weight: 800;
    font-size: 15px;
    color: var(--news-text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-callout-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--news-text);
}

.news-article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 28px 0;
}

.news-gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--news-radius-sm);
}

.news-article-embed {
    margin: 28px 0;
    overflow: hidden;
    text-align: center;
}

/* Tags da Matéria */
.news-tags-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 32px 0;
    padding: 16px 0;
    border-top: 1px solid var(--news-border-light);
    border-bottom: 1px solid var(--news-border-light);
}

.news-tags-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--news-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: var(--news-bg-secondary);
    border: 1px solid var(--news-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--news-text);
    text-decoration: none;
    transition: var(--news-transition);
}

.news-tag-pill:hover {
    background: var(--news-primary);
    color: var(--news-text-inverse);
    border-color: var(--news-primary);
}

/* Box Sobre o Autor */
.news-author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--news-bg-secondary);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-md);
    padding: 20px 24px;
    margin: 36px 0;
}

@media (max-width: 600px) {
    .news-author-box {
        flex-direction: column;
        text-align: center;
    }
}

.news-author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--news-border);
    flex-shrink: 0;
}

.news-author-avatar-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--news-primary);
    color: var(--news-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    flex-shrink: 0;
}

.news-author-info {
    flex: 1;
}

.news-author-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--news-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.news-author-name {
    font-family: var(--news-font-title);
    font-size: 17px;
    font-weight: 800;
    color: var(--news-text);
    margin: 0 0 6px 0;
}

.news-author-bio {
    font-size: 13px;
    line-height: 1.5;
    color: var(--news-text-secondary);
    margin: 0;
}

/* Navegação Anterior / Próxima */
.news-nav-neighbors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 36px 0;
}

@media (max-width: 600px) {
    .news-nav-neighbors {
        grid-template-columns: 1fr;
    }
}

.news-neighbor-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: var(--news-bg-card);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--news-transition);
}

.news-neighbor-card:hover {
    border-color: var(--news-secondary);
    transform: translateY(-2px);
    box-shadow: var(--news-shadow-sm);
}

.news-neighbor-card.next {
    text-align: right;
}

.news-neighbor-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--news-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.news-neighbor-title {
    font-family: var(--news-font-title);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--news-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-neighbor-card:hover .news-neighbor-title {
    color: var(--news-secondary);
}

/* Grid de Matérias Relacionadas e Recomendadas */
.news-related-section {
    margin: 44px 0 24px 0;
}

.news-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--news-border);
    padding-bottom: 10px;
}

.news-related-title {
    font-family: var(--news-font-title);
    font-size: 20px;
    font-weight: 800;
    color: var(--news-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* ==========================================================================
   UTILITY TICKER BAR (CLIMA, COTAÇÕES FINANCEIRAS & PLANTÃO EM ALTA)
   ========================================================================== */
.portal-utility-bar {
    background: #0b1329;
    color: #e2e8f0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
    line-height: 1.4;
    width: 100%;
}

.portal-utility-container {
    max-width: var(--news-container-max, 1280px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.portal-utility-container::-webkit-scrollbar {
    display: none;
}

.pub-clima {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 12px;
    color: #f8fafc;
    flex-shrink: 0;
}

.pub-clima strong {
    font-weight: 700;
    color: #ffffff;
}

.pub-city {
    color: #94a3b8;
    font-size: 11px;
}

.pub-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.pub-cotacoes {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    font-size: 12px;
    flex-shrink: 0;
}

.pub-cotacao-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f1f5f9;
}

.pub-moeda {
    color: #94a3b8;
    font-weight: 600;
    font-size: 11px;
}

.pub-cotacao-item strong {
    font-weight: 700;
    color: #ffffff;
}

.pub-pct {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pub-pct.up {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
}

.pub-pct.down {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
}

.pub-plantao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.pub-badge-plantao {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.pub-plantao-link {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: color 0.15s ease;
}

.pub-plantao-link:hover {
    text-decoration: underline;
    color: #38bdf8;
}

/* Tema Dark ajuste da barra de utilidades */
[data-news-theme="dark"] .portal-utility-bar,
.news-theme-dark .portal-utility-bar {
    background: #090e17;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* Tema Jornal ajuste */
[data-news-theme="jornal"] .portal-utility-bar,
.news-theme-jornal .portal-utility-bar {
    background: #111827;
}


