/* Campaign Pagination Styles */
.campaign-pagination {
    display: flex;
    justify-content: center;
    margin: 32px 0 0 0;
}
.pagination-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
}
.pagination-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.arrow-label {
    font-family: 'Gotham', sans-serif;
    font-size: 15px;
    color: #000;
    user-select: none;
    letter-spacing: 0.5px;
}
.pagination-arrow.disabled .arrow-label {
    color: #ccc;
}
.pagination-arrow svg {
    display: block;
    flex-shrink: 0;
}
.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 34px;
    font-size: 18px;
    font-family: 'Gotham', sans-serif;
    border-radius: 999px;
    border: 2px solid transparent;
    background: #fff;
    color: #000;
    padding: 4px 8px;
    box-sizing: border-box;
    transition: all 0.2s;
}
.pagination-page.current {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}
/* Outreach Grid Wrapper */
.outreach-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px 20px;
}

/* Filters Section */
.outreach-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.outreach-search-bar,
.outreach-category-filter {
    width: 279px !important;
    height: 40px !important;
    padding: 0 15px !important;
    border: 1px solid #7BD2B0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
}

.outreach-search-bar:focus,
.outreach-category-filter:focus {
    outline: none !important;
    border-color: #7BD2B0 !important;
    box-shadow: 0 0 0 3px rgba(123, 210, 176, 0.1) !important;
}

.outreach-category-filter { 
    color: #7BD2B0 !important;
}

.outreach-search-bar::placeholder {
    color: #7BD2B0 !important;
}

/* Campaign Counter */
.campaign-counter {
    font-size: 16px;
    color: #333;
}

.campaign-counter strong {
    font-weight: 600;
}

/* Featured Title */
.featured-title {
    font-family: 'Recoleta Alt', serif;
    font-weight: 500;
    font-size: 37px;
    margin: 0 0 30px 0;
    text-align: left;
    color: #333;
}

/* Grid Layout */
.outreach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Grid Items */
.outreach-grid-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
}

.outreach-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.outreach-grid-item.hidden {
    display: none;
}

/* Grid Item Link */
.grid-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Grid Item Image */
.grid-item-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.grid-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.outreach-grid-item:hover .grid-item-image img {
    transform: scale(1.05);
}

/* Grid Item Content */
.grid-item-content {
    padding: 25px;
}

/* Location */
.grid-item-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 13.5px;
    color: #000000;
}

.location-icon {
    width: 16px;
    height: 16px;
    color: #000000;
    stroke: #000000;
    flex-shrink: 0;
}

/* Category Badges */
.category-badge {
    display: inline-block;
    min-width: 91px;
    width: fit-content;
    height: 20px;
    padding-right: 6px;
    padding-left: 6px;
    border-radius: 4px;
    border: 1px solid #A56C51;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0px;
    background: white;
    color: #A56C51;
    margin-bottom: 12px;
    opacity: 1;
    text-align: center;
    line-height: 18px;
    box-sizing: border-box;
}

.category-education,
.category-food,
.category-emergency,
.category-community {
    background: white;
    color: #A56C51;
    border: 1px solid #A56C51;
}

.grid-item-content h3 {
    margin: 0 0 16px;
    font-family: 'Recoleta', serif;
    font-weight: 500;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: 0px;
    color: #333;
}

/* Progress Info */
.campaign-progress-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #8E8E93;
    margin-bottom: 8px;
}

.campaign-progress-info span {
    white-space: nowrap;
}

/* Progress Bar */
.campaign-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #E5E5EA;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background-color: #96B9D9;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Share Icon */
.campaign-share {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.share-icon {
    width: 18px;
    height: 15px;
    stroke: #000000;
    stroke-width: 2px;
    fill: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    opacity: 1;
}

.share-icon:hover {
    transform: translateY(-2px);
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
    background: #f9f9f9;
    border-radius: 12px;
}

.no-results p {
    margin: 0;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.outreach-grid-item {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .outreach-grid-wrapper {
        padding: 20px 15px;
    }
    
    .outreach-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .filter-controls {
        flex-direction: column !important; /* Force column layout */
        width: 100% !important;
        gap: 15px !important;
    }
    
    .outreach-search-bar,
    .outreach-category-filter {
        width: 100% !important; /* Full width */
        margin: 0 !important;
    }
    
    .campaign-counter {
        width: 100%;
        text-align: left;
    }
    
    .featured-title {
        font-size: 28px;
    }
    
    .outreach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-item-content h3 {
        font-size: 20px;
    }
    
    .grid-item-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .outreach-search-bar,
    .outreach-category-filter {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .grid-item-content h3 {
        font-size: 18px;
    }
    
    .grid-item-content p {
        font-size: 14px;
    }
}

/* ============================================
   BLOG SECTION STYLES
   ============================================ */

/* Blog Section Wrapper */
.blog-section-wrapper {
    max-width: 1200px;
    margin: 60px auto 0px auto;
    padding: 48px 20px;
}

/* Blog Section Title */
.blog-section-title {
    font-family: 'Recoleta Alt', serif;
    font-weight: 500;
    font-size: 37px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Blog Search Bar */
.blog-search-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.blog-search-bar {
    width: 279px !important;
    height: 40px !important;
    padding: 0 15px !important;
    border: 1px solid #7BD2B0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
}

.blog-search-bar:focus {
    outline: none !important;
    border-color: #7BD2B0 !important;
    box-shadow: 0 0 0 3px rgba(123, 210, 176, 0.1) !important;
}

.blog-search-bar::placeholder {
    color: #7BD2B0 !important;
}

/* Blog Carousel Container */
.blog-carousel-container {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    /* overflow: hidden; Removed to show arrows outside */
}

.blog-carousel {
    display: flex;
    gap: 24px; /* Reduced gap to fit more items */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.blog-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.blog-carousel.grabbing {
    cursor: grabbing;
}

/* Blog Card */
.blog-card {
    /* 4 items per row on desktop: (100% - (3 * 24px gap)) / 4 = ~25% - 18px */
    flex: 0 0 calc(25% - 18px);
    min-width: 250px;
    transition: transform 0.3s ease;
}

/* Tablet: 2 items per row */
@media (max-width: 1200px) {
    .blog-card {
        flex: 0 0 calc(50% - 12px); /* (100% - 24px) / 2 */
        min-width: 300px;
    }
}

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

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 205px;
    height: 115px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f0f0f0;
    transform: rotate(0deg);
    opacity: 1;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


/* Blog Carousel Navigation */
.blog-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    color: #999;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-carousel-nav:hover {
    color: #333;
}

.blog-carousel-nav.prev {
    left: -60px;
}

.blog-carousel-nav.next {
    right: -60px;
}

.blog-carousel-nav svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

@media (max-width: 1300px) {
    .blog-carousel-nav.prev {
        left: -40px;
    }
    .blog-carousel-nav.next {
        right: -40px;
    }
}

.blog-view-all-btn:hover {
    color: #9FDFCA;
    transform: translateX(5px);
}

/* Responsive Styles for Blog Section */
@media (max-width: 768px) {
    .blog-section-title {
        font-size: 28px;
    }

    .blog-carousel-nav {
        display: none !important; /* Hide arrows on mobile */
    }

    .blog-carousel {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 16px;
        justify-content: flex-start;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .blog-carousel::-webkit-scrollbar {
        display: none;
    }

    .blog-card {
        flex: 0 0 85vw; /* Match featured section */
        min-width: 85vw;
        scroll-snap-align: center;
    }

    .blog-card-image {
        width: 100%;
        height: 200px; /* Adjust height */
    }

    .blog-title {
        font-size: 20px;
    }
}

/* ============================================
   FAQ SECTION STYLES
   ============================================ */

/* FAQ Section Wrapper */
.faq-section-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0px 40px 40px 40px;
}

/* FAQ Section Title */
.faq-section-title {
    font-family: 'Recoleta Alt', serif;
    font-weight: 500;
    font-size: 37px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    width: 1160px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Accordion Container */
.faq-accordion {
    max-width: 766px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item */
.faq-item {
    background: #E7EEF4;
    border-radius: 18px;
    border-top: 1px solid #E7EEF4;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: #FFFFFF;
}

/* FAQ Question */
.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    min-height: 63px;
    transition: all 0.3s ease;
}

.faq-question span {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0;
    color: #333;
    padding-right: 20px;
    flex: 1;
}

.faq-question:hover {
    background: rgba(74, 144, 226, 0.05);
}

/* FAQ Arrow */
.faq-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #4A90E2;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 16px 16px 16px;
    gap: 8px;
}

.faq-answer p {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 140%;
    letter-spacing: 0;
    color: #666;
    margin: 0;
    padding-top: 8px;
    width: 734px;
    max-width: 100%;
    vertical-align: middle;
}

/* Responsive Styles for FAQ Section */
@media (max-width: 768px) {
    .faq-section-title {
        font-size: 28px;
        width: 100%;
    }

    .faq-accordion {
        max-width: 100%;
    }

    .faq-question span {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

/* ============================================
   SINGLE CAMPAIGN PAGE STYLES
   ============================================ */

.single-campaign-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Back to Campaigns Link */
.back-to-campaigns {
    margin-bottom: 30px;
}

.back-to-campaigns a {
    display: inline-block;
    width: auto;
    height: auto;
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.back-to-campaigns a:hover {
    opacity: 0.7;
}

/* Campaign Page Title */
.campaign-page-title {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 40px;
    font-family: 'Recoleta', serif;
    font-weight: 600;
    font-size: 47px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #000000;
}

/* Campaign Details Block */
.campaign-details-block {
    display: flex;
    width: 1159px;
    max-width: 100%;
    min-height: 548px;
    height: auto;
    margin: 0 auto 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1), 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    justify-content: space-between;
    opacity: 1;
    transform: rotate(0deg);
}

/* Image Section with Slideshow */
.campaign-image-section {
    position: relative;
    width: 673px;
    min-height: 548px;
    height: auto;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    overflow: hidden;
    background: #f0f0f0;
    opacity: 1;
    transform: rotate(0deg);
}

.campaign-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.campaign-slideshow .slide {
    display: none;
    width: 100%;
    height: 100%;
}

.campaign-slideshow .slide.active {
    display: block;
}

.campaign-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slideshow-dots .dot.active {
    background: #ffffff;
}

/* Right Side Content */
.campaign-info-section {
    width: 485px;
    min-height: 548px;
    height: auto;
    padding: 24px;
    background: #F8F3ED;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 1;
    transform: rotate(0deg);
}

/* Tag and Location */
.campaign-meta-top {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.campaign-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 91px;
    width: auto;
    height: 20px;
    padding-right: 6px;
    padding-left: 6px;
    background: #F8F3ED;
    color: #A56C51;
    border-radius: 4px;
    border: 1px solid #A56C51;
    font-family: 'Gotham';
    font-size: 11px;
    font-weight: 400;
    font-style: 'book';
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: center;
    line-height: 18px;
    box-sizing: border-box;
    opacity: 1;
    flex-shrink: 0;
}

.campaign-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Gotham', sans-serif;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.campaign-location-tag svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}


/* Brief Description */
.campaign-brief-description {
    width: 437px;
    height: auto;
    max-width: 100%;
    font-family: 'Gotham';
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 30.6px;
    letter-spacing: 0.1px;
    color: #000000;
    opacity: 1;
    vertical-align: middle;
}

/* Progress Subsection */
.campaign-progress-subsection {
    width: 437px;
    height: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 1;
    transform: rotate(0deg);
}

.amount-raised {
    font-family: 'Recoleta', serif;
    font-weight: 500;
    font-size: 37px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #000000;
}

.campaign-metrics {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #666;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #8EB5D8;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Donation Suggestion Boxes */
.donation-suggestions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.donation-box {
    width: 100px;
    height: 56px;
    border: 1px solid #8E8E93 !important;
    border-radius: 8px;
    background: #ffffff !important;
    font-family: 'Gotham', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
    transform: rotate(0deg);
}

.donation-box:hover {
    background: #8EB5D8 !important;
    color: #ffffff !important;
    border: 1px solid #8EB5D8 !important;
}

.donation-box.selected {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

.donation-box.selected:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

/* Custom Donation */
.custom-donation {
    display: flex;
    gap: 12px;
}

.donation-input {
    width: 275px;
    height: 56px;
    padding: 0 16px;
    border: 1.5px solid #8EB5D8;
    border-radius: 6px;
    background: #ffffff;
    font-family: 'Gotham', sans-serif;
    font-size: 16px;
    color: #000000;
    opacity: 1;
    transform: rotate(0deg);
}

.donation-input:focus {
    outline: none;
    border-color: #6BA3E8;
}

.donate-button {
    width: 146px;
    max-width: 226px;
    height: 56px;
    padding: 0 18px;
    border: 1px solid #8EB5D8 !important;
    border-radius: 12px;
    background: #8EB5D8 !important;
    color: #ffffff !important;
    font-family: 'Gotham', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
    transform: rotate(0deg);
}

.donate-button:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

.donate-button:active,
.donate-button.selected {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Campaign Video Section */
.campaign-video-section {
    width: 100%;
    max-width: 1160px;
    margin: 60px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1), 0 2px 8px 0 rgba(0, 0, 0, 0.15);
}

.campaign-video-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* About Campaign Section */
.about-campaign-section {
    width: 760px;
    min-height: 1124px;
    max-width: 100%;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 1;
    transform: rotate(0deg);
}

.about-campaign-title {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    font-family: 'Recoleta', serif;
    font-weight: 500;
    font-size: 32px;
    color: #000000;
    opacity: 1;
    transform: rotate(0deg);
}

/* Campaign Content Sections */
.campaign-content-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 1;
    transform: rotate(0deg);
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-heading {
    width: 760px;
    max-width: 100%;
    height: auto;
    font-family: 'Recoleta', serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 22px;
    letter-spacing: 0px;
    color: #A56C51;
    opacity: 1;
    transform: rotate(0deg);
}

.section-highlights,
.section-content {
    width: 760px;
    max-width: 100%;
    font-family: 'Gotham', 'Arial', sans-serif !important;
    font-weight: 400;
    font-size: 17px;
    line-height: 30.6px;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    transform: rotate(0deg);
}

.section-highlights ul,
.section-content ul {
    padding-left: 20px;
    font-family: 'Gotham', 'Arial', sans-serif !important;
}

.section-highlights li,
.section-content li,
.section-highlights p,
.section-content p {
    font-family: 'Gotham', 'Arial', sans-serif !important;
}

/* Donation Protection Banner */
.donation-protection-banner {
    width: 100vw;
    margin: 80px 0 0 0;
    margin-left: calc(-50vw + 50%);
    padding: 140px;
    background: #F8F3ED;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.banner-title {
    width: 403px;
    max-width: 100%;
    height: 26px;
    font-family: 'Recoleta Alt', 'Recoleta', 'Recoleta-Medium', Georgia, serif;
    font-weight: 500;
    font-size: 37px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #000000;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 1160px;
    max-width: 100%;
}

.banner-box {
    width: 384px;
    max-width: 100%;
    display: flex !important; /* Ensure visible on desktop */
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.banner-box-heading {
    width: 384px;
    max-width: 100%;
    height: 21px;
    font-family: 'Recoleta Alt', 'Recoleta', 'Recoleta-Medium', Georgia, serif;
    font-weight: 500;
    font-size: 29px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #000000;
}

.banner-box-text {
    width: 384px;
    max-width: 100%;
    height: 52px;
    font-family: 'Gotham', 'Gotham SSm', 'GothamSSm-Book', Arial, sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: 0;
    text-align: center;
    color: #000000;
}


/* Ensure 2-column layout on desktop for protection banner */
@media (min-width: 1201px) {
    .donation-protection-banner.protection-banner .banner-content {
        justify-content: center; /* Center the two items */
        gap: 80px; /* More space between the two */
    }

    .donation-protection-banner.protection-banner .banner-box {
        width: 400px; /* Explicit width for nicer look */
    }
}

/* Responsive Styles for Single Campaign */
@media (max-width: 1200px) {
    .campaign-details-block {
        flex-direction: column;
        height: auto;
    }

    .campaign-image-section,
    .campaign-info-section {
        width: 100%;
        border-radius: 0;
		min-height: 0;
    }

    .campaign-image-section {
        height: 400px;
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }

    .campaign-info-section {
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }

    .banner-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .donation-protection-banner {
        padding: 60px 20px;
    }
}

/* ============================================
   FEATURED SECTION STYLES
   ============================================ */

.featured-section-title {
    font-family: 'Recoleta', serif;
    font-weight: 500;
    font-style: normal;
    font-size: 37px;
    line-height: 100%;
    letter-spacing: 0px;
    margin: 0 0 30px 0;
    text-align: left;
    color: #333;
}

/* Helper for renamed section title */
.section-title {
    font-family: 'Recoleta', serif;
    font-weight: 500;
    font-size: 37px;
    margin: 0 0 30px 0;
    text-align: left;
    color: #333;
}

.featured-campaigns-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 60px;
    justify-content: flex-start;
}

.featured-campaign-item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.28s ease;
    opacity: 1;
    width: 558px;
    height: 471px;
    padding-bottom: 24px;
    box-sizing: border-box; /* Ensure padding is included if width is fixed, or handle content inside */
}

.featured-campaign-item.is-entering {
    opacity: 0;
    transform: translateX(12px);
}

/* Adjust image height for featured items to fill the taller card */
.featured-campaign-item .grid-item-image {
    height: 250px; /* Reduced from 280px to prevent content overflow */
}

.featured-carousel-wrapper {
    position: relative;
    width: 100%;
}

.featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    color: #999;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-nav:hover {
    color: #333;
}

.featured-nav:focus {
    color: #999; /* Prevent color change on focus/click */
    outline: none;
}

.featured-nav svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.featured-nav.prev {
    left: -60px;
}

.featured-nav.next {
    right: -60px;
}

@media (max-width: 1300px) {
    .featured-nav.prev {
        left: -40px;
    }
    .featured-nav.next {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .featured-nav {
        display: none; /* Hide arrows on mobile if swipe is preferred or space is tight */
    }
}

.featured-campaign-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.featured-campaign-item:hover .grid-item-image img {
    transform: scale(1.05);
}

.featured-campaign-item.hidden {
    display: none;
}

/* Better layout when only one featured campaign is visible */
#featured-section.single-featured-visible .featured-campaigns-grid {
    justify-content: flex-start;
}

#featured-section.single-featured-visible .featured-campaign-item {
    width: min(100%, 558px);
}

#featured-section.single-featured-visible .featured-nav {
    display: none;
}

/* Responsive Styles for Featured Section */
@media (max-width: 1200px) {
    .featured-campaign-item {
        width: calc(50% - 12px);
        height: auto;
        min-height: 471px;
    }
}

@media (max-width: 768px) {
    .featured-campaigns-grid {
        display: flex;
        flex-direction: row; /* Horizontal */
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px; /* Space for scrollbar if any */
        gap: 16px;
        justify-content: flex-start; /* Align left */
        margin-left: -20px; /* Bleed to edge */
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .featured-campaigns-grid::-webkit-scrollbar {
        display: none;
    }
    .featured-campaign-item {
        width: 85vw; /* Allow next one to peek */
        flex: 0 0 85vw;
        scroll-snap-align: center;
        margin-right: 0;
        height: auto;
        min-height: auto;
    }
    .featured-section-title, .section-title {
        font-size: 28px;
    }
}

/* ============================================
   FLOATING CAMPAIGN BANNER
   ============================================ */

.floating-campaign-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #F2E7DC;
    height: 162px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 140px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.floating-banner-title {
    font-family: 'Recoleta', serif;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    width: auto;
    max-width: 350px; /* Increased from 289px to accommodate more text */
    line-height: 1.2;
}

.floating-banner-progress {
    flex-grow: 1;
    margin: 0 40px;
    max-width: 600px;
}

.floating-banner-progress .progress-info {
    font-family: 'Gotham', sans-serif;
    font-size: 12px;
    color: #666; /* Adjusted for better contrast */
    margin-bottom: 8px;
}

.floating-banner-progress .progress-bar-track {
    background: #ffffff;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.floating-banner-progress .progress-bar-fill {
    background: #8EB5D8;
    height: 100%;
    border-radius: 5px;
}

.floating-banner-cta {
    display: inline-block;
    background: #8EB5D8;
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: 'Recoleta', serif;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.floating-banner-cta:hover {
    background: #7ca3c5;
    color: #fff;
}

/* Responsive Styles for Floating Banner */
@media (max-width: 1200px) {
    .floating-campaign-banner {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .floating-campaign-banner {
        height: auto;
        min-height: auto;
        padding: 20px;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }

    .floating-banner-title {
        max-width: 100%;
        text-align: center;
        font-size: 20px;
        margin-bottom: 5px;
    }

    /* Hide progress bar on mobile to match the clean look requested */
    .floating-banner-progress {
        display: none;
    }

    .floating-banner-cta {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}

/* ============================================
   BANNER CAROUSEL STYLES
   ============================================ */

/* Desktop and Tablet: Hide navigation arrows and show all boxes */

.banner-box {
    display: flex !important;
}

/* Mobile Carousel Styles */
@media (max-width: 1200px) {
    .banner-content {
        flex-direction: row !important; /* Override column layout */
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        position: relative;
        width: 100%;
        max-width: 500px; /* Limit width for better carousel look */
        margin: 0 auto;
        min-height: 150px;
    }

    .banner-box {
        display: none; /* Hide all boxes by default */
        width: 100%;
        animation: fadeIn 0.3s ease-in-out;
    }

    .banner-box.active {
        display: flex !important; /* Show active box */
    }

    .banner-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        color: #000;
        padding: 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .banner-nav:hover {
        opacity: 0.7;
    }

    .banner-nav.prev {
        left: -40px;
    }

    .banner-nav.next {
        right: -40px;
    }

    .donation-protection-banner {
        padding-left: 60px;
        padding-right: 60px;
        overflow: hidden; /* Prevent horizontal scroll if arrows stick out */
    }
}

@media (max-width: 500px) {
    .banner-nav.prev {
        left: -20px;
    }
    .banner-nav.next {
        right: -20px;
    }
    .donation-protection-banner {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Mobile Tight Carousel for Donation Protection */
@media (max-width: 768px) {
    .donation-protection-banner {
        padding: 40px 20px; /* Reset padding */
        overflow: visible; /* Allow scroll */
    }

    .banner-content {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-behavior: smooth;
        padding-bottom: 20px;
        gap: 16px !important;
        justify-content: flex-start !important;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .banner-content::-webkit-scrollbar {
        display: none;
    }

    .banner-box {
        display: flex !important; /* Override JS hiding */
        flex-direction: column;
        min-width: 85vw;
        width: 85vw;
        scroll-snap-align: center;
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .banner-nav {
        display: none !important;
    }
}

/* Make all stats in the "Trusted by you" banner stand out */
.banner-box .banner-box-heading {
    font-family: 'Recoleta', serif;
    font-weight: 500;
    font-size: 32px;
}

/* Fix for Donation Protection banner headings (Vetted Campaigns & Secure Payments) */
.donation-protection-banner.protection-banner .banner-box .banner-box-heading {
    font-family: 'Recoleta Alt', 'Recoleta', 'Recoleta-Medium', Georgia, serif !important;
    font-weight: 500;
    font-size: 29px;
}

.donation-protection-banner.protection-banner .banner-box .banner-box-text {
    font-family: 'Gotham', 'Gotham SSm', 'GothamSSm-Book', Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* Ensure the banner title is centered */
.banner-title {
    text-align: center;
}

/* Center align hero headings on mobile */
@media (max-width: 768px) {
    /* Targeting likely Elementor or theme classes for the hero heading */
    .elementor-widget-heading h1,
    .elementor-widget-heading h2,
    .page-header h1,
    .section-title {
        text-align: center !important;
    }
}

/* Align Search Bars Stacked on Mobile */
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column !important; /* Force column layout */
        width: 100% !important;
        gap: 15px !important;
    }

    .outreach-search-bar,
    .outreach-category-filter {
        width: 100% !important; /* Full width */
        margin: 0 !important;
    }
}
