body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-image: linear-gradient(to bottom, #f6fdf4, #ffffff);
    background-repeat: no-repeat; /* Ensure the gradient doesn't tile */
    background-attachment: scroll; /* Gradient scrolls with content */
    /* Ensure body takes at least full viewport height for gradient to be visible */
    min-height: 100vh;
    color: #2D5025;
    /* padding-top is now handled by the header style replacement */
}

#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff; /* Default background */
    color: #2D5025;
    position: fixed; /* Make header sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, padding 0.3s ease; /* For liquid effect */
    border-bottom: 2px solid #6C974C;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.7); /* More transparent white on scroll */
    padding: 5px 20px; /* Smaller padding on scroll */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.logo-container img#logo {
    height: 50px; /* Adjust as needed */
    width: auto;
}

.main-nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    margin: 0;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #2D5025;
    text-decoration: none;
    font-size: 1rem; /* Adjust as needed */
    font-weight: 500;
}

.main-nav ul li a:hover {
    color: #6C974C;
}

.main-nav ul li a.active {
    color: #6C974C;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px; /* Add some gap between icon items */
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 5px 5px 5px 10px;
    border: 1px solid #ddd;
}

.search-container input[type="text"] {
    border: none;
    outline: none;
    background-color: transparent;
    padding: 5px;
    font-size: 0.9rem;
    width: 120px; /* Adjust as needed */
    transition: width 0.3s ease-in-out;
}

.search-container input[type="text"]::placeholder {
    color: #888;
}

.search-container input[type="text"]:focus {
    width: 180px; /* Expand on focus */
}

.search-container button {
    background-color: #2D5025; /* Match theme green/teal */
    color: white;
    border: none;
    border-radius: 50%; /* Make it circular */
    padding: 6px; /* Adjust for icon size */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem; /* Adjust icon size */
    line-height: 1; /* Ensure icon is centered */
    transition: background 0.2s;
}

.search-container button:hover {
    background-color: #218378; /* Slightly darker on hover */
}

.search-container button .icon-placeholder {
    font-size: 1em; /* Match button font size */
}

.search-container button i.fa-search {
    font-size: 1.1em;
    color: #fff;
    margin: 0;
    padding: 0;
}

.header-icons a {
    /* color: #333; */
    text-decoration: none;
    /* margin-left: 20px; Removed in favor of gap on .header-icons */
    position: relative; /* For notification badge positioning */
}

.header-icons .icon-placeholder {
    /* Replace with actual icons later (e.g., Font Awesome, SVG) */
    font-size: 1.2rem; /* Placeholder size */
    display: inline-block;
    /* For demo purposes, using text - replace with actual icon markup */
}

.notification-badge {
    background-color: #007bff; /* Example color */
    color: white;
    border-radius: 50%;
    padding: 0.1em 0.4em;
    font-size: 0.7rem;
    position: absolute;
    top: -5px;
    right: -10px;
}

.btn-signin {
    background-color: #2D5025;
    color: #fff;
    padding: 8px 18px; /* Slightly adjusted padding */
    border: none;
    border-radius: 25px; /* Maintained pill shape */
    text-decoration: none;
    font-weight: 500; /* Slightly less bold */
    /* margin-left: 20px; Removed in favor of gap on .header-icons */
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
}

.btn-signin:hover {
    background-color: #2E5E27;
    transform: translateY(-1px); /* Slight lift on hover */
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.btn-signin:active {
    transform: translateY(0px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}


/* Add padding to body to prevent content from being hidden by fixed header */
body {
    padding-top: 70px; /* Adjust based on initial header height */
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}
/* Latest Stories Section */
#latest-stories-section {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Three columns: small, large, small */
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto; /* Added top/bottom margin */
    background-color: #fff; /* White background for the section */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.latest-stories-column, .main-story-column, .side-stories-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-stories-column h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.story-item-small {
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.story-item-small:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.story-item-small .category, .story-item-large .category, .story-item-medium .category {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
}

.story-item-small h4, .story-item-large h3, .story-item-medium h4 {
    margin: 0 0 5px 0;
    font-size: 1rem; /* Small items title */
    line-height: 1.3;
}
.story-item-large h3 {
    font-size: 1.8rem; /* Main story title */
    line-height: 1.2;
}
.story-item-medium h4 {
    font-size: 1.1rem; /* Side stories title */
}


.story-item-small .author, .story-item-large .author, .story-item-medium .author,
.story-item-large .subtitle, .story-item-medium .sponsored {
    font-size: 0.85rem;
    color: #777;
}
.story-item-large .subtitle {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
}
.story-item-medium .sponsored {
    font-style: italic;
    font-size: 0.8rem;
}


.story-item-large img, .story-item-medium img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    object-fit: cover;
}
.story-item-large img {
    max-height: 400px; /* Limit height of main story image */
}
.story-item-medium img {
    max-height: 200px; /* Limit height of side story images */
}


/* Link styling for latest-stories-section */
#latest-stories-section a {
    color: #000000; /* Black color for links */
    text-decoration: none; /* Remove default underline */
}

#latest-stories-section a:hover {
    color: #333333; /* Darker gray on hover */
    text-decoration: underline; /* Underline on hover for dynamic effect */
}
/* Responsive adjustments for Latest Stories */
@media (max-width: 992px) {
    #latest-stories-section {
        grid-template-columns: 1fr 1.5fr; /* Two columns: list and main/side combined or stacked */
    }
    .side-stories-column {
        grid-row: 2; /* Move side stories below main story if they were in 3rd col */
        grid-column: 2 / 3; /* Span the second column */
    }
}

@media (max-width: 768px) {
    #latest-stories-section {
        grid-template-columns: 1fr; /* Single column */
    }
    .latest-stories-column, .main-story-column, .side-stories-column {
        margin-bottom: 20px;
    }
    .latest-stories-column h2 {
        text-align: center;
    }
    .story-item-large img {
        max-height: 300px;
    }
}

/* Wellness Dimensions Section */
#wellness-dimensions-section {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

#wellness-dimensions-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2D5025;
}

.wellness-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px 98px;
    justify-content: center;
    align-items: end;
    margin-bottom: 30px;
}

.wellness-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 18px rgba(44, 94, 39, 0.10);
    transition: transform 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
    aspect-ratio: 1 / 1.1;
    background: #fff;
    z-index: 1;
    border: 5px solid #6C974C;
}

/* Zig-zag effect: offset second row */
.wellness-item:nth-child(n+6):nth-child(-n+10) {
    grid-row: 2;
    transform: translateX(60px);
}

/* Optional: add a little vertical offset for drama */
.wellness-item:nth-child(-n+5) {
    grid-row: 1;
    transform: translateY(-12px);
}

/* Responsive: 3 columns on tablets, 2 on mobile */
@media (max-width: 1100px) {
    .wellness-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    .wellness-item:nth-child(n+4):nth-child(-n+6) {
        grid-row: 2;
        transform: translateX(40px);
    }
    .wellness-item:nth-child(n+7):nth-child(-n+9) {
        grid-row: 3;
        transform: translateX(20px);
    }
    .wellness-item:nth-child(n+10):nth-child(-n+10) {
        grid-row: 4;
        transform: none;
    }
}
@media (max-width: 700px) {
    .wellness-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 18px 10px;
    }
    .wellness-item {
        aspect-ratio: 1 / 1.05;
    }
    .wellness-item:nth-child(even) {
        transform: translateX(24px);
    }
    .wellness-item:nth-child(odd) {
        transform: none;
    }
}
@media (max-width: 480px) {
    .wellness-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 1fr);
        gap: 12px 0;
    }
    .wellness-item {
        aspect-ratio: 1 / 1;
        transform: none !important;
    }
}

.wellness-item img.wellness-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.7); /* Darken image slightly for text visibility */
    transition: transform 0.3s ease; /* For zoom effect */
}

.wellness-item:hover img.wellness-bg-image {
    transform: scale(1.1); /* Zoom in on hover */
}

.wellness-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(45,80,37,0.0) 100%);
    z-index: 2;
    text-align: center;
    box-sizing: border-box;
}

.wellness-item-content h4 {
    color: #fff;
    font-size: 0.7rem; /* Adjust as needed */
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for Wellness Dimensions */
@media (max-width: 768px) {
    .wellness-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    .wellness-item-content h4 {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .wellness-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on very small screens */
        gap: 10px;
    }
     #wellness-dimensions-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}
/* Topic Based Content Section */
.topic-section {
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* Theme examples */
.theme-light-beige {
    background-color: #f6fdf4;
}
.theme-dark-blue {
    background-color: #eaf5e1;
    color: #2D5025;
}
.theme-dark-blue .topic-header h2 {
    color: #2D5025;
}
.theme-dark-blue .topic-header .read-all-link {
    color: #3498db;
}
.theme-dark-blue .topic-post-card .post-subcategory {
    color: #5dade2;
}
.theme-dark-blue .topic-post-card .post-title a {
    color: #2980b9;
}
.theme-dark-blue .topic-post-card .post-title a:hover {
    color: #1f618d;
}
.theme-dark-blue .topic-post-card .post-author {
    color: #7f8c8d;
}


.topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.topic-header h2 {
    font-size: 2.2rem;
    color: #2D5025;
    margin: 0;
}

.topic-header .read-all-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
    /* text-transform: uppercase; */
    display: inline-flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align icon and text */
    gap: 6px; /* Space between text and icon */
    transition: color 0.3s ease, transform 0.2s ease;
}
.topic-header .read-all-link:hover {
    text-decoration: underline;
    color: #0056b3; /* Darker blue on hover, or adjust to theme */
    transform: translateX(3px); /* Slight move on hover */
}

.topic-header .read-all-link i {
    transition: transform 0.3s ease;
    font-size: 0.8em; /* Slightly smaller icon if needed */
}

.topic-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.topic-post-card {
    background-color: #fff; /* Card background, can be overridden by theme */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.topic-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.12);
}

.topic-post-card img {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Ensures image covers the area, might crop */
}

.topic-post-content {
    padding: 15px;
}

.topic-post-card .post-subcategory {
    font-size: 0.75rem;
    color: #d9534f; /* Example color, can be themed */
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.topic-post-card .post-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 60px; /* Ensure consistent height for titles */
}

.topic-post-card .post-title a {
    text-decoration: none;
    color: #2D5025;
}
.topic-post-card .post-title a:hover {
    color: #6C974C;
}

.topic-post-card .post-author {
    font-size: 0.8rem;
    color: #777;
}

.topic-separator {
    height: 2px;
    background-color: #ddd;
    margin: 40px auto;
    width: 80%;
    border-radius: 1px;
}

/* Responsive adjustments for Topic Sections */
@media (max-width: 768px) {
    .topic-header h2 {
        font-size: 1.8rem;
    }
    .topic-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .topic-post-card .post-title {
        font-size: 1rem;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .topic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .topic-posts-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}
#hero {
    background: #555;
    color: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

#hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#hero p {
    font-size: 1.2rem;
}

h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #2D5025;
}

.event-grid, .trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.event-grid div, .trending-grid div {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.event-grid div h4, .trending-grid div h4 {
    margin-top: 0;
    color: #007bff;
}

footer {
    text-align: center;
    padding: 20px;
    background: #2D5025;
    color: #fff;
    margin-top: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #main-header {
        flex-direction: column;
        padding: 10px;
    }

    .logo-container {
        margin-bottom: 10px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav ul li {
        margin: 5px 0;
    }

    .header-icons {
        margin-top: 10px;
        width: 100%;
        justify-content: space-around; /* Distribute icons more evenly */
    }

    .search-container {
        width: auto; /* Allow it to take available space */
        flex-grow: 1; /* Allow search to grow if space available */
        margin-right: 10px; /* Space before other icons */
    }
    .search-container input[type="text"] {
        width: 100px; /* Smaller base width on mobile */
    }
    .search-container input[type="text"]:focus {
        width: 150px; /* Smaller expansion on mobile */
    }


    .btn-signin {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    body {
        padding-top: 160px; /* Adjust based on new header height on mobile */
    }
    /* Adjust main-nav to be a hamburger menu for very small screens if needed */
}

@media (max-width: 480px) {
    .main-nav {
        display: none; /* Example: Hide nav, implement hamburger toggle with JS */
        /* Or, stack them more aggressively */
    }
    /* Further adjustments for very small screens */
     .header-icons {
        flex-wrap: wrap; /* Allow icons to wrap if they don't fit */
        justify-content: space-around; /* Better for wrapped items */
        gap: 8px; /* Adjust gap for smaller screens */
        align-items: center; /* Ensure vertical alignment */
    }
.newsletter-section-eyebrow {
    color: #2D5025; /* Theme color */
    font-size: 0.8rem; /* Smaller than main heading */
    font-weight: 600; /* Semi-bold */
    text-transform: uppercase;
    margin-bottom: 8px; /* Space below it, adjusted from 5px */
    letter-spacing: 0.5px; /* Slight letter spacing */
}
    .search-container {
        width: 100%; /* Search takes full width on its own line */
        margin-bottom: 8px; /* Space below search */
        margin-right: 0; /* Ensure no extra margin */
    }
    .header-icons a, .btn-signin { /* Applies to wishlist, cart, sign-in */
        margin: 4px; /* Consistent small margin */
    }

    /* Specific adjustments for sign-in button at this breakpoint */
    .btn-signin {
        padding: 6px 12px; /* Reduce padding */
        font-size: 0.85rem; /* Reduce font size */
        /* margin: 4px; is already applied from the rule above */
    }

    body {
        padding-top: 220px; /* Adjusted padding, may need further tuning */
    }
}
/* Newsletter Signup Section */
#newsletter-signup-section {
    padding: 40px 20px;
    background-color: #ffffff; /* White background for this section, or a very light contrasting color */
    text-align: center;
    margin: 40px auto;
    max-width: 900px; /* Limit width for better readability */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.newsletter-header h2 {
    font-size: 2rem;
    color: #2D5025;
    margin-bottom: 10px;
}

.newsletter-header p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-dimension-selection {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 18px 32px;
    margin-bottom: 30px;
    justify-content: center;
    align-items: stretch;
    background: none;
}

.dimension-select-item {
    display: block; /* Make label a block to contain the card */
    cursor: pointer;
}

.dimension-select-item input[type="checkbox"] {
    display: none; /* Hide the actual checkbox */
}

.dimension-card {
    background-color: #f6fdf4;
    border: 2px solid #6C974C;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px; /* Ensure cards have a decent height */
}

.dimension-card img {
    width: 96px; /* Adjust icon size as needed */
    height: 96px;
    margin-bottom: 8px;
}

.dimension-card span {
    font-size: 0.85rem;
    color: #2E5E27;
    font-weight: 500;
}

.dimension-select-item input[type="checkbox"]:checked + .dimension-card {
    border-color: #2D5025;
    background-color: #eaf5e1;
    box-shadow: 0 2px 8px rgba(44, 94, 39, 0.13);
}

.dimension-select-item input[type="checkbox"]:checked + .dimension-card span {
    color: #2D5025;
}

.dimension-card:hover {
    border-color: #2E5E27;
    transform: translateY(-3px);
}

#newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    border-radius: 25px; /* Pill shape like the image */
    overflow: hidden; /* To make border-radius work on children */
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#newsletter-email {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-signup-newsletter {
    background-color: #2D5025;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-signup-newsletter:hover {
    background-color: #2E5E27;
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: #777;
    margin-top: 15px;
}

.newsletter-disclaimer a {
    color: #2D5025;
    text-decoration: none;
}

.newsletter-disclaimer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for newsletter section if needed */
@media (max-width: 768px) {
    .newsletter-dimension-selection {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, auto);
        gap: 14px 10px;
    }
    .dimension-card {
        padding: 10px 5px;
        min-height: 90px;
    }
    .dimension-card img {
        width: 28px;
        height: 28px;
    }
    .dimension-card span {
        font-size: 0.8rem;
    }
    .newsletter-header h2 {
        font-size: 1.8rem;
    }
    .newsletter-header p {
        font-size: 0.9rem;
    }
}
@media (max-width: 600px) {
    .newsletter-dimension-selection {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, auto);
        gap: 10px 0;
    }
}
/* Upcoming Events Section */
#upcoming-events-section {
    padding: 40px 20px;
    background-color: #eaf5e1;
    margin: 40px 0; /* Full width, or use auto for max-width behavior */
    text-align: center;
}

#upcoming-events-section h2 {
    font-size: 2.2rem;
    color: #2D5025;
    margin-bottom: 30px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive 3-column grid */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 30px auto; /* Center grid and add bottom margin */
}

.event-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(44, 94, 39, 0.08);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(44, 94, 39, 0.16);
}

.event-card-image-placeholder {
    height: 160px; /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.event-card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.event-card-content {
    padding: 5px 15px 15px 15px; /* Reduced top padding to 5px, other sides remain 15px */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* For gradient overlay */
    background: linear-gradient(to top, rgba(230, 244, 243, 0.85), transparent 60%); /* Reversed gradient from bottom to top */
}

/* .event-card-header styles removed as it's no longer used */

.event-card-type {
    font-size: 0.75rem;
    color: #2D5025;
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.event-card-rating {
    font-size: 0.85rem;
    color: #E67E22; /* Gold-ish color for rating */
    font-weight: 600;
}

.event-card-rating .star-icon { /* If you use an actual star icon */
    margin-right: 3px;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D5025;
    margin-bottom: 8px; /* Reduced margin */
    line-height: 1.3;
}

.event-card-details p {
    font-size: 0.8rem; /* Slightly reduced font size */
    color: #666;
    margin-bottom: 4px; /* Reduced margin */
    display: flex;
    align-items: flex-start;
}

.event-card-details p .icon {
    margin-right: 6px; /* Reduced margin */
    width: 13px;
    height: 13px;
    opacity: 0.7;
    flex-shrink: 0;
    margin-top: 2px;
}
.event-card-spots {
    color: #d9534f;
    font-weight: 500;
}

.event-card-includes {
    margin-top: 8px; /* Reduced margin */
    margin-bottom: 12px; /* Reduced margin */
}

.event-card-includes-title {
    font-size: 0.75rem; /* Slightly reduced font size */
    color: #6C974C;
    margin-bottom: 4px; /* Reduced margin */
    font-weight: 500;
}

.event-card-includes-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Reduced gap */
}

.event-card-includes-tags span {
    background: #f6fdf4;
    color: #2E5E27;
    font-size: 0.7rem; /* Slightly reduced font size */
    padding: 2px 6px; /* Reduced padding */
    border-radius: 4px;
}

.event-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between; /* Space between meta info and button */
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.event-card-meta-bottom {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between type and rating */
}

/* .event-card-price rule can be removed or commented out if not used elsewhere */
/*
.event-card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d9488;
}
*/

.btn-view-details {
    background-color: #8A2BE2; /* Purple like the image, or use theme accent */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-view-details:hover {
    background-color: #7B1FA2; /* Darker purple */
}

.section-read-more {
    margin-top: 30px;
}

.btn-read-more-events {
    background-color: #2D5025;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align icon and text */
    gap: 8px; /* Space between text and icon */
}

.btn-read-more-events i {
    transition: transform 0.3s ease;
}

.btn-read-more-events:hover {
    background-color: #2E5E27;
    transform: translateY(-2px); /* Slight lift on hover */
}

.btn-read-more-events:hover i {
    transform: translateX(5px); /* Move icon slightly to the right on hover */
}

/* Responsive adjustments for events section */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust for 2 columns */
    }
}

@media (max-width: 768px) {
    #upcoming-events-section h2 {
        font-size: 1.8rem;
    }
    .events-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        gap: 20px;
    }
    .event-card-title {
        font-size: 1.1rem;
    }
    .event-card-price {
        font-size: 1.2rem;
    }
    .btn-view-details {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}
/* Site Footer */
#site-footer {
    background-color: #ffffff; /* Background for the upper part of the footer */
    padding-top: 40px;
    color: #fff;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Upper Footer */
.upper-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 40px; /* Adjust as needed */
    margin-bottom: 20px;
}

.footer-links-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Spacing between columns */
}

.footer-link-column {
    min-width: 150px;
}

.footer-link-column h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

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

.footer-link-column ul li a {
    color: #fff;
    text-decoration: none;
    line-height: 1.8;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-link-column ul li a:hover {
    color: #6C974C;
}

/* Lower Footer */
.lower-footer {
    background-color: #f8f9fa; /* Light beige/gray for this section as per image */
    padding: 30px 0;
    /* The following lines might cause issues if .footer-container is not full width itself */
    /* Consider applying this background to a direct child of body or #site-footer if full bleed is needed */
    /* margin-left: -20px; */ /* Extend to full width if container has padding */
    /* margin-right: -20px; */ /* Extend to full width if container has padding */
    /* padding-left: 20px; */ /* Re-apply padding inside */
    /* padding-right: 20px; */ /* Re-apply padding inside */
}
.lower-footer-content-wrapper { /* New wrapper for padding if lower-footer is full bleed */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lower-footer-content {
    /* max-width: 1200px; */ /* Moved to wrapper */
    /* margin: 0 auto; */ /* Moved to wrapper */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}


.footer-social-and-copyright {
    flex-basis: 60%; /* Takes more space */
    min-width: 280px;
}
.footer-social-icons {
    display: flex;
    gap: 15px; /* Space between icons */
    margin-bottom: 15px;
}

.footer-social-icons a {
    color: #fff;
    font-size: 1.2rem; /* Placeholder text size, replace with actual icon styles */
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-social-icons a:hover {
    color: #6C974C;
}
/* TODO: Add actual social icon styles if using an icon font or SVGs */
/* Example for placeholder text: */
.footer-social-icons .social-icon-instagram::before { content: "IG"; }
.footer-social-icons .social-icon-facebook::before { content: "FB"; }
.footer-social-icons .social-icon-twitter::before { content: "X"; }
.footer-social-icons .social-icon-pinterest::before { content: "P"; }
.footer-social-icons .social-icon-youtube::before { content: "YT"; }
.footer-social-icons .social-icon-tiktok::before { content: "TT"; }


.footer-copyright {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}


.footer-secondary-links-wrapper { /* New wrapper for padding if lower-footer is full bleed */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-secondary-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center links */
    gap: 10px 20px; /* Row and column gap */
    /* max-width: 1200px; */ /* Moved to wrapper */
    /* margin: 0 auto; */ /* Moved to wrapper */
}

.footer-secondary-links a {
    font-size: 0.75rem;
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-secondary-links a:hover {
    color: #6C974C;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .upper-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo {
        margin-bottom: 30px;
    }
    .footer-links-columns {
        justify-content: center;
        width: 100%;
    }
    .footer-link-column {
        min-width: 120px; /* Allow more columns on smaller screens */
        margin-bottom: 20px;
    }
    .lower-footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-social-and-copyright, .footer-disclaimer {
        flex-basis: 100%; /* Stack them */
        margin-bottom: 20px;
    }
    .footer-social-icons {
        justify-content: center;
    }
}
/* New Footer Styles */
footer {
    background-color: #90b8b4; /* Actual footer background color */
    color: #fff;
    padding-top: 70px; /* Make space for the curve. Curve height (50px) + 20px buffer */
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    font-size: 0.9rem;
    margin-top: 30px; /* Regular margin from content above */
    z-index: 0; /* Establish stacking context for ::before */
    /* overflow: hidden; /* Not strictly necessary with the new ::before approach */
}

footer::before {
    content: '';
    position: absolute;
    top: 0; /* Align to the very top of the footer's padding box */
    left: 0;
    width: 100%;
    height: 50px; /* This is the visual height of the curve's dip */
    background-color: #ffffff; /* Color of the page section ABOVE the footer (body background ends in white) */
    /* Create a convex curve (hill) at the bottom of this white ::before element */
    /* This makes the green footer background below it appear to have a concave (dipping) curve */
    border-bottom-left-radius: 50% 50px; /* Horizontal radius 50% of width, Vertical radius 50px */
    border-bottom-right-radius: 50% 50px; /* Horizontal radius 50% of width, Vertical radius 50px */
    /* The .footer-container (with z-index: 1) will ensure content is above this curve */
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Content should be above the ::before pseudo-element */
    z-index: 1;
}

/* Removed .footer-secret-tab styles */

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 0; /* Adjusted from 20px as tab is removed */
    padding-left: 0; /* Removed padding for the tab */
}

.footer-column {
    flex: 1;
    min-width: 180px; /* Ensure columns don't get too narrow */
    text-align: left;
}

.footer-column:last-child {
    text-align: center;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: #2d5025;
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.footer-column ul li a {
    color: #2d5025;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #6C974C;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}

.social-icons a {
    background-color: #2D5025;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem; /* For placeholder text */
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #2E5E27;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #cce0d8; /* Lighter border color */
    font-size: 0.8rem;
    color: #fff;
}

.footer-bottom p {
    margin: 0;
    margin-bottom: 10px; /* Space for wrapping */
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom ul li a:hover {
    color: #6C974C;
    text-decoration: underline;
}

/* Responsive adjustments for the new footer */
@media (max-width: 992px) {
    .footer-columns {
        padding-left: 0; /* Ensure no padding from previous tab style */
    }
    /* .footer-secret-tab responsive styles removed */
}


@media (max-width: 768px) {
    footer {
        padding-top: 60px; /* Adjust curve padding for smaller screens */
        margin-top: 40px;
    }
    footer::before {
        top: -40px; /* Adjust curve height for smaller screens */
        height: 80px; /* Adjust curve height for smaller screens */
    }
    .footer-columns {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start for a cleaner look */
        gap: 20px;
        padding-left: 0; /* Ensure no padding */
    }
    .footer-column {
        min-width: 100%; /* Full width for columns */
        margin-bottom: 10px;
    }
    /* .footer-secret-tab responsive styles removed */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-bottom ul {
        justify-content: center;
        margin-top: 10px;
    }
}
/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for items within a grid/list */
.scroll-animate-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Individual delay for staggered items - can be applied via JS or more specific CSS */
/* Example:
.scroll-animate-stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate-stagger.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate-stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
... and so on
*/
header {
    min-height: 70px; /* Increased height for better visibility */
    padding: 0 40px 0 24px; /* More right padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    background: #fff;
    overflow: visible;
}

header a.sign-in {
    padding: 10px 32px;
    border-radius: 24px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-left: 16px;
    margin-right: 0;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(40,167,69,0.08);
}

/* Conscious Commerce Page Styles */
body {
    background: #f4fdf7;
}
.commerce-section {
    max-width: 1300px;
    margin: 40px auto 0 auto;
    padding: 32px 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(30, 64, 175, 0.06);
}
.commerce-intro {
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 18px;
}
.commerce-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.commerce-search {
    flex: 1 1 220px;
    padding: 8px 14px;
    border: 1px solid #e0e7ef;
    border-radius: 24px;
    font-size: 1rem;
    background: #f7fafc;
    outline: none;
    transition: border 0.2s;
}
.commerce-search:focus {
    border: 1.5px solid #0d9488;
}
.commerce-tags {
    display: flex;
    gap: 8px;
}
.commerce-tags .tag {
    background: #f3e8ff;
    color: #a21caf;
    border: none;
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 0.98rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
}
.commerce-tags .tag:hover {
    background: #a21caf;
    color: #fff;
}
.commerce-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.commerce-actions .filter-btn,
.commerce-actions .view-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 16px;
    padding: 7px 16px;
    font-size: 1rem;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.18s;
}
.commerce-actions .filter-btn:hover,
.commerce-actions .view-btn:hover {
    background: #e0e7ef;
}
.commerce-actions .sort-select {
    border-radius: 16px;
    border: 1px solid #e0e7ef;
    padding: 7px 16px;
    font-size: 1rem;
    background: #f7fafc;
    color: #374151;
}
.commerce-main {
    display: flex;
    gap: 32px;
    margin-top: 18px;
}
.commerce-sidebar {
    width: 260px;
    background: #f7fafc;
    border-radius: 16px;
    padding: 24px 18px 18px 18px;
    box-shadow: 0 2px 8px 0 rgba(30, 64, 175, 0.04);
    flex-shrink: 0;
}
.commerce-sidebar h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #22223b;
    text-align: left;
}
.category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.category-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    color: #374151;
    padding: 7px 0 7px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.category-list li.active,
.category-list li:hover {
    background: #ede9fe;
    color: #7c3aed;
}
.cat-icon {
    font-size: 1.2em;
}
.cat-count {
    margin-left: auto;
    font-size: 0.98em;
    color: #a1a1aa;
}
.price-range {
    margin-top: 18px;
}
.price-range h4 {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.price-range input[type="number"] {
    width: 60px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid #e0e7ef;
    background: #fff;
    margin-right: 4px;
    font-size: 1rem;
}
.commerce-products-area {
    flex: 1 1 0%;
    min-width: 0;
}
.products-header {
    font-size: 1.08rem;
    color: #64748b;
    margin-bottom: 18px;
}
.commerce-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.commerce-product-card {
    background: linear-gradient(135deg, #f8fafc 60%, #f3e8ff 100%);
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(30, 64, 175, 0.07);
    padding: 24px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
    border: 1px solid #ede9fe;
}
.commerce-product-card:hover {
    box-shadow: 0 8px 32px 0 rgba(124, 58, 237, 0.13);
    transform: translateY(-4px) scale(1.025);
    border-color: #c4b5fd;
}
.commerce-product-card .badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #f3e8ff;
    color: #a21caf;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 3px 12px;
    z-index: 2;
}
.badge-bestseller { background: #fef08a; color: #a16207; }
.badge-top { background: #dbeafe; color: #2563eb; }
.badge-new { background: #fbcfe8; color: #be185d; }
.badge-eco { background: #bbf7d0; color: #15803d; }
.badge-organic { background: #f0fdf4; color: #15803d; }
.badge-limited { background: #f3e8ff; color: #7c3aed; }
.product-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    margin-top: 12px;
}
.commerce-product-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #22223b;
}
.product-desc {
    font-size: 1.01rem;
    color: #64748b;
    margin-bottom: 8px;
}
.product-features {
    list-style: disc inside;
    color: #7c3aed;
    font-size: 0.98rem;
    margin: 0 0 8px 0;
    padding-left: 0;
}
.product-features li {
    margin-bottom: 2px;
}
.product-rating {
    font-size: 1.01rem;
    color: #f59e42;
    margin-bottom: 4px;
}
.product-rating .star {
    color: #f59e42;
    font-size: 1.1em;
}
.product-rating .reviews {
    color: #64748b;
    font-size: 0.97em;
    margin-left: 4px;
}
.product-meta {
    margin-bottom: 8px;
}
.product-meta .meta {
    background: #e0e7ef;
    color: #2563eb;
    border-radius: 8px;
    padding: 2px 10px;
    font-size: 0.92rem;
    margin-right: 6px;
}
.product-meta .free-shipping { background: #d1fae5; color: #047857; }
.product-meta .organic { background: #f0fdf4; color: #15803d; }
.product-meta .eco { background: #bbf7d0; color: #15803d; }
.product-meta .limited { background: #f3e8ff; color: #7c3aed; }
.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.product-price {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0d9488;
}
.product-old-price {
    font-size: 1rem;
    color: #a1a1aa;
    text-decoration: line-through;
}
.add-to-cart {
    background: #a21caf;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.18s;
}
.add-to-cart:hover {
    background: #7c3aed;
}

/* === COLOR PALETTE ===
   Primary:   #2D5025
   Secondary: #2E5E27
   Accent:    #6C974C
*/

::-webkit-scrollbar-thumb {
    background: #6C974C;
}
::-webkit-scrollbar-track {
    background: #eaf5e1;
}