/**
 * A Padel programme page (template-padel-programme.php, inc/padel-programme.php), loaded only on that
 * template and after padel-hub.css, whose tokens, type, buttons, first screen, dates and visit cards it
 * shares. Junior Padel Club first (Erica, Teamwork 11936581, 18 November 2026), from her draft: the key
 * details band, Play / Progress / Belong, "Your Saturday, sorted" with the checklist, and the questions.
 *
 * A plain stylesheet with no build step, like padel-hub.css. Brand rules: Poppins; Navy, Blue, Yellow
 * and the Padel purple the hub already uses; bold capitals for labels and buttons; highlighted words
 * as a navy block with yellow text and square corners on light grounds. No white on blue. Measured:
 *
 *   yellow on navy 13.3:1     white on navy 15.0:1     blue on navy 6.2:1      navy on blue 6.2:1
 *   navy on off-white 13.3:1  purple on off-white 5.6:1  muted on off-white 5.7:1  navy on white 15.0:1
 *   rgba(255,255,255,0.82) on navy 11.0:1
 */

/* ---- Headings with a highlighted end ----------------------------------------------------------- */

.bh-pp-mark {
    display: inline;
    padding: 0 0.18em;
    background: var(--bh-navy);
    color: var(--bh-yellow);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* The tagline under the title on the first screen, as the Padel hub's highlighted line. */
.bh-pp-hero__tagline {
    margin-top: var(--bh-space-2);
    font-size: 0.62em;
    line-height: 1.15;
}

/* ---- The key details: a band under the first screen -------------------------------------------- */

.bh-pp-facts {
    padding: var(--bh-space-6) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--bh-navy);
    color: var(--bh-white);
}

.bh-pp-facts__list {
    display: grid;
    gap: var(--bh-space-4);
    margin: 0;
}

.bh-pp-facts__item {
    padding-left: var(--bh-space-3);
    border-left: 3px solid var(--bh-yellow);
}

.bh-pp-facts dt {
    margin: 0 0 var(--bh-space-1);
    color: var(--bh-blue);
    font-size: var(--bh-text-2xs, 0.75rem);
    font-weight: var(--bh-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bh-pp-facts dd {
    display: grid;
    margin: 0;
}

.bh-pp-facts dd strong {
    font-size: var(--bh-text-md);
    font-weight: 800;
    line-height: 1.3;
}

.bh-pp-facts dd span {
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
}

/* ---- The page's own words --------------------------------------------------------------------- */

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

.bh-pp-story .bh-ph-start__photo {
    margin-top: 0;
}

.bh-pp-story .bh-ph-h2 + .bh-ph-start__photo {
    margin-top: var(--bh-space-4);
}

.bh-pp-story__body > p:first-child {
    font-size: var(--bh-text-lg);
    font-weight: var(--bh-weight-semibold);
    line-height: 1.5;
}

.bh-pp-note {
    margin: var(--bh-space-6) 0 0;
    padding: var(--bh-space-4) 0 0 var(--bh-space-4);
    border-top: 1px solid var(--ph-line);
    border-left: 4px solid var(--ph-purple);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

.bh-pp-note strong {
    display: block;
    font-size: var(--bh-text-sm);
    font-weight: 800;
}

/* ---- Three cards, on navy ---------------------------------------------------------------------- */

.bh-pp-cards {
    background: var(--bh-navy);
    color: var(--bh-white);
}

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

/* On navy the highlighted end is blue text, as on the first screen: a navy block would vanish. */
.bh-pp-cards .bh-pp-mark {
    padding: 0;
    background: none;
    color: var(--bh-blue);
}

.bh-pp-cards__grid {
    display: grid;
    gap: var(--bh-space-8);
}

.bh-pp-cards__list {
    display: grid;
}

.bh-pp-card {
    padding: var(--bh-space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.bh-pp-card:first-child {
    padding-top: 0;
    border-top: 0;
}

.bh-pp-card__label {
    margin: 0 0 var(--bh-space-2);
    color: var(--bh-yellow);
    font-size: var(--bh-text-2xs, 0.75rem);
    font-weight: var(--bh-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bh-pp-card__title {
    margin: 0 0 var(--bh-space-2);
    color: var(--bh-white) !important;
    font-size: var(--bh-text-lg);
    font-weight: 800;
    line-height: 1.25;
}

.bh-pp-card__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

/* ---- Your Saturday, sorted: steps and the checklist -------------------------------------------- */

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

.bh-pp-plan__grid {
    display: grid;
    gap: var(--bh-space-8);
}

.bh-pp-plan .bh-ph-lead p {
    margin: 0 0 var(--bh-space-2);
}

.bh-pp-steps {
    margin-top: var(--bh-space-6);
    padding: var(--bh-space-6);
    border-radius: var(--bh-radius-md);
    background: var(--bh-white);
}

.bh-pp-steps__list {
    display: grid;
    gap: var(--bh-space-4);
}

.bh-pp-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: var(--bh-space-3);
    align-items: start;
}

.bh-pp-step__number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bh-blue);
    color: var(--bh-on-blue);
    font-weight: var(--bh-weight-black);
}

.bh-pp-step p,
.bh-pp-checklist__item p,
.bh-pp-included > span:last-child {
    display: grid;
    gap: 2px;
    margin: 0;
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-medium);
    line-height: var(--bh-leading-body);
}

.bh-pp-step strong,
.bh-pp-checklist__item strong,
.bh-pp-included strong {
    font-size: var(--bh-text-sm);
    font-weight: 800;
}

.bh-pp-checklist__list {
    display: grid;
}

.bh-pp-checklist__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--bh-space-3);
    padding: var(--bh-space-4) 0;
    border-bottom: 1px solid var(--ph-line);
}

.bh-pp-checklist__number {
    color: var(--ph-purple);
    font-size: var(--bh-text-xs);
    font-weight: var(--bh-weight-black);
    line-height: 1.8;
}

.bh-pp-included {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--bh-space-3);
    margin: var(--bh-space-5) 0 0;
    padding: var(--bh-space-5);
    border-radius: var(--bh-radius-md);
    background: var(--bh-navy);
    color: var(--bh-white);
}

.bh-pp-included > span:last-child span {
    color: rgba(255, 255, 255, 0.82);
}

/* A tick in a yellow disc, drawn, so nothing is read out. */
.bh-pp-included__tick {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bh-yellow);
}

.bh-pp-included__tick::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 11px;
    width: 9px;
    height: 14px;
    border: solid var(--bh-navy);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* ---- The dates, on white between the two off-white parts, and the questions ------------------------ */

.bh-padel-programme .bh-ph-book {
    background: var(--bh-white);
}

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

.bh-pp-faqs__grid {
    display: grid;
    gap: var(--bh-space-6);
}

.bh-pp-faq {
    border-bottom: 1px solid var(--ph-line);
}

.bh-pp-faq summary {
    position: relative;
    display: block;
    padding: var(--bh-space-4) var(--bh-space-8) var(--bh-space-4) 0;
    cursor: pointer;
    list-style: none;
}

.bh-pp-faq summary::-webkit-details-marker {
    display: none;
}

.bh-pp-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    color: var(--ph-purple);
    font-size: 1.75rem;
    font-weight: var(--bh-weight-bold);
    line-height: 1;
    transform: translateY(-50%);
}

.bh-pp-faq[open] summary::after {
    content: "\2212";
}

.bh-pp-faq__question {
    margin: 0;
    font-size: var(--bh-text-sm);
    font-weight: 800;
    line-height: 1.4;
}

.bh-pp-faq__answer {
    padding: 0 var(--bh-space-6) var(--bh-space-4) 0;
}

.bh-pp-faq__answer 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-pp-faq__answer a {
    color: var(--bh-blue-text);
    font-weight: var(--bh-weight-bold);
    text-decoration: underline;
}

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

@media (min-width: 576px) {
    .bh-pp-facts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .bh-pp-facts__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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