/* =============================================================================
   EDITORIAL & NOTÍCIAS - COLETIVO SOCIALISTA CAPIXABA
   Estilos específicos para o portal de jornalismo, manifestos e artigos
   ============================================================================= */

:root {
    --editorial-font-serif: 'Plus Jakarta Sans', Georgia, serif;
    --editorial-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --editorial-font-display: 'Anton', 'Bebas Neue', Impact, sans-serif;
    --editorial-bg: #090a0d;
    --editorial-card-bg: rgba(18, 20, 26, 0.75);
    --editorial-card-border: rgba(255, 255, 255, 0.08);
    --editorial-card-hover: rgba(224, 26, 34, 0.25);
    --editorial-red: #e01a22;
    --editorial-red-glow: rgba(224, 26, 34, 0.35);
    --editorial-text-muted: #9ba3af;
    --editorial-gold: #f59e0b;
}

/* =============================================================================
   GARANTIA DE VISIBILIDADE, CONTRASTE E CORREÇÃO DO PLANO DE FUNDO
   Evita que gradientes fixos ou sombras sobreponham o texto dos artigos
   ============================================================================= */
body {
    background-color: #090a0d !important;
    color: #e5e7eb;
}

main, article, .article-page-header, .article-body-container, .container {
    position: relative;
    z-index: 2;
}

.bg-gradient-layer, .side-rays-container {
    z-index: -1 !important;
    pointer-events: none !important;
}

/* =============================================================================
   CORREÇÃO DO RODAPÉ (FOOTER)
   Garante proporção exata da logo, grid de 4 colunas e alinhamento dos ícones
   ============================================================================= */
.footer {
    background: #06070a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 4.5rem 0 2rem !important;
    position: relative;
    z-index: 10;
}

.footer-brand-logo, .footer-logo {
    height: 48px !important;
    max-width: 170px !important;
    width: auto !important;
    margin-bottom: 1.25rem !important;
    display: block !important;
}

.footer-social-links, .footer-social-row {
    display: flex !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    margin-top: 0.5rem;
}

.footer-social-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: #14161e !important;
    border: 1px solid #232530 !important;
    color: #9ba3af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.footer-social-btn:hover {
    background: #e01a22 !important;
    border-color: #ff2b34 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
    gap: 3rem !important;
    margin-bottom: 3.5rem !important;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* =============================================================================
   1. CABEÇALHO DO JORNAL / MASTHEAD
   ============================================================================= */
.editorial-masthead {
    padding: 3.5rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(224, 26, 34, 0.12) 0%, transparent 70%);
}

.masthead-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--editorial-text-muted);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.masthead-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--editorial-red);
    font-weight: 700;
}

.masthead-main-title {
    text-align: center;
    margin-bottom: 1rem;
}

.masthead-edition {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--editorial-red);
    background: rgba(224, 26, 34, 0.12);
    border: 1px solid rgba(224, 26, 34, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.masthead-h1 {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.03em;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.masthead-h1 span.text-red {
    color: var(--editorial-red);
    text-shadow: 0 0 25px var(--editorial-red-glow);
}

.masthead-subtitle {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #c7cbd3;
    text-align: center;
}

.masthead-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-substack-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6719, #e01a22);
    color: #fff;
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(224, 26, 34, 0.3);
}

.btn-substack-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 103, 25, 0.45);
    color: #fff;
}

.btn-editorial-propor {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-editorial-propor:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* =============================================================================
   2. CATEGORIAS / FILTROS EDITORIAIS
   ============================================================================= */
.editorial-categories-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0 0 2.25rem;
}

.cat-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0a6b5;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cat-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.cat-filter-btn.active {
    background: var(--editorial-red);
    color: #fff;
    border-color: var(--editorial-red);
    box-shadow: 0 0 12px var(--editorial-red-glow);
}

/* =============================================================================
   3. DESTAQUE PRINCIPAL (HERO EDITORIAL FEATURE)
   ============================================================================= */
.featured-hero-article {
    background: linear-gradient(145deg, rgba(20, 23, 31, 0.85) 0%, rgba(12, 14, 19, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
}

.featured-hero-article:hover {
    border-color: rgba(224, 26, 34, 0.45);
    box-shadow: 0 20px 45px rgba(224, 26, 34, 0.15);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.featured-media-col {
    position: relative;
    min-height: 380px;
    background: #000;
    overflow: hidden;
}

.featured-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.featured-hero-article:hover .featured-cover-img {
    transform: scale(1.03);
}

.featured-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(12, 14, 19, 0.95) 100%);
    pointer-events: none;
}

@media (max-width: 900px) {
    .featured-media-overlay {
        background: linear-gradient(to bottom, transparent 60%, rgba(12, 14, 19, 0.95) 100%);
    }
}

.featured-badge-top {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--editorial-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.featured-info-col {
    padding: 2.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 600px) {
    .featured-info-col {
        padding: 1.75rem 1.25rem;
    }
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--editorial-text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.featured-title {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.featured-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-title a:hover {
    color: #ff4d55;
}

.featured-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b7c3;
    margin-bottom: 1.5rem;
}

.editorial-credits-box {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--editorial-red);
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.75rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #c7cbd3;
}

.editorial-credits-box strong {
    color: #fff;
}

.featured-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-read-article {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--editorial-red);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px var(--editorial-red-glow);
}

.btn-read-article:hover {
    background: #ff2b34;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 26, 34, 0.5);
    color: #fff;
}

.btn-read-substack {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ff6719;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: rgba(255, 103, 25, 0.08);
    border: 1px solid rgba(255, 103, 25, 0.25);
    transition: all 0.2s ease;
}

.btn-read-substack:hover {
    background: rgba(255, 103, 25, 0.16);
    border-color: rgba(255, 103, 25, 0.45);
    color: #ff8542;
}

/* =============================================================================
   4. SEÇÃO DE COLUNAS & TRIBUNA POPULAR
   ============================================================================= */
.editorial-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-section-title {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.editorial-section-title i {
    color: var(--editorial-red);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 960px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

/* Coluna do Feed de Artigos */
.editorial-feed-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card do Artigo no Feed */
.article-feed-card {
    background: var(--editorial-card-bg);
    border: 1px solid var(--editorial-card-border);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.article-feed-card:hover {
    border-color: rgba(224, 26, 34, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.article-feed-card .article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--editorial-text-muted);
}

.article-feed-card .article-title {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.85rem;
}

.article-feed-card .article-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-feed-card .article-title a:hover {
    color: #ff4d55;
}

.article-feed-card .article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a4abb8;
    margin-bottom: 1.25rem;
}

.article-feed-card .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    color: var(--editorial-text-muted);
}

.article-footer-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--editorial-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.link-read-more {
    color: var(--editorial-red);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.link-read-more:hover {
    gap: 0.55rem;
    color: #ff3b44;
}

/* =============================================================================
   5. SIDEBAR EDITORIAL (INFORMATIVO & NEWSLETTER)
   ============================================================================= */
.editorial-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-box {
    background: rgba(18, 20, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
}

.sidebar-box-title {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-box-title i {
    color: var(--editorial-red);
}

.sidebar-box-p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #9ba3af;
    margin-bottom: 1.25rem;
}

.editorial-guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #c7cbd3;
}

.editorial-guidelines-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.editorial-guidelines-list li i {
    color: var(--editorial-red);
    margin-top: 0.2rem;
    font-size: 0.8rem;
}

/* =============================================================================
   6. PÁGINA DO POST / ARTIGO INDIVIDUAL
   ============================================================================= */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #e01a22, #ff6719);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
}

.article-page-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--editorial-text-muted);
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.article-breadcrumbs a {
    color: var(--editorial-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
    color: #fff;
}

.article-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(224, 26, 34, 0.12);
    border: 1px solid rgba(224, 26, 34, 0.35);
    color: #ff4d55;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.article-main-title {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.article-deck-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.5;
    color: #c7cbd3;
    max-width: 860px;
    margin-bottom: 2rem;
}

/* Box de Autores & Ações de Compartilhamento */
.article-credits-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 1.25rem;
}

.author-chip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-chip-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #1e222d;
    border: 2px solid var(--editorial-red);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-chip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-chip-info {
    font-size: 0.85rem;
    line-height: 1.35;
}

.author-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.author-sub {
    color: var(--editorial-text-muted);
    font-size: 0.8rem;
}

.share-buttons-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.btn-share-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c7cbd3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-share-icon:hover {
    background: var(--editorial-red);
    color: #fff;
    border-color: var(--editorial-red);
    transform: translateY(-2px);
}

.btn-share-icon.btn-share-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.btn-share-icon.btn-share-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

/* Imagem de Capa do Post */
.article-cover-wrapper {
    margin: 2.5rem 0 3.5rem;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.article-cover-wrapper img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
}

.article-cover-caption {
    padding: 0.75rem 1rem;
    background: rgba(14, 16, 22, 0.9);
    font-size: 0.82rem;
    color: var(--editorial-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-style: italic;
    text-align: center;
}

/* Corpo do Artigo */
.article-body-container {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.12rem;
    line-height: 1.85;
    color: #d1d5db;
}

.article-body-container p {
    margin-bottom: 1.75rem;
}

.article-body-container p.article-lead {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #ffffff;
    font-weight: 500;
}

.article-body-container h2 {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 2.1rem;
    font-weight: 400;
    color: #fff;
    margin: 3.25rem 0 1.25rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body-container h3 {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.article-body-container h4 {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #f3f4f6;
    margin: 2rem 0 0.85rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-body-container a {
    color: #ff6b72;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 107, 114, 0.45);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-body-container a:hover {
    color: #ffffff;
    text-decoration-color: var(--editorial-red);
}

.article-body-container img,
.article-body-container picture,
.article-body-container figure,
.article-body-container .captioned-image-container,
.article-body-container .image2-inset {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.article-body-container figure,
.article-body-container .captioned-image-container {
    margin: 2rem 0;
}

.article-body-container img {
    display: block;
    border-radius: 10px;
}

.article-body-container ul,
.article-body-container ol {
    margin: 0 0 1.75rem 1.4rem;
    padding: 0;
}

.article-body-container li {
    margin-bottom: 0.65rem;
}

.article-body-container li p {
    margin-bottom: 0.35rem;
}

.article-body-container hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    margin: 2.75rem 0;
}

.article-body-container .callout-block {
    margin: 1.5rem 0;
    padding: 1.35rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #d1d5db;
}

.article-body-container .callout-block p:last-child {
    margin-bottom: 0;
}

.article-body-container blockquote,
.article-body-container blockquote.article-quote {
    margin: 2.25rem 0;
    padding: 1.35rem 1.65rem;
    background: rgba(224, 26, 34, 0.06);
    border-left: 4px solid var(--editorial-red);
    border-radius: 0 10px 10px 0;
    font-size: 1.18rem;
    line-height: 1.65;
    font-style: italic;
    color: #f3f4f6;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.article-body-container blockquote p {
    margin-bottom: 0.75rem;
}

.article-body-container blockquote p:last-child {
    margin-bottom: 0;
}

/* Box de Posicionamento Oficial CSC */
.posicionamento-box {
    margin: 3.5rem 0;
    background: linear-gradient(145deg, rgba(224, 26, 34, 0.12) 0%, rgba(18, 20, 26, 0.95) 100%);
    border: 2px solid rgba(224, 26, 34, 0.45);
    border-radius: 14px;
    padding: 2.25rem;
    box-shadow: 0 15px 40px rgba(224, 26, 34, 0.15);
}

.posicionamento-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(224, 26, 34, 0.3);
}

.posicionamento-header h3 {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.posicionamento-body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #e5e7eb;
    margin-bottom: 1.25rem;
}

.posicionamento-body p:last-child {
    margin-bottom: 0;
}

/* Ficha Técnica Editorial ao Final do Artigo */
.editorial-colophon {
    margin: 4rem 0 3rem;
    padding: 2rem;
    background: rgba(18, 20, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.colophon-title {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--editorial-red);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.colophon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    font-size: 0.88rem;
    color: #9ba3af;
}

.colophon-grid strong {
    color: #fff;
    display: block;
    margin-top: 0.15rem;
    font-size: 0.95rem;
}

/* Caixa de CTA Final no Artigo */
.article-footer-cta {
    margin: 3.5rem 0;
    padding: 2.5rem;
    background: radial-gradient(circle at 50% 0%, rgba(224, 26, 34, 0.15) 0%, rgba(14, 16, 22, 0.95) 80%);
    border: 1px solid rgba(224, 26, 34, 0.35);
    border-radius: 16px;
    text-align: center;
}

.article-footer-cta h3 {
    font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.75rem;
}

.article-footer-cta p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b7c3;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.article-footer-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .share-buttons-row {
        width: 100%;
    }

    .share-buttons-row .btn-read-substack {
        margin-left: 0 !important;
        flex: 1 0 100%;
        justify-content: center;
        margin-top: 0.25rem;
    }

    .article-body-container p,
    .article-body-container li,
    .article-body-container blockquote,
    .article-body-container .callout-block p,
    .featured-lead,
    .article-excerpt,
    .article-deck-subtitle {
        text-align: justify;
        text-justify: inter-word;
        hyphens: none;
        -webkit-hyphens: none;
    }
}

