@charset "UTF-8";

/* ============================================
   CRITICAL FIXES - HIGH SEO IMPACT
   ============================================ */

/* FIX 1: Remove invalid CSS syntax (line 11-13) */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* FIX 2: Fix CRITICAL layout-breaking issue with .container positioning */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
   /*  margin-left: auto;
    /* REMOVED: position: absolute; top:1px; left:19px; - THIS BREAKS LAYOUT */
}

/* FIX 3: Fix invalid .col-lg-4 width causing layout shifts */
@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 23.333333%; /* Fixed from 300px */
    }
}

/* FIX 4: Fix invalid .col-lg-6 width */
@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%; /* Fixed from 80% */
    }
}

/* FIX 5: Fix .row-cols-md-3 missing width */
@media (min-width: 768px) {
    .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 33.333333%; /* Added missing width */
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Optimize font loading - prevent FOIT/FOUT */
body {
    font-family: 'Plus Jakarta Sans', var(--bs-font-sans-serif);
    font-display: swap; /* Critical for Core Web Vitals */
}

/* Reduce CSS specificity where possible */
.section-full-width {
    width: calc(100% - 2rem);
    max-width: 1920px;
    margin: 0 auto;
}

/* Simplify responsive width logic */
@media (min-width: 1925px) {
    .section-full-width {
        max-width: 1920px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ============================================
   FIXED: Footer Styles (removed invalid <center>)
   ============================================ */
.section-footer {
    --bs-link-color-rgb: var(--bs-secondary-rgb);
    --bs-link-color: var(--bs-secondary);
    --bs-link-hover-color: var(--bs-secondary);
    --bs-link-hover-color-rgb: var(--bs-secondary-rgb);
    --bs-border-color: var(--bs-secondary);
    background-color: inherit;
}

/* Address details border fix */
.address-details {
    --bs-address-details-padding-left: 40px;
    border-left: 1px solid var(--bs-border-color);
    padding-left: var(--bs-address-details-padding-left);
}

/* ============================================
   MOBILE FIRST RESPONSIVE FIXES
   ============================================ */
@media (max-width: 991.98px) {
    .address-details {
        --bs-address-details-padding-left: 30px;
        border-left: none; /* Better for mobile */
        padding-left: 0;
    }
    
    .section-footer .container {
        text-align: center;
    }
}

/* ============================================
   FORM STYLES (Optimized)
   ============================================ */
.rd-form .form-input {
    display: block;
    width: 100%;
    min-height: 60px;
    padding: 17px 22px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #151515;
    background-color: #f7f7f7;
    border: 1px solid #f7f7f7;
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Remove duplicate property declarations */
.form-input:focus {
    outline: 0;
    border-color: var(--bs-primary, #28ec12);
}

/* ============================================
   ACCESSIBILITY & SEO
   ============================================ */
/* Ensure sufficient color contrast */
a,
.link-hover-animation-1 {
    --bs-link-hover-animation-color: var(--bs-primary);
    background: linear-gradient(to right, var(--bs-link-hover-animation-color) 0%, var(--bs-link-hover-animation-color) 100%);
    background-size: 0px 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
    transition-duration: 0.5s;
    text-decoration: none;
}

/* Improve readability */
p {
    line-height: 1.6;
}

/* Fix heading hierarchy for SEO */
h1, .h1 {
    font-size: calc(2.0625rem + 9.75vw);
    margin-bottom: 1rem;
}

@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 3.075rem;
    }
}

/* ============================================
   ARTICLE LIST STYLES - Modern & Clean Design
   ============================================ */

/* Container styling for the article list */
.article-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Individual article card styling */
.article-list .article {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f6;
}

/* Hover effect for articles */
.article-list .article:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Article header area */
.article-list .article-header {
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 10px;
}

/* Article title styling */
.article-list .article-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.article-list .article-title a {
    color: #1a2a3a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-list .article-title a:hover {
    color: #3498db;
}

/* Article meta information (author, date, category) */
.article-list .article-info {
    font-size: 0.85rem;
    color: #6c7a89;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.article-list .article-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Add icons to meta info (optional) */
.article-list .article-info .createdate::before {
    content: "?? ";
}

.article-list .article-info .modified::before {
    content: "?? ";
}

.article-list .article-info .author::before {
    content: "?? ";
}

.article-list .article-info .category-name::before {
    content: "?? ";
}

/* Intro image styling */
.article-list .article-intro-image {
    margin: 0 0 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-list .article-intro-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-list .article-intro-image img:hover {
    transform: scale(1.02);
}

/* Article text/content */
.article-list .article-introtext {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* "Read More" button styling */
.article-list .readmore {
    margin-top: 20px;
}

.article-list .readmore a {
    display: inline-block;
    background: #294a61;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.article-list .readmore a:hover {
    background: #2980b9;
    transform: translateX(4px);
}

/* Styling for leading articles (first article) */
.article-list .leading .article {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-left: 4px solid #3498db;
    padding: 30px;
}

.article-list .leading .article-title {
    font-size: 2.2rem;
}

/* Grid layout for articles */
.article-list.columns-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-list.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Responsive grid adjustments */
@media (max-width: 992px) {
    .article-list.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-list.columns-2,
    .article-list.columns-3 {
        grid-template-columns: 1fr;
    }
    
    .article-list .article {
        padding: 20px;
    }
    
    .article-list .article-title {
        font-size: 1.5rem;
    }
}

/* Tags styling */
.article-list .tags {
    margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-list .tags .tag {
    background: #eef2f6;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #4a5568;
    text-decoration: none;
    transition: background 0.2s ease;
}

.article-list .tags .tag:hover {
    background: #3498db;
    color: #ffffff;
}

/* Rating stars (if enabled) */
.article-list .content_rating {
    margin: 10px 0;
}

.article-list .star-rating {
    color: #f39c12;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .article-list .article {
        background: #1e2a36;
        border-color: #2d3e4e;
    }
    
    .article-list .article-title a {
        color: #ecf0f1;
    }
    
    .article-list .article-introtext {
        color: #bdc3c7;
    }
    
    .article-list .article-info {
        color: #95a5a6;
    }
    
    .article-list .tags .tag {
        background: #2d3e4e;
        color: #ecf0f1;
    }
}

/* Animation for articles on scroll (optional) */
.article-list .article {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* ============================================
   ENHANCED FEATURES - Premium Article Cards
   ============================================ */

/* Card with image overlay effect */
.article-list .article.has-image {
    position: relative;
    overflow: hidden;
}

.article-list .article.has-image .article-intro-image {
    margin: -25px -25px 0 -25px;
    border-radius: 12px 12px 0 0;
}

/* Featured article styling */
.article-list .article.featured {
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
    border: 1px solid #ffd89a;
    position: relative;
}

.article-list .article.featured::before {
    content: "? FEATURED";
    position: absolute;
    top: 20px;
    right: -30px;
    background: #f39c12;
    color: white;
    padding: 5px 30px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Article statistics (views, comments) */
.article-list .article-stats {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eef2f6;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.article-list .article-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Category badge */
.article-list .article-category {
    display: inline-block;
    background: #3498db10;
    color: #3498db;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quote styling within articles */
.article-list .article-introtext blockquote {
    border-left: 4px solid #3498db;
    margin: 20px 0;
    padding: 10px 0 10px 20px;
    font-style: italic;
    color: #555;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

/* Code blocks */
.article-list .article-introtext pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Responsive images */
.article-list .article-introtext img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}




/* ============================================
   MODERN LOGIN MODULE STYLES
   ============================================ */

/* Login module container */
.mod-login {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 35px;
}

.mod-login:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Module header styling */
.mod-login .card-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 20px 25px;
    border-bottom: none;
}

.mod-login .card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.mod-login .card-header h3::before {
    content: "?? ";
}

/* Login form body */
.mod-login .card-body {
    padding: 30px 25px;
}

/* Form field groups */
.mod-login .form-group {
    margin-bottom: 20px;
}

/* Input field styling */
.mod-login .input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.mod-login .input-group:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Input field icons */
.mod-login .input-group-text {
    background: transparent;
    border: none;
    padding: 12px 0 12px 15px;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Username/Email input */
.mod-login #modlgn-username,
.mod-login #modlgn-passwd {
    border: none;
    padding: 12px 15px 12px 0;
    width: 100%;
    font-size: 0.95rem;
    background: transparent;
    outline: none;
}

.mod-login #modlgn-username:focus,
.mod-login #modlgn-passwd:focus {
    box-shadow: none;
}

/* Label styling */
.mod-login .form-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remember me checkbox */
.mod-login .form-check {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mod-login .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3498db;
}

.mod-login .form-check-label {
    color: #475569;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Login button */
.mod-login .btn-primary {
    background: linear-gradient(135deg, #6dfe00 0%, #6dfe00 100%);
    border: none;
    padding: 12px 24px;
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: white;
    cursor: pointer;
    margin-top: 10px;
}

.mod-login .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #1e6a96 100%);
}

.mod-login .btn-primary:active {
    transform: translateY(0);
}

/* Forgot password link */
.mod-login .mod-login__forgot {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.mod-login .mod-login__forgot a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.mod-login .mod-login__forgot a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Registration link */
.mod-login .mod-login__register {
    text-align: center;
    margin-top: 15px;
}

.mod-login .mod-login__register a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

/* ============================================
   LOGGED IN STATE STYLES
   ============================================ */

/* Welcome message */
.mod-login .mod-login__greeting {
    text-align: center;
    padding: 15px;
    background: #f0fdf4;
    border-radius: 12px;
    margin-bottom: 20px;
}

.mod-login .mod-login__greeting .mod-login__greeting-text {
    font-size: 1rem;
    color: #166534;
    font-weight: 500;
}

.mod-login .mod-login__greeting .mod-login__greeting-name {
    font-weight: 700;
    color: #15803d;
}

/* Logout button */
.mod-login .btn-logout {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    padding: 12px 24px;
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mod-login .btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}


/* ============================================
   ARTICLES-MORE SECTION STYLES
   ============================================ */

/* Main container styling */
.articles-more {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
    padding: 20px 0;
    position: relative;
}

/* Add decorative separator above */
.articles-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #9b59b6, #3498db);
    border-radius: 3px;
}

/* Pagination container */
.articles-more .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Individual pagination items */
.articles-more .pagination li {
    display: inline-block;
    margin: 0;
}

/* Pagination links */
.articles-more .pagination a,
.articles-more .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

/* Hover effect for pagination links */
.articles-more .pagination a:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
}

/* Active page styling */
.articles-more .pagination .active span {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Disabled state (previous/next when not available) */
.articles-more .pagination .disabled span {
    color: #cbd5e1;
    background: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Previous/Next buttons special styling */
.articles-more .pagination .pagination-prev a,
.articles-more .pagination .pagination-next a {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.articles-more .pagination .pagination-prev a::before {
    content: "? ";
}

.articles-more .pagination .pagination-next a::after {
    content: " ?";
}

/* ============================================
   ENHANCED VERSION WITH MODERN FEATURES
   ============================================ */

/* Premium card-style pagination */
.articles-more.premium-pagination {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 60px;
    padding: 15px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.1);
    margin: 40px 0 30px !important;
}

.articles-more.premium-pagination::before {
    display: none;
}

/* Glass morphism style */
.articles-more.glass-pagination {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ============================================
   WITH LOAD MORE BUTTON STYLE
   ============================================ */

/* If using load more instead of pagination */
.articles-more .load-more {
    text-align: center;
}

.articles-more .load-more a,
.articles-more .load-more button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.articles-more .load-more a:hover,
.articles-more .load-more button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #1e6a96 100%);
}

.articles-more .load-more a:active {
    transform: translateY(0);
}

/* ============================================
   ANIMATED PAGINATION
   ============================================ */

.articles-more.animated-pagination .pagination a {
    position: relative;
    overflow: hidden;
}

.articles-more.animated-pagination .pagination a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.articles-more.animated-pagination .pagination a:hover::before {
    width: 100%;
    height: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .articles-more {
        margin-top: 30px !important;
        margin-bottom: 20px !important;
        padding: 15px 0;
    }
    
    .articles-more .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .articles-more .pagination a,
    .articles-more .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    /* Hide some page numbers on mobile */
    .articles-more .pagination li:not(.active):not(.pagination-prev):not(.pagination-next):not(:first-child):not(:last-child) {
        display: none;
    }
    
    /* Show first and last page numbers on mobile */
    .articles-more .pagination li:first-child,
    .articles-more .pagination li:last-child {
        display: inline-block;
    }
    
    .articles-more.premium-pagination,
    .articles-more.glass-pagination {
        border-radius: 40px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .articles-more .pagination a,
    .articles-more .pagination span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    /* Simplified previous/next text on mobile */
    .articles-more .pagination .pagination-prev a span,
    .articles-more .pagination .pagination-next a span {
        display: none;
    }
    
    .articles-more .pagination .pagination-prev a::before {
        content: "?";
        font-size: 1.2rem;
    }
    
    .articles-more .pagination .pagination-next a::after {
        content: "?";
        font-size: 1.2rem;
    }
}


/* ============================================
   MODERN PAGINATION STYLES
   Override Bootstrap's default pagination
   ============================================ */

/* Override Bootstrap variables with modern values */
.pagination {
    /* Modern spacing and sizing */
    --bs-pagination-padding-x: 1rem;
    --bs-pagination-padding-y: 0.5rem;
    --bs-pagination-font-size: 0.9rem;
    
    /* Modern colors - change these to match your brand */
    --bs-pagination-color: #1e293b;
    --bs-pagination-bg: transparent;
    --bs-pagination-border-width: 0;
    --bs-pagination-border-color: transparent;
    --bs-pagination-border-radius: 12px;
    
    /* Hover states */
    --bs-pagination-hover-color: #ffffff;
    --bs-pagination-hover-bg: #3498db;
    --bs-pagination-hover-border-color: #3498db;
    
    /* Focus states */
    --bs-pagination-focus-color: #3498db;
    --bs-pagination-focus-bg: rgba(52, 152, 219, 0.1);
    --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    
    /* Active state */
    --bs-pagination-active-color: #ffffff;
    --bs-pagination-active-bg: linear-gradient(135deg, #3498db, #2980b9);
    --bs-pagination-active-border-color: transparent;
    
    /* Disabled state */
    --bs-pagination-disabled-color: #94a3b8;
    --bs-pagination-disabled-bg: transparent;
    --bs-pagination-disabled-border-color: transparent;
    
    /* Layout */
    gap: 8px;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pagination items styling */
.page-item {
    margin: 0;
}

/* Pagination links */
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

/* Hover effect */
.page-link:hover {
    transform: translateY(-2px);
    background: #3498db;
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
}

/* Focus state */
.page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

/* Active page */
.page-item.active .page-link {
    background: linear-gradient(135deg, #6dfe00, #6dfe00);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transform: scale(1.05);
}

/* Disabled state */
.page-item.disabled .page-link {
    background: #f1f5f9;
    color: #cbd5e1;
    border-color: #e2e8f0;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* First and last items special styling */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Add icons to previous/next */
.page-item:first-child .page-link::before {
    content: "? ";
}

.page-item:last-child .page-link::after {
    content: " ?";
}

/* Optional: Hide text on mobile for previous/next */
@media (max-width: 576px) {
    .page-item:first-child .page-link span,
    .page-item:last-child .page-link span {
        display: none;
    }
    
    .page-item:first-child .page-link::before {
        content: "?";
        font-size: 1.2rem;
    }
    
    .page-item:last-child .page-link::after {
        content: "?";
        font-size: 1.2rem;
    }
}


.article-details .pagenavigation {
    display: block;
}

.pagenavigation .pagination .icon-chevron-left:before, 
.pagenavigation .pagination .icon-chevron-right:before {
    font-family: "Font Awesome 6 Free";
}
/*

/* ============================================
   REMOVED DUPLICATED BOOTSTRAP CSS
   ============================================ */
/* NOTE: Your file contains Bootstrap 5 CSS twice (at beginning and end)
   This should be removed. Only keep one copy of Bootstrap.
   The optimized version below assumes Bootstrap is loaded separately.
*/