/*
 * Styles for the [imlca_ticket_pricing] shortcode.
 * Only enqueued on pages that use the shortcode.
 *
 * Colors reuse the site's Elementor global colors (Site Settings > Global
 * Colors) via CSS vars so cards stay in sync if the palette changes; each
 * has a fallback for when the var isn't defined (e.g. Elementor not loaded).
 * The "not available" state intentionally does not use a global color var —
 * it's a fixed neutral gray (#B6B6B6) regardless of the site's palette.
 */

.imlca-ticket-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.imlca-ticket-card {
    flex: 1 1 220px;
    background: #f0f0f0;
    border-radius: 20px;
    box-shadow: 0px 7px 12px 0px rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
    /* Base (not-available) text color — inherited by name/dates/price/cta
       below, which intentionally don't set their own `color`. */
    color: #B6B6B6;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.imlca-ticket-card--active {
    background-color: var(--e-global-color-primary, #0B67B2);
    color: var(--e-global-color-df20784, #FFFFFF);
}

.imlca-ticket-card--active:hover {
    background-color: var(--e-global-color-secondary, #E31F26);
}

.imlca-ticket-card__name {
    margin: 0 0 6px;
    font-family: "field-gothic-xcondensed", Sans-serif;
    font-size: 48px;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    line-height: 38px;
}

.imlca-ticket-card__dates {
    margin: 0 0 16px;
    font-family: "field-gothic-xcondensed", Sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.imlca-ticket-card__divider {
    display: flex;
    justify-content: center;
    padding-block: 10px;
    margin-bottom: 6px;
}

.imlca-ticket-card__divider-separator {
    display: block;
    width: 60%;
    max-width: 200px;
    border-top: 4px solid #B6B6B6;
}

.imlca-ticket-card--active .imlca-ticket-card__divider-separator {
    border-top-color: var(--e-global-color-accent, #CFA863);
}

.imlca-ticket-card__price {
    font-family: "field-gothic-xcondensed", Sans-serif;
    font-size: 90px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.imlca-ticket-card__cta {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 3px;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    background: #B6B6B6;
    color: #fff;
    cursor: default;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.imlca-ticket-card--active .imlca-ticket-card__cta {
    background-color: var(--e-global-color-accent, #CFA863);
    color: var(--e-global-color-df20784, #FFFFFF);
    cursor: pointer;
}

.imlca-ticket-card--active .imlca-ticket-card__cta:hover,
.imlca-ticket-card--active .imlca-ticket-card__cta:focus-visible {
    color: var(--e-global-color-text, #000000);
}

.imlca-ticket-card__cta--disabled {
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .imlca-ticket-pricing {
        gap: 12px;
    }

    .imlca-ticket-card__price {
        font-size: 60px;
    }
}
