/* Original IPL card design, displayed in one horizontally scrollable row. */
.staff-booking,
.staff-booking *,
.staff-booking *::before,
.staff-booking *::after {
    box-sizing: border-box;
}

.staff-booking {
    clear: both;
    padding: 24px 0;
    background: #faf8f4;
    color: #3f3f3e;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.staff-booking--poruba {
    border-top: 1px solid #d4c6b6;
    background: #e6ddd1;
}

.staff-booking-intro {
    clear: both;
    padding: 24px 0 0;
    background: #faf8f4;
    text-align: center;
}

.staff-booking-intro + .staff-booking {
    padding-top: 14px;
}

.staff-booking__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.staff-booking__heading {
    margin-bottom: 14px;
    text-align: center;
}

.staff-booking__heading .staff-booking__eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #6a5847;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    text-wrap: balance;
}

.staff-booking__eyebrow::before {
    content: "";
    flex: 0 0 24px;
    height: 2px;
    background: #507900;
}

.staff-booking-intro h2 {
    margin: 0;
    color: #3f3f3e;
    font-family: "Baloo Tammudu", "Segoe UI", Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.staff-booking__grid {
    display: flex;
    gap: 18px;
    margin: 0 auto;
}

.staff-booking .staff-booking-card {
    display: flex;
    flex: 0 0 calc((100% - 54px) / 4);
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 20px 12px;
    border: 1px solid #75645426;
    border-radius: 14px;
    background: #f1ece4;
    color: #3f3f3e;
    text-align: center;
    text-decoration: none;
    transition: background .2s, box-shadow .2s;
}

.staff-booking .staff-booking-card:hover {
    background: #e9e2d7;
    box-shadow: 0 8px 24px #4b3e3018;
}

.staff-booking .staff-booking-card:focus-visible {
    outline: 3px solid #354b13;
    outline-offset: 4px;
}

.staff-booking-card img {
    display: block;
    width: min(100%, 150px);
    height: auto;
    aspect-ratio: 1;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
}

.staff-booking-card h3 {
    margin: 17px 0 0;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.staff-booking-card__action {
    margin-top: auto;
    padding-top: 12px;
    color: #426000;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 960px) {
    .staff-booking .staff-booking-card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media (max-width: 640px) {
    .staff-booking {
        padding: 20px 0;
    }

    .staff-booking__container {
        width: calc(100% - 28px);
    }

    .staff-booking .staff-booking-card {
        flex-basis: calc((100% - 14px) / 2);
        padding: 16px 10px;
    }

    .staff-booking__grid {
        gap: 14px;
    }

    .staff-booking-card h3 {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .staff-booking .staff-booking-card {
        transition: none;
    }
}
