/* ========== CSS VARIABLES ========== */
:root {
    /* Primary Brand Colors */
    --primary-color: #2a8e3e;
    --primary-color-dark: #1b682b;
    --primary-color-darker: #093e0b;
    --primary-color-darkest: #222e22;
    --primary-color-light: #39b54a;
    --primary-color-hover: #39b54a;
    --primary-border-color: rgba(99, 98, 98, 0.1);
    --primary-color-black: #000000;

    /* Accent Colors */
    --accent-color: #296C32;
    --accent-color-hover: #6A9A1A;
    --accent-color-2: #56820D;
    --accent-link-color: #2a8e3e;
    --accent-link-color-dark-2: #185c26;
    --accent-link-pink: #c60052;
    --accent-link-color-dark: #7a1f3d;
    --accent-link-color-light: #50ca61;
    --accent-cta-color: #0a66c2;
    --accent-meta-color: #0a66c2;
    --accent-meta-color-dark: #1b682b;

    /* Text Colors */
    --text-color: #333;
    --heading-color: #232f4b;
    --light-text-color: #eee;

    /* Background Colors */
    --body-bg: #fff;
    --section-bg: #ffffff;
    --overlay-bg:  linear-gradient(to top, rgba(0, 21, 0, 0.5), rgba(0, 21, 0, 0));
    --overlay-bg-hover:  linear-gradient(to top, rgba(0, 21, 0, 0.5), rgba(0, 21, 0, 0));

    /* Badge Colors */
    --badge-bg-primary: #0a66c2;
    --badge-bg-light: rgba(255, 255, 255, 0.8);

    /* Border & Shadow */
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 10px;
    --box-shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
    --box-shadow-heavy: 0 4px 12px rgba(0, 0, 0, 0.2);

    /* Header */
    --header-height: 70px;
    --header-bg: #0e0e0f;
}

/* ========== GLOBAL STYLES ========== */
/* ========== GLOBAL STYLES ========== */
body {
    margin: 0;
    color: var(--text-color);
    background: var(--body-bg);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
    color: var(--accent-link-color-dark-2);
    text-decoration: none;
}
a:hover {
    color: var(--primary-color-hover);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-bottom: 20px;
}
h1 { font-size: 32px; }
h2 { font-size: 28px;  }
h3 { font-size: 22px; }

header h1 {

    margin: 0;
    padding: 0;}

/* ========== LAYOUT & CONTAINERS ========== */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}
.container-center {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.flex-space-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}
.flex-column { flex: 1 1 65%; min-width: 300px; }
.sidebar-column { flex: 1 1 30%; min-width: 280px; }

/* ========== HEADER ========== */

/* Header Base */

/* Header Container */
/* General Reset */
body, ul {
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
}

.site-header {
    background: var(--header-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px; /* Reduced for better balance */
    width: auto;
    display: block;
    margin: 0 auto; /* Center horizontally if needed */
    padding: 10px;
    object-fit: contain;
}


.main-nav ul {
    display: flex;
    gap: 30px;
    font-size: 17px;
}

.main-nav a {
    text-decoration: none;
    color: var(--light-text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color-light, #0a66c2);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color, #0a66c2);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text-color);
    padding: 5px;
    transition: transform 0.2s;
}

.icon-button:hover {
    color: var(--primary-color, #0a66c2);
    transform: scale(1.1);
}
/* ... previous CSS remains ... */

/* Default Hidden States */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text-color);
    font-size: 24px;
    margin-left: 10px; /* Pushes it slightly right */
}

/* Off-Canvas Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -400px; /* Start hidden from the left */
    width: 300px;
    height: 100%;
    background: #191a1f;
    color: #fff;
    padding: 30px 20px;
    transition: left 0.3s ease;
    z-index: 1000;
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin-top: 80px; /* Space below close button */
}

.mobile-nav li {
    margin: 20px 0;
    text-align: left;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary-color, #0a66c2);
}

/* Close Button */
.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Responsive Controls */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        order: -1; /* Places it before logo in flex */
    }

    .menu-btn {
        display: block;
    }

    .header-icons {
        gap: 10px;
    }
}

/* Search Overlay */

.search-wrapper {
    position: relative;
    display: inline-block;
}


.search-popup {
    display: none;
    position: absolute;
    top: 200%; /* adjust based on your header height */
    right: 10%;
    background: #fff;
    padding: 10px;
    box-shadow: var(--box-shadow-heavy);
    border-radius: var(--border-radius-small);
    z-index: 999;
    align-items: center;
    gap: 10px;
    min-width: 250px;
}

.search-popup.show{
    display: block ;
}

.search-popup input {
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
}

.search-submit {
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--primary-color-hover);
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
}


/* ========== HERO SECTION ========== */
.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    padding: 0 20px;
    margin: 10px auto 40px;
}

.main-hero-post, .small-hero-post {
    background: var(--section-bg);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    position: relative;
}
.main-hero-post { grid-row: span 2; height: 500px; }
.small-hero-post { height: 240px; }

.hero a.main-hero-post,
.hero a.small-hero-post {
    display: block;
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep text colors */
}


.main-hero-post:hover, .small-hero-post:hover {
    cursor: pointer;
}

.main-hero-post img,
.small-hero-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    will-change: transform;
    display: block;
}

img {
    will-change: transform;
}


.main-hero-post::before,
.small-hero-post::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--overlay-bg-hover)!important; /* rgba(0,0,0,0.4) */
    z-index: 1;
    transition: all 0.3s ease;
}

.main-hero-post:hover img,
.small-hero-post:hover img {
    transform: scale(1.1);
}

.main-hero-post:hover::before,
.small-hero-post:hover::before {
    background: var(--overlay-bg-hover)!important;
}

.small-hero-post h2{
    font-size: 24px;
}



.hero-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: var(--light-text-color);
}

.hero-content h2,
.hero-content p,
.hero-content .metadata {
    color: var(--light-text-color);
    text-shadow: 2px 2px 5px var(--overlay-bg);
}


.metadata {
    font-size: 12px;
    color: var(--light-text-color);
    margin-top: 5px;
}
.category-badge {
    display: inline-block;
    padding: 3px 15px;
    background: var(--badge-bg-light);
    color: var(--primary-color-dark);
    border-radius: var(--border-radius-medium);
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}

/* ========== HIGHLIGHTS SECTION ========== */
.grid-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.highlight-article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: var(--section-bg);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}
.highlight-article .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: var(--primary-color);
    color: var(--light-text-color);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--border-radius-small);
    text-transform: uppercase;
}
.highlight-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.highlight-article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.1s ease, filter 0.2s ease;
}

.highlight-article:hover img {
    cursor: pointer;
    transform: scale(1.1);
    filter: grayscale(100%);
}
.article-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.text-center { text-align: center; margin: 40px 0 20px; }

/* ========== SIDEBAR WIDGETS ========== */
/* Widget Common Styles */
.widget-box {
    min-width: 300px;
    flex-shrink: 0;
    background: var(--section-bg);
    padding: 20px;
    border-radius: 0;
    border: 1px solid var(--primary-border-color);
    margin-bottom: 20px;
}

.widget-box.single-post {
    margin-top: 20px;
}

.widget-box h3 {
    font-size: 1.33333rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 20px;
}

.widget-box h3::after {
    content: "";
    background: var(--primary-color);
    display: block;
    height: 4px;
    width: 55px;
    margin-top: 15px;
    left: 0;
    bottom: 0;
    border-radius: var(--border-radius-small);
}

.widget-box h3::before {
    content: "";
    display: block;
    height: 4px;
    width: 80%;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
    left: 65px;
    border-radius: var(--border-radius-small);
    z-index: 0;
}

/* Common List Item Style for Posts & Categories */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Image Wrapper */
.widget-image-wrapper {
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: var(--border-radius-small);
    flex-shrink: 0;
}

.widget-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.widget-list li h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    padding: 10px 0 10px 0;
    transition: 0.5s;
}

.widget-list li .date {
    font-size: 12px;
    color: var(--primary-color-dark);
    margin-bottom: 5px;
}

.widget-list li h4:hover{
    color: var(--primary-color-hover);
}

/* ========== End of Sidebar Widgets ========== */


/* ========== FOOTER ========== */
/* ========== FOOTER (FIXED) ========== */
.footer {
    background: #191a1f;
    position: relative;
    color: #ccc;
    padding: 50px 0;
    font-size: 16px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 0 40px;
}

.footer-column {
    flex: 1 1 300px;
    min-width: 250px;
    padding-left: 0;
}

.footer h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
}

.footer p {
    line-height: 1.6;
    color: #d9d9d9;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #333;
    color: white!important;
    display: flex;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon a{
    color: white!important;
}

.social-icon:hover {
    color: var(--primary-color-hover)!important;
    background: black!important;
}
.social-icon.fb {
    background-color: #145abf;
}

/* Facebook */
.social-icon.in {
    background-color: #0A66C2;
}

/* LinkedIn */
.social-icon.ig {
    background-color: #c13584;
}

/* Instagram */
.social-icon.x {
    background-color: #000000;
}

/* Twitter (X) */
.social-icon.yt {
    background-color: #cc0000;
}

/* YouTube */



.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #9e9e9e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f0f0f; /* Slightly darker for clear separation */
    margin-top: 0; /* Ensure no space above */
}
.footer-bottom a {
    color: var(--accent-link-color-light)!important;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--primary-color-hover)!important;
}
.footer-logo-wrapper {
    height: 100px; /* Fixed or flexible minimum height */
    display: flex;
    align-items: center; /* Vertically center the logo */
    justify-content: flex-start; /* Left align */
}
.footer-logo {
    box-sizing: border-box!important;
}

.footer-logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
    display: block;
    margin: 0 auto; /* Center horizontally if needed */
    padding: 10px;
    object-fit: contain;
}


/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .main-hero-post h2, .small-hero-post h2{
        font-size: 20px;
    }

    .grid-highlights .post-grid{
        padding: 0;
        gap: 10px;
        border: none;
    }

    .main-hero-post, .small-hero-post { height: 250px !important; }
    .menu-toggle { display: flex !important; }
    nav ul {
        display: none;
        flex-direction: column;
        background: var(--primary-color);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        border-radius: var(--border-radius-medium);
        padding: 15px;
        z-index: 9999;
    }
    nav ul.active { display: flex; }
    .highlights, .sidebar {
        flex: 1 1 100% !important;
        max-width: 100%;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px; /* Reduce from 40px */
    }

    .footer-column {
        flex: 1 1 100%;
        align-items: center;
        text-align: center;
    }

    .footer-column ul {
        padding: 0;
    }

    .footer-logo-wrapper {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--heading-color);
    margin: 40px 0 30px;
    position: relative;
}

.section-title::before {
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 0;
    width: 100px;
    height: 5px;
    border-radius: var(--border-radius-medium);
    background: var(--primary-color);
    content: "";
}

.section-title::after {
    position: absolute;
    left: 110px;
    top: 40px;
    bottom: 0;
    width: 30px;
    height: 5px;
    border-radius: var(--border-radius-medium);
    background: var(--primary-color);
    content: "";
}

/* New Post Grid and Card Styles */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background: var(--section-bg);
    padding: 30px;
    border-radius: 0; /* Square container */
    border: 1px solid var(--primary-border-color); /* Optional light outer border */
}

.post-card {
    background: var(--section-bg);
    border-radius: 0; /* Square edges */
    overflow: hidden;
    box-shadow: none; /* No shadow for clean look */
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--primary-border-color); /* Soft divider */
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.post-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
@media (min-width: 1105px) {
    .post-card:nth-last-child(2) {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}


.post-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius-large) var(--border-radius-large) var(--border-radius-large) var(--border-radius-large);
}

.post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.1s ease;
    will-change: transform;
}

.post-card:hover img {
    transform: scale(1.2);
    filter: grayscale(100%);
    cursor: pointer;
}

.post-card-content {
    padding: 10px 0px 0px 0px;
}

.post-card .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--light-text-color);
    font-size: 14px;
    padding: 7px 25px 6px;
    border-radius: var(--border-radius-small);
    text-transform: uppercase;
}
.post-card .metadata {
    font-size: 14px!important;
    color: var(--accent-meta-color-dark);
    margin-top: 5px;
}
.post-card h3 {
    transition: 0.5s;
    font-size: 20px;
    margin: 10px 0;
    color: var(--heading-color);
}
.post-card a h3:hover {
    color: var(--primary-color-hover);
}

/* ========== POST ARTICLE ========== */

.post-article {
    flex: 1;
    min-width: 0;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    overflow-x: auto;
}

.post-article img {
    max-width: 100%;
    /*width: 100%;*/
    height: auto;
}
.post-title {
    color: #191a1f;
    margin-bottom: 15px;
}
.post-sub-title {
    color: var(--primary-color-dark);
    font-weight: 600 !important;
    font-style: italic;
    margin: 9px 0 14px 0;
    font-size: 16px;
    line-height: 24px;
}
.post-meta {
    font-size: 14px;
    color: var(--primary-color-darkest) !important;
    margin-bottom: 25px;
}

.post-meta a{
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.post-meta a:hover{
    color: var(--primary-color-hover);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.post-content {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;

    overflow-x: auto;

}

.post-content img{
    margin-top: 10px;
}

.post-content p {
    margin-bottom: 1em;
}
.post-content a{
    color: var(--accent-link-pink)!important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
.post-content a:hover,
.post-content a:focus {
    color: var(--accent-link-color-dark)!important; /* Slightly darker pink on hover for visual feedback */
    text-decoration: underline; /* Old school underline to keep Google happy */
}

.post-content blockquote {
    background: #f0f0f0;
    padding: 20px;
    border-left: 4px solid var(--primary-color, #0a66c2);
    margin: 30px 0;
    color: #555;
    font-style: italic;
}

.post-content ul {
    padding-left: 20px;
    margin-bottom: 1em;
}

.post-content ul li {
    margin-bottom: 0.5em;
    line-height: 1.6;
    list-style-type: disc;
}

.post-content ol {
    padding-left: 20px;
    margin-bottom: 1em;
}

.post-content ol li {
    margin-bottom: 0.5em;
    line-height: 1.6;
    list-style-type: decimal;
}



.post-gallery {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.post-gallery img {
    width: 48%;
    border-radius: 8px;
}

.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.share-btn {
    display: inline-flex;
    flex: 1 1 120px;
    max-width: 120px;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 32px;
    border-radius: 9999px;
    color: white!important;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease-in-out;
}

.share-btn:hover {
    opacity: 0.8;
}

/* Platform-specific colors */
.fb { background-color: #3b5998; }       /* Facebook */
.x { background-color: #000000; }        /* Twitter/X */
.in { background-color: #0077b5; }       /* LinkedIn */
.p { background-color: #a10f25; }        /* Pinterest */
.r { background-color: #cc3700; }        /* Reddit */

/* Show Comments Button */
.load-comments-btn {
    background-color: var(--primary-color-dark);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 30px auto;
    display: block;
}

.load-comments-btn:disabled {
    background-color: #aaa;
    color: #f0f0f0;
    cursor: not-allowed;
}

.load-comments-btn:hover {
    background-color: var(--primary-color-black);
    color: var(--primary-color-light);
    transition: background-color 0.3s ease;
}
.comments-placeholder {
    min-height: 80px; /* Reserve enough space for the button */
    display: flex;
    justify-content: center;
    align-items: center;
}



/* ========== SCROLL BAR ========== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color-2);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color-hover);
}
::-webkit-scrollbar-track {
    background: var(--primary-color-black);
}

/* ========== SELECTION ========== */

::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: var(--accent-color);
}

::selection {
    color: #fff;
    background: var(--accent-color);
}

/* ========== Additional Styles ========== */
code{
    white-space: pre-wrap;
    word-break: break-word;
    background: white;
    display: block;
    overflow: auto;
    margin: 1rem 0;
    padding: 1rem;

    border: 2px solid var(--primary-color);
    border-top: 5px solid var(--primary-color);
    font-weight: 500;
    max-height: 500px;
}
kbd{
    background-color: var(--primary-color-dark);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px;
    transition: all .2s;
    font-weight: bolder
}
kbd:hover{
    background-color: var(--primary-color-black);
    color: var(--primary-color-hover);
}


.comment-btn-pcmi {
    background-color: #0b4c16;
    border: none;
    color: white;
    padding: 8px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 10px;
}
.comment-btn-pcmi:hover{
    background-color: #0E293D;
    color: #7dc10e;
}
.comment-btn-pcmi:active{
    background-color: #34713f;
    color: white;
}

/* Related Posts */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.related-posts-grid.single-related {
    display: block; /* ← force single block item on left */
}

@media (max-width: 767px) {
    .related-posts-grid.single-related {
        display: flex;
        justify-content: center;
    }

    .related-posts-grid.single-related .related-card {
        margin: 0 auto;
    }
}


.related-posts-grid.single-related .related-card {
    max-width: 300px;
    width: 100%;
}

.related-card {
    display: block;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.related-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    transform: scale(1.01);
    color: var(--primary-color-hover);
}

.card-img-wrapper {
    aspect-ratio: 3 / 2;
    width: 100%;
    overflow: hidden;
    background: #f2f2f2;
}

.card-sm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-title {
    padding: 10px;
    min-height: 48px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: flex-start;
}

/* End of Related Posts */

/* Author Box */
.author-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 40px;
    background: #f9f9f9;
    align-items: center;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.author-designation {
    margin: 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color-dark);
}

.author-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* End of Author Box */
/*Horizontal separator <hr>*/
hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* subtle line */
    margin: 20px 0;
}
/** Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 12px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.scroll-top-btn:hover {
    background: var(--primary-color-hover);
}
.scroll-top-btn svg {
    display: block;
    margin: auto;
}

/* End of Scroll to Top Button */

/* Review Box */

.review-box-ui {
    border: 1px solid #ddd;
    padding: 24px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 850px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}



.review-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.review-box-header-left {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.review-box-header img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f3f3f3;
}

.review-box-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.review-box-meta {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}
.review-box-meta label {
    font-weight: 600;
    margin-right: 4px;
}

.review-box-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 6px solid var(--primary-color-dark);
    border-radius: 50%;
    font-weight: bold;
    color: #333;
    position: relative;
}

.review-box-rating .value {
    font-size: 26px;
    color: var(--primary-color-dark);
    margin-bottom: 2px;
}

.review-box-rating .label {
    font-size: 12px;
    color: var(--primary-color-darkest);
    margin-bottom: 4px;
}

.review-box-stars {
    display: flex;
    gap: 1px;
    font-size: 13px;
    color: var(--primary-color-dark);
}

.review-box-summary-label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.review-box-summary {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
    font-weight: 400;
}

.review-box-points {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.review-box-points ul {
    padding-left: 20px;
    margin-top: 8px;
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.review-box-points li {
    font-size: 16px;
    margin-bottom: 6px;
}

.review-box-buttons {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-weight: bold;
}

.review-button-1{
    background-color: var(--primary-color);
}
.review-button-2{
    background-color: var(--secondary-color);
}
.review-button-3{
    background-color: var(--accent-color);
}

.review-box-buttons a {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    white-space: nowrap;
}

.review-box-editor-note {
    background: #f9f9f9;
    padding: 12px 16px;
    border-left: 4px solid var(--primary-color-light);
    margin-top: 20px;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}
.review-box-buttons a:hover{
    background-color: var(--primary-color-black)!important;
    color: var(--primary-color-hover)!important;
    transition: all 0.3s ease;
}

.synteria-review-pros li {
    list-style: none;
    position: relative;
    padding-left: 1.5em;
}

.synteria-review-pros li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
}

.synteria-review-cons li {
    list-style: none;
    position: relative;
    padding-left: 1.5em;
}

.synteria-review-cons li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 600px) {
    .review-box-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-box-rating {
        margin-top: 20px;
    }
    .review-box-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* End of Review Box */

/* Pagination */
.pagination-wrapper {
    display: block;
    gap: 8px;
    justify-content: center;
    margin: 10px auto;       /* This already centers it horizontally */
    text-align: center;
    padding-top: 10px;
}
.pagination-wrapper a,
.pagination-wrapper span {
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}
.pagination-wrapper .current {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.pagination-wrapper .disabled {
    color: #aaa;
    pointer-events: none;
}
/* End of Pagination */

/* Show more button */
.show-more-btn {
    display: block;
    padding: 10px 20px;
    background-color: var(--primary-color-dark, #4db2ec);
    color: #fff!important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    max-width: 300px; /* Control the button width */
    width: 100%;      /* Makes it responsive */
    text-align: center;
    margin: 10px auto;   /* Center horizontally */
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background-color: var(--primary-color-black, #3a9bd1);
    color: var(--primary-color-light, #3a9bd1)!important;
}

/* End of Show more button */

/* ========== Breadcrumbs ========== */
.breadcrumbs {
    display: flex;
    padding-top: 20px;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}
.breadcrumbs a {
    color: var(--primary-color-dark)!important;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary-color-hover)!important;
    font-weight: 600;
}

/*========== Table CSS ========== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 1em;
}

th, td {
    padding: 0.8em 1em;
    text-align: left;
    border: 1px solid var(--primary-border-color);
}

th {
    background-color: var(--primary-color-darker);
    color: var(--light-text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}

tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* CTA Buttons */
.custom-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color-dark);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.25);
    -webkit-transition: top 0.1s ease;
}

.custom-cta-button:hover {
    background-color: #000000!important;
    color: var(--primary-color-light)!important;
}

/* End of CTA Buttons */
.synteria-cta-button:hover {
    background-color: #000000!important;
    color: var(--primary-color-light)!important;
}
/* Product Table */
