html {
    scroll-padding-top: 130px;
    /* Modern way to offset for sticky header */
    scroll-behavior: auto !important;
    /* Ensure instant jumps on load/click */
}

:root {
    --color-bg: #FDFDFD;
    /* White/Clean */
    --color-main: #8AC4EB;
    /* Soft Sky Blue (from Logo background) */
    --color-main-dark: #5A9BCF;
    --color-accent: #FFD45F;
    /* Pencil Yellow */
    --color-accent-red: #F28C8C;
    /* Pencil Red */
    --color-accent-green: #90D696;
    /* Pencil Green */
    --color-accent-purple: #B29DD9;
    /* Pencil Purple */
    --color-text: #222222;
    /* Soft Black (matching outlines) */
    --color-white: #FFFFFF;

    --font-base: 'M PLUS Rounded 1c', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Header */
.site-header {
    background-color: var(--color-white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(109, 76, 65, 0.05);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.btn-nav-contact {
    background-color: var(--color-accent-red);
    /* Match footer contact button */
    color: var(--color-white) !important;
    padding: 0.8rem 1.8rem;
    /* Larger size */
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 4px 6px rgba(209, 118, 118, 0.4);
    /* Softer shadow matching the tone */
    transition: all 0.3s ease;
    display: inline-block;
    /* Ensure transform works */
}

.btn-nav-contact:hover {
    transform: translateY(-2px);
    /* Lift effect */
    box-shadow: 0 6px 12px rgba(209, 118, 118, 0.5);
    opacity: 1;
    /* Solid opacity */
    background-color: #EF5350;
    /* Darker than original (#F28C8C) */
}

.mobile-menu-btn {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/hero_bg.png');
    /* Need to generate this */
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 251, 240, 0.4);
    /* Slight consistent overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(109, 76, 65, 0.1);
    max-width: 90%;
}

.hero-catch {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    background: linear-gradient(to right, #F28C8C, #FFD45F, #90D696, #8AC4EB);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Gradient text effect */
    -webkit-text-stroke: 1px rgba(34, 34, 34, 0.1);
    /* Subtle outline for definition */
}

/* Mobile Break Control */
.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}

.hero-top-badge {
    display: inline-block;
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 0.4rem 1.8rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Common Section */
.section {
    padding: 5rem 1rem;
}

/* Ensure targeted section and its children are visible immediately without flicker */
:target,
:target .fade-in-section,
:target .activity-card,
:target .feature-card,
:target .blog-list-item {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    color: var(--color-main-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    color: #FBC02D;
    /* Darker yellow for better readability */
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* Concept */
.concept-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .concept-content {
        flex-direction: column;
        /* Stack vertically on mobile */
        padding: 2rem 1.5rem;
        /* Reduce padding */
        gap: 2rem;
    }
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.concept-image {
    flex: 1;
    border-radius: 20px;
    box-shadow: 10px 10px 0 var(--color-accent);
}

.concept-image img {
    border-radius: 20px;
    width: 100%;
    display: block;
    filter: brightness(1.2);
}

.concept-separator {
    border-top: 2px dotted var(--color-main);
    margin: 2rem 0;
    opacity: 0.6;
}

/* Shapes */
.wave-divider,
.wave-divider-bottom {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg,
.wave-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--color-main);
}

.wave-divider-bottom .shape-fill {
    fill: var(--color-main);
}

.activities {
    background-color: var(--color-main);
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.activities .section-title {
    color: var(--color-white);
}

.activities .section-subtitle {
    color: var(--color-accent-purle);
    /* Use purple or white? Let's use White for contrast, or yellow */
    color: var(--color-white);
    opacity: 0.8;
}

/* Features (Points) */
.features {
    background-color: #f9f9f9;
    /* Mild contrast with white cards */
    padding: 4rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Slightly wider min-width */
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 3px solid #FBC02D;
    /* Solid pop yellow */
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Floating Point Badge */
.point-badge {
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FBC02D;
    color: var(--color-text);
    /* Black text for better contrast on yellow */
    font-weight: 800;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    white-space: nowrap;
}

.feature-header {
    margin-top: 0.5rem;
    /* Space for the badge */
}

.feature-card h3 {
    color: var(--color-text);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Underline for title */
.feature-card h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: rgba(251, 192, 45, 0.4);
    /* Soft yellow underline */
    position: absolute;
    bottom: 2px;
    left: 0;
    z-index: -1;
    border-radius: 2px;
}

.feature-icon .icon-emoji {
    font-size: 4rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: #FFF9C4;
    /* Pale yellow circle bg */
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    color: #444;
    margin-top: 1rem;
}

/* Activities */
.activities-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Desktop Triangle Layout */
@media (min-width: 768px) {
    .activities-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 4rem 8rem;
        padding-bottom: 4rem;
    }

    /* Top Card */
    .activities-grid .activity-card:nth-child(1) {
        grid-column: 1 / -1;
        justify-self: center;
        position: relative;
        z-index: 2;
        max-width: 400px;
        margin-bottom: 1rem;
    }

    /* Bottom Left */
    .activities-grid .activity-card:nth-child(2) {
        grid-column: 1 / 2;
        justify-self: end;
        position: relative;
        z-index: 2;
        max-width: 350px;
    }

    /* Bottom Right */
    .activities-grid .activity-card:nth-child(3) {
        grid-column: 2 / 3;
        justify-self: start;
        position: relative;
        z-index: 2;
        max-width: 350px;
    }

    /* Triangle Background connection */
    .activities-grid::before {
        content: '';
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 700px;
        height: 700px;
        background:
            radial-gradient(circle at 30% 30%, rgba(255, 212, 95, 0.4), transparent 60%),
            radial-gradient(circle at 70% 60%, rgba(255, 183, 77, 0.3), transparent 60%),
            radial-gradient(circle at 40% 80%, rgba(144, 214, 150, 0.3), transparent 60%),
            radial-gradient(circle at 80% 20%, rgba(242, 140, 140, 0.3), transparent 50%);
        border-radius: 50%;
        filter: blur(50px);
        z-index: 1;
        pointer-events: none;
    }
}

.activity-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.activity-img {
    width: 100%;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-card h3 {
    color: var(--color-main);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.activity-card p {
    text-align: left;
    line-height: 1.8;
}

/* Access */
.access-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.access-info {
    flex: 1;
    min-width: 300px;
}

.access-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 2rem;
}

.access-info dt {
    font-weight: 700;
    color: var(--color-main);
    padding-top: 0.2rem;
}

.access-info dd {
    margin-bottom: 0.5rem;
}

.access-map {
    flex: 1;
    min-width: 300px;
    height: auto;
    /* Allow to stretch */
    min-height: 400px;
    /* Vertical rectangle look */
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #999;
}

/* Contact */
.contact-box {
    background-color: var(--color-white);
    padding: 4rem 2rem;
    border-radius: 30px;
    text-align: center;
    border: 3px solid var(--color-main);
}

.contact-title {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact-text {
    margin-bottom: 3rem;
    /* Increased from 2rem */
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--color-accent-red);
    color: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(209, 118, 118, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.contact-icon-btn svg {
    fill: currentColor;
    width: 40px;
    /* Adjust icon size */
    height: 40px;
}

.contact-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(209, 118, 118, 0.6);
    background-color: #D32F2F;
    /* Darker red */
    color: var(--color-white);
}

.contact-icon-btn:active {
    transform: scale(0.95);
}

.contact-hours {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 2rem;
    /* Added margin for separation */
}

/* Footer */
.site-footer {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.operating-company {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.9;
}


.footer-content {
    max-width: 1000px;
    margin: 0 auto 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-social-section {
    margin: 2rem 0;
    text-align: center;
    width: 100%;
}

.social-group {
    margin-bottom: 1.5rem;
}

.social-group h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-white);
    border-radius: 50%;
    color: var(--color-text);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Brand Colors for Hover */
.social-icon.x-icon:hover {
    color: #000;
}

.social-icon.instagram-icon:hover {
    color: #E1306C;
}

.social-icon.youtube-icon:hover {
    color: #FF0000;
}

.social-icon.tiktok-icon:hover {
    color: #000000;
}

.social-icon.note-icon:hover {
    color: #2CB696;
}

.social-icon.spotify-icon:hover {
    color: #1DB954;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grids */
.features-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.activities-grid .activity-card:nth-child(1) {
    transition-delay: 0.1s;
}

.activities-grid .activity-card:nth-child(2) {
    transition-delay: 0.2s;
}

.activities-grid .activity-card:nth-child(3) {
    transition-delay: 0.3s;
}

.blog-grid .blog-card:nth-child(1) {
    transition-delay: 0.1s;
}

.blog-grid .blog-card:nth-child(2) {
    transition-delay: 0.2s;
}

.blog-grid .blog-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 1rem;
    }

    .main-nav {
        display: none;
        /* Implement hamburger later if needed, for now simplified */
    }

    .mobile-menu-btn {
        display: block;
        width: 48px;
        height: 48px;
        position: relative;
        background-color: var(--color-white);
        border: 2px solid var(--color-main);
        border-radius: 50%;
        /* Circle shape */
        cursor: pointer;
        z-index: 200;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        background-color: var(--color-main-light);
    }

    /* Inner container to center the lines relative to the button */
    .mobile-menu-icon {
        width: 24px;
        height: 18px;
        position: relative;
        display: block;
    }

    /* Lines */
    .mobile-menu-btn span {
        position: absolute;
        width: 100%;
        height: 3px;
        /* Slightly thicker */
        background-color: var(--color-main);
        /* Theme color */
        border-radius: 3px;
        /* Rounded tips */
        left: 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }


    .footer-nav {
        margin-bottom: 2rem;
    }

    .footer-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        list-style: none;
    }
}

/* Facility Gallery */
.facility-gallery-wrapper {
    width: 100%;
    background-color: var(--color-bg);
    padding: 2rem 0;
    position: relative;
}

.facility-gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 1rem 5%;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.facility-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.15);
    /* Brighten images ~2 tones */
    cursor: pointer;
}

/* Extra brightness for specific dark images (like bathroom) */
.gallery-item.boost-brightness img {
    filter: brightness(1.35);
}

@media (min-width: 768px) {
    .gallery-item {
        width: 400px;
        height: 260px;
    }
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--color-main);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
}

.gallery-nav:hover {
    background-color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

/* Utility for alternating sections */
.bg-light {
    background-color: #FAF9F7;
    /* Lighter off-white/beige */
}

/* =========================================
   Mobile Menu Active Styles
   ========================================= */
/* When .nav-open is added to .site-header */
@media (max-width: 768px) {
    .site-header.nav-open .main-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 90;
        /* Below header content but above page */
        padding-top: 80px;
        /* Space for header bar */
        animation: fadeIn 0.3s ease;
    }

    .site-header.nav-open .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        font-size: 1.2rem;
    }

    /* Animate Hamburger to X */
    /* Animate Hamburger to X */
    .site-header.nav-open .mobile-menu-btn span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .site-header.nav-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .site-header.nav-open .mobile-menu-btn span:nth-child(3) {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .mobile-menu-btn span {
        transition: all 0.3s ease;
    }
}

body.no-scroll {
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   New Blog Layout (List View + Sidebar)
   ========================================= */

.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

/* Main Column */
.blog-main {
    flex: 3;
    min-width: 0;
    /* Fix flex overflow issues */
}

/* Sidebar */
.blog-sidebar {
    flex: 1;
    min-width: 250px;
}

/* Sidebar Widget */
.sidebar-widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-bottom: 2px dotted var(--color-main);
    padding-bottom: 0.5rem;
}

.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    margin-bottom: 0.5rem;
}

.archive-list a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.archive-list a:hover {
    background-color: var(--bg-light);
    color: var(--color-main);
}

/* =========================================
   New Blog Layout (List View - Full Width)
   ========================================= */

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.more-btn-wrapper {
    margin-top: 5rem;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 3.5rem;
    background-color: var(--color-white);
    color: var(--color-main);
    border: 2px solid var(--color-main);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-main);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Blog List Item (Horizontal Layout) */
.blog-list-item {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    /* Top align to handle variable heights */
}

.blog-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-item-thumb {
    width: 250px;
    /* Fixed width */
    min-height: 150px;
    /* Prevent it from being too short */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    align-self: stretch;
}

.blog-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-list-item:hover .blog-item-thumb img {
    transform: scale(1.05);
}

.blog-item-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-item-date {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.blog-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-color);
}

.blog-item-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Adjustments for Responsive Design */
@media (max-width: 768px) {
    .blog-list-item {
        flex-direction: column;
    }

    .blog-item-thumb {
        width: 100%;
        height: 200px;
        /* Fixed height for mobile uniformity */
    }

    .blog-item-content {
        padding: 1.2rem;
    }

    .blog-item-title {
        font-size: 1.1rem;
    }
}

/* =========================================
   Lightbox Styles
   ========================================= */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    z-index: 1001;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* =========================================
   Page Layout & Utilities
   ========================================= */
.page-main {
    padding-top: 100px;
    padding-bottom: 60px;
}

.blog-back-link {
    margin-top: 4rem;
    text-align: center;
}

.blog-back-link a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    border: 2px solid var(--color-main);
    color: var(--color-main);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.blog-back-link a:hover {
    background-color: var(--color-main);
    color: var(--color-white);
    transform: translateY(-2px);
}