.masterclasses-page {
    color: #173c36;
}

.masterclass-hero {
    padding: 5rem 0;
    background: linear-gradient(125deg, #123f36, #1d5b4b);
    color: #fff;
}

.masterclass-hero h1 {
    margin: .5rem 0 1rem;
    font: 700 clamp(2.5rem, 6vw, 4.5rem)/1.05 "Space Grotesk", sans-serif;
    color: #fff;
}

.masterclass-hero h1 span {
    color: #e8c46a;
}

.masterclass-hero p:last-child {
    max-width: 660px;
    color: rgba(255,255,255,.82);
    font-size: 1.1rem;
}

.masterclass-eyebrow {
    margin: 0 0 .65rem;
    color: #9a741f;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.masterclass-hero .masterclass-eyebrow {
    color: #e8c46a;
}

.masterclass-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.masterclass-section-heading h2 {
    margin: 0;
    font: 700 clamp(1.7rem, 4vw, 2.4rem)/1.2 "Space Grotesk", sans-serif;
}

.masterclass-section-heading > span {
    color: #65756f;
}

.masterclass-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e6ebe7;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 54, 45, .06);
}

.masterclass-card-image {
    display: grid;
    height: 210px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0e9, #d6e5dc);
    color: #29634f;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
}

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

.masterclass-card-image i {
    margin-right: .4rem;
    font-size: 1.25rem;
}

.masterclass-card-body {
    padding: 1.35rem;
}

.masterclass-card-kicker {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #66766f;
    font-size: .85rem;
}

.masterclass-card-kicker strong {
    color: #916d1a;
}

.masterclass-card h3 {
    margin: .8rem 0 .55rem;
    font: 700 1.3rem/1.3 "Space Grotesk", sans-serif;
}

.masterclass-card h3 a {
    color: #173c36;
    text-decoration: none;
}

.masterclass-card-body > p {
    min-height: 3.2em;
    color: #63726d;
}

.masterclass-card-date {
    margin: 1rem 0;
    color: #405d53;
    font-size: .9rem;
}

.masterclass-card-date i {
    margin-right: .4rem;
}

.masterclass-link,
.masterclass-back-link {
    color: #1d674e;
    font-weight: 700;
    text-decoration: none;
}

.masterclass-link i {
    margin-left: .35rem;
}

.masterclass-empty {
    padding: 3rem 1rem;
    border: 1px dashed #cbd9d1;
    border-radius: 1rem;
    text-align: center;
}

.masterclass-empty > i {
    color: #9a741f;
    font-size: 2rem;
}

.masterclass-empty h3 {
    margin: 1rem 0 .5rem;
}

.masterclass-empty p {
    margin: 0;
    color: #65756f;
}

.masterclass-detail-image {
    width: 100%;
    max-height: 430px;
    border-radius: 1rem;
    object-fit: cover;
}

.masterclass-detail-title {
    margin: .5rem 0 1rem;
    font: 700 clamp(2rem, 5vw, 3.5rem)/1.1 "Space Grotesk", sans-serif;
}

.masterclass-detail-summary {
    color: #526a60;
    font-size: 1.2rem;
}

.masterclass-description {
    margin-top: 2rem;
    color: #344f46;
    line-height: 1.8;
}

.masterclass-booking-card,
.masterclass-form-wrap {
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid #e6ebe7;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 54, 45, .06);
}

.masterclass-form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.masterclass-booking-card {
    position: sticky;
    top: 110px;
}

.masterclass-price {
    display: block;
    margin-bottom: 1.25rem;
    color: #916d1a;
    font: 700 1.5rem "Space Grotesk", sans-serif;
}

.masterclass-booking-card dl {
    margin: 0 0 1.5rem;
}

.masterclass-booking-card dl > div {
    padding: .8rem 0;
    border-bottom: 1px solid #edf0ed;
}

.masterclass-booking-card dt {
    color: #6a7973;
    font-size: .8rem;
    font-weight: 500;
}

.masterclass-booking-card dd {
    margin: .2rem 0 0;
    font-weight: 600;
}

.masterclass-primary-button {
    padding: .8rem 1rem;
    border: 0;
    border-radius: .65rem;
    background: #176247;
    color: #fff;
    font-weight: 700;
}

.masterclass-primary-button:hover,
.masterclass-primary-button:focus {
    background: #104c38;
    color: #fff;
}

.masterclass-closed-message {
    padding: .85rem;
    border-radius: .65rem;
    background: #f7f1df;
    color: #755918;
    text-align: center;
}

.masterclass-booking-note {
    margin: 1rem 0 0;
    color: #687871;
    font-size: .82rem;
}

.masterclass-booking-note i {
    margin-right: .35rem;
}

.masterclass-form-wrap {
    width: min(100%, 620px);
    margin: 0 auto;
}

.masterclass-form-wrap h1 {
    margin: .25rem 0 1rem;
    font: 700 clamp(1.8rem, 5vw, 2.7rem)/1.15 "Space Grotesk", sans-serif;
}

.masterclass-form-intro {
    color: #61736b;
}

.masterclass-form label {
    color: #304e43;
    font-weight: 600;
}

.masterclass-form .form-control {
    min-height: 48px;
    border-color: #d7e0da;
}

.masterclass-payment-summary {
    display: grid;
    grid-template-columns: minmax(110px, .75fr) 1.25fr;
    gap: .85rem 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: .75rem;
    background: #f5f8f5;
}

.masterclass-payment-summary span {
    color: #66766f;
}

.masterclass-payment-summary strong {
    overflow-wrap: anywhere;
}

.masterclass-success-icon {
    display: grid;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    background: #e3f2e9;
    color: #176247;
    font-size: 2rem;
}

@media (max-width: 575.98px) {
    .masterclass-hero {
        padding: 3.5rem 0;
    }

    .masterclass-section-heading {
        align-items: start;
        flex-direction: column;
    }

    .masterclass-payment-summary {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .masterclass-payment-summary strong:not(:last-child) {
        margin-bottom: .65rem;
    }
}
