:root {
    --color-grassfields-indigo: #2B4162;
    --color-grassfields-navy: #0D1A1C;
    --color-grassfields-gold: #E6A82C;
    --color-grassfields-orange: #E86825;
    --color-grassfields-red: #C42021;
    --color-grassfields-cream: #F4EDE4;
    --color-grassfields-black: #1A1A1A;
}

/* ====================================
   AGLC Section - Grassfields Design
   ==================================== */

.aglc-section {
    background: #ffffff;
    background: linear-gradient(135deg, #F9F6F2 0%, #FDFCFA 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* Bloquer complètement le background du parent */
    z-index: 1;
}

.aglc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: -1;
}

/* Background Decorative Shapes (Ndop inspired) */
.shapes-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--color-grassfields-indigo);
}

.shape-circle.shape-01 {
    width: 180px;
    height: 180px;
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle.shape-03 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 8%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-diamond {
    position: absolute;
    width: 100px;
    height: 100px;
    transform: rotate(45deg);
    border: 3px solid var(--color-grassfields-gold);
}

.shape-diamond.shape-02 {
    top: 40%;
    right: 5%;
    animation: rotate-slow 20s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* Title Section */
.title-wrapper {
    position: relative;
    z-index: 1;
}

.cultural-accent-top {
    margin-bottom: 1.5rem;
}

.ndop-pattern-border {
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-grassfields-indigo) 0px,
        var(--color-grassfields-indigo) 15px,
        transparent 15px,
        transparent 20px,
        var(--color-grassfields-gold) 20px,
        var(--color-grassfields-gold) 35px,
        transparent 35px,
        transparent 40px
    );
    max-width: 300px;
    margin: 0 auto;
    border-radius: 4px;
}

.cultural-highlight {
    background: linear-gradient(135deg, var(--color-grassfields-indigo) 0%, var(--color-grassfields-navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.tracking-wide {
    letter-spacing: 0.08em;
    color: var(--color-grassfields-gold);
}

/* AGLC Card with Beaded Border */
.aglc-card {
    background: #ffffff !important;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(43, 65, 98, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.aglc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 0;
}

/* Simple Border Effect */
.beaded-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
    padding: 8px;
}

.beaded-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 3px solid var(--color-grassfields-gold);
    padding: 12px;
}

/* Cultural Symbols - Crocodiles */
.cultural-symbols {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.symbol-left,
.symbol-right {
    width: 80px;
    height: 40px;
}

.crocodile-symbol {
    width: 100%;
    height: 100%;
    color: var(--color-grassfields-indigo);
    filter: drop-shadow(0 2px 4px rgba(43, 65, 98, 0.2));
}

/* Card Body with Raffia Texture */
.card-body-wrapper {
    padding: 50px 40px;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.raffia-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    background-color: rgba(13, 26, 28, 0.02);
    pointer-events: none;
}

/* Converter Container */
.converter-container {
    background: #ffffff;
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    min-height: 600px;
    position: relative;
    z-index: 3;
    border: 2px solid rgba(43, 65, 98, 0.08);
    isolation: isolate;
}

.converter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 12px;
    z-index: -1;
}

#aglc-converter {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 8px;
    background: transparent;
}

/* Bottom Ndop Pattern */
.ndop-pattern-bottom {
    height: 40px;
    background: linear-gradient(to right,
        var(--color-grassfields-indigo) 0%,
        var(--color-grassfields-indigo) 10%,
        transparent 10%,
        transparent 15%,
        var(--color-grassfields-gold) 15%,
        var(--color-grassfields-gold) 20%,
        transparent 20%,
        transparent 25%,
        var(--color-grassfields-orange) 25%,
        var(--color-grassfields-orange) 30%,
        transparent 30%,
        transparent 35%,
        var(--color-grassfields-red) 35%,
        var(--color-grassfields-red) 40%,
        transparent 40%,
        transparent 45%,
        var(--color-grassfields-indigo) 45%,
        var(--color-grassfields-indigo) 55%,
        transparent 55%,
        transparent 60%,
        var(--color-grassfields-gold) 60%,
        var(--color-grassfields-gold) 65%,
        transparent 65%,
        transparent 70%,
        var(--color-grassfields-orange) 70%,
        var(--color-grassfields-orange) 75%,
        transparent 75%,
        transparent 80%,
        var(--color-grassfields-red) 80%,
        var(--color-grassfields-red) 85%,
        transparent 85%,
        transparent 90%,
        var(--color-grassfields-indigo) 90%,
        var(--color-grassfields-indigo) 100%
    );
    position: relative;
    margin-top: 0;
}

.ndop-pattern-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-grassfields-gold) 0px,
        var(--color-grassfields-gold) 3px,
        transparent 3px,
        transparent 6px,
        var(--color-grassfields-orange) 6px,
        var(--color-grassfields-orange) 9px,
        transparent 9px,
        transparent 12px,
        var(--color-grassfields-red) 12px,
        var(--color-grassfields-red) 15px,
        transparent 15px,
        transparent 18px
    );
}

/* Cultural Note */
.cultural-note {
    position: relative;
    z-index: 1;
}

.cultural-note p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.cultural-note .fw-500 {
    color: var(--color-grassfields-indigo);
}

/* Responsive Design */
@media (max-width: 991px) {
    .card-body-wrapper {
        padding: 35px 25px;
    }

    .cultural-symbols {
        padding: 0 20px;
    }

    .symbol-left,
    .symbol-right {
        width: 60px;
        height: 30px;
    }

    .converter-container {
        padding: 15px;
    }

    .ndop-pattern-bottom {
        height: 30px;
    }
}

@media (max-width: 767px) {
    .card-body-wrapper {
        padding: 25px 15px;
    }

    .cultural-symbols {
        display: none;
    }

    .converter-container {
        padding: 10px;
        min-height: 500px;
    }

    #aglc-converter {
        min-height: 500px;
    }

    .beaded-border::before {
        padding: 8px;
    }
}

/* ====================================
   BATCHAM INFOS - Articles System
   ==================================== */

/* Section Batcham Infos */
.batcham-infos-section {
    background: #ffffff;
    background: linear-gradient(135deg, #F9F6F2 0%, #FDFCFA 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
}

.batcham-infos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: -1;
}

/* Breadcrumb Overlay */
.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 26, 28, 0.3) 0%, rgba(43, 65, 98, 0.2) 100%);
    z-index: 1;
}

/* Article Hero Title */
.article-hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .article-hero-title {
        font-size: 2rem;
    }
}

/* Article Meta */
.article-meta {
    color: #fff;
}

.author-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

/* ==== FILTERS SECTION ==== */
.filters-card {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(43, 65, 98, 0.10);
    position: relative;
    isolation: isolate;
    z-index: 3;
}

/* Input Box One styling for filters */
.filters-card .input-box-one {
    position: relative;
}

.filters-card .input-box-one .label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-grassfields-indigo);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filters-card .nice-select {
    width: 100%;
    height: 55px;
    line-height: 53px;
    border: 2px solid rgba(43, 65, 98, 0.15);
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
    padding: 0 50px 0 20px;
}

.filters-card .nice-select:hover,
.filters-card .nice-select:focus,
.filters-card .nice-select.open {
    border-color: var(--color-grassfields-indigo);
}

.filters-card .nice-select::after {
    border-color: var(--color-grassfields-indigo);
    right: 20px;
    width: 8px;
    height: 8px;
}

.filters-card .nice-select .list {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 12px;
    border: 2px solid var(--color-grassfields-indigo);
    box-shadow: 0 10px 30px rgba(43, 65, 98, 0.15);
    margin-top: 5px;
}

.filters-card .nice-select .option {
    padding: 8px 20px;
    font-size: 15px;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.filters-card .nice-select .option:hover,
.filters-card .nice-select .option.selected,
.filters-card .nice-select .option.focus {
    background: linear-gradient(135deg, rgba(230, 168, 44, 0.1) 0%, rgba(232, 104, 37, 0.1) 100%);
    color: var(--color-grassfields-indigo);
    font-weight: 600;
}

.filters-card .nice-select .current {
    color: #333;
}

.filters-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 20px;
    z-index: -2;
}

.filters-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid var(--color-grassfields-gold);
    z-index: -1;
}

/* Search Wrapper */
.search-wrapper {
    position: relative;
}

.search-input {
    height: 55px;
    padding: 15px 50px 15px 50px;
    border: 2px solid rgba(43, 65, 98, 0.15);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--color-grassfields-indigo);
    box-shadow: 0 0 0 0.2rem rgba(43, 65, 98, 0.15);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-grassfields-indigo);
    pointer-events: none;
}

.clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-grassfields-red);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: #a01818;
    transform: translateY(-50%) scale(1.1);
}

/* Old filter styles - kept for backwards compatibility if needed */

/* Results Count */
.results-count {
    font-size: 18px;
    color: var(--color-grassfields-navy);
}

.results-count .fw-500 {
    color: var(--color-grassfields-indigo);
    font-size: 24px;
    font-weight: 700;
}

/* Filter Buttons */
.btn-filter {
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-apply {
    background: linear-gradient(135deg, var(--color-grassfields-indigo) 0%, var(--color-grassfields-navy) 100%);
    color: #fff;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 65, 98, 0.25);
    color: #fff;
}

.btn-reset {
    background: transparent;
    color: var(--color-grassfields-red);
    border-color: var(--color-grassfields-red);
}

.btn-reset:hover {
    background: var(--color-grassfields-red);
    color: #fff;
    transform: translateY(-2px);
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-spinner {
    text-align: center;
}

.spinner-grassfields {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(230, 168, 44, 0.3);
    border-top-color: var(--color-grassfields-gold);
    border-radius: 50%;
    animation: spin-grassfields 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin-grassfields {
    to { transform: rotate(360deg); }
}

/* ==== ARTICLE CARDS ==== */
.article-card {
    background: #ffffff !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(43, 65, 98, 0.08);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    z-index: 2;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 16px;
    z-index: -1;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(43, 65, 98, 0.15);
}

/* Card Cultural Symbols */
.card-cultural-symbols {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 3;
    width: 40px;
    height: 20px;
}

.crocodile-symbol-small {
    width: 100%;
    height: 100%;
    color: var(--color-grassfields-gold);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Card Simple Border */
.article-card-beaded-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 16px;
    border: 2px solid rgba(230, 168, 44, 0.3);
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Card Image */
.article-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.1);
}

.article-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-grassfields-cream) 0%, #FDFCFA 100%);
}

/* Category Badge Overlay */
.category-badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.badge-grassfields {
    background: linear-gradient(135deg, var(--color-grassfields-gold) 0%, var(--color-grassfields-orange) 100%);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 5px 15px rgba(230, 168, 44, 0.4);
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.badge-grassfields:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 168, 44, 0.5);
    color: #fff !important;
    text-decoration: none;
}

/* Card Body */
.article-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    background: #ffffff;
    isolation: isolate;
}

.article-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: -1;
}

.article-card-meta {
    font-size: 14px;
    color: #777;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-grassfields-navy);
    transition: color 0.3s ease;
}

.article-card:hover .article-card-title a {
    color: var(--color-grassfields-indigo);
}

.article-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.article-card-footer {
    margin-top: auto;
}

.author-mini-avatar,
.author-mini-avatar-placeholder {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.author-mini-avatar-placeholder {
    background: var(--color-grassfields-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-grassfields-gold);
}

.author-mini-name {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.btn-read-more {
    color: var(--color-grassfields-indigo);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.btn-read-more:hover {
    color: var(--color-grassfields-orange);
    transform: translateX(5px);
}

/* Ndop Accent Bottom */
.article-card-ndop-accent {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-grassfields-gold) 0px,
        var(--color-grassfields-gold) 10px,
        var(--color-grassfields-orange) 10px,
        var(--color-grassfields-orange) 20px,
        var(--color-grassfields-red) 20px,
        var(--color-grassfields-red) 30px,
        var(--color-grassfields-indigo) 30px,
        var(--color-grassfields-indigo) 40px
    );
}

/* ==== PAGINATION ==== */
.btn-pagination-grassfields {
    background: linear-gradient(135deg, var(--color-grassfields-indigo) 0%, var(--color-grassfields-navy) 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-pagination-grassfields:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 65, 98, 0.25);
    color: #fff;
}

.btn-pagination-grassfields:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==== ARTICLE DETAIL PAGE ==== */
.article-detail-section {
    background: #fff;
    isolation: isolate;
    position: relative;
    z-index: 1;
}

.article-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: -1;
}

/* Article Content Wrapper */
.article-content-wrapper {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(43, 65, 98, 0.08);
}

@media (max-width: 991px) {
    .article-content-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .article-content-wrapper {
        padding: 25px 15px;
    }
}

/* Featured Image in Article */
.article-featured-image {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.article-featured-image img {
    box-shadow: 0 10px 40px rgba(43, 65, 98, 0.12);
    border: 3px solid var(--color-grassfields-cream);
}

@media (max-width: 991px) {
    .article-featured-image {
        max-width: 100%;
    }
}

/* Article Categories */
.article-categories {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(43, 65, 98, 0.08);
}

.article-categories .category-badge {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .article-categories {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .article-categories .category-badge {
        margin-right: 8px;
        margin-bottom: 8px;
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* Article Body Content */
.article-body-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.article-body-content h2,
.article-body-content h3,
.article-body-content h4 {
    color: var(--color-grassfields-indigo);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.article-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-body-content blockquote {
    border-left: 4px solid var(--color-grassfields-gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

/* Tags */
.tag-badge {
    background: var(--color-grassfields-cream);
    color: var(--color-grassfields-indigo);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

/* Share Buttons */
.btn-share {
    padding: 12px 24px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-share-whatsapp { background: #25D366; }
.btn-share-facebook { background: #1877F2; }
.btn-share-twitter { background: #1DA1F2; }
.btn-share-linkedin { background: #0A66C2; }

.btn-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Author Bio */
.author-bio-card {
    background: var(--color-grassfields-cream);
    padding: 30px;
    border-radius: 16px;
    border-left: 6px solid var(--color-grassfields-gold);
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Back Button */
.btn-back-grassfields {
    background: transparent;
    color: var(--color-grassfields-indigo);
    border: 2px solid var(--color-grassfields-indigo);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-back-grassfields:hover {
    background: var(--color-grassfields-indigo);
    color: #fff;
    transform: translateX(-5px);
}

/* ==== SIDEBAR ==== */
.article-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: #fff !important;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(43, 65, 98, 0.08);
    position: relative;
    isolation: isolate;
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 12px 40px rgba(43, 65, 98, 0.12);
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 16px;
    z-index: -1;
}

.widget-title {
    color: var(--color-grassfields-indigo);
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-grassfields-gold);
}

/* Related Posts */
.related-post-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(43, 65, 98, 0.1);
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.related-post-thumb {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-thumb img {
    transform: scale(1.1);
}

.related-post-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-grassfields-navy);
    line-height: 1.5;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-item:hover .related-post-title {
    color: var(--color-grassfields-indigo);
}

/* Categories Widget */
.categories-list li {
    border-bottom: 1px solid rgba(43, 65, 98, 0.1);
    padding: 12px 0;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    color: var(--color-grassfields-navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    color: var(--color-grassfields-indigo);
    padding-left: 10px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 991px) {
    .filters-card {
        padding: 30px 20px;
    }

    .article-card-image {
        height: 200px;
    }

    .article-body-content {
        font-size: 16px;
    }

    .sidebar-widget {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .filters-card {
        padding: 25px 15px;
    }

    .search-input,
    .filter-select {
        height: 50px;
        font-size: 15px;
    }

    .filters-card .nice-select {
        height: 50px;
        line-height: 48px;
        font-size: 15px;
    }

    .filters-card .input-box-one .label {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .results-count {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .results-count .fw-500 {
        font-size: 20px;
    }

    .btn-filter {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .article-card-title {
        font-size: 1.1rem;
    }

    .article-hero-title {
        font-size: 1.75rem;
    }

    .btn-share {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .author-bio-card {
        text-align: center;
    }

    .author-bio-avatar {
        margin: 0 auto 20px;
    }
}
