/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --primary-color: #0056b3;
    --secondary-color: #ffd700;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white: #fff;
    --dark: #222;
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-serif: 'Roboto', 'Georgia', 'Times New Roman', serif;
    --font-display: 'Roboto', 'Georgia', serif;
}

/* Drop Cap Style - First Letter Effect - Disabled */
.article-main-content.ck-content > p:first-of-type::first-letter {
    float: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin-right: 0;
    margin-top: 0;
    color: inherit;
    text-transform: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background-color: #fff;
    color: #000;
    /* padding: 0.8rem 0; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    padding-top: 72px; /* Adjust based on navbar height */
}

.nav-links a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s;
}

.search-icon i, .user-link i, .nav-toggle i {
    color: #000;
}

.nav-divider {
    background-color: rgba(0,0,0,0.2);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-item {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-family: var(--font-primary);
}

.nav-item::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.dot-a-l::before { background-color: #ff4757; } /* À la une */
.dot-eco::before { background-color: #ffa502; } /* Économie */
.dot-agr::before { background-color: #2ed573; } /* Agro-industrie */
.dot-spo::before { background-color: #1e90ff; } /* Sport */
.dot-mus::before { background-color: #a29bfe; } /* Musique */
.dot-cam::before { background-color: #6c5ce7; } /* Campus */
.dot-soc::before { background-color: #00cec9; } /* Société */
.dot-opp::before { background-color: #fab1a0; } /* Opportunités */

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
    margin-right: 10px;
}

.search-icon, .nav-toggle, .user-link {
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s;
}

.user-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
}

/* Main Featured Layout */
.main-featured {
    padding: 50px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-container, .sidebar-trending {
    min-width: 0; /* Critical for Swiper inside Grid */
}

/* Featured Article (Slider) */
.featured-article {
    text-align: left;
}

.featured-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    opacity: 1;
    display: block;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    margin: 20px 0 15px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #1a1a1a;
}

.featured-title a {
    color: var(--dark);
    text-decoration: none;
}

.featured-excerpt {
    font-family: var(--font-primary);
    color: #666;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
}

.footer-divider {
    width: 30px;
    height: 1.5px;
    background-color: #ddd;
}

/* Category Explorer Section (Mobile-First Scroll Style) */
.category-explorer {
    background: var(--primary-color);
    padding: 0;
    border-bottom: none;
    position: sticky;
    top: 72px; /* Aligned below the fixed navbar */
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow-y: hidden; /* Prevent vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    display: none; /* Hidden by default */
}

.explorer-wrapper {
    display: flex;
    justify-content: center; /* Center items */
    align-items: center;
    overflow-x: hidden; /* Prevent any scroll in wrapper */
    scrollbar-width: none; 
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px; /* Slight padding for the scroll container */
}

.explorer-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 14px 18px;
    flex-shrink: 0;
    transition: background 0.3s ease;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.explorer-item:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .category-explorer {
        display: block; /* Show only on mobile */
    }
}

.explorer-item:hover, .explorer-item.active {
    background: rgba(0,0,0,0.1);
}

.explorer-icon {
    display: none; /* Removed as per user reference image */
}

@media (max-width: 1100px) {
    .category-explorer {
        top: 72px;
    }
}

@media (max-width: 768px) {
    .category-explorer {
        top: 72px;
    }
    .explorer-item {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}
.sidebar-trending {
    border-left: 1px solid #e5e5e5;
    padding-left: 40px;
}

.sidebar-header-modern {
    margin-bottom: 30px;
    position: relative;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.title-underline {
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.trending-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    align-items: flex-start;
}

.trending-link:hover .trending-item {
    background: #fcfcfc;
    border-color: #eee;
    transform: translateX(5px);
}

.trending-rank-wrapper {
    flex-shrink: 0;
}

.rank-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #eee;
    line-height: 1;
    transition: color 0.3s ease;
}

.trending-link:hover .rank-number {
    color: var(--primary-color);
}

.trending-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-link:hover .trending-thumb img {
    transform: scale(1.1);
}

.trending-category {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: inline-block;
}

.trending-article-title {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trending-date {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar-trending {
        border-left: none;
        padding-left: 0;
        margin-top: 50px;
        background: #fcfcfc;
        padding: 35px 20px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    }
    
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-featured {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .sidebar-title {
        font-size: 1.35rem;
    }
    .trending-item {
        gap: 15px;
        padding: 12px;
    }
    .rank-number {
        font-size: 1.4rem;
    }
    .trending-thumb {
        width: 50px;
        height: 50px;
    }
    .trending-article-title {
        font-size: 0.95rem;
    }
}

/* Hero Section (Legacy removed) */
/* About Premium Section */
.about-premium {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-badge {
    display: inline-block;
    background: #f0fdf4;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.about-main-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.about-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-lead {
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1.35;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.intro-lead span {
    color: var(--primary-color);
    display: block;
}

.intro-text {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    line-height: 1.75;
    color: #666;
    margin-bottom: 0;
}

.mission-vision-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modern-info-card {
    display: flex;
    gap: 25px;
    background: #fcfcfc;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.modern-info-card:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mission-card .card-icon {
    background: var(--primary-color);
}

.card-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
}

.card-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-premium {
        padding: 60px 0;
    }
    .modern-info-card {
        padding: 25px;
        flex-direction: column;
        gap: 15px;
    }
    .intro-lead {
        font-size: 1.5rem;
    }
}

/* Slogan Divider Section */
.slogan-divider {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.divider-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: #000;
    letter-spacing: -2px;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
}

.divider-text .accent-text {
    color: #666;
    font-weight: 300;
    font-style: italic;
    letter-spacing: -1px;
}

@media (max-width: 1200px) {
    .divider-text {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .divider-text {
        font-size: 2.2rem;
        white-space: normal;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .slogan-divider {
        padding: 60px 0;
    }
    .divider-text {
        font-size: 1.8rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 50px 0;
}

.newsletter-card {
    background: linear-gradient(135deg, #fcf6f0 0%, #f7ebe1 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-radius: 24px;
    padding: 60px;
    gap: 50px;
    overflow: hidden;
    position: relative;
}

.newsletter-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0, 192, 145, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.newsletter-visual img {
    width: 100%;
    transform: rotate(-5deg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.newsletter-icon {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-subscribe {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #00c091;
    color: #00c091;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-subscribe:hover {
    background-color: #00c091;
    color: #fff;
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: #999 !important;
    margin-top: 25px;
    line-height: 1.4;
}

/* Rubrics Catalog Section (Inspired by Magazine UI) */
.rubrics-catalog {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.catalog-header {
    text-align: center;
    margin-bottom: 50px;
}

.catalog-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}

.catalog-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.catalog-grid {
    display: flex;
    gap: 30px;
    padding: 20px 10px 40px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    -webkit-overflow-scrolling: touch;
}

.catalog-grid::-webkit-scrollbar {
    height: 6px;
}

.catalog-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.catalog-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.catalog-card {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 4px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.catalog-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid #ddd;
    padding: 4px 15px;
    margin-bottom: 25px;
    border-radius: 2px;
}

.catalog-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.catalog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.catalog-card:hover .catalog-image-wrapper img {
    transform: scale(1.05);
}

.catalog-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.2;
}

.catalog-footer {
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
}

.catalog-footer span {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .rubrics-catalog {
        padding: 50px 0;
    }
    .catalog-grid {
        gap: 20px;
        padding-bottom: 30px;
    }
    .catalog-card {
        min-width: 240px;
        max-width: 240px;
        padding: 20px;
    }
    .catalog-title {
        font-size: 1.1rem;
    }
}

/* Choice Premium Section */
/* Choice Premium Section - Modern Layout */
.choice-premium {
    padding: 70px 0;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.choice-section-header {
    margin-bottom: 50px;
    text-align: left;
}

.choice-main-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin: 0;
    position: relative;
    display: inline-block;
}

.choice-main-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d63031 0%, #ff6b6b 100%);
    border-radius: 2px;
}

/* Choice Articles Grid - Horizontal Jeune Afrique Style */
.choice-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.choice-article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
}

.choice-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: rgba(214, 48, 49, 0.2);
}

.choice-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.choice-card-image {
    width: 48%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    margin: 0;
}

.choice-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-article-card:hover .choice-card-image img {
    transform: scale(1.08);
}

.choice-card-content {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.choice-category {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 800;
    color: #d63031;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.choice-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #d63031;
    border-radius: 50%;
}

.choice-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0 0 15px;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.choice-article-card:hover .choice-card-title {
    color: #d63031;
}

.choice-card-excerpt {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.choice-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.choice-date {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@media (max-width: 992px) {
    .choice-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .choice-card-link {
        flex-direction: column;
    }
    .choice-card-image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .choice-card-content {
        padding: 20px;
    }
    .choice-card-title {
        font-size: 1.3rem;
    }
}

/* Unified Article Cards */
.choice-article-card-wrapper {
    display: flex;
}

.choice-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
}

.featured-choice-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.featured-choice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--primary-color);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-content-modern {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.choice-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    flex-grow: 1;
}

.featured-card-footer {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
    font-size: 0.8rem;
    color: #999;
}

@media (max-width: 1100px) {
    .choice-premium-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .choice-premium-layout {
        grid-template-columns: 1fr;
    }
}



.item-date {
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 600;
}

.secondary-choice-title {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.secondary-choice-title a {
    color: #000;
    text-decoration: none;
}

.item-hover-indicator {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.secondary-choice-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portrait-image-link, .news-image-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.portrait-image-link img, .news-image-link img {
    width: 100%;
    transition: transform 0.5s ease;
}

.portrait-image-link:hover img, .news-image-link:hover img {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .choice-premium-layout {
        grid-template-columns: 200px 1fr;
    }
    .choice-secondary-list {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .choice-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .choice-premium-layout {
        grid-template-columns: 1fr;
    }
    .choice-sidebar-modern {
        display: none;
    }
    .choice-secondary-list {
        grid-template-columns: 1fr;
    }
    .card-image-wrapper {
        height: 250px;
    }
    .choice-main-title {
        font-size: 1.8rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .newsletter-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .choice-layout, .layout-grid, .article-body-layout {
        grid-template-columns: 1fr;
    }
    .main-choice-card {
        border-right: none;
        padding-right: 0;
    }
    .article-sidebar {
        position: static;
        margin-top: 40px;
    }
    .choice-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 30px;
    }
    .choice-categories li {
        border: none;
        padding: 0;
    }
}

/* Grid Basics */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Portrait Grid */
.portrait-grid {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.portrait-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
}

.portrait-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.portrait-image img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portrait-card:hover .portrait-image img {
    transform: scale(1.03);
}

.portrait-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portrait-grid .nav-item {
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.portrait-grid .article-grid-title {
    margin: 10px 0 15px;
    font-size: 1.2rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portrait-grid .featured-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.75rem;
}

/* News Grid (Bento) */
.news-grid {
    padding: 60px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.06);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.news-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-content {
    padding: 20px;
}

/* Common Article Grid Title */
.article-grid-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 10px 0 12px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-grid-title a {
    color: var(--dark);
    text-decoration: none;
}

/* Footer Dividers (Colored by category) */
.footer-divider {
    height: 2px;
    background-color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .main-featured {
        padding: 30px 0;
    }
    
    .layout-grid {
        gap: 35px;
    }
    
    .featured-title {
        font-size: 1.5rem;
        margin-top: 15px;
    }
    
    .featured-excerpt {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-lead {
        font-size: 1.05rem;
    }
    
    .article-share-top {
        gap: 10px;
        padding: 15px 0;
    }
    
    .share-icon {
        width: 34px;
        height: 34px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .logo img {
        height: 70px;
    }
    
    .about-premium {
        padding: 60px 0;
    }
    
    .about-main-title {
        font-size: 2rem;
    }
    
    .intro-lead {
        font-size: 1.4rem;
    }
    
    .hero-cta-premium {
        padding: 60px 0;
    }
    
    .news-grid,
    .portrait-grid,
    .choice-premium {
        padding: 50px 0;
    }
    
    .choice-articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .choice-main-title {
        font-size: 1.8rem;
    }
    
    .choice-card-title {
        font-size: 1.25rem;
    }
    
    .choice-card-content {
        padding: 20px 18px 18px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    .article-title {
        font-size: 1.8rem;
    }
    .nav-inner {
        padding: 0 10px;
    }
}

/* Hero CTA Premium Section */
.hero-cta-premium {
    padding: 80px 0;
    background-color: #fff;
}

.cta-card {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,192,145,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-slogan {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -2px;
    line-height: 1.2;
    white-space: nowrap;
}

.cta-slogan .accent {
    display: inline;
    font-weight: 300;
    font-style: italic;
    opacity: 0.8;
    font-size: 2.4rem;
    letter-spacing: -1px;
    margin-left: 10px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-cta-main {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 20px 50px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,192,145,0.3);
}

.btn-cta-main:hover {
    transform: translateY(-5px) scale(1.05);
    background: #fff;
    box-shadow: 0 15px 30px rgba(255,255,255,0.2);
}

.cta-hint {
    font-size: 0.9rem;
    color: #aaa;
}

.cta-hint strong {
    color: #fff;
}

@media (max-width: 1200px) {
    .cta-slogan {
        font-size: 2.5rem;
        white-space: normal;
    }
    .cta-slogan .accent {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-cta-premium {
        padding: 60px 0;
    }
    .cta-card {
        padding: 60px 20px;
        border-radius: 20px;
    }
    .cta-slogan {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    .cta-slogan .accent {
        font-size: 1.5rem;
    }
    .btn-cta-main {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-slogan {
        font-size: 2rem;
        letter-spacing: -1px;
    }
}

/* Pricing Section */
.pricing-section {
    background-color: #000;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.pricing-toggle {
    display: inline-flex;
    background: #1a1a1a;
    padding: 5px;
    border-radius: 50px;
    margin-bottom: 60px;
    border: 1px solid #333;
}

.toggle-btn {
    padding: 10px 30px;
    border-radius: 50px;
    border: none;
    background: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-btn.active {
    background: #fff;
    color: #000;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-end;
}

.pricing-card {
    background: #fff;
    color: #000;
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card.popular {
    border: 4px solid #e67e22;
    transform: scale(1.05);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #e67e22;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 12px 12px 0 0;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.billing-info {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
}

.promo-badge {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-wrap {
    margin-bottom: 25px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
}

.currency {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.btn-subscribe-plan {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 30px;
    transition: opacity 0.3s;
}

.btn-subscribe-plan:hover {
    opacity: 0.8;
}

.card-body h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #333;
}

.card-body ul {
    list-style: none;
}

.card-body li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-body li i {
    color: #e67e22;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}

/* Category Page */
.category-header {
    padding: 60px 0 40px;
    text-align: center;
}

.category-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-title-wrap h1 {
    font-size: 3rem;
    font-weight: 800;
}

.big-dot::before {
    width: 25px;
    height: 25px;
}

.category-content {
    padding-bottom: 80px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 1px solid #eee;
    text-decoration: none;
    color: #999;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-link:hover {
    border-color: #ccc;
    color: var(--dark);
}

.page-link.active {
    background-color: #2b56f5; /* More vibrant blue matching the image */
    color: var(--white);
    border-color: #2b56f5;
}

/* Article Page Styles */
.article-header {
    text-align: left;
    padding: 40px 0 30px;
    max-width: 800px !important;
    margin: 0 auto;
    position: relative;
}

/* Category Badge - Professional Style */
.article-category-badge {
    margin-bottom: 20px;
}

.category-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    color: #fff;
    background: var(--primary-color);
    border-radius: 30px;
    border: none;
}

.category-label::before {
    display: none;
}

.article-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 25px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Author and Meta Information - Professional Style */
.article-meta-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 5px 0 10px;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.meta-label {
    color: #2c2c2c;
    font-weight: 500;
}

.author-name {
    color: var(--primary-color);
    font-weight: 600;
}

.meta-separator {
    color: #d1d1d1;
    font-weight: 400;
    margin: 0 6px;
    font-size: 0.8rem;
}

.publish-date,
.reading-time {
    color: #757575;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Social Sharing Icons - Modern Style */
.article-share-top {
    display: flex;
    gap: 12px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    margin: 30px -20px;
}

.share-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: #fff;
    color: #666;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.share-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.share-icon i {
    font-size: 1rem;
}

.share-icon.facebook {
    color: #1877f2;
}

.share-icon.facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.share-icon.twitter {
    color: #1da1f2;
}

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

.share-icon.linkedin {
    color: #0a66c2;
}

.share-icon.linkedin:hover {
    background: #0a66c2;
    color: #fff;
    border-color: #0a66c2;
}

.share-icon.whatsapp {
    color: #25d366;
}

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

.article-lead {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: #2c2c2c;
    margin: 0 0 25px;
    padding: 0;
    border: none;
    font-style: normal;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px 0 50px;
    border-radius: 8px;
}

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

.article-featured-image {
    margin: 0 0 5px;
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    border-radius: 0;
    opacity: 1;
    display: block;
}

.image-caption {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: #757575;
    margin: 5px 0 15px;
    font-style: normal;
    line-height: 1.4;
}

.article-body-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
    padding-bottom: 20px;
    padding-top: 5px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 993px) {
    .article-body-layout {
        grid-template-columns: 1fr 300px;
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .article-header {
        padding: 30px 0 20px;
    }
    .article-title {
        font-size: 2.2rem;
    }
    .article-body-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .article-sidebar {
        position: static;
        order: 2;
        margin-top: 40px;
    }
    .article-main-content {
        order: 1;
    }
    .share-icon {
        width: 42px;
        height: 42px;
    }
    .share-icon i {
        font-size: 1rem;
    }
}

.article-main-content {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.9;
    color: #2c2c2c;
    position: relative;
    padding: 0;
    max-width: 100%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

/* Rich Text Formatting Support - Enhanced */
.article-main-content strong, 
.article-main-content b {
    font-weight: 700;
    color: #000;
}

.article-main-content em, 
.article-main-content i {
    font-style: italic;
}

.article-main-content u {
    text-decoration: underline;
}

/* Alignment Support (CKEditor 5) */
.article-main-content .text-align-center {
    text-align: center;
}

.article-main-content .text-align-right {
    text-align: right;
}

.article-main-content .text-align-left {
    text-align: left;
}

.article-main-content .text-align-justify {
    text-align: justify;
}

.article-main-content p {
    margin-bottom: 12px;
    text-align: left;
    color: #333;
    line-height: 1.9;
}

/* Rich Text Formatting Support */
.article-main-content strong, 
.article-main-content b {
    font-weight: 700;
    color: #000;
}

.article-main-content em, 
.article-main-content i {
    font-style: italic;
}

.article-main-content u {
    text-decoration: underline;
}

/* Alignment Support (CKEditor 5) */
.article-main-content .text-align-center {
    text-align: center;
}

.article-main-content .text-align-right {
    text-align: right;
}

.article-main-content .text-align-left {
    text-align: left;
}

.article-main-content .text-align-justify {
    text-align: justify;
}

.article-main-content p {
    margin-bottom: 12px;
    text-align: left;
}

/* Enhanced List Styling */
.article-main-content ul {
    list-style-type: disc;
    margin-bottom: 18px;
    padding-left: 40px;
}

.article-main-content ol {
    list-style-type: decimal;
    margin-bottom: 18px;
    padding-left: 40px;
}

.article-main-content li {
    margin-bottom: 8px;
}

/* Links inside articles */
.article-main-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.article-main-content a:hover {
    color: var(--dark);
}

.article-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 22px 0;
    display: block;
}

/* CKEditor Image Styles */
.article-main-content figure {
    margin: 22px 0;
    display: table;
    clear: both;
}

.article-main-content figure img {
    margin: 0;
}

.article-main-content figure.image-style-side {
    float: right;
    margin-left: 30px;
    max-width: 50%;
}

.article-main-content figure.image-style-align-left {
    float: left;
    margin-right: 30px;
}

.article-main-content figure.image-style-align-right {
    float: right;
    margin-left: 30px;
}

.article-main-content figcaption {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.article-main-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin: 28px 0;
    line-height: 1.7;
}

.article-main-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
}

.article-main-content th, .article-main-content td {
    padding: 12px;
    border: 1px solid #eee;
    text-align: left;
}

.article-main-content th {
    background-color: #f9f9f9;
}

.article-main-content h2 { font-family: var(--font-display); font-size: 2rem; line-height: 1.3; margin: 35px 0 18px; font-weight: 700; letter-spacing: -0.02em; }
.article-main-content h3 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.3; margin: 30px 0 15px; font-weight: 700; letter-spacing: -0.01em; }
.article-main-content h4 { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; margin: 25px 0 12px; font-weight: 700; }

/* Horizontal Rule */
.article-main-content hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 28px 0;
}

/* Media Embeds (Videos) */
.article-main-content .media {
    margin: 22px 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.article-main-content .media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.article-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-toc {
    border-left: 2px solid #eee;
    padding-left: 25px;
}

.toc-title {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 20px;
}

.toc-links {
    list-style: none;
}

.toc-links li {
    margin-bottom: 15px;
}

.toc-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.toc-links a:hover, .toc-links a.active {
    color: var(--dark);
}

.toc-links a.active {
    position: relative;
}

.toc-links a.active::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 100%;
    background-color: #00c091;
}

/* Related Articles - Jeune Afrique Style */
.related-articles-ja {
    background: #fff;
    padding: 50px 0;
    margin-top: 35px;
}

.related-title-ja {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
    letter-spacing: -0.01em;
    border: none;
}

.related-title-ja::after {
    display: none;
}

.related-list-ja {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 780px;
    margin: 0 auto;
}

.related-card-ja {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 30px;
}

.related-card-ja:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-link-ja {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.related-link-ja:hover {
    opacity: 0.8;
}

.related-image-ja {
    width: 200px;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.related-image-ja img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-link-ja:hover .related-image-ja img {
    transform: scale(1.05);
}

.related-content-ja {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.premium-icon-ja {
    width: 22px;
    height: 22px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.premium-icon-ja i {
    font-size: 0.65rem;
    color: #000;
}

.related-card-title-ja {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.related-excerpt-ja {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

.related-date-ja {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
}

@media (max-width: 768px) {
    .related-articles-ja {
        padding: 40px 0;
    }
    
    .related-title-ja {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    
    .related-link-ja {
        flex-direction: column;
        gap: 15px;
    }
    
    .related-image-ja {
        width: 100%;
        height: 200px;
    }
    
    .related-card-title-ja {
        font-size: 1.15rem;
    }
    
    .related-excerpt-ja {
        font-size: 0.9rem;
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto;
}

/* Partners Slider */
.partners-section {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
}

.partners-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partners-prev, .partners-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    z-index: 10;
    color: #999;
    transition: 0.3s;
}

.partners-prev:hover, .partners-next:hover {
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.partners-prev { left: 0; }
.partners-next { right: 0; }

/* Main Footer Styling */
.main-footer {
    background-color: #f8f8f8;
    padding: 80px 0 30px;
    border-top: 1px solid #eee;
    color: #333;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #000;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.brand-col .footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.brand-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.brand-company {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
}

.brand-company a {
    color: inherit;
    text-decoration: none;
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.app-badges img {
    height: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.8rem;
}

.copyright {
    color: #888;
    font-size: 0.8rem;
}

.copyright a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.login-footer-btn {
    font-weight: 700;
    color: var(--primary-color) !important;
}

@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--white);
    display: none;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-overlay.active {
    display: flex;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 15px 50px 15px 0;
    font-size: 1.5rem;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    outline: none;
}

.search-form button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    position: absolute;
    right: 40px;
}

.close-search {
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .search-overlay {
        height: 80px;
    }
    .search-form input {
        font-size: 1.1rem;
    }
    .search-form button {
        right: 30px;
    }
}

/* Article Interactions (Likes & Sharing) */
.article-interactions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 30px 0;
    background: #fafafa;
    border-radius: 15px;
}

.btn-like {
    background: #fff;
    border: 1px solid #eee;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.btn-like:hover {
    background: #fff5f5;
    border-color: #ff4757;
    color: #ff4757;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.1);
}

.btn-like i {
    font-size: 1.1rem;
}

.interactions-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
}

.social-share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.9;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }

/* Comments Section */
.comments-section {
    margin-top: 00px;
}

/* Editorial Team Section */
.editorial-team-section {
    margin: 50px 0 40px;
    padding: 40px 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.team-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #000;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.01em;
}

.team-title::before {
    display: none;
}

.team-title::after {
    display: none;
}

.team-members-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-member-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: left;
    transition: none;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.team-member-card::before {
    display: none;
}

.team-member-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.team-member-card:hover::before {
    display: none;
}

.member-photo {
    display: none;
}

.team-member-card:hover .member-photo {
    display: none;
}

.member-info {
    padding: 0;
}

.member-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
    letter-spacing: 0;
}

.member-role {
    font-size: 0.95rem;
    color: #c17a5c;
    font-weight: 400;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
}

.member-bio {
    display: none;
}

.member-social {
    display: none;
}

@media (max-width: 768px) {
    .editorial-team-section {
        padding: 30px 20px;
        margin: 40px 0 30px;
    }
    
    .team-members-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        padding: 15px 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .team-members-grid::-webkit-scrollbar {
        display: none;
    }
    
    .team-member-card {
        flex: 0 0 auto;
        width: 160px;
        padding: 20px 15px;
        min-width: 160px;
    }
    
    .member-photo {
        width: 70px;
        height: 70px;
        margin: 0 auto 12px;
    }
    
    .member-name {
        font-size: 0.95rem;
        margin-bottom: 5px;
        font-weight: 600;
    }
    
    .member-role {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .team-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .article-body-layout {
        padding-bottom: 0px;
    }
    
    .article-main-content {
        padding: 0 5px;
    }
}

.comments-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #000;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title::before {
    content: '';
    width: 6px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 4px;
}

.comments-title::after {
    display: none;
}

.comment-form-container {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin-top: 20px;
}

.form-subtitle {
    margin-bottom: 25px;
    font-weight: 800;
    color: #333;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
}

.btn-submit-comment {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-comment:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    border-radius: 16px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.comment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.comment-avatar i {
    font-size: 3rem;
    color: #ddd;
}

.comment-content {
    flex-grow: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 800;
    color: #000;
}

.comment-date {
    font-size: 0.8rem;
    color: #999;
}

.comment-text {
    line-height: 1.6;
    color: #555;
}

.no-comments {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 40px;
    background: #fafafa;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .article-interactions {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }
    
    .comment-form-container {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .comment-item {
        flex-direction: column;
        gap: 10px;
    }
    .comment-avatar i {
        font-size: 2rem;
    }
}
@media (max-width: 1100px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 15px;
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-divider {
        display: none;
    }
}

/* Contact Banner Section */
.contact-banner-premium {
    background-color: #f4f4f4;
    padding: 80px 0;
}

.contact-banner-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.contact-banner-image {
    flex: 1.2;
    min-height: 400px;
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=800');
    background-size: cover;
    background-position: center;
}

.contact-banner-content {
    flex: 1;
    background-color: #580c1f; /* Premium Deep Maroon */
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-banner-content h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
    color: #fff;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.contact-info-item:hover {
    color: #fff;
    border-color: #fff;
    padding-left: 10px;
}

.contact-info-item i {
    font-size: 1.3rem;
    color: #fff;
}

@media (max-width: 992px) {
    .contact-banner-wrapper {
        margin: 0 20px;
    }
    .contact-banner-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-banner-wrapper {
        flex-direction: column;
    }
    .contact-banner-image {
        min-height: 300px;
    }
    .contact-banner-content h2 {
        font-size: 1.6rem;
    }
}

/* Opportunity Cards Styles */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    padding: 20px 0 40px;
}

.opportunity-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.opportunity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.opportunity-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    flex: 1;
    min-width: 200px;
}

.opportunity-title a {
    color: inherit;
    text-decoration: none;
}

.opportunity-type-badge {
    display: block;
    margin-left: auto;
}

.badge-job, .badge-tender, .badge-opportunity {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    color: #fff;
}

.badge-job {
    background-color: #2ed573; /* Green for jobs */
}

.badge-tender {
    background-color: #ffa502; /* Orange for tenders */
}

.badge-opportunity {
    background-color: #1e90ff; /* Blue for general opportunities */
}

.opportunity-meta {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.opportunity-date {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.opportunity-date i {
    color: #999;
}

.opportunity-excerpt {
    flex: 1;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.opportunity-actions {
    margin-top: auto;
}

.btn-apply {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.btn-apply:hover {
    background: #004494;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

/* Responsive adjustments for opportunity cards */
@media (max-width: 768px) {
    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .opportunity-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .opportunity-type-badge {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .opportunity-title {
        margin-bottom: 10px;
    }
}

/* Opportunity Type Indicator for article pages */
.opportunity-type-indicator {
    margin-bottom: 20px;
}

.opportunity-type-indicator .opportunity-badge {
    display: inline-block;
    vertical-align: middle;
}

.opportunity-application-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.opportunity-application-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
}

.application-steps ol {
    padding-left: 20px;
}

.application-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* PDF Attachment Section */
.pdf-attachment-section {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #3b82f6;
}

.pdf-attachment-section h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
}

.pdf-download {
    display: inline-block;
    margin-top: 10px;
}

.pdf-download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ef4444;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.pdf-download-link:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.pdf-download-link i {
    font-size: 1.2rem;
}

/* First Letter Drop Cap */
.article-main-content p:first-of-type:first-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.8;
    float: left;
    margin: 0.1rem 0.75rem 0 0;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* Apply Roboto/Inter font to all content */
.article-main-content {
    font-family: var(--font-primary) !important; /* Use Inter font as requested */
}

/* Reduce space between image and text */
.article-featured-image {
    margin: 0 0 10px; /* Further reduced from previous value */
}

/* Move share icons and interactions to end of article */
.article-share-top {
    padding: 20px;
    margin: 20px 0 10px;
    background: #fafafa;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-share-top .btn-like {
    margin-left: 15px;
}

/* Adjustments for better spacing */
.article-body {
    padding-bottom: 4px; /* Reduce space before share buttons */
}

/* Ensure proper spacing after content before share section */
.article-main-content {
    margin-bottom: 4px;
}

/* Container for sharing and like elements */
.article-sharing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 0;
}

/* Align sharing icons and like button on same line */
@media (min-width: 768px) {
    .article-sharing-container {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin: 25px 0;
    }
    
    .article-share-top {
        margin: 0;
    }
    
    .article-interactions {
        margin: 0;
    }
}

/* Align like button with share icons */
.article-interactions {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.interactions-left {
    display: flex;
    align-items: center;
}

.btn-like {
    margin: 0 !important; /* Override any existing margins */
}
