/* events section  */
.luma-events-container {
    max-width: 1516px;
    margin: auto;
}
.crd-evnt-container {
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: auto;
    display: flex;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

.evnt-crd {
    flex: 1 0 32%;
    position: relative;
    height: -webkit-fill-available;
    width: 100%;
    box-shadow: 0px 0px 10px 0px #f2f2f2;
    background-color: #ffffff;
    border: 1px solid #f2f2f2;
    transition: box-shadow 0.4s ease;
    max-width: 32%;
    display: flex;
    /* min-height: 740px; */
    flex-direction: column;
}

/* .evnt-crd:hover {
    box-shadow: inset 0px 0px 1px -8px #2d3c6917;
}

.evnt-crd:hover .crd-evnt-fst-row .crd-evnt-tags {
    box-shadow: unset;
    background: #d5c28b;
}

.evnt-crd:hover .crd-evnt-fst-row .crd-evnt-tags h2,
.evnt-crd:hover .crd-evnt-fst-row .crd-evnt-tags h4 {
    color: #2d3c69;
}

.evnt-crd:hover .crd-evnt-scnd-row p,
.evnt-crd:hover .crd-evnt-scnd-row h1 {
    color: #fff;
} */

/* .evnt-crd:hover .crd-evnt-scnd-row h1::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 36%;
}

.evnt-crd .crd-evnt-scnd-row h1::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 30%;
    background-image: linear-gradient(90deg, #2d3c6900 0%, #d5c28b 100%);
    transition: width 0.3s ease;
} */

.crd-evnt-scnd-row h1 {
    color: #131b4d;
    font-size: 26px;
    margin-bottom: 16px;
    position: relative;
    text-overflow: ellipsis;
    max-width: 300px;
    font-family: "Playfair Display", sans-serif;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.evnt-crd .crd-evnt-scnd-row p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: -0.2px;
    color: #000000;
    font-weight: 400;
}

/* .evnt-crd:hover .crd-evnt-scnd-row .crd-icns {
    color: #ffffff;
}

.evnt-crd:hover .crd-evnt-scnd-row .crd-icns i {
    color: #d5c28b;
} */

.evnt-crd .crd-evnt-scnd-row .crd-icns i {
    color: #2d3c69;
    padding-right: 10px;
}

/* .evnt-crd .crd-evnt-scnd-row p,
.evnt-crd .crd-evnt-scnd-row span,
.evnt-crd .crd-evnt-scnd-row h1 {
    color: rgb(0, 0, 0);
    transition: color 0.3s ease;
} */

/* .evnt-crd:hover .crd-evnt-scnd-row span {
    color: #fff;
} */
.evnt-crd .crd-evnt-scnd-row .crd-icns {
    font-size: 12px;
    /* border: 1px solid red; */
    display: flex;
    gap: 12px;
    color: #2d3b68;
    padding-top: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.evnt-crd .crd-evnt-scnd-row .crd-icns img {
    height: 26px;
    width: 26px;
    position: relative;
    top: -5px;
    margin-right: 5px;
}

/* .crd-evnt-fst-row {
    width: 80%;
    height: 90px;
    margin: auto;
    margin-top: -20px;
    justify-items: end;
} */

.crd-evnt-fst-row .crd-evnt-tags {
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 50px;
    background-color: #cd8a26;
    width: 159px;
    height: 34.12px;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

/* .crd-evnt-tags::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -17px;
    width: 0;
    height: 0;
    border-bottom: 21px solid #d9d9d9;
    border-right: 17px solid transparent;
} */

.crd-evnt-fst-row .crd-evnt-tags h4,
.crd-evnt-fst-row .crd-evnt-tags h2 {
    font-size: 13.79px;
    color: #fff;
    font-family: "Montserrat";
    font-weight: 700;
}

.evnt-crd .crd-evnt-scnd-row {
    padding: 30px 24px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    flex: 1;
}

.evnt-crd img {
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    /* height: 493px; */
    object-position: left;
    /* object-fit: cover; */
    object-fit: contain;
    margin-bottom: -14px;
    aspect-ratio: 1 / 1;
}

.evnt-crd.hidden {
    display: none;
}

.viewEventBtn {
    padding: 10px 25px;
    width: 100%;
    height: 52.8px;
    align-content: center;
    text-align: center;
    background: #2d3b68;
    display: block;
    border-radius: 25px;
    margin-top: 25px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16.83px;
    font-weight: 500;
    font-family: "poppins";
}

.load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 70px;
}

.load-more-container .load-more-btn {
    color: #fff;
    background-color: #2d3b68;
    text-align: center;
    padding: 12px 30px;
    width: 261px;
    height: 69px;
    text-decoration: none;
    font-size: 22px;
    line-height: 25px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: poppins;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.load-more-btn .spinner {
    margin-left: 8px;
}

.no-events {
    padding: 100px 0 100px 0;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
}

/* Laptop (1024px to 1280px) */
@media (min-width: 1024px) and (max-width: 1600px) {
    /* .crd-evnt-container {
        width: 90%;
    } */

    .crd-evnt-scnd-row p {
        font-size: 12px;
    }

    /* .evnt-crd img {
        height: 100%;
    } */

    /* .crd-evnt-fst-row .crd-evnt-tags {
        width: 60px;
    } */

    /* .crd-evnt-fst-row {
        height: 65px;
    } */
}
@media (max-width: 1200px) {
    .evnt-crd {
        max-width: 48%;
    }

    .crd-evnt-scnd-row h1 {
        font-size: 18px;
        max-width: 250px;
    }
    .evnt-crd .crd-evnt-scnd-row p {
        font-size: 16px;
    }
}
@media (max-width: 992px) {
    .evnt-crd {
        max-width: 100%;
    }
    .crd-evnt-scnd-row h1 {
        max-width: 300px;
    }
     .luma-location-filter {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .evnt-crd {
        max-width: 100%;
        flex: 1 0 100%;
    }
    .crd-evnt-container {
        gap: 20px;
    }
    .crd-evnt-scnd-row h1 {
        max-width: 380px;
        width: 100%;
        font-size: 24px;
    }
    .load-more-container {
        margin-top: 30px;
    }
    #homeEventSec .para {
        margin-bottom: 40px !important;
    }
    .load-more-container .load-more-btn {
        padding: 10px 25px;
        font-size: 16px;
        line-height: 1.2em;
        height: 52px;
        max-width: max-content;
    }
}

@media (max-width: 1200px) {
    .crd-evnt-fst-row .crd-evnt-tags h4,
    .crd-evnt-fst-row .crd-evnt-tags h2 {
        font-size: 13.79px !important;
    }
}

@media (max-width: 1360px) {
    .evnt-crd .crd-evnt-scnd-row .crd-icns {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .evnt-crd {
        min-height: auto;
        height: auto;
    }
}

/* ============================================================
   Luma Events – Filter Bar, Tabs & Location Dropdown
   Add to: assets/css/event-cards.css  (or a new partial)
   ============================================================ */

/* ── Section wrapper ──────────────────────────────────────── */
.luma-events-section {
    width: 100%;
}

/* ── Filter Bar ───────────────────────────────────────────── */
.luma-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

/* ── Tabs ─────────────────────────────────────────────────── */
.luma-tabs {
    /* display: inline-flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 2px; */

    display: inline-flex;
    background: #f1f5f9;
    border-radius: 92px;
    padding: 11px 14px;
    gap: 6px;
}

.luma-tab {
    /* position: relative;
    padding: 10px 22px;
    border: none;
    background: transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap; */

    position: relative;
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    font-family: "Montserrat";
    font-size: 15.53px;
    font-weight: 500;
    letter-spacing: -0.2px;
    background: transparent;
    color: #2d3b68;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
    white-space: nowrap;
}

.luma-tab:hover:not(.active) {
    color: #334155;
    background: rgba(255, 255, 255, 0.6);
}

.luma-tab.active {
    /* background: #ffffff;
    color: #0f172a; */
    /* font-weight: 600; */
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.04); */

    background: #cd8a26;
    color: #ffffff;
    box-shadow: 0px 0px 0px 4px #cd8a262b;
}

/* ── Location Selects (Country → State → City) ────────────── */
.luma-location-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.luma-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.luma-select-icon {
    position: absolute;
    left: 20px;
    width: 16px;
    height: 16px;
    color: #334155;
    pointer-events: none;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.luma-select-wrapper:hover .luma-select-icon {
    color: #cd8a26;
}

.luma-select {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 38px 10px 44px;
    font-family: "Montserrat";
    font-size: 15.53px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    min-width: 308.8px;
    height: 61px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    outline: none;
}

.luma-select:hover {
    border-color: #cd8a262b;
}

.luma-select:focus {
    border-color: #cd8a262b !important;
    box-shadow: 0 0 0 3px #cd8a262b;
}

.luma-select:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.luma-chevron {
    position: absolute;
    right: 20px;
    width: 18px;
    height: 18px;
    color: #64748b;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.luma-select-wrapper:focus-within .luma-chevron {
    transform: rotate(180deg);
}

/* ── Results meta ─────────────────────────────────────────── */
.luma-results-meta {
    margin-bottom: 20px;
    min-height: 22px;
}

.luma-results-count {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ── Card visibility (JS toggles .hidden) ─────────────────── */
.evnt-crd {
    position: relative;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.evnt-crd.hidden {
    display: none !important;
}

/* ── Past event styling ───────────────────────────────────── */
/* .evnt-crd.is-past {
    opacity: 0.72;
} */

/* .evnt-crd.is-past img {
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.evnt-crd.is-past:hover img {
    filter: grayscale(0%);
} */

.past-badge {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid #ffffff;
    -webkit-backdrop-filter: blur(6px);
    font-size: 13.79px;
    background-color: #ffffff;
    color: #2d3b68;
    font-family: "Montserrat";
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
    width: 159px;
    height: 34.12px;
    align-content: center;
    text-align: center;
    letter-spacing: -0.1px;
}

.evnt-crd.is-past .past-badge {
    display: block;
}

/* ── Empty state ──────────────────────────────────────────── */
.luma-empty-state {
    text-align: center;
    padding: 64px 20px;
    color: #94a3b8;
}

.luma-empty-state svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: block;
    opacity: 0.5;
}

.luma-empty-state p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .luma-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .luma-tabs {
        width: 100%;
        justify-content: stretch;
    }

    .luma-tab {
        flex: 1;
        text-align: center;
        padding: 9px 10px;
    }

    .luma-select {
        width: 100%;
        min-width: unset;
    }

    .luma-location-filter {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .luma-select-wrapper {
        width: 100%;
    }
}
