/* Muslims Bright - home page styles (extracted from home.blade.php) */
/* Loaded only via home.blade @section(css); body.home-page when activePage is home */

    :root {
        --brand-primary: #c52327;
        --brand-dark: #0d1324;
        --brand-muted: #6b7280;
        --card-bg: #ffffff;
        --card-soft: #f7f5fb;
        --radius-lg: 18px;
        --shadow-lg: 0 16px 60px rgba(15, 23, 42, 0.14);
        --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
        --gradient-hero: radial-gradient(circle at 20% 20%, rgba(197, 35, 39, 0.12), transparent 30%),
            radial-gradient(circle at 80% 0%, rgba(40, 42, 70, 0.18), transparent 35%),
            linear-gradient(135deg, rgba(12, 17, 32, 0.92) 0%, rgba(12, 17, 32, 0.75) 55%, rgba(12, 17, 32, 0.6) 100%);
        --home-button-radius: 10px;
        /* Unified light grey band for major home sections (matches Discover Organizations) */
        --home-section-surface: #f3f3f3;
    }

    /* body.home-page {
        background: linear-gradient(180deg, #fdf5f5 0%, #ffffff 40%, #f4f6fb 100%);
    } */

    .section-shell {
        padding: 48px 0;
    }

    /* Empowering professionals row - match unified home section grey */
    section.Latest_event.section-shell:not(.bootom_event) {
        background: var(--home-section-surface);
    }

    .section-head {
        max-width: 760px;
        margin-bottom: 28px;
    }

    .section-kicker {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(197, 35, 39, 0.1);
        color: var(--brand-primary);
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }

    .section-head h2 {
        font-size: 32px;
        font-weight: 800;
        color: var(--brand-dark);
        letter-spacing: -0.02em;
    }

    .section-head p {
        color: var(--brand-muted);
        margin-top: 10px;
        font-size: 15px;
    }

    /* Classic centered section title (e.g., Popular Causes style) */
    .section-head.classic-head h2 {
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 800;
        display: inline-block;
        position: relative;
        padding-bottom: 16px;
        margin-bottom: 6px;
    }

    .section-head.classic-head h2::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 6px;
        transform: translateX(-50%);
        width: 52px;
        height: 2px;
        background: var(--brand-primary);
    }

    .section-head.classic-head p {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.8;
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.55);
        box-shadow: var(--shadow-lg);
        border-radius: var(--radius-lg);
        position: relative;
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .glass-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, rgba(197, 35, 39, 0.06), rgba(40, 42, 70, 0.06));
        pointer-events: none;
    }

    .glass-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 60px rgba(12, 17, 32, 0.18);
    }

    .pill-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 18px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        border: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .pill-btn.primary {
        background: linear-gradient(135deg, #c52327, #8f1115);
        color: #fff;
        box-shadow: 0 10px 30px rgba(197, 35, 39, 0.35);
    }

    .pill-btn.secondary {
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: #fff;
    }

    .pill-btn.light-secondary {
        background: #f7f5fb;
        color: var(--brand-dark);
        border: 1px solid #ece7f7;
    }

    .pill-btn:hover {
        transform: translateY(-2px);
    }

    /* Hero */
    .hero-slide {
        position: relative;
        min-height: clamp(280px, 42vh, 520px);
        background: #000;
    }

    .hero-slide img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        mix-blend-mode: normal;
        opacity: 1;
    }

    /* Full-slide hero banner link (home carousel) */
    .home-hero-banner-link {
        display: block;
        position: relative;
        color: inherit;
        text-decoration: none;
    }

    .home-hero-banner-link:hover {
        color: inherit;
        text-decoration: none;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        display: none;
    }

    .hero-chip {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        font-weight: 700;
        margin-bottom: 14px;
        letter-spacing: 0.6px;
    }

    .hero-title {
        font-size: clamp(32px, 5vw, 48px);
        font-weight: 800;
        margin-bottom: 12px;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        color: rgba(255, 255, 255, 0.88);
        font-size: 16px;
        max-width: 720px;
        line-height: 1.6;
    }

    .hero-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 18px;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 24px;
    }

    .metric-tile {
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .metric-tile h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        color: #fff;
    }

    .metric-tile span {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.8);
    }

    /* Quick links */
    .quick-links-wrap {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 18px;
        margin-top: 28px;
    }

    .quick-card {
        text-align: center;
        padding: 20px 16px;
        border-radius: var(--radius-lg);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 251, 0.9));
        box-shadow: var(--shadow-sm);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .quick-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .quick-card .icon-circle {
        width: 72px;
        height: 72px;
        background: linear-gradient(135deg, #c52327, #8f1115);
        color: #fff;
        display: grid;
        place-items: center;
        margin: 0 auto 12px;
        border-radius: 18px;
        font-size: 28px;
        box-shadow: 0 12px 30px rgba(197, 35, 39, 0.25);
    }

    .quick-card h3 {
        font-size: 16px;
        font-weight: 700;
        color: var(--brand-dark);
        margin-bottom: 6px;
    }

    .quick-card p {
        font-size: 13px;
        color: var(--brand-muted);
        margin: 0;
    }

    /* Events */
    .event-card {
        background: #fff;
        border-radius: 18px;
        padding: 18px;
        box-shadow: var(--shadow-lg);
        border: 1px solid #f1f1f5;
        display: flex;
        gap: 16px;
        height: 100%;
    }

    .event-card .event-thumb {
        position: relative;
        width: 230px;
        flex-shrink: 0;
        border-radius: 14px;
        overflow: hidden;
    }

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

    .event-card:hover .event-thumb img {
        transform: scale(1.03);
    }

    .event-chip {
        position: absolute;
        top: 14px;
        left: 14px;
        background: rgba(12, 17, 32, 0.7);
        color: #fff;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .event-body h4 {
        margin: 0 0 6px;
        color: var(--brand-dark);
        font-weight: 800;
        font-size: 18px;
    }

    .event-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 14px;
        margin: 6px 0 12px;
        color: var(--brand-muted);
        font-size: 13px;
    }

    .event-meta i {
        color: var(--brand-primary);
        margin-right: 6px;
    }

    .event-dates {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        margin-bottom: 10px;
    }

    .date-pill {
        background: #f4f6fb;
        border-radius: 12px;
        padding: 10px 12px;
        font-weight: 700;
        color: var(--brand-dark);
        border: 1px solid #e9eaf2;
    }

    /* Donation cards */
    .donation-card {
        position: relative;
        background: #fff;
        border-radius: 18px;
        padding: 14px;
        box-shadow: var(--shadow-lg);
        border: 1px solid #f1f1f5;
        height: 100%;
    }

    .donation-card .org-name h6 {
        font-size: 16px;
        margin-bottom: 6px;
        color: var(--brand-dark);
    }

    .donation-card .joinevent-btn a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        border-radius: 10px;
        background: linear-gradient(135deg, #c52327, #8f1115);
        color: #fff;
        font-weight: 700;
        font-size: 13px;
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(197, 35, 39, 0.3);
    }

    /* Directory tabs */
    .directory-tabs .custom-tab {
        background: #0d1324 !important;
        border: 1px solid #1b243a;
        color: #fff;
        box-shadow: 0 10px 30px rgba(12, 17, 32, 0.2);
    }

    .directory-tabs .custom-tab.active {
        background: linear-gradient(135deg, #c52327, #8f1115) !important;
        box-shadow: 0 16px 36px rgba(197, 35, 39, 0.35);
        color: #ffffff !important;
    }

    /* Ensure Bootstrap's nav-link active state doesn't override text color */
    .directory-tabs .nav-link.custom-tab.active {
        color: #ffffff !important;
    }

    /* Leader cards */
    .leader-card {
        border-radius: 18px;
        box-shadow: var(--shadow-lg);
        background: #fff;
    }

    /* Swiper nav tweaks */
    .swiper-button-next,
    .swiper-button-prev {
        background: #0d1324 !important;
        color: #fff !important;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(12, 17, 32, 0.25);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
        font-weight: 800;
    }

    @media screen and (max-width: 992px) {
        .event-card {
            flex-direction: column;
        }

        .event-card .event-thumb {
            width: 100%;
            height: 220px;
        }

        .hero-metrics {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media screen and (max-width: 576px) {
        .hero-actions {
            flex-direction: column;
            align-items: flex-start;
        }

        .hero-metrics {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }

    .coming-soon-text {
        font-size: 14px;
    }

    .org-section {
        margin: auto;
    }

    .slider-container {
        position: relative;
        padding: 12px 0;
    }

    .swiper {
        width: 100%;
        overflow: hidden;
        padding: 3px;
        opacity: 0;
    }

    .swiper-initialized {
        opacity: 1;
        transition: opacity 0.3s ease-in-out;
    }

    .swiper-wrapper {
        display: flex;
        align-items: flex-start;
    }

    .swiper-slide {
        flex: 0 0 auto;
        width: min(100%, 220px);
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        height: 290px;
        width: 80%;
        flex-direction: column;
        align-items: center;
        background: #fff;
        box-shadow: 0px 0px 4px 1px #00000042;
        border-radius: 24px;
        padding: 15px;
        text-align: center;
        position: relative;
    }

    .org-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
        aspect-ratio: 3 / 2;
        transition: opacity 0.3s ease;
        opacity: 0;
        position: relative;
        z-index: 1;
    }

    .org-image.loaded {
        opacity: 1;
    }

    @keyframes spin {
        0% {
            transform: translate(-50%, -50%) rotate(0deg);
        }

        100% {
            transform: translate(-50%, -50%) rotate(360deg);
        }
    }

    .image-loader {
        position: relative;
    }

    .loading-spinner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 3px solid rgba(0, 0, 0, 0.1);
        border-top-color: #3498db;
        border-radius: 50%;
        animation: spin 1s ease-in-out infinite;
        z-index: 2;
    }

    .org-name {
        font-size: 12px !important;
        font-weight: 600;
        margin-top: 20px;
        text-align: center;
    }

    .slide.active {
        display: block;
    }

    .slider .controls {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
    }

    .slider .controls button {
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        padding: 10px;
        cursor: pointer;
    }

    .slider .controls button:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .slider #prev {
        margin-left: 20px;
    }

    .slider #next {
        margin-right: 20px;
    }

    .card_container {
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .badge.bg-primary {
        background-color: #007bff !important;
    }

    @media screen and (max-width: 768px) {
        .swiper-slide {
            width: 90%;
            /* Adjust width for better visibility */
        }

        .swiper-button-next,
        .swiper-button-prev {
            width: 25px;
            height: 25px;
            font-size: 14px;
        }
    }

    @media screen and (max-width: 576px) {
        .swiper-slide {
            width: 100%;
        }

        .swiper-button-next,
        .swiper-button-prev {
            display: none;
        }
    }

    .image-placeholder {
        width: 100%;
        height: 157px;
        background-color: #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 64px;
        font-weight: bold;
        color: #999999;
        border-radius: 8px;
        aspect-ratio: 3 / 2;
    }

    /* Modern Donation Card Styles */
    .donationSwiper .swiper-slide {
        width: min(100%, 320px);
        max-width: 100%;
        height: auto;
        padding: 15px;
    }

    .donationSwiper .donation-card {
        min-height: 410px;
        background: #ffffff;
        border: 1px solid #f0f2f5;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
        border-radius: 24px;
        padding: 20px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
    }

    .donationSwiper .donation-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border-color: transparent;
    }

    .donationSwiper .image-loader {
        margin-bottom: 16px;
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .donationSwiper .org-image {
        height: 220px;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .donationSwiper .donation-card:hover .org-image {
        transform: scale(1.05);
    }

    .donationSwiper .org-name {
        width: 100%;
        margin-top: auto;
    }

    .donationSwiper .org-name h6 {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.4;
        margin-bottom: 12px;
        min-height: 50px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: left;
    }

    @media screen and (max-width: 768px) {
        .donationSwiper .swiper-slide {
            width: min(100%, 300px);
        }
        .donationSwiper .donation-card {
            min-height: 400px;
        }
        /* .donationSwiper .org-image {
            height: 180px;
        } */
    }

    /* Donation progress meter */
    .donation-progress {
        width: 100%;
        background: #f2f4f8;
        border-radius: 10px;
        padding: 6px 10px;
        box-shadow: inset 0 1px 3px rgba(12, 17, 32, 0.08);
    }

    .donation-progress .bar-shell {
        position: relative;
        width: 100%;
        height: 10px;
        background: #e5e7eb;
        border-radius: 999px;
        overflow: hidden;
    }

    .donation-progress .bar-fill {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: linear-gradient(135deg, #c52327, #8f1115);
        border-radius: inherit;
        transition: width 0.4s ease;
    }

    .donation-progress .bar-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 6px;
        font-size: 12px;
        color: var(--brand-dark);
        font-weight: 700;
    }

    /* Animated heart on support button */
    @keyframes heartbeat {
        0% { transform: scale(1); }
        25% { transform: scale(1.12); }
        50% { transform: scale(0.96); }
        75% { transform: scale(1.08); }
        100% { transform: scale(1); }
    }

    .support-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.16);
        animation: heartbeat 1.4s infinite;
    }

    @media screen and (max-width: 768px) {
        /* .donationSwiper .org-image {
            height: 130px;
        } */
        .donationSwiper .image-container {
            height: 280px;
        }
        .donationSwiper .joinevent-btn a {
            font-size: 12px;
            padding: 5px 10px;
        }
        .donationSwiper .org-name h6 {
            font-size: 14px;
            min-height: 32px;
            margin-bottom: 4px;
        }
        .donationSwiper .org-name {
            margin-top: 6px;
        }
    }

    @media screen and (max-width: 576px) {
        /* .donationSwiper .org-image {
            height: 120px;
        } */
        .donationSwiper .image-container {
            height: 260px;
        }
        .donationSwiper .joinevent-btn a {
            font-size: 11px;
            padding: 4px 8px;
        }
        .donationSwiper .org-name h6 {
            font-size: 13px;
            min-height: 30px;
            margin-bottom: 3px;
        }
        .donationSwiper .org-name {
            margin-top: 5px;
        }
    }

    .donationSwiper .joinevent-btn {
        margin-top: 0 !important;
    }

    /* Featured Programs: modern card styling */
    .featuredProgramsSwiper .swiper-slide {
        display: flex;
        justify-content: center;
    }

    .featured-programs-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
    }

    .featured-programs-grid-item {
        min-width: 0;
        display: flex;
    }

    /* Make program cards visually match Community Voices leader cards */
    .program-card {
        background: #fff;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        height: 520px;
        width: 90%;
        max-width: 380px;
        display: flex;
        flex-direction: column;
        transition: all 0.3s ease;
        margin: 0 auto;
        text-decoration: none;
        color: inherit;
    }

    .featured-programs-grid .program-card {
        height: 330px;
        width: 100%;
        max-width: none;
    }

    .featured-programs-grid .program-media {
        height: 135px;
    }

    .featured-programs-grid .program-badge {
        max-width: calc(100% - 20px);
        padding: 5px 10px;
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .featured-programs-grid .program-body {
        height: 195px;
        padding: 14px 12px 12px;
        justify-content: flex-start;
    }

    .featured-programs-grid .program-title {
        min-height: 44px;
        font-size: 15px;
        line-height: 1.25;
        margin-bottom: 8px;
        overflow-wrap: anywhere;
    }

    .featured-programs-grid .program-meta {
        gap: 6px;
        font-size: 11px;
        text-align: left;
        margin-bottom: 12px;
    }

    .featured-programs-grid .program-meta .meta-row {
        gap: 6px;
        align-items: flex-start;
    }

    .featured-programs-grid .program-meta i {
        margin-top: 2px;
        font-size: 12px;
    }

    .featured-programs-grid .program-cta-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .featured-programs-grid .program-cta {
        margin-top: 10px;
    }

    .program-card:hover {
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
        transform: translateY(-5px);
    }

    .home-store-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 22px;
    }

    .home-store-card {
        background: #ffffff;
        border: 1px solid #eceef5;
        border-radius: 0;
        padding: 16px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        transition: transform .25s ease, box-shadow .25s ease;
        height: 100%;
    }

    .home-store-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    }

    .home-store-image-wrap {
        width: 100%;
        height: 190px;
        overflow: hidden;
        border: 1px solid #d7dbe8;
        margin-bottom: 14px;
        background: #f8fafc;
    }

    .home-store-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .home-store-head {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        margin-bottom: 12px;
    }

    .home-store-title {
        font-size: 18px;
        font-weight: 700;
        color: #0f172a;
        margin: 0;
        line-height: 1.2;
    }

    .home-store-owner {
        font-size: 13px;
        color: #475569;
        font-weight: 600;
        margin-top: 4px;
    }

    .home-store-logo {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #eef2ff;
        background: #fff;
        flex-shrink: 0;
    }

    .home-store-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 210px;
        border-radius: 0;
        background: linear-gradient(135deg, #c52327, #af1218);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
        text-decoration: none;
        padding: 10px 18px;
        box-shadow: 0 12px 20px rgba(197, 35, 39, 0.24);
    }

    .home-store-btn:hover {
        color: #fff;
        text-decoration: none;
        background: linear-gradient(135deg, #d13439, #ba171d);
    }

    .marketplace-categories-circles {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 22px;
        justify-content: center;
    }

    .marketplace-category-circle-item {
        text-align: center;
        text-decoration: none;
        color: inherit;
        flex: 0 0 110px;
        width: 110px;
    }

    .marketplace-category-circle-thumb {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto 8px;
        border: 3px solid #ffffff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
        background: #f1f5f9;
        display: block;
    }

    .marketplace-category-circle-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 50%;
    }

    .marketplace-category-circle-label {
        font-size: 13px;
        font-weight: 600;
        color: #0f172a;
        line-height: 1.3;
    }

    .marketplace-featured-product-card {
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        border: 1px solid #dfe7f5;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
        height: 100%;
        text-decoration: none;
        color: inherit;
        display: block;
        position: relative;
        transition: transform .22s ease, box-shadow .22s ease;
    }

    .marketplace-featured-product-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 16px;
        border: 1px solid rgba(197, 35, 39, 0.2);
        pointer-events: none;
    }

    .marketplace-featured-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
    }

    .marketplace-featured-product-card .media {
        height: 188px;
        overflow: hidden;
        border-bottom: 1px solid #e5eaf5;
        position: relative;
    }

    .marketplace-featured-product-card .media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .25s ease;
    }

    .marketplace-featured-product-card:hover .media img {
        transform: scale(1.04);
    }

    .marketplace-featured-product-card .body {
        padding: 12px;
        text-align: center;
    }

    .marketplace-featured-product-card .title {
        font-size: 15px;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.35;
        min-height: 40px;
        margin-bottom: 4px;
    }

    .marketplace-featured-product-card .meta {
        font-size: 12px;
        color: #64748b;
        margin-bottom: 6px;
    }

    .marketplace-featured-product-card .price {
        font-size: 24px;
        line-height: 1;
        font-weight: 800;
        color: #1f3b78;
        margin-bottom: 6px;
    }

    .featured-card-actions {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-top: 10px;
        align-items: stretch;
    }

    .featured-card-actions > a,
    .featured-card-actions > form {
        flex: 1 1 0;
        margin: 0;
    }

    .featured-card-actions > form {
        display: flex;
    }

    .featured-card-actions .btn {
        border-radius: 10px;
        font-size: 12px;
        font-weight: 700;
        padding: 6px 10px;
        width: 100%;
        min-width: 0;
        text-transform: uppercase;
        letter-spacing: .02em;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .featured-card-actions .btn-outline-primary {
        border: 2px solid #b9d6ff;
        color: #31538f;
        background: #fff;
    }

    .featured-card-actions .btn-primary {
        background: #1f3b78;
        border-color: #1f3b78;
    }

    .featured-card-actions .btn-outline-danger {
        border: 2px solid #f3b3b5;
        color: #c52c31;
        background: #fff7f8;
    }

    .featured-chip {
        position: absolute;
        top: 10px;
        left: 10px;
        background: linear-gradient(135deg, #c52327, #8f1115);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        padding: 5px 8px;
        border-radius: 999px;
        box-shadow: 0 8px 16px rgba(197, 35, 39, 0.28);
        z-index: 2;
    }

    .featured-products-shell {
        background: #f8f9fc;
        border-radius: 20px;
        padding: 20px 18px;
        border: 1px solid #e5eaf5;
    }

    /* Use leader-thumb-like media area */
    .program-media {
        width: 100%;
        height: 280px;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
    }

    .program-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
        display: block;
    }

    .program-card:hover .program-img {
        transform: scale(1.05);
    }

    /* Remove dark overlay so program images display without a blackish gradient */
    .program-media::after {
        display: none;
    }

    .program-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: #282a46;
        color: #fff;
        padding: 6px 16px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 0 12px 12px 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        white-space: nowrap;
        z-index: 6;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: none;
    }

    /* Keep org/mosque label always visible inside carousels */
    .featuredJobsSwiper .program-badge,
    .featuredProgramsSwiper .program-badge,
    .swiper-slide .program-badge {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Use leader-info-like body */
    .program-body {
        padding: 24px;
        display: flex;
        flex-direction: column;
        height: 240px;
        text-align: center;
        overflow: hidden;
        justify-content: space-between;
    }

    .program-title {
        font-size: 22px;
        font-weight: 700;
        color: #232323;
        margin: 0 0 8px 0;
        line-height: 1.2;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .program-meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
        color: #6b7280;
    }

    .program-meta .meta-row {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .program-meta i {
        color: var(--brand-primary);
        font-size: 14px;
    }

    .program-cta {
        margin-top: auto;
    }

    .program-cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        background: linear-gradient(135deg, #c52327, #8f1115);
        color: #fff;
        border-radius: 999px;
        font-weight: 700;
        font-size: 13px;
        box-shadow: 0 12px 30px rgba(197, 35, 39, 0.32);
        border: none;
    }

    .program-cta-btn i {
        font-size: 12px;
    }

    .home-academic-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
    }

    .home-academic-card {
        min-width: 0;
        height: 300px;
        background: #ffffff;
        border: 1px solid #eef1f6;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
        color: inherit;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .home-academic-card:hover {
        color: inherit;
        text-decoration: none;
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    }

    .home-academic-media {
        height: 132px;
        background: #f4f6fb;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-academic-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease;
    }

    .home-academic-card:hover .home-academic-media img {
        transform: scale(1.04);
    }

    .home-academic-body {
        height: 168px;
        padding: 14px 12px;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .home-academic-title {
        margin: 0;
        color: #0d1324;
        font-size: 15px;
        line-height: 1.25;
        font-weight: 800;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-wrap: anywhere;
    }

    .home-academic-owner {
        margin: 8px 0 0;
        color: #6b7280;
        font-size: 11px;
        line-height: 1.35;
        min-height: 30px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-academic-count {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: #c52327;
        font-size: 12px;
        font-weight: 800;
    }

    @media screen and (max-width: 768px) {
        .home-academic-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .featured-programs-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }

        .program-card {
            max-width: 240px;
            min-height: 380px;
        }

        .featured-programs-grid .program-card {
            max-width: none;
        }

        .program-media {
            height: 190px;
        }
    }

    @media screen and (max-width: 576px) {
        .home-academic-grid {
            grid-template-columns: 1fr;
        }

        .home-academic-card {
            height: 290px;
        }

        .featured-programs-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .program-card {
            max-width: 100%;
            width: 100%;
            min-height: 340px;
        }

        .featured-programs-grid .program-card {
            max-width: none;
        }

        .program-media {
            height: 180px;
        }
    }

    @media screen and (max-width: 1268px) {

        .image-placeholder {
            height: 106px;
        }

    }

    @media screen and (max-width: 576px) {

        .image-placeholder {
            height: 167px;
        }

    }

    @media screen and (max-width: 425px) {

        .image-placeholder {
            height: 165px;
        }

    }

    /* Upcoming Event Css */

    /* Events Swiper Carousel Styling */
    .eventsSwiper-container {
        padding: 20px 60px;
        margin-bottom: 30px;
        position: relative;
    }

    .eventsSwiper,
    .eventsSwiperMobile {
        padding-bottom: 50px;
        position: relative;
    }

    .eventsSwiper .swiper-button-next,
    .eventsSwiper .swiper-button-prev,
    .eventsSwiperMobile .swiper-button-next,
    .eventsSwiperMobile .swiper-button-prev {
        color: #d32f2f;
        background: white;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
    }

    .eventsSwiper .swiper-button-next,
    .eventsSwiperMobile .swiper-button-next {
        right: 100px;
    }

    .eventsSwiper .swiper-button-prev,
    .eventsSwiperMobile .swiper-button-prev {
        left: 100px;
    }

    .eventsSwiper .swiper-button-next:after,
    .eventsSwiper .swiper-button-prev:after,
    .eventsSwiperMobile .swiper-button-next:after,
    .eventsSwiperMobile .swiper-button-prev:after {
        font-size: 20px;
        font-weight: bold;
    }

    .eventsSwiper .swiper-button-next:hover,
    .eventsSwiper .swiper-button-prev:hover,
    .eventsSwiperMobile .swiper-button-next:hover,
    .eventsSwiperMobile .swiper-button-prev:hover {
        background: #d32f2f;
        color: white;
    }

    .eventsSwiper .swiper-pagination,
    .eventsSwiperMobile .swiper-pagination {
        bottom: 10px;
    }

    .eventsSwiper .swiper-pagination-bullet,
    .eventsSwiperMobile .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #d32f2f;
        opacity: 0.5;
    }

    .eventsSwiper .swiper-pagination-bullet-active,
    .eventsSwiperMobile .swiper-pagination-bullet-active {
        opacity: 1;
    }

    .card_container {
        margin: 0px 10px;
        padding: 20px;
        border-radius: 20px;
        margin-top: 20px;
        border: none;
        height: 100%;
    }

    .leaders_container {
        width: 100%;
        max-width: 370px;
        height: 490px;
    }

    .card_img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover; /* ensure images fill their box neatly */
        max-width: 100%;
        display: block;
        z-index: 0; /* keep image behind overlay */
    }


    /* Image column wrapper - keep overflow visible so the CTA button isn't clipped; image-wrap will handle clipping */
    .col-md-4.position-relative {
        position: relative; /* ensure overlay is positioned correctly */
        overflow: visible;
    }

    /* image-wrap: constrain overlay to only the image bounds */
    .image-wrap {
        position: relative;
        display: block;
        width: 100%;
        overflow: hidden; /* clip overlay to image */
        border-radius: 12px; /* match overlay/card rounding */
    }

    .image-wrap .card_img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
        z-index: 0;
    }

    /* translucent black overlay that sits over the image only */
    .image-wrap .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.35); /* black, semi-transparent (low opacity) */
        transition: background 0.25s ease;
        z-index: 1;
        pointer-events: none; /* allow clicks to pass through to button */
        border-radius: inherit; /* follow the image-wrap radius */
    }

    /* Keep the Show Details button above the overlay */
    .show-details-btn {
        z-index: 3;
    }

    /* optional: lighten overlay on hover so the image becomes clearer */
    .image-wrap:hover .image-overlay {
        background: rgba(0, 0, 0, 0.12);
    }

    .card_date {
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
        width: 75px;
        border-radius: 5px;
    }

    .card_month,
    .card_day {
        text-align: center;
        width: 100%;
        padding: 5px;
        margin-bottom: 0px;
        font-size: 13px;
        font-weight: 600;
    }

    .card_month {
        background-color: #282a46;
        color: #fff;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .show-details-btn {
        padding: 5px 10px;
        border: none !important;
        border-radius: 5px;
        color: #fff !important;
        background-color: #c52327;
        position: absolute;
        bottom: 5%;
        right: 10%;
        width: 80%;
        /* opacity: 1; */
        text-align: center;
        height: fit-content;
    }

    .row_btn:hover .show-details-btn {
        opacity: 1;
    }

    /*
     * Mobile-specific styling for Events Around the Community cards
     * to make them cleaner and more compact without affecting desktop.
     */
    @media (max-width: 767.98px) {
        .Latest_event .eventsSwiper-container {
            padding-left: 4px;
            padding-right: 4px;
        }

        .Latest_event .card_container {
            margin: 10px 0;
            padding: 16px 14px;
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
        }
        .Latest_event .event-card-mobile-link {
            display: block;
            color: inherit;
            text-decoration: none;
        }

        .Latest_event .event-card-mobile {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .Latest_event .event-mobile-body {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .Latest_event .event-mobile-thumb {
            flex: 0 0 80px;
            height: 80px;
            border-radius: 12px;
            overflow: hidden;
        }

        .Latest_event .event-mobile-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .Latest_event .event-mobile-body h4.fw-bold {
            font-size: 14px;
            margin-bottom: 6px;
            line-height: 1.4;
            text-align: left;
        }

        .Latest_event .event-meta-row {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
            margin-bottom: 4px;
        }

        .Latest_event .event-badge {
            background-color: #282a46;
            color: #fff;
            border-radius: 999px;
            padding: 3px 10px;
            font-size: 11px;
            font-weight: 600;
        }

        .Latest_event .event-time {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            color: #4b5563;
            font-weight: 500;
        }

        .Latest_event .event-location {
            margin-top: 4px;
            font-size: 12px;
            color: #4b5563;
        }
    }

    .art-box {
        background: #fff;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
        text-align: center;
        transition: 0.3s;
    }

    .art-box:hover {
        transform: translateY(-5px);
    }

    .melodic-heading {
        font-size: 16px;
        font-weight: bold;
        margin-top: 10px;
        text-align: center;
    }

    .rated-badge {
        position: absolute;
        /* ensure overlay positioning works */
        top: 10px;
        left: 10px;
        background: #282a46;
        color: #fff;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: bold;
        border-radius: 5px;
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
        z-index: 3;
        pointer-events: none;
    }

    .avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #fff;
    }


    .leader-card {
        position: relative;
        width: 220px;
        height: 260px;
        border-radius: 18px;
        overflow: hidden;
        background: linear-gradient(145deg, #ffffff, #f4f6fb);
        box-shadow: 0 14px 36px rgba(12, 17, 32, 0.14);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        isolation: isolate;
    }

    .leader-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .leader-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(7, 13, 32, 0) 40%, rgba(7, 13, 32, 0.72) 100%);
        opacity: 0.95;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .leader-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(12, 17, 32, 0.2);
    }

    .leader-card:hover .leader-img {
        transform: scale(1.05);
    }

    .leader-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 14px 16px 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-align: center;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.2px;
        z-index: 2;
    }

    .leader-name {
        margin: 0;
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-6px);
        }

        100% {
            transform: translateY(0px);
        }
    }

    .program_title_strip {

        background: #282a46;
        color: #fff;
        padding: 6px 16px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 0 12px 12px 0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

        white-space: nowrap;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: black;
        background-size: 100% 100%;
        border-radius: 50%;
    }
    /* Mobile: force Adjusted banner height under 576px */
    @media screen and (max-width: 576px) {
        #carouselExampleCaptions .carousel-item img {
            height: 202px !important;
            width: 100% !important;
            aspect-ratio: auto !important;
            object-fit: cover;
        }
    }

    .slider_container {
        width: 100%;
        overflow-x: auto;
        scroll-behavior: smooth;
        display: flex;
        gap: 0.75rem;
        -ms-overflow-style: none;
        /* IE & Edge */
        scrollbar-width: none;
        /* Firefox */
        padding: 10px 0;
        justify-content: center;
        flex-wrap: wrap; /* allow pills to wrap to multiple lines on narrower widths */
        align-items: center;
    }

    .slider_item {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
    }

    .buttons {
        margin-top: 10px;
    }

    .custom-tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #282A46;
        color: #ffffff;
        font-weight: 600;
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 999px;
        margin-bottom: 0;
        box-shadow: 0 6px 18px rgba(40, 42, 70, 0.12);
        transition: transform 180ms ease, box-shadow 180ms ease;
        cursor: pointer;
        white-space: nowrap;
        text-shadow: none;
        transform: translateY(0);
    }

    .custom-tab:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 26px rgba(40, 42, 70, 0.14);
    }

    .custom-tab.active,
    .leader_name_active {
        background: linear-gradient(135deg,#ff4e50,#e23333);
        color: #fff;
        box-shadow: 0 10px 28px rgba(226,51,51,0.12);
    }
    }

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

    /* Responsive leader tabs */
    @media screen and (max-width: 768px) {
        .slider_container {
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem;
            padding: 15px 10px;
        }

        .slider_item {
            min-width: auto;
            margin-right: 0;
            margin-bottom: 8px;
            padding: 8px 16px;
            font-size: 14px !important;
            white-space: nowrap;
        }

        .custom-tab {
            padding: 8px 16px !important;
            font-size: 14px !important;
            margin-right: 8px !important;
            margin-bottom: 8px !important;
        }
    }

    @media screen and (max-width: 576px) {
        .slider_container {
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.3rem;
            padding: 10px 5px;
        }

        .slider_item {
            min-width: auto;
            margin-right: 0;
            margin-bottom: 6px;
            padding: 6px 12px;
            font-size: 12px !important;
        }

        .custom-tab {
            padding: 6px 12px !important;
            font-size: 12px !important;
            margin-right: 5px !important;
            margin-bottom: 6px !important;
            border-radius: 20px !important;
        }
    }

    /* Leaders Swiper Styles */
    .leaders_section {
        padding: 40px 0;
    }

    .leaderSwiper {
        padding: 20px 0;
    }

    .leaderSwiper .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    .leaderSwiper .leader-slide {
        display: block;
        text-decoration: none;
        width: 100%;
        max-width: 260px;
    }

    .leaderSwiper .leader-card {
        width: 100%;
        height: 260px;
    }

    @media screen and (max-width: 768px) {
        .leaderSwiper .swiper-slide {
            width: 90%;
        }

        .leaderSwiper .leader-card {
            max-width: 240px;
        }
    }

    @media screen and (max-width: 576px) {
        .leaderSwiper .swiper-slide {
            width: 100%;
        }

        .leaderSwiper .leader-card {
            max-width: 210px;
            height: 230px;
        }
    }

        /* Quick links icon circle styling */
        .second_icon_sec .icon_box .icon-circle {
            width: 110px;
            height: 110px;
            background: #c52327;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            color: #fff;
            font-size: 42px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
            transition: transform .2s ease, box-shadow .2s ease;
        }
        .second_icon_sec .icon_box:hover .icon-circle {
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }

    /* Make muted text white inside the help section */
    .help_other .help_left .text-muted {
        color: #ffffff !important;
    }

    /* Events cards (Home): match Events page overlay + hover animation */
    .Latest_event .show-details-btn {
        border: none !important;
        border-radius: 20px;
        background-color: #00000047;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: end;
        justify-content: center;
        opacity: 0;
        padding-bottom: 20px;
        z-index: 1040;
    }

    .Latest_event .show-details-btn span {
        color: #fff;
        background-color: #c52327;
        padding: 10px 40px;
        border-radius: 10px;
        font-size: 18px;
    }

    .Latest_event .row_btn:hover .show-details-btn {
        opacity: 1;
    }

    /* Reuse Add Organization CTA styling for Home CTAs */
    .btn-add-organization {
        background-color: #c52327;
        color: #fff !important;
        border: none;
        border-radius: 8px; /* subtle corner radius */
        padding: 12px 34px;
        min-width: 160px;
        font-weight: 700;
        box-shadow: 0 6px 15px rgba(197, 35, 39, 0.18);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        font-size: 14px;
    }

    .btn-add-organization i {
        color: #fff !important;
    }

    .btn-add-organization:hover {
        background-color: #a81d21;
        color: #fff !important;
    }

    /* Make the "See all events" CTA square in the Events section */
    .Latest_event .btn-add-organization {
        border-radius: 0 !important;
    }

    /* Make the Leaders "View All" CTA square (button after the leaders section) */
    .leaders_section + .text-center .btn-add-organization {
        border-radius: 0 !important;
    }

    /* Ensure the View All button under the Team Members / Community Voices has no radius */
    .team-members-area .text-center .btn-add-organization {
        border-radius: 0 !important;
    }

    /* Make the Explore Programs "View all programs" CTA square */
    .program_and_courses .text-center .btn-add-organization {
        border-radius: 0 !important;
        padding: 10px 30px !important;
    }

    /* Ensure the feature cards' content stretches so CTAs align */
    /* Feature item: card layout with top image */
    .item .content {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        border: 1px solid rgba(14, 20, 30, 0.04);
    }

    /* Scoped override: remove border and radius for Volunteering/Jobs feature cards */
    .feature-cards .item .content {
        border-radius: 0 !important;
        border: none !important;
    }

    /* Ensure the "View All" buttons inside the feature cards have no rounded corners */
    .feature-cards .item .content .info .btn-add-organization {
        border-radius: 0 !important;
    }

    .item .content .thumb {
        width: 100%;
        flex: 0 0 auto;
        aspect-ratio: 3 / 2; /* matches 1536x1024 images */
        height: auto;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }

    .item .content .thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* show full image without cropping */
        object-position: center center;
        display: block;
    }

    .item .content .info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 20px 22px;
        flex: 1 1 auto;
    }

    .item .content .info h4 { margin-bottom: 10px; line-height: 1.25; }
    .item .content .info p { color: #6b7280; margin-bottom: 18px; line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }

    .item .content .info .btn-add-organization {
        align-self: flex-start; /* left-align inside card */
        margin-top: 6px;
    }

    @media (max-width: 768px) {
        .item .content .thumb { height: 160px; }
        .btn-add-organization { min-width: 140px; padding: 10px 22px; }
    }

    /* Left column text wrapping and spacing */
    .col-md-5.info p { line-height: 1.9; overflow-wrap: break-word; word-break: normal; }

    /* Services Section Styling */
    .services-area {
        padding: 60px 0;
        background: #ffffff;
    }

    .service-card {
        background: #fff;
        border-radius: 0;
        padding: 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

    .service-thumb {
        margin: 0;
        overflow: hidden;
        border-radius: 0;
    }

    .service-thumb img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 0;
        transition: transform 0.3s ease;
    }

    .service-card:hover .service-thumb img {
        transform: scale(1.05);
    }

    /* Apply same hover/scale behavior to feature cards' thumbs */
    .feature-cards .thumb {
        overflow: hidden;
        border-radius: 0;
        aspect-ratio: 3 / 2;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }

    .feature-cards .thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* show full image */
        object-position: center center;
        transition: transform 0.3s ease;
        display: block;
    }

    .feature-cards .content:hover .thumb img {
        transform: scale(1.05);
    }

    .service-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 24px 22px 26px;
    }

    .service-info h4 {
        font-family: 'Inter', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 15px;
        line-height: 1.3;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .service-info p {
        color: #6c757d;
        line-height: 1.6;
        margin-bottom: 25px;
        flex: 1;
    }

    .read-more-btn {
        color: #c52327 !important;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        margin-top: auto;
    }

    .read-more-btn:hover {
        color: #a81d21 !important;
        gap: 12px;
    }

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

    .read-more-btn:hover i {
        transform: translateX(3px);
    }

    /* Services section button styling to match header buttons */
    .services-area .btn {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 4px;
        padding: 10px 25px;
        transition: all 0.3s ease;
    }

    @media (max-width: 768px) {
        .service-thumb img {
            height: 190px;
        }

        .service-info h4 {
            font-size: 20px;
        }
    }

    /* Donation cards: smaller image area like blue section */
    .donation-card .thumb {
        position: relative;
        height: 210px;
        overflow: hidden;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

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

    .donation-card:hover .thumb > img {
        transform: scale(1.05);
    }

    /* Support & Donate: slightly bigger cards (keep thumb at 210px) */
    .Latest_event .donation-card {
        padding: 16px;
    }

    .Latest_event .donation-card .info {
        padding: 18px 18px 22px !important;
    }

    /* Support & Donate: square corners (no border radius) - premium grid overrides below */
    .Latest_event.bootom_event .donation-card:not(.support-campaign-card--large) {
        border-radius: 0 !important;
    }

    .Latest_event.bootom_event .donation-card:not(.support-campaign-card--large) .thumb,
    .Latest_event.bootom_event .donation-card:not(.support-campaign-card--large) .thumb > img {
        border-radius: 0 !important;
    }

    /* Support & Donate: Donate button like template (wide, no border); outlined variant on premium large cards */
    .Latest_event.bootom_event .donation-card:not(.support-campaign-card--large) .donate-now-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 180px;
        padding: 10px 48px;
        background: #c52327;
        color: #fff !important;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.6px;
        text-decoration: none;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: 0 10px 24px rgba(197, 35, 39, 0.25);
    }

    .Latest_event.bootom_event .donation-card:not(.support-campaign-card--large) .donate-now-btn:hover {
        background: #a81d21;
        color: #fff !important;
        text-decoration: none;
    }

    /* Support & Donate: org avatar on campaign image + text pill under title */
    .Latest_event.bootom_event .donation-card-org-avatar {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 4;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #fff;
        border: 3px solid #fff;
        box-shadow:
            0 6px 18px rgba(26, 39, 68, 0.22),
            0 0 0 1px rgba(197, 35, 39, 0.14);
        display: grid;
        place-items: center;
        overflow: hidden;
        pointer-events: none;
    }

    .Latest_event.bootom_event .donation-card-org-avatar > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 4px;
    }

    .Latest_event.bootom_event .donation-card-org-avatar__initial {
        font-weight: 900;
        font-size: 1.05rem;
        color: #b91c1c;
        line-height: 1;
        letter-spacing: -0.02em;
    }

    .Latest_event.bootom_event .donation-card-org-pill {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        margin: 0 0 10px;
        padding: 8px 14px;
        border-radius: 999px;
        background: #fff5f7;
        border: 1px solid #ffe2e5;
        color: #b91c1c;
        box-shadow: 0 6px 14px rgba(185, 28, 28, 0.08);
        font-size: 14px;
        line-height: 1.25;
        font-weight: 800;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Keep donation cards sized to content (no forced tall height) */
    @media (min-width: 768px) {
        .Latest_event .donation-card {
            min-height: auto;
        }
    }

    /* Support & Donate - premium layout (matches home hero + grid reference; brand colors) */
    .support-donate-premium {
        --sd-navy: #282a46;
        --sd-red: #c52327;
        --sd-red-dark: #a81d21;
        --sd-cream: var(--home-section-surface);
        background: var(--home-section-surface);
    }

    .support-donate-premium .support-donate-premium__intro {
        max-width: 720px;
        margin-bottom: 8px;
    }

    .support-donate-premium__flourish {
        width: 140px;
        height: 3px;
        margin: 0 auto 18px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, var(--sd-red) 35%, var(--sd-red) 65%, transparent);
        opacity: 0.95;
    }

    .support-donate-premium__title {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        letter-spacing: 0.04em;
        color: var(--sd-navy);
        text-transform: uppercase;
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-bottom: 10px;
    }

    .support-donate-premium__subtitle {
        color: #4b5563;
        font-size: 1rem;
        margin-bottom: 0;
        line-height: 1.55;
    }

    .support-featured-card {
        background: var(--sd-navy);
        color: #fff;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 24px 50px rgba(40, 42, 70, 0.35);
        background-image:
            radial-gradient(circle at 18% 22%, rgba(197, 35, 39, 0.18) 0%, transparent 42%),
            repeating-linear-gradient(-38deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .support-featured-card__media {
        padding: 28px 28px 12px;
        flex-shrink: 0;
    }

    .support-featured-card__arch-link {
        display: block;
        text-decoration: none;
    }

    .support-featured-card__arch {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 260px;
        aspect-ratio: 3 / 4;
        padding: 10px;
        background: #fff;
        border-radius: 50% 50% 14px 14px / 42% 42% 14px 14px;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
        overflow: hidden;
    }

    .support-featured-card__arch .donation-card-org-avatar {
        top: 16px;
        left: 16px;
        width: 46px;
        height: 46px;
    }

    .support-featured-card__arch > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50% 50% 10px 10px / 42% 42% 10px 10px;
        display: block;
    }

    .support-featured-card__body {
        padding: 8px 28px 28px;
        display: flex;
        flex-direction: column;
    }

    .support-featured-card__headline {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: clamp(1.35rem, 2.2vw, 1.75rem);
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
        line-height: 1.25;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .support-featured-card__text {
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .support-featured-card__org {
        display: flex;
        align-items: center;
        min-width: 0;
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.78);
        margin-bottom: 18px;
    }

    .support-featured-card__org > i {
        flex-shrink: 0;
    }

    .support-featured-card__org-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .support-featured-card__stats {
        margin-bottom: 22px;
    }

    .support-featured-card__stat {
        text-align: center;
    }

    .support-featured-card__stat-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px;
        width: 38px;
        height: 38px;
        border-radius: 999px;
        background: rgba(197, 35, 39, 0.22);
        color: #ffb4b6;
        font-size: 16px;
    }

    .support-featured-card__stat-val {
        display: block;
        font-weight: 700;
        font-size: 1.05rem;
        letter-spacing: 0.02em;
        color: #fff;
        line-height: 1.2;
    }

    .support-featured-card__stat-label {
        display: block;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: rgba(255, 255, 255, 0.72);
        margin-top: 4px;
        line-height: 1.25;
    }

    .support-featured-card__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        padding: 12px 28px;
        border-radius: 999px;
        background: var(--sd-red);
        color: #fff !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.85rem;
        text-decoration: none;
        box-shadow: 0 12px 28px rgba(197, 35, 39, 0.45);
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .support-featured-card__cta:hover {
        background: var(--sd-red-dark);
        color: #fff !important;
        transform: translateY(-1px);
    }

    .support-campaign-card.support-campaign-card--large {
        border-radius: 12px !important;
        overflow: hidden;
        box-shadow: 0 14px 34px rgba(40, 42, 70, 0.12);
        border: 1px solid rgba(40, 42, 70, 0.08);
        height: 100%;
    }

    .support-donate-premium .support-campaign-card--large .info {
        min-width: 0;
    }

    .support-donate-premium .support-campaign-card--large .info h4 {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .support-donate-premium .support-campaign-card--large .donation-title-text h4 {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        color: var(--sd-navy);
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .support-donate-premium .support-campaign-card.support-campaign-card--large .thumb {
        height: auto;
        aspect-ratio: 8 / 5;
        background: #eceef4;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px 12px 0 0 !important;
    }

    .support-donate-premium .support-campaign-card--large .thumb > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 12px 12px 0 0 !important;
    }

    .support-campaign-card.support-campaign-card--large .thumb {
        height: 160px;
        border-radius: 12px 12px 0 0 !important;
    }

    .support-campaign-card.support-campaign-card--large .thumb > img {
        border-radius: 12px 12px 0 0 !important;
    }

    .support-campaign-card.support-campaign-card--large .donate-now-btn {
        background: transparent !important;
        color: var(--sd-red) !important;
        border: 2px solid var(--sd-red) !important;
        border-radius: 999px !important;
        box-shadow: none !important;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 10px 16px !important;
        font-size: 0.78rem;
    }

    .support-campaign-card.support-campaign-card--large .donate-now-btn:hover {
        background: var(--sd-red) !important;
        color: #fff !important;
    }

    /* Beside featured card (lg+): equal column height; grid fills right column */
    @media (min-width: 992px) {
        .support-donate-premium__grid-col {
            min-height: 0;
        }

        .support-donate-premium__campaigns.row {
            flex: 1 1 auto;
            min-height: 0;
            height: 100%;
            align-content: stretch;
            align-items: stretch;
        }

        .support-donate-premium__campaigns > [class*="col-"] {
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        .support-donate-premium__campaigns .item.support-campaign-card--large {
            flex: 1 1 auto;
            min-height: 0;
            width: 100%;
        }

        .support-donate-premium__grid-col > .support-donate-premium__side-placeholder {
            flex: 1 1 auto;
            min-height: 200px;
        }

        .support-donate-premium .support-campaign-card.support-campaign-card--large .thumb {
            min-height: 0;
        }

        .support-donate-premium .support-campaign-card--large .thumb .donation-card-org-avatar {
            top: 8px;
            left: 8px;
            width: 34px;
            height: 34px;
            border-width: 2px;
        }

        .support-donate-premium .support-campaign-card--large .thumb .donation-card-org-avatar__initial {
            font-size: 0.85rem;
        }

        .support-donate-premium .support-campaign-card--large .info.support-campaign-card__info {
            padding: 0.4rem 0.55rem 0.3rem !important;
            flex: 1 1 auto !important;
            min-height: 0;
        }

        .support-donate-premium .support-campaign-card--large .support-campaign-card__org-pill {
            margin-bottom: 4px;
            padding: 4px 9px;
            font-size: 11px;
            line-height: 1.2;
        }

        .support-donate-premium .support-campaign-card--large .support-campaign-card__title-wrap {
            margin-bottom: 0.2rem !important;
        }

        .support-donate-premium .support-campaign-card--large .info h4 {
            font-family: Georgia, 'Times New Roman', serif;
            font-weight: 700;
            color: var(--sd-navy);
            font-size: 0.88rem;
            line-height: 1.2;
        }

        .support-donate-premium .support-campaign-card--large .support-campaign-card__excerpt {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 0.15rem !important;
            line-height: 1.32;
            font-size: 0.68rem !important;
        }

        .support-donate-premium .support-campaign-card--large .donate-now-btn {
            padding: 5px 10px !important;
            font-size: 0.68rem !important;
            margin-top: 0 !important;
        }
    }

    /* Donation category cards (aligned with donations list page) */
    .support-donate-premium .dl-category-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(40, 42, 70, 0.08);
        box-shadow: 0 10px 28px rgba(40, 42, 70, 0.08);
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .support-donate-premium .dl-category-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(40, 42, 70, 0.12);
    }

    .support-donate-premium .dl-category-card__thumb-wrap {
        position: relative;
        display: block;
        overflow: visible;
    }

    .support-donate-premium .dl-category-card__thumb-inner {
        aspect-ratio: 800 / 500;
        width: 100%;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        background: #e8ecf4;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .support-donate-premium .dl-category-card__thumb-inner img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    .support-donate-premium .dl-category-card:hover .dl-category-card__thumb-inner img {
        transform: none;
    }

    .support-donate-premium .dl-category-card__count {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--sd-red);
        margin: 0 0 8px;
        letter-spacing: 0.02em;
    }

    .support-donate-premium .dl-category-card__badge {
        position: absolute;
        left: 50%;
        bottom: -21px;
        transform: translateX(-50%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--sd-navy);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        line-height: 1;
        border: 3px solid #fff;
        box-shadow: 0 8px 18px rgba(26, 39, 68, 0.25);
        z-index: 3;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .support-donate-premium .dl-category-card__badge i {
        display: block;
        line-height: 1;
        font-size: 1rem;
    }

    .support-donate-premium .dl-category-card__body {
        padding: 32px 16px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .support-donate-premium .dl-category-card__title {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 1.02rem;
        font-weight: 700;
        color: var(--sd-navy);
        margin: 0 0 4px;
        line-height: 1.3;
    }

    .support-donate-premium .dl-category-card__desc {
        font-size: 0.84rem;
        line-height: 1.5;
        color: #5b6478;
        margin: 0 0 14px;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .support-donate-premium .dl-category-card__link {
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--sd-red) !important;
        text-decoration: none !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: auto;
    }

    .support-donate-premium .dl-category-card__link:hover {
        color: var(--sd-red-dark) !important;
    }

    .support-donate-premium__categories-carousel {
        position: relative;
        padding: 0 42px;
        margin-top: 0.35rem;
    }

    @media (min-width: 992px) {
        .support-donate-premium__categories-carousel {
            margin-top: 0.5rem;
        }
    }

    .support-donate-premium .donationCategoriesSwiper {
        overflow: hidden;
        padding: 12px 0 22px;
    }

    .support-donate-premium .donationCategoriesSwiper .swiper-wrapper {
        align-items: stretch;
    }

    .support-donate-premium .donationCategoriesSwiper .swiper-slide {
        overflow: visible;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        box-sizing: border-box;
    }

    .support-donate-premium .donationCategoriesSwiper .swiper-slide > .dl-category-card {
        width: 100%;
        max-width: 100%;
    }

    .support-donate-premium .donation-categories-prev,
    .support-donate-premium .donation-categories-next {
        background: #c52327;
        color: #fff !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50%;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        margin-top: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .support-donate-premium .donation-categories-prev::after,
    .support-donate-premium .donation-categories-next::after {
        display: none !important;
    }

    .support-donate-premium .donation-categories-prev i,
    .support-donate-premium .donation-categories-next i {
        color: #fff;
        font-size: 16px;
        line-height: 1;
        pointer-events: none;
    }

    .support-donate-premium .donation-categories-prev:hover,
    .support-donate-premium .donation-categories-next:hover {
        background: #a51e22;
        color: #fff !important;
    }

    .support-donate-premium .donation-categories-prev {
        position: absolute;
        left: 0;
        z-index: 20;
    }

    .support-donate-premium .donation-categories-next {
        position: absolute;
        right: 0;
        z-index: 20;
    }

    @media (max-width: 576px) {
        .support-donate-premium__categories-carousel {
            padding-left: 44px;
            padding-right: 44px;
        }
    }

    .support-donate-premium__see-all {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 36px;
        border-radius: 999px;
        background: var(--sd-navy);
        color: #fff !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.85rem;
        text-decoration: none;
        box-shadow: 0 14px 30px rgba(40, 42, 70, 0.28);
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .support-donate-premium__see-all:hover {
        background: #1f2138;
        color: #fff !important;
        transform: translateY(-1px);
    }

    .support-donate-premium__see-all i {
        font-size: 0.85em;
    }

    @media (max-width: 991px) {
        .support-featured-card {
            min-height: 0;
        }
    }

    /* Community Voices - premium layout (aligned with Support & Donate; brand colors) */
    .community-voices-premium {
        --cv-navy: #282a46;
        --cv-red: #c52327;
        --cv-red-dark: #a81d21;
        --cv-cream: var(--home-section-surface);
        background: var(--home-section-surface) !important;
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .community-voices-premium > .container {
        max-width: 1174px !important;
    }

    .community-voices-premium__intro {
        max-width: 720px;
        margin: 0 auto 10px;
    }

    .community-voices-premium__flourish {
        width: 140px;
        height: 3px;
        margin: 0 auto 18px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, var(--cv-red) 35%, var(--cv-red) 65%, transparent);
        opacity: 0.95;
    }

    .community-voices-premium__flourish--bottom {
        margin-top: 36px;
        margin-bottom: 0;
    }

    .community-voices-premium__title {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        letter-spacing: 0.06em;
        color: var(--cv-navy);
        text-transform: uppercase;
        font-size: clamp(1.38rem, 2.25vw, 1.9rem);
        margin-bottom: 4px;
    }

    .community-voices-premium__subtitle {
        color: #4b5563;
        font-size: 0.86rem;
        margin-bottom: 0;
        line-height: 1.55;
        font-family: Georgia, 'Times New Roman', serif;
    }

    /* Category pills: inactive = white + border; active = navy (matches reference) */
    .community-voices-premium .slider_container .slider_item.custom-tab.leader_name {
        border: 1px solid rgba(40, 42, 70, 0.28);
        box-shadow: none !important;
        text-shadow: none;
        font-size: 0.78rem !important;
        font-weight: 700;
        min-height: 34px;
        padding: 8px 18px !important;
    }

    .community-voices-premium .slider_container .slider_item.custom-tab.leader_name:not(.leader_name_active) {
        background: #fff !important;
        color: var(--cv-navy) !important;
        border-color: rgba(40, 42, 70, 0.28) !important;
    }

    .community-voices-premium .slider_container .slider_item.custom-tab.leader_name:not(.leader_name_active):hover {
        box-shadow: 0 8px 22px rgba(40, 42, 70, 0.12) !important;
    }

    .community-voices-premium .slider_container .slider_item.custom-tab.leader_name.leader_name_active {
        background: var(--cv-navy) !important;
        color: #fff !important;
        border-color: var(--cv-navy) !important;
        box-shadow: 0 12px 28px rgba(40, 42, 70, 0.22) !important;
    }

    .community-voices-premium .leaders-prev,
    .community-voices-premium .leaders-next {
        background: var(--cv-navy) !important;
        box-shadow: 0 8px 22px rgba(40, 42, 70, 0.25);
        width: 38px !important;
        height: 38px !important;
    }

    .community-voices-premium .leaders-prev:hover,
    .community-voices-premium .leaders-next:hover {
        background: #1f2138 !important;
    }

    .community-voices-premium .leader-card-new.community-voice-card {
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 14px 34px rgba(40, 42, 70, 0.12);
        border: 1px solid rgba(40, 42, 70, 0.08);
        background: #fff !important;
        display: flex;
        flex-direction: column;
        align-self: flex-start;
    }

    /* Same strip treatment as donations `.dl-campaign-card__org-bar` */
    .community-voices-premium .community-voice-card__category-bar {
        width: 100%;
        padding: 8px 14px;
        margin: 0;
        background: #fff5f7;
        border-bottom: 1px solid #ffe2e5;
        color: #b91c1c;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .community-voices-premium .community-voice-card__media-wrap {
        position: relative;
        flex: 0 0 auto;
        flex-shrink: 0;
        width: 100%;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
    }

    .community-voices-premium .community-voice-card .community-voice-card__thumb {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        background: #e8ecf4;
        flex-shrink: 0;
        flex-grow: 0;
        isolation: isolate;
    }

    .community-voices-premium .community-voice-card .community-voice-card__thumb img {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: center top;
    }

    .community-voices-premium .community-voice-card .community-voice-card__info {
        padding: 10px 14px 12px;
        flex: 0 0 auto;
        min-height: 0;
        height: auto;
        text-align: left !important;
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start;
        gap: 4px;
        overflow: hidden;
        background: #fff;
    }

    .community-voices-premium .community-voice-card__text-block {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        min-height: 0;
        gap: 8px;
        width: 100%;
        text-align: left !important;
    }

    .community-voices-premium .community-voice-card__name {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        color: var(--cv-navy);
        font-size: 1.02rem;
        line-height: 1.25;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left !important;
        width: 100%;
        max-width: 100%;
    }

    .community-voices-premium .community-voice-card__follow {
        margin-top: 0;
        padding-top: 0;
        width: 100%;
        display: flex;
        justify-content: stretch;
        align-items: stretch;
    }

    .community-voices-premium .community-voice-card__follow-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 9px 14px !important;
        box-sizing: border-box;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 700;
        font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
        text-decoration: none !important;
        line-height: 1.25;
        background: transparent !important;
        color: var(--cv-red) !important;
        border: 2px solid var(--cv-red) !important;
        box-shadow: none;
        flex-shrink: 0;
        letter-spacing: 0.02em;
        text-transform: none;
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .community-voices-premium .community-voice-card__follow-btn:hover {
        background: var(--cv-red) !important;
        border-color: var(--cv-red) !important;
        color: #fff !important;
        transform: none;
    }

    .community-voices-premium .community-voice-card__follow-btn--outline {
        background: transparent !important;
        color: #15803d !important;
        border: 2px solid #22c55e !important;
    }

    .community-voices-premium .community-voice-card__follow-btn--outline:hover {
        background: #15803d !important;
        border-color: #15803d !important;
        color: #fff !important;
    }

    .community-voices-premium .community-voice-card__quote-badge,
    .community-voices-premium .community-voice-card__actions,
    .community-voices-premium .community-voice-card__media-btn {
        display: none !important;
    }

    .community-voices-premium .community-voices-premium__cta {
        margin-bottom: 0;
    }

    .community-voices-premium .support-donate-premium__see-all,
    .academies-institutes-premium .support-donate-premium__see-all {
        background: #282a46 !important;
        color: #fff !important;
        box-shadow: 0 14px 30px rgba(40, 42, 70, 0.28) !important;
    }

    .community-voices-premium .support-donate-premium__see-all:hover,
    .academies-institutes-premium .support-donate-premium__see-all:hover {
        background: #1f2138 !important;
        color: #fff !important;
    }

    .community-voices-premium .leader-card-new:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(40, 42, 70, 0.14);
    }

    .community-voices-premium .leadersSwiper .swiper-slide {
        box-sizing: border-box;
        padding: 6px 4px;
        align-items: flex-start;
        display: flex !important;
        width: min(262px, 88vw) !important;
    }

    @media (min-width: 480px) {
        .community-voices-premium .leadersSwiper .swiper-slide {
            width: 252px !important;
        }
    }

    @media (min-width: 1200px) {
        .community-voices-premium .leadersSwiper .swiper-slide {
            width: 258px !important;
        }
    }

    .community-voices-premium .leadersSwiper .swiper-slide > .leader-card-new.community-voice-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .community-voices-premium .leaders-carousel-container {
        padding-left: 42px;
        padding-right: 42px;
        margin-top: 18px;
    }

    .community-voices-premium .leadersSwiper {
        padding: 6px 0 10px !important;
    }

    @media (max-width: 576px) {
        .community-voices-premium .leaders-carousel-container {
            padding-left: 44px;
            padding-right: 44px;
        }
    }

    /* Wins over generic `.team-members-area` padding/background below */
    .team-members-area.community-voices-premium {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
        background: var(--cv-cream) !important;
    }

    /* Academies & Institutes - match reference strip (navy + serif + logo tile) */
    .academies-institutes-premium {
        --ai-navy: #282a46;
        --ai-red: #c52327;
        padding-top: 54px;
        padding-bottom: 54px;
        background: var(--home-section-surface) !important;
    }

    .academies-institutes-premium__intro {
        max-width: 720px;
        margin: 0 auto 12px;
    }

    .academies-institutes-premium__title {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        letter-spacing: 0.06em;
        color: var(--ai-navy);
        text-transform: uppercase;
        font-size: clamp(1.38rem, 2.25vw, 1.9rem);
        margin-bottom: 4px;
    }

    .academies-institutes-premium__subtitle {
        color: #4b5563;
        font-size: 0.86rem;
        margin-bottom: 0;
        line-height: 1.55;
    }

    /* Reused flourish bar - `.support-donate-premium__flourish` expects `--sd-red` from Support section only */
    .academies-institutes-premium .support-donate-premium__flourish,
    .explore-programs-premium .support-donate-premium__flourish {
        background: linear-gradient(90deg, transparent, #c52327 35%, #c52327 65%, transparent) !important;
    }

    .academies-institutes-premium .home-academic-grid {
        gap: 14px;
        justify-content: center;
    }

    @media (min-width: 1200px) {
        .academies-institutes-premium .home-academic-grid {
            grid-template-columns: repeat(6, minmax(0, 1fr));
        }
    }

    @media (min-width: 768px) and (max-width: 1199px) {
        .academies-institutes-premium .home-academic-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    .academies-institutes-premium .home-academic-card {
        height: auto;
        min-height: 242px;
        border-radius: 9px;
        border: 1px solid rgba(40, 42, 70, 0.08);
        box-shadow: 0 12px 28px rgba(40, 42, 70, 0.07);
    }

    .academies-institutes-premium .home-academic-media {
        height: 112px;
        padding: 18px 16px;
        background: #ffffff;
    }

    .academies-institutes-premium .home-academic-media img {
        object-fit: contain;
        max-width: 86px;
        max-height: 86px;
    }

    .academies-institutes-premium .home-academic-body {
        height: auto;
        min-height: 130px;
        padding: 12px 10px 14px;
        background: #fbfaf7;
    }

    .academies-institutes-premium .home-academic-title {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        color: var(--ai-navy);
        font-size: 0.92rem;
        min-height: 0;
        display: block;
        margin-bottom: 7px;
    }

    .academies-institutes-premium .home-academic-owner {
        font-size: 0.72rem;
        text-align: center;
        min-height: 0;
        -webkit-line-clamp: 2;
    }

    .academies-institutes-premium .home-academic-count {
        font-size: 0.68rem;
        margin-top: 7px;
    }

    .academies-institutes-premium .home-academic-learn {
        margin-top: auto;
        padding-top: 10px;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ai-red);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .academies-institutes-premium .home-academic-learn i {
        font-size: 0.85em;
    }

    /* Explore Programs - cream panel + outlined CTA */
    .explore-programs-premium {
        --ep-navy: #282a46;
        --ep-red: #c52327;
        --ep-cream: var(--home-section-surface);
        background: var(--home-section-surface) !important;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .explore-programs-premium__intro {
        max-width: 720px;
        margin: 0 auto 12px;
    }

    .explore-programs-premium__title {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        letter-spacing: 0.06em;
        color: var(--ep-navy);
        text-transform: uppercase;
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-bottom: 10px;
    }

    .explore-programs-premium__subtitle {
        color: #4b5563;
        font-size: 1rem;
        margin-bottom: 0;
        line-height: 1.55;
    }

    .explore-programs-premium .featured-programs-grid .program-card {
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid rgba(40, 42, 70, 0.08);
        box-shadow: 0 14px 34px rgba(40, 42, 70, 0.08);
    }

    .explore-programs-premium .featured-programs-grid .program-body {
        background: #faf8f4;
    }

    .explore-programs-premium .featured-programs-grid .program-title {
        font-family: Georgia, 'Times New Roman', serif;
        color: var(--ep-navy);
        font-weight: 700;
    }

    .explore-programs-premium .featured-programs-grid .program-badge {
        background: rgba(255, 255, 255, 0.92);
        color: var(--ep-navy);
        border: 1px solid rgba(40, 42, 70, 0.12);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .explore-programs-premium .featured-programs-grid .program-cta-btn {
        background: transparent !important;
        color: var(--ep-red) !important;
        border: 2px solid var(--ep-red) !important;
        box-shadow: none !important;
    }

    .explore-programs-premium .featured-programs-grid .program-cta-btn:hover {
        background: var(--ep-red) !important;
        color: #fff !important;
    }

    /* Team Members / Community Voices Section Styles */
    .team-members-area {
        padding: 60px 0;
    }

    .leader-card-new.is-clickable {
        cursor: pointer;
    }

    /* Leaders Carousel Container */
    .leaders-carousel-container {
        position: relative;
        /* reduce side padding so carousel doesn't push content out of view */
        padding: 0 15px;
        margin-top: 30px;
    }

    .leadersSwiper {
        overflow: hidden;
        padding: 10px 0;
    }

    .leadersSwiper .swiper-wrapper {
        align-items: stretch;
    }

    .leadersSwiper .swiper-slide {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    /* Navigation arrows for leaders carousel */
    .leaders-prev, .leaders-next {
        background: #c52327;
        color: #fff !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50%;
        box-shadow: 0 3px 15px rgba(0,0,0,0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
    }

    /* Hide default Swiper pseudo arrows when using our FA icons */
    .leaders-prev::after, .leaders-next::after {
        display: none !important;
    }

    .leaders-prev i, .leaders-next i {
        color: #fff;
        font-size: 16px;
        line-height: 1;
        pointer-events: none;
    }

    .leaders-prev:hover, .leaders-next:hover {
        background: #a51e22;
        color: #fff !important;
    }
    /* Position navigation buttons at sides of the carousel */
    .leaders-prev {
        position: absolute;
        top: 50%;
        left: -25px;
        transform: translateY(-50%);
        z-index: 20;
    }

    .leaders-next {
        position: absolute;
        top: 50%;
        right: -25px;
        transform: translateY(-50%);
        z-index: 20;
    }

    /* New Leader Card Styles - Similar to Volunteering Section */
    .leader-card-new {
        background: #fff;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        height: 520px;
        width: 90%;
        max-width: 380px;
        display: flex;
        flex-direction: column;
        transition: all 0.3s ease;
        margin: 0 auto;
    }

    .leader-card-new:hover {
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
        transform: translateY(-5px);
    }

    .leader-card-new .leader-thumb {
        width: 100%;
        height: 280px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .leader-card-new .leader-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .leader-card-new:hover .leader-thumb img {
        transform: scale(1.05);
    }

    .leader-card-new .leader-info {
        padding: 24px;
        display: flex;
        flex-direction: column;
        height: 240px;
        text-align: center;
        overflow: hidden;
        justify-content: space-between;
    }

    .leader-card-new .leader-info h4 {
        font-size: 22px;
        font-weight: 700;
        color: #232323;
        margin-bottom: 8px;
        line-height: 1.2;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .leader-card-new .leader-category {
        font-size: 13px;
        font-weight: 600;
        color: #c52327;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        margin-bottom: 12px;
        min-height: 22px;
    }

    /* Community Voices premium cards - must follow `.leader-card-new` rules (higher cascade wins) */
    .community-voices-premium .leader-card-new.community-voice-card {
        height: auto !important;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 14px 34px rgba(40, 42, 70, 0.12);
        border: 1px solid rgba(40, 42, 70, 0.08);
        background: #fff !important;
        display: flex;
        flex-direction: column;
    }

    .community-voices-premium .leader-card-new.community-voice-card .leader-thumb.community-voice-card__thumb {
        position: relative !important;
        height: auto !important;
        width: 100%;
        min-height: 0;
        flex-shrink: 0;
        flex-grow: 0;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        background: #e8ecf4;
        isolation: isolate;
    }

    .community-voices-premium .leader-card-new.community-voice-card .leader-thumb.community-voice-card__thumb img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        object-fit: contain;
        object-position: center top;
        display: block;
    }

    .community-voices-premium .leader-card-new.community-voice-card:hover .leader-thumb.community-voice-card__thumb img {
        transform: none !important;
    }

    .community-voices-premium .leader-card-new.community-voice-card .leader-info.community-voice-card__info {
        height: auto !important;
        flex: 0 0 auto !important;
        min-height: 0;
        padding: 10px 14px 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start;
        gap: 4px;
        overflow: hidden;
        text-align: left !important;
        background: #fff;
    }

    .community-voices-premium .leader-card-new.community-voice-card .leader-info h4.community-voice-card__name {
        font-family: Georgia, 'Times New Roman', serif;
        font-weight: 700;
        color: var(--cv-navy);
        font-size: 1.02rem;
        line-height: 1.25;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left !important;
        width: 100%;
        max-width: 100%;
        display: block !important;
        min-height: 0 !important;
        align-items: unset;
        justify-content: unset;
    }

    .community-voices-premium .leader-card-new.community-voice-card .community-voice-card__follow {
        margin-top: 0;
        padding-top: 0;
        width: 100%;
        display: flex;
        justify-content: stretch;
        align-items: stretch;
    }

    .community-voices-premium .leader-card-new.community-voice-card .community-voice-card__follow-btn {
        padding: 9px 14px !important;
        box-sizing: border-box !important;
        line-height: 1.25 !important;
        flex-shrink: 0;
        min-height: 0 !important;
    }

    .community-voices-premium .leader-card-new.community-voice-card .community-voice-card__text-block {
        flex: 0 0 auto !important;
        align-items: stretch !important;
        text-align: left !important;
        width: 100%;
        gap: 8px;
    }

    .leader-card-new .leader-bio {
        font-size: 14px;
        color: #6b7280;
        line-height: 1.5;
        margin-bottom: 15px;
        height: 65px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    /* Social Icons Row - Colored Icons */
    .leader-social-icons {
        display: flex;
        justify-content: start;
        gap: 8px;
        margin-bottom: 15px;
        padding-top: 10px;
        border-top: 1px solid #e8e8e8;
        min-height: 45px;
        align-items: center;
        flex-wrap: wrap;
    }

    .leader-social-icons .social-icon {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 15px;
        color: #fff;
        transition: all 0.3s ease;
        text-decoration: none;
        background: #c52327;
    }

    .leader-social-icons .social-icon i {
        color: #fff;
        transition: color 0.3s ease;
        font-size: 14px;
    }

    .leader-social-icons .social-icon {
        box-shadow: 0 4px 12px rgba(197,35,39,0.3);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .leader-social-icons .social-icon:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(197,35,39,0.4);
        background: #a51e22;
    }

    /* Force unified red icon style to match design screenshot */
    .leader-social-icons .social-icon.facebook,
    .leader-social-icons .social-icon.twitter,
    .leader-social-icons .social-icon.dribbble,
    .leader-social-icons .social-icon.instagram,
    .leader-social-icons .social-icon.linkedin,
    .leader-social-icons .social-icon.x,
    .leader-social-icons .social-icon.youtube,
    .leader-social-icons .social-icon.tiktok,
    .leader-social-icons .social-icon.website {
        background: #c52327;
    }

    .leader-social-icons .social-icon:hover {
        background: #a51e22;
    }

    .leader-social-icons .social-icon.x {
        background: #c52327;
    }

    .leader-social-icons .social-icon.x:hover {
        background: #111;
    }

    .leader-social-icons .social-icon.youtube {
        background: #c52327;
    }

    .leader-social-icons .social-icon.youtube:hover {
        background: #a51e22;
    }

    .leader-social-icons .social-icon.tiktok {
        background: #c52327;
    }

    .leader-social-icons .social-icon.tiktok:hover {
        background: #a51e22;
    }

    .leader-social-icons .social-icon.website {
        background: #c52327;
    }

    .leader-social-icons .social-icon.website:hover {
        background: #a51e22;
    }

    .leader-card-new .btn-view-profile {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        background: #c52327;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 0;
        transition: all 0.3s ease;
        align-self: center;
        height: 40px;
        width: auto;
        border: none;
    }

    .leader-card-new .btn-view-profile:hover {
        background: #a51e22;
        color: #fff;
    }

    /* Category tabs active state for leaders */
    .slider_item.leader_name_active {
        background: #c52327 !important;
        color: #fff !important;
        border-color: #c52327 !important;
    }

    /* Hide slides when filtering */
    .leader-slide-item.hidden {
        display: none !important;
    }

    /* Mobile responsive styles for leader cards */
    @media (max-width: 768px) {
        .leaders-carousel-container {
            padding: 0 40px;
            margin-top: 20px;
        }

        .leader-card-new .leader-thumb {
            height: 180px;
        }

        .leader-card-new .leader-info {
            padding: 18px;
        }

        .leader-card-new .leader-info h4 {
            font-size: 18px;
        }

        .leader-social-icons .social-icon {
            width: 34px;
            height: 34px;
            font-size: 13px;
        }

        .leaders-prev, .leaders-next {
            width: 38px !important;
            height: 38px !important;
        }

        .leaders-prev::after, .leaders-next::after {
            font-size: 14px !important;
        }
    }

    @media (max-width: 576px) {
        .leaders-carousel-container {
            padding: 0 30px;
        }

        .leader-card-new .leader-thumb {
            height: 160px;
        }

        .leader-card-new .leader-info h4 {
            font-size: 16px;
        }

        .leader-card-new .leader-category {
            font-size: 11px;
        }

        .leader-card-new .leader-bio {
            font-size: 13px;
        }

        .leader-social-icons .social-icon {
            width: 32px;
            height: 32px;
            font-size: 12px;
        }

        .leader-card-new .btn-view-profile {
            padding: 10px 20px;
            font-size: 12px;
        }

        .leaders-prev, .leaders-next {
            width: 32px !important;
            height: 32px !important;
        }

        .leaders-prev::after, .leaders-next::after {
            font-size: 12px !important;
        }
    }



    .service-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .service-thumb {
        width: 100%;
        aspect-ratio: 1024 / 696; /* keeps exact image ratio */
        overflow: hidden;
    }

    .service-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* show full image */
    }

    .service-info {
        padding: 20px;
        flex-grow: 1;
    }



    /* Home directory organization cards (match organizations view) */
    .categories-box {
        background: #ffffff !important;
        border-radius: 18px;
        padding: 18px 0 14px;
        padding-top: 34px;
        width: 260px;
        max-width: 260px;
        height: 450px;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(15,23,42,0.06);
        box-shadow: none;
        transition: transform 0.22s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .categories-card-inner {
        background: #ffffff !important;
        padding: 18px 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        height: 100%;
        width: 100%;
    }

    .org-logo-wrap {
        width: 100%;
        height: 180px;
        border-radius: 18px 18px 0 0;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid rgba(15,23,42,0.03);
    }

    .org-logo {
        width: 140px;
        height: 140px;
        object-fit: contain;
        border-radius: 12px;
        background: #fff;
        padding: 6px;
    }

    .org-name-pill {
        display: block;
        margin-top: 8px;
        font-weight: 800;
        color: #0f172a;
        font-size: 18px;
        line-height: 1.12;
        text-align: center;
        max-width: 100%;
        padding: 6px 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
        word-break: break-word;
    }

    .org-subtitle {
        margin-top: 6px;
        font-size: 13px;
        color: #6b7280;
        font-weight: 600;
        text-align: center;
    }

    .org-divider {
        border: 0;
        height: 1px;
        background: linear-gradient(90deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
        width: 80%;
        margin: 10px auto;
    }

    .premium-label {
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(180deg,#fff2cc 0%, #fbe7a6 100%);
        color: #6b3f00;
        padding: 6px 12px;
        border-radius: 12px;
        font-weight: 800;
        font-size: 13px;
        box-shadow: 0 10px 24px rgba(11,37,64,0.06);
        border: 1px solid rgba(197,140,25,0.18);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        z-index: 2;
    }

    .premium-label i {
        color: #b8860b;
    }

    .categories-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(31,41,55,0.09);
        border-color: rgba(197,35,39,0.12);
    }

    .view-profile-btn {
        background: linear-gradient(180deg,#081733 0%, #16233f 100%);
        color: #ffffff;
        border-radius: 14px;
        padding: 12px 22px;
        font-weight: 800;
        box-shadow: 0 18px 36px rgba(11,37,64,0.12);
        border: none;
        font-size: 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .view-profile-btn,
    .view-profile-btn * {
        color: #fff !important;
    }

    .view-profile-btn:hover {
        transform: translateY(-2px);
    }

    /* Pill-style follow/unfollow button - same as organizations page */
    .circle-add-btn {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px;
        padding: 10px 22px;
        min-width: auto;
        border-radius: 999px;
        border: none;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
        background: linear-gradient(180deg,#081733 0%, #16233f 100%);
        box-shadow: 0 12px 26px rgba(11,37,64,0.35);
        color: #ffffff !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
    }

    .circle-add-btn i,
    .circle-add-btn span {
        display: inline-flex !important;
        align-items: center;
        font-size: 14px;
        line-height: 1;
        color: #ffffff !important;
    }

    .follow-btn.circle-add-btn,
    .unfollow-ajax.circle-add-btn {
        background: linear-gradient(180deg,#081733 0%, #16233f 100%);
        color: #ffffff !important;
    }

    .follow-btn.circle-add-btn:hover,
    .unfollow-ajax.circle-add-btn:hover {
        transform: translateY(-1px);
        filter: brightness(1.02);
        box-shadow: 0 16px 32px rgba(11,37,64,0.4);
    }

    .card-actions {
        width: 100%;
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: center;
        margin-top: auto;
        padding: 6px 12px 0;
    }

    .card-actions .view-profile-btn {
        flex: 0 0 auto;
    }

    .card-actions .circle-add-btn {
        flex: 0 0 auto;
    }

    /* Ensure uniform slide layout for Discover Organizations swiper */
    #directory .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    @media (max-width: 576px) {
        .org-logo-wrap {
            width: 100%;
            height: 140px;
        }

        .org-logo {
            width: 110px;
            height: 110px;
        }
    }

    /* Reference-style organizations showcase */
    #directory.org-showcase-section {
        background: var(--home-section-surface) !important;
        padding: 54px 0 58px;
    }

    #directory.org-showcase-section .container {
        max-width: 1320px;
    }

    #directory .org-showcase-head {
        max-width: 760px;
        margin: 0 auto 28px;
        text-align: center;
    }

    #directory .org-showcase-head h2 {
        margin: 0 0 12px;
        color: #0f172a;
        font-size: clamp(28px, 3vw, 42px);
        line-height: 1.1;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding-bottom: 18px;
    }

    #directory .org-showcase-head h2::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 6px;
        width: 58px;
        height: 2px;
        background: #c52327;
        transform: translateX(-50%);
    }

    #directory .org-showcase-head p {
        margin: 0;
        max-width: 760px;
        color: #6b7280;
        font-size: 16px;
        line-height: 1.8;
        font-weight: 500;
    }

    #directory .directory-tabs {
        margin-bottom: 0;
        padding: 10px 6px;
        background: #f2dfe0;
        border: 1px solid #d9d9d9;
        border-bottom: 0;
    }

    #directory .directory-tabs .nav-tabs {
        justify-content: center !important;
        gap: 10px;
        border: 0;
    }

    #directory .directory-tabs .custom-tab {
        flex: 1 1 0;
        min-width: 0;
        min-height: 58px;
        margin: 0 !important;
        border: 1px solid rgba(15, 23, 42, 0.18) !important;
        border-radius: 22px !important;
        background: #0b1020 !important;
        color: #ffffff !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16) !important;
        font-size: 18px;
        font-weight: 900;
    }

    #directory .directory-tabs .custom-tab.active,
    #directory .directory-tabs .nav-link.custom-tab.active {
        background: #c51f26 !important;
        border-color: #9f151b !important;
        color: #ffffff !important;
        box-shadow: 0 10px 24px rgba(197, 31, 38, 0.22) !important;
    }

    #directory .tab-content {
        background: #ffffff;
        border: 1px solid #d9d9d9;
        padding: 38px 34px 34px;
        overflow: hidden;
    }

    #directory .slider-container {
        padding: 0 0 10px;
        overflow: hidden;
    }

    #directory .swiper,
    #directory .mySwiper {
        overflow: hidden;
        padding-bottom: 8px;
    }

    #directory .swiper-wrapper {
        align-items: stretch;
    }

    #directory .swiper-slide {
        height: auto;
        display: flex;
        align-items: stretch;
        justify-content: center;
    }

    #directory .categories-box {
        width: 100%;
        max-width: 280px;
        height: auto !important;
        min-height: 470px;
        padding: 0;
        border-radius: 24px;
        border: 1px solid #e5e7eb;
        background: #ffffff !important;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    #directory .categories-box:hover {
        transform: translateY(-6px);
        border-color: rgba(197, 35, 39, 0.22);
        box-shadow: 0 24px 52px rgba(15, 23, 42, 0.14);
    }

    #directory .categories-card-inner {
        height: 100%;
        min-height: 0;
        flex: 1 1 auto;
        padding: 14px 20px 20px;
        gap: 0;
        justify-content: flex-start;
    }

    #directory .premium-slot {
        width: 100%;
        height: 34px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex: 0 0 34px;
        margin-bottom: 2px;
    }

    #directory .premium-label {
        position: static;
        flex: 0 0 auto;
        transform: none;
        margin: 0 auto 0;
        padding: 6px 15px;
        border-radius: 12px;
        background: linear-gradient(180deg, #fff9e9 0%, #ffe7a8 100%);
        border: 1px solid #f4c45d;
        color: #8a5600;
        font-size: 13px;
        font-weight: 900;
        box-shadow: 0 10px 22px rgba(139, 92, 0, 0.1);
    }

    #directory .org-card-link {
        width: 100%;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 0 auto;
        min-width: 0;
    }

    #directory .org-logo-wrap {
        width: 100%;
        height: 170px;
        margin: 0 auto 14px !important;
        flex: 0 0 170px;
        border: 1px solid #dfe6f0;
        border-radius: 18px;
        background: #fbfdff;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #directory .org-logo {
        width: 140px;
        height: 140px;
        padding: 6px;
        border-radius: 14px;
        object-fit: contain;
        background: transparent;
    }

    #directory .image-placeholder {
        width: 104px;
        height: 104px;
        min-height: 104px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, #eef2f7, #f8fafc);
        color: #0f172a;
        font-size: 30px;
        font-weight: 900;
    }

    #directory .org-name-pill {
        display: -webkit-box;
        width: 100%;
        height: 52px;
        min-height: 52px;
        margin: 0;
        padding: 0;
        color: #0f172a;
        font-size: 20px;
        line-height: 1.28;
        font-weight: 800;
        letter-spacing: 0;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    #directory .org-category-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        max-width: 100%;
        min-height: 38px;
        margin: 10px auto 0;
        padding: 7px 14px 7px 9px;
        border-radius: 999px;
        background: #fff5f7;
        border: 1px solid #ffe2e5;
        color: #b91c1c;
        box-shadow: 0 6px 14px rgba(185, 28, 28, 0.08);
        font-size: 16px;
        font-weight: 800;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #directory .org-category-pill i {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 26px;
        background: #ffffff;
        border: 1px solid #ffd7dc;
        color: #b91c1c;
        font-size: 12px;
    }

    #directory .org-subtitle {
        display: none;
    }

    #directory .org-divider {
        width: 100%;
        height: 0;
        flex: 0 0 auto;
        margin: 12px 0 0;
        border: 0;
        border-top: 1px solid #d9dee8;
        background: transparent;
    }

    #directory .org-card-stats {
        display: none;
    }

    #directory .org-followers-row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: 0 0 14px;
        padding: 12px 0 4px;
        color: #111827;
        font-size: 17px;
        font-weight: 850;
    }

    #directory .org-avatar-stack {
        display: flex;
        align-items: center;
        padding-right: 8px;
    }

    #directory .org-avatar-stack span {
        width: 34px;
        height: 34px;
        margin-right: -8px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #ffffff;
        background: #ffffff;
        color: #0b1b3a;
        font-size: 11px;
        font-weight: 900;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10);
        overflow: hidden;
    }

    #directory .org-avatar-stack img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #directory .org-avatar-stack span:nth-child(2),
    #directory .org-avatar-stack span:nth-child(3),
    #directory .org-avatar-stack span:nth-child(4) {
        background: #ffffff;
    }

    #directory .org-stat {
        min-width: 0;
        text-align: center;
    }

    #directory .org-stat i {
        display: block;
        margin-bottom: 8px;
        color: #dc2626;
        font-size: 20px;
    }

    #directory .org-stat:nth-child(2) i {
        color: #6d5bd0;
    }

    #directory .org-stat:nth-child(3) i {
        color: #16a34a;
    }

    #directory .org-stat strong {
        display: block;
        color: #111827;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #directory .org-stat span {
        display: block;
        margin-top: 4px;
        color: #6b7280;
        font-size: 13px;
        line-height: 1.2;
    }

    #directory .card-actions {
        width: 100%;
        margin-top: auto;
        padding: 0;
    }

    #directory .circle-add-btn {
        width: 100%;
        min-height: 54px;
        border-radius: 16px;
        background: #0b1f4b;
        box-shadow: 0 14px 28px rgba(11, 27, 58, 0.22);
        font-size: 20px;
        font-weight: 900;
    }

    #directory .circle-add-btn i,
    #directory .circle-add-btn span {
        font-size: 20px;
    }

    #directory .org-missing-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 36px;
        color: #0f172a;
        font-size: 18px;
        font-weight: 850;
    }

    #directory .org-missing-cta .org-missing-icon {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #e8f0fb;
        color: #40546f;
        font-size: 24px;
    }

    #directory .org-missing-cta a {
        color: #2563eb;
        font-weight: 900;
        text-decoration: none;
    }

    #directory .org-missing-cta a:hover {
        color: #1d4ed8;
    }

    @media (max-width: 1199.98px) {
        #directory .categories-box {
            width: 300px;
            max-width: 300px;
        }
    }

    @media (max-width: 767.98px) {
        #directory.org-showcase-section {
            padding: 50px 0;
        }

        #directory .org-showcase-head {
            text-align: center;
        }

        #directory .directory-tabs .nav-tabs {
            justify-content: center !important;
        }

        #directory .directory-tabs .custom-tab {
            flex: 1 1 100%;
            min-height: 48px;
            font-size: 15px;
            border-radius: 16px !important;
        }

        #directory .tab-content {
            padding: 22px 14px 24px;
        }

        #directory .categories-box {
            width: min(100%, 360px);
            max-width: 360px;
            min-height: 440px;
            height: auto !important;
        }

        #directory .org-missing-cta {
            flex-wrap: wrap;
            text-align: center;
            font-size: 16px;
        }

        #directory .org-logo-wrap {
            height: 150px;
            flex-basis: 150px;
        }

        #directory .org-logo {
            width: 122px;
            height: 122px;
        }

        #directory .org-name-pill {
            font-size: 18px;
            min-height: 50px;
            height: 50px;
        }

        #directory .circle-add-btn,
        #directory .circle-add-btn i,
        #directory .circle-add-btn span {
            font-size: 18px;
        }
    }

    /* Professional events showcase */
    .home-events-showcase {
        background: var(--home-section-surface);
        padding: 72px 0 78px;
    }

    .home-events-showcase .container {
        max-width: 1320px;
    }

    .home-events-showcase .events-showcase-head {
        max-width: 820px;
        margin: 0 auto 34px;
    }

    .home-events-showcase .events-showcase-head h2 {
        margin: 0 0 6px;
        color: var(--brand-dark);
        font-size: clamp(24px, 2.5vw, 30px);
        line-height: 1.15;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .home-events-showcase .events-showcase-head h2::after {
        display: block;
    }

    .home-events-showcase .events-showcase-head p {
        max-width: 680px;
        margin: 0 auto;
        color: #64748b;
        font-size: 15px;
        line-height: 1.8;
        font-weight: 500;
    }

    .home-events-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px 18px;
        align-items: stretch;
    }

    @media (max-width: 991.98px) {
        .home-events-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 575.98px) {
        .home-events-grid {
            grid-template-columns: 1fr;
        }
    }

    .home-events-grid > .home-event-card-pro {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .home-event-card-pro {
        min-height: 480px;
        height: auto;
        display: flex;
        flex-direction: column;
        border-radius: 22px;
        border: 1px solid #eef0f4;
        background: #ffffff;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
        color: inherit;
        text-decoration: none;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .home-event-card-main-pro {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        color: inherit;
        text-decoration: none;
    }

    .home-event-card-main-pro:hover {
        color: inherit;
        text-decoration: none;
    }

    .home-event-card-pro:hover {
        transform: translateY(-5px);
        border-color: #eef0f4;
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
        color: inherit;
        text-decoration: none;
    }

    .home-event-media-pro {
        position: relative;
        height: 238px;
        flex: 0 0 238px;
        border-radius: 22px 22px 0 0;
        overflow: hidden;
        background: #edf2f7;
    }

    .home-event-media-pro img {
        position: relative;
        z-index: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.25s ease;
    }

    .home-event-media-pro::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(15, 23, 42, 0.36);
        pointer-events: none;
    }

    .home-event-card-pro:hover .home-event-media-pro img {
        transform: scale(1.04);
    }

    .home-event-date-pro {
        position: absolute;
        z-index: 2;
        top: 14px;
        left: 14px;
        display: flex;
        flex-direction: column;
        width: 56px;
        min-height: 68px;
        padding: 0;
        overflow: hidden;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.92);
        background: #ffffff;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
        text-align: center;
    }

    .home-event-date-pro span {
        flex: 0 0 34%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 5px 6px;
        background: #c52327;
        color: #ffffff;
        font-size: 11px;
        line-height: 1;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .home-event-date-pro strong {
        flex: 1 1 66%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 4px 6px 6px;
        background: #ffffff;
        color: #0b1f4b;
        font-size: 28px;
        line-height: 1;
        font-weight: 950;
        letter-spacing: -0.03em;
    }

    .home-event-type-pro {
        position: absolute;
        z-index: 2;
        left: 18px;
        bottom: 14px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        max-width: calc(100% - 28px);
        padding: 9px 14px;
        border-radius: 999px;
        background: #c52327;
        color: #ffffff;
        font-size: 13px;
        line-height: 1;
        font-weight: 800;
        box-shadow: 0 10px 22px rgba(197, 35, 39, 0.28);
    }

    .home-event-type-pro span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-event-body-pro {
        min-width: 0;
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 18px 22px 12px;
    }

    .home-event-label-pro {
        display: none;
        align-items: center;
        gap: 8px;
        width: fit-content;
        margin-bottom: 12px;
        padding: 7px 12px;
        border-radius: 999px;
        background: #fff1f2;
        color: #b91c1c;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .home-event-title-pro {
        margin: 0 0 10px;
        color: #0f172a;
        font-size: 20px;
        line-height: 1.28;
        font-weight: 800;
        letter-spacing: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-event-org-pro {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        max-width: 100%;
        margin: 0 0 14px;
        padding: 9px 12px 9px 10px;
        border-radius: 999px;
        background: #fff5f7;
        border: 1px solid #ffe2e5;
        color: #b91c1c;
        box-shadow: 0 6px 14px rgba(185, 28, 28, 0.08);
        font-size: 16px;
        line-height: 1.25;
        font-weight: 800;
    }

    .home-event-org-pro.is-unassigned {
        background: #fff1f2;
        border-color: #ffe2e5;
        color: #b91c1c;
    }

    .home-event-org-logo-pro {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid #ffd7dc;
        color: #b91c1c;
        font-size: 14px;
        font-weight: 900;
        overflow: hidden;
    }

    .home-event-org-logo-pro img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 4px;
        background: #ffffff;
    }

    .home-event-org-name-pro {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-event-host-pro {
        margin: 0 0 14px;
        color: #4b5563;
        font-size: 15px;
        line-height: 1.45;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-event-desc-pro {
        min-height: 0;
        margin: 0 0 10px;
        color: #536276;
        font-size: 14px;
        line-height: 1.5;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-event-host-pro,
    .home-event-desc-pro {
        display: none !important;
    }

    .home-event-meta-pro {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 8px;
    }

    .home-event-info-pro {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: auto;
        padding: 0 0 2px;
        border-radius: 10px;
        background: transparent;
        color: #1f2937;
        font-size: 15px;
        font-weight: 700;
    }

    .home-event-info-pro i {
        flex: 0 0 auto;
        color: #c52327;
        font-size: 19px;
    }

    .home-event-info-pro span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-event-address-pro {
        display: flex;
        gap: 11px;
        margin: 2px 0 12px;
        color: #4b5563;
        font-size: 15px;
        line-height: 1.45;
    }

    .home-event-address-pro span {
        min-width: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-event-address-pro i {
        margin-top: 3px;
        color: #16a34a;
        font-size: 19px;
    }

    .home-event-action-pro {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        align-self: stretch;
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 38px;
        margin: 0;
        padding: 8px 10px;
        border-radius: 12px;
        background: #0b1f4b;
        color: #ffffff !important;
        box-shadow: 0 8px 18px rgba(11, 31, 75, 0.2);
        font-size: clamp(10px, 1.65vw, 12px);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        text-decoration: none;
        white-space: nowrap;
        line-height: 1.15;
    }

    .home-event-action-pro:visited,
    .home-event-action-pro:focus,
    .home-event-action-pro i {
        color: #ffffff !important;
    }

    .home-event-action-pro i,
    .home-event-interested-pro i {
        flex-shrink: 0;
        font-size: 0.88em;
    }

    .home-event-card-pro:hover .home-event-action-pro {
        background: #102a64;
        color: #ffffff !important;
        text-decoration: none;
    }

    .home-event-card-footer-pro {
        padding: 0 22px 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
    }

    .home-event-interested-pro {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 12px;
        border: 2px solid #c52327;
        background: #c52327;
        color: #ffffff;
        font-size: clamp(10px, 1.65vw, 12px);
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        cursor: pointer;
        white-space: nowrap;
        line-height: 1.15;
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .home-event-interested-pro:hover,
    .home-event-interested-pro.is-interested:hover {
        background: #a9171b;
        border-color: #a9171b;
        color: #ffffff;
    }

    .home-event-interested-pro.is-interested {
        background: #c52327;
        border-color: #c52327;
        color: #ffffff;
    }

    .home-event-card-pro:hover .home-event-interested-pro:not(.is-interested) {
        border-color: #a9171b;
        color: #ffffff;
    }

    @media (max-width: 575.98px) {
        .home-event-card-footer-pro {
            padding-left: 14px;
            padding-right: 14px;
            gap: 6px;
        }

        .home-event-action-pro,
        .home-event-interested-pro {
            min-height: 34px;
            padding: 6px 8px;
            font-size: clamp(9px, 3.1vw, 11px);
            letter-spacing: 0.015em;
        }

        .home-event-action-pro i,
        .home-event-interested-pro i {
            font-size: 0.8em;
        }
    }

    .home-events-showcase .btn-add-organization {
        border-radius: 10px !important;
        min-height: 48px;
        box-shadow: 0 16px 32px rgba(197, 35, 39, 0.22);
    }

    @media (max-width: 991.98px) {
        .home-event-meta-pro {
            grid-template-columns: 1fr;
        }

        .home-event-title-pro {
            font-size: 20px;
        }
    }

    @media (max-width: 767.98px) {
        .home-events-showcase {
            padding: 54px 0;
        }

        .home-event-card-pro {
            height: auto;
            min-height: 500px;
        }

        .home-event-media-pro {
            height: 220px;
            flex-basis: 220px;
        }

        .home-event-title-pro {
            font-size: 19px;
        }

        .home-event-host-pro,
        .home-event-info-pro,
        .home-event-address-pro {
            font-size: 14px;
        }
    }

    /* -- Home: Volunteers banner -- */
    .home-volunteers-banner {
        --hv-navy: #0a1747;
        --hv-yellow: #fff2a8;
        --hv-yellow-mid: #ffe566;
        --hv-yellow-deep: #ffd54a;
        position: relative;
        background:
            radial-gradient(ellipse 120% 80% at 100% 0%, rgba(255, 255, 255, 0.45) 0%, transparent 55%),
            linear-gradient(145deg, var(--hv-yellow) 0%, var(--hv-yellow-mid) 42%, var(--hv-yellow-deep) 100%);
        padding: clamp(12px, 2vw, 20px) 0 clamp(10px, 1.6vw, 16px);
        margin-bottom: clamp(28px, 5vw, 52px);
        overflow: hidden;
        border-bottom: 1px solid rgba(10, 23, 71, 0.07);
        box-shadow: 0 24px 48px rgba(10, 23, 71, 0.06);
    }

    .home-volunteers-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath fill='%230a1747' d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
        opacity: 1;
        pointer-events: none;
    }

    .home-volunteers-banner::after {
        content: "";
        position: absolute;
        right: clamp(-6%, -4vw, 0%);
        top: 50%;
        transform: translateY(-50%);
        width: min(42vw, 380px);
        height: min(42vw, 380px);
        border-radius: 50%;
        border: 1px solid rgba(10, 23, 71, 0.07);
        pointer-events: none;
        z-index: 0;
    }

    .home-volunteers-banner > .container {
        position: relative;
        z-index: 1;
    }

    .home-volunteers-banner__container {
        max-width: 1180px;
    }

    .home-volunteers-banner__grid {
        display: grid;
        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
        gap: clamp(14px, 2.5vw, 28px);
        align-items: center;
    }

    @media (min-width: 992px) {
        .home-volunteers-banner__grid {
            grid-template-columns: minmax(240px, 30%) minmax(0, 1fr);
        }
    }

    @media (max-width: 991.98px) {
        .home-volunteers-banner__grid {
            grid-template-columns: 1fr;
            gap: 28px;
        }
    }

    .home-volunteers-banner__intro {
        color: var(--hv-navy);
        padding-top: 4px;
    }

    .home-volunteers-banner__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--hv-navy);
        color: #fff;
        font-size: 18px;
        margin-bottom: 10px;
        box-shadow: 0 8px 22px rgba(10, 23, 71, 0.22);
    }

    .home-volunteers-banner__title {
        margin: 0 0 6px;
        font-size: clamp(18px, 2vw, 24px);
        font-weight: 900;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        line-height: 1.12;
        color: var(--hv-navy);
    }

    .home-volunteers-banner__lead {
        margin: 0 0 12px;
        font-size: 15px;
        line-height: 1.5;
        color: rgba(10, 23, 71, 0.88);
        max-width: 32ch;
    }

    .home-volunteers-banner__lead strong {
        font-weight: 800;
        color: var(--hv-navy);
    }

    .home-volunteers-banner__cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 11px 20px;
        border-radius: 999px;
        background: var(--hv-navy);
        color: #fff !important;
        font-weight: 800;
        font-size: 13px;
        letter-spacing: 0.02em;
        text-decoration: none;
        box-shadow: 0 12px 26px rgba(10, 23, 71, 0.28);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .home-volunteers-banner__cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(10, 23, 71, 0.38);
        color: #fff !important;
    }

    .home-volunteers-banner__cta i {
        font-size: 12px;
    }

    .home-volunteers-banner__slider-wrap {
        position: relative;
        min-width: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-self: stretch;
    }

    .home-volunteers-banner .homeVolunteersSwiper {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        padding: 0;
        flex: 1;
    }

    .home-volunteers-banner .homeVolunteersSwiper .swiper-wrapper {
        align-items: stretch;
    }

    .home-volunteers-banner .homeVolunteersSwiper .swiper-slide {
        height: auto;
        box-sizing: border-box;
        display: flex;
        width: 100% !important;
        max-width: 100%;
    }

    /* Pagination dot - hidden; navigation handled by next button */
    .home-volunteers-banner__pagination {
        display: none !important;
    }

    /* Swiper next navigation button */
    .home-volunteers-swiper-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 14px;
        bottom: auto;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--hv-navy);
        color: #fff;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        box-shadow: 0 4px 14px rgba(10, 23, 71, 0.32);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        z-index: 20;
        outline: none;
    }

    .home-volunteers-swiper-next:hover {
        transform: translateY(-50%) scale(1.12);
        box-shadow: 0 6px 20px rgba(10, 23, 71, 0.42);
    }

    .home-volunteers-swiper-next.swiper-button-disabled {
        opacity: 0.4;
        cursor: default;
        transform: translateY(-50%);
    }

    /* Featured volunteer card: copy left, photo right; thumbnails strip only when more records exist */
    .home-volunteer-card {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        max-width: 100%;
        flex: 1;
        align-self: stretch;
        min-height: 0;
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid rgba(10, 23, 71, 0.07);
        box-shadow:
            0 2px 4px rgba(10, 23, 71, 0.04),
            0 12px 28px rgba(10, 23, 71, 0.09);
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .home-volunteer-card:hover {
        transform: translateY(-2px);
        border-color: rgba(10, 23, 71, 0.12);
        box-shadow:
            0 8px 18px rgba(10, 23, 71, 0.08),
            0 18px 44px rgba(10, 23, 71, 0.11);
    }

    .home-volunteer-card__clickable {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        text-decoration: none;
        color: inherit;
    }

    .home-volunteer-card__badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 6;
        padding: 4px 11px;
        border-radius: 999px;
        background: var(--hv-navy);
        color: var(--hv-yellow-deep);
        font-size: 9px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .home-volunteer-card__row {
        display: flex;
        flex-direction: row;
        flex: 1;
        align-items: stretch;
        min-height: 0;
        width: 100%;
    }

    .home-volunteer-card__body {
        display: flex;
        flex-direction: column;
        flex: 1 1 50%;
        padding: clamp(14px, 2vw, 20px) clamp(14px, 1.8vw, 18px) clamp(12px, 1.6vw, 16px);
        padding-top: clamp(34px, 3.5vw, 42px);
        min-width: 0;
        text-align: left;
    }

    .home-volunteer-card__title {
        margin: 0 0 6px;
        font-size: clamp(16px, 1.5vw, 20px);
        font-weight: 900;
        color: var(--hv-navy);
        line-height: 1.22;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-volunteer-card__meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 8px;
        font-size: 11px;
        font-weight: 700;
        color: rgba(10, 23, 71, 0.58);
        margin-bottom: 8px;
    }

    .home-volunteer-card__meta span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .home-volunteer-card__meta i {
        color: var(--hv-navy);
        opacity: 0.72;
        font-size: 10px;
    }

    .home-volunteer-card__meta-dot {
        opacity: 0.45;
        font-weight: 700;
    }

    .home-volunteer-card__desc {
        margin: 0;
        font-size: 12px;
        line-height: 1.4;
        color: rgba(45, 51, 72, 0.78);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
    }

    .home-volunteer-card__thumb-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px 10px clamp(14px, 1.8vw, 18px);
        border-top: 1px solid rgba(10, 23, 71, 0.06);
        background: #fff;
        flex-shrink: 0;
    }

    .home-volunteer-card__thumb-strip {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .home-volunteer-card__thumb-strip::-webkit-scrollbar {
        display: none;
    }

    .home-volunteer-card__thumb {
        flex: 0 0 auto;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        text-decoration: none;
    }

    .home-volunteer-card__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .home-volunteer-card__fab {
        flex-shrink: 0;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        padding: 0;
        margin: 0;
        background: var(--hv-navy);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        box-shadow: 0 3px 10px rgba(10, 23, 71, 0.22);
        cursor: pointer;
        transition: transform 0.15s ease, background 0.15s ease;
    }

    .home-volunteer-card__fab:hover {
        background: #0d2163;
        transform: scale(1.05);
    }

    .home-volunteer-card__fab:focus-visible {
        outline: 2px solid var(--hv-yellow-deep);
        outline-offset: 2px;
    }

    .home-volunteer-card__media {
        position: relative;
        flex: 0 0 clamp(160px, 30%, 260px); /* fixed width - never drives height */
        align-self: stretch;
        overflow: hidden;
        background: linear-gradient(165deg, #eef2fb 0%, #dfe7f6 100%);
    }

    .home-volunteer-card__media img {
        position: absolute; /* out of flow - image can't push card/section taller */
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center right;
        display: block;
    }

    .home-volunteer-card__media::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 45%;
        background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.92) 42%, transparent 100%);
        pointer-events: none;
        z-index: 2;
    }

    @media (max-width: 767.98px) {
        .home-volunteer-card__row {
            flex-direction: column;
        }

        .home-volunteer-card__media {
            flex: none;
            width: 100%;
            height: 160px; /* fixed height on mobile - image stays in container */
            order: -1;
        }

        .home-volunteer-card__media img {
            /* already position:absolute inset:0 - nothing extra needed */
        }

        .home-volunteer-card__media::after {
            display: none;
        }

        .home-volunteer-card__body {
            padding-top: clamp(32px, 4.5vw, 40px);
        }

        .home-volunteer-card__thumb-bar {
            padding-left: 14px;
            padding-right: 10px;
        }
    }


    .mb-explore-hub {
        background: #ffffff;
        padding: 34px 0 26px;
    }
    .mb-explore-hub .container {
        max-width: 1174px !important;
    }
    .mb-explore-block {
        margin-bottom: 34px;
    }
    .mb-explore-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
    }
    .mb-explore-title-wrap {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        min-width: 0;
    }
    .mb-explore-icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #0b2b56;
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 34px;
        font-size: 15px;
        box-shadow: 0 6px 16px rgba(11, 43, 86, 0.16);
    }
    .mb-explore-title {
        margin: 0;
        color: #001d3d;
        font-family: 'Inter', sans-serif;
        font-size: 22px;
        font-weight: 800;
        line-height: 1.05;
    }
    .mb-explore-subtitle {
        margin: 2px 0 0;
        color: #46546a;
        font-size: 12px;
        line-height: 1.35;
    }
    .mb-explore-view {
        color: #05070b;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding-top: 5px;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none;
        white-space: nowrap;
    }
    .mb-explore-view:hover {
        color: #c52327;
    }
    .mb-explore-slider {
        position: relative;
        overflow: visible;
    }
    .mb-explore-slider .swiper {
        padding: 2px 4px 18px;
    }
    .featuredJobsSwiper .swiper-wrapper {
        align-items: stretch;
    }
    .featuredJobsSwiper .swiper-slide {
        height: auto;
        display: flex;
    }
    .mb-job-card,
    .mb-product-card {
        display: block;
        height: 100%;
        background: #ffffff;
        border: 1px solid #e8edf4;
        border-radius: 13px;
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }
    .mb-job-card {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .mb-job-brand {
        height: 118px;
        min-height: 118px;
        flex: 0 0 118px;
        background: #0b2b56;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 18px 20px;
        text-align: left;
        font-size: 20px;
        font-weight: 900;
        letter-spacing: 0.8px;
        text-transform: uppercase;
    }
    .mb-job-flyer {
        width: 100%;
        height: 118px;
        min-height: 118px;
        flex: 0 0 118px;
        background: #f4f7fb;
        overflow: hidden;
    }
    .mb-job-flyer img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }
    .mb-job-body,
    .mb-product-body {
        padding: 20px;
    }
    .mb-job-body {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
    }
    .mb-job-title,
    .mb-product-title {
        color: #05070b;
        font-size: 21px;
        font-weight: 700;
        line-height: 1.25;
        margin: 0 0 28px;
        min-height: 52px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .mb-job-title,
    .mb-product-title {
        text-align: left;
    }
    .mb-job-meta {
        display: grid;
        gap: 10px;
        color: #46546a;
        font-size: 17px;
        margin-bottom: 18px;
    }
    .mb-job-meta span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }
    .mb-job-meta i {
        color: #667085;
        width: 14px;
    }
    .mb-outline-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        border: 2px solid #c52327;
        border-radius: 999px;
        color: #ffffff;
        background: #c52327;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        margin-top: auto;
    }
    .mb-store-card {
        position: relative;
        display: block;
        min-height: 178px;
        border-radius: 14px;
        overflow: hidden;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
        background: #0b2b56;
    }
    .mb-store-card img {
        width: 100%;
        height: 178px;
        object-fit: cover;
        display: block;
    }
    .mb-store-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 40%, rgba(9, 20, 38, 0.82) 100%);
    }
    .mb-store-caption {
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 12px;
        z-index: 1;
    }
    .mb-store-caption h3 {
        color: #ffffff;
        font-size: 17px;
        font-weight: 800;
        margin: 0 0 2px;
    }
    .mb-store-caption p {
        color: rgba(255,255,255,0.86);
        margin: 0;
        font-size: 13px;
    }
    .mb-product-media {
        height: 178px;
        padding: 14px;
        background: #f7f8fb;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mb-product-media img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .mb-product-price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .mb-product-price {
        color: #111827;
        font-weight: 900;
    }
    .mb-cart-chip {
        width: 34px;
        height: 28px;
        border-radius: 999px;
        border: 2px solid #c52327;
        color: #c52327;
        background: #fffdf5;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    @media (max-width: 576px) {
        .mb-explore-head {
            align-items: flex-start;
            margin-bottom: 12px;
        }
        .mb-explore-title-wrap {
            gap: 8px;
        }
        .mb-explore-icon {
            width: 28px;
            height: 28px;
            flex-basis: 28px;
            font-size: 12px;
        }
        .mb-explore-title {
            font-size: 15px;
        }
        .mb-explore-subtitle {
            font-size: 10px;
        }
        .mb-explore-view {
            padding-top: 4px;
            font-size: 10px;
        }
    }

    .home-blog-section {
        position: relative;
        padding: 56px 0 64px;
        background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 45%, #f4f6fb 100%);
        overflow: hidden;
    }
    .home-blog-section::before {
        content: "";
        position: absolute;
        top: -40%;
        right: -10%;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(197, 35, 39, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }
    .home-blog-section::after {
        content: "";
        position: absolute;
        bottom: -30%;
        left: -8%;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(15, 39, 68, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }
    .home-blog-section .container {
        position: relative;
        z-index: 1;
        max-width: 1174px !important;
    }
    .home-blog-head {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    .home-blog-head .section-head {
        margin-bottom: 0;
        text-align: left;
    }
    .home-blog-head .section-head h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }
    .home-blog-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1.25rem;
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        color: #fff;
        background: linear-gradient(135deg, #c52327, #9a1b1f);
        box-shadow: 0 8px 24px rgba(197, 35, 39, 0.28);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .home-blog-cta:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(197, 35, 39, 0.35);
    }
    .home-blog-slider-wrap {
        --home-blog-nav-size: 46px;
        padding-left: 52px;
        padding-right: 52px;
    }
    .homeBlogSwiper {
        position: relative;
        padding: 8px 0 44px;
        overflow: hidden;
    }
    .home-blog-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 15;
        width: var(--home-blog-nav-size);
        height: var(--home-blog-nav-size);
        border: none;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(145deg, #c52327, #9a1b1f);
        color: #fff !important;
        box-shadow: 0 8px 24px rgba(197, 35, 39, 0.35);
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .home-blog-nav i {
        font-size: 15px;
        line-height: 1;
        color: #fff;
    }
    .home-blog-nav:hover {
        background: linear-gradient(145deg, #d92a2f, #b01f24);
        color: #fff !important;
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 10px 28px rgba(197, 35, 39, 0.42);
    }
    .home-blog-nav:focus-visible {
        outline: 2px solid #c52327;
        outline-offset: 2px;
    }
    .home-blog-nav-prev {
        left: 2px;
    }
    .home-blog-nav-next {
        right: 2px;
    }
    @media (max-width: 767px) {
        .home-blog-slider-wrap {
            padding-left: 48px;
            padding-right: 48px;
        }
    }
    @media (max-width: 575px) {
        .home-blog-nav {
            display: none;
        }
        .home-blog-slider-wrap {
            padding-left: 8px;
            padding-right: 8px;
        }
    }
    .home-blog-card {
        display: block;
        height: 100%;
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
        border: 1px solid rgba(15, 23, 42, 0.05);
        transition: transform 0.35s ease, box-shadow 0.35s ease;
    }
    .home-blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
        color: inherit;
    }
    .home-blog-card-media {
        position: relative;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        background: linear-gradient(135deg, #e8ecf2, #dfe6ef);
    }
    .home-blog-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .home-blog-card:hover .home-blog-card-media img {
        transform: scale(1.05);
    }
    .home-blog-card-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 0.35rem 0.6rem;
        border-radius: 8px;
        background: rgba(79, 70, 229, 0.92);
        color: #fff;
    }
    .home-blog-card-cat {
        position: absolute;
        bottom: 12px;
        left: 12px;
        z-index: 2;
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.35rem 0.75rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.95);
        color: #0f2744;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    }
    .home-blog-card-body {
        padding: 1.25rem 1.35rem 1.35rem;
        display: flex;
        flex-direction: column;
        min-height: 168px;
    }
    .home-blog-card-title {
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.35;
        color: #0f2744;
        margin: 0 0 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home-blog-card:hover .home-blog-card-title {
        color: #c52327;
    }
    .home-blog-card-excerpt {
        font-size: 0.875rem;
        line-height: 1.6;
        color: #64748b;
        margin: 0 0 1rem;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home-blog-card-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        font-size: 0.8rem;
        color: #94a3b8;
        padding-top: 0.75rem;
        border-top: 1px solid #f1f5f9;
    }
    .home-blog-card-read {
        font-weight: 600;
        color: #2563eb;
        white-space: nowrap;
    }
    .home-blog-card:hover .home-blog-card-read {
        color: #c52327;
    }
    .home-stories-section {
        padding: 30px 0 36px;
        background: #fbfcff;
        border-top: 1px solid #edf1f7;
        border-bottom: 1px solid #edf1f7;
        overflow: visible;
    }
    .home-stories-section::before,
    .home-stories-section::after {
        display: none;
    }
    .home-stories-section .container {
        max-width: 1174px !important;
    }
    .home-stories-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 16px;
    }
    .home-stories-title {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        color: #24364f;
    }
    .home-stories-title-icon {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #24364f;
        font-size: 18px;
        flex: 0 0 auto;
    }
    .home-stories-title h2 {
        margin: 0;
        color: var(--brand-dark);
        font-size: 32px;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .home-stories-view-all {
        color: #05070b;
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
    }
    .home-stories-view-all:hover {
        color: #c52327;
        text-decoration: none;
    }
    .home-stories-filter {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 18px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .home-stories-filter::-webkit-scrollbar {
        display: none;
    }
    .home-stories-filter-pill {
        min-width: 88px;
        border: 0;
        border-radius: 999px;
        padding: 9px 18px;
        background: #f0f3f8;
        color: #5c6878;
        font-size: 0.78rem;
        line-height: 1;
        font-weight: 800;
        white-space: nowrap;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }
    .home-stories-filter-pill.is-active,
    .home-stories-filter-pill:hover {
        background: #062b58;
        color: #fff;
        box-shadow: 0 8px 18px rgba(6, 43, 88, 0.18);
    }
    .home-stories-slider-wrap {
        padding-left: 54px !important;
        padding-right: 54px !important;
        overflow: visible;
    }
    .home-stories-section .homeBlogSwiper {
        padding: 0 2px 2px;
        overflow: hidden;
    }
    .home-stories-section .home-blog-nav {
        display: flex;
        width: 42px;
        height: 86px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #c52327 !important;
    }
    .home-stories-section .home-blog-nav i {
        color: #c52327;
        font-size: 34px;
        font-weight: 700;
    }
    .home-stories-section .home-blog-nav:hover {
        background: transparent;
        color: #a81d21 !important;
        box-shadow: none;
        transform: translateY(-50%) scale(1.06);
    }
    .home-stories-section .home-blog-nav:hover i {
        color: #a81d21;
    }
    .home-stories-section .home-blog-nav-prev {
        left: 0;
    }
    .home-stories-section .home-blog-nav-next {
        right: 0;
    }
    .home-stories-section .home-blog-card {
        border-radius: 8px;
        border: 1px solid #e3e8f1;
        box-shadow: 0 8px 22px rgba(15, 39, 68, 0.06);
        overflow: hidden;
        background: #fff;
        transform: none;
    }
    .home-stories-section .home-blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(15, 39, 68, 0.12);
    }
    .home-stories-section .home-blog-card-media {
        aspect-ratio: 16 / 9;
        border-radius: 7px 7px 0 0;
        background: #e8edf4;
    }
    .home-stories-section .home-blog-card-media::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 54%;
        background: linear-gradient(180deg, rgba(7, 21, 41, 0), rgba(7, 21, 41, 0.52));
        pointer-events: none;
    }
    .home-stories-read-time {
        position: absolute;
        left: 12px;
        bottom: 10px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        border-radius: 4px;
        padding: 5px 8px;
        background: rgba(3, 16, 31, 0.76);
        color: #fff;
        font-size: 0.72rem;
        line-height: 1;
        font-weight: 800;
    }
    .home-stories-section .home-blog-card-body {
        min-height: 76px;
        padding: 13px 14px 15px;
    }
    .home-stories-section .home-blog-card-title {
        margin: 0;
        color: #24364f;
        font-size: 0.93rem;
        line-height: 1.35;
        font-weight: 800;
        -webkit-line-clamp: 2;
    }
    .home-stories-section .home-blog-card:hover .home-blog-card-title {
        color: #062b58;
    }
    .home-stories-section.is-loading .homeBlogSwiper {
        opacity: 0.55;
        pointer-events: none;
    }
    .home-stories-empty {
        border: 1px dashed #d6dde8;
        border-radius: 8px;
        padding: 24px;
        color: #64748b;
        font-size: 0.95rem;
        font-weight: 700;
        text-align: center;
        background: #fff;
    }
    .home-news-list-section {
        padding: 30px 0 38px;
        background: #fbfcff;
        border-top: 1px solid #edf1f7;
        border-bottom: 1px solid #edf1f7;
        overflow: hidden;
    }
    .home-news-list-section::before,
    .home-news-list-section::after {
        display: none;
    }
    .home-news-list-section .container {
        max-width: 1174px !important;
    }
    .home-news-list-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 16px;
    }
    .home-news-list-title {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        color: #24364f;
    }
    .home-news-list-title-icon {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #24364f;
        font-size: 18px;
        flex: 0 0 auto;
    }
    .home-news-list-title h2 {
        margin: 0;
        color: #24364f;
        font-size: 1.18rem;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: 0;
        text-transform: uppercase;
    }
    .home-news-list-view {
        border: 0;
        padding: 0;
        background: transparent;
        color: #05070b;
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }
    .home-news-list-view:hover {
        color: #c52327;
        text-decoration: none;
    }
    .home-news-list {
        overflow: hidden;
        border: 1px solid #e3e8f1;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 10px 26px rgba(15, 39, 68, 0.06);
    }
    .home-news-list-item {
        display: grid;
        grid-template-columns: 174px minmax(0, 1fr) 44px;
        align-items: center;
        gap: 18px;
        min-height: 90px;
        padding: 10px 14px 10px 12px;
        color: inherit;
        text-decoration: none;
        border-bottom: 1px solid #e8edf4;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    .home-news-list-item:last-child {
        border-bottom: 0;
    }
    .home-news-list-item:hover {
        color: inherit;
        background: #f8fafd;
        transform: translateX(2px);
        text-decoration: none;
    }
    .home-news-list-thumb {
        width: 100%;
        height: 70px;
        overflow: hidden;
        border-radius: 8px;
        background: #e8edf4;
    }
    .home-news-list-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease;
    }
    .home-news-list-item:hover .home-news-list-thumb img {
        transform: scale(1.04);
    }
    .home-news-list-content {
        min-width: 0;
    }
    .home-news-list-row {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }
    .home-news-list-name {
        margin: 0;
        color: #24364f;
        font-size: 1rem;
        line-height: 1.35;
        font-weight: 800;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .home-news-list-cat {
        flex: 0 0 auto;
        border-radius: 5px;
        padding: 5px 10px;
        background: #fdecec;
        color: #c52327;
        font-size: 0.78rem;
        line-height: 1;
        font-weight: 800;
    }
    .home-news-list-meta {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-top: 8px;
        color: #7d8795;
        font-size: 0.88rem;
        line-height: 1;
        font-weight: 600;
    }
    .home-news-list-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #b8c0cc;
        flex: 0 0 auto;
    }
    .home-news-list-arrow {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
        color: #64748b;
        font-size: 1.2rem;
        transition: color 0.2s ease, transform 0.2s ease;
    }
    .home-news-list-item:hover .home-news-list-arrow {
        color: #062b58;
        transform: translateX(3px);
    }
    @media (max-width: 767px) {
        .home-stories-head {
            align-items: flex-start;
        }
        .home-stories-title h2 {
            font-size: 24px;
            letter-spacing: 0.05em;
        }
        .home-stories-filter {
            gap: 8px;
            margin-right: -12px;
            padding-right: 12px;
        }
        .home-stories-filter-pill {
            min-width: 72px;
            padding: 8px 14px;
            font-size: 0.74rem;
        }
        .home-stories-slider-wrap {
            padding-left: 34px !important;
            padding-right: 34px !important;
        }
        .home-stories-section .home-blog-nav {
            display: flex;
            width: 28px;
            height: 64px;
        }
        .home-stories-section .home-blog-nav i {
            font-size: 22px;
        }
        .home-news-list-title h2 {
            font-size: 1.02rem;
        }
        .home-news-list-item {
            grid-template-columns: 96px minmax(0, 1fr) 28px;
            gap: 12px;
            min-height: 86px;
            padding: 10px;
        }
        .home-news-list-thumb {
            height: 64px;
        }
        .home-news-list-row {
            align-items: flex-start;
            flex-direction: column;
            gap: 6px;
        }
        .home-news-list-name {
            width: 100%;
            font-size: 0.88rem;
            white-space: normal;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .home-news-list-meta {
            flex-wrap: wrap;
            gap: 6px;
            font-size: 0.76rem;
        }
        .home-news-list-cat {
            padding: 4px 8px;
            font-size: 0.72rem;
        }
        .home-news-list-arrow {
            width: 24px;
            height: 24px;
            font-size: 1rem;
        }
    }

    /* Ensure the modal confirm button text is white */
    #followModalList .follow-confirm {
        color: #fff !important;
    }
    #followModalList .follow-confirm:hover,
    #followModalList .follow-confirm:focus {
        color: #fff !important;
        text-decoration: none !important;
    }

/* --- Events swiper + section rhythm (responsive refactor) --- */
@media (max-width: 767.98px) {
    .eventsSwiper-container {
        padding: 14px 10px !important;
    }

    .eventsSwiper .swiper-button-next,
    .eventsSwiper .swiper-button-prev,
    .eventsSwiperMobile .swiper-button-next,
    .eventsSwiperMobile .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    body.home-page .section-shell {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

/* Home CTAs: keep all visible action buttons the same rounded-rectangle shape. */
body.home-page .service-card .btn,
body.home-page .btn-add-organization,
body.home-page .feature-cards .item .content .info .btn-add-organization,
body.home-page #directory .directory-tabs .custom-tab,
body.home-page #directory .circle-add-btn,
body.home-page .home-event-action-pro,
body.home-page .home-event-interested-pro,
body.home-page .support-featured-card__cta,
body.home-page .support-campaign-card.support-campaign-card--large .donate-now-btn,
body.home-page .support-donate-premium__see-all,
body.home-page .support-donate-premium .dl-category-card__link,
body.home-page .Latest_event.bootom_event .donation-card:not(.support-campaign-card--large) .donate-now-btn {
    border-radius: var(--home-button-radius) !important;
}
