/* ==========================================================================
   A CLUB BY ANTHONY LLOBET — REFINE LAYER  (aclub-refine.css)
   Load LAST, after style.css and every other aclub-*.css file.

   What it does: makes type, spacing and alignment consistent across the
   site. It changes no layouts and no colours. It is additive: remove this
   one file and the site is exactly as it was before.

   How it works: the earlier stylesheets were written page by page and each
   sized its headings and spacing for that one page. Here every text element
   is assigned ONE role, and every role has ONE value, defined once as a
   token below. Sizes are fluid (clamp), so there are no per-breakpoint
   ladders to drift, and longer Spanish / Catalan / French headings shrink
   with the viewport instead of overflowing.

   Measured in a browser on the theme itself (16 page types, desktop width),
   before -> after
     heading sizes                26 -> 12
     heading line-heights         13 -> 4
     paragraph styles             19 -> 9   (one body style; the rest are the
                                             small-print, centred and serif
                                             statement styles)
     space between paragraphs     9 values -> 20px
     space above a button         9 values -> 32px
     section paddings             38 -> 11
     text hidden under a photo    22 places across 5 widths -> 0
     pages wider than the screen  About, at every width -> none
   Same result in Spanish, Catalan and French.

   To retune the whole site, change a token. Do not add per-page font sizes.
   ========================================================================== */

:root {
    /* ---- Type scale. Max = desktop size, min = phone size. ---- */
    --ac-fs-display-l:  clamp(42px, 8.05vw, 160px);  /* short titles: "Why A Club?"           */
    --ac-fs-display-m:  clamp(36px, 6.1vw, 120px);   /* longer titles, closing statements      */
    --ac-fs-display-s:  clamp(34px, 5.55vw, 96px);   /* section headings that are sentences    */
    --ac-fs-display-xs: clamp(30px, 4.17vw, 72px);   /* secondary section headings             */
    --ac-fs-heading-l:  clamp(28px, 3.6vw, 56px);    /* headings inside a block                */
    --ac-fs-heading-m:  clamp(26px, 2.75vw, 40px);   /* large card titles, article H2          */
    --ac-fs-heading-s:  clamp(24px, 2.2vw, 32px);    /* card titles                            */
    --ac-fs-lead:       clamp(21px, 2.2vw, 32px);    /* serif statement lines                  */
    --ac-fs-lead-s:     clamp(19px, 1.95vw, 28px);   /* serif notes and kickers                */
    --ac-fs-body:       18px;                        /* theme body size                        */
    --ac-fs-small:      16px;
    --ac-fs-label:      14px;

    /* ---- Line heights, one per role ---- */
    --ac-lh-display: 90%;    /* theme value for all large Acta titles */
    --ac-lh-heading: 110%;
    --ac-lh-lead:    130%;
    --ac-lh-body:    140%;
    --ac-lh-tight:   104%;   /* theme value for uppercase declarations */

    /* ---- Weights ---- */
    --ac-fw-body:  400;      /* theme weight for sentence-case text */
    --ac-fw-label: 500;

    /* ---- Spacing ---- */
    --ac-space-section:       clamp(64px, 8.4vw, 120px);  /* top and bottom of a section */
    --ac-space-section-tight: clamp(40px, 4.5vw, 64px);   /* where two blocks belong together */
    --ac-gap-cols:            clamp(36px, 6.6vw, 96px);   /* heading column | copy column */
    --ac-gap-cards:           clamp(24px, 2.8vw, 40px);
    --ac-gap-rows:            clamp(40px, 4vw, 56px);
    --ac-mb-display:          clamp(24px, 3.4vw, 48px);   /* under a display heading */
    --ac-mb-heading:          clamp(16px, 1.7vw, 24px);   /* under a block heading */
    --ac-row-pad:             16px;                       /* hairline list rows */
    --ac-gap-para:      20px;                        /* between two paragraphs               */
    --ac-gap-button:    32px;                        /* above a button that follows text     */
    --ac-col-heading:         42%;                        /* width of the heading column */
}

@media only screen and (max-width: 767px) {
    :root {
        --ac-fs-body:  16px;
        --ac-fs-small: 15px;
        --ac-fs-label: 13px;
        --ac-row-pad:  14px;
    }
}

/* --------------------------------------------------------------------------
   1. DISPLAY HEADINGS — four sizes, one line-height
   -------------------------------------------------------------------------- */
.why-intro h2,
.standard-section h2,
.training-section h2,
.cards-section > .container > h2,
.about-hero-content h1,
.notes-banner h1 {
    font-size: var(--ac-fs-display-l);
    line-height: var(--ac-lh-display);
}
.final-cta-section h2,
.consult-section h2,
.faq-section h2,
.contact-title h1,
.faq-banner h1,
.page-template-about #row-1 .info-content h2 {
    font-size: var(--ac-fs-display-m);
    line-height: var(--ac-lh-display);
}
.unisex-section h2,
.list-section h2,
.enquiry-grid h2,
.creative-head h2,
.colour-grid h2,
.why-work-grid h2,
.experience-grid h2,
.apply-grid h2,
.rhythm-content h2,
.antoine-about .antoine-content h2,
.local-grid h2,
.related-section > .container > h2,
.reasons-grid h2,
.english-section.fluent-section h2,
.page-template-single-service .services-section .text-container h1,
.article-header h1 {
    font-size: var(--ac-fs-display-s);
    line-height: var(--ac-lh-display);
}
.pool-content h2,
.contact-routes h2,
.english-section h2,
.featured-content h2,
.hero-transition,
.soho-page .soho-content h2 {
    font-size: var(--ac-fs-display-xs);
    line-height: var(--ac-lh-display);
}

/* Long words in translated headings wrap instead of pushing the layout wide. */
.why-intro h2,
.standard-section h2,
.training-section h2,
.cards-section > .container > h2,
.about-hero-content h1,
.notes-banner h1,
.final-cta-section h2,
.consult-section h2,
.faq-section h2,
.contact-title h1,
.faq-banner h1,
.page-template-about #row-1 .info-content h2,
.unisex-section h2,
.list-section h2,
.enquiry-grid h2,
.creative-head h2,
.colour-grid h2,
.why-work-grid h2,
.experience-grid h2,
.apply-grid h2,
.rhythm-content h2,
.antoine-about .antoine-content h2,
.local-grid h2,
.related-section > .container > h2,
.reasons-grid h2,
.english-section.fluent-section h2,
.page-template-single-service .services-section .text-container h1,
.article-header h1,
.pool-content h2,
.contact-routes h2,
.english-section h2,
.featured-content h2,
.hero-transition,
.soho-page .soho-content h2 {
    overflow-wrap: break-word;
    text-wrap: balance;
    /* A very long word ("International", "Esdeveniments") in a narrow column
       breaks with a hyphen instead of mid-word. Shorter words never hyphenate. */
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 12 5 5;
}

/* --------------------------------------------------------------------------
   2. BLOCK AND CARD HEADINGS — three sizes, one line-height
   -------------------------------------------------------------------------- */
.faq-group > h2,
.antoine-content h2,
.soho-content h2 {
    font-size: var(--ac-fs-heading-l);
    line-height: var(--ac-lh-heading);
}
.service-cards-lg .service-card h3,
.article-body h2,
.contact-card h3 {
    font-size: var(--ac-fs-heading-m);
    line-height: var(--ac-lh-heading);
}
.service-card h3,
.note-card h3,
.route-item h3 {
    font-size: var(--ac-fs-heading-s);
    line-height: var(--ac-lh-heading);
}

/* --------------------------------------------------------------------------
   3. SERIF STATEMENT LINES — the large Acta sentences
   -------------------------------------------------------------------------- */
.standard-list li {
    font-size: var(--ac-fs-heading-m);
    line-height: var(--ac-lh-lead);
}
.consult-lead,
.article-pull p,
.fluent-section .english-phrases p,
.soho-kicker,
.other-content-below .origin-bridge,
.faq-item > summary,
.why-work-lead {
    font-size: var(--ac-fs-lead);
    line-height: var(--ac-lh-lead);
}
.article-standfirst,
.english-phrases p,
.experience-note p,
.training-note p,
.unisex-note p,
.pool-kicker {
    font-size: var(--ac-fs-lead-s);
    line-height: var(--ac-lh-lead);
}

/* --------------------------------------------------------------------------
   4. BODY TEXT — one size, one weight, one line-height, one alignment
   The theme justifies its text and sets sentence-case copy at weight 400.
   The new sections were left-aligned at weight 300. They now follow the theme.
   -------------------------------------------------------------------------- */
.ac-copy p,
.hero-lead-copy p,
.insta-intro p,
.faq-answer p,
.article-body p,
.article-body li,
.english-phrases .english-phrases-note,
.service-cards-lg .service-card p,
.final-cta-section p {
    font-size: var(--ac-fs-body);
    font-weight: var(--ac-fw-body);
    line-height: var(--ac-lh-body);
}
.ac-copy p,
.hero-lead-copy p,
.insta-intro p,
.faq-answer p,
.article-body p {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
}
/* Serif lines that sit inside .ac-copy are statements, not body text. */
.ac-copy p.consult-lead,
.ac-copy p.soho-kicker,
.ac-copy p.pool-kicker,
.ac-copy p.why-work-lead,
.training-note p,
.experience-note p,
.unisex-note p,
.english-phrases p,
.final-cta-section p {
    text-align: inherit;
    -webkit-hyphens: manual;
    hyphens: manual;
}
.ac-copy p.consult-lead,
.ac-copy p.soho-kicker,
.ac-copy p.pool-kicker,
.ac-copy p.why-work-lead {
    text-align: left;
    font-weight: 300;
}
.ac-copy p.consult-lead,
.ac-copy p.soho-kicker,
.ac-copy p.why-work-lead { font-size: var(--ac-fs-lead); line-height: var(--ac-lh-lead); }
.ac-copy p.pool-kicker   { font-size: var(--ac-fs-lead-s); line-height: var(--ac-lh-lead); }
.final-cta-section p { text-align: center; }

/* The theme's own sentence-case paragraphs were set at 104%, which suited two
   lines of copy and is too tight for the longer rebrand copy now in them.
   They take the same line-height as every other paragraph. Uppercase
   declarations (.hero-content p, .mission-content p ...) keep the theme's 104%. */
.text-container p,
#row-1 .info-content p,
#row-2 .info-content p,
#row-3 .info-content p,
.other-content-below p,
.events-other-content.content-left p,
.academy-other-content p,
.testimonial-info p {
    font-size: var(--ac-fs-body);
    line-height: var(--ac-lh-body);
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
}

.why-list li,
.service-list li,
.reasons-list li,
.enquiry-list li,
.find-contact p,
.find-contact a {
    font-size: var(--ac-fs-body);
    font-weight: var(--ac-fw-body);
    line-height: var(--ac-lh-body);
}
.service-card p,
.note-card p,
.route-item p,
.contact-card p,
.author-text p {
    font-size: var(--ac-fs-small);
    font-weight: var(--ac-fw-body);
    line-height: var(--ac-lh-body);
}
.antoine-role,
.antoine-about .antoine-role,
.author-text h4,
.article-body h3 {
    font-size: var(--ac-fs-small);
    font-weight: var(--ac-fw-label);
    line-height: var(--ac-lh-body);
    letter-spacing: 0.02em;
}
.trust-track li,
.faq-jump a,
.notes-filter a,
.location-overlay .location-actions a,
.contact-card .contact-card-links a,
.find-contact h4 {
    font-size: var(--ac-fs-label);
    font-weight: var(--ac-fw-label);
    letter-spacing: 0.04em;
}
/* Text links keep the theme's button size everywhere, including inside cards. */
.service-card .btn-primary,
.note-card .btn-primary,
.service-cards-lg .service-card .btn-primary {
    font-size: 18px;
}

/* --------------------------------------------------------------------------
   5. SECTION RHYTHM — one vertical padding for every added section
   Was: 100, 110, 120, 130 and 140px on top; 100 to 160px below.
   -------------------------------------------------------------------------- */
.why-section,
.english-section,
.soho-section,
.antoine-section,
.final-cta-section,
.standard-section,
.training-section,
.rhythm-section,
.consult-section,
.unisex-section,
.cards-section,
.list-section,
.faq-section,
.pool-callout,
.local-section,
.enquiry-section,
.contact-routes,
.reasons-section,
.why-work-section,
.apply-section,
.experience-section,
.related-section {
    padding-top: var(--ac-space-section);
    padding-bottom: var(--ac-space-section);
}
/* Blocks that continue the one above or below them use the tight value. */
.colour-section        { padding-top: var(--ac-space-section); padding-bottom: var(--ac-space-section-tight); }
.antoine-about         { padding-top: var(--ac-space-section-tight); }
.about-final-cta       { padding-top: var(--ac-space-section-tight); }
/*.soho-section.soho-page{ padding-top: 0; }*/
.notes-featured        { padding-top: var(--ac-space-section-tight); padding-bottom: var(--ac-space-section); }
.notes-grid-section    { padding-bottom: var(--ac-space-section); }
.contact-cards-section { padding-bottom: var(--ac-space-section); }
.faq-page-sections     { padding-bottom: var(--ac-space-section); }
.article-body          { padding-top: var(--ac-space-section-tight); padding-bottom: var(--ac-space-section-tight); }

/* Text banners (pages with no hero image): same clearance under the header. */
.faq-banner,
.contact-banner,
.notes-banner,
.article-header {
    padding-top: clamp(130px, 13.2vw, 190px);
    padding-bottom: var(--ac-space-section-tight);
}

/* --------------------------------------------------------------------------
   6. TWO-COLUMN BLOCKS — one gap, one heading-column width
   Was: gaps of 70, 80, 90 and 100px; heading columns of 38, 40, 42, 44 and
   46%. The copy column now starts on the same vertical line in every section.
   -------------------------------------------------------------------------- */
.hero-lead,
.why-grid,
.english-grid,
.colour-grid,
.creative-head,
.antoine-grid,
.training-grid,
.rhythm-grid,
.consult-grid,
.unisex-grid,
.pool-grid,
.local-grid,
.enquiry-grid,
.reasons-grid,
.why-work-grid,
.apply-grid,
.experience-grid,
.featured-grid {
    gap: var(--ac-gap-cols);
}
.hero-transition,
.why-intro,
.colour-grid h2,
.creative-head h2,
.training-section h2,
.consult-section h2,
.local-grid h2,
.enquiry-grid h2,
.reasons-grid h2,
.why-work-grid h2,
.experience-grid h2,
.apply-grid h2 {
    flex: 0 0 var(--ac-col-heading);
    max-width: none;
}
.why-intro h2 { max-width: none; }

@media only screen and (max-width: 1023px) {
    .hero-lead,
    .why-grid,
    .english-grid,
    .colour-grid,
    .creative-head,
    .antoine-grid,
    .training-grid,
    .rhythm-grid,
    .consult-grid,
    .unisex-grid,
    .pool-grid,
    .local-grid,
    .enquiry-grid,
    .reasons-grid,
    .why-work-grid,
    .apply-grid,
    .experience-grid,
    .featured-grid {
        gap: 32px;
    }
    .hero-transition,
    .why-intro,
    .colour-grid h2,
    .creative-head h2,
    .training-section h2,
    .consult-section h2,
    .local-grid h2,
    .enquiry-grid h2,
    .reasons-grid h2,
    .why-work-grid h2,
    .experience-grid h2,
    .apply-grid h2 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Full-width headings: two measures instead of ten. */
.standard-section h2,
.cards-section > .container > h2,
.faq-banner h1,
.contact-title h1 {
    max-width: 14ch;
}
.list-section h2,
.unisex-section h2,
.english-section h2,
.english-section.fluent-section h2,
.contact-routes h2,
.article-header h1,
.faq-group > h2,
.rhythm-content h2,
.pool-content h2,
.antoine-content h2,
.antoine-about .antoine-content h2 {
    max-width: 18ch;
}
.final-cta-section h2 { max-width: 16ch; }

/* --------------------------------------------------------------------------
   7. SPACE UNDER HEADINGS — three values instead of fourteen
   -------------------------------------------------------------------------- */
.standard-section h2,
.cards-section > .container > h2,
.why-intro h2,
.about-hero-content h1,
.notes-banner h1,
.faq-banner h1,
.contact-title h1 {
    margin-bottom: var(--ac-mb-display);
}
.final-cta-section h2 {
    margin: 0 auto clamp(20px, 2.3vw, 32px);
}
.final-cta-section p {
    margin-bottom: clamp(28px, 2.8vw, 40px);
}
.unisex-section h2,
.list-section h2,
.english-section h2,
.contact-routes h2,
.related-section > .container > h2,
.rhythm-content h2,
.pool-content h2,
.featured-content h2,
.page-template-single-service .services-section .text-container h1,
.article-header h1 {
    margin-bottom: clamp(20px, 2.3vw, 32px);
}
.soho-content h2,
.faq-group > h2 {
    margin-bottom: var(--ac-mb-heading);
}
.antoine-content h2,
.antoine-about .antoine-content h2 {
    margin-bottom: 16px;
}
.antoine-role,
.antoine-about .antoine-role {
    margin-bottom: 32px;
}
.service-card h3,
.service-cards-lg .service-card h3,
.contact-card h3,
.route-item h3 {
    margin-bottom: 14px;
}
.article-body h2 { margin: clamp(36px, 4vw, 56px) 0 var(--ac-mb-heading); }
.article-body p  { margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   8. LISTS, CARDS AND BUTTONS
   -------------------------------------------------------------------------- */
.why-list li,
.service-list li,
.reasons-list li,
.enquiry-list li {
    padding: var(--ac-row-pad) 0;
}
.standard-list li {
    padding: clamp(14px, 1.7vw, 24px) 0;
}

.service-cards,
.route-grid {
    gap: var(--ac-gap-rows) var(--ac-gap-cards);
}
.service-cards.service-cards-lg,
.contact-cards,
.notes-grid {
    gap: var(--ac-gap-rows) var(--ac-gap-cards);
}

/* A button after copy always sits 32px below it. Before, this ranged from
   0 to 40px depending on the section. */
.ac-copy > a.btn-primary,
.ac-copy > a.btn-fill {
    margin-top: 12px;                 /* + the 20px under the paragraph = 32px */
}
.ac-copy > div + a.btn-primary,
.ac-copy > div + a.btn-fill,
.ac-copy + a.btn-primary,
.ac-copy + a.btn-fill {
    margin-top: 32px;
}
.hero-cta,
.insta-cta {
    margin-top: 32px;
}

/* --------------------------------------------------------------------------
   9. PAGE TITLES UNDER A HERO IMAGE
   Used on About, Salons, the five salon pages, Events, English-speaking,
   Careers and Soho House. These rules were only in aclub-about.css, so any
   page that did not load that file showed an unstyled H1 squeezed into the
   theme's 420px hero column. They are restated here so the title is right
   whichever files a page loads.
   -------------------------------------------------------------------------- */
.hero-content.about-hero-content {
    /* The theme sets every div to width:100% and gives .hero-content an 84px
       left margin, so "max-width: none" made the block 84px wider than its
       container and the page scrolled sideways on desktop. */
    max-width: calc(100% - 84px);
}
@media only screen and (max-width: 767px) {
    .hero-content.about-hero-content { max-width: 100%; }
}
.about-hero-content h1 {
    font-family: 'Acta Light';
    font-weight: 300;
    color: var(--black);
    max-width: 16ch;
    margin: 0 0 var(--ac-mb-display);
    overflow-wrap: break-word;
    text-wrap: balance;
}
.about-hero-content p {
    max-width: 560px;
}
.about-hero-content .btn-flex {
    display: flex;
    justify-content: flex-start;   /* the theme spreads these to both edges */
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: 28px;
}

/* --------------------------------------------------------------------------
   10. SENTENCE HEADINGS IN THE THEME'S ONE-WORD TITLE SLOTS
   The theme sets the heading beside an intro image at 240px, which was built
   for one word ("Services", "Events"). Several rebrand headings in that slot
   are whole sentences ("Finding a hair salon in another country can be
   stressful") and at 240px they run to nine lines.
   aclub-refine.js adds .ac-title-long to any heading in these slots with more
   than two words. The class can also be written straight into the template,
   in which case the script is not needed for this part.
   The same script also shrinks a single long word in these slots
   ("Esdeveniments", "Événements") just enough to stay inside the page; that
   part cannot be done in CSS and does need the script.
   -------------------------------------------------------------------------- */
.services-section .text-container h1.ac-title-long,
.services-section .text-container h2.ac-title-long,
.events-section .text-container h2.ac-title-long,
.about_info .info-content h2.ac-title-long {
    font-family: 'Acta Light';
    font-weight: 300;
    color: var(--black);
    font-size: var(--ac-fs-display-s);
    line-height: var(--ac-lh-display);
    margin: 0 0 clamp(20px, 2.3vw, 32px);
    max-width: none;
    overflow-wrap: break-word;
    text-wrap: balance;
}

/* --------------------------------------------------------------------------
   11. TRUST TICKER WITH MOTION TURNED OFF
   For visitors whose device asks for reduced motion the ticker stops, but its
   items stayed on one unbroken line and made the homepage scroll sideways.
   They now wrap inside the page.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .trust-marquee {
        overflow: hidden;
        flex-wrap: wrap;
    }
    .trust-track {
        flex: 1 1 100%;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }
    .trust-track li {
        white-space: normal;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   12. TEXT THAT RAN UNDERNEATH A PHOTO
   The theme's collage blocks were composed around one short paragraph. With
   the longer rebrand copy the second photo covered the end of the text on
   Services, Events and About. The photos keep their overlap with each other;
   they just no longer sit on top of the words.
   -------------------------------------------------------------------------- */
/* Services and Events intro: the small photo starts 24px to the right of the
   394px text column instead of 265px inside it. The percentage is the width
   of the text column measured against the image column (40/60, then 50/50). */
@media (min-width: 768px) {
    .events-section .flex .text-container p,
    .page-template-services .services-section .text-container p {
        max-width: calc(100% - 24px);
    }
    .events-section .flex .image-container .overlay-image,
    .page-template-services .services-section .image-container .overlay-image {
        left: calc(418px - 66.667%);
        right: auto;
    }
}
@media (min-width: 768px) and (max-width: 1239px) {
    .events-section .flex .image-container .overlay-image,
    .page-template-services .services-section .image-container .overlay-image {
        left: calc(418px - 100%);
        max-width: calc(200% - 418px);   /* never past the right edge of the page */
    }
}
/* Services intro: the small photo is shown at its file size by the theme and
   hung out of the bottom of the section, over the first lines of the next
   one. It now ends level with the large photo. */
@media (min-width: 768px) {
    .page-template-services .services-section .image-container .overlay-image {
        max-height: 62%;
        width: auto;
    }
}
/* Home, "Signature services": between 800 and 991px the theme hung the small
   photo 4px past the right edge, which let the whole page slide sideways. */
@media (min-width: 768px) and (max-width: 991px) {
    .services-section .image-container > .overlay-image {
        right: max(-8.1%, -30px);
    }
}
/* About intro: the theme pulls the second and third photos up by 15% of the
   page width, which is further than the gap between the blocks, so they
   covered the last lines of the block above whenever its text was longer
   than its photo (always on laptops, and on desktop in French and Catalan).
   The pull is now smaller than the gap, so 40px always stays clear. */
@media (min-width: 992px) {
    #row-2 .info-image,
    #row-3 .info-image {
        margin-top: -60px;
    }
}
@media (max-width: 767px) {
    #row-1 .info-image {
        margin-top: -40px;
    }
}

/* --------------------------------------------------------------------------
   13. LANGUAGE LIST IN THE MENU
   Marks the language being read. The class is added by aclub-i18n.
   -------------------------------------------------------------------------- */
.language li a.is-current {
    text-decoration: underline;
    text-decoration-thickness: 0.05em;
    text-underline-offset: 0.12em;
}

/* --------------------------------------------------------------------------
   14. WHAT WAS STILL IN THE OLD STYLE ON THE LIVE THEME
   Found by rendering the theme itself. The theme's stylesheet was partly
   updated during the rebrand (capitals removed, weight 500 changed to 400 in
   most places), which left three text styles side by side on the same pages.
   Everything below brings the remaining ones into line.
   -------------------------------------------------------------------------- */

/* 14.1 Paragraphs. These were still at 104% line height, and four of them
   were still in bold capitals (Events, the service pages, Contact). They now
   match every other paragraph: sentence case, regular weight, 140%. */
.about-content p,
.locations-content p,
.testimonials-content p,
.hero-content p,
.mission-content p,
.mision-other-content p,
.vision-content p,
.academy-content p,
.bottom-content p,
.contact-content p,
.events-info p,
.events-other-content p,
.info-content p,
.map-location p,
.find-us-section > .container > p,
.single-service-section .text-container p {
    font-size: var(--ac-fs-body);
    font-weight: var(--ac-fw-body);
    line-height: var(--ac-lh-body);
    text-transform: none;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
}

/* 14.1b One gap between paragraphs, one gap above a button.
   Paragraphs in the same block were 14, 18, 20, 32, 36, 40 or 43px apart
   depending on the section, and a button sat anywhere from 0 to 40px under
   the text. Now: 20px between paragraphs, 32px above a button. */
.ac-copy p + p,
.faq-answer p + p,
.hero-content p + p,
.about-content p + p,
.locations-content p + p,
.testimonials-content p + p,
.mission-content p + p,
.mision-other-content p + p,
.vision-content p + p,
.events-other-content p + p,
.contact-content p + p,
.info-content p + p,
.other-content-below p + p,
.find-us-section > .container > p + p,
.content-section .content p + p {
    margin-top: var(--ac-gap-para);
}
.faq-answer p,
.hero-content p,
.page-template-locations .hero-content p,
.page-template-single-service .hero-content p,
.about-content p,
.locations-content p,
.info-content p,
.page-template-single-location .locations-section .locations-content,
.page-template-single-location .locations-section .locations-content p:not(:last-child) {
    margin-bottom: 0;
}
.final-cta-section p {
    margin-bottom: var(--ac-gap-button);
}
.soho-content .ac-copy,
.featured-content .ac-copy {
    margin-bottom: 0;                 /* the button below brings its own 32px */
}
/* The intro blocks beside a photo (Services, Events, service pages, Careers,
   English-speaking). The theme spaced these paragraphs 36 to 43px apart. */
.services-section .flex .text-container p,
.events-section .flex .text-container p,
.single-service-section .flex .text-container p {
    margin-top: 0;
    margin-bottom: 0;
}
.single-service-section .flex .text-container p:not(:last-child),
.page-template-single-service .services-section .flex .text-container p:not(:last-child) {
    margin-bottom: 0;
}
.services-section .flex .text-container p + p,
.events-section .flex .text-container p + p,
.single-service-section .flex .text-container p + p {
    margin-top: var(--ac-gap-para);
}
.services-section .flex .text-container h1,
.services-section .flex .text-container h2,
.events-section .flex .text-container h2 {
    margin-bottom: var(--ac-mb-display);
}
/* Buttons under text. (Inside .ac-copy this is already handled in section 8.) */
.hero-content > a.btn-primary,
.hero-content > a.btn-fill,
.hero-content > .btn-flex,
.about-hero-content .btn-flex,
.about-content a.btn-primary,
.locations-content > a.btn-primary,
.locations-content + a.btn-fill,
.info-content > a.btn-primary,
.text-container > a.btn-primary {
    margin-top: var(--ac-gap-button);
}

/* 14.2 Standard pages (Privacy Policy, Legal Notice, Cookies Policy). The
   headings were being shown in an artificial bold the font does not have. */
.content-section .content p,
.content-section .content li {
    font-size: var(--ac-fs-body);
    font-weight: var(--ac-fw-body);
    line-height: var(--ac-lh-body);
}
.content-section .content h2,
.content-section .content h3,
.content-section .content h4 {
    font-family: 'Acta Light';
    font-weight: 300;
    line-height: var(--ac-lh-heading);
    color: var(--black);
    margin: 1.4em 0 0.5em;
}
.content-section .content h2 { font-size: var(--ac-fs-heading-m); }
.content-section .content h3,
.content-section .content h4 { font-size: var(--ac-fs-heading-s); }
.content-section .content > :first-child { margin-top: 0; }

/* Standard page title: long translated titles ("Politique de confidentialité")
   wrap inside the page instead of running off a phone screen. */
.page-section .title h1 {
    overflow-wrap: break-word;
}

/* 14.3 Headings that had sizes of their own. */
.about-content h2 {
    font-size: var(--ac-fs-heading-l);
    line-height: var(--ac-lh-heading);
    margin-bottom: var(--ac-mb-heading);
}
.about-title h2,
.find-us-quote h3 {
    font-size: var(--ac-fs-display-xs);
    line-height: var(--ac-lh-display);
}
/* Service pages, the consultation block: the only section heading on the site
   still set in the sans-serif. It now uses the same serif as the headings
   above and below it. */
.single-service-section .text-container h2,
.single-service-section .image-container h2 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: var(--ac-fs-display-s);
    line-height: var(--ac-lh-display);
}
.single-service-section .text-container h2 {
    margin-bottom: var(--ac-mb-display);
}

/* 14.4 Events page title. The Events hero has no .about-hero-content class,
   so its H1 was a small artificial-bold line in the 420px column while every
   other page title is a large serif. Same treatment as section 9. */
.page-template-events .hero-section .hero-content {
    max-width: calc(100% - 84px);
}
@media only screen and (max-width: 767px) {
    .page-template-events .hero-section .hero-content { max-width: 100%; }
}
.page-template-events .hero-section .hero-content h1 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: var(--ac-fs-display-l);
    line-height: var(--ac-lh-display);
    color: var(--black);
    max-width: 16ch;
    margin: 0 0 var(--ac-mb-display);
    overflow-wrap: break-word;
    text-wrap: balance;
}
.page-template-events .hero-section .hero-content p {
    max-width: 560px;
}

/* 14.5 Serif notes that sit inside a copy block (About: Training, Soho House:
   The experience). They are statements, not body text. */
.ac-copy .training-note p,
.ac-copy .experience-note p {
    font-size: var(--ac-fs-lead-s);
    font-weight: 300;
    line-height: var(--ac-lh-lead);
    text-align: left;
    -webkit-hyphens: manual;
    hyphens: manual;
}

/* 14.6 The theme's own sections join the same vertical rhythm.
   The added sections all use one padding (section 5). The theme's older
   sections each had their own: 48 to 164px above, 66 to 264px below, so the
   space between two sections changed from one to the next. One service-page
   section (.pricing-section) had no padding at all. */
.services-section,
.page-template-services .services-section,
.page-template-single-service .services-section,
.events-section,
.locations-section,
.page-template-single-location .locations-section,
.testimonials-section,
.about_info,
.page-template-about .about_info,
.mission-section,
.single-service-section,
.pricing-section,
.content-section {
    padding-top: var(--ac-space-section);
    padding-bottom: var(--ac-space-section);
}
/* (.about_info.events_info keeps its own deeper padding: the theme's rule for
   it is more specific and its last photo hangs into that space.) */
/* These keep the theme's phone padding, which makes room for photos that
   hang below the text on small screens. */
@media only screen and (min-width: 768px) {
    .page-template-locations .locations-section,
    .vision-section {
        padding-top: var(--ac-space-section);
        padding-bottom: var(--ac-space-section);
    }
    .find-us-section {
        padding-bottom: var(--ac-space-section);
    }
}
@media only screen and (max-width: 767px) {
    .page-template-services .services-section { padding-bottom: 151px; }
}
/* Salon pages: "Find us" starts a new background colour, so it needs the
   same space above it as any other section. The theme gave it none. */
.page-template-single-location .find-us-section {
    padding-top: var(--ac-space-section);
}

/* ==========================================================================
   15. ADDED 18 NOVEMBER 2026 — client's final corrections
   ========================================================================== */

/* 15.1 Service pages: one H1 only.
   The title of a second section (for example "AirTouch Balayage" under
   "Colour & Balayage") is now an <h2 class="ac-h1">. It keeps the look the
   section title had as an H1. The class is added by aclub-i18n/aclub-site.php. */
.page-template-single-service .services-section .text-container h2.ac-h1 {
    font-family: 'Acta Light';
    font-style: normal;
    font-weight: 300;
    color: var(--black);
    position: relative;
    z-index: 2;
    font-size: var(--ac-fs-display-s);
    line-height: var(--ac-lh-display);
    margin: 0 0 var(--ac-mb-display);
    max-width: none;
    text-transform: none;
    overflow-wrap: break-word;
    text-wrap: balance;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 12 5 5;
}

/* 15.2 Footer contact form: an invitation line, then email + short message.
   Used when the Contact Form 7 form has the classes shown in COPY-CHANGES.md
   (footer-invite, row-form-message, subscribe-message). Without those
   classes nothing here applies and the footer looks as before. */
.form-info-footer .footer-invite {
    font-family: 'Simplon Norm';
    font-size: var(--ac-fs-body, 18px);
    font-weight: 400;
    line-height: 140%;
    color: var(--black);
    text-align: left;
    margin: 0 0 14px;
    max-width: 46ch;
}
.form-info-footer form .row-form.row-form-message {
    align-items: flex-end;
    flex-wrap: wrap;
}
.form-info-footer form .row-form.row-form-message > p {
    display: contents;
}
.form-info-footer form .row-form.row-form-message .wpcf7-form-control-wrap {
    flex: 1 1 200px;
    min-width: 0;
}
.form-info-footer form .row-form.row-form-message .wpcf7-form-control-wrap[data-name="your-message"] {
    flex: 2 1 280px;
}
.form-info-footer form .row-form.row-form-message textarea.subscribe-field {
    height: 44px;
    min-height: 44px;
    resize: vertical;
    display: block;
}
.form-info-footer .footer-privacy,
.form-info-footer .footer-privacy a {
    font-family: 'Simplon Norm';
    font-size: 14px;
    line-height: 140%;
    color: var(--black);
    margin: 12px 0 0;
}
.form-info-footer .wpcf7-response-output {
    font-family: 'Simplon Norm';
    font-size: 16px;
    line-height: 140%;
    margin: 14px 0 0;
    padding: 10px 14px;
}

/* 15.3 Footer links: a small label above the list ("Explore"). */
.additional-links .ac-nav-label {
    font-family: 'Simplon Norm';
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--black);
    opacity: 0.6;
    margin-bottom: 6px;
}

/* 15.4 Mobile bar (Book, WhatsApp, Call, Locations): keep it clear of the
   phone's home indicator, and above the reCAPTCHA badge. */
@media only screen and (max-width: 767px) {
    .sticky-bar {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .sticky-bar-item span {
        display: block;
        white-space: nowrap;
    }
    body.has-sticky-bar .grecaptcha-badge {
        bottom: 80px !important;
    }
    body.menu-open .sticky-bar {
        display: none;
    }
}

/* 15.5 Pool House: the photo of the building sits in a wide frame, which
   crops it top and bottom. Keep the top of the building in view. Applies
   only to that photo, by its file name. */
.soho-image img[src*="pool-house-barcelona-exterior"] {
    object-position: 50% 12%;
}
