/* ==========================================================================
   NEXORA NOTÍCIAS — TAGDIV NEWSMAG TECH / VOICE THEME ENHANCEMENTS
   Inspirado em demo.tagdiv.com/newsmag_tech e demo.tagdiv.com/newsmag_voice
   ========================================================================== */

:root {
    --nexora-bg: #f8fafc;
    --nexora-card-bg: #ffffff;
    --nexora-text-dark: #0f172a;
    --nexora-text-muted: #64748b;
    --nexora-border: #e2e8f0;
    --nexora-primary: #1e3a8a;
    --nexora-accent: #0284c7;
    --nexora-red: #dc2626;
    --nexora-green: #16a34a;
    --nexora-orange: #ea580c;
    --nexora-purple: #7c3aed;
    --nexora-font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
    background-color: var(--nexora-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--nexora-text-dark);
}

/* Hide default clutter */
.single .cm-featured-image { display: none !important; }
#comments, .comments-area, .comment-respond { display: none !important; }
.widget_search, .widget_recent_comments { display: none !important; }
.cm-header-nav-top, .breaking-news-latest-wrap { display: none !important; }


/* -------------------------------------------------------------
   TOP TRENDING & TICKER BAR
   ------------------------------------------------------------- */
.nexora-ticker-wrap {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #1e293b;
}

.nexora-ticker-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.nexora-ticker-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.nexora-ticker-badge {
    background: var(--nexora-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nexora-ticker-text a {
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nexora-ticker-text a:hover {
    color: #38bdf8;
}

.nexora-ticker-date {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

/* -------------------------------------------------------------
   TRENDING TOPICS PILLS
   ------------------------------------------------------------- */
.nexora-trending-pills-bar {
    max-width: 1240px;
    margin: 12px auto 0;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
}

.nexora-trending-pills-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nexora-pill-tag {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nexora-pill-tag:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* -------------------------------------------------------------
   TAGDIV BIG GRID HERO (Newsmag Tech Block)
   ------------------------------------------------------------- */
.nexora-hero-grid-wrap {
    max-width: 1240px;
    margin: 16px auto 24px;
    padding: 0 15px;
}

.nexora-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 480px;
    border-radius: 6px;
    overflow: hidden;
}

.nexora-hero-big {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #0f172a;
    border-radius: 4px;
}

.nexora-hero-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}

.nexora-hero-subitem {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #0f172a;
    border-radius: 4px;
}

.nexora-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nexora-hero-big:hover .nexora-grid-img,
.nexora-hero-subitem:hover .nexora-grid-img {
    transform: scale(1.06);
}

.nexora-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.05) 0%, rgba(15,23,42,0.4) 40%, rgba(15,23,42,0.92) 85%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    z-index: 2;
    pointer-events: none;
}

.nexora-hero-subitem .nexora-grid-overlay {
    padding: 12px 14px;
}

.nexora-grid-cat-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    border-radius: 3px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nexora-grid-title {
    color: #ffffff !important;
    font-family: var(--nexora-font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    pointer-events: auto;
}

.nexora-hero-big .nexora-grid-title {
    font-size: 24px;
}

.nexora-hero-subitem .nexora-grid-title {
    font-size: 13.5px;
    line-height: 1.3;
}

.nexora-grid-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.2s;
}

.nexora-grid-title a:hover {
    color: #38bdf8 !important;
}

.nexora-grid-meta {
    font-size: 11px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category Colors */
.cat-politica-nacional { background-color: var(--nexora-red) !important; }
.cat-brasil { background-color: var(--nexora-green) !important; }
.cat-inteligencia-artificial { background-color: var(--nexora-accent) !important; }
.cat-robotica-automacao { background-color: #0891b2 !important; }
.cat-formula-1, .cat-motogp, .cat-desporto { background-color: var(--nexora-orange) !important; }
.cat-trump-eua, .cat-politica-internacional { background-color: var(--nexora-primary) !important; }
.cat-guerra-ucrania, .cat-medio-oriente-irao { background-color: #475569 !important; }
.cat-trading-mercados { background-color: #059669 !important; }

/* -------------------------------------------------------------
   MAGAZINE BODY LAYOUT (70% Left / 30% Right)
   ------------------------------------------------------------- */
.nexora-mag-container {
    max-width: 1240px;
    margin: 0 auto 40px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

@media (max-width: 991px) {
    .nexora-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .nexora-hero-big {
        height: 320px;
    }
    .nexora-hero-subgrid {
        height: 300px;
    }
    .nexora-mag-container {
        grid-template-columns: 1fr;
    }
}

/* Section Header (tagDiv Newsmag Block Header) */
.nexora-block-header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #0f172a;
    margin-bottom: 18px;
    margin-top: 10px;
    position: relative;
}

.nexora-block-title {
    background: #0f172a;
    color: #ffffff;
    font-family: var(--nexora-font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 7px 16px;
    margin: 0;
    display: inline-block;
}

.nexora-block-header.border-red { border-bottom-color: var(--nexora-red); }
.nexora-block-header.border-red .nexora-block-title { background: var(--nexora-red); }

.nexora-block-header.border-blue { border-bottom-color: var(--nexora-accent); }
.nexora-block-header.border-blue .nexora-block-title { background: var(--nexora-accent); }

.nexora-block-header.border-green { border-bottom-color: var(--nexora-green); }
.nexora-block-header.border-green .nexora-block-title { background: var(--nexora-green); }

.nexora-block-header.border-orange { border-bottom-color: var(--nexora-orange); }
.nexora-block-header.border-orange .nexora-block-title { background: var(--nexora-orange); }

/* Block 1: Lead + List */
.nexora-block-1-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 650px) {
    .nexora-block-1-grid {
        grid-template-columns: 1fr;
    }
}

.nexora-lead-card {
    background: #ffffff;
    border: 1px solid var(--nexora-border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nexora-lead-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.nexora-lead-img-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.nexora-lead-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nexora-lead-card:hover .nexora-lead-img-wrap img {
    transform: scale(1.05);
}

.nexora-lead-content {
    padding: 16px;
}

.nexora-lead-title {
    font-family: var(--nexora-font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px 0;
}

.nexora-lead-title a {
    color: var(--nexora-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.nexora-lead-title a:hover {
    color: var(--nexora-accent);
}

.nexora-lead-excerpt {
    font-size: 13.5px;
    color: var(--nexora-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Compact List Items */
.nexora-compact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nexora-compact-item {
    display: flex;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--nexora-border);
    border-radius: 6px;
    padding: 10px;
    transition: all 0.2s;
}

.nexora-compact-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.nexora-compact-thumb {
    width: 85px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #0f172a;
}

.nexora-compact-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nexora-compact-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nexora-compact-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.nexora-compact-title a {
    color: var(--nexora-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.nexora-compact-title a:hover {
    color: var(--nexora-accent);
}

.nexora-compact-meta {
    font-size: 11px;
    color: var(--nexora-text-muted);
}

/* 2-Column Grid Cards */
.nexora-card-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .nexora-card-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   TAGDIV TECH SIDEBAR WIDGETS
   ------------------------------------------------------------- */
.nexora-sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--nexora-border);
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 24px;
}

/* Numbered List (Mais Lidas 01, 02, 03, 04, 05) */
.nexora-ranked-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nexora-ranked-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--nexora-border);
}

.nexora-ranked-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nexora-ranked-num {
    font-family: var(--nexora-font-heading);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: #cbd5e1;
    flex-shrink: 0;
    width: 32px;
}

.nexora-ranked-item:nth-child(1) .nexora-ranked-num { color: var(--nexora-red); }
.nexora-ranked-item:nth-child(2) .nexora-ranked-num { color: var(--nexora-accent); }
.nexora-ranked-item:nth-child(3) .nexora-ranked-num { color: var(--nexora-orange); }

.nexora-ranked-body {
    flex-grow: 1;
}

.nexora-ranked-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px 0;
}

.nexora-ranked-title a {
    color: var(--nexora-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.nexora-ranked-title a:hover {
    color: var(--nexora-accent);
}

/* Radar Figuras Públicas */
.nexora-figura-badge-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nexora-figura-badge-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid var(--nexora-border);
    border-radius: 4px;
    font-size: 12.5px;
}

.nexora-figura-name {
    font-weight: 700;
    color: #1e293b;
}

.nexora-figura-status {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.status-favoravel { background: #dcfce7; color: #15803d; }
.status-exigente { background: #fef3c7; color: #b45309; }
.status-critica { background: #fee2e2; color: #b91c1c; }
.status-referencia { background: #e0e7ff; color: #4338ca; }

/* Editorial Manifesto Box */
.nexora-manifesto-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 6px;
    padding: 18px;
    text-align: center;
}

.nexora-manifesto-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #38bdf8;
    margin: 0 0 8px 0;
}

.nexora-manifesto-p {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 12px 0;
}
