/* --- General & Typography --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
}
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
}

.site-branding {
    display: flex;
    align-items: center;
}
.site-branding .custom-logo-link {
    max-width: 50px;
}
.site-title a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
    margin: 0;
}
h1.site-title {
    margin: 0;
}
.site-title a:hover {
    color: #0073aa;
}

/* --- Header Right Section --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Search Toggle & Menu Toggle --- */
.search-toggle, .menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #555;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.search-toggle:hover, .menu-toggle:hover {
    background-color: #f4f4f4;
    color: #0073aa;
}

/* --- Hamburger Menu with Animation --- */
.menu-toggle {
    display: block; /* Mobile par visible */
}
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: currentColor;
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
}
.nav-is-open .menu-toggle .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-is-open .menu-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-is-open .menu-toggle .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- Main Navigation (Mobile Par Hidden) --- */
.main-navigation {
    display: none;
    width: 100%;
    border-top: 1px solid #eee;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}
.main-navigation li a:hover {
    background-color: #f7f7f7;
}
.nav-is-open .main-navigation {
    display: block;
}

/* --- MOBILE SEARCH: Slide Down Form (Default) --- */
.search-container {
    display: flex;
    align-items: center;
}
.header-search-form-inline {
    display: none; /* Mobile par inline form hide karo */
}
.header-search-form {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e7e7e7;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}
.search-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}
.header-search-form .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.header-search-form .search-submit {
    margin-left: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.header-search-form .search-submit:hover {
    background-color: #005a87;
}
/* JS se class add karne par mobile search form dikhega */
.search-is-open .header-search-form {
    max-height: 100px;
    padding: 0.5rem 0;
}


/* --- DESKTOP STYLES (768px se upar) --- */
@media screen and (min-width: 768px) {
    .header-container {
        padding: 0.5rem 2rem;
    }
    .header-right {
        gap: 2rem;
    }
    .main-navigation {
        display: flex;
        width: auto;
        border-top: none;
        position: static;
        box-shadow: none;
        background: transparent;
    }
    .main-navigation ul {
        display: flex;
        align-items: center;
    }
    .main-navigation li {
        margin-left: 2rem;
    }
    .main-navigation li a {
        padding: 0;
        border-bottom: none;
    }
    .menu-toggle {
        display: none;
    }

    /* --- DESKTOP SEARCH: Inline Expanding Form --- */
    .header-search-form {
        display: none; /* Desktop par slide-down form hide karo */
    }
    .header-search-form-inline {
        display: flex; /* Desktop par inline form show karo */
        width: 0;
        opacity: 0;
        overflow: hidden;
        transition: width 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
        padding-left: 0;
    }
    .header-search-form-inline .search-form {
        display: flex;
        align-items: center;
    }
    .header-search-form-inline .search-field {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 0.9rem;
        background-color: #f8f8f8;
    }
    .header-search-form-inline .search-submit {
        margin-left: 0.5rem;
        padding: 0.5rem 1rem;
        background-color: #0073aa;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }
    .header-search-form-inline .search-submit:hover {
        background-color: #005a87;
    }
    /* JS se class add karne par desktop search form expand hoga */
    .search-is-open .header-search-form-inline {
        width: 250px; /* Expanded width */
        opacity: 1;
        padding-left: 10px; /* Space between icon and input */
    }
}

/* --- Evergreen Articles Section --- */
.evergreen-section {
    /* *** CHANGE: Top padding kam kar diya gap ke liye *** */
    padding: 0rem 0rem 1rem 0rem; 
    background-color: #f9f9f9;
}

.evergreen-section .container {
    max-width: 1200px;
    margin: 0 auto;
    /* *** CHANGE: Side buttons ke liye space kam kiya *** */
    padding: 0 50px; 
    position: relative; /* For positioning buttons inside */
}

/* --- Section Header with Underline --- */
.section-header {
    text-align: center;
    margin:-1rem 0 0rem 0; /* *** CHANGE: Bottom margin kam kiya *** */
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}

/* --- Category Selector --- */
.category-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.category-selector label {
    font-weight: 600;
    color: #333;
}

.category-selector select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.category-selector select:focus {
    outline: none;
    border-color: #0073aa;
}

/* --- Mobile Specific Styles for Category Selector --- */
@media screen and (max-width: 767px) {
    .category-selector {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .category-selector select {
        width: 100%;
        max-width: 300px;
    }
}

/* --- Article Slider --- */
.article-slider {
    position: relative;
    overflow: hidden;
    margin: 0 -25px; /* Negative margin to allow buttons to be positioned outside */
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: stretch;
    position: relative;
    margin-right: 50px;
    padding-right: 0px;
}

.slide {
    min-width: 100%;
    padding: 0 2.5rem; /* Increased padding to make space for buttons */
    display: flex;
}

.slide-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* --- Slide Thumbnail --- */
.slide-thumbnail {
    width: 100%;
    height: 200px; /* *** CHANGE: Height thodi aur kam ki *** */
    overflow: hidden;
}
.slide-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Slide Content (Updated without description) --- */
.slide-content {
    padding: 1rem; /* *** CHANGE: Padding kam kiya *** */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.slide-title {
    font-size: 1.25rem; /* *** CHANGE: Font size kam kiya *** */
    font-weight: 600;
    margin: 0 0 0.5rem 0; /* *** CHANGE: Margin kam kiya *** */
    line-height: 1.3;
}
.slide-title a {
    text-decoration: none;
    color: #333;
}
.slide-title a:hover {
    color: #0073aa;
}
/* Description हटा दिया गया है */
.slide-meta {
    font-size: 0.9rem; /* *** CHANGE: Font size kam kiya *** */
    color: #999;
    margin-top: auto;
    display: flex;
    align-items: center;
}
.slide-meta .author {
    font-weight: 500;
    display: flex;
    align-items: center;
}
.verified-badge {
    margin-left: 4px;
    fill: #1DA1F2;
}
.slide-meta .date {
    margin-left: 1rem;
}

/* --- Slider Buttons (Fixed Position) --- */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.slider-button:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
/* *** CHANGE: Buttons ko article ke kinare par lagaya *** */
.slider-prev {
    left: 0px;
}
.slider-next {
    right: 0px;
    transform: translateY(-50%) rotate(180deg);
}
.slider-next:hover {
    transform: translateY(-50%) rotate(180deg);
}

/* --- Slider Dots --- */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #0073aa;
    transform: scale(1.2);
}

/* --- Responsive for Slider --- */
@media screen and (min-width: 768px) {
    .slide {
        min-width: calc(33.333% - 5rem); /* Adjusted for new padding */
    }
    .slider-wrapper {
        margin: 0 -2.5rem;
    }
}

/* --- Mobile Specific Styles --- */
@media screen and (max-width: 767px) {
    .evergreen-section .container {
        padding: 0 30px; /* Less padding on mobile */
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .slide-title {
        font-size: 1.1rem;
    }
    .article-slider {
        margin: 0 -15px; /* Adjusted for mobile */
    }
    .slide {
        padding: 0 1.5rem; /* Adjusted for mobile */
    }
    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* --- Featured Tools Section --- */

.featured-tools-section {
    padding: 4rem 1.5rem;
    background-color: #ffffff; /* White background for contrast */
}

.featured-tools-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Section Header (Same as Evergreen) --- */
.featured-tools-section .section-header {
    text-align: center;
    margin-bottom: 0rem;
}
.featured-tools-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-top: 0rem;
}
.featured-tools-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}


/* --- Featured Tools Section --- */
.featured-tools-section {
    padding: 4rem 1.5rem;
    background-color: #ffffff; /* White background for contrast */
}

.featured-tools-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Section Header (Same as Evergreen) --- */
.featured-tools-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.featured-tools-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.featured-tools-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}

/* --- Featured Tools Section (Enhanced & Professional) --- */
.featured-tools-section {
    padding: 4rem 1.5rem;
    /* Subtle gradient for a modern look */
    background: linear-gradient(to bottom, #ffffff, #f7f9fc);
}

.featured-tools-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Section Header (Same as Evergreen) --- */
.featured-tools-section .section-header {
    text-align: center;
    margin-bottom: 3.5rem; /* Thoda aur space */
}
.featured-tools-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    
}
.featured-tools-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}

/* --- Featured Tools Section (Clean & Professional) --- */
.featured-tools-section {
    padding: 1rem 1.5rem;
    background: linear-gradient(to bottom, #ffffff, #f7f9fc);
}

.featured-tools-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Section Header --- */
.featured-tools-section .section-header {
    text-align: center;
    margin: 1rem 0 1rem 0;
}
/* Mobile Specific Styles for Featured Tools Section Header */
@media screen and (max-width: 767px) {
    .featured-tools-section .section-header {
        text-align: center;
        margin: -1rem 0 1rem 0;
    }
}
.featured-tools-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.featured-tools-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}

/* --- Tools Grid Layout --- */
.tools-grid {
    display: grid;
    /* Default for mobile/tablet: 1 or 2 columns */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: -1rem 0 1rem 0;
}

/* --- Tool Card Link Wrapper --- */
.tool-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Tool Card Styling --- */
.tool-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease; /* Simple, smooth transition */
    cursor: pointer;
    border: 1px solid rgba(0, 115, 170, 0.08);
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.tool-card:hover {
    transform: translateY(-5px); /* Subtle lift */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* Professional shadow */
}

/* --- Tool Icon (Clean Hover) --- */
.tool-icon {
    margin: 0 auto 1.5rem auto;
    width: 90px;
    height: 90px;
    background-color: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.tool-card:hover .tool-icon {
    background-color: #0073aa;
    transform: scale(1.05); /* Simple scale effect */
}
.tool-icon svg {
    width: 45px;
    height: 45px;
    stroke: #0073aa;
    transition: stroke 0.3s ease;
}
.tool-card:hover .tool-icon svg {
    stroke: #ffffff; /* White icon on hover */
}

/* --- Tool Name --- */
.tool-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    transition: color 0.3s ease;
}
.tool-card:hover .tool-name {
    color: #0073aa;
}


/* --- DESKTOP LAYOUT: Force 4 Columns in One Row --- */
@media screen and (min-width: 1024px) {
    .tools-grid {
        /* *** CHANGE: Desktop par 4 columns fix kar diya *** */
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem; /* Thoda kam gap for better fit */
    }
    .tool-card {
        padding: 2rem 1.5rem; /* Padding adjust kiya */
    }
}


/* --- MOBILE FRIENDLY STYLES --- */
@media screen and (max-width: 767px) {
    .featured-tools-section {
        padding: 3rem 1rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .tools-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem;
    }
    .tool-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    .tool-icon {
        width: 80px;
        height: 80px;
    }
    .tool-icon svg {
        width: 40px;
        height: 40px;
    }
    .tool-name {
        font-size: 1.2rem;
    }
}





/* --- Recent News Section --- */
.recent-news-section {
    padding: 1rem 1.5rem;
    background-color: #ffffff;
}

.recent-news-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Section Header --- */
.recent-news-section .section-header {
    text-align: center;
    margin:-2rem 0 1rem 0;
}
.recent-news-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.recent-news-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}

/* --- Two Column Grid Layout --- */
.news-grid {
    display: flex;
    gap: 2.5rem;
    align-items: stretch; /* *** KEY: Yeh columns ki height same karega *** */
}

/* --- Left Column: News List (No major changes) --- */
.news-list {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e7e7e7;
}
.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.news-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-content {
    flex-grow: 1;
}
.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}
.news-title a {
    text-decoration: none;
    color: #333;
}
.news-title a:hover {
    color: #0073aa;
}
.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}
.news-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

/* --- Right Column: Featured News (Fixed Thumbnail Height) --- */
.featured-news {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.featured-news-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    
    flex: 1; /* Yeh card ko available vertical space bharne dega */
    display: flex;
    flex-direction: column;
}
.featured-news-card:hover {
    transform: translateY(-5px);
}
/* *** CHANGE: Thumbnail ki height fix kar di *** */
.featured-news-thumbnail {
    width: 100%;
    height: 250px; /* *** Fixed height set ki gayi *** */
    overflow: hidden;
}
.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.featured-news-card:hover .featured-img {
    transform: scale(1.05);
}
.featured-news-content {
    padding: 1rem 1.5rem;
    text-align: center;
    flex-shrink: 0; /* Content ka size fix rahega */
}
.featured-news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.featured-news-title a {
    text-decoration: none;
    color: #333;
}
.featured-news-title a:hover {
    color: #0073aa;
}


/* --- Mobile Responsiveness --- */
@media screen and (max-width: 768px) {
    .recent-news-section {
        padding: 1rem 1rem;
    }
    .news-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .news-list, .featured-news {
        flex: 1;
    }
    .news-item {
        gap: 1rem;
    }
    .news-thumbnail {
        width: 80px;
        height: 80px;
    }
    /* *** CHANGE: Mobile par bhi height fix kar di *** */
    .featured-news-thumbnail {
        height: 150px; /* Mobile ke liye thodi kam height */
    }
}




/* =======================================
   INFO SECTION STYLES
   ======================================= */

.info-section {
    padding: 20px 0;
    background-color: #f9f9f9;
    margin-bottom: -1rem;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 5px;
}

.info-box {
    width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.info-box-header {
    background-color: #f1f1f1;
    padding: 15px 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.info-box-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

.info-box-content {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 20px;
    height: 400px;
    overflow-y: auto;
}

/* Categories Box Styles */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.category-item a:hover {
    color: #555;
}

.category-count {
    background-color: #e0e0e0;
    color: #333;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Pages Box Styles */
.pages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-item {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.page-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.page-item a:hover {
    color: #555;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #bbb;
    outline: none;
}

.btn-submit {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: #e0e0e0;
}

/* Simple Scrollbar Styles */
.info-box-content::-webkit-scrollbar {
    width: 6px;
}

.info-box-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.info-box-content::-webkit-scrollbar-thumb {
    background: #ddd;
}

.info-box-content::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* =======================================
   RESPONSIVE STYLES FOR INFO SECTION
   ======================================= */

/* Tablet Styles */
@media screen and (max-width: 992px) {
    .info-box {
        width: 50%;
    }
    
    .info-box-content {
        height: 350px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .info-section {
        padding: 40px 0;
    }
    
    .info-box {
        width: 100%;
    }
    
    .info-box-content {
        height: 300px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .info-section {
        padding: 30px 0;
    }
    
    .info-grid {
        margin: 0 5px;
    }
    
    .info-box {
        padding: 0 10px;
    }
    
    .info-box-header {
        padding: 12px 15px;
    }
    
    .info-box-header h3 {
        font-size: 16px;
    }
    
    .info-box-content {
        padding: 15px;
        height: 250px;
    }
    
    .category-item,
    .page-item {
        padding: 8px 12px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }
    
    .btn-submit {
        padding: 10px 15px;
        font-size: 14px;
    }
}























/* =======================================
   FOOTER STYLES
   ======================================= */

.site-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 50px 0 25px;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin:-15px 40px;
}

.footer-column {
    width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #3498db;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #e74c3c;
}

/* About Us Column */
.about-us p {
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
    color: #cccccc;
}

/* Connect With Us Column */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #333333;
}

.social-link:hover {
    background-color: #3498db;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-link i {
    font-size: 18px;
}

/* Direct Queries Column */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    margin-right: 15px;
    color: #3498db;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-item span {
    line-height: 1.5;
    font-size: 15px;
    color: #cccccc;
}

.dmca-badge {
    margin-top: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dmca-badge:hover {
    transform: scale(1.05);
}

.dmca-badge img {
    max-width: 120px;
    height: auto;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #2c2c2c;
    margin-top: 10px;
}

.copyright p {
    margin: 0;
    font-size: 15px;
    color: #999999;
}

/* =======================================
   RESPONSIVE STYLES FOR FOOTER
   ======================================= */

/* Tablet Styles */
@media screen and (max-width: 992px) {
    .footer-column {
        width: 50%;
        margin-bottom: 40px;
    }
    
    .footer-column:last-child {
        width: 100%;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .footer-content {
        margin: -10px 30px;
    }
    
    .footer-column {
        width: 100%;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    
    .footer-column h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 16px;
    }
    
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .copyright {
        padding-top: 20px;
    }
    
    .copyright p {
        font-size: 15px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .footer-column h3 {
        font-size: 16px;
    }
    
    .about-us p,
    .contact-item span {
        font-size: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 14px;
    }
    
    .dmca-badge img {
        max-width: 100px;
    }
}




/* =======================================
   SINGLE POST & SIDEBAR STYLES
   ======================================= */

/* --- Main Layout Container --- */
.single-post-layout {
    margin: 2rem auto;
    padding: 0 1rem;
}
.post-content-area {
    margin-bottom: 2rem;
}

/* --- Main Article Box with Conditional Border --- */
.post-article-box {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden; /* Prevents content from spilling out */
}

/* --- Post Header & Meta (Left Aligned, Black Text) --- */
.post-header {
    margin-bottom: 2rem;
}
.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000; /* Black text */
    line-height: 1.2;
    margin: 0 0 1rem 0;
    text-align: left; /* Left aligned */
}
.post-meta-description {
    font-family: 'Georgia', serif; /* Different font for meta description */
    font-size: 1.1rem;
    color: #333; /* Black text */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.post-meta {
    font-size: 0.9rem;
    color: #000; /* Black text */
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.post-meta a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.post-meta a:hover {
    color: #0073aa;
}
.post-meta span {
    display: inline-flex;
    align-items: center;
	gap: 4px;

}

/* Small author avatar in meta */
.author-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}

.author-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Twitter-style verified badge */
.verified-badge {
    vertical-align: middle;
    margin-left: 2px;
}

/* Date icon styling */
.date-icon {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Category icon styling */
.category-icon {
    color: #6c757d;
    font-size: 0.9rem;
}

/* --- Featured Image --- */
.post-thumbnail {
    margin: 0 auto 2rem auto;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    width: 276px;
    height: 155px;
}

.featured-image-single {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* This is key - crops image to fit */
    border-radius: 8px;
}

/* For mobile devices */
@media (max-width: 768px) {
    .post-thumbnail {
        border-radius: 6px;
        margin: 0 auto 1.5rem auto;
        width: 100%;
        max-width: 276px; /* Maintain aspect ratio on mobile */
        height: auto;
        aspect-ratio: 276 / 155; /* 276:155 ratio */
    }
    
    .featured-image-single {
        border-radius: 6px;
        height: auto;
        aspect-ratio: 276 / 155;
    }
}

/* For very small mobile devices */
@media (max-width: 480px) {
    .post-thumbnail {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        margin: 0 0 1.5rem 0;
    }
    
    .featured-image-single {
        border-radius: 0;
    }
}

/* --- Post Content & Elements (Black Text, Scrollable Table) --- */
.post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000; /* Black text */
}
.post-content h2, .post-content h3 { color: #000; }
.post-content p { color: #000; margin-bottom: 1.5rem; }
.post-content a { color: #0073aa; }

/* --- Table Styling with Horizontal Scroll --- */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}
.post-content th, .post-content td {
    padding: 0.8rem 1rem;
    text-align: left;
    border: 1px solid #dee2e6;
    color: #000;
}
.post-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}
/* Wrapper for making table scrollable */
.post-content .table-wrapper {
    overflow-x: auto; /* Enables horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* --- Other Content Elements --- */
.post-content blockquote {
    border-left: 4px solid #0073aa;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background-color: #f8f9fa;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #000;
}
.post-content li { margin-bottom: 0.5rem; }
.post-content iframe {
    max-width: 100%;
    height: auto;
    border: none;
}

/* --- Post Tags & Social Share (Inside Box) --- */
.post-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}
.post-tags strong {
    color: #000;
    font-weight: 700;
}
.post-tags a {
    display: inline-block;
    background-color: #e9ecef;
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease-in-out;
}
.post-tags a:hover {
    background-color: #0073aa;
    color: #fff;
}
.social-share-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex; /* Horizontal layout on desktop */
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.social-share-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}
.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease;
    margin-left: 10px;
}
.share-button:hover { transform: translateY(-3px); }
.share-button.facebook { background-color: #1877f2; }
.share-button.twitter { background-color: #1da1f2; }
.share-button.linkedin { background-color: #0077b5; }
.share-button.pinterest { background-color: #bd081c; } /* Pinterest Red */
.share-button.whatsapp { background-color: #25d366; }
.share-button.email { background-color: #6c757d; }

/* --- Author Box with Professional Background --- */
.author-bio-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.author-bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.author-avatar-link {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.author-avatar-link:hover {
    transform: scale(1.05);
}

.author-avatar-img {
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
}

.author-info { 
    flex-grow: 1; 
    position: relative;
    z-index: 1;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* --- Post Navigation with Gap --- */
.post-navigation-section {
    display: flex;
    justify-content: space-between;
    gap: 1rem; /* Added gap between boxes */
    margin-top: 15px;
}

.post-navigation-section div {
    flex-basis: 48%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.post-navigation-section div:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-navigation-section a {
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.nav-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.comments-section { margin-top: -2rem; }
.comments-area {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}
.comments-title { font-size: 1.8rem; font-weight: 700; color: #2c3e50; margin-bottom: 2rem; text-align: center; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list > li { margin-bottom: 2rem; }
.comment-list .children { list-style: none; padding-left: 60px; margin-top: 1.5rem; }
.comment-body { display: flex; gap: 1.5rem; }
.comment-author-avatar img { border-radius: 50%; width: 60px; height: 60px; }
.comment-content-area { flex-grow: 1; }
.comment-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.comment-author-name { font-weight: 700; color: #2c3e50; }
.comment-date { font-size: 0.9rem; color: #6c757d; }
.comment-text { font-size: 1rem; line-height: 1.7; color: #34495e; }
.reply-link a { color: #0073aa; font-weight: 600; text-decoration: none; }
.reply-link a:hover { text-decoration: underline; }
.comment-respond { margin-top: -3rem; padding-top: 0rem; }
.comment-reply-title { font-size: 1.5rem; font-weight: 700; color: #2c3e50; margin-bottom: 1.5rem; }
.comment-form { display: flex; flex-direction: column; gap: 1rem; margin-top: -1rem; }
.comment-form input, .comment-form textarea {
    width: 100%; padding: 1rem; border: 1px solid #ced4da; border-radius: 8px; font-size: 1rem; font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease ;padding-right: 0rem;
}

.comment-form input:focus, .comment-form textarea:focus {
    outline: none; border-color: #0073aa; box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
.submit-btn {
    background: linear-gradient(135deg, #0073aa, #00a8ff);
    color: #fff; border: none; padding: 1rem 2rem; border-radius: 8px;
    font-size: 1.1rem; font-weight: 600; cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 115, 170, 0.3);
}

/* --- Comment Form Checkbox Fix --- */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.comment-form-cookies-consent label {
    display: inline;
    margin: 0;
    font-weight: normal;
}

/* --- Sidebar --- */
.sidebar-area .widget {
    background: #fff; padding: 1.5rem; margin-bottom: 2rem;
    border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.sidebar-area .widget-title {
    font-size: 1.2rem; font-weight: 700; margin: 0 0 1rem 0; color: #2c3e50;
}
.widget-placeholder { text-align: center; color: #6c757d; }


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

/* Mobile View (Specific Fixes) */
@media screen and (max-width: 767px) {
    .single-post-layout { padding: 0 3px; /* 3px space */ }
    .post-article-box {
        padding: 1rem;
        border-left: none; /* No border */
        border-right: none; /* No border */
    }
    
    /* NEW: Mobile specific styles for post meta */
    .post-meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    
    .post-meta .author {
        flex: 1;
        margin-bottom: 0;
    }
    
    .post-meta .date {
        flex: 1;
        margin-left: 0;
        text-align: right;
    }
    
    .post-meta .category {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        order: 3;
    }
    
    .social-share-section {
        flex-direction: column; /* Stack vertically */
        align-items: flex-start;
        gap: 1rem;
    }
    .author-bio-section, .post-navigation-section, .comments-section {
        margin-top: 1rem; /* Smaller gap */
    }
    .post-navigation-section {
        flex-direction: column;
        gap: 1rem;
    }
    .post-navigation-section div {
        flex-basis: 100%;
    }
    .comment-body { flex-direction: column; gap: 1rem; text-align: center; }
    .comment-meta { flex-direction: column; gap: 0.5rem; }
    .comment-list .children { padding-left: 30px; }
    .author-bio-section {
        padding: 1.5rem;
    }
    .author-name {
        font-size: 1.2rem;
    }
}

/* Tablet and Up (2-column layout + Border) */
@media screen and (min-width: 768px) {
    .single-post-layout {
        display: flex; gap: 3rem; max-width: 1200px;
    }
    .post-content-area { flex: 3; margin-bottom: 0; }
    .sidebar-area { flex: 1; }
    .post-article-box {
        padding: 1rem 1.5rem; border-radius: 8px;
        border-left: 1px solid #e9ecef;
        border-right: 1px solid #e9ecef;
    }
    .post-thumbnail { margin: 0 -3.5rem 2rem -3.5rem; }
}

/* Large Desktop and Up */
@media screen and (min-width: 1024px) {
    .single-post-layout { margin: 4rem auto; }
    .post-title { font-size: 2rem; }
    .post-content { font-size: 1.2rem; }
}


/* =======================================
   PAGE.PHP STYLES
   ======================================= */
.page-template-default .post-article-box {
    margin-top: 2rem;
}




























/* =======================================
   ARCHIVE PAGE STYLES
   ======================================= */

.archive-page {
    padding: 3rem 1.5rem;
    background-color: #f9f9f9;
}

.archive-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Archive Page Header --- */
.archive-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.archive-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Archive Posts Grid Layout --- */
.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* --- Individual Post Card --- */
.archive-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.archive-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* --- Post Card Thumbnail --- */
.post-card-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative; /* For category badge positioning */
}

.post-card-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.archive-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-post-card:hover .archive-post-thumbnail {
    transform: scale(1.05);
}

/* --- Category Badge on Thumbnail --- */
.post-card-category-badge {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: #0073aa;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Post Card Content --- */
.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.post-card-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #0073aa;
}

.post-card-meta {
    font-size: 0.9rem;
    color: #888;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-card-author {
    display: flex;
    align-items: center;
}

.author-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.post-card-author a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.post-card-author a:hover {
    color: #0073aa;
}

.verified-badge {
    margin-left: 4px;
    fill: #1DA1F2;
}

.post-card-date {
    display: flex;
    align-items: center;
}

.post-card-date i {
    margin-right: 5px;
}

/* --- No Posts Found --- */
.no-posts-found {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.no-posts-found h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.no-posts-found p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* --- Circular Pagination Styling --- */
.navigation.pagination {
    margin-top: 3rem;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    text-decoration: none;
    color: #0073aa;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* =======================================
   RESPONSIVE DESIGN FOR ARCHIVE PAGE
   ======================================= */

/* Tablet Styles */
@media screen and (max-width: 768px) {
    .archive-page {
        padding: 2rem 1rem;
    }
    .archive-title {
        font-size: 2.2rem;
    }
    .archive-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .post-card-title {
        font-size: 1.25rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 600px) {
    .archive-page {
        padding: 1.5rem 0.75rem;
    }
    .archive-title {
        font-size: 2rem;
    }
    .archive-posts-grid {
        grid-template-columns: 1fr; /* Single column on small mobile */
        gap: 1.5rem;
    }
    .post-card-content {
        padding: 1.25rem;
    }
    .post-card-meta {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }
    .post-card-author {
        order: 1;
    }
    .post-card-date {
        order: 2;
    }
}