/* Article Page Premium Design */

:root {
    --primary: #ffc107;
    --bg-dark: #0F172A;
    --text-muted: #9ca3af;
    --card-border: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-dark) !important;
    color: #ffffff;
    margin: 0;
}

/* Premium Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0 !important;
    transition: all 0.3s ease;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 700 !important; /* Bolder as per user request */
    margin: 0 18px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    text-transform: none;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.btn-primary.fw-bold {
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.article-header {
    padding: 140px 0 50px;
    background: var(--bg-dark);
}

.article-header .breadcrumb {
    display: none !important;
}

.article-header .breadcrumb-item a {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.4);
}

/* Global article hero image styling - forces uniformity */
.article-header img {
    width: 100% !important;
    max-width: 800px !important;
    height: 400px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 auto 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: block !important;
}

@media (max-width: 768px) {
    .article-header img {
        height: 280px !important;
        border-radius: 15px !important;
    }
}

.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.4;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    letter-spacing: normal;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.article-content {
    background: #161b22;
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 50px;
}

.article-content p {
    color: #d1d1d1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 50px 0 25px;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 35px 0 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 35px;
    padding-left: 20px;
}

.article-content li {
    color: #d1d1d1;
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content strong {
    color: #ffffff;
    font-weight: 700;
}

/* CTA Box Refined */
.cta-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(15, 23, 42, 0.8));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    margin: 50px 0;
    text-align: center;
}

.cta-box h4 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff !important;
}

.btn-cta {
    background-color: var(--primary);
    color: #000;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
    color: #000;
}

@media (max-width: 768px) {
    .article-header {
        padding: 120px 0 40px;
    }
    .article-content {
        padding: 30px 0 !important;
        border-radius: 20px;
        background: transparent !important;
        border: none !important;
    }
    
    .article-content p, 
    .article-content li, 
    .article-content h2, 
    .article-content h3, 
    .article-content h4 {
        text-align: left !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
        line-height: 1.6 !important;
        padding: 0 20px !important;
    }
    
    .article-header h1 {
        font-size: 1.4rem;
        word-wrap: break-word;
        padding: 0 10px;
    }

    .cta-box {
        margin: 30px 20px !important;
        padding: 30px 20px !important;
    }
    
    .related-article {
        margin: 30px 20px !important;
        padding: 20px !important;
    }
    
    .article-contact-section {
        padding: 0 20px !important;
        margin-top: 40px !important;
    }

    .nav-link {
        margin: 10px 0 !important;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 10px;
    }

    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Article Links Blue */
.article-content a:not(.btn-cta) {
    color: #3a7bd5 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-content a:not(.btn-cta):hover {
    color: #2a6bc5 !important;
    text-decoration: underline !important;
}

.related-article {
    border-left-color: #3a7bd5 !important;
}

/* Article Contact Section */
.article-contact-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.article-content a.article-contact-card {
    background: rgba(30, 41, 59, 0.5) !important;
    border-radius: 16px !important;
    padding: 30px 24px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
}

.article-content a.article-contact-card.email-card {
    border: 1px solid rgba(234, 67, 53, 0.2) !important;
}

.article-content a.article-contact-card.email-card:hover {
    background: rgba(234, 67, 53, 0.05) !important;
    border-color: #EA4335 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(234, 67, 53, 0.15) !important;
    color: #ffffff !important;
}

.article-content a.article-contact-card.whatsapp-card {
    border: 1px solid rgba(37, 211, 102, 0.2) !important;
}

.article-content a.article-contact-card.whatsapp-card:hover {
    background: rgba(37, 211, 102, 0.05) !important;
    border-color: #25D366 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.15) !important;
    color: #ffffff !important;
}

.article-contact-icon {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-contact-card:hover .article-contact-icon {
    transform: scale(1.1);
}

.article-contact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff !important;
}

.article-contact-card p {
    font-size: 0.95rem;
    color: #a0a0a0 !important;
    margin: 0 !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .article-contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
