/*---=========================================================================
   PAGE: SINGLE POST (AIBA 2025 - HÍBRIDO PERFEITO)
==========================================================================---*/

/* -----------------------------------------------------------
   1. HEADER & BREADCRUMB (Estilo Clean Minimalista)
----------------------------------------------------------- */
.article-header-clean {
    background-color: #FFF;
    text-align: center;
    padding-top: 140px; /* Compensação do Menu Fixo */
}

/* Breadcrumb */
.bc-nav-clean {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-nota);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.bc-list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.bc-list-clean a {
    text-decoration: none;
    color: var(--color-nota);
    transition: color 0.2s;
}

.bc-list-clean a:hover { color: var(--color-principal); }
.bc-list-clean .sep { color: #E0EAE7; font-weight: 300; }
.bc-list-clean .current { color: var(--color-principal); opacity: 0.8; font-weight: 600; }

/* Categoria Pill (Clean) */
.category-pill-clean {
    display: inline-block;
    background-color: #F2F9F7;
    color: var(--color-principal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.category-pill-clean:hover {
    background-color: var(--color-principal);
    color: #FFF;
}

/* Título H1 */
.article-title-clean {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #001719;
    line-height: 1.15;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

/* Metadados */
.article-meta-clean {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 40px;
    color: var(--color-paragrafo);
    font-size: 15px;
}

.meta-item { display: flex; align-items: center; gap: 8px; }
.meta-item.author img {
    border-radius: 50%;
    width: 32px; height: 32px;
    border: 2px solid #FFF;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.meta-item svg { width: 18px; height: 18px; color: var(--color-nota); }


/* -----------------------------------------------------------
   2. IMAGEM DESTAQUE (Posicionamento Estratégico)
----------------------------------------------------------- */
.article-hero-image-wrapper {
    margin-bottom: 0;
}

.hero-figure {
    position: relative;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-caption {
    background: #F8FBFA;
    color: var(--color-nota);
    font-size: 13px;
    padding: 10px 20px;
    text-align: center;
    border-top: 1px solid #E0EAE7;
}


/* -----------------------------------------------------------
   3. SIDEBAR STICKY (O Design da Opção 1)
----------------------------------------------------------- */
.sticky-utility-bar {
    position: sticky;
    top: 140px; /* Fica abaixo do menu fixo */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 10px; /* Afastamento visual do topo da imagem */
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.share-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-nota);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 8px;
}

.share-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
}

.share-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background-color: #FFF;
    border: 1px solid #E0EAE7;
    color: var(--color-paragrafo);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 16px;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #FFF;
    border-color: transparent;
}

.share-btn.whatsapp:hover { background-color: #25D366; }
.share-btn.linkedin:hover { background-color: #0077b5; }
.share-btn.facebook:hover { background-color: #1877F2; }
.share-btn.copy-link:hover { background-color: var(--color-escuro); }


/* -----------------------------------------------------------
   4. CONTEÚDO RICO (Tipografia Imersiva)
----------------------------------------------------------- */
.article-lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-escuro);
    font-weight: 500;
    margin-bottom: 40px;
    /* Drop Cap Estilizado */
    border-left: 4px solid var(--color-principal);
    padding-left: 24px;
}

.aiba-rich-content {
    font-family: 'Inter', sans-serif; 
    color: #2c3531;
}

.aiba-rich-content p {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.aiba-rich-content h2 {
    font-size: 28px; font-weight: 700;
    color: var(--color-escuro);
    margin-top: 48px; margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.aiba-rich-content h3 {
    font-size: 22px; font-weight: 600;
    color: var(--color-escuro);
    margin-top: 32px; margin-bottom: 12px;
}

.aiba-rich-content ul, .aiba-rich-content ol {
    margin-bottom: 24px; padding-left: 24px;
}

.aiba-rich-content li {
    font-size: 18px; line-height: 1.7;
    margin-bottom: 8px; padding-left: 8px;
}
.aiba-rich-content li::marker { color: var(--color-principal); font-weight: 700; }

.aiba-rich-content blockquote {
    background: #F8FBFA;
    border-left: 4px solid var(--color-principal);
    margin: 40px 0; padding: 32px;
    border-radius: 0 12px 12px 0;
}
.aiba-rich-content blockquote p {
    font-size: 20px; font-style: italic; margin-bottom: 0; font-weight: 500;
}

.aiba-rich-content img {
    max-width: 100%; height: auto;
    border-radius: 12px; margin: 32px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}


/* -----------------------------------------------------------
   5. FOOTER DO ARTIGO & NAVEGAÇÃO
----------------------------------------------------------- */
.article-tags {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px;
}
.tags-label { font-weight: 700; font-size: 14px; margin-right: 8px; }

.article-tags a {
    font-size: 13px; color: var(--color-paragrafo);
    background: #F2F9F7; padding: 6px 14px;
    border-radius: 50px; text-decoration: none;
    transition: all 0.2s ease;
}
.article-tags a:hover { background: var(--color-principal); color: #FFF; }

/* Navigation Cards */
.nav-card {
    display: block; background: #FFF;
    border: 1px solid #E0EAE7;
    padding: 24px; border-radius: 12px;
    text-decoration: none; transition: all 0.3s ease;
    height: 100%;
}
.nav-card:hover {
    border-color: var(--color-principal);
    box-shadow: 0 8px 24px rgba(0, 123, 78, 0.08);
    transform: translateY(-2px);
}
.nav-label {
    display: block; font-size: 12px; text-transform: uppercase;
    color: var(--color-nota); margin-bottom: 8px; font-weight: 600;
}
.nav-title {
    display: block; font-size: 16px; font-weight: 700;
    color: var(--color-escuro); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.nav-card:hover .nav-title { color: var(--color-principal); }


/* RESPONSIVIDADE */
@media (max-width: 991px) {
    .article-header-clean {
        padding-top: 120px;
        text-align: left; /* Mobile: alinha à esquerda para facilitar leitura */
    }
    .bc-list-clean, .article-meta-clean { justify-content: flex-start; }
    
    .article-title-clean { font-size: 32px; }
    
    .sticky-utility-bar { display: none; } /* Esconde sidebar no mobile */
    
    .hero-figure { border-radius: 8px; margin-bottom: 20px; }
    
    .article-lead { font-size: 18px; padding-left: 16px; }
    .aiba-rich-content p { font-size: 17px; }
}

/* Animações Simples */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}