/*
Theme Name: ZeeJagran
Theme URI: https://zeejagran.com
Author: Antigravity
Author URI: https://zeejagran.com
Description: A professional news portal theme designed for high readability, table-based content, and automated updates.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zeejagran
Tags: news, education, jobs, responsive, two-column, right-sidebar
*/

:root {
    --primary-color: #0056b3;
    /* Blue */
    --secondary-color: #d32f2f;
    /* Red */
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-gray: #f4f4f4;
    --border-color: #dddddd;
    --font-heading: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1200px;
}

/* Reset & Basic Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #111;
    margin-bottom: 0.5em;
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Nav placeholders */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 0;
    font-size: 0.9em;
}

/* Main Header Layout */
.main-header {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
    height: 90px;
}

/* Logo Sizing */
.site-branding {
    padding: 0;
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    line-height: 1;
}

.site-title img {
    max-height: 70px;
    /* Optimal height */
    width: auto;
    transition: transform 0.3s ease;
}

.site-title a:hover img {
    transform: scale(1.02);
    /* Subtle zoom */
}


/* Stylish Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    margin-left: 30px;
    position: relative;
}

.main-navigation a {
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Roboto', sans-serif;
    /* Modern Font */
}

/* Menu Hover Effect - Underline Animation */
.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

/* Call to Action Style for Last Menu Item (Optional) */
.main-navigation li:last-child a {
    /* You could add a button style here if desired */
}


/* Optional: if you change Site Title to "ZeeJagran" in settings, 
   we can't split colors easily without HTML modification. 
   So let's suggest a CSS trick or just keep it solid Blue for professionalism. */


/* Table Styles (Critical for this project) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

table th,
table td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: left;
}

table th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: #fafafa;
}

/* Responsive Table */
@media screen and (max-width: 600px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Navigation Toggle (Desktop: Hidden) */
.menu-toggle {
    display: none;
}

/* Mobile Layout Adjustments */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
    }

    /* Header Stacking and Menu Toggle */
    .main-header {
        position: relative;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block !important;
        /* Show hamburger button */
        background: transparent;
        border: 1px solid #333;
        color: #333;
        padding: 5px 10px;
        font-size: 0.9rem;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 20px;
    }

    .main-navigation {
        width: 100%;
    }

    /* Hide menu by default on mobile */
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
        background: #fafafa;
        margin-top: 10px;
        padding: 0;
    }

    /* Show menu when toggled */
    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .main-navigation li a {
        display: block;
        padding: 10px 15px;
    }

    /* Stack Main Content & Sidebar */
    .main-content-area {
        flex-direction: column !important;
        /* Override inline styles if necessary */
    }

    .content-column,
    .sidebar-column {
        width: 100% !important;
        /* Full width on mobile */
        flex: auto !important;
    }

    /* Hero Section Stacking */
    .hero-section {
        grid-template-columns: 1fr !important;
        /* Stack hero & trending */
    }

    .hero-main {
        height: auto;
    }

    .post-grid {
        grid-template-columns: 1fr !important;
        /* Single column grid for posts */
    }

    /* Footer Stacking */
    .footer-widgets {
        flex-direction: column;
        gap: 20px;
    }
}

/* ============================
   Updated Footer Styles
   ============================ */
.site-footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    margin-top: 50px;
    font-size: 0.95rem;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid #333;
}

.footer-widgets {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.links-section ul {
    list-style: none;
    padding: 0;
}

.links-section li {
    margin-bottom: 10px;
}

.links-section a {
    color: #b0b0b0;
    transition: color 0.3s;
}

.links-section a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.whatsapp {
    background: #25d366;
}

.footer-bottom {
    padding: 20px 0;
    background: #111;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #fff;
}

/* ============================
   Comment Section Styles
   ============================ */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.comment-body {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.comment-content p {
    margin-bottom: 10px;
}

.reply {
    width: 100%;
    text-align: right;
}

.comment-reply-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Comment Form */
.comment-respond {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.comment-reply-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: block;
    color: #333;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-submit .submit-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit .submit-btn:hover {
    background: var(--secondary-color);
}

/* ============================
   Mobile Layout Adjustments (Moved for Priority)
   ============================ */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
    }

    .main-header {
        position: relative;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block !important;
        background: transparent;
        border: 1px solid #333;
        color: #333;
        padding: 5px 10px;
        font-size: 0.9rem;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 20px;
        z-index: 1001;
    }

    .main-navigation {
        width: 100%;
    }

    /* Hide menu by default on mobile */
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
        background: #fafafa;
        margin-top: 10px;
        padding: 0;
    }

    /* Show menu when toggled */
    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .main-navigation li a {
        display: block;
        padding: 10px 15px;
    }

    /* Layout Stacking */
    .main-content-area {
        flex-direction: column !important;
    }

    .content-column,
    .sidebar-column {
        width: 100% !important;
        flex: auto !important;
    }

    .hero-section {
        grid-template-columns: 1fr !important;
    }

    .hero-main {
        height: auto;
    }

    .post-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer Stacking */
    .footer-widgets {
        flex-direction: column;
        gap: 20px;
    }
}

/* ============================
   Featured Hero Post Styles
   ============================ */
.hero-featured-post {
    position: relative;
    height: auto;
    /* Allow natural height */
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
}

.hero-featured-post .hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    /* Prevent it from being too tall */
    object-fit: contain;
    /* Ensure full image is visible */
    transition: transform 0.5s ease;
}

.hero-featured-post:hover .hero-img {
    transform: scale(1.02);
    /* Slight Zoom */
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-overlay .badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 10px;
    border-radius: 3px;
}

.hero-overlay h2 {
    margin: 0;
    line-height: 1.3;
}

.hero-overlay h2 a {
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    transition: color 0.3s;
}

.hero-overlay h2 a:hover {
    color: var(--secondary-color);
}

/* ============================
   Article Content Typography (User Friendly)
   ============================ */
.zeejagran-post-content {
    font-size: 1.2rem;
    /* Increased size (approx 19px) */
    line-height: 1.8 !important;
    /* Better breathing room */
    color: #222;
    /* Darker grey for sharpness */
    font-family: 'Open Sans', sans-serif;
    /* Clean Sans-serif */
}

/* Paragraph Spacing */
.zeejagran-post-content p {
    margin-bottom: 1.5em;
    /* Clear separation between paragraphs */
}

/* Headings in Post */
.zeejagran-post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
    line-height: 1.3;
}

.zeejagran-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.zeejagran-post-content h4 {
    font-size: 1.3rem;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

/* Lists Improvements */
.zeejagran-post-content ul,
.zeejagran-post-content ol {
    margin-bottom: 1.5em;
    padding-left: 25px;
    /* Indent lists properly */
}

.zeejagran-post-content li {
    margin-bottom: 0.8em;
    /* Space between list items */
}

/* Table Enhancements inside Post */
/* Table Enhancements inside Post */
.zeejagran-post-content table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: separate;
    /* Allows border-radius */
    border-spacing: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* Rounded corners */
    overflow: hidden;
    /* Clips the corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    font-size: 1.05rem;
    /* Larger text */
}

.zeejagran-post-content th {
    background: linear-gradient(to bottom, var(--primary-color), #004494);
    color: #fff;
    padding: 15px;
    /* More breathing room */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #003366;
    text-align: left;
}

.zeejagran-post-content td {
    padding: 14px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    color: #333;
    line-height: 1.5;
}

.zeejagran-post-content tr:last-child td {
    border-bottom: none;
    /* Remove border from last row */
}

.zeejagran-post-content tr:nth-child(even) {
    background-color: #f8fcfd;
    /* Very subtle blue tint */
}

.zeejagran-post-content tr:hover {
    background-color: #f0f7ff;
    /* Highlight on hover */
    transition: background-color 0.2s ease;
}

/* Mobile Table Scrolling (Performance Friendly) */
@media screen and (max-width: 768px) {
    .zeejagran-post-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        /* Horizontal Scroll */
        white-space: nowrap;
        /* Prevent wrapping for better reading */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
    }

    .zeejagran-post-content th,
    .zeejagran-post-content td {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Links in Content */
.zeejagran-post-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 86, 179, 0.3);
}

.zeejagran-post-content a:hover {
    color: var(--secondary-color);
    text-decoration-color: var(--secondary-color);
}

/* Image improvements in post */
.zeejagran-post-content img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .zeejagran-post-content {
        font-size: 1.1rem;
        /* Slightly smaller on mobile but still readable */
    }

    .zeejagran-post-content h2 {
        font-size: 1.5rem;
    }

    /* Table Wrapper Handling */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }

    /* Ensure table fills the wrapper */
    .zeejagran-post-content table {
        width: 100%;
        /* display: table; Default is fine, DO NOT use block */
        white-space: nowrap;
        /* Keep text on one line if desired, or normal */
        white-space: normal;
        /* Better for reading, let it wrap inside the wide table */
        min-width: 600px;
        /* Force scroll for small screens */
    }
}

/* ============================
   New Homepage Redesign (Pro Level)
   ============================ */

/* Section 1: Split Layout (News vs Alerts) */
.home-split-section {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.news-box,
.alerts-box {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.section-heading-center {
    text-align: center;
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-heading-center::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* News List Logic */
.news-list-item {
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 12px;
}

.news-list-item a {
    color: #0056b3;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.news-list-item a:hover {
    text-decoration: underline;
    color: #d32f2f;
}

/* Alert Icons Grid */
.alerts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 10px;
}

.alert-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
}

.alert-icon-item:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alert-label {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

/* Section 2: Popular Categories Grid */
.popular-cats-section {
    margin-bottom: 50px;
}

.cat-grid-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.cat-card:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.cat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #555;
}

.cat-name {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
}

/* Section 3: Founder Section */
.founder-section {
    margin-bottom: 50px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.founder-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.founder-bio {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile Responsiveness for New Layout */
@media screen and (max-width: 768px) {
    .home-split-section {
        flex-direction: column;
    }

    .cat-grid-box {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile */
    }

    .alerts-grid {
        gap: 20px;
    }

}

/* Section 2.6: People Trust Us (Stats) */
.trust-section {
    margin-bottom: 50px;
    text-align: center;
}

.trust-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.trust-stats-box {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    gap: 30px;
}

.trust-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.trust-count {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    display: block;
    margin-bottom: 5px;
}

.trust-label {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
    display: block;
}

.trust-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.trust-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* Mobile Adjustments for Trust Section */
@media screen and (max-width: 768px) {
    .trust-stats-box {
        flex-direction: column;
    }
}

/* ============================
   Scroll to Top Button (Stylish Left)
   ============================ */
#scroll-to-top {
    display: none;
    position: fixed;
    left: 30px !important;
    /* Force Left */
    right: auto !important;
    /* Reset Right */
    bottom: 80px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s;
    display: flex;
    /* Flex to center icon */
    align-items: center;
    justify-content: center;
}

#scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

#scroll-to-top i {
    pointer-events: none;
    /* Prevent icon from blocking click */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustment */
@media screen and (max-width: 768px) {
    #scroll-to-top {
        left: 20px;
        bottom: 70px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        opacity: 0.7;
        /* Transparency to see text behind */
    }
}

/* ============================
   Pagination Styles
   ============================ */
.pagination .nav-links {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .page-numbers:hover:not(.current) {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    padding: 0 20px;
    font-weight: bold;
}

.pagination .screen-reader-text {
    display: none;
}