/* Base Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #ffd700;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white: #fff;
    --dark: #222;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Navbar */
.navbar {
    background-color: var(--white);
    color: var(--dark);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

.logo img {
    height: 50px; /* Adjust height as needed */
    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.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.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: 40px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
}

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

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

.featured-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 25px 0 15px;
    line-height: 1.2;
}

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

.featured-excerpt {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

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

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

/* Sidebar Trending */
.sidebar-trending {
    border-left: 1px solid #f0f0f0;
    padding-left: 40px;
}

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

.sidebar-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    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;
}

.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: 60px;
    height: 60px;
    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-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #000;
}

.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: 60px;
        background: #fcfcfc;
        padding: 30px;
        border-radius: 20px;
    }
}

/* Hero Section (Legacy removed) */
/* About Premium Section */
.about-premium {
    padding: 100px 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-size: 2.8rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
}

.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-size: 1.8rem;
    line-height: 1.3;
    font-weight: 800;
    color: #000;
    margin-bottom: 25px;
}

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

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    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: 60px 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;
}

/* Choice Premium Section */
.choice-premium {
    padding: 80px 0;
}

.choice-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.premium-badge {
    background: #000;
    color: var(--primary-color);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: inline-block;
}

.choice-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #000;
}

.header-divider {
    height: 2px;
    background: #eee;
    width: 200px;
    margin-bottom: 15px;
}

.choice-premium-layout {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* Modern Sidebar */
.choice-sidebar-modern {
    background: #fcfcfc;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
}

.choice-premium-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Modern Sidebar Card */
.choice-sidebar-modern {
    background: #fcfcfc;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.sidebar-mini-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* 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;
    }
}

.choice-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.choice-nav li a {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.choice-nav li a:hover,
.choice-nav li.active a {
    background: #fff;
    color: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.nav-label {
    flex-grow: 1;
}

.choice-nav li a i {
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.choice-nav li a:hover i,
.choice-nav li.active a i {
    opacity: 1;
    transform: translateX(5px);
}

/* Featured Choice Card */
.featured-choice-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

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

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

.category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 15px;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
}

.card-content-modern {
    padding: 30px 0;
}

.featured-choice-title {
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 15px;
}

.featured-choice-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.featured-choice-title a:hover {
    color: var(--primary-color);
}

.featured-choice-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.featured-card-footer {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #999;
}

.featured-card-footer div {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Secondary List */
.choice-secondary-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.secondary-choice-item {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.secondary-choice-item:hover {
    border-color: #eee;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.item-cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.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: 60px 0;
    background-color: #f9f9f9;
}

.portrait-card {
    background: transparent;
}

.portrait-image img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Common Article Grid Title */
.article-grid-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 10px 0 15px;
    line-height: 1.3;
}

.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) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .article-title {
        font-size: 2.2rem;
    }
    .featured-title {
        font-size: 1.6rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .logo img {
        height: 40px;
    }
}

@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: 100px 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: center;
    padding: 60px 0 40px;
    max-width: 900px !important;
}

.article-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 20px 0;
    color: var(--dark);
}

.article-meta-top {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.article-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #888;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.article-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #444;
    margin-top: 30px;
}

.article-featured-image {
    margin-bottom: 60px;
}

.article-featured-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.article-body-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: start;
    padding-bottom: 80px;
}

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

.article-main-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

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

.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: 25px;
}

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

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

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

/* 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: 30px 0;
    display: block;
}

/* CKEditor Image Styles */
.article-main-content figure {
    margin: 30px 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: 10px;
    font-style: italic;
}

.article-main-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    font-style: italic;
    color: #666;
    margin: 30px 0;
}

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

.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-size: 1.8rem; line-height: 1.3; margin: 40px 0 20px; font-weight: 800; }
.article-main-content h3 { font-size: 1.5rem; line-height: 1.3; margin: 40px 0 20px; font-weight: 800; }
.article-main-content h4 { font-size: 1.2rem; line-height: 1.3; margin: 30px 0 15px; font-weight: 800; }

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

/* Media Embeds (Videos) */
.article-main-content .media {
    margin: 30px 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 */
.related-articles {
    border-top: 1px solid #eee;
    padding: 80px 0;
    margin-top: 60px;
    background-color: #fafafa;
}

.related-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: -1px;
}

.related-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* 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;
    }
}

/* Responsive Header */
@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;
    }
}
