.heb-event-booking {
    --heb-red: #AE0F0A;
    --heb-dark: #23211B;
    --heb-paper: #F7F4EF;
    --heb-border: #E4DED5;
    --heb-muted: #6C675F;
    --heb-success: #237A43;
    --heb-error: #A40000;
    color: var(--heb-dark);
    font: inherit;
    line-height: 1.5;
    width: 100%;
}

.heb-event-booking *,
.heb-event-booking *::before,
.heb-event-booking *::after {
    box-sizing: border-box;
}

.heb-event-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}

.heb-event-card {
    background: #fff;
    border: 1px solid var(--heb-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(35, 33, 27, 0.08);
    padding: clamp(20px, 4vw, 30px);
}

.heb-event-card__topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.heb-event-card__date {
    color: var(--heb-red);
    font-size: 0.95rem;
    font-weight: 700;
}

.heb-availability {
    background: #F5ECEA;
    border-radius: 999px;
    color: var(--heb-red);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 11px;
}

.heb-availability--soldout {
    background: #EEECE8;
    color: var(--heb-muted);
}

.heb-event-card__title {
    color: var(--heb-dark);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    line-height: 1.2;
    margin: 0 0 18px;
}

.heb-event-meta {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.heb-event-meta > div {
    display: grid;
    gap: 2px;
    grid-template-columns: minmax(74px, auto) 1fr;
}

.heb-event-meta dt {
    color: var(--heb-muted);
    font-weight: 600;
}

.heb-event-meta dd {
    margin: 0;
}

.heb-event-card__description {
    margin: 0 0 20px;
}

.heb-booking-details {
    border-top: 1px solid var(--heb-border);
    margin-top: 22px;
    padding-top: 20px;
}

.heb-booking-details > summary {
    list-style: none;
}

.heb-booking-details > summary::-webkit-details-marker {
    display: none;
}

.heb-button {
    align-items: center;
    appearance: none;
    background: var(--heb-red);
    border: 2px solid var(--heb-red);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 11px 18px;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.heb-button:hover {
    background: #8F0C08;
    border-color: #8F0C08;
    color: #fff;
}

.heb-button:focus-visible,
.heb-event-booking input:focus-visible,
.heb-event-booking select:focus-visible,
.heb-event-booking textarea:focus-visible,
.heb-event-booking a:focus-visible {
    outline: 3px solid rgba(174, 15, 10, 0.28);
    outline-offset: 3px;
}

.heb-button[disabled],
.heb-button[aria-disabled="true"] {
    cursor: wait;
    opacity: 0.62;
}

.heb-form-wrap {
    padding-top: 22px;
}

.heb-field-grid,
.heb-ages {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.heb-field {
    min-width: 0;
}

.heb-field label,
.heb-ages-fieldset legend {
    color: var(--heb-dark);
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.heb-event-booking input[type="text"],
.heb-event-booking input[type="email"],
.heb-event-booking input[type="number"] {
    appearance: none;
    background: #fff;
    border: 1px solid #CFC9C0;
    border-radius: 9px;
    color: var(--heb-dark);
    font: inherit;
    min-height: 48px;
    padding: 10px 12px;
    width: 100%;
}

.heb-field-help {
    color: var(--heb-muted);
    display: block;
    font-size: 0.82rem;
    margin-top: 6px;
}

.heb-ages-fieldset {
    border: 0;
    margin: 20px 0 0;
    padding: 0;
}

.heb-checkbox {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    margin: 22px 0;
}

.heb-checkbox input {
    flex: 0 0 auto;
    height: 20px;
    margin-top: 2px;
    width: 20px;
}

.heb-checkbox a {
    color: var(--heb-red);
    font-weight: 600;
}

.heb-turnstile {
    margin: 0 0 20px;
    max-width: 100%;
    overflow: hidden;
}

.heb-notice,
.heb-form-error,
.heb-soldout-message {
    border-radius: 10px;
    margin: 0 0 20px;
    padding: 13px 15px;
}

.heb-notice--success {
    background: #EAF6EE;
    border: 1px solid #B9DEC6;
    color: #155B31;
}

.heb-notice--error,
.heb-form-error {
    background: #FCEBEC;
    border: 1px solid #E7B7BA;
    color: var(--heb-error);
}

.heb-notice--info,
.heb-soldout-message {
    background: var(--heb-paper);
    border: 1px solid var(--heb-border);
    color: var(--heb-dark);
}

.heb-hp {
    height: 1px !important;
    left: -10000px !important;
    overflow: hidden !important;
    position: absolute !important;
    top: auto !important;
    width: 1px !important;
}

@media (max-width: 640px) {
    .heb-field-grid,
    .heb-ages {
        grid-template-columns: 1fr;
    }

    .heb-button,
    .heb-button--submit {
        width: 100%;
    }

    .heb-event-meta > div {
        grid-template-columns: 1fr;
    }
}
