/**
 * Location "Editorial" template.
 *
 * Loaded by inc/location-variant.php only where single-location-editorial.php renders.
 *
 * Below the hero this template renders the Default (A-1) body and takes A-1's spacing
 * from style.css unchanged. (The A-2 layout copies this file used to carry were dropped
 * when the body became A-1's.) The one exception is the About section, re-laid out in
 * section 2 as two columns; it is scoped to this template's body class, so A-1 keeps the
 * stacked, centred version.
 *
 * The rest is this template's own components, each on its own namespace so nothing here
 * can reach the shared hero, carousel or icon-card rules:
 *   .lph-*  panoramic hero       blocks/location-pano-hero.php            (rendered)
 *   .lab-*  amenity bar          blocks/location-amenity-bar.php          (rendered)
 *   .lei-*  intro exterior photo blocks/location-intro.php                (rendered)
 *   .lnl-*  nearby locations row blocks/location-nearby.php               (rendered)
 *   .lesv-* day-office card       blocks/location-editorial-services.php   (rendered)
 *   .lmr-*  meeting room band    blocks/location-editorial-meeting-rooms.php (rendered)
 *   .lerv-* member reviews      blocks/location-editorial-reviews.php     (rendered)
 *   .lep-*  product spread       blocks/location-editorial-product.php    (not rendered)
 *   .lea-*  numbered highlights  blocks/location-editorial-highlights.php (not rendered)
 *
 * The last two are reached only from blocks/scrollspy-nav-editorial.php, which the
 * template stopped loading when the body became A-1's. They are kept here, unreferenced,
 * so the per-product layout can be put back without rebuilding it; nothing on the page
 * carries those class names, so these rules match nothing.
 *
 * The full gallery is the shared #full-gallery overlay the Default and A-2 templates use,
 * styled by style.css (`.gallery-overlay`); there is nothing for it here.
 */

/* ---------------------------------------------------------------------------
   1. Panoramic hero
   --------------------------------------------------------------------------- */

/* The group padding is the site-wide 100px / 60px; the top is dropped so the photo sits
   under the breadcrumbs, exactly as .location-hero does on the other templates. The bottom
   is trimmed because the scrollspy nav below brings its own 64px margin: at the full 100px
   the filmstrip was left floating in empty black. */
.location-template-single-location-editorial .site-inner .content .location-pano-hero {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    color: var(--color-text-primary);
    position: relative;

    /* The photo and the copy occupy the same grid area, so the text sits over the lower
       part of the panorama without either element being positioned absolutely against a
       height this file would have to guess at. The filmstrip takes the row below. */
    display: grid;
    grid-template-areas:
        "stage"
        "bar"
        "strip";
    grid-template-columns: minmax(0, 1fr);
}

.lph-stage {
    grid-area: stage;
    position: relative;
    overflow: hidden;

    /* Full-bleed. `--lucid-scrollbar` is the measured scrollbar width (0 where the
       scrollbar overlays the page, as on macOS and phones), printed by
       inc/location-variant.php; the same measurement the home hero uses. Without it a
       classic scrollbar pushes the photo off-centre by half its width. */
    width: calc(100vw - var(--lucid-scrollbar, 0px));
    margin-left: calc(50% - 50vw + var(--lucid-scrollbar, 0px) / 2);

    /* Panoramic, but never so tall that the page below is off screen on a laptop. */
    aspect-ratio: 21 / 9;
    max-height: 76vh;
    min-height: 420px;
}

.lph-pano {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reading surface for the hero copy. Keyed to the page background, and fully opaque
   before the photo ends, so the panorama resolves into the filmstrip row below it as one
   surface instead of stopping on a visible edge. */
.lph-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(var(--color-bg-primary-rgb), 0) 20%,
        rgba(var(--color-bg-primary-rgb), 0.45) 52%,
        rgba(var(--color-bg-primary-rgb), 0.82) 78%,
        rgba(var(--color-bg-primary-rgb), 1) 94%
    );
    pointer-events: none;
}

/* The site-wide `.fade` separator paints a 690px gradient upward from its own line
   (style.css), to lift the top of the section that follows. Directly under this hero that
   lift lands on the filmstrip row instead, so the hero reads as a lighter panel ending on
   a hard edge at the separator. The scrim above already resolves the photo into the page
   background, so the lift is dropped here and the hero, the filmstrip and the section
   below share one surface. */
.location-template-single-location-editorial .location-pano-hero + hr.wp-block-separator.fade::before {
    content: none;
}

/* Every `.wp-block-group` on the site is pulled out to the viewport and re-constrained by
   its `__inner-container` (style.css, both breakpoints). This hero has no inner container —
   the photo is meant to run the full width — so the text and the filmstrip take the 1280px
   measure and the page gutter here instead, which keeps them in line with the breadcrumbs
   above and the sections below. */
.lph-copy,
.lph-strip-wrap {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.lph-copy {
    grid-area: stage;
    align-self: end;
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
}

.lph-copy-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* The base step between title, tagline, buttons and rating; the two rules below add to
       it where a pair reads as a bigger break than the line above it. */
    gap: 22px;
    max-width: 720px;
}

.lph-title {
    margin: 0;
    font-size: 3.3em;
    letter-spacing: 0.025em;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "clig" 0;
}

/* One step up from body copy, in the display serif and the site's gold, so the pitch under
   the title reads as a line of its own rather than the caption the address used to be. */
.lph-tagline {
    margin: 0;
    line-height: 1.5;
    font-family: var(--font-serif);
    /* Between --fs-body-lg and --fs-body-xl rather than on either: the serif sets smaller
       than the sans at the same measure, so the token step reads as no step at all and the
       next one up starts competing with the title. 21px to 27px. */
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-style: italic;
    color: var(--color-text-accent);
}

.lph-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    /* 32px off the tagline: the buttons start a new idea, and their own padding makes a
       flat step look tighter than it measures. */
    margin-top: 10px;
}

/* The chevron on "Inquire". currentColor, not the gold of `.with-arrow`, because the
   button already sets its own text colour and the two have to match in both the filled
   and the outline treatment. It slides on hover the same 3px that chevron does. */
.lph-caret {
    display: inline-block;
    /* The button's own tracking already leaves a gap after the word, so this is the
       remainder rather than the whole step. */
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.lph-actions .btn:hover .lph-caret {
    transform: translateX(3px);
}

.lph-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    /* 24px clear of the buttons, so the stars sit with them without touching. */
    margin: 2px 0 0;
    font-size: var(--fs-body-sm);
    letter-spacing: 0.02em;
}

/* The four colour Google mark leads the row. It keeps its own brand fills rather than
   taking the accent, so there is no colour rule here, only a size. */
.lph-google {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* Two rows of five, the accent one clipped to the rating so 4.9 shows a part star. */
.lph-stars {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    line-height: 0;
}

.lph-stars-base,
.lph-stars-fill {
    display: flex;
    gap: 2px;
}

.lph-stars-base {
    color: rgba(255, 255, 255, 0.35);
}

.lph-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: var(--color-text-accent);
}

.lph-star {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.lph-rating-count {
    color: rgba(255, 255, 255, 0.7);
}

a.lph-rating:hover .lph-rating-count {
    color: var(--color-text-primary);
}

/* Filmstrip: more of the space, directly under the panorama. */
.lph-strip-wrap {
    grid-area: strip;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.lph-strip {
    display: flex;
    gap: 12px;
    margin: 0 !important;
    padding: 0;
    list-style: none !important;
    flex: 1 1 auto;
    min-width: 0;
}

.lph-strip li {
    list-style: none !important;
    margin: 0 !important;
    flex: 1 1 0;
    min-width: 0;
}

.lph-strip-item {
    display: block;
    overflow: hidden;
    /* Taller than the 3:2 the strip started at, so the thumbnails read a little larger
       without leaving the 1280px measure the copy above them keeps. */
    aspect-ratio: 4 / 3;
}

.lph-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lph-strip-item:hover img,
.lph-strip-item:focus-visible img {
    transform: scale(1.04);
}

.lph-strip-item:focus-visible {
    outline: 2px solid var(--color-text-accent);
    outline-offset: 3px;
}

.lph-strip-all {
    flex: 0 0 auto;
    font-size: var(--fs-body-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-accent);
    white-space: nowrap;
    box-shadow: inset 0 -1px 0 0 transparent;
    transition: box-shadow 0.3s ease;
}

.lph-strip-all:hover {
    box-shadow: inset 0 -1px 0 0 currentColor;
}

/* A hero with no photo at all: the copy is the whole section, so it needs the top space
   the panorama would have given it. */
.location-pano-hero.is-textonly .lph-copy {
    padding-top: 24px;
    padding-bottom: 0;
}

@media only screen and (max-width: 880px) {
    /* Over a phone-width crop the panorama has too little room below the horizon to hold
       type, so the copy moves out from under it. */
    .location-template-single-location-editorial .site-inner .content .location-pano-hero {
        /* `bar` has to be re-declared with the rest: this list replaces the one above
           wholesale, and an area the grid does not name leaves `.lab` to auto-placement,
           which collapses the copy into a column of its own. The order is the same idea
           as the full-width layout - the photo, what it says, then the icons, then the
           thumbnails - with the copy out from under the panorama. */
        grid-template-areas:
            "stage"
            "copy"
            "bar"
            "strip";
        padding-bottom: 32px;
    }

    .lph-stage {
        aspect-ratio: 4 / 3;
        min-height: 0;
        max-height: 58vh;
    }

    .lph-scrim {
        display: none;
    }

    .lph-copy {
        grid-area: copy;
        padding-top: 24px;
        padding-bottom: 0;
    }

    .lph-title {
        font-size: 2.6em;
    }

    .lph-strip-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 20px;
    }

    .lph-strip {
        width: 100%;
        /* Four thumbnails at phone width would be stamps; the row scrolls instead. */
        overflow-x: auto;
        scrollbar-width: none;
    }

    .lph-strip::-webkit-scrollbar {
        display: none;
    }

    .lph-strip li {
        flex: 0 0 45%;
    }

    /* Mobile spacing below the hero, matching the single-location rules in style.css that
       key off `.location-hero` and so do not reach this template. */
    .location-template-single-location-editorial .site-inner .content .page-nav-wrapper {
        padding-top: 0 !important;
    }

    .location-template-single-location-editorial .site-inner .content .page-nav-wrapper > .wp-block-group__inner-container > .page-nav:not([hidden]) {
        margin-top: 21px;
        margin-bottom: 0;
    }

    .location-template-single-location-editorial .page-nav:not(.is-sticky)::before {
        display: none;
    }

    .location-template-single-location-editorial .site-inner .content .page-nav-wrapper .page-scroller-wrapper > .page-section:first-child {
        padding-top: 40px;
    }
}

/* Eyebrows off, template-wide. Every section on this page opens with a small gold line
   above its h2 — "What we deliver", "Building Amenities", "Meet the Team" — and the
   editorial layout wants the heading to land first. They come from four different places
   (blocks/scrollspy-nav, blocks/location-details, blocks/location-neighborhood and the
   patterns at the foot of the template), and three of those are shared with A-1/A-2, so
   this is one body-class-scoped rule rather than a flag threaded through each source.
   The markup stays; only this template hides it. */
.location-template-single-location-editorial .section-subheading {
    display: none;
}

/* ---------------------------------------------------------------------------
   1b. Area map
   --------------------------------------------------------------------------- */

/* The drawn neighbourhood map between the hero and the body (blocks/location-area-map.php).
   It takes the same 1280px measure and page gutter as the hero copy and the filmstrip, so
   the artwork lines up with the thumbnails above it. A plain section rather than a
   `.wp-block-group`: the site-wide group rules pull a group out to the viewport and expect
   an `__inner-container` to re-constrain it, which this does not have. */
.lam-area {
    padding-top: 56px;
    padding-bottom: 8px;
}

.lam-inner {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.lam-heading {
    margin-bottom: 28px;
}

/* The file is 1249px wide, narrower than the 1244px-plus column it sits in only just, so it
   is stretched to the measure rather than left to stop short of it. */
.lam-map {
    display: block;
    width: 100%;
    height: auto;
}

/* The interactive map plots the same blocks this artwork draws, so a location with an area
   map shows one of the two, not both. The interactive one now leads the About section
   (section 2), so it is that band which goes: blocks/location-intro.php prints the interior
   photograph in the slot instead for these locations, and the map element itself stays in
   the page, hidden, so js/more.js still has its `#map`. */
.location-has-area-map .lei-map {
    display: none;
}

@media (max-width: 767px) {

    .lam-area {
        padding-top: 32px;
    }

    .lam-heading {
        margin-bottom: 20px;
    }
}

/* ---------------------------------------------------------------------------
   1b. Amenity bar: the row under the hero
   --------------------------------------------------------------------------- */

/* blocks/location-amenity-bar.php, handed to the hero through its `before_strip` slot and
   taking the `bar` row of the hero's grid: the panorama, then this, then the filmstrip.
   The row is placed explicitly because `.lph-strip-wrap` claims the `strip` area by name -
   auto-placement would step over it and drop the icons below the thumbnails.

   No rules and no fill. The hero's scrim has already resolved the panorama into the page
   background, and anything drawn around this row would cut the two apart again; the space
   above and below is what separates it. The section is already the full viewport width
   (`.wp-block-group`, see the note on `.lph-copy` above), so there is no full-bleed
   calculation here - `.lab-row` takes the same 1280px measure the copy and the filmstrip
   take, which is what lines the first icon up with the title and the first thumbnail. */
.location-template-single-location-editorial .entry-content .lab {
    grid-area: bar;
    width: 100%;
}

/* The 1280px measure and the 1rem gutter the hero copy and the filmstrip take, so the
   first and last icon line up with the title above and the sections below.

   `--lab-cols` is the number of cells the partial actually printed, set inline there. One
   track per amenity rather than a fixed eight: a location that curates a shorter list
   still gets an evenly spread row instead of eight tracks with empty ones at the end.

   The three resets undo `.entry-content ul` (style.css:8067, a 22px indent and no list
   style) and `.entry-content ul li` (:8078, a 1em bottom margin that would show up as an
   uneven gap between the two rows at the narrow breakpoints). */
.location-template-single-location-editorial .entry-content .lab-row {
    display: grid;
    grid-template-columns: repeat(var(--lab-cols, 8), minmax(0, 1fr));
    gap: 26px 14px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    /* Nothing at the foot: `.lph-strip-wrap` brings its own 40px margin-top, which is the
       gap between the icons and the thumbnails. */
    padding: 34px 1rem 0;
    list-style: none;
}

.location-template-single-location-editorial .entry-content .lab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    min-width: 0;
    margin: 0;
    text-align: center;
}

.location-template-single-location-editorial .entry-content .lab-item::before {
    content: none;
}

/* The ACF icons arrive at three different drawn sizes (24, 30 and 32 viewBox units) with
   their width and height attributes stripped by the partial, so the box sets the size and
   the artwork scales into it. Gold rather than white: it is the one accent on a row of
   quiet labels, and it ties the band to the address link in the hero directly above. */
.lab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--color-text-accent);
}

.lab-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* A caption, not a heading: the same tracked uppercase as the filmstrip's "view all
   photos" link, a step smaller, and held off pure white so eight of them in a row read as
   one band rather than eight separate statements. */
.lab-label {
    font-family: var(--font-sans-serif);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    /* --color-text-primary at 0.8; there is no white-rgb token to lean on. */
    color: rgba(255, 255, 255, 0.8);
    text-wrap: balance;
}

/* The partial splits every label into two lines at its most even break, so all eight cells
   are the same height whatever the name is. */
.lab-line {
    display: block;
}

/* Nine across is tight on a small laptop: at 1024px a track is 97px and "Professional" is
   wider than that, while "Meeting Room Access" breaks onto a third line. A narrower gutter
   and a little less tracking give each label its two lines back without wrapping the row. */
@media (min-width: 1024px) and (max-width: 1199px) {

    .location-template-single-location-editorial .entry-content .lab-row {
        column-gap: 6px;
    }

    .lab-label {
        letter-spacing: 0.08em;
    }
}

/* The tracks stop fitting before the labels do: below 1024px the row wraps to
   `--lab-cols-narrow` across, which the partial sets from the cell count - four for eight
   cells, three for nine, so the last row is never one cell on its own - and on a phone to
   two. */
@media (max-width: 1023px) {

    .location-template-single-location-editorial .entry-content .lab-row {
        grid-template-columns: repeat(var(--lab-cols-narrow, 4), minmax(0, 1fr));
        gap: 24px 14px;
    }
}

@media (max-width: 599px) {

    .location-template-single-location-editorial .entry-content .lab-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
        /* A little at the foot here: `.lph-strip-wrap` drops to a 20px margin-top below
           880px, which on its own leaves the last row of labels sitting on the photos. */
        padding: 28px 1rem 10px;
    }

    .lab-icon {
        width: 24px;
        height: 24px;
    }

    .lab-label {
        font-size: 10.5px;
        letter-spacing: 0.1em;
    }
}

/* The accordion variant: the same cells printed a second time inside the Amenities
   section, each label a button that opens the amenity's description. It is the phone's
   version of that section and nothing else - hidden here, and swapped in below. */
.lab--accordion {
    display: none;
}

/* The shared `.accordion-toggle` is styled per context, so this starts from a bare button.
   The left padding is the chevron's 12px plus the 8px gap, which keeps the label - not the
   label and its arrow - centred under the icon. */
.location-template-single-location-editorial .entry-content .lab-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0 0 0 20px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    text-align: center;
    cursor: pointer;
}

.lab-chevron {
    flex: none;
    color: var(--color-text-accent);
}

/* Closed until js/more.js slide-toggles it, which sets an inline `display: block` - so a
   plain `display: none`, with no `!important` and no media query over it. */
.lab-text {
    display: none;
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    letter-spacing: var(--ls-body-md);
    color: var(--color-text-secondary);
}

.lab-text p {
    margin: 0;
}

/* The Amenities section is these cells at every width (blocks/scrollspy-nav.php prints no
   checkmark list beside them any more). Five across on a desktop: nine across, as the hero
   row runs, would leave each opened description about 100px wide. The 1023px and 599px
   rules above take it to `--lab-cols-narrow` and then two. */
.location-template-single-location-editorial #amenities .lab--accordion {
    display: block;
}

@media (min-width: 1024px) {

    .location-template-single-location-editorial .entry-content #amenities .lab--accordion .lab-row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 36px 24px;
        max-width: none;
        padding: 8px 0 0;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {

    .location-template-single-location-editorial .entry-content #amenities .lab--accordion .lab-row {
        padding: 8px 0 0;
    }
}

@media (max-width: 599px) {

    /* The row under the hero goes: on a phone it pushed the photographs a screen down
       and said the same thing the Amenities section says two scrolls later. */
    .location-template-single-location-editorial .lph .lab,
    .location-template-single-location-editorial .entry-content .lab:not(.lab--accordion) {
        display: none;
    }

    /* The section already has its gutters; the hero's padding would double them. */
    .location-template-single-location-editorial .entry-content .lab--accordion .lab-row {
        gap: 30px 12px;
        padding: 0;
    }
}

/* ---------------------------------------------------------------------------
   2. Intro: the map in one column, the building and the address in the other
   --------------------------------------------------------------------------- */

/* The About section is the shared scroll-spy section from blocks/scrollspy-nav.php: a
   subheading, an h2 and a `.section-content` wrapper, stacked and centred. Here it is two
   columns. The map (or, for a location with a drawn area map, the interior photograph)
   takes the left one on its own and runs the full height of the row; the right one is a
   rail reading top to bottom - the building exterior in the top corner, then the eyebrow,
   the address, the copy and the actions.

   `.section-content` is set to `display: contents` so its own children — the intro
   paragraph and the two figures blocks/location-intro.php prints for this template — are
   laid out by this grid. Without that they are nested one level below the h2 and could
   not take columns of their own beside it.

   Everything is behind `:has(.lei-photo)`: a location with neither an Exterior gallery
   row nor an `intro_photo` prints no inset, and it keeps A-1's centred single column
   rather than a two column row with an empty rail. */
/* The scroll-spy nav above this section already clears it by 64px, and the section's own
   site-wide 100px on top of that left the photograph floating in black well below the
   nav. The nav's margin is the whole separation here. Scoped to this section: every
   section below it keeps the site's spacing. */
.location-template-single-location-editorial .site-inner .content #about.page-section:has(.lei-photo) {
    padding-top: 0 !important;
}

.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) {
    display: grid;

    /* The map is the picture the section is built around, so it takes the larger share;
       the rail beside it holds an inset photograph, an address and a short write-up. One
       grid row per element in the rail, with the map spanning all of them.

       The rail is what sets the height of the whole section - the map stretches to it -
       so the split is also the height control. At a narrower rail the write-up ran a line
       or two longer and took the map down with it. */
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    grid-template-areas:
        "hero inset"
        "hero eyebrow"
        "hero title"
        "hero copy"
        "hero cta"
        "hero tail";

    /* The last row takes the `fr` so a rail shorter than the map ends under its actions
       instead of having the slack shared out as gaps between its parts. */
    grid-template-rows: auto auto auto auto auto 1fr;
    column-gap: clamp(32px, 4.5vw, 64px);
    align-items: start;
}

.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) .section-content {
    display: contents;
}

/* The heading column. style.css centres this text and caps the paragraph at 928px; in
   columns of their own all three read left and fill the column they are in. */
.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) > .section-subheading,
.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) > .section-heading,
.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) .intro-paragraph {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Section 1 turns the eyebrows off template-wide, so the heading lands first in every
   section. The interior-led intro is the exception: its heading column opens on the
   eyebrow, the way the layout was drawn, and this is the only place it comes back. */
.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) > .section-subheading {
    grid-area: eyebrow;
    display: block;

    /* Both columns open on the top of the row: the eyebrow and the first line of copy
       carry margins of their own that would otherwise start them at different heights. */
    margin-top: 0;
    margin-bottom: 16px;
}

.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) > .section-heading {
    grid-area: title;

    /* A step down from the 2.3em the other sections run at: this one is an address in a
       column of its own, and at the shared size a long street name took three lines. */
    font-size: 2em;

    /* A little air before the write-up, which follows straight on in the same column.
       Far less than the heading's site-wide bottom margin: the address and its copy read
       as one block. */
    margin-bottom: 14px;
}

/* The address links to the location's Google listing. It is the heading, so it reads as
   the heading in every state: no underline at rest, and no colour change on hover - the
   underline alone is the signal. */
.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) > .section-heading a {
    color: inherit;
    text-decoration: none;
}

/* `text-decoration` rather than the inset box-shadow the filmstrip's link uses: the
   address wraps, and a shadow would rule off the whole box instead of each line. */
.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) > .section-heading a:hover,
.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) > .section-heading a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.12em;
}

.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) .intro-paragraph {
    grid-area: copy;

    /* style.css hangs `.intro-paragraph` 32px up under a centred heading, with an
       `!important` this has to match. In a column of its own that pull started the copy
       above the gold eyebrow beside it; all three columns open on the same line. */
    margin-top: 0 !important;
}

.location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) .intro-paragraph > :first-child {
    margin-top: 0;
}

/* The left column, the full height of the row. `align-self` overrides the grid's own
   `align-items: start` for this one child: the rail sets the height, and the map or the
   photograph fills it rather than stopping short and leaving the column half empty.
   `min-height` is the floor for a location whose write-up is short. */
.lei-hero {
    grid-area: hero;
    align-self: stretch;
    margin: 0;
    overflow: hidden;
    min-height: 460px;
}

.lei-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* The map in that slot. `height: 100%` all the way down to the canvas, so Mapbox measures
   the stretched column rather than style.css's own 1234/360 for `.map.single`: this is the
   picture the section is built around, and at that flat ratio it read as a strip of street
   names rather than the neighbourhood around the building. */
.lei-map {
    overflow: hidden;
}

.lei-map .map-wrap,
.lei-map .map.single {
    width: 100%;
    height: 100%;
}

/* The building, in the top corner of the rail above the address. It opens the column, so
   it keeps its own ratio and the text starts under it; the margin below is the gap to the
   eyebrow. */
.lei-photo {
    grid-area: inset;
    align-self: start;
    margin: 0 0 clamp(20px, 2vw, 26px);
    overflow: hidden;
}

.lei-photo img {
    display: block;
    width: 100%;
    height: auto;

    /* Letterboxed rather than the 16:10 it opened at: this is the one element in the rail
       whose height is set by nothing but its own crop, so it is where the section gets
       shorter without anything being cut from the copy. */
    aspect-ratio: 2 / 1;

    /* These street-level shots put the building right of centre, so a centred crop cuts
       the tower; 65% keeps it whole. Worth re-checking per location as more move onto
       this template. */
    object-fit: cover;
    object-position: 65% center;
}

/* The left column with nothing to put in it.

   A location with a drawn area map of its own hides the interactive map and shows the
   interior photograph in its place; where it has no `intro_photo` either, neither element
   renders and the rail would sit beside an empty half. The building moves into that column
   for these locations and the rail keeps the address, the copy and the actions - the same
   two column shape, one picture instead of two.

   `figure.lei-hero` is the interior photograph; the map is a `div`, so the `:not()` tests
   for the photograph alone and does not match the hidden map. */
.location-has-area-map #about > .wp-block-group__inner-container:has(.lei-photo):not(:has(figure.lei-hero)) {
    grid-template-areas:
        "inset eyebrow"
        "inset title"
        "inset copy"
        "inset cta"
        "inset tail"
        "inset tail";
}

.location-has-area-map #about > .wp-block-group__inner-container:has(.lei-photo):not(:has(figure.lei-hero)) .lei-photo {
    align-self: stretch;
    min-height: 460px;
    margin-bottom: 0;
}

.location-has-area-map #about > .wp-block-group__inner-container:has(.lei-photo):not(:has(figure.lei-hero)) .lei-photo img {
    height: 100%;
    aspect-ratio: auto;
}

/* Stacked rather than in a row: the rail is too narrow for two buttons side by side, and
   the order is the order of commitment - book, then directions. */
.lei-actions {
    grid-area: cta;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 32px;
}

/* The buttons size to their label by default, which left two of different widths stacked
   under each other. In the rail they share one edge to the other. */
.lei-actions .btn:not(.dropdown-toggle) {
    width: 100%;
    max-width: 280px;
    text-align: center;
}

@media screen and (max-width: 880px) {

    /* Stacked. A flex column rather than normal flow, because the two columns are printed
       in the order the desktop grid wants them, not the order they read in here: the
       building exterior comes last in the markup and opens the section, and the map,
       printed first, closes it. */
    .location-template-single-location-editorial #about > .wp-block-group__inner-container:has(.lei-photo) {
        display: flex;
        flex-direction: column;
    }

    .lei-photo {
        order: -1;
        margin-bottom: 24px;
    }

    /* `align-items: start` from the grid rules still applies to the flex column, so the
       actions would take their own content width and the `width: 100%` on the buttons
       would resolve against that rather than the column. */
    .lei-actions {
        order: 1;
        align-self: stretch;
    }

    .lei-hero {
        order: 2;
        min-height: 0;
        margin-top: 32px;
    }

    .lei-hero img,
    .lei-photo img,
    .lei-map .map.single {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    /* Stacked there is no column to fill, so the building goes back to its own ratio. */
    .location-has-area-map #about > .wp-block-group__inner-container:has(.lei-photo):not(:has(figure.lei-hero)) .lei-photo {
        min-height: 0;
        margin-bottom: 24px;
    }

    /* The `align-items: start` the grid above sets still applies to the flex column, so the
       band would take its own content width - whatever Mapbox's canvas last measured, 59px
       past the gutter on a 390px phone - instead of the column's. The photographs are
       stretched by their own `width: 100%`; the map says so here. */
    .lei-map {
        align-self: stretch;
    }
}

/* ---------------------------------------------------------------------------
   3. Square corners on the page's pictures
   --------------------------------------------------------------------------- */

/* Every photograph on this template is squared off. The intro figure (section 2) sets
   no radius of its own, which leaves the location thumbnail in the map popups: style.css
   rounds it, and the live Default and A-2 templates share that rule, so it is undone here
   under this template's body class rather than at the source.

   Two roundings on the page are deliberately left alone. The team photographs are full
   circles, not rounded corners, and squaring them would turn the avatars into tiles; the
   4px on the service cards in #additional-services is the card's own border, 17px clear
   of the picture inside it, so it is not a rounded photograph at all. */
.location-template-single-location-editorial .listing-img {
    border-radius: 0;
}

/* ---------------------------------------------------------------------------
   4. Solutions: editorial rows
   --------------------------------------------------------------------------- */

/* #offerings on this template is blocks/location-editorial-solutions.php: an intro line
   and then one row per `office_space_repeater` entry through
   blocks/location-editorial-product.php - photograph on one side, copy on the other, the
   sides alternating down the page. The other templates keep the tabbed carousel, which
   style.css owns under `.tc-*`; nothing here reaches it. */

.location-template-single-location-editorial #offerings > .wp-block-group__inner-container > .section-content {
    margin-top: 0;
}

/* The section opens on its heading and the line under it, both across the full 1280px
   column. The heading has to beat the site-wide 597px cap on a left-aligned section heading
   (style.css:20779), which is what used to wrap "Workspaces designed for performance." onto
   two lines here; the id in the selector is what outranks it. The standfirst dropped its own
   58ch measure with it, so the pair reads as one block set to the same width as the rows
   below. */
.location-template-single-location-editorial #offerings > .wp-block-group__inner-container > .section-heading.has-text-align-left {
    max-width: none;
}

.les-intro {
    max-width: none;
    margin: 20px 0 0 !important;

    /* Every paragraph of body copy on this template is set at the size of the write-up
       under the address (`--fs-body-md`). The markup no longer carries `.body-lg`, whose
       font-size is `!important`. The same three declarations repeat on the copy blocks below. */
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    letter-spacing: var(--ls-body-md);
}

.les-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 6vw, 96px);
    margin-top: clamp(40px, 4vw, 64px);
}

.lep {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
}

/* Alternating sides. The order is set rather than the columns reversed so the photo stays
   first in the DOM, which is the reading order on a phone where the grid is one column. */
.lep.is-mirrored .lep-media {
    order: 2;
}

/* Squared off, like every other photograph on this template (section 3). Cropped from 4/3
   to 3/2 (2026-11-12, matching css/region-product.css) so the photo stands about as tall as
   the copy beside it. */
.lep-media {
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.lep-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lep-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* An h3 renders larger than an h2 on this site - only `h2.wp-block-heading` carries a
   size override - so the row headline sets its own, a clear step below the section
   heading above it. */
.lep-title {
    font-size: 1.8em;
    line-height: 1.2;
    margin: 0 !important;
}

.lep-blurb > *:last-child {
    margin-bottom: 0 !important;
}

.lep-includes {
    border-top: 1px solid rgba(var(--color-bg-accent-rgba), 0.5);
    padding-top: 20px;
}

.lep-includes .heading-xs {
    margin: 0 0 16px;
}

/* One item per line with the site's own gold check, the same list the carousel card
   shows: the `wp-block-list` class on the <ul> in the partial brings the check with it,
   so only the spacing is set here. */
.lep-includes ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 !important;
}

.lep-includes li {
    margin: 0 !important;
}

/* The customisation list carries the same check as the inclusions above it, in two
   columns because the four items are short. */
.lep-custom ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
    margin: 0 !important;
}

/* The shared `ul.wp-block-list` rule hangs the check 22px to the left of its item, which
   the list's own indent leaves room for. Down one column the item is as wide as the list
   and the anchor does not matter; across two it does, so each item becomes the anchor -
   otherwise every check in the second column lines up under the first. The gutter is wide
   enough to hold the second column's. */
.lep-custom li {
    margin: 0 !important;
    position: relative;
}

/* Team suites only: what a suite can be made into. No rule above it - the includes list
   it follows already has one, and a second line would box the copy in. */
.lep-custom-title {
    margin: 0 0 12px !important;
    font-weight: 600;
}

.lep-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* The price is a detail of the row, not a second headline: at the --fs-body-lg it started
   at (24px) it competed with .lep-title above it, and at --fs-body-sm (14px) it read as fine
   print. --fs-body-md is the size of this template's About copy, 18px on a desktop and 14px
   on a phone, level with the inclusions list it follows (2026-11-12, matching
   css/region-product.css; it was --fs-body-md-ui, 16px/14px). */
.lep-price {
    margin: 0 !important;
    font-size: var(--fs-body-md);
    color: var(--color-text-accent);
}

.lep-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* The enterprise link sits under the buttons rather than beside them, so the pair of
   calls to action still reads as the row's own. */
.lep-enterprise {
    font-size: var(--fs-body-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-accent);
    box-shadow: inset 0 -1px 0 0 transparent;
    transition: box-shadow 0.3s ease;
}

.lep-enterprise:hover,
.lep-enterprise:focus-visible {
    box-shadow: inset 0 -1px 0 0 currentColor;
}

/* The wide row: the picture across the whole measure, the copy under it. One column, so
   the grid above only has to be told to stop being two. */
.lep.is-wide {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 3vw, 40px);
}

/* A band rather than the 4/3 the half-width rows take: at the full 1280px measure that
   crop would be 960px tall and the copy under it would start a screen below the heading.
   3/1 is the proportion the wireframe draws, and `object-fit: cover` above does the rest. */
.lep.is-wide .lep-media {
    aspect-ratio: 3 / 1;
}

/* Copy set to the measure, like `.les-intro` at the head of the section. Nothing is capped
   here: the rule that would need beating caps a left-aligned section heading, and this is
   a row headline. */
.lep.is-wide .lep-body {
    gap: 24px;
}

/* Down the columns rather than across them, which is how the pairs read in the wireframe:
   layout & build-out above furniture & finishes, branding & signage beside them. Two rows
   is what makes the flow a two-column one for four items.

   The list itself is the site's own, unstyled past its spacing: the gold check from
   `ul.wp-block-list` (style.css:8100) at the size the copy above it runs to. A dash and a
   rule per line were drawn in the wireframe to stand for a list; once the real one is in
   our type and colour it needs neither, and a grid of hairlines here is a pattern the
   site uses nowhere else.

   The gutter is wider than the half-width rows' 32px because these columns are half of
   1280px rather than half of 600px, and the pairs have to read as two lists, not four
   items in a strip. */
.lep.is-wide .lep-custom ul {
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    gap: 16px 64px;
}

/* Team suites: "Offices include" and "Customize your suite" side by side, each half the
   measure (same treatment as css/region-product.css). The rule over the inclusions moves up
   to the pair so it runs across both columns, and each list goes back to one item per line.
   Each column is a subgrid of the pair's two rows so the differently sized headings share
   the first row and both lists start on the same line. */
.lep-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 24px 64px;
    border-top: 1px solid rgba(var(--color-bg-accent-rgba), 0.5);
    padding-top: 20px;
}

.lep-lists .lep-includes,
.lep-lists .lep-custom {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
}

.lep-lists .lep-includes {
    border-top: 0;
    padding-top: 0;
}

.lep-lists .lep-includes .heading-xs,
.lep-lists .lep-custom-title {
    align-self: center;
    margin: 0 0 16px !important;
}

.lep.is-wide .lep-lists .lep-custom ul {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 16px;
}

@media only screen and (max-width: 980px) {
    .lep-lists {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
    }

    .lep-lists .lep-includes,
    .lep-lists .lep-custom {
        grid-row: auto;
        grid-template-rows: none;
    }

    .lep {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .lep.is-mirrored .lep-media {
        order: 0;
    }

    .lep-custom ul {
        grid-template-columns: minmax(0, 1fr);
    }

    /* A 3/1 band is a slit at phone width; the picture goes back to something you can see
       what is in. */
    .lep.is-wide .lep-media {
        aspect-ratio: 16 / 10;
    }

    /* One column, so the flow has to go back across: left as `column` with the single
       template row above, four items would draw four columns. */
    .lep.is-wide .lep-custom ul {
        grid-auto-flow: row;
    }
}

/* ---------------------------------------------------------------------------
   5. Numbered highlights (not rendered today, see note above)
   --------------------------------------------------------------------------- */

.location-template-single-location-editorial #amenities .section-content {
    margin-top: 32px;
}

/* Features reads as a part of Amenities, not a section after it: the same checkmark list,
   one step down. Its heading is set as the template's gold eyebrow instead of a second
   serif headline, and the section's own 100px top padding - which is what made it a new
   section - comes down to the gap between two blocks of one. The h2 stays an h2 and the
   scroll-spy link still lands on it; only the dress changes. */
.location-template-single-location-editorial .site-inner .content #features.page-section {
    padding-top: 48px !important;
}

.location-template-single-location-editorial #features .section-heading {
    margin: 0 0 20px;
    font-family: var(--font-sans-serif);
    /* The size the site's `.section-subheading` eyebrow computes to: 15px, 13px on a phone. */
    font-size: 0.833rem;
    font-weight: 600;
    line-height: 1.23;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-accent);
}

.location-template-single-location-editorial #features .section-content {
    margin-top: 0;
}

/* The gold box. It goes around the section's inner container, so the eyebrow heading sits
   inside it with the cards. Same 1px border at 0.5 of --color-bg-accent-rgba that the
   template's other gold-outlined boxes use. */
.location-template-single-location-editorial #features > .wp-block-group__inner-container {
    padding: 36px 40px 40px;
    border: 1px solid rgba(var(--color-bg-accent-rgba, 136, 114, 68), 0.5);
    border-radius: 4px;
}

/* The cards: blocks/location-amenity-bar.php, `features` variant. Icon on the left, name and
   description beside it, as many columns as fit (three at full width). The resets undo
   `.entry-content ul` / `ul li` and the gold-check `li:before` in style.css. */
.location-template-single-location-editorial .entry-content ul.lab-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px 40px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.location-template-single-location-editorial .entry-content ul.lab-features li.lab-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.location-template-single-location-editorial .entry-content ul.lab-features li.lab-feature::before {
    content: none;
    display: none;
}

.lab-feature-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--color-text-accent);
}

.lab-feature-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lab-feature-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lab-feature-name {
    font-family: var(--font-sans-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

/* Collapsed until the shared .accordion-toggle handler slideToggles it to an inline
   `display: block`, so this stays a plain `display: none`: no !important, no media query. */
.lab-feature-text {
    display: none;
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text-secondary);
}

.lab-feature-text p:last-child {
    margin-bottom: 0;
}

/* The Amenities list's "Read more" (style.css, `ul.landing-amenities .accordion-toggle`):
   gold, turning off-white on hover. The chevron flip comes from `.accordion-toggle.active svg`. */
.location-template-single-location-editorial .entry-content .lab-feature-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    text-align: left;
    color: var(--color-text-accent);
    font-size: var(--fs-body-md-ui);
    letter-spacing: var(--ls-body-md);
    cursor: pointer;
    transition: var(--transition-ease-in-out);
}

.location-template-single-location-editorial .entry-content .lab-feature-toggle:hover {
    color: var(--color-bg-inverse);
}

@media (max-width: 880px) {

    .location-template-single-location-editorial .site-inner .content #features.page-section {
        padding-top: 36px !important;
    }

    .location-template-single-location-editorial #features > .wp-block-group__inner-container {
        /* The section runs edge to edge on a phone; the gutter keeps the border on screen. */
        margin-inline: 16px;
        padding: 24px 20px 26px;
    }

    .location-template-single-location-editorial .entry-content ul.lab-features {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* Stepped down and tracked a little tighter so the line holds on one row of a phone. */
    .location-template-single-location-editorial #features .section-heading {
        margin-bottom: 16px;
        font-size: 12px;
        letter-spacing: 0.14em;
    }
}

.lea-group + .lea-group {
    margin-top: 48px;
}

.lea-group-label {
    margin: 0 0 20px;
    color: var(--color-text-accent);
}

/* Columns rather than a two-column grid: the descriptions run to different lengths, and a
   grid row is as tall as its tallest entry, which left ragged gaps down the list. */
.lea-list {
    columns: 2;
    column-gap: 56px;
    margin: 0 !important;
    padding: 0;
    list-style: none !important;
}

.lea-item {
    list-style: none !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    break-inside: avoid;
}

.lea-num {
    font-family: var(--font-sans-serif);
    font-size: var(--fs-body-sm);
    letter-spacing: 0.1em;
    color: var(--color-text-accent);
    padding-top: 0.35em;
}

/* An h3 inherits the site's h3 scale, which is larger than the section's own h2; the
   entry name is a list label, so it is sized here explicitly. */
.lea-name {
    margin: 0;
    font-family: var(--font-sans-serif);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: normal;
}

.lea-text {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.lea-text > *:last-child {
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 880px) {
    .lea-list {
        columns: 1;
    }

    .lea-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    .lea-group + .lea-group {
        margin-top: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lph-strip-item img {
        transition: none;
    }

    .lph-strip-item:hover img,
    .lph-strip-item:focus-visible img {
        transform: none;
    }
}

/* ---------------------------------------------------------------------------
   6. Nearby locations
   --------------------------------------------------------------------------- */

/* blocks/location-nearby.php, directly above the FAQ: a row of the other buildings in this
   market, paged with the counter and arrows at the head of the section, closed by the
   membership note and the link to /locations/.

   The row is a scroll-snap scroller first and a carousel second. js/location-nearby.js only
   reveals the controls and keeps the counter honest; with the script blocked the row still
   scrolls and the cards still snap. Nothing here may reuse the shared carousel's `.owl-*` or
   `.tc-*` classes, or the map list's `.listing-entry` - js/more.js owns all of them. */

.lnl-nearby {
    --lnl-gap: 24px;
    --lnl-visible: 3;
}

/* The blanket 100px group padding (style.css:6732) is replaced here, not kept: what sits
   above this section is the meeting room band, which carries no padding of its own at the
   foot of its photograph, so this padding is the whole gap between the bottom edge of that
   picture and the heading below it. 40px, written when "Why Choose Lucid" was above and
   brought its own 100px, left the heading sitting on the photograph; 100px gives it the air
   a section opening on a heading expects. It scales with the band's own top margin at the
   two breakpoints below.

   The bottom stays short: the FAQ under it opens on its own band. */
.location-template-single-location-editorial .site-inner .content .wp-block-group.lnl-nearby {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* The section opens on its heading: the eyebrow is hidden template-wide at section 1, and
   the partial prints none.

   The long selector is for `margin-bottom`, and it is not decoration. The heading carries
   both `section-heading` and `wp-block-heading` (the partial needs the second to be sized
   like the sections above it), which puts it in reach of
   `.wp-block-group > .wp-block-group__inner-container > .wp-block-heading` at style.css:20529
   - three classes to this rule's two, so a plain `.lnl-nearby .section-heading` lost, and the
   heading kept the 64px that rule gives it above 880px. Nothing here is 64px away from
   anything on purpose: `.lnl-track` sets the gap at 36px below, and because `.lnl-row` has
   neither padding nor border that margin collapses straight through it and meets this one, so
   whichever is larger wins. Zeroing it hands the gap back to the track. */
.location-template-single-location-editorial .site-inner .content .wp-block-group.lnl-nearby > .wp-block-group__inner-container > .section-heading {
    margin-top: 0 !important;
    margin-bottom: 0;
    /* One line across the section rather than the 597px cap left-aligned block headings
       get site-wide (style.css:20820), as #offerings does above. */
    max-width: none;
}

.lnl-row {
    position: relative;
}

/* The second half of zeroing the heading's bottom margin, above. The row is the sibling that
   follows the heading inside the inner container, which is exactly what style.css:20536's
   "Heading Siblings Margin" rule selects, so it arrives with 64px of its own on top - and
   since the row has no padding or border, the track's 36px collapses into it and the larger
   number wins again. With both zeroed the gap under the heading is the track's 36px and
   nothing else, which is where this file always meant to set it. */
.location-template-single-location-editorial .site-inner .content .wp-block-group.lnl-nearby > .wp-block-group__inner-container > .lnl-row {
    margin-top: 0;
    margin-bottom: 0;
}

/* The arrows sit over the left and right edges of the row, centred on the band of
   photographs rather than on the whole card, which would drop them into the addresses.

   A percentage in `top` resolves against a height this file cannot know, but a percentage in
   `padding` resolves against the WIDTH of the containing block, so this overlay is given the
   height of one card's photograph as padding - card width times the 240/359 crop - and the
   buttons centre themselves in it. It tracks the breakpoint through the same two custom
   properties the track is built from.

   Over the images rather than outside them: at 1280px there is no gutter left to hang a
   44px button in, and an arrow that is clipped at one width and not another is worse than
   one that always sits on the photograph. */
.lnl-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: calc((100% - (var(--lnl-visible) - 1) * var(--lnl-gap)) / var(--lnl-visible) * 240 / 359);
    /* The row scrolls under them; only the buttons themselves take the pointer. */
    pointer-events: none;
}

.lnl-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    /* Opaque enough to read over a bright photograph. */
    background: rgba(18, 18, 15, 0.72);
    color: var(--color-text-primary);
    cursor: pointer;
    pointer-events: auto;
    transition: border-color var(--transition-ease-in-out), background var(--transition-ease-in-out), color var(--transition-ease-in-out), opacity var(--transition-ease-in-out);
}

.lnl-arrow-prev {
    left: 12px;
}

.lnl-arrow-next {
    right: 12px;
}

.lnl-arrow svg {
    width: 18px;
    height: 18px;
}

.lnl-arrow:hover:not(:disabled) {
    border-color: var(--color-text-accent);
    background: rgba(18, 18, 15, 0.9);
    color: var(--color-text-accent);
}

/* Faded out at either end of the row rather than removed, so the pair never jumps. */
.lnl-arrow:disabled {
    opacity: 0;
    cursor: default;
}

.lnl-arrow:focus-visible {
    outline: 2px solid var(--color-text-accent);
    outline-offset: 2px;
}

/* The row itself. `.entry-content ul.lnl-track` is the same prefix ul.ll-list uses in
   css/landing-locations.css: it beats the inherited .entry-content list padding and the
   li::before bullet outright instead of relying on source order. */
.entry-content ul.lnl-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--lnl-visible) - 1) * var(--lnl-gap)) / var(--lnl-visible));
    gap: var(--lnl-gap);
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    /* No visible scrollbar: the counter and arrows say where the row is. */
    scrollbar-width: none;
}

.entry-content ul.lnl-track::-webkit-scrollbar {
    display: none;
}

.entry-content ul.lnl-track > li {
    margin: 0;
    padding: 0;
    list-style: none;
    scroll-snap-align: start;
}

.entry-content ul.lnl-track > li::before,
.entry-content ul.lnl-track > li::marker {
    content: none;
    display: none;
}

/* Card: the photograph, then the name, the address and the link under it. No frame - the
   pictures carry the row, the way the hero filmstrip does, and the service cards in
   #additional-services keep the bordered treatment to themselves. */
.entry-content ul.lnl-track li.lnl-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lnl-card-media {
    display: block;
    overflow: hidden;
    /* The same crop the service cards use, so the two rows of pictures agree down the page. */
    aspect-ratio: 359 / 240;
    border-radius: 0;
}

.lnl-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lnl-card:hover .lnl-card-media img {
    transform: scale(1.04);
}

.lnl-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    padding-top: 16px;
}

/* An unqualified h3 takes --fs-heading-lg here, which is larger than the section's own h2
   (style.css:23561 sizes h2 and leaves h3 to the heading scale), so the card name sets its
   own type. Serif, at the same weight and tracking as .lesv-plan-title above, so the two
   card names on this template read as one family. */
.entry-content .lnl-card-name {
    margin: 0;
    font-family: var(--font-serif);
    font-size: var(--fs-body-lg);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.entry-content .lnl-card-name a.lnl-card-link {
    color: var(--color-text-primary);
    text-decoration: none;
}

.entry-content .lnl-card:hover .lnl-card-name a.lnl-card-link {
    color: var(--color-text-accent);
}

.lnl-card-address {
    margin: 0;
    font-size: var(--fs-body-sm);
    line-height: 1.4;
    color: var(--color-text-accent);
}

.lnl-card-address span {
    display: block;
}

/* .with-arrow (style.css:19642) is a single class, so these two-class selectors beat its
   font-size and 2.8px letter-spacing without !important. Its gold chevron is a fixed 4x8px
   background image on :after and survives untouched; only the text metrics change. */
.entry-content .lnl-card-cta,
.entry-content .lnl-card-cta.with-arrow {
    margin-top: auto;
    padding-top: 16px;
    color: var(--color-text-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
}

.entry-content .lnl-card-cta:hover,
.entry-content .lnl-card-cta.with-arrow:hover {
    color: var(--color-text-accent);
}

/* The membership note that closes the section: the home page's pre-footer card shape, but
   dark rather than that card's cream `--color-bg-inverse`. #1E1E1E is the staff-avatar
   placeholder colour (style.css:23929) - a near-black a shade off the page's #12120F, so
   the card reads as raised rather than as a light slab. The card carries no
   `has-background`: that class is the hook for style.css's dark-text-on-cream treatment,
   which would put black copy on this. No border either; the lift is the contrast. */
.lnl-cta {
    --lnl-cta-bg: #1E1E1E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 44px;
    padding: 32px 40px;
    border-radius: var(--radius-sm, 4px);
    background: var(--lnl-cta-bg);
}

/* The gold ring is the link's own gradient background with this pseudo-element inset over
   it by a transparent 2px border, so the fill has to be the card colour exactly - the
   default is the page's `--color-bg-primary`, which shows as a rectangle inside the ring
   once the card sits on top of it. `background-color`, not the `background` shorthand: the
   shorthand would reset the `background-clip: padding-box` style.css:7502 sets, and the
   fill would paint over the ring instead of inside it. */
.lnl-cta .wp-block-button.is-style-outline.gradient a:before {
    background-color: var(--lnl-cta-bg);
}

.lnl-cta-copy {
    min-width: 0;
}

/* Light copy on the dark card, set here rather than inherited: the section around it is
   dark too, so nothing upstream guarantees these. */
.lnl-cta-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
}

.lnl-cta-text {
    margin: 8px 0 0;
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    letter-spacing: var(--ls-body-md);
    color: rgba(255, 255, 255, 0.72);
}

/* The flex item is the buttons wrapper now, not the link. `.wp-block-buttons` carries a
   bottom margin from the block stylesheet that would push the row off centre in here. */
.lnl-cta .lnl-cta-buttons {
    flex: 0 0 auto;
    margin: 0;
}

@media only screen and (max-width: 1100px) {
    .lnl-nearby {
        --lnl-visible: 2;
    }

    .location-template-single-location-editorial .site-inner .content .wp-block-group.lnl-nearby {
        padding-top: 80px;
    }
}

@media only screen and (max-width: 880px) {
    .lnl-nearby {
        --lnl-gap: 16px;
    }

    .location-template-single-location-editorial .site-inner .content .wp-block-group.lnl-nearby {
        padding-top: 64px;
    }

    /* A card and a sliver of the next one, which is what says the row scrolls on a phone
       where the arrows are the only other clue. */
    .entry-content ul.lnl-track {
        grid-auto-columns: 78%;
        margin-top: 28px;
    }

    /* A phone card is 78% of the row, so the overlay's width-derived height has to follow
       that figure rather than the track's three-up arithmetic. */
    .lnl-arrows {
        padding-top: calc(78% * 240 / 359);
    }

    .lnl-arrow {
        width: 40px;
        height: 40px;
    }

    .lnl-cta {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 32px;
        padding: 24px;
    }
}

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

    .lnl-card:hover .lnl-card-media img {
        transform: none;
    }
}

/* ---------------------------------------------------------------------------
   7. Additional services: the product cards and the day-office card
   --------------------------------------------------------------------------- */

/* The whole section on this template is blocks/location-editorial-services.php: three
   product cards, then a wide card for the two things here that are booked rather than
   signed for. Every other template renders the shared photo cards from blocks/card-list.php
   in the first slot instead, styled by style.css under `.card-list` with js/more.js binding
   an Owl carousel over them; none of that is loaded here.

   The three cards keep that row's chrome and most of its anatomy: `.lesv-plan` repeats the
   padding, hairline, radius and surface style.css:22037 gives `.card-list .wp-block-column`,
   so the two rows read as the same family, and carries a photograph on the same 359/240
   plate. Under it the treatment parts company with the shared cards: a line icon beside the
   name, a line of copy, and the `.with-arrow` link from section 6 where the filled button
   was.

   A plain CSS grid, not a carousel: three short cards stack on a phone without one.

   It is the membership card from section 6 again - the cream panel, the dark serif line and
   the gold-outlined button the home page's pre-footer CTA carries - with two buttons instead
   of one. #EDEAE3 exactly: the button fill inside each gradient ring is that colour
   hardcoded at style.css:7591, so any other panel colour draws the fill as a visible
   rectangle. `.has-background` on the card is what brings all of that in.

   `.lesv-*` is this section's own namespace and the selectors below never leave it. */

.lesv-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* The card frame from style.css:22037, repeated rather than inherited: that rule is scoped
   to `.owl-carousel.card-list .wp-block-column` and this row is neither. The gold hairline
   and the `--background-gradient` surface are what tie it to the photo cards elsewhere;
   both follow the palette, so the light theme needs no rule of its own. */
.lesv-plan {
    --lesv-icon: 24px;
    --lesv-icon-gap: 14px;
    /* Everything under the head hangs off the title's first line, so the icon stands alone
       in the margin and the card reads as one column of text beside it. Derived from the
       two values above rather than typed again, so the mark can change size without the
       copy drifting out of line. */
    --lesv-indent: calc(var(--lesv-icon) + var(--lesv-icon-gap));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* The padding style.css:22039 gives the shared photo cards, not this card's old 28px/24px:
       a picture inset in a wider frame than the row it sits above reads as a different card. */
    padding: 16px 16px 32px;
    border: 1px solid rgba(136, 114, 68, 0.50);
    border-radius: var(--radius-sm, 4px);
    background: var(--background-gradient, linear-gradient(180deg, rgba(18, 18, 15, 0.50) 41.37%, rgba(120, 120, 100, 0.25) 246.17%));
}

/* The photograph sits inside the card's padding rather than running to its edge, the way the
   shared photo cards carry theirs, and takes the 359/240 crop style.css:22063 gives them and
   section 6 gives the Nearby cards - three rows of pictures down the page on one plate. No
   radius for the same reason, and no hover scale: these cards are not links, only the
   "Get Started" line under them is. */
.lesv-plan-media {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    overflow: hidden;
    aspect-ratio: 359 / 240;
    border-radius: 0;
}

.lesv-plan-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The icon sits beside the name's first line rather than above it, so the mark and the
   product read as one line and the plan drops underneath it. The title is the flexing
   item, so its second line indents to the first rather than running back under the icon. */
.lesv-plan-head {
    display: flex;
    align-items: flex-start;
    gap: var(--lesv-icon-gap);
    width: 100%;
}

/* Gold, like the address line on the Nearby cards: a small mark rather than a second
   heading. `currentColor` on the stroke carries it.

   The 1px nudge optically centres the 24px square on the first line's box, which runs a
   little taller than the icon at the top of the title's clamp. */
.lesv-plan-icon {
    width: var(--lesv-icon);
    height: var(--lesv-icon);
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--color-text-accent);
}

/* An unqualified h3 takes --fs-heading-lg, larger than the section's own h2 (style.css:23561
   sizes h2 and leaves h3 to the heading scale), so the card name sets its own type. Serif,
   at the size the wide card's line below runs to, so the section reads as one thing. */
.entry-content .lesv-plan-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
}

.lesv-plan-text {
    margin: 16px 0 0 var(--lesv-indent);
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    letter-spacing: var(--ls-body-md);
    color: var(--color-text-secondary);
}

/* `margin-top: auto` pushes the link to the foot of the card, so the three links line up
   however long the copy above them runs.

   .with-arrow (style.css:19642) is a single class, so these two-class selectors beat its
   font-size and 2.8px letter-spacing without !important - the same override the Nearby
   card link makes in section 6. Its gold chevron is a fixed 4x8px background image on
   :after and survives untouched; only the text metrics change. */
.entry-content .lesv-plan-cta,
.entry-content .lesv-plan-cta.with-arrow {
    margin-top: auto;
    margin-left: var(--lesv-indent);
    padding-top: 24px;
    color: var(--color-text-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
}

.entry-content .lesv-plan-cta:hover,
.entry-content .lesv-plan-cta.with-arrow:hover {
    color: var(--color-text-accent);
}

/* The cards again at full width: same hairline, same radius, same surface, so the two
   rows read as one band rather than a row and a panel. */
.lesv-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 24px;
    padding: 32px 40px;
    border: 1px solid rgba(136, 114, 68, 0.50);
    border-radius: var(--radius-sm, 4px);
    background: var(--background-gradient, linear-gradient(180deg, rgba(18, 18, 15, 0.50) 41.37%, rgba(120, 120, 100, 0.25) 246.17%));
}

.lesv-wide-copy {
    flex: 1 1 auto;
    min-width: 0;
}

/* An unqualified h3 takes --fs-heading-lg, which is larger than the section's own h2
   (style.css:23561 sizes h2 and leaves h3 to the heading scale), so this one sets its own
   type: the serif the card names above are set in, a step up because this line runs the
   width of the row. */
.entry-content .lesv-wide-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
}

.lesv-wide-text {
    margin: 8px 0 0;
    max-width: 640px;
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    letter-spacing: var(--ls-body-md);
    color: var(--color-text-secondary);
}

.lesv-wide-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    margin: 0;
}

/* The card's own border round the label, and the uppercase metrics the "Get Started" links
   are set in, so the two kinds of action on the page agree. No gradient ring and no fill:
   see the note at the head of blocks/location-editorial-services.php for why the WordPress
   outline button could not come onto this surface. */
.entry-content .lesv-wide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid rgba(136, 114, 68, 0.50);
    border-radius: var(--radius-sm, 4px);
    color: var(--color-text-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.entry-content .lesv-wide-btn:hover,
.entry-content .lesv-wide-btn:focus-visible {
    border-color: var(--color-text-accent);
    color: var(--color-text-accent);
    text-decoration: none;
}

/* `currentColor` on the stroke, so the icon follows the label through the hover. */
.lesv-btn-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

@media only screen and (max-width: 1100px) {

    /* Two buttons and a line of copy no longer share a row at this width; the pair drops
       under the copy rather than squeezing it to nothing. */
    .lesv-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 28px 32px;
    }

    .lesv-wide-text {
        max-width: none;
    }
}

@media only screen and (max-width: 880px) {

    /* Three cards this short stack rather than scroll: the row the shared photo cards turn
       into at this width is an Owl carousel, and there is no carousel here to bind. */
    .lesv-plans {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .lesv-plan {
        padding: 16px 16px 24px;
    }

    .lesv-wide {
        padding: 24px;
    }

    /* Stacked, the two buttons take the width of the card rather than the width of their
       own labels, which would come out at two different sizes. */
    .lesv-wide-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }
}

/* ---------------------------------------------------------------------------
   8. Meeting rooms band
   --------------------------------------------------------------------------- */

/* blocks/location-editorial-meeting-rooms.php, between #additional-services and #amenities: a
   photograph across the measure with the heading, the line under it and the booking button
   set over its foot.

   The copy sits on the picture rather than beside it, so everything here is about keeping it
   readable: the scrim is a gradient that only darkens the bottom half, and the type over it
   is cream rather than white, the same #EDEAE3 the cream panels use. */

/* The band is a bare section, not a `.wp-block-group`, so none of the site-wide group rules
   reach it: the measure is set here, to the same 1280px and 1rem gutter the inner container
   takes at style.css:7003, so the picture lines up with the cards above it at every width.

   The sections either side carry no padding where they meet it (both gaps measure 0), so the
   air above the band is this margin and nothing else; below it, the next section's own top
   padding does the work. */
.lmr-band {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1280px;
    margin: 60px auto 0;
    padding: 0 1rem;
    box-sizing: border-box;
}

.lmr-photo {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    /* Every photograph on this template is squared off (section 3). */
    border-radius: 0;
}

/* Two gradients, not one. The upward one carries the button and the line above it; the one
   from the left carries the heading, which runs into the middle of the frame where a
   bottom-up scrim has already faded out. Neither reaches the top right, so the room is still
   a room: a scrim over the whole frame would flatten it into a grey field.

   Inset by the band's own gutter so it covers the picture and not the page margin. */
.lmr-scrim {
    position: absolute;
    top: 0;
    right: 1rem;
    bottom: 0;
    left: 1rem;
    display: flex;
    align-items: flex-end;
    padding: 0 40px 40px;
    box-sizing: border-box;
    background-image:
        linear-gradient(to top, rgba(18, 18, 15, 0.82) 0%, rgba(18, 18, 15, 0.45) 38%, rgba(18, 18, 15, 0) 72%),
        linear-gradient(to right, rgba(18, 18, 15, 0.62) 0%, rgba(18, 18, 15, 0.25) 38%, rgba(18, 18, 15, 0) 62%);
    pointer-events: none;
}

/* The scrim takes no pointer so the picture is not covered by a dead layer; the button
   inside it has to take one back. */
.lmr-copy {
    max-width: 560px;
    pointer-events: auto;
}

/* An unqualified h2 would take --fs-heading-lg from the heading scale: only
   `h2.wp-block-heading` carries the site's size override (style.css:23561), and this heading
   is not a block. 32px rising to 40px, a step under the section headings above it. */
.entry-content .lmr-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: var(--color-bg-inverse);
    /* Without this the line breaks after "kind of" and leaves "day." alone on the second
       row. Browsers that do not balance fall back to that same break, which is untidy
       rather than broken. */
    text-wrap: balance;
}

.lmr-text {
    margin: 12px 0 0;
    max-width: 560px;
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    letter-spacing: var(--ls-body-md);
    color: rgba(237, 234, 227, 0.9);
}

/* Cream fill, dark label: the one solid light button on the page, and the only thing that
   reads as a button against a photograph. Typeset like every other call to action on the
   site - uppercase and letterspaced - a size up from the small ones, since it carries a
   whole band on its own. */
.entry-content a.lmr-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    min-height: 56px;
    padding: 0 36px;
    border-radius: var(--radius-sm, 4px);
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    /* A two-line button looks like a broken one. The phone sizes below keep the label
       inside the column rather than relying on this to hide an overflow. */
    white-space: nowrap;
    transition: background var(--transition-ease-in-out), color var(--transition-ease-in-out);
}

.entry-content a.lmr-btn:hover {
    background: var(--color-text-accent);
    color: var(--color-text-inverse);
}

.entry-content a.lmr-btn:focus-visible {
    outline: 2px solid var(--color-bg-inverse);
    outline-offset: 3px;
}

@media only screen and (max-width: 1100px) {

    .lmr-photo {
        height: 440px;
    }

    .lmr-scrim {
        padding: 0 32px 32px;
    }

    .lmr-band {
        margin-top: 48px;
    }
}

@media only screen and (max-width: 880px) {

    /* Taller, not shorter: at this width the picture is narrow enough that 440px would crop
       the room to a strip, and the copy over it needs the room to breathe. */
    .lmr-photo {
        height: 480px;
    }

    .lmr-band {
        margin-top: 36px;
    }

    .lmr-scrim {
        padding: 0 24px 28px;
        /* A narrow column puts more type over the picture, so the upward scrim reaches
           higher and the one from the left is dropped: at this width it would cover the
           frame rather than one side of it. */
        background-image: linear-gradient(to top, rgba(18, 18, 15, 0.86) 0%, rgba(18, 18, 15, 0.55) 55%, rgba(18, 18, 15, 0.12) 90%);
    }

    /* "Reserve a Meeting Room" is 22 letterspaced capitals; at the desktop size it comes to
       within a few pixels of the column and wraps. A step down in both the type and the
       padding leaves it a comfortable margin at 390px. */
    .entry-content a.lmr-btn {
        margin-top: 20px;
        min-height: 52px;
        padding: 0 24px;
        font-size: 12px;
    }
}

/* Square on phones. The picture is the only thing setting the band's height, so a 1:1
   ratio on it makes the whole band square. A fixed 480px made a tall portrait strip at
   390px. Stopped at 600px because a square at tablet width would run taller than the
   screen. */
@media only screen and (max-width: 600px) {

    .lmr-photo {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}


/* ---------------------------------------------------------------------------
   9. FAQ
   --------------------------------------------------------------------------- */

/**
 * Nothing of this template's own any more. It used to carry a centred, small-type
 * accordion here; the site-wide FAQ restyle in style.css ("FAQ Block" and the FAQ-section
 * layout rule, with theme-light.css) is now what every `acf/faq-list` renders with, and
 * this page takes it as it comes so the FAQ here matches the rest of the site.
 *
 * The first row still renders open - see lucid_location_editorial_open_first_faq() in
 * single-location-editorial.php.
 */


/* ---------------------------------------------------------------------------
   10. Resources: "Plan your move."
   --------------------------------------------------------------------------- */

/* blocks/location-editorial-resources.php, between the FAQ and the contact form.

   The band has no spacing of its own - every class in it is borrowed from the home page's
   "Press & Insights" row, which sits in a section that supplies the gap. Here the element
   above is `.faq-section`, whose 100px of bottom padding the next block starts inside, so
   without this the heading lands tight against the last FAQ row's hairline. The testimonial
   slider that used to sit in this slot never showed the problem: it carries padding of its
   own. One rule, scoped to this template, since this band renders nowhere else.

   Measured 2026-11-12: the band sits below that padding, not inside it, so the FAQ's 100px
   already parts the two. The 40px margin that was here stacked on top of it (140px from the
   last FAQ row to the heading) and read as a hole; it is zeroed rather than deleted so the
   note stays with the band. */
.location-template-single-location-editorial .lei-resources {
    margin-top: 0;
}


/* ---------------------------------------------------------------------------
   11. Member reviews
   --------------------------------------------------------------------------- */

/* blocks/location-editorial-reviews.php, between the Team section and the FAQ: three Google
   reviews for this building, side by side and static, where the shared testimonial slider
   (custom-blocks/testimonial-slider.php) used to show one at a time behind an auto-advancing
   pager.

   Nothing here may borrow `.testimonial-*`, `.slider-block` or `.slider-pager`: those belong
   to the shared block, js/more.js binds the carousel to them on every page, and ~70 rules in
   style.css style them. The partial prints none of them. Everything below is `.lerv-*`, in
   this file, so it reaches this template only. */

.lerv-reviews {
    --lerv-gap: 40px;
}

/* The group padding above the band is the site-wide 100px the pattern's wrapper had here
   before. Below it, the rating strip is a single short line, and 100px under it plus the
   FAQ's own 100px left 200px of empty page between the strip and "Frequently Asked
   Questions". Desktop only: under 881px the site-wide padding is already 60px a side. The
   selectors carry `.site-inner .content` to outrank the site-wide group rule (style.css,
   `.site-inner .content .wp-block-group`). */
@media only screen and (min-width: 881px) {

    .location-template-single-location-editorial .site-inner .content .lerv-reviews {
        padding-bottom: 56px;
    }

    .location-template-single-location-editorial .site-inner .content .lerv-reviews + hr + .faq-section {
        padding-top: 64px;
    }
}

.lerv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--lerv-gap);

    /* Three columns and no overflow, in that order. The slider's own pager is gone and no
       track scrolls here; a quote longer than the others simply makes its column taller, and
       `align-items: start` keeps each card's attribution directly under its own last line
       rather than pushed to the tallest card's baseline. */
    align-items: start;
}

/* No rule, no box, no card chrome of any kind. A hairline over each column was tried and
   removed: three lines across an otherwise unruled band read as a table header rather than as
   grouping, and the FAQ below already owns that treatment on this page. The gold quote mark
   opens each column and the grid gap separates them. */

.lerv-mark {
    display: block;
    margin-bottom: 20px;
}

/* Down a step from the slider's --fs-body-lg (18-24px): a third of the width holds a third of
   the characters per line, so the same quote at the same size would run to twelve lines.
   Italic sets the member's words apart from the page's own copy, which is roman throughout. */
.lerv-quote p {
    font-size: var(--fs-body-md);
    font-style: italic;
    font-weight: 400;
    line-height: 165%;
    letter-spacing: -0.16px;
    margin: 0;
}

.lerv-quote p + p {
    margin-top: 12px;
}

/* The attribution line: the name, then the Google mark and the review's own stars beside it.
   It wraps as a pair, so a long name in a narrow column drops the stars under it instead of
   squeezing them. `.google-rating` (style.css:23030) brings the badge's row and sizes; the
   stars here are whole, so they are filled flat instead of through the strip's partial-fill
   gradients. */
.lerv-attribution {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 20px;
}

.lerv-attribution .lerv-name {
    margin-top: 0;
}

.lerv-card-rating {
    gap: 8px;
}

.lerv-card-rating .star-svg {
    fill: var(--color-text-accent, #D2AF6B);
}

.lerv-card-rating .star-svg.is-off {
    opacity: 0.3;
}

.entry-content a.lerv-card-rating:hover .google-rating-stars,
.entry-content a.lerv-card-rating:focus-visible .google-rating-stars {
    opacity: 0.8;
}

/* The slider's attribution treatment, one step smaller to match the quote. Plain text: the
   Google mark and stars beside it are the link to the review. */
.lerv-name {
    display: inline-block;
    margin-top: 20px;
    text-transform: uppercase;
    color: #EDEAE3;
    font-size: var(--fs-body-sm);
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 2.4px;
    text-decoration: none;
}

/* The rating strip, centred under all three columns rather than aligned to the first: the
   three quotes are a sample, the score counts every review behind them, so it belongs to the
   band and not to a column. It clears the tallest card by more than the quotes clear their own
   attributions, which is what keeps it from reading as a fourth line of the last card. */
.lerv-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 56px;
}

/* `.google-rating` arrives with the hero's layout (style.css:23030). Only the spacing changes:
   its 10px gap sits the score and the count as far from the stars as the strip's own halves
   are from each other, which breaks the line into four pieces instead of two. */
.lerv-rating {
    gap: 8px;
}

/* Its text colours are set for the light hero: the count is --color-text-primary at 0.75,
   which on this band is near-black on near-black. Both the count and the separator take the
   quotes' own ink instead. The score keeps the gold it has everywhere else. */
.lerv-rating .google-rating-count,
.lerv-rating .lerv-dot {
    color: #EDEAE3;
    opacity: 0.75;
}

/* The attribution treatment from .lerv-name, so the link and the three names are one voice.
   .with-arrow (style.css:19642) is a single class, so these two-class selectors beat its
   font-size and 2.8px letter-spacing without !important - the same override sections 6 and 8
   make. Its gold chevron is a background image on :after and survives untouched. */
.entry-content a.lerv-all,
.entry-content a.lerv-all.with-arrow {
    color: #EDEAE3;
    font-size: var(--fs-body-sm);
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    text-decoration: none;
}

.entry-content a.lerv-all.with-arrow:hover,
.entry-content a.lerv-all.with-arrow:focus-visible {
    color: var(--color-bg-accent);
    text-decoration: none;
}

/* One column from the site breakpoint down, still with nothing to scroll. Stacked, the quotes
   need more air between them than they did side by side - the gap is the only thing dividing
   one from the next - so it opens rather than closes. */
@media only screen and (max-width: 880px) {

    .lerv-reviews {
        --lerv-gap: 48px;
    }

    .lerv-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* The strip follows the wider gap for the same reason the quotes do. Its two halves wrap
       onto separate lines on a narrow phone and stay centred. */
    .lerv-footer {
        margin-top: 48px;
        gap: 16px;
    }
}

/* ---------------------------------------------------------------------------------------
   Primary calls to action: the gold ring.

   Every filled gold `.btn` on this template - the hero's, the scroll-spy bar's, the About
   rail's and each product's - takes the look of the "Book a tour and the week is on us"
   button in blocks/location-nearby.php: the bright prismatic gradient showing as a 2px
   ring round a dark fill, filling with gold on hover.

   That button is a `.wp-block-button.is-style-outline.gradient`; these are plain `.btn`s
   printed by partials the other location templates share, so the treatment is rebuilt here
   on the existing markup rather than by changing classes there. The parts are the ones
   style.css:7448-7548 gives an outline button: padding moved from the link to the span,
   `:before` as the fill inset by a transparent border, and the faint `--gradient-light`
   wash on `span:before`. The `:after` hover fill is the stock one and is left alone.

   `.btn.outline`, the secondary beside each of these, is untouched: same shape, with the
   dimmer `--btn-gradient-primary` ring.
   --------------------------------------------------------------------------------------- */
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn:not(.outline):not(.dropdown-toggle) {
    padding: 0 !important;
    background: var(--btn-gradient-prismatic);
}

/* `background-color` would not do here: the stock `:before` paints `--btn-gradient-primary`
   as a background image, which has to go for the fill to show. The clip is restated after
   the shorthand, which resets it. */
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn:not(.outline):not(.dropdown-toggle):before {
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 4px;
    background: var(--color-bg-primary);
    background-clip: padding-box;
    transition: opacity 0.4s ease-in-out;
}

.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn:not(.outline):not(.dropdown-toggle):hover:before {
    opacity: 0;
}

.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn:not(.outline):not(.dropdown-toggle) span {
    width: 100%;
    padding: 11px 24px;
    z-index: 1;
}

.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn:not(.outline):not(.dropdown-toggle) span:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 2px solid transparent;
    background: var(--gradient-light);
    background-clip: padding-box;
    z-index: -1;
}

/* ---------------------------------------------------------------------------------------
   Secondary calls to action: a text link with a chevron, not a second button.

   The `.btn.outline` beside each primary above - "Inquire" in the hero, "Book a Tour" in
   the scroll-spy bar, "Get Directions" in the About rail, and an editor-set button on a
   product row - drops its ring and fill and reads "Inquire >". One ringed button per
   group, with the alternative as a link beside it, so the two no longer compete.

   Done here on the existing markup for the same reason as the ring: the partials are
   shared with the other location templates, which keep the outline button.

   The link keeps the button's box - the same height and the span's vertical padding - so
   its label sits on the primary's baseline in a row and takes the same tap target; only
   the side padding comes in, since there is no edge left for it to clear.
   --------------------------------------------------------------------------------------- */
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle),
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):hover {
    background: none !important;
    /* style.css:7496 draws a 1px inset ring on hover, with !important. */
    box-shadow: none !important;
}

/* The fill, the hover fill and the wash over the fill: all three are the button. */
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):before,
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):after,
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle) span:before {
    display: none;
}

.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle) span {
    padding: 11px 8px;
    transition: color 0.3s ease;
}

.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):hover span,
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):focus-visible span {
    color: var(--color-text-accent);
}

/* The chevron is `.with-arrow`'s (style.css:19667), a size up to sit with button type. It
   is drawn here for every secondary, so the hero's inline white caret steps aside rather
   than leaving "Inquire" with two. */
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle) span:after {
    content: "";
    display: inline-block;
    position: relative;
    top: -1px;
    width: 5px;
    height: 10px;
    margin-left: 6px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='8' viewBox='0 0 4 8' fill='none'%3E%3Cpath d='M0.114302 0.738142C-0.0381012 0.569275 -0.0381012 0.295543 0.114302 0.126633C0.26671 -0.0421896 0.513754 -0.0422335 0.66615 0.126633L3.88579 3.69423C4.02863 3.85255 4.03745 4.10297 3.91245 4.27279L3.88579 4.30574L0.66615 7.87334C0.513747 8.04222 0.26671 8.04222 0.114303 7.87334C-0.0381009 7.70446 -0.0381009 7.43073 0.114303 7.26185L3.05802 4.00001L0.114302 0.738142Z' fill='%23D2AF6B'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.3s ease;
}

.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):hover span:after {
    transform: translateX(3px);
}

.location-template-single-location-editorial .lph-actions .btn.outline .lph-caret {
    display: none;
}

/* In the About rail the pair is stacked, and the link used to inherit the button's full
   width and centred label, which left "Get Directions" floating under the middle of it.
   It starts on the button's left edge instead, flush with the copy above. */
.location-template-single-location-editorial .lei-actions .btn.outline:not(.dropdown-toggle) {
    width: auto;
    max-width: none;
    justify-content: flex-start;
    text-align: left;
}

.location-template-single-location-editorial .lei-actions .btn.outline:not(.dropdown-toggle) span {
    padding-left: 0;
}

/* Underlined on hover, as `.with-arrow` links are (style.css:19663). On the span, not the
   link: the chevron is an inline-block on `span:after`, which a text decoration does not
   run under, so the line stops with the label. */
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):hover span,
.location-template-single-location-editorial :is(.lph-actions, .nav-btns, .lei-actions, .lep-actions) .btn.outline:not(.dropdown-toggle):focus-visible span {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}
