/* ==========================================================================
   Events V2 Page Styles
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* ---- HERO ---- */
.ev2-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ev2-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ev2-hero__video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.ev2-hero__video--native video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.ev2-hero__fallback--mobile {
    display: none;
}
.ev2-hero__fallback {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.ev2-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.ev2-hero__content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    width: 100vw;
    box-sizing: border-box;
}
.ev2-hero__content h1 {
    max-width: 800px;
    margin: 0 auto 16px;
    font-family: 'GalanoGrotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
}
.ev2-hero__content p {
    font-family: 'ProximaNova', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ---- Shared Slick Dots ---- */
.ev2-dots .slick-dots {
    margin-top: 20px;
    padding: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 6px;
}
.ev2-dots .slick-dots li {
    margin: 0; padding: 0; width: auto; height: auto;
}
.ev2-dots .slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}
.ev2-dots .slick-dots li button:before { display: none; }
.ev2-dots .slick-dots li.slick-active button {
    background: #333131;
}

/* ---- SPOTLIGHT ---- */
.ev2-spotlight {
    padding: 60px 32px;
}
.ev2-spotlight__inner {
    max-width: 900px;
    margin: 0 auto;
}
.ev2-spotlight__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.ev2-spotlight__header > div:first-child {
    flex: 1;
    min-width: 0;
}
.ev2-spotlight__header > a {
    flex-shrink: 0;
}
.ev2-highlight {
    color: #e5452d;
}
.ev2-spotlight__header h2 {
    font-family: 'GalanoGrotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0 0 4px;
    color: #333131;
}
.ev2-spotlight__header p {
    font-family: 'ProximaNova', sans-serif;
    font-size: 15px;
    color: #666;
    margin: 0;
}
.ev2-see-all {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.ev2-see-all__text {
    font-family: 'GalanoGrotesque', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333131;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.ev2-see-all:hover .ev2-see-all__text {
    opacity: 1;
    transform: translateX(0);
}
.ev2-arrow {
    color: #8ac0cc;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.ev2-see-all:hover .ev2-arrow {
    color: #333131;
    transform: rotate(45deg);
}
.ev2-spotlight__slider {
    display: block;
}
.ev2-spotlight__slider .slick-list {
    margin: 0 -16px;
    overflow: hidden;
}
.ev2-spotlight__slider .slick-slide {
    padding: 0 16px;
}
.ev2-spotlight__slider .slick-track {
    display: flex;
}
.ev2-spotlight__slider .slick-dots {
    margin-top: 24px;
    padding: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 8px;
}
.ev2-spotlight__slider .slick-dots li {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}
.ev2-spotlight__slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}
.ev2-spotlight__slider .slick-dots li button:before {
    display: none;
}
.ev2-spotlight__slider .slick-dots li.slick-active button {
    background: #333131;
}
.ev2-spotlight__card {
    position: relative;
    display: block !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}
.ev2-spotlight__card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.4s ease;
}
.ev2-spotlight__card:hover .ev2-spotlight__card-img {
    transform: scale(1.03);
}
.ev2-spotlight__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 70%);
}
.ev2-spotlight__card-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.6s ease;
}
.ev2-spotlight__card:hover .ev2-spotlight__card-overlay::after {
    opacity: 1;
}
.ev2-spotlight__card-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
.ev2-spotlight__card-info h3 {
    font-family: 'GalanoGrotesque', sans-serif;
    font-weight: 700;
    font-size: 26px;
    margin: 0 0 10px;
    color: #fff;
    line-height: 1.25;
    text-transform: capitalize;
}
.ev2-spotlight__btn {
    margin-top: auto;
    display: inline-block;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 28px;
    font: 600 11px/1 'GalanoGrotesque', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.ev2-spotlight__btn:hover {
    background: #e5452d;
    border-color: #e5452d;
    color: #fff;
    text-decoration: none;
}
.ev2-spotlight__date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    font-family: 'GalanoGrotesque', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

/* ---- FILTER BAR ---- */
.ev2-filter-bar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #333131;
    padding: 16px 32px;
}
.ev2-filter-bar__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.ev2-filter-bar__left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ev2-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 6px 14px;
    font: 600 11px/1 'GalanoGrotesque', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.ev2-filter-reset:hover {
    border-color: #e5452d;
    color: #e5452d;
}
.ev2-filter-select-wrap select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'ProximaNova', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 28px 8px 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    min-width: 100px;
}
.ev2-filter-select-wrap select:focus,
.ev2-filter-select-wrap select:active,
.ev2-search-wrap input:focus,
.ev2-search-wrap input:active {
    outline: none;
}
.ev2-filter-select-wrap select option {
    color: #333;
    background: #fff;
}
.ev2-filter-bar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ev2-search-wrap {
    position: relative;
}
.ev2-search-wrap input {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'ProximaNova', sans-serif;
    font-size: 14px;
    padding: 8px 40px 8px 14px;
    width: 220px;
}
.ev2-search-wrap input::placeholder {
    color: rgba(255,255,255,0.5);
}
.ev2-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ---- MONTHLY GRID ---- */
.ev2-monthly-listing {
    padding: 40px 32px 60px;
}
.ev2-monthly-listing__inner {
    max-width: 1080px;
    margin: 0 auto;
    transition: max-width 0.4s ease;
}
.ev2-month-section {
    margin-bottom: 50px;
}
.ev2-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #8ac0cc;
    padding-bottom: 10px;
    margin-bottom: 30px;
    cursor: pointer;
    user-select: none;
}
.ev2-month-header h2 {
    font-family: 'GalanoGrotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0;
    color: #333131;
}
.ev2-month-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ev2-month-toggle__text {
    font-family: 'GalanoGrotesque', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333131;
    white-space: nowrap;
    display: none;
}
.ev2-month-header:hover .ev2-month-toggle__text {
    display: inline;
}
.ev2-month-header .ev2-arrow {
    transition: color 0.3s ease, transform 0.3s ease;
}
.ev2-month-header:hover .ev2-arrow {
    color: #333131;
}
/* Collapsed state */
.ev2-month-section.ev2-collapsed .ev2-month-header .ev2-arrow {
    transform: rotate(-45deg);
}
.ev2-month-section.ev2-collapsed .ev2-month-header {
    margin-bottom: 0;
}
.ev2-month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}
.ev2-month-section.ev2-collapsed .ev2-month-grid {
    max-height: 0 !important;
    opacity: 0;
}

/* Event Card */
@media (min-width: 576px) {
    .ev2-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .ev2-card.ev2-visible {
        opacity: 1;
        transform: translateY(0);
    }
}
.ev2-card { color: #333131; cursor: pointer; position: relative; }
.ev2-card__img-wrap {
    position: relative;
    padding-bottom: 100%;
    background: #f0f0f0;
    overflow: hidden;
}
.ev2-card__img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.ev2-card:hover .ev2-card__img {
    transform: scale(1.05);
}
.ev2-card__badge {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 2;
    width: 52px; height: 52px;
    border-radius: 0;
    background: #8ac0cc;
    color: #000;
    display: grid;
    place-items: center;
    font: 700 20px/1 'GalanoGrotesque', sans-serif;
    text-align: center;
}
.ev2-card__badge small { font-size: 10px; font-weight: 600; }
.ev2-card__tag {
    position: absolute;
    top: 14px; left: 14px;
    background: #8ac0cc;
    color: #333131;
    padding: 5px 14px;
    border-radius: 0;
    font: 600 11px/1.4 'GalanoGrotesque', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ev2-card__cat {
    display: none;
}
/* View toggle buttons */
.ev2-view-toggle {
    display: flex;
    gap: 4px;
}
.ev2-view-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.4);
    padding: 6px 8px;
    cursor: pointer;
    line-height: 0;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.ev2-view-btn--active {
    color: #fff;
    border-color: #fff;
}

/* Card body & list-only elements */
.ev2-card__category,
.ev2-card__date {
    display: none;
}
.ev2-card__title {
    padding: 16px 0 12px;
    font: 600 16px/1.35 'GalanoGrotesque', sans-serif;
}
.ev2-card__btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #000;
    color: #000;
    padding: 10px 24px;
    font: 600 12px/1 'GalanoGrotesque', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.ev2-card__btn:hover {
    background: #e5452d;
    border-color: #e5452d;
    color: #fff;
    text-decoration: none;
}

/* ---- LIST VIEW ---- */
.ev2-monthly-listing.ev2-list-view .ev2-monthly-listing__inner {
    max-width: 900px;
}
.ev2-monthly-listing.ev2-list-view .ev2-month-grid {
    grid-template-columns: 1fr;
    gap: 0;
}
.ev2-monthly-listing.ev2-list-view .ev2-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #e5e5e5;
    padding: 24px 0;
}
.ev2-monthly-listing.ev2-list-view .ev2-card__img-wrap {
    flex-shrink: 0;
    width: 350px;
    padding-bottom: 0;
    height: 250px;
    border-radius: 4px;
}
.ev2-monthly-listing.ev2-list-view .ev2-card__cat {
    display: none;
}
.ev2-monthly-listing.ev2-list-view .ev2-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
}
.ev2-monthly-listing.ev2-list-view .ev2-card__category {
    display: block;
    font: 600 11px/1.4 'GalanoGrotesque', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e5452d;
}
.ev2-monthly-listing.ev2-list-view .ev2-card__title {
    padding: 0;
    font-size: 28px;
}
.ev2-monthly-listing.ev2-list-view .ev2-card__date {
    display: block;
    font: 400 13px/1 'ProximaNova', sans-serif;
    color: #888;
}
.ev2-monthly-listing.ev2-list-view .ev2-card__btn {
    margin-top: 24px;
    padding: 10px 24px;
    font-size: 12px;
}
/* Disable Ken Burns in list view */
.ev2-monthly-listing.ev2-list-view .ev2-card:hover .ev2-card__img {
    transform: none;
}

.ev2-empty {
    text-align: center;
    padding: 80px 0;
    font-size: 18px;
    color: #666;
}

.ev2-no-results {
    text-align: center;
    padding: 60px 0;
    font: 400 18px/1.5 'ProximaNova', sans-serif;
    color: #666;
}

.ev2-month-section.ev2-hidden { display: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .ev2-month-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ev2-hero {
        height: 400px;
    }
    .ev2-hero__content h1 {
        font-size: 36px;
    }
    .ev2-hero__fallback--mobile { display: none; }
    .ev2-spotlight__header h2 {
        font-size: 32px;
    }
    .ev2-month-header h2 {
        font-size: 24px;
    }
    .ev2-spotlight {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ev2-spotlight__card-info {
        padding: 16px;
        align-items: flex-start;
        text-align: left;
    }
    .ev2-spotlight__card-info h3 {
        font-size: 28px;
        width: 100%;
    }
    .ev2-filter-bar {
        padding: 24px 20px;
    }
    .ev2-view-toggle {
        display: flex;
    }
    .ev2-filter-bar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .ev2-filter-bar__right {
        order: -1;
        width: 100%;
    }
    .ev2-search-wrap {
        flex: 1;
    }
    .ev2-search-wrap input {
        width: 100%;
    }
    .ev2-filter-bar__left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .ev2-filter-select-wrap select {
        width: 100%;
    }
    .ev2-monthly-listing {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ev2-month-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
    .ev2-month-grid .slick-slide {
        margin-bottom: 24px;
    }
    .ev2-month-grid .slick-dots {
        margin-top: 24px;
        padding: 0;
        list-style: none;
        display: flex !important;
        justify-content: center;
        gap: 8px;
    }
    .ev2-month-grid .slick-dots li {
        margin: 0; padding: 0; width: auto; height: auto;
    }
    .ev2-month-grid .slick-dots li button {
        width: 10px; height: 10px;
        border-radius: 50%;
        background: #ccc;
        border: none; padding: 0;
        font-size: 0; line-height: 0;
        cursor: pointer;
    }
    .ev2-month-grid .slick-dots li button:before { display: none; }
    .ev2-month-grid .slick-dots li.slick-active button {
        background: #333131;
    }
    .ev2-card__title {
        padding: 10px 0 8px;
        font-size: 15px;
        line-height: 1.3;
    }
    .ev2-card__btn {
        padding: 7px 14px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    .ev2-card__badge {
        top: 8px; right: 8px;
        width: 40px; height: 40px;
        font-size: 16px;
    }
    .ev2-card__badge small { font-size: 8px; }
    .ev2-card__tag {
        top: 8px; left: 8px;
        padding: 4px 9px;
        font-size: 9px;
    }
    body {
        margin-top: 0 !important;
    }

    /* Mobile list view */
    .ev2-monthly-listing.ev2-list-view .ev2-month-grid {
        gap: 12px;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card {
        background: #faf8f5;
        border-radius: 8px;
        padding: 12px;
        gap: 12px;
        border-bottom: none;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card__img-wrap {
        display: none;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card__badge {
        position: static;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card__body {
        flex: 1;
        gap: 4px;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card__category {
        display: none;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card__date {
        display: none;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card__title {
        font-size: 16px;
    }
    .ev2-monthly-listing.ev2-list-view .ev2-card__btn {
        margin-top: 8px;
        padding: 8px 20px;
    }
}
