/* Prodex — Events promotion band (home #events → events landing) */

.events-promo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: stretch;
    margin-top: 56px;
    padding: 40px;
    overflow: hidden;
    border: 1px solid rgba(24, 211, 160, .22);
    border-radius: 28px;
    background:
        linear-gradient(255deg, rgba(17, 201, 143, .10), transparent 58%),
        linear-gradient(150deg, #072620, #04140f 62%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

.events-promo::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 4px;
    background: linear-gradient(to bottom, #36f5bf, #11c98f 55%, transparent);
}

.events-promo-glow {
    position: absolute;
    inset-inline-start: -120px;
    top: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 201, 143, .20), transparent 68%);
    pointer-events: none;
}

.events-promo-body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.events-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border: 1px solid rgba(24, 211, 160, .3);
    border-radius: 30px;
    background: rgba(9, 46, 38, .7);
    color: #6fe3c0;
    font-size: 13px;
    line-height: 1.4;
}

.events-promo-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #36f5bf;
    box-shadow: 0 0 0 4px rgba(54, 245, 191, .16);
}

.events-promo h3 {
    margin: 18px 0 0;
    color: #f7fbfa;
    font-size: 34px;
    line-height: 1.5;
    font-weight: 800;
}

.events-promo-body > p {
    max-width: 62ch;
    margin: 12px 0 0;
    color: #9dbdb4;
    font-size: 15px;
    line-height: 2;
}

.events-promo-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.events-promo-points li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b6d4cb;
    font-size: 14px;
    line-height: 1.6;
}

.events-promo-points i {
    color: #18d3a0;
    font-size: 14px;
}

.events-promo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 28px;
}

.events-promo-cta,
.events-promo-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    min-height: 52px;
    line-height: 1;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.events-promo-cta {
    padding: 0 30px;
    border: 0;
    background: linear-gradient(135deg, #18d3a0, #0e9f7c);
    color: #032018;
    box-shadow: 0 14px 34px rgba(17, 201, 143, .26);
}

/* the label must stay in flow, otherwise the button collapses to its padding */
.events-promo-cta-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.events-promo-cta:hover,
.events-promo-cta:focus-visible {
    transform: translateY(-2px);
    color: #032018;
    box-shadow: 0 18px 42px rgba(17, 201, 143, .38);
}

.events-promo-cta i {
    font-size: 13px;
    transition: transform .2s ease;
}

.events-promo-cta:hover i {
    transform: translateX(-4px);
}

.events-promo-alt {
    padding: 0 22px;
    border: 1px solid rgba(120, 170, 158, .32);
    background: transparent;
    color: #b6d4cb;
    font-weight: 600;
}

.events-promo-alt:hover,
.events-promo-alt:focus-visible {
    border-color: rgba(24, 211, 160, .55);
    color: #d8f2ea;
}

.events-promo a:focus-visible {
    outline: 3px solid #36f5bf;
    outline-offset: 3px;
}

/* Next-event card */
.events-promo-aside {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(24, 211, 160, .2);
    border-radius: 22px;
    background: rgba(4, 30, 25, .72);
}

.events-promo-aside p {
    margin: 0;
}

.events-promo-aside-title {
    color: #7fa79c;
    font-size: 13px;
    letter-spacing: .02em;
}

.events-promo-next {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 10px !important;
    color: #d8f2ea;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
}

.events-promo-next strong {
    color: #36f5bf;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.events-promo-next-name {
    margin-top: 12px !important;
    color: #f7fbfa;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
}

.events-promo-seats {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(120, 170, 158, .18);
    color: #9dbdb4;
    font-size: 13px;
}

.events-promo-seats i {
    color: #18d3a0;
}

@media (max-width: 991px) {
    .events-promo {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 24px;
    }

    .events-promo h3 {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .events-promo-actions {
        gap: 12px;
    }

    .events-promo-cta,
    .events-promo-alt {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .events-promo-cta,
    .events-promo-alt,
    .events-promo-cta i {
        transition: none;
    }

    .events-promo-cta:hover {
        transform: none;
    }
}

/* ── Upcoming events cards: rebuild the broken grid ────────────────── */

.prodex-upcoming-section .upcoming-event-card {
    position: relative;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: 24px;
    row-gap: 20px;
    align-items: start;
    min-height: 0;
    padding: 24px;
    border: 1px solid rgba(24, 211, 160, .2);
    border-radius: 26px;
    background: linear-gradient(150deg, rgba(7, 42, 36, .92), rgba(4, 22, 18, .92));
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.prodex-upcoming-section .upcoming-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(54, 245, 191, .42);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

/* the orphaned overlay left behind by the old 3-column layout */
.prodex-upcoming-section .upcoming-event-card::before {
    content: none;
}

.prodex-upcoming-section .upcoming-event-card > figure {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 168px;
    height: 100%;
    min-height: 230px;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
}

.prodex-upcoming-section .upcoming-event-card > figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prodex-upcoming-section .upcoming-event-card > .event-date,
.prodex-upcoming-section .upcoming-event-card:nth-child(2) > .event-date {
    position: absolute;
    top: 34px;
    inset-inline-start: 34px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: auto;
    grid-row: auto;
    width: 68px;
    height: 78px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0e9f7c, #043329);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
    color: #eafff8;
}

.prodex-upcoming-section .upcoming-event-card > .event-date strong {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.prodex-upcoming-section .upcoming-event-card > .event-date span {
    font-size: 13px;
}

.prodex-upcoming-section .upcoming-event-card > .event-info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

/* the CTA was absolutely positioned with magic offsets — back into flow */
.prodex-upcoming-section .upcoming-event-card > a {
    position: static;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(24, 211, 160, .3);
    border-radius: 12px;
    background: rgba(9, 46, 38, .6);
    color: #6fe3c0 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease;
}

.prodex-upcoming-section .upcoming-event-card > a:hover,
.prodex-upcoming-section .upcoming-event-card > a:focus-visible {
    border-color: rgba(54, 245, 191, .6);
    color: #d8f2ea !important;
}

.prodex-upcoming-section .upcoming-event-card > a:focus-visible {
    outline: 3px solid #36f5bf;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .prodex-upcoming-section .upcoming-event-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
    }

    .prodex-upcoming-section .upcoming-event-card > figure {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-height: 180px;
        max-height: 200px;
    }

    .prodex-upcoming-section .upcoming-event-card > .event-date {
        top: 32px;
        inset-inline-start: 32px;
        margin-inline-end: 0;
    }

    .prodex-upcoming-section .upcoming-event-card > .event-info,
    .prodex-upcoming-section .upcoming-event-card > a {
        grid-column: 1;
    }

    .prodex-upcoming-section .upcoming-event-card > .event-info { grid-row: 2; }
    .prodex-upcoming-section .upcoming-event-card > a { grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
    .prodex-upcoming-section .upcoming-event-card,
    .prodex-upcoming-section .upcoming-event-card > a { transition: none; }
    .prodex-upcoming-section .upcoming-event-card:hover { transform: none; }
}
