:root {
    --bg-color: #0d0d0d;
    --text-color: #f0f0f0;
    --accent-color: #006341;
    /* Green */
    --accent-hover: #004d31;
    /* Darker green for hover */
    --secondary-bg: #0d0d0d;
    --font-main: 'Inter', sans-serif;
    --spacing-unit: 1rem;
}

.no-scroll {
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Reduced padding for mobile */
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: #a1a1aa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    /* Full Blue */
    color: white;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: black;
    color: var(--accent-color);
    border-color: var(--accent-color);
    /* Blue outline */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: white;
    margin-top: 1rem;
}

.btn-large:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

/* Header */
header {
    padding: 0.5rem 0;
    /* Reduced padding */
    position: sticky;
    top: 0;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 80px;
    /* Explicit smaller height if needed, or just let padding dictate */
}

.header-content {
    display: flex;
    justify-content: center;
    /* Center the nav */
    align-items: center;
    position: relative;
    /* Ensure container is relative for absolute children */
    height: 100%;
}

.logo {
    position: absolute;
    top: -53px;
    left: -50px;
    /* Moved more to the left */
    z-index: 102;
    /* Removed flex/align-items which were for the text alignment */
}

/* Position the Donate button container to the right */
.donate-container {
    position: absolute;
    right: 0;
    z-index: 102;
    /* Ensure styles from button don't conflict */
}

/* Remove the old selector that targeted the button directly if it exists, or just ensure this overrides */
.header-content>.btn {
    /* No longer needed as we use container, but keeping safe or removing */
    display: none;
}

.logo-img {
    height: 175px;
    width: 175px;
    display: block;
    object-fit: contain;
    /* Ensures image isn't distorted */
}

/* nav {
    margin-right: 2rem; Removed since centered
} */

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}

/* Hero Section */
#hero {
    height: calc(100vh - 80px);
    /* Fill screen minus header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Removed background image for video */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.arrow-down {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
section {
    padding: 6rem 0;
}

/* Section Separators - Thinner green lines that fade at the edges */
section:not(#hero) {
    position: relative;
}

section:not(#hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    /* Adjust width of the line */
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 99, 65, 0.2);
}

.card h3 {
    margin-top: 1rem;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Activities Section Styling */
#activities .grid-text-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
}

#activities .text {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
}

#activities h2 {
    margin-bottom: 4rem;
}

/* Donate Section */
.donate-section {
    background-color: var(--secondary-bg);
    text-align: center;
    padding: 8rem 0;
}

/* Sponsors and Contact Combined Section */
.sponsors-contact-section {
    background-color: var(--secondary-bg);
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sponsors-contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.contact-area {
    flex: 1;
    text-align: left;
}

.sponsors-area {
    flex: 1;
    text-align: right;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 4rem;
}

.contact-area h2,
.sponsors-area h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: inherit;
}

.contact-email-section {
    display: none;
    /* Hide old section */
}

.contact-email-section h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.email-link {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.email-link:hover {
    color: var(--accent-hover);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #a1a1aa;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.social-icon svg {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.social-icon:hover svg {
    transform: scale(1.15);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        height: auto;
        padding: 1rem 0;
        /* Slightly more vertical padding */
        background-color: transparent !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        position: fixed;
        /* Fixed to top */
        top: 0;
        width: 100%;
        z-index: 1000;
        /* Ensure above content */
    }

    .header-content {
        justify-content: flex-end;
        height: auto;
        padding-top: 0;
    }

    .logo {
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
        z-index: 102;
        padding-left: 0;
        margin-left: -20px;
        margin-top: -40px;
    }

    .logo-img {
        height: 110px;
        width: 110px;
    }

    .hamburger {
        display: block;
        padding: 15px;
        /* Increased padding */
        margin-right: -10px;
        /* Adjusted to balance increased padding */
        padding-right: 15px;
        margin-top: 10px;
        /* Align with logo */
    }

    .hamburger .bar {
        width: 25px;
        /* Slightly wider */
        height: 3px;
        background-color: white;
        /* Ensure visibility */
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        /* Add shadow for contrast */
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav {
        position: fixed;
        right: -100%;
        top: 0;
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(0, 50, 30, 0.95));
        /* Richer, darker background */
        backdrop-filter: blur(15px);
        width: 75%;
        /* Side drawer style */
        height: 100vh;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        /* Align items to the right */
        padding-right: 2rem;
        /* Spacing from right edge */
        text-align: right;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        font-size: 1.2rem;
        align-items: flex-end;
        /* Align list items right */
        width: 100%;
    }

    nav ul li a {
        text-shadow: none;
        display: block;
        padding: 12px 25px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 4px solid var(--accent-color);
        /* Right accent border */
        border-radius: 8px 0 0 8px;
        /* Rounded left side only */
        background: linear-gradient(to left, rgba(255, 255, 255, 0.05), transparent);
        width: 100%;
        box-sizing: border-box;
        color: #fff;
        transition: all 0.3s ease;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background: linear-gradient(to left, var(--accent-color), transparent);
        padding-right: 35px;
        /* Shift on hover */
        color: white;
    }

    nav ul li {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .donate-container {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 4rem 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .grid-text-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donate-dropdown {
        width: 100%;
        padding: 4rem 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Centering Contact Section */
    .sponsors-contact-flex {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
        text-align: center;
    }

    .contact-area,
    .sponsors-area {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sponsors-area {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 4rem;
    }

    .social-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        justify-content: center;
    }
}

/* Projects Button */
/* Boldness removed as per user request */

/* Donate Dropdown Overlay - Blurred Background */
.donate-dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.donate-dropdown-overlay.show {
    display: block;
    opacity: 1;
}

/* Blur the page content when dropdown is active */
body.dropdown-active main,
body.dropdown-active header {
    filter: blur(4px);
    transition: filter 1s ease;
}

/* Donate Side Panel */
.donate-dropdown {
    display: none;
    position: fixed;
    /* Full height side panel */
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    width: 450px;
    /* Clean width for internal content */
    max-width: 100vw;
    background-color: rgba(13, 13, 13, 0.98);
    /* Matching theme background, nearly opaque */
    backdrop-filter: blur(20px);
    /* Strong glass effect */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    /* No rounded corners for panel */
    padding: 6rem 3rem;
    /* Generous padding for content */
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    /* Above header */
    opacity: 0;
    transform: translateX(100%);
    /* Start from off-screen right */
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* 1s slide in with dampening overshoot */
    text-align: left;
    /* Left aligned for more formal feel */
}

.donate-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.donate-dropdown h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    /* Larger heading */
}

.donate-dropdown ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 0.9rem;
    text-align: left;
}

.donate-dropdown li {
    margin-bottom: 0.8rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
}

/* Donate Panel Instruction Arrow */
.donate-instruction-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
    padding-right: 2rem;
    /* Initial shift towards green button side */
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    animation: bounceDiagonal 2s infinite;
}

@keyframes bounceDiagonal {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(0, 0);
    }

    40% {
        transform: translate(-5px, -8px);
    }

    60% {
        transform: translate(-3px, -4px);
    }
}

.donate-instruction-arrow span {
    margin-top: 0.5rem;
}

.donate-dropdown-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.kofi-button {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kofi-button:hover {
    transform: scale(1.05);
}

.kofi-button img {
    height: 60px;
    /* Increased from 45px for better visibility */
    width: auto;
    display: block;
}

/* Showcase Section for Projects (e.g., NIKO, AERIS) */
.showcase-section {
    padding: 6rem 0;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-video,
.showcase-text {
    flex: 1;
}

.showcase-video video {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.showcase-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {

    .showcase-item,
    .showcase-item.reverse {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Sponsors and Contact Combined Section */
.sponsors-contact-section {
    background-color: var(--secondary-bg);
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sponsors-contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.contact-area {
    flex: 1;
    text-align: center;
    /* Centering as requested */
}

.contact-area .social-links {
    justify-content: center;
    margin-top: 1.5rem;
}

.sponsors-area {
    flex: 1;
    text-align: right;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 4rem;
}

.contact-area h2,
.sponsors-area h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: inherit;
}

/* Sponsors Area Styling */
.sponsors-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: scale(1.05);
}

.sponsor-logo {
    height: 120px;
    /* Bigger logo */
    width: auto;
    object-fit: contain;
}

.sponsor-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

/* Blog Section */
.blog-section {
    padding: 8rem 0;
    /* Adjust top padding to account for fixed header */
    min-height: 100vh;
}

.blog-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    align-items: start;
}

.blog-sidebar {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 100px;
    /* Stick below the header */
}

.blog-sidebar h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-sidebar h3:not(:first-child) {
    margin-top: 2rem;
}

.blog-nav-list {
    list-style: none;
    padding: 0;
}

.blog-nav-list li {
    margin-bottom: 0.8rem;
}

.blog-nav-list a {
    color: #fff;
    transition: all 0.3s ease;
    display: block;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
}

.blog-nav-list a:hover,
.blog-nav-list a.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.blog-content {
    background-color: var(--secondary-bg);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    /* Ensure left alignment */
}

.blog-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.blog-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-align: left;
    /* Override global centered h2 */
}

.blog-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #a1a1aa;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        position: relative;
    }

    /* Sidebar as Slide-in Drawer */
    .blog-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default, right side */
        left: auto;
        /* Reset left */
        width: 75%;
        /* Match nav width */
        height: 100vh;
        z-index: 1005;
        /* Above everything */
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        /* Match nav transition */
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(0, 50, 30, 0.95));
        /* Match nav bg */
        backdrop-filter: blur(15px);
        padding-top: 4rem;
        /* Space for close button */
        border-radius: 0;
        border: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        /* Left border */
        overflow-y: auto;
        /* Allow scrolling inside sidebar */
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        /* Right align content */
        text-align: right;
        padding-right: 2rem;
    }

    .blog-sidebar.active {
        right: 0;
        left: auto;
    }

    /* Style titles in sidebar */
    .blog-sidebar h3 {
        width: 100%;
        text-align: right;
        padding-right: 0.5rem;
        margin-top: 1rem;
    }

    .blog-nav-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .blog-nav-list li {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .blog-nav-list a {
        display: block;
        padding: 12px 25px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 4px solid var(--accent-color);
        /* Right accent border */
        border-radius: 8px 0 0 8px;
        /* Rounded left side only */
        background: linear-gradient(to left, rgba(255, 255, 255, 0.05), transparent);
        width: 100%;
        box-sizing: border-box;
        color: #fff;
        transition: all 0.3s ease;
        text-align: right;
        margin-bottom: 1rem;
    }

    .blog-nav-list a:hover,
    .blog-nav-list a.active {
        background: linear-gradient(to left, var(--accent-color), transparent);
        padding-right: 35px;
        /* Shift on hover */
        border-color: rgba(255, 255, 255, 0.2);
        transform: none;
        /* Reset transform */
    }

    /* Overlay */
    .blog-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 1004;
        display: none;
        /* Hidden by default */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .blog-sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Toggle Button */
    .blog-sidebar-toggle {
        display: inline-block;
        background-color: var(--accent-color);
        color: white;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .blog-sidebar-toggle:hover {
        background-color: var(--accent-hover);
    }

    /* Close Button inside sidebar */
    .blog-sidebar-close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }

    .blog-content {
        order: 2;
        padding: 1.5rem;
    }
}

/* Hide toggle/close/overlay on desktop */
@media (min-width: 769px) {

    .blog-sidebar-toggle,
    .blog-sidebar-close,
    .blog-sidebar-overlay {
        display: none;
    }
}