/**
 * The Padel hub (padel-hub.php), loaded only on /ballyhass-padel/, the page every visitor gets since
 * 10 November 2026.
 *
 * Ballyhass Padel's own palette, from the Padel launch page and Eoghan's design of 31 October 2026:
 * Ballyhass Navy for the dark grounds, the Padel purple (Bunkhouse Purple in the brand guide, p21)
 * for the identity, the court's Ballyhass Blue, Activities Yellow for the one thing to press, and
 * the Padel page's warm off-white. Every pairing below is measured:
 *
 *   navy on off-white 13.3:1    purple on off-white 5.6:1    white on purple 6.3:1
 *   yellow on purple 5.7:1      navy on blue 6.2:1           navy on yellow 13.3:1
 *   white on navy 15.0:1        yellow on navy 13.3:1        muted on off-white 5.7:1
 *
 * No white on blue, ever (2.4:1). Poppins throughout; subtitles and buttons in bold capitals, per
 * the brand guide. The one bold device is the first screen's padel court; the rest stays quiet.
 *
 * The court was simplified on 3 November 2026 (Eoghan, comment 11931307, point 1: "the heavy
 * borders, strong cyan backgrounds and extra horizontal strips make the grid feel slightly busy").
 * Its lines are now thin gaps between four quiet navy boxes, and only Book a court is filled, in
 * yellow. White on the navy box measures 11.0:1 and the blue icons on it 4.5:1. The court lines
 * measure 4.2:1 on the hero's navy and 3.1:1 against the boxes.
 *
 * Keyboard focus is the site's one ring (navy with a white halo, refinements.css section 6), which
 * holds 3:1 on every ground here, so this file sets no focus style of its own.
 */

.bh-padel-hub {
    --ph-purple: #8D4489;
    --ph-ground: #F3F1EC;
    --ph-line: rgba(33, 39, 47, 0.14);
    font-family: var(--bh-font);
    color: var(--bh-navy);
    background: var(--bh-white);
}

/* main.min.css gives every section a 100px bottom margin, and colours headings itself. */
.bh-padel-hub section {
    margin: 0;
}

.bh-padel-hub :is(h1, h2, h3, h4) {
    font-family: var(--bh-font);
    color: inherit;
}

.bh-padel-hub ul,
.bh-padel-hub ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---- Type ------------------------------------------------------------------------------- */

.bh-ph-eyebrow {
    margin: 0 0 var(--bh-space-2);
    color: var(--ph-purple);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bh-ph-h2 {
    max-width: 22ch;
    margin: 0 0 var(--bh-space-4);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: var(--bh-weight-black);
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-wrap: balance;
}

.bh-ph-h3 {
    margin: 0 0 var(--bh-space-3);
    font-size: var(--bh-text-lg);
    font-weight: 800;
    line-height: 1.2;
}

.bh-ph-lead {
    max-width: 40rem;
    margin: 0 0 var(--bh-space-4);
    font-size: 1.0625rem;
    font-weight: var(--bh-weight-medium);
    line-height: 1.6;
}

.bh-ph-note {
    max-width: 40rem;
    margin: var(--bh-space-3) 0 0;
    color: var(--bh-muted);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

.bh-ph-note a,
.bh-ph-visit__card a {
    color: var(--bh-navy);
    font-weight: var(--bh-weight-bold);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* ---- Buttons: bold capitals, rounded square ----------------------------------------------- */

.bh-ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: var(--bh-space-3) var(--bh-space-6);
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-black);
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.bh-ph-btn:hover,
.bh-ph-btn:focus {
    text-decoration: none;
}

.bh-ph-btn--blue {
    background: var(--bh-blue);
    color: var(--bh-on-blue);
}

.bh-ph-btn--blue:hover,
.bh-ph-btn--blue:focus {
    background: var(--bh-navy);
    color: var(--bh-white);
}

.bh-ph-btn--navy {
    background: var(--bh-navy);
    color: var(--bh-white);
}

.bh-ph-btn--navy:hover,
.bh-ph-btn--navy:focus {
    background: var(--bh-yellow);
    color: var(--bh-on-yellow);
}

.bh-ph-btn--yellow {
    background: var(--bh-yellow);
    color: var(--bh-on-yellow);
}

.bh-ph-btn--yellow:hover,
.bh-ph-btn--yellow:focus {
    background: var(--bh-white);
    color: var(--bh-navy);
}

.bh-ph-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bh-space-3);
}

/* ---- 1: the first screen ------------------------------------------------------------------- */

.bh-ph-hero {
    position: relative;
    isolation: isolate;
    padding: 0 0 var(--bh-space-12);
    overflow: hidden;
    background: var(--bh-navy);
    color: var(--bh-on-navy);
}

/* On a phone the photograph is a band at the top, under the header; the words sit on navy. */
.bh-ph-hero__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 4;
    object-fit: cover;
    object-position: 50% 45%;
}

.bh-ph-hero__scrim {
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(33, 39, 47, 0.7) 0%, rgba(33, 39, 47, 0) 100%);
    pointer-events: none;
}

.bh-ph-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--bh-space-5);
}

/* On a phone the logo and the label sit side by side, so the four ways in come higher. */
.bh-ph-hero__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: var(--bh-space-2) var(--bh-space-3);
    margin-top: -40px;
}

.bh-ph-hero__title {
    grid-column: 1 / -1;
}

.bh-ph-hero__body {
    display: grid;
    gap: var(--bh-space-3);
}

.bh-ph-hero__logo {
    display: block;
    width: 76px;
    height: auto;
}

.bh-ph-hero__kicker {
    margin: 0;
    color: var(--bh-yellow);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Compact on a phone (comment 11931307): two lines, "Outdoor padel." and "The Ballyhass way." */
.bh-ph-hero__title {
    margin: 0;
    color: var(--bh-white) !important;
    font-size: clamp(1.75rem, 7.4vw, 2.25rem);
    font-weight: var(--bh-weight-black);
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-wrap: balance;
}

.bh-ph-hero__highlight {
    display: block;
    color: var(--bh-blue);
}

.bh-ph-hero__lede {
    max-width: 34rem;
    margin: 0;
    font-size: 1.0625rem;
    font-weight: var(--bh-weight-medium);
    line-height: 1.6;
}

.bh-ph-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bh-space-2) var(--bh-space-5);
    margin-top: var(--bh-space-2) !important;
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-semibold);
}

.bh-ph-hero__facts li {
    padding-left: var(--bh-space-3);
    border-left: 3px solid var(--bh-yellow);
}

/*
 * The four ways in, as the four quarters of a padel court seen from above: a thin outline for the
 * glass, the net across the middle and the centre line down it, drawn as gaps between the boxes.
 * Book a court is the one filled box; the other three are quiet navy with a blue icon.
 */
.bh-ph-court {
    --ph-court-line: color-mix(in srgb, var(--bh-white) 45%, var(--bh-navy));
    --ph-court-box: color-mix(in srgb, var(--bh-white) 10%, var(--bh-navy));
    padding: 0;
    border: 2px solid var(--ph-court-line);
    border-radius: var(--bh-radius-md);
    background: var(--ph-court-line);
    overflow: hidden;
    box-shadow: var(--bh-shadow-md);
}

/* The net is the wider gap across the middle; the centre line is the narrow one. */
.bh-ph-court__boxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 2px;
}

.bh-ph-court__box {
    display: flex;
}

.bh-ph-court__link {
    display: grid;
    align-content: start;
    gap: var(--bh-space-1);
    width: 100%;
    min-height: 112px;
    padding: var(--bh-space-4) var(--bh-space-3);
    background: var(--ph-court-box);
    color: var(--bh-on-navy);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bh-ph-court__link .bh-ph-icon {
    color: var(--bh-blue);
}

.bh-ph-court__box--court .bh-ph-court__link {
    background: var(--bh-yellow);
    color: var(--bh-on-yellow);
}

.bh-ph-court__box--court .bh-ph-icon {
    color: var(--bh-on-yellow);
}

.bh-ph-court__link:hover,
.bh-ph-court__link:focus {
    background: var(--bh-blue);
    color: var(--bh-on-blue);
    text-decoration: none;
}

.bh-ph-court__link:hover .bh-ph-icon,
.bh-ph-court__link:focus .bh-ph-icon {
    color: var(--bh-on-blue);
}

.bh-ph-court__box--court .bh-ph-court__link:hover,
.bh-ph-court__box--court .bh-ph-court__link:focus {
    background: var(--bh-white);
    color: var(--bh-navy);
}

/* Above its neighbours, so the site's focus ring shows all round. */
.bh-ph-court__link:focus {
    position: relative;
    z-index: 2;
}

.bh-ph-icon {
    width: 28px;
    height: 28px;
}

.bh-ph-court__title {
    margin-top: var(--bh-space-1);
    font-size: clamp(1rem, 4.4vw, 1.375rem);
    font-weight: 800;
    line-height: 1.15;
}

.bh-ph-court__line {
    font-size: var(--bh-text-2xs);
    font-weight: var(--bh-weight-medium);
    line-height: 1.4;
}

.bh-ph-court__where {
    width: fit-content;
    margin-top: var(--bh-space-1);
    padding: 1px var(--bh-space-2);
    background: var(--bh-navy);
    color: var(--bh-white);
    font-size: var(--bh-text-2xs);
    font-weight: var(--bh-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Play, Progress, Belong ------------------------------------------------------------------ */

.bh-ph-identity {
    background: var(--ph-purple);
    color: var(--bh-white);
}

.bh-ph-identity__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bh-ph-identity__list :is(a, .bh-ph-identity__item) {
    display: grid;
    gap: 2px;
    height: 100%;
    padding: var(--bh-space-4) var(--bh-space-2);
    color: var(--bh-white);
    text-align: center;
    text-decoration: none;
}

.bh-ph-identity__list a:hover .bh-ph-identity__word,
.bh-ph-identity__list a:focus .bh-ph-identity__word {
    text-decoration: underline;
    text-decoration-color: var(--bh-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.bh-ph-identity__word {
    font-size: clamp(1.125rem, 3vw, 1.75rem);
    font-weight: var(--bh-weight-black);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bh-ph-identity__line {
    display: none;
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
}

/* ---- Sections ---------------------------------------------------------------------------- */

.bh-ph-section {
    padding: var(--bh-space-12) 0;
}

/* ---- 2: Play: booking on Playtomic ---------------------------------------------------------- */

.bh-ph-book {
    background: var(--ph-ground);
}

.bh-ph-book__head {
    display: grid;
    gap: var(--bh-space-2);
    margin-bottom: var(--bh-space-8);
}

.bh-ph-book__go .bh-ph-note {
    margin-top: var(--bh-space-4);
}

.bh-ph-steps__title {
    padding-top: var(--bh-space-6);
    border-top: 1px solid var(--ph-line);
}

.bh-ph-steps {
    display: grid;
    gap: var(--bh-space-5);
    counter-reset: none;
}

.bh-ph-step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: var(--bh-space-4);
    align-content: start;
    align-items: start;
}

.bh-ph-step__art {
    position: relative;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bh-blue);
    color: var(--bh-navy);
}

.bh-ph-step__number {
    position: absolute;
    top: -4px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bh-navy);
    color: var(--bh-yellow);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-black);
}

.bh-ph-step__title {
    margin: var(--bh-space-2) 0 var(--bh-space-1);
    font-size: var(--bh-text-md);
    font-weight: 800;
    line-height: 1.25;
}

.bh-ph-step__text {
    margin: 0;
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

/* Playtomic's booking grid, behind its button, between the booking options and the steps. */
.bh-ph-embed {
    margin: 0 0 var(--bh-space-8);
}

.bh-ph-embed__frame {
    display: block;
    width: 100%;
    height: 680px;
    border: 0;
    border-radius: var(--bh-radius-md);
    background: var(--bh-white);
}

.bh-ph-embed .bh-ph-note {
    max-width: none;
}

/* ---- 3: Progress: new to padel ------------------------------------------------------------- */

.bh-ph-start__grid {
    display: grid;
    gap: var(--bh-space-8);
}

.bh-ph-start__photo {
    display: block;
    width: 100%;
    height: auto;
    margin-top: var(--bh-space-4);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--bh-radius-md);
}

.bh-ph-start__faqs .bh-faqs {
    display: grid;
    gap: var(--bh-space-3);
}

.bh-ph-start__faqs .bh-faq {
    border: 1px solid var(--ph-line);
    box-shadow: none;
}

.bh-ph-start__faqs .bh-faq__answer :is(p, li) {
    font-size: var(--bh-text-sm);
}

/* ---- 4: Belong: community, coaching and events ------------------------------------------------ */

.bh-ph-community {
    background: var(--ph-purple);
    color: var(--bh-white);
}

.bh-ph-community .bh-ph-eyebrow {
    color: var(--bh-yellow);
}

.bh-ph-community .bh-ph-note {
    color: var(--bh-white);
}

.bh-ph-community__head {
    display: grid;
    gap: var(--bh-space-6);
    margin-bottom: var(--bh-space-8);
}

.bh-ph-community__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--bh-radius-md);
}

.bh-ph-programme {
    display: grid;
    gap: var(--bh-space-8);
}

.bh-ph-status {
    display: inline-block;
    padding: var(--bh-space-1) var(--bh-space-3);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-black);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bh-ph-status--now {
    background: var(--bh-yellow);
    color: var(--bh-on-yellow);
}

.bh-ph-status--planned {
    border: 2px dashed var(--bh-white);
    color: var(--bh-white);
}

.bh-ph-programme__list ul {
    display: grid;
    gap: var(--bh-space-3);
}

.bh-ph-programme__item {
    padding: var(--bh-space-5);
    border-radius: var(--bh-radius-md);
}

.bh-ph-programme__item p {
    margin: 0 0 var(--bh-space-2);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

.bh-ph-programme__name {
    margin: 0 0 var(--bh-space-1);
    font-size: var(--bh-text-md);
    font-weight: 800;
}

.bh-ph-programme__when {
    font-weight: var(--bh-weight-bold) !important;
}

/* Bookable now: solid white cards with a button. Planned: dashed outlines, no button. */
.bh-ph-programme__list--now .bh-ph-programme__item {
    background: var(--bh-white);
    color: var(--bh-navy);
}

.bh-ph-programme__list--now .bh-ph-btn {
    margin-top: var(--bh-space-2);
}

.bh-ph-programme__list--planned .bh-ph-programme__item {
    border: 2px dashed rgba(255, 255, 255, 0.7);
}

.bh-ph-reach {
    display: grid;
    gap: var(--bh-space-6);
    margin-top: var(--bh-space-8);
    padding-top: var(--bh-space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.bh-ph-reach__item p {
    max-width: 36rem;
    margin: 0 0 var(--bh-space-4);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

.bh-ph-reach__item .bh-ph-note {
    margin-top: var(--bh-space-3);
}

/* ---- 5: groups and companies, the existing Padel events enquiry --------------------------------- */

.bh-ph-events .bh-padel-events {
    padding: var(--bh-space-12) 0 var(--bh-space-8);
}

/* Inside the page's own container, so the enquiry lines up with every other section. */
.bh-ph-events .bh-padel__shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.bh-ph-events .bh-padel__eyebrow::before {
    display: none;
}

.bh-ph-events .bh-padel__eyebrow {
    margin: 0 0 var(--bh-space-2);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bh-ph-events .bh-padel-routes__lede {
    max-width: 40rem;
    margin: 0 0 var(--bh-space-6);
    font-weight: var(--bh-weight-medium);
    line-height: 1.6;
}

.bh-ph-events__work {
    padding-bottom: var(--bh-space-8);
}

.bh-ph-events {
    background: var(--bh-navy);
    color: var(--bh-on-navy);
}

/* ---- The story ------------------------------------------------------------------------------- */

.bh-ph-story__grid {
    display: grid;
    gap: var(--bh-space-4);
}

.bh-ph-story__words {
    padding-left: var(--bh-space-5);
    border-left: 4px solid var(--ph-purple);
}

.bh-ph-story__lead {
    max-width: 40rem;
    margin: 0 0 var(--bh-space-3);
    font-size: var(--bh-text-md);
    font-weight: var(--bh-weight-bold);
    line-height: 1.5;
}

.bh-ph-story .bh-ph-lead {
    margin: 0;
}

/* ---- 6: make a day of it ------------------------------------------------------------------- */

.bh-ph-more {
    background: var(--ph-ground);
}

/* On a phone, a sideways strip of cards, each most of the screen wide. */
.bh-ph-more__scroll {
    margin: var(--bh-space-6) calc(-1 * var(--bh-space-4)) 0;
    padding: 0 var(--bh-space-4) var(--bh-space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.bh-ph-more__cards {
    display: grid;
    grid-auto-columns: 80%;
    grid-auto-flow: column;
    gap: var(--bh-space-4);
}

.bh-ph-more__cards > li {
    scroll-snap-align: start;
}

.bh-ph-more__separate {
    max-width: 44rem;
    margin: 0 0 var(--bh-space-2);
    padding: var(--bh-space-4) var(--bh-space-5);
    border-left: 4px solid var(--bh-navy);
    background: var(--bh-white);
    color: var(--bh-navy);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-semibold);
    line-height: var(--bh-leading-body);
}

.bh-ph-more__soon {
    margin-top: var(--bh-space-6);
    padding: var(--bh-space-4) var(--bh-space-5);
    border-left: 4px solid var(--ph-purple);
    background: var(--bh-white);
    color: var(--bh-navy);
}

/* ---- 7: see you at Ballyhass Mallow --------------------------------------------------------- */

.bh-ph-visit__grid {
    display: grid;
    gap: var(--bh-space-4);
    margin-top: var(--bh-space-6) !important;
}

.bh-ph-visit__card {
    padding: var(--bh-space-6);
    border: 1px solid var(--ph-line);
    border-top: 4px solid var(--ph-purple);
    border-radius: var(--bh-radius-md);
}

.bh-ph-visit__card p {
    margin: 0 0 var(--bh-space-3);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

.bh-ph-visit__card a {
    display: inline-flex;
    align-items: center;
    min-height: var(--bh-target-min);
    font-size: var(--bh-text-xs);
}

/* ---- Larger screens --------------------------------------------------------------------------- */

@media (min-width: 576px) {
    .bh-ph-identity__line {
        display: block;
    }

    .bh-ph-court__link {
        min-height: 140px;
        padding: var(--bh-space-5);
    }

    .bh-ph-court__line {
        font-size: var(--bh-text-xs);
    }

    .bh-ph-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--bh-space-8) var(--bh-space-6);
    }
}

@media (min-width: 768px) {
    .bh-ph-section {
        padding: var(--bh-space-16) 0;
    }

    .bh-ph-visit__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bh-ph-more__scroll {
        margin: var(--bh-space-6) 0 0;
        padding: 0;
        overflow: visible;
    }

    .bh-ph-more__cards {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--bh-space-5);
    }

    .bh-ph-programme {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .bh-ph-reach {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bh-ph-community__head {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
    }
}

@media (min-width: 992px) {
    /* The photograph fills the first screen; the words on the left, the court on the right. */
    .bh-ph-hero {
        display: flex;
        align-items: center;
        min-height: clamp(640px, 92vh, 860px);
        padding: 150px 0 var(--bh-space-12);
    }

    .bh-ph-hero__photo {
        position: absolute;
        inset: 0;
        z-index: -2;
        height: 100%;
        aspect-ratio: auto;
        object-position: 60% 50%;
    }

    .bh-ph-hero__scrim {
        inset: 0;
        z-index: -1;
        height: auto;
        background:
            linear-gradient(90deg, rgba(33, 39, 47, 0.94) 0%, rgba(33, 39, 47, 0.78) 45%, rgba(33, 39, 47, 0.35) 100%),
            linear-gradient(0deg, rgba(33, 39, 47, 0.6) 0%, rgba(33, 39, 47, 0) 50%);
    }

    .bh-ph-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        grid-template-areas: "head court" "body court";
        align-items: center;
        gap: var(--bh-space-6) var(--bh-space-12);
    }

    .bh-ph-hero__head {
        grid-area: head;
        grid-template-columns: minmax(0, 1fr);
        align-self: end;
        gap: var(--bh-space-3);
        margin-top: 0;
    }

    .bh-ph-hero__logo {
        width: 112px;
    }

    .bh-ph-hero__title {
        max-width: 11ch;
        font-size: clamp(3rem, 5.4vw, 4.75rem);
        line-height: 1;
        letter-spacing: -0.025em;
    }

    .bh-ph-court {
        grid-area: court;
    }

    .bh-ph-hero__body {
        grid-area: body;
        align-self: start;
    }

    .bh-ph-book__head {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: var(--bh-space-12);
        align-items: end;
    }

    .bh-ph-book__go {
        padding: var(--bh-space-6);
        border-radius: var(--bh-radius-md);
        background: var(--bh-white);
    }

    .bh-ph-court__boxes {
        gap: 6px 3px;
    }

    .bh-ph-court__link {
        min-height: 184px;
        padding: var(--bh-space-6);
    }

    .bh-ph-court__line {
        font-size: var(--bh-text-xs);
    }

    .bh-ph-icon {
        width: 36px;
        height: 36px;
    }

    .bh-ph-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bh-ph-step {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bh-ph-step__art {
        grid-row: auto;
        margin-bottom: var(--bh-space-3);
    }

    .bh-ph-start__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: var(--bh-space-12);
        align-items: start;
    }

    .bh-ph-more__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bh-ph-story__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: var(--bh-space-12);
        align-items: center;
    }

    .bh-ph-story .bh-ph-h2 {
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bh-ph-court__link {
        transition: none;
    }
}
