body.events-page {
    background: #f5f3ee;
}

.dashboard-map-link {
    display: inline-block;
    margin-top: 6px;
    color: #58695e;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
}

.events-shell {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
    padding: 70px 0 96px;
}

.events-hero {
    max-width: 820px;
    margin-bottom: 44px;
}

.events-hero h1,
.event-booking-summary h1,
.event-form-card h2,
.event-complete-card h1,
.event-payment-review h1,
.event-payment-card h2,
.booking-row h2 {
    margin: 0;
    color: #252622;
    font-family: 'Fraunces', serif;
    font-weight: 900;
    line-height: .95;
}

.events-hero h1,
.event-booking-summary h1,
.event-complete-card h1 {
    font-size: 72px;
}

.events-hero p:not(.eyebrow),
.event-booking-summary p,
.event-complete-card p {
    color: #59615b;
    font-size: 20px;
    line-height: 1.5;
    word-wrap: break-word;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.event-card,
.event-form-card,
.event-booking-summary,
.event-complete-card,
.booking-row {
    padding: 32px;
    border: 1px solid rgba(37, 38, 34, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(37, 38, 34, .04);
}

.event-card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.event-card-image {
    height: 240px;
    margin: -32px -32px 28px;
    overflow: hidden;
    background: #e1ded6;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.event-date {
    margin: 0 0 18px;
    color: #70483e;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.event-card h2 {
    margin: 0;
    color: #252622;
    font-size: 34px;
    line-height: 1.08;
}

.event-card p:not(.event-date),
.event-meta dd,
.booking-row p,
.event-note {
    color: #59615b;
    font-size: 17px;
    line-height: 1.48;
}

.event-host {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(37, 38, 34, .72);
    font-size: 13px;
}

.event-host-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(37, 38, 34, .18);
    border-radius: 50%;
    object-fit: cover;
}

.event-host-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5dccb;
    font-weight: 800;
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.event-meta div {
    padding-top: 14px;
    border-top: 1px solid rgba(37, 38, 34, .12);
}

.event-meta dt {
    margin-bottom: 6px;
    color: #252622;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.event-meta dd {
    margin: 0;
}

.event-meta dd span {
    display: block;
    margin-top: 4px;
}

.event-action,
.event-submit,
.events-actions a,
.booking-row-empty a {
    min-height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #252622;
    background: #252622;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.event-action-disabled {
    cursor: not-allowed;
    border-color: #9b8f80;
    background: #9b8f80;
}

.event-note-strong {
    padding: 16px;
    border: 1px solid rgba(112, 72, 62, .22);
    background: #fbf9f3;
    color: #70483e;
    font-weight: 800;
}

.event-action:hover,
.event-action:focus-visible,
.event-submit:hover,
.event-submit:focus-visible,
.events-actions a:hover,
.events-actions a:focus-visible,
.booking-row-empty a:hover,
.booking-row-empty a:focus-visible {
    background: #70483e;
    border-color: #70483e;
}

.event-action-disabled:hover {
    border-color: #9b8f80;
    background: #9b8f80;
}

.event-booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 32px;
    align-items: start;
}

.event-form-card h2 {
    margin-bottom: 26px;
    font-size: 42px;
}

.event-field {
    margin-bottom: 20px;
}

.event-field label {
    display: block;
    margin-bottom: 8px;
    color: #252622;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-field input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1.5px solid #aab2ae;
    border-radius: 0;
    background: #fff;
    color: #252622;
    font-size: 17px;
}

.event-field input:focus {
    border-color: #252622;
    outline: 2px solid rgba(112, 72, 62, .18);
    outline-offset: 2px;
}

.event-field.has-error input {
    border-color: #8d3d36;
}

.event-field span {
    display: block;
    margin-top: 8px;
    color: #8d3d36;
    font-size: 13px;
    font-weight: 700;
}

.event-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 16px;
}

.event-submit {
    width: 100%;
    justify-content: space-between;
    cursor: pointer;
}

.event-payment-shell {
    width: min(1120px, calc(100% - 48px));
}

.event-payment-review > header {
    max-width: 840px;
    margin-bottom: 42px;
}

.event-payment-review > header h1 {
    font-size: clamp(52px, 7vw, 86px);
}

.event-payment-review > header > p:last-child {
    max-width: 650px;
    margin: 24px 0 0;
    color: #59615b;
    font-size: 18px;
    line-height: 1.55;
}

.event-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
    gap: 24px;
    align-items: start;
}

.event-payment-card {
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(37, 38, 34, .18);
    background: #fff;
}

.event-payment-card h2 {
    margin-bottom: 30px;
    font-size: clamp(34px, 4vw, 48px);
}

.event-review-list,
.event-payment-total dl {
    margin: 0;
}

.event-review-list > div,
.event-payment-total dl > div {
    padding: 17px 0;
    display: grid;
    grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(37, 38, 34, .16);
}

.event-review-list dt,
.event-payment-total dt {
    color: #59615b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-review-list dd,
.event-payment-total dd {
    margin: 0;
    color: #252622;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.event-review-list dd span {
    margin-top: 5px;
    display: block;
    color: #59615b;
    font-size: 13px;
    font-weight: 400;
}

.event-payment-total {
    background: #252622;
    color: #fff;
}

.event-payment-total h2,
.event-payment-total .eyebrow,
.event-payment-total dt,
.event-payment-total dd {
    color: #fff;
}

.event-payment-total dl > div {
    border-color: rgba(255, 255, 255, .22);
}

.event-payment-total dl > div:not(.event-payment-grand-total) dd {
    text-align: right;
}

.event-payment-total .event-payment-grand-total {
    margin-bottom: 26px;
    align-items: end;
}

.event-payment-grand-total dd {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 900;
    line-height: 1;
    text-align: right;
}

.event-payment-button {
    border-color: #f5f3ee;
    background: #f5f3ee;
    color: #252622;
}

.event-payment-button:hover,
.event-payment-button:focus-visible {
    border-color: #cbb98d;
    background: #cbb98d;
}

.event-secure-note,
.event-configuration-warning,
.event-payment-status {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.55;
}

.event-payment-status {
    margin: 0 0 18px;
}

.event-payment-status strong {
    color: #fff;
}

.event-configuration-warning {
    color: #f1cf9f;
}

.event-review-back {
    margin-top: 28px;
    padding-bottom: 4px;
    display: inline-block;
    border-bottom: 1px solid currentColor;
    color: #252622;
    font-size: 12px;
    font-weight: 800;
}

.event-confirmation-grid {
    margin: 34px 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(37, 38, 34, .14);
}

.event-confirmation-grid div {
    padding: 22px;
    border-right: 1px solid rgba(37, 38, 34, .14);
}

.event-confirmation-grid div:last-child {
    border-right: 0;
}

.event-confirmation-grid span {
    display: block;
    margin-bottom: 8px;
    color: #59615b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-confirmation-grid strong {
    color: #252622;
    font-size: 22px;
}

.events-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.booking-list {
    display: grid;
    gap: 16px;
}

.booking-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.booking-row h2 {
    font-size: 34px;
}

.booking-row span,
.booking-row strong {
    display: block;
    text-align: right;
}

.booking-row span {
    margin-bottom: 8px;
    color: #59615b;
}

.booking-row strong {
    color: #70483e;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.booking-payment-link {
    margin-top: 12px;
    padding-bottom: 3px;
    display: inline-block;
    border-bottom: 1px solid currentColor;
    color: #252622;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 860px) {
    .events-shell {
        width: min(100% - 28px, 620px);
        padding: 44px 0 72px;
    }

    .events-hero h1,
    .event-booking-summary h1,
    .event-complete-card h1 {
        font-size: 48px;
    }

    .events-grid,
    .event-booking-grid,
    .event-payment-grid,
    .event-meta,
    .event-confirmation-grid,
    .event-form-row,
    .booking-row {
        grid-template-columns: 1fr;
    }

    .event-card,
    .event-form-card,
    .event-booking-summary,
    .event-complete-card,
    .booking-row {
        padding: 24px;
    }

    .event-card-image {
        height: 210px;
        margin: -24px -24px 24px;
    }

    .event-confirmation-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(37, 38, 34, .14);
    }

    .event-confirmation-grid div:last-child {
        border-bottom: 0;
    }

    .booking-row span,
    .booking-row strong {
        text-align: left;
    }

    .event-review-list > div,
    .event-payment-total dl > div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .event-payment-total dl > div:not(.event-payment-grand-total) dd,
    .event-payment-grand-total dd {
        text-align: left;
    }
}
