/* Add your css code here */
/*
Variable Definitions:
  --r-bg: Region background color. Sets the overall background color of the region wrapper.
  --r-tx: Region text color. Sets the default text color for all paragraph and inline text within the region.
  --r-h1: Region heading color. Specifically sets the color for headings (h1, h2, h3) within the region, allowing heading color control independently from body text.
  --r-lk: Region link color. Sets the color for anchor (<a>) links within the region in their normal (non-hover) state.
  --r-lk-h: Region link hover color. Sets the color of links within the region when hovered or focused, providing clear interactive feedback.
  --r-br: Region border color. Sets the border color for the region, useful for visual separation of sections.
  --r-bg-fr: Form background color within the region. Sets the background color specifically for input forms (e.g., login forms, search bars) within the region, enabling clear visual separation of form areas.
  --r-tx-lk: Menu link text color within the region. Sets the text color for menu links in navigation blocks or region-based menus, ensuring consistency with your theme’s navigation design.
  --r-tx-lk-h: Menu link hover text color within the region. Sets the hover or focus color for menu link text, aiding in clear navigation feedback for users.
  --r-bg-lk: Menu link background color within the region. Sets the background color of menu links in their normal state within the region for better menu styling control.
  --r-bg-lk-h: Menu link background hover color within the region. Sets the background color for menu links on hover/focus, ensuring clear user interaction indication.
  --r-tx-bt:  Button text color within the region. Sets the text color for buttons within the region (e.g., call-to-action buttons, form submit buttons).
  --r-tx-bt-h: Button text hover color within the region. Sets the text color for buttons when hovered/focused, providing interactive feedback.
  --r-bg-bt: Button background color within the region. Sets the background color for buttons in their normal state, aligning them visually with your design system.
  --r-bg-bt-h:  Button background hover color within the region. Sets the background color for buttons on hover/focus, improving interactivity and user experience.
*/

/* Site "black". Use var(--fs-black) instead of #000 so it changes in one place. */
:root {
  --fs-black: #28292b;
}

/* Global text colour. Solo sets its region text variable once, on
   .page-wrapper (solo-variables-regions.css: --r-tx: #262d38), and every
   region inherits it; headings fall back to it too. #page-wrapper (ID) beats
   that. Text explicitly set white (hero, menus, footer panel) is unaffected. */
#page-wrapper {
  --r-tx: var(--fs-black);
}

#page-wrapper { position: relative; }

/* Float the Primary Menu region (and #header, if ever used) over the
   content: absolute = removed from flow so content rises underneath; not
   fixed, so it scrolls away. #page-wrapper is position:relative (above). */
#header,
#primary-menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
}

/* THE scroll "border": Solo's JS (solo-menu-scripts.js) adds a `solo-sticky`
   class to the menu once you scroll past it (scrollY > offsetTop). That class
   applies `box-shadow: -1px 0 5px 1px rgba(...)` (from solo-variables-regions
   .css / the colour preset) - a shadow that appears ONLY while scrolled, which
   is the line under the menu. Our position:absolute already keeps the menu
   scrolling away (it wins over the sticky position), so just kill the shadow
   and any background it adds. */
#primary-menu.solo-sticky {
  box-shadow: none !important;
  background: transparent !important;
  /* Solo's phone/tablet CSS (<= 992px) also makes the sticky menu
     `height: 100%; max-height: 100vh` - meant for a menu that follows you
     down the page. Ours stays at the top of the page, so that turned it into
     an invisible full-screen-tall box over the top of the page that blocked
     taps on the hero once you'd scrolled a little. Keep it its normal size. */
  height: auto;
  max-height: none;
  overflow: visible;
}

/* Remove the top gap above the main content so the hero sits flush at y=0 and
   the menu floats over it (otherwise the image is pushed down and its top edge
   shows as a line under the menu - the "border" that moves as you scroll).
   There are TWO stacked top paddings, both = var(--solo-gap): on
   #main-container-inner (via ".active-main-1 > .solo-inner") and on the region
   (".solo-outer .region-inner"). Zero the top of both; side padding is kept for
   text, and the hero full-bleeds out of it separately. Outside any media query,
   so it applies at every breakpoint. */
#main-container-inner,
#sidebar-box-main .region-inner {
  padding-top: 0;
  padding-bottom: 0;   /* ...and no gap between the content and the footer */
}

/* No gap between the main content and the footer: the margin under the page
   content, the footer region's top padding, and the first footer block's top
   margin all go. (Applies site-wide, every breakpoint.) */
#page-wrapper .node__content {
  margin-bottom: 0;
}
#footer-menu-inner {
  padding-top: 0;
}
#footer-menu .footer-menu-second > :first-child {
  margin-top: 0;
}

/* #main-container-inner is a CSS GRID with row-gap: var(--solo-gap). On mobile
   it reflows to [empty row, content, empty row], so that gap sits ABOVE the
   hero and pushes it down - its top edge then shows under the floating menu as
   a line that moves when you scroll (the "border"). Zeroing the row-gap (not a
   padding) removes it. Applies at every breakpoint. */
#main-container-inner {
  row-gap: 0;
}

#block-fantail-spaces-mainnavigation {
  margin: 30px 0 0 0;
  font-size: 1rem;
}

/* Right-align the menu (the menubar is a flex row) and inset it 10% from
   the right edge. padding-right on the flex container is more reliable than
   a margin on the nav, which Solo's layout doesn't honour cleanly. */
#primary-menu .navigation__menubar {
  justify-content: flex-end;
  padding-right: 10%;
  /* Kill the full-width grey line under the menu: Solo's
     ".solo-inner ul.navigation__menubar { border-bottom-width: medium }"
     draws a --r-br border along the menubar's bottom. Desktop-only (the
     menubar is display:none on mobile, where the hamburger shows instead). */
  border: 0;
  box-shadow: none;
}

/* White menu text, white on hover/focus/active, never bold.
   The visible text is in a child span .menu__url-title (color: inherit),
   and that span - not the <a> - is what actually renders the colour here,
   so target it directly. The <a> is set white too as a fallback. */
#primary-menu .nav__menu-link .menu__url-title,
#primary-menu .nav__menu-link:hover .menu__url-title,
#primary-menu .nav__menu-link:focus .menu__url-title,
#primary-menu .nav__menu-link:active .menu__url-title,
#primary-menu .nav__menu-link.active .menu__url-title,
#primary-menu .nav__menu-link,
#primary-menu .nav__menu-link:hover,
#primary-menu .nav__menu-link:focus,
#primary-menu .nav__menu-link:active,
#primary-menu .nav__menu-link.active {
  color: #fff;
  font-weight: normal;
}

/* Contact Us (always the last main menu item): a 1px white outline with
   square corners. It goes on the link's text, not the whole link, so the
   box hugs the words (the link itself is 68px tall) while the full link
   stays clickable. Also applies in the phone menu's dropdown. */
#primary-menu .navigation__menubar > li.nav__menu-item-main:last-child > .nav__menu-link .menu__url-title {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #fff;
  border-radius: 0;
  /* Cancel the padding + border (4px + 1px) top and bottom, so the box is
     drawn around the words but takes up the same height as the other menu
     items - otherwise the row grew to fit it and its text sat 5px lower. */
  margin-block: -5px;
}

/* Hamburger (mobile): white icon on a TRANSPARENT background. The grey was a
   full-width bar - the button spans 100% width with Solo's region menu-link
   background (var --r-bg-lk, falling back to --r-bg). Override the variable
   (the Solo-idiomatic way) AND the button background directly. */
#primary-menu {
  --r-bg-lk: transparent;
  --r-bg-lk-h: transparent;
}
#primary-menu .hamburger-icon button,
#primary-menu .solo-button-menu {
  color: #fff;
  background: transparent !important;
  -webkit-appearance: none;
  appearance: none;
  border: 0 !important;
  box-shadow: none !important;
}
#primary-menu .hamburger-icon svg,
#primary-menu .hamburger-icon svg * { fill: #fff; }

/* Header logo (the block with the `header-logo` class, in the Primary Menu
   region). Solo stacks the region's blocks one per row, which put the logo
   on a row of its own above the menu. Instead: logo left, menu right, on
   one row, centred on each other; the logo starts on the same line as the
   page content (15% of the screen, 10% at <= 1024px - like the hero
   heading). Any other block in the region (e.g. the admin edit tabs, only
   seen when logged in) gets a full-width row above them. */
#primary-menu-inner:has(.header-logo) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "top  top"
    "logo nav";
  align-items: center;
  padding-left: 0;
}
#primary-menu-inner:has(.header-logo) > * {
  grid-area: top;
}
#primary-menu-inner:has(.header-logo) > :has(.header-logo) {
  grid-area: logo;
  margin: 30px 0 0;              /* same top offset as the menu */
  padding-left: 15vw;
}
#primary-menu-inner:has(.header-logo) > #block-fantail-spaces-mainnavigation {
  grid-area: nav;
}
/* Smaller than its 300px file, scaling a little with the screen. */
#primary-menu .header-logo img {
  display: block;
  width: clamp(140px, 11vw, 210px);
  height: auto;
}
@media (max-width: 1024px) {
  #primary-menu-inner:has(.header-logo) > :has(.header-logo) {
    padding-left: 10vw;
  }
}
/* Hamburger menu (below Solo's 992px menu breakpoint): the menu takes the
   whole row, with the logo laid over its left end, so the list that drops
   down when the hamburger is tapped runs full width instead of being
   squeezed into the space beside the logo. The logo's top margin centres
   it on the hamburger icon (measured). */
@media (max-width: 991.98px) {
  #primary-menu-inner:has(.header-logo) {
    grid-template-areas:
      "top"
      "nav";
    grid-template-columns: minmax(0, 1fr);
  }
  #primary-menu-inner:has(.header-logo) > :has(.header-logo) {
    grid-area: nav;
    align-self: start;
    justify-self: start;
    width: fit-content;          /* just the logo - not across the hamburger */
    position: relative;
    z-index: 1001;               /* above the menu row (Solo: z-index 1000, full width), so the logo stays clickable */
    margin-top: 26px;
  }
  /* The opened list starts clear of the logo. */
  #primary-menu-inner:has(.header-logo) ul.navigation__menubar {
    margin-top: 24px;
  }
}

/* Phone / tablet menu (hamburger, below 992px), while it's open: a dark
   overlay over the whole page so the white menu items stand out instead of
   getting lost over the hero photo. The overlay is the menu region's own
   ::before (fixed to the screen, behind the menu's contents but above the
   page - the region is z-index 1000); tapping it, or pressing Esc, closes
   the menu (Drupal.behaviors.fantailMobileMenuOverlay). The items are a
   little larger, left-aligned with each other, in a column that sits on
   the right under the hamburger: the column is as wide as its widest item
   and ends 16px from the screen edge (in line with the hamburger icon).
   Every item gets the same padding + 1px border as the Contact Us box
   (transparent on the others), so all the text lines up with nothing
   hanging outside its link - an earlier version pulled the box out with a
   negative margin, and on a phone its right border got clipped off. */
@media (max-width: 991.98px) {
  /* .fs-menu-open (added by the script) keeps the overlay up while the list
     slides closed; the :has() part is a fallback if the script hasn't run. */
  #primary-menu.fs-menu-open::before,
  #primary-menu:has(.mobile-menubar-toggler-button[aria-expanded="true"])::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(40, 41, 43, 0.94);   /* lighter let the hero heading ghost through the menu */
    animation: fs-menu-overlay-in 0.2s ease-out;
  }
  /* Column on the right: 4px + the links' 12px padding = 16px from the
     screen edge, the hamburger icon's inset. */
  #primary-menu ul.navigation__menubar {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    padding-left: 0;
    padding-right: 4px;
  }
  #primary-menu ul.navigation__menubar > li > .nav__menu-link {
    justify-content: flex-start;
  }
  /* Same box on every item (only Contact Us's border shows); the negative
     block margin keeps the rows their usual height. */
  #primary-menu ul.navigation__menubar > li > .nav__menu-link .menu__url-title {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid transparent;
    margin-block: -5px;
    font-size: 1.25rem;
  }
  #primary-menu .navigation__menubar > li.nav__menu-item-main:last-child > .nav__menu-link .menu__url-title {
    border-color: #fff;
  }
}
@keyframes fs-menu-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #primary-menu::before {
    animation: none;
  }
}

/* Heading overrides.
   Scoped to (0,3,1) so they beat Solo's image-background bundle, which forces
   headings white via a 2-class rule (0,2,1). A plain ".paragraphs-bundles h2"
   (0,1,1) loses inside an image-background paragraph. */
.page-wrapper .paragraph.paragraphs-bundles h1 {

}

/* Prata (Regular / 400) for all H1 headings.
   "body .page-wrapper h1" is (0,1,2) and beats Solo's ".page-wrapper h1"
   (0,1,1) regardless of load order. font-weight:400 prevents a synthesized
   faux-bold, since Prata only ships in Regular. */
.page-wrapper .paragraph.paragraphs-bundles  h1 {
  font-family: 'Prata', serif;
  font-weight: 400;
}

.page-wrapper .paragraph.paragraphs-bundles h2 {
  font-size: 5rem;
  line-height: 5rem;
  font-family: 'Prata', serif;
  font-weight: 400;
}

/* h3: same typeface as h2 (Prata Regular - weight 400, since Prata has no
   bold and a heavier weight would be faked). Size is left to the h3 default;
   h2's 5rem would be far too big for a sub-heading. Covers h3s inside
   paragraphs and anywhere else on the page. Not breakpoint-specific. */
.page-wrapper .paragraph.paragraphs-bundles h3,
body .page-wrapper h3 {
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 3rem;       /* desktop; scaled down for phones/tablets in the <=1024px block */
  line-height: 1.1;
}

.page-wrapper .paragraph.paragraphs-bundles h4,
body .page-wrapper h4 {
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 2.25rem;       /* desktop; scaled down for phones/tablets in the <=1024px block */
  line-height: 1.1;
  padding-top: 0.5rem;
}

.page-wrapper .paragraph.paragraphs-bundles h5 {

}

.page-wrapper .paragraph.paragraphs-bundles h6 {

}

.page-wrapper li.nav__menu-item-main > a,
.page-wrapper li.nav__menu-item-main > a:hover,
.page-wrapper li.nav__menu-item-main > a:focus {
  background-color: transparent;
}

/* Empty page-title box: on pages whose title is hidden ("exclude node
   title", e.g. /rules) Solo still outputs the title region with nothing in
   it - a 48px strip of the grey page background above the hero. Hide it
   whenever it has no content; pages that show a title are unaffected. */
#page-title:not(:has(.page-title-inner > *)) {
  display: none;
}

/* Text links inside page content (the text of any Paragraphs section, e.g.
   "get in touch" on /rules): underlined, like the links in the purchase
   form, so they read as links. Buttons (.btn) are left alone. */
.paragraphs-bundles .field--name-pb-content-body a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Reusable site-wide buttons (EPT Bootstrap Button paragraphs). LOCATION-AGNOSTIC:
   two class-based pieces that work wherever you drop them -

   1) STYLING - put `button-background` / `button-transparent` in each button's
      "CSS class" field.
   2) LAYOUT  - put `button-row` on the ONE container that holds the two buttons
      (a Grid, or any paragraph/section that can contain them). It lays them out
      as a wrapping row - side by side on wide screens, stacking on narrow ones.
      A container is required because a paragraph's parent, not the button
      itself, decides whether siblings sit in a row.

   Button selectors below also cover the class landing on the <a> itself. */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.button-row > * {           /* the button paragraphs: size to content, no stretch/float */
  flex: 0 0 auto;
  width: auto;
  float: none;
  margin: 0;
}

/* When the buttons sit in a Solo Grid, Solo wraps them in equal columns
   (.pb-grid__wrapper.col-N) which spreads them to the column edges. Pack them
   into a left-aligned row with a small gap instead, wrapping to stack on
   narrow screens. Applies in the hero AND wherever a grid is marked
   `button-row`. The buttons are forced to content width (override the equal
   column / ept-width-auto widths). */
.title-image .pb-grid__wrapper,
.button-row .pb-grid__wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  grid-template-columns: none !important;
}
.title-image .pb-grid__wrapper > *,
.button-row .pb-grid__wrapper > * {
  width: auto !important;
  flex: 0 0 auto;
}

/* Align the hero button group under the hero text (same left inset as the
   heading/subtitle: 15% desktop, 10% on phones/tablets). */
.title-image .pb-grid {
  padding-left: 15%;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .title-image .pb-grid {
    padding-left: 10%;
  }
}

.button-background .btn,
a.btn.button-background,
.button-transparent .btn,
a.btn.button-transparent,
.button-black .btn,
a.btn.button-black {
  display: inline-flex;
  align-items: center;
  color: white;
  border: solid white 1px;
  gap: 12px;
  padding: 16px 36px;           /* a little wider than the text (not stretched) */
  border-radius: 0;              /* square corners, per the design */
  line-height: 1;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

/* Arrow icon before the label. The PNG is used only as a SHAPE (mask) and is
   filled with the button's text colour (currentColor), so the arrow always
   matches the text - #28292b on white buttons, white on dark ones - and
   follows it on hover automatically. No per-button or hover image swaps.
   Shape file: sites/default/files/icons/arrow-white.png (transparent PNG -
   the only arrow file; its colour comes from currentColor, never the PNG). */
.button-background .btn::before,
a.btn.button-background::before,
.button-transparent .btn::before,
a.btn.button-transparent::before,
.button-black .btn::before,
a.btn.button-black::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
  background-color: currentColor;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
}

/* Filled (white) button */
.button-background .btn,
a.btn.button-background {
  background: #fff;
  color: var(--fs-black);
  border: 1px solid #fff;
}
.button-background .btn:hover,
a.btn.button-background:hover {
  background: transparent;
  color: #fff;
}

/* Filled (black) button: white arrow + text on black; on hover, black arrow +
   text on transparent (the black border stays, so the button keeps its edge). */
.button-black .btn,
a.btn.button-black {
  background: var(--fs-black);
  color: #fff;
  border: 1px solid var(--fs-black);
}
.button-black .btn:hover,
a.btn.button-black:hover {
  background: transparent;
  color: var(--fs-black);
}

/* Outline (transparent) button */
.button-transparent .btn,
a.btn.button-transparent {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.button-transparent .btn:hover,
a.btn.button-transparent:hover {
  background: #fff;
  color: var(--fs-black);
}

/* #page-wrapper prefix -> (1,1,0), which beats Solo's generated
   #pb-image-background-11 { background-size: contain } (1,0,0). A plain
   .title-image (0,1,0) loses to that ID, which is why `cover` had no effect.
   This comes from the paragraph's "Background size" setting in its edit form. */
#page-wrapper .title-image {
  background-size: cover;        /* fills full width, crops top/bottom as needed */
  background-position: center;
  /* Full-bleed: break out of Solo's padded content column so the image spans
     the whole viewport (edge to edge). */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Vertically centre the hero's content within the image. The inner wrapper is
   already a flex column that fills the hero's full height (Solo's min-height
   on desktop, the aspect-ratio band on mobile), so justify-content centres its
   children - no top padding needed. Applies at every breakpoint. */
#page-wrapper .title-image > .pb-image-background__inner {
  justify-content: center;
}

/* Hero heading / subtitle - LEFT-aligned variant (title-h2 / title-content). */
.page-wrapper .paragraph.paragraphs-bundles .title-h2 {
  padding: 0 0 50px 15%;
  width: 70%;
}

.page-wrapper .paragraph.paragraphs-bundles .title-content p {
  font-size: 2rem;
  line-height: 2rem;
  padding: 0px 0 0px 15%;
  width: 70%;
}

/* Hero heading / subtitle - CENTRED variants (title-h2-centre /
   title-content-centre). Same sizing as the left variants, but the block is
   centred (margin auto) and the text is centred inside it. */
.page-wrapper .paragraph.paragraphs-bundles .title-h2-centre {
  padding: 0 0 50px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-wrapper .paragraph.paragraphs-bundles .title-h2-centre h2 {
  text-align: center;
}
.page-wrapper .paragraph.paragraphs-bundles .title-content-centre p {
  font-size: 2rem;
  line-height: 2rem;
  padding: 0;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Centred button grid (title-grid-centre). No left inset - the extra class
   (0,3,0) beats ".title-image .pb-grid" (0,2,0) at every breakpoint - and the
   grid's items are packed into a centred row that wraps to a centred stack on
   narrow screens. */
.page-wrapper .pb-grid.title-grid-centre {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}
.page-wrapper .title-grid-centre .pb-grid__wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  grid-template-columns: none !important;
}
.page-wrapper .title-grid-centre .pb-grid__wrapper > * {
  width: auto !important;
  flex: 0 0 auto;
}

/* ------------------------------------------------------------------
   .tan - full-width coloured section (put `tan` in a One Column
   paragraph's CSS Classes; set its colour in the paragraph's Display tab).
   All sizes are fluid (clamp), so one set of rules covers every breakpoint.
   #page-wrapper gives ID strength, needed because the grid gap below is
   otherwise set per paragraph by the Grid's own "Grid Gap" field
   (#pb-grid-N .pb-grid__wrapper) - inside .tan this CSS takes over from it.
   ------------------------------------------------------------------ */
#page-wrapper .tan {
  /* Full-bleed, like the hero images: break out of the padded content column. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#page-wrapper .tan > .pb-ui-inner {
  /* Vertical padding on the inner wrapper - that's where the colour is, so the
     colour extends through the padding. */
  padding-block: clamp(40px, 6vw, 96px);
  /* One gap value for every column, so all columns stay evenly spaced. */
  --tan-gap: clamp(16px, 2.5vw, 40px);
}
/* The section's grids: left/right padding. */
#page-wrapper .tan .pb-one-column > .pb-grid {
  padding-inline: clamp(36px, 18%, 360px);
  box-sizing: border-box;
}
/* Space between the grid's cells (the centred button grid keeps its own 16px). */
#page-wrapper .tan .pb-one-column > .pb-grid:not(.title-grid-centre) .pb-grid__wrapper {
  gap: var(--tan-gap);
}
/* ...and the same space between the columns of any Two/Three Columns inside. */
#page-wrapper .tan .pb-two-columns,
#page-wrapper .tan .pb-three-columns {
  gap: var(--tan-gap);
}

/* ------------------------------------------------------------------
   .blue - full-width coloured section (put `blue` in any paragraph's CSS
   Classes - One/Two/Three Columns etc.; set its colour in the Display tab).
   Spans edge to edge like .tan, with its content inset to exactly where the
   front-page hero content starts: 15% of the screen on desktop, 10% at
   <=1024px (media block). The padding goes on the inner wrapper, where the
   colour is, so the colour fills it.
   ------------------------------------------------------------------ */
#page-wrapper .blue {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#page-wrapper .blue > .pb-ui-inner {
  padding-inline: 15vw;
  box-sizing: border-box;
}
/* Top/bottom padding goes on the TEXT columns (equal above and below, same
   fluid size as .tan), not the band - so an image column can run the band's
   full height, edge to edge. */
#page-wrapper .blue [data-col]:not(:has(.paragraph--type--image-bundle)) > .pb-layout-col__content {
  padding-block: clamp(40px, 6vw, 96px);
}
/* Image column: the image fills the column's full height (cover = crops a
   little rather than stretching). When the columns stack on smaller screens
   the column has no fixed height, so the image keeps its natural shape. */
#page-wrapper .blue [data-col]:has(.paragraph--type--image-bundle) > .pb-layout-col__content > .paragraph--type--image-bundle,
#page-wrapper .blue [data-col]:has(.paragraph--type--image-bundle) > .pb-layout-col__content > .paragraph--type--image-bundle > .pb-ui-inner {
  flex-grow: 1;
  block-size: 100%;
}
#page-wrapper .blue [data-col]:has(.paragraph--type--image-bundle) .paragraph--type--image-bundle :is(.pb-image__wrapper, .field, .media, .field__item) {
  height: 100%;
}
#page-wrapper .blue [data-col]:has(.paragraph--type--image-bundle) .paragraph--type--image-bundle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Vertically centre each column's content against the other column.
   Paragraphs Bundles stretches the items in a column to fill its height
   (so a shorter image hugs the top); stop that and centre them instead. */
#page-wrapper .blue [data-col] > .pb-layout-col__content {
  justify-content: center;
}
#page-wrapper .blue [data-col] > .pb-layout-col__content .paragraphs-bundles,
#page-wrapper .blue [data-col] > .pb-layout-col__content .paragraphs-bundles > .pb-ui-inner,
#page-wrapper .blue [data-col] > .pb-layout-col__content .paragraphs-bundles > .pb-ui-inner > .pb-content__full {
  flex-grow: 0;
  block-size: auto;
}
/* Centre the visible content, not its margins: no top margin on whatever
   opens a column, no bottom margin on whatever ends one. */
#page-wrapper .blue [data-col] > .pb-layout-col__content > :first-child :is(h1, h2, h3, h4, h5, h6, p):first-child {
  margin-top: 0;
}
#page-wrapper .blue [data-col] > .pb-layout-col__content > :last-child :is(h1, h2, h3, h4, h5, h6, p):last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------
   Footer panel - the One Column paragraph(s) in a block in the Footer
   Menu region (not nested ones).
   Full width like the hero, with its content inset to exactly where the
   front-page hero H2 starts: 15% of the screen on desktop, 10% at
   <=1024px (see the media block). vw units because the hero's inset is a
   % of a full-width hero, i.e. a % of the screen.
   ------------------------------------------------------------------ */
#footer-menu .paragraph--type--one-column-bundle:not(.paragraph--type--one-column-bundle .paragraph--type--one-column-bundle) {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#footer-menu .paragraph--type--one-column-bundle:not(.paragraph--type--one-column-bundle .paragraph--type--one-column-bundle) > .pb-ui-inner {
  padding-inline: 15vw;
  padding-block: clamp(40px, 6vw, 96px);   /* same fluid top/bottom padding as .tan */
  box-sizing: border-box;
}

/* Copyright line at the bottom of the panel: a 1px white rule on top, the
   same width as the content (it sits inside the panel's side padding, so the
   rule starts and ends on the same lines as the text above). */
#footer-menu .paragraph--type--one-column-bundle .footer-copyright {
  border-top: 1px solid #fff;
  margin-top: clamp(32px, 4vw, 64px);       /* space above the line */
  padding-top: 10px;                        /* line sits close above the text */
}
/* The panel now provides the inset, so a `title-h2` heading inside it must
   not add its own (it would be inset twice). */
#footer-menu .paragraph.paragraphs-bundles .title-h2 {
  padding-left: 0;
  width: 100%;
}

/* Footer menu inside the panel: vertical list, no background, white text in
   every state. Colours are set on the link AND its .menu__url-title span (the
   span is what renders the colour in Solo), plus Solo's link colour vars. */
#footer-menu .pb-one-column .menu--footer {
  --r-bg-lk: transparent;
  --r-bg-lk-h: transparent;
  --r-tx-lk: #fff;
  --r-tx-lk-h: #fff;
}
#footer-menu .pb-one-column .menu--footer .navigation__menubar {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25rem;
  background: transparent;
  border: 0;
  padding: 0;
}
#footer-menu .pb-one-column .menu--footer li.nav__menu-item,
#footer-menu .pb-one-column .menu--footer li.nav__menu-item > a,
#footer-menu .pb-one-column .menu--footer li.nav__menu-item > a:hover,
#footer-menu .pb-one-column .menu--footer li.nav__menu-item > a:focus,
#footer-menu .pb-one-column .menu--footer li.nav__menu-item > a.is-active,
#footer-menu .pb-one-column .menu--footer li.nav__menu-item > a .menu__url-title {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  /* Not bold when active: beats Solo's
     ".solo-inner ul.navigation__menubar li > a.is-active { font-weight: bold }". */
  font-weight: normal;
}
#footer-menu .pb-one-column .menu--footer li.nav__menu-item > a {
  padding: 0.35em 0;
}

/* ------------------------------------------------------------------
   Front page: smooth scrolling + gentle snapping between sections.
   `proximity` (not `mandatory`): it only snaps when you stop near a
   section's top, so sections taller than the screen (the 1200px hero)
   can still be scrolled through freely. Same at every breakpoint.
   ------------------------------------------------------------------ */
html:has(body.path-frontpage) {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.path-frontpage) {
    scroll-behavior: auto;
  }
}
body.path-frontpage .node__content > .paragraph {
  scroll-snap-align: start;
}

/* Section anchors: add `anchor-NAME` to a paragraph's CSS Classes field and
   fantail-spaces-script.js puts an invisible target #NAME at the top of that
   section, so links to /#NAME land on it (the paragraph's own pb-... id is
   left alone - its per-paragraph CSS depends on it). */
.fantail-anchor-host {
  position: relative;
}
.fantail-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ------------------------------------------------------------------
   Phones + tablets (<= 1024px): portrait AND landscape. Shows the hero
   image in its entirety, full width, and scales the overlaid text/padding
   down with vw so it stays sized to the screen instead of using the full
   desktop 100px/500px. 1024px catches landscape phones (~812-932) and
   tablet landscape (iPad = 1024). Larger tablets (iPad Air 1180 / Pro 11
   1194 / Pro 12.9 1366) would need this raised to ~1200 or 1366.
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {

  /* Full-width image band, AT LEAST the image's own shape (2560x1437), and
     taller whenever its content needs it - background-size:cover then fills
     whatever height it ends up. A min-height in vw (not aspect-ratio):
     with aspect-ratio, Safari (iPhone) locked the band to the photo's shape
     and the heading / text / button spilled out of the bottom, pushing the
     rest of the page down. min-height + height:auto grows in every browser.
     NOTE: vw, NOT dvh/vh - those change as the mobile address bar
     shows/hides on scroll, which resized the band and rescaled the image
     mid-scroll (the "weird scroll effect").
     The #page-wrapper prefix -> (1,1,0) beats Solo's generated
     #pb-image-background-11 rules (1,0,0) (background-size + min-height:1200). */
  #page-wrapper .title-image {
    min-height: calc(100vw * 1437 / 2560);
    height: auto;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Full-bleed: break out of Solo's padded content column (.region-inner has
       16px side padding + grid inset) so the image spans the whole viewport.
       100vw wide, pulled to the edges with negative margins. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /* Room at the top for the floating menu + logo (--fs-menu-h), so the
       centred heading never runs under the logo; the band grows to fit
       (height: auto above). Desktop's 1200px band has room already. */
    padding-top: calc(var(--fs-menu-h, 0px) + clamp(16px, 3vw, 32px));
    padding-bottom: clamp(24px, 4vw, 40px);
  }

  /* The dark tint layer is hard-coded to height:1200px; clamp it to the
     band so it doesn't bleed over the content below on mobile. */
  .title-image .img-color-overlay {
    height: 100%;
  }

  /* Overlaid text, sized in vw so it fits inside the (short) full-width image
     band. Tune to taste. */
  .page-wrapper .paragraph.paragraphs-bundles .title-h2 {
    padding: 0 0 1vw 10%;     /* no top padding - content is vertically centred */
    width: 88%;
  }
  .page-wrapper .paragraph.paragraphs-bundles .title-h2-centre {
    padding: 0 0 1vw;         /* centred variant: no side inset (margin auto centres it) */
    width: 88%;
  }
  .page-wrapper .paragraph.paragraphs-bundles .title-h2 h2,
  .page-wrapper .paragraph.paragraphs-bundles .title-h2-centre h2 {
    font-size: 6vw;
    line-height: 1.05;
  }
  /* .blue inset follows the hero content (10% on phones/tablets). */
  #page-wrapper .blue > .pb-ui-inner {
    padding-inline: 10vw;
  }

  /* Footer panel inset follows the hero H2 (10% on phones/tablets). */
  #footer-menu .paragraph--type--one-column-bundle:not(.paragraph--type--one-column-bundle .paragraph--type--one-column-bundle) > .pb-ui-inner {
    padding-inline: 10vw;
  }
  #footer-menu .paragraph.paragraphs-bundles .title-h2 {
    padding-left: 0;
  }

  /* h3: shrink with the screen from 2.25rem. Floor of 1.35rem = 21.6px on
     phones (Solo drops the root font to 16px there), just under the phone h2
     (6vw, ~23px at 390px). */
  .page-wrapper .paragraph.paragraphs-bundles h3,
  body .page-wrapper h3 {
    font-size: clamp(1.35rem, 3.4vw, 2.25rem);
  }
  .page-wrapper .paragraph.paragraphs-bundles .title-content p {
    font-size: 3vw;
    line-height: 1.2;
    padding: 0 0 0 10%;       /* match .title-h2 inset */
    width: 88%;
  }
  .page-wrapper .paragraph.paragraphs-bundles .title-content-centre p {
    font-size: 3vw;
    line-height: 1.2;
    padding: 0;
    width: 88%;
  }
}


/* ==================================================================
   Fantail Space Design page
   (templates/content/node--fantail-space-design--full.html.twig)

   Full-width sections, with a white Buy Now button pinned top right that
   stays on screen while scrolling (all breakpoints).
   ================================================================== */

/* The title is printed on the hero, so hide the separate page title. */
body.page-node-type-fantail-space-design #page-title {
  display: none;
}

/* Full-bleed: break out of the padded content column like .tan / .blue. */
#page-wrapper .fs-design {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
}
#page-wrapper .fs-design__main {
  /* Side inset for every section: same as the hero / .blue / footer. */
  --fs-design-inset: 15vw;
}

/* Buy Now, on the right, level with the middle of the hero image.
   .fs-design__buy is an invisible column down the right-hand edge of the
   page body, from the top of the hero to the bottom of the content.
   - Across: its right edge lines up with the menu's right edge - the
     Contact Us box on desktop, the hamburger icon on phones/tablets
     (--fs-menu-right, measured by Drupal.behaviors.fantailMenuHeight).
   - Down: the form starts half the hero's height down the column
     (--fs-hero-h, measured by Drupal.behaviors.fantailBuyNow; the CSS
     fallback is the hero's own min-height) and is sticky at that same
     point on the screen, so it stays there as you scroll; translateY(-50%)
     centres the button itself on that line. At the end of the content it
     scrolls away with the column.
   pointer-events: none on the column so it never blocks clicks on the page
   underneath - only the button itself is clickable. */
#page-wrapper .fs-design__layout {
  --fs-hero-h: calc(clamp(480px, 80vh, 900px) + var(--fs-menu-h, 0px));
  position: relative;
}
#page-wrapper .fs-design__buy {
  --fs-buy-gap: clamp(16px, 2vw, 32px);
  position: absolute;
  top: 0;
  right: var(--fs-menu-right, var(--fs-buy-gap));
  bottom: 0;
  z-index: 600;
  pointer-events: none;
}
#page-wrapper .fs-design__buy form {
  position: sticky;
  top: calc(var(--drupal-displace-offset-top, 0px) + var(--fs-hero-h) / 2);
  margin: calc(var(--fs-hero-h) / 2) 0 0;
  transform: translateY(-50%);
  pointer-events: auto;
  /* Arrow colour. Same method as the other buttons: the arrow-white.png
     shape used as a mask, filled with this colour - #28292b normally, white
     when the button is hovered/focused. */
  color: var(--fs-black);
  font-size: 0.8rem;             /* so 1.1em matches the button text */
}

/* White button. It floats over every section (dark hero, white blocks), so
   it has a #28292b border + soft shadow to stay visible on white, and on
   hover it fills #28292b with white text/arrow (a transparent hover would
   vanish over whatever is behind it). */
#page-wrapper .fs-design__buy input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  margin: 0;
  padding: 16px 28px 16px calc(28px + 1.1em + 12px);
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  color: var(--fs-black);
  font-family: inherit;
  font-size: 1em;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
#page-wrapper .fs-design__buy input[type="submit"]:hover,
#page-wrapper .fs-design__buy input[type="submit"]:focus-visible {
  background-color: var(--fs-black);
  color: #fff;
}
/* The arrow. An <input> can't have a ::before, so it sits on the form,
   over the button's left padding (clicks pass through it to the button). */
#page-wrapper .fs-design__buy form::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  z-index: 1;
  width: 1.1em;
  height: 1.1em;
  transform: translateY(-50%);
  background-color: currentColor;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  pointer-events: none;
  transition: background-color 0.2s;
}
#page-wrapper .fs-design__buy form:hover,
#page-wrapper .fs-design__buy form:has(input[type="submit"]:focus-visible) {
  color: #fff;
}

/* 1. Hero: image fills the band, dark tint, title + body over it. */
#page-wrapper .fs-design__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  /* + the menu's height, which now floats over the top of the hero */
  min-height: calc(clamp(480px, 80vh, 900px) + var(--fs-menu-h, 0px));
  overflow: hidden;
  background: var(--fs-black);   /* shows only when there is no image */
}
#page-wrapper .fs-design__hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
#page-wrapper .fs-design__hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
#page-wrapper .fs-design__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.1) 100%);
}
#page-wrapper .fs-design__hero-text {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(40px, 6vw, 96px) var(--fs-design-inset);
  /* Start below the floating menu, so the text centres in the visible part. */
  padding-top: calc(var(--fs-menu-h, 0px) + clamp(40px, 6vw, 96px));
}
#page-wrapper .fs-design__hero,
#page-wrapper .fs-design__hero h1,
#page-wrapper .fs-design__hero p,
#page-wrapper .fs-design__hero a {
  color: #fff;
}
#page-wrapper .fs-design__title {
  margin: 0 0 0.35em;
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
}
/* Price, between the title and the Description. 3em of the hero text size
   (16px) = 48px. Never wraps (a price split over two lines reads badly);
   on very narrow phones (< ~370px) it scales with the screen (13vw)
   instead, so even "$12,500.50" stays on one line. */
#page-wrapper .fs-design__price {
  margin: 0 0 0.25em;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: min(3em, 13vw);
  line-height: 1.1;
  white-space: nowrap;
  color: #fff;
}
#page-wrapper .fs-design__intro {
  max-width: 40em;
  font-size: clamp(1rem, 1.3vw, 1.375rem);
  line-height: 1.5;
}
#page-wrapper .fs-design__intro p {
  font-size: inherit;
  line-height: inherit;
}
#page-wrapper .fs-design__intro > :last-child,
#page-wrapper .fs-design__intro .field__item > :last-child {
  margin-bottom: 0;
}

/* 2. Carousel */
#page-wrapper .fs-design__gallery {
  padding: clamp(24px, 4vw, 64px) var(--fs-design-inset);
}

/* 3-5. Sections */
#page-wrapper .fs-design__section {
  padding: clamp(40px, 6vw, 96px) var(--fs-design-inset);
}
#page-wrapper .fs-design__heading {
  margin: 0 0 clamp(20px, 2.5vw, 40px);
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.1;
  color: var(--fs-black);
}
/* 3. Specifications: text on #756d63 left (60%), image right (40%). The
   image fills its column top to bottom, however long the list gets. */
#page-wrapper .fs-design__specs {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  background: #756d63;
}
#page-wrapper .fs-design__specs-text {
  /* Left inset matches the other sections' headings. */
  padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 80px) clamp(40px, 6vw, 96px) var(--fs-design-inset);
  color: #fff;
}
#page-wrapper .fs-design__specs .fs-design__heading,
#page-wrapper .fs-design__specs p,
#page-wrapper .fs-design__specs li,
#page-wrapper .fs-design__specs a {
  color: #fff;
}
#page-wrapper .fs-design__specs-media {
  position: relative;
  min-height: 320px;
}
#page-wrapper .fs-design__specs-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* The fields as a list (heading, then text) in two columns. Each heading +
   its text is one unbreakable block, so a column always breaks between
   specs - the second column always starts with a heading. The columns are
   at least 12rem wide: where the text area is too narrow for two (tablet
   portrait, phones) it drops to one column by itself. */
#page-wrapper .fs-spec-list {
  margin: 0;
  columns: 12rem 2;
  column-gap: clamp(24px, 3vw, 48px);
}
#page-wrapper .fs-spec {
  break-inside: avoid;
  page-break-inside: avoid;        /* older Safari */
  -webkit-column-break-inside: avoid;
  /* Space below each spec (padding, not margin, so it stays with its block
     and the second column's first heading lines up with the first's). */
  padding-bottom: clamp(20px, 2.2vw, 32px);
}
#page-wrapper .fs-spec:last-child {
  padding-bottom: 0;
}
#page-wrapper .fs-spec__value .field__item > :first-child {
  margin-top: 0;
}
#page-wrapper .fs-spec__label {
  margin: 0 0 0.4em;
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.2;
}
#page-wrapper .fs-spec__value {
  margin: 0;
}
#page-wrapper .fs-spec__value .field,
#page-wrapper .fs-spec__value .field__item > :last-child {
  margin-bottom: 0;
}
/* Tables in a spec's text (e.g. Total Height: a description and a size per
   row): no background, borders or cell boxes - just the section's text, the
   two columns side by side with a gap, each row's text top-aligned.
   (Solo gives tables light grey rows, dark text, padding and row lines.) */
#page-wrapper .fs-spec__value table {
  width: auto;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
  color: inherit;
  font: inherit;
}
#page-wrapper .fs-spec__value :is(thead, tbody, tfoot, tr, th, td) {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
}
#page-wrapper .fs-spec__value :is(th, td) {
  padding: 0 1.25em 0 0;
  text-align: left;
  vertical-align: top;
}
#page-wrapper .fs-spec__value :is(th, td):last-child {
  padding-right: 0;
}

/* 4. Optional Extras accordion (<details>/<summary> - works without JS and
   with the keyboard). */
#page-wrapper .fs-accordion {
  border-top: 1px solid rgba(40, 41, 43, 0.25);
}
#page-wrapper .fs-accordion__item {
  border-bottom: 1px solid rgba(40, 41, 43, 0.25);
}
#page-wrapper .fs-accordion__title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: 'Prata', serif;
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  line-height: 1.2;
}
#page-wrapper .fs-accordion__title::-webkit-details-marker {
  display: none;
}
#page-wrapper .fs-accordion__title > span:first-child {
  flex: 1 1 auto;
}
/* Extra's price, under its description: bold, 1.5x the accordion text. */
#page-wrapper .fs-accordion__body .fs-accordion__price {
  font-family: 'Poppins', sans-serif;   /* the body-text font */
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  white-space: nowrap;
}
/* Plus that turns into a minus when open. */
#page-wrapper .fs-accordion__title::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: background-size 0.2s;
}
#page-wrapper .fs-accordion__item[open] > .fs-accordion__title::after {
  background-size: 100% 1.5px, 1.5px 0;
}
#page-wrapper .fs-accordion__title:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 4px;
}
#page-wrapper .fs-accordion__body {
  max-width: 50em;
  padding: 0 0 24px;
}
#page-wrapper .fs-accordion__body > :last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  #page-wrapper .fs-design__main {
    --fs-design-inset: 10vw;     /* same inset as the hero / .blue / footer */
  }
  /* Smaller button on tablets + phones. */
  #page-wrapper .fs-design__buy input[type="submit"] {
    padding: 13px 18px 13px calc(18px + 1.1em + 10px);
  }
  #page-wrapper .fs-design__buy form::before {
    left: 18px;
  }

  #page-wrapper .fs-design__hero {
    min-height: calc(clamp(320px, 60vh, 640px) + var(--fs-menu-h, 0px));
  }
  #page-wrapper .fs-design__layout {
    --fs-hero-h: calc(clamp(320px, 60vh, 640px) + var(--fs-menu-h, 0px));
  }
  #page-wrapper .fs-design__title {
    font-size: clamp(2rem, 7vw, 4rem);
  }
  #page-wrapper .fs-design__intro {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
  }
  #page-wrapper .fs-design__heading {
    font-size: clamp(1.75rem, 6vw, 3rem);
  }
  #page-wrapper .fs-spec__label {
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  }
}

/* Phones in portrait: the halves are too narrow side by side, so the image
   goes under the text, full width at its own 4:3 shape. */
@media (max-width: 600px) {
  #page-wrapper .fs-design__specs {
    grid-template-columns: minmax(0, 1fr);
  }
  #page-wrapper .fs-design__specs-text {
    padding-right: var(--fs-design-inset);
  }
  #page-wrapper .fs-design__specs-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}


/* ==================================================================
   Image lightbox: Blazy "Flybox" (Media switcher "Image to Flybox", used
   by the design page's Splide carousel).
   Out of the box Flybox is a small 420 x 236 box that slides up in the
   bottom-right corner. Restyled here as a centred, near-full-screen
   lightbox on a dark backdrop that fades in. Same at every breakpoint:
   the image is fitted (never cropped) inside 92% of the screen width x
   86% of its height.
   The `body` prefix outranks Blazy's own .b-flybox rules.
   ================================================================== */
body .blazybox.b-flybox {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-shadow: none;
  /* Nearly solid: any more see-through and the page behind shows as
     uneven light/dark patches around the image. */
  background: rgba(20, 20, 20, 0.97);
  /* No slide up from the bottom. 0.4s fade in, starting the moment the
     image is clicked. Blazy only marks the page "open" 301ms after the
     click, and until then keeps the box at z-index -1 - behind the page -
     so the fade played out unseen and the box popped in nearly finished.
     Bring it to the front straight away so the whole fade is visible. */
  z-index: 9999;
  transform: none;
  transition: none;
  animation: fs-flybox-in 0.4s ease-out;
}
body.is-flybox--open .blazybox.b-flybox {
  transform: none;
  transition: none;
}
/* Fade out. On close Blazy adds .is-flybox--closing and only hides
   the box once a CSS transition on it finishes ("transitionend") - with no
   transition it sat on screen for seconds. This 0.4s fade is that
   transition, so the box is gone 0.4s after Esc / x / a click outside. */
body.is-flybox--closing .blazybox.b-flybox {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}
@keyframes fs-flybox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body .blazybox.b-flybox {
    animation: none;
  }
  /* Still needs a (near-instant) transition, or Blazy never hides it. */
  body.is-flybox--closing .blazybox.b-flybox {
    transition-duration: 0.01s;
  }
}
body .blazybox.b-flybox .blazybox__content {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
}
/* The image area: centred (Blazy already centres it with translate). */
body .blazybox.b-flybox .blazybox__media {
  width: 92vw;
  height: 86vh;
  height: 86dvh;                 /* phones: ignore the address bar */
  max-width: none;
  max-height: none;
}
/* Blazy writes a fixed width + aspect-ratio padding inline on this
   wrapper, hence !important; the image then fits the area above. */
body .blazybox.b-flybox .blazybox__media .media {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  padding-bottom: 0 !important;
}
body .blazybox.b-flybox .blazybox__media .media__element {
  object-fit: contain;
}
/* Close button: top right of the screen (below the admin toolbar when
   logged in), big enough to tap. */
body .blazybox.b-flybox .blazybox__close {
  position: fixed;
  top: calc(var(--drupal-displace-offset-top, 0px) + 16px);
  right: 16px;
  left: auto;
  width: 44px;
  height: 44px;
  transform: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
body .blazybox.b-flybox .blazybox__close:hover,
body .blazybox.b-flybox .blazybox__close:focus-visible {
  background: #fff;
  color: var(--fs-black);
}


/* ==================================================================
   Design gallery lightbox - a full-screen carousel of all the design's
   images (Drupal.behaviors.fantailGalleryLightbox builds it, with Splide,
   when a gallery image is clicked; it replaces Flybox there). Same look as
   the Flybox lightbox above: dark backdrop, fade in / out, the x top right.
   Each image is fitted (never cropped) between the x and the
   "< 1 / 3 >" bar at the bottom (the Designs carousel's own controls, in
   white). Same layout at every breakpoint.
   ================================================================== */
html.fs-lightbox-open {
  overflow: hidden;                      /* page behind doesn't scroll */
}
.fs-lightbox {
  --fs-lb-pad: 16px;
  --fs-lb-btn: 44px;                     /* big enough to tap */
  --fs-lb-top: calc(var(--drupal-displace-offset-top, 0px) + var(--fs-lb-pad) * 2 + var(--fs-lb-btn));
  --fs-lb-bottom: calc(var(--fs-lb-pad) * 2 + var(--fs-lb-btn));
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 20, 20, 0.97);
  color: #fff;
  animation: fs-flybox-in 0.3s ease-out;
}
.fs-lightbox[hidden] {
  display: none;
}
.fs-lightbox.is-closing {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}
@media (prefers-reduced-motion: reduce) {
  .fs-lightbox {
    animation: none;
  }
  .fs-lightbox.is-closing {
    transition: none;
  }
}
/* The carousel fills the space between the x and the bottom bar. */
.fs-lightbox .fs-lightbox__carousel {
  position: absolute;
  top: var(--fs-lb-top);
  bottom: var(--fs-lb-bottom);
  left: 0;
  right: 0;
  visibility: visible;
}
.fs-lightbox .splide__track,
.fs-lightbox .splide__list {
  height: 100%;
}
.fs-lightbox .fs-lightbox__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 4vw;
  box-sizing: border-box;
}
.fs-lightbox .fs-lightbox__slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
/* x, top right (below the admin toolbar when logged in). */
.fs-lightbox .fs-lightbox__close {
  position: absolute;
  top: calc(var(--drupal-displace-offset-top, 0px) + var(--fs-lb-pad));
  right: var(--fs-lb-pad);
  z-index: 1;
  width: var(--fs-lb-btn);
  height: var(--fs-lb-btn);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
/* < 1 / 3 >, bottom centre. */
.fs-lightbox .fs-lightbox__nav {
  position: absolute;
  bottom: var(--fs-lb-pad);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fs-lightbox .fs-lightbox__nav[hidden] {
  display: none;
}
.fs-lightbox .fs-lightbox__count {
  margin: 0;
  min-width: 4.5em;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
}
.fs-lightbox .fs-lightbox__btn {
  display: grid;
  place-items: center;
  width: var(--fs-lb-btn);
  height: var(--fs-lb-btn);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
/* Chevron, drawn with two borders of a small square (as the Designs
   carousel's buttons). */
.fs-lightbox .fs-lightbox__btn::before {
  content: "";
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
  transform: translateX(2px) rotate(45deg);
}
.fs-lightbox .fs-lightbox__next::before {
  transform: translateX(-2px) rotate(-135deg);
}
/* Short, wide screens (phones in landscape): the bars above and below would
   leave the image very little height, so it gets the full height instead,
   with < and > at the sides beside it, the x top right and 1 / 3 bottom
   left, both in the side margins. */
@media (max-height: 500px) and (orientation: landscape) {
  .fs-lightbox {
    --fs-lb-side: calc(var(--fs-lb-pad) * 2 + var(--fs-lb-btn));
  }
  .fs-lightbox .fs-lightbox__carousel {
    top: calc(var(--drupal-displace-offset-top, 0px) + var(--fs-lb-pad));
    bottom: var(--fs-lb-pad);
  }
  .fs-lightbox .fs-lightbox__slide {
    padding: 0 var(--fs-lb-side);
  }
  .fs-lightbox .fs-lightbox__nav {
    top: var(--drupal-displace-offset-top, 0px);
    bottom: 0;
    justify-content: space-between;
    padding: 0 var(--fs-lb-pad);
    pointer-events: none;              /* clicks between the buttons reach the backdrop */
  }
  .fs-lightbox .fs-lightbox__btn {
    pointer-events: auto;
  }
  .fs-lightbox .fs-lightbox__count {
    position: absolute;
    left: var(--fs-lb-pad);
    bottom: var(--fs-lb-pad);
    min-width: var(--fs-lb-btn);
    text-align: left;
  }
}
.fs-lightbox .fs-lightbox__close:hover,
.fs-lightbox .fs-lightbox__close:focus-visible,
.fs-lightbox .fs-lightbox__btn:hover,
.fs-lightbox .fs-lightbox__btn:focus-visible {
  background: #fff;
  color: var(--fs-black);
}


/* ==================================================================
   Designs carousel - the Designs view as cards in a sideways carousel
   (templates/views/views-view-unformatted--designs.html.twig; the < 1 / 2 >
   buttons are Drupal.behaviors.fantailCards in fantail-spaces-script.js).
   Each card: image on top, then a tan panel with the title, the summary
   and LEARN MORE. Whole cards in view, plus a sliver of the next one so it's
   obvious there's more to swipe to:
     wide desktop (1600+)  4 cards      tablets / phone landscape  2 cards
     desktop               3 cards      phone portrait             1 card
   Card sizes are a share of the carousel's own width (cqw units), so it
   fits wherever the view is placed, not just full width.
   ================================================================== */
.fs-cards {
  --fs-cards-n: 3;                              /* whole cards in view */
  --fs-cards-peek: 0.2;                         /* ...plus this much of the next */
  --fs-cards-gap: clamp(16px, 2.1vw, 32px);
  --fs-cards-inset: 0px;                        /* space before the first card */
  /* card width = (carousel width - inset - gaps) / (cards + peek) */
  --fs-card-w: calc((100cqw - var(--fs-cards-inset) - var(--fs-cards-n) * var(--fs-cards-gap)) / (var(--fs-cards-n) + var(--fs-cards-peek)));
  /* Text sizes and spacing are shares of the card width, measured from
     the mockup (a 347px card: 30px padding, 27px title, 15px text). */
  --fs-card-pad: clamp(20px, calc(var(--fs-card-w) * 0.0865), 40px);
  container-type: inline-size;
}
/* The /designs page: edge to edge, first card inset from the left. */
#page-wrapper .view-designs.view-display-id-page_1 .fs-cards {
  --fs-cards-inset: clamp(16px, 6.4vw, 160px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: clamp(32px, 4vw, 64px);
}

.fs-cards__track {
  display: flex;
  align-items: stretch;                         /* every card the same height */
  gap: var(--fs-cards-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;                /* always comes to rest on a card */
  scroll-padding-inline: var(--fs-cards-inset);
  padding-inline-start: var(--fs-cards-inset);
  scrollbar-width: none;                        /* the arrows replace the scrollbar */
}
.fs-cards__track::-webkit-scrollbar {
  display: none;
}
/* Same space after the last card as before the first (a spacer: some
   browsers ignore end padding in a sideways-scrolling row). */
.fs-cards__track::after {
  content: "";
  flex: 0 0 max(1px, calc(var(--fs-cards-inset) - var(--fs-cards-gap)));
}
.fs-cards__track:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 4px;
}

/* ---- Card ---- */
#page-wrapper .fs-cards .fs-card {
  flex: 0 0 var(--fs-card-w);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #d0c3af;
  color: var(--fs-black);
  position: relative;              /* holds the whole-card link below */
}
#page-wrapper .fs-cards .fs-card > .views-field {
  padding-inline: var(--fs-card-pad);
}
/* The whole card is a link to the design: the title's link is stretched
   over the card (an invisible ::after), so a click anywhere on it - image,
   text, the tan space - opens the design. One link, named by the title, for
   screen readers and keyboard users. (A card without a linked title uses
   its LEARN MORE link instead.) LEARN MORE's hover look and a focus
   outline go on the whole card to match. */
#page-wrapper .fs-cards .fs-card .views-field-title a::after,
#page-wrapper .fs-cards .fs-card:not(:has(.views-field-title a)) .views-field-view-node a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
#page-wrapper .fs-cards .fs-card:has(a:focus-visible) {
  outline: 2px solid var(--fs-black);
  outline-offset: -2px;            /* inside the edge: the track clips outside it */
}
#page-wrapper .fs-cards .fs-card a:focus-visible {
  outline: none;
}
/* Image: always first, edge to edge, same shape on every card (cropped to
   fit, never stretched). */
#page-wrapper .fs-cards .fs-card > .views-field-field-images {
  order: -1;
  padding: 0;
}
#page-wrapper .fs-cards .fs-card .views-field-field-images a,
#page-wrapper .fs-cards .fs-card .views-field-field-images .field-content {
  display: block;
}
#page-wrapper .fs-cards .fs-card .views-field-field-images img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 347 / 269;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}
/* No zoom on hover: Solo plays a 5s "animateimg" zoom on every linked image
   (solo-clickable-image.css, a.img--is-clickable:hover > img). Off for the
   cards only; linked images elsewhere keep it. */
#page-wrapper .fs-cards .fs-card .views-field-field-images img,
#page-wrapper .fs-cards .fs-card .views-field-field-images a:hover img {
  animation: none;
  transform: none;
}
/* Title */
#page-wrapper .fs-cards .fs-card > .views-field-title {
  padding-top: calc(var(--fs-card-pad) * 0.85);
}
#page-wrapper .fs-cards .fs-card .views-field-title h2,
#page-wrapper .fs-cards .fs-card .views-field-title h3 {
  margin: 0 0 0.4em;
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, calc(var(--fs-card-w) * 0.078), 2rem);
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--fs-black);
}
#page-wrapper .fs-cards .fs-card .views-field-title a {
  color: inherit;
  text-decoration: none;
}
/* Summary (and any other text field) */
#page-wrapper .fs-cards .fs-card > .views-field:not(.views-field-title, .views-field-field-images, .views-field-view-node) {
  font-size: clamp(0.9rem, calc(var(--fs-card-w) * 0.0432), 1.1rem);
  line-height: 1.5;
}
#page-wrapper .fs-cards .fs-card > .views-field p {
  margin: 0 0 0.6em;
}
#page-wrapper .fs-cards .fs-card > .views-field p:last-child {
  margin-bottom: 0;
}
/* LEARN MORE: pinned to the bottom of the card, styled as the site's black
   button (as `button-black`): white text + arrow (the arrow-white.png shape
   filled with the text colour) on black, square corners. The whole card is
   the link, so hovering anywhere on the card (or keyboard focus on it) gives
   the button's hover look: black text + arrow on transparent, black border
   kept. */
#page-wrapper .fs-cards .fs-card > .views-field-view-node {
  order: 10;
  margin-top: auto;
  padding-top: calc(var(--fs-card-pad) * 0.9);
  padding-bottom: var(--fs-card-pad);
}
#page-wrapper .fs-cards .fs-card .views-field-view-node a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: var(--fs-black);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
#page-wrapper .fs-cards .fs-card .views-field-view-node a::before {
  content: "";
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
  background-color: currentColor;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
}
#page-wrapper .fs-cards .fs-card:hover .views-field-view-node a,
#page-wrapper .fs-cards .fs-card:has(a:focus-visible) .views-field-view-node a {
  background: transparent;
  color: var(--fs-black);
}

/* ---- < 1 / 2 > ---- */
.fs-cards__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(16px, 2.3vw, 36px);
}
.fs-cards__nav[hidden] {
  display: none;
}
#page-wrapper .fs-cards__count {
  margin: 0;
  min-width: 3.5em;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--fs-black);
}
#page-wrapper .fs-cards__btn {
  display: grid;
  place-items: center;
  width: 44px;                                  /* big enough to tap */
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--fs-black);
  cursor: pointer;
}
/* Chevron, drawn with two borders of a small square. */
#page-wrapper .fs-cards__btn::before {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
  transform: translateX(2px) rotate(45deg);
}
#page-wrapper .fs-cards__next::before {
  transform: translateX(-2px) rotate(-135deg);
}
#page-wrapper .fs-cards__btn:disabled {
  opacity: 0.3;
  cursor: default;
}
#page-wrapper .fs-cards__btn:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: -6px;
}

@media (min-width: 1600px) {
  .fs-cards {
    --fs-cards-n: 4;
  }
}
@media (max-width: 1024px) {
  .fs-cards {
    --fs-cards-n: 2;
    --fs-cards-peek: 0.25;
  }
}
@media (max-width: 600px) {
  .fs-cards {
    --fs-cards-n: 1;
    --fs-cards-peek: 0.15;
  }
}
@media (prefers-reduced-motion: reduce) {
  #page-wrapper .fs-cards .fs-card .views-field-view-node a {
    transition: none;
  }
}

/* ---- /designs page header (the view's Header: an H2 + a paragraph) ----
   Styled like the front page's centred headings (title-h2-centre /
   title-content-centre): Prata 5rem heading, 2rem text, both centred in
   the middle 70% of the screen (88% at <= 1024px). A dark band, edge to
   edge, so the floating white menu shows over it; the text starts below
   the menu (--fs-menu-h), like the design page hero text. */
/* The page's own (empty) title box sat above the band, leaving a light
   strip behind the menu - the header H2 is the page heading here. */
body.path-view-designs #page-title {
  display: none;
}
#page-wrapper .view-designs.view-display-id-page_1 > .view-header {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: calc(var(--fs-menu-h, 0px) + clamp(40px, 6vw, 96px));
  padding-bottom: clamp(40px, 6vw, 96px);
  background: var(--fs-black);
  text-align: center;
  color: #fff;
}
#page-wrapper .view-designs.view-display-id-page_1 > .view-header > * {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
#page-wrapper .view-designs.view-display-id-page_1 > .view-header h2 {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 62px;          /* + the text's 32px = the front page's 94px gap */
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 5rem;
  line-height: 5rem;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}
#page-wrapper .view-designs.view-display-id-page_1 > .view-header p {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 2rem;
  text-align: center;
  color: #fff;
}
@media (max-width: 1024px) {
  #page-wrapper .view-designs.view-display-id-page_1 > .view-header > * {
    width: 88%;
  }
  /* Front page sizes on phones / tablets (6vw / 3vw), but never smaller
     than readable on a phone (3vw would be 11px text at 375px wide). */
  #page-wrapper .view-designs.view-display-id-page_1 > .view-header h2 {
    padding-bottom: 0;
    font-size: max(1.75rem, 6vw);
    line-height: 1.05;
  }
  #page-wrapper .view-designs.view-display-id-page_1 > .view-header p {
    margin-top: clamp(16px, 3vw, 32px);
    font-size: max(1rem, 3vw);
    line-height: 1.3;
  }
}


/* ==================================================================
   Contact page - a Two Columns section with a heading + webform on the
   left and an image on the right. Applies to ANY Two Columns paragraph
   that contains a Webform paragraph, so no class is needed.
   Like the design page's Specifications section: edge to edge, the left
   column tan (the front page's .tan colour) with its text inset to the
   same 15% / 10% line as the rest of the site, and the image filling the
   right column top to bottom. The columns sit side by side from 992px
   (Paragraphs Bundles' breakpoint) and stack below that, image last.
   ================================================================== */
/* The page's own (empty, title-excluded) title box left a strip above.
   (Written without the :has() above - one :has() can't contain another.) */
body:has(.paragraph--type--two-columns-bundle .paragraph--type--webform-bundle) #page-title {
  display: none;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-content__full > .pb-two-columns {
  gap: 0;
}
/* Left column: tan, inset like the rest of the site, and starting below
   the floating menu (--fs-menu-h). */
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left {
  background: #d8cab6;
  padding: calc(var(--fs-menu-h, 0px) + clamp(40px, 6vw, 96px)) clamp(24px, 4vw, 80px) clamp(40px, 6vw, 96px) 15vw;
  box-sizing: border-box;
}
/* The gap above the form: Paragraphs Bundles stretches the sections in a
   column to share its height, so the heading's box grew to half the column
   (~500px) and the form was squeezed into the rest. Each section is its
   own height instead, one after the other from the top. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left > .pb-layout-col__content {
  justify-content: flex-start;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left > .pb-layout-col__content > .paragraph,
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left > .pb-layout-col__content > .paragraph > .pb-ui-inner {
  flex: 0 0 auto;
  block-size: auto;
}
/* The heading paragraph uses `title-h2` (the hero heading class), which adds
   its own left inset and narrower width - the column already insets it. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left .title-h2 {
  padding: 0;
  width: 100%;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left .title-h2 h2 {
  margin-top: 0;
}
/* Right column: the image fills it top to bottom (cropped, never
   stretched). */
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right,
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right > .pb-layout-col__content,
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right .paragraph--type--image-bundle,
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right .paragraph--type--image-bundle > .pb-ui-inner,
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right .paragraph--type--image-bundle :is(.pb-image__wrapper, .field, .field__item, .media) {
  height: 100%;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Submit button: the site's black button (same as `button-black`) -
   white text + arrow on black; on hover, black text + arrow on a
   transparent background with the black border kept. Same size as the
   other buttons (48px tall, 16px 36px padding).
   It's an <input>, which can't hold an arrow, so the arrow sits on its
   wrapper (.form-actions::before) over the button's left padding - the
   same way as the design page's Buy Now button. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .form-actions {
  position: relative;
  justify-content: flex-start;   /* Solo centres it; the site's buttons sit left */
  align-items: flex-start;
  margin-top: 16px;              /* the space Solo put on the button itself */
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .form-actions .webform-button--submit {
  /* !important only because Solo's solo-webform.css forces 16px 8px with
     !important; the button must sit at the wrapper's top-left corner for
     the arrow (on the wrapper) to line up with it. */
  margin: 0 !important;
  padding: 16px 36px 16px calc(36px + 1.1em + 12px);   /* room for the arrow */
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: var(--fs-black);
  box-shadow: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.1;              /* = the arrow's height, so 48px like the others */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .form-actions .webform-button--submit:hover,
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .form-actions .webform-button--submit:focus-visible {
  background: transparent;
  color: var(--fs-black);
  transform: none;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .form-actions .webform-button--submit:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 3px;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .form-actions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  height: 100%;
  width: calc(0.8rem * 1.1);
  max-height: 48px;
  background-color: #fff;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  pointer-events: none;          /* clicks go to the button underneath */
  z-index: 1;
  transition: background-color 0.2s;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .form-actions:has(.webform-button--submit:hover, .webform-button--submit:focus-visible)::before {
  background-color: var(--fs-black);
}
@media (max-width: 1024px) {
  #page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left {
    padding-left: 10vw;
  }
}
/* 992-1199px (e.g. a tablet in landscape): the menu is ~433px wide plus its
   10% right margin, so over a half-width photo its first link hung onto the
   tan, white on tan. A 40 / 60 split keeps every link on the photo. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-content__full > .pb-two-columns {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
  #page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left {
    padding-left: 10vw;
  }
}
/* Stacked (below Paragraphs Bundles' 992px): the image goes FIRST, keeping
   its own shape, so the floating white menu sits over the photo (on the
   tan it was barely visible) - then the tan column, with equal side insets
   and no menu offset at the top. */
@media (max-width: 991.98px) {
  #page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right {
    order: -1;
  }
  #page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-left {
    padding-top: clamp(40px, 6vw, 96px);
    padding-right: 10vw;
  }
  #page-wrapper .paragraph--type--two-columns-bundle:has(.paragraph--type--webform-bundle) .pb-col-right img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}


/* ==================================================================
   Webform pages (the purchase form at /design/purchase, its
   confirmation page, and any other form shown on its own page):
   - a black band across the top holding the logo + menu,
   - the rest of the page tan (the front page's .tan colour), with the
     content inset like the rest of the site (15% / 10% at <= 1024px),
   - each wizard step's title styled like the site's `title-h2` headings
     (needs the webform's Settings > Form > Wizard page type = Section,
     which prints the step title as <h2 class="webform-section-title">),
   - the progress bar and buttons in the site black.
   The custom module's own fantail-wizard.css keeps the form's working
   layout (summary column, cart, option pills, card field).
   The page-level rules (band, inset, Solo resets) are shared with the
   Fantail Space Documents page, which has its own section below.
   ================================================================== */
/* Black band: the floating menu region itself gets the background, so the
   band is always exactly as tall as the logo + menu (and grows with the
   phone menu's dropdown, which then reads white on black). */
:is(body.path-webform, body.page-node-type-fantail-space-documents) #primary-menu {
  background: var(--fs-black);
  /* Same space under the logo as above it (its 30px top margin), so it
     isn't hard against the bottom of the band. The content below follows
     automatically: it's offset by the band's measured height (--fs-menu-h). */
  padding-bottom: 30px;
}
/* ...and keep it black once you scroll. Solo adds .solo-sticky to the menu
   on scroll, and the site-wide `#primary-menu.solo-sticky` rule (top of
   this file) makes it transparent with !important - which showed the tan
   through the band. */
:is(body.path-webform, body.page-node-type-fantail-space-documents) #primary-menu.solo-sticky {
  background: var(--fs-black) !important;
}
/* The page title ("Project Details") is replaced visually by the step
   titles, but kept for screen readers as the page's h1. */
:is(body.path-webform, body.page-node-type-fantail-space-documents) #page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
body.path-webform #main-container {
  background: #d8cab6;
}
/* Content inset, starting below the band. */
:is(body.path-webform, body.page-node-type-fantail-space-documents) #main-container-inner {
  padding: calc(var(--fs-menu-h, 0px) + clamp(40px, 6vw, 96px)) 15vw clamp(40px, 6vw, 96px);
  box-sizing: border-box;
}
:is(body.path-webform, body.page-node-type-fantail-space-documents) #sidebar-box-main .region-inner {
  padding-inline: 0;
  background: transparent;       /* Solo's light grey region colour hid the tan */
}
/* Solo trims the main box by its gap each side (.active-main-1 > .solo-inner
   > div: width calc(100% - 2 x gap), centred) - which pushed the form 24px
   in from the 15% / 10% line. */
:is(body.path-webform, body.page-node-type-fantail-space-documents) #sidebar-box-main {
  width: 100%;
  margin: 0;
}
/* Admin edit tabs (logged-in only) sit in the band: white, not black. */
:is(body.path-webform, body.page-node-type-fantail-space-documents) #primary-menu .tabs a {
  color: #fff;
}
:is(body.path-webform, body.page-node-type-fantail-space-documents) #primary-menu .tabs li {
  border-color: rgba(255, 255, 255, 0.5);
}
/* Purchase form layout. The module (fantail-wizard.css) puts the "Your
   Design" summary in a reserved right-hand column with absolute
   positioning, beside everything - including the progress bar, which was
   then squeezed to ~470px for 7 steps and broke its labels mid-word.
   Instead: the progress bar runs full width, with the steps below it and
   the summary beside them (992px+); stacked below that, with the summary
   before the buttons so the total is seen before "Next". */
@media (min-width: 992px) {
  body.path-webform .webform-submission-form.fantail-has-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    column-gap: clamp(24px, 3vw, 48px);
    align-items: start;
    padding-right: 0;
  }
  body.path-webform .webform-submission-form.fantail-has-aside > * {
    grid-column: 1;
  }
  body.path-webform .webform-submission-form.fantail-has-aside > .webform-progress {
    grid-column: 1 / -1;
  }
  body.path-webform .webform-submission-form.fantail-has-aside > .fantail-aside {
    grid-column: 2;
    grid-row: 2 / span 2;
    position: static;
    width: auto;
    margin-top: 0;
  }
}
@media (max-width: 991.98px) {
  body.path-webform .webform-submission-form.fantail-has-aside {
    display: flex;
    flex-direction: column;
    padding-right: 0;
  }
  body.path-webform .webform-submission-form.fantail-has-aside > .fantail-aside {
    order: 1;
    position: static;
    width: auto;
  }
  body.path-webform .webform-submission-form.fantail-has-aside > .form-actions {
    order: 2;
  }
}
/* Step title, the site's h3 size (Prata 3rem; smaller on phones/tablets,
   below), left-aligned. Set here whatever the tag, so it looks the same
   if the webform's "Wizard page title tag" setting changes. */
body.path-webform .webform-submission-form .webform-section-title {
  margin: 0 0 24px;
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--fs-black);
}
/* Progress bar: done + current steps in the site black, the steps still
   to come in a darker tan (Webform's light grey disappears on tan). */
body.path-webform .webform-submission-form .progress-step .progress-marker::before,
body.path-webform .webform-submission-form .progress-step .progress-marker::after {
  background-color: #8a8178;
}
body.path-webform .webform-submission-form .progress-step.is-active .progress-marker::before,
body.path-webform .webform-submission-form .progress-step.is-complete .progress-marker::before,
body.path-webform .webform-submission-form .progress-step.is-complete .progress-marker::after,
body.path-webform .webform-submission-form .progress-step:hover .progress-marker::before {
  background-color: var(--fs-black);
}
body.path-webform .webform-submission-form .progress-step .progress-text {
  color: var(--fs-black);
  overflow-wrap: normal;         /* Solo's break-word split "Descrip/tion" on tablets */
}
/* Buttons (Next, Previous, Submit / Pay): the site's black button -
   white on black, transparent with black text on hover, square, 48px tall.
   Left-aligned in a row like the site's button rows (Solo centres them). */
/* One left edge for every field. Solo boxes fieldsets (the "Site Address"
   group, the address field's own group, each option group) with a 1px
   border and 8px padding each, so fields inside them sat ~18px right of
   fields outside them (e.g. Legal Owner). The Stripe card box
   (.fantail-card, from the module) keeps its border. */
/* Site-wide: every webform (purchase form, Contact form, ...). */
.webform-submission-form fieldset:not(.fantail-card) {
  min-width: 0;
  margin-inline: 0;
  padding: 0;
  border: 0 !important;          /* Solo: form fieldset { border ... !important } */
}
.webform-submission-form fieldset:not(.fantail-card) > .fieldset-wrapper {
  padding: 0;
}
.webform-submission-form fieldset:not(.fantail-card) > legend {
  padding: 0;
}
.webform-submission-form fieldset > legend .fieldset-legend {
  font-weight: 500;              /* same as the field labels */
}
/* Option buttons (radios with the module's `fantail-buttons` class) in a
   wrapping row - Solo lays radios out as a one-column grid. */
body.path-webform .webform-submission-form .fantail-buttons .form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.path-webform .webform-submission-form fieldset.fantail-buttons {
  margin-bottom: 24px;           /* space between the option groups */
}
/* Your Design (step 1): the design's name (product_name, an h6) larger and
   bold - same typeface (Poppins), sized between the body text and the
   step title. */
body.path-webform .webform-submission-form [data-webform-key="page_design"] .form-type-processed-text h6 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 1024px) {
  /* Scales down with the step title, so it never ends up bigger than it. */
  body.path-webform .webform-submission-form [data-webform-key="page_design"] .form-type-processed-text h6 {
    font-size: clamp(1.125rem, 2.3vw, 1.5rem);
  }
}
/* Owner Details: the "Site Address" group heading in bold, with its
   intro paragraph (site_address_intro) just under it. */
body.path-webform .webform-submission-form [data-drupal-selector="edit-fieldset-site-address"] {
  margin-top: 24px;              /* a heading needs more room above than a label */
}
body.path-webform .webform-submission-form [data-drupal-selector="edit-fieldset-site-address"] > legend .fieldset-legend {
  font-weight: 700;
}
body.path-webform .webform-submission-form [data-drupal-selector="edit-fieldset-site-address"] > .fieldset-wrapper > .form-type-webform-markup:first-child p {
  margin: 0.25em 0 0.5em;
}
/* Optional Extras: each extra's price (filled in by the module's
   fantail-wizard.js) in bold. */
body.path-webform .webform-submission-form .fantail-extra-price {
  font-weight: 700;
}
/* Links in the purchase form's text ("this map", "Terms and Conditions")
   underlined, so they read as links. This form only. */
body.path-webform form.webform-submission-fantail-project-details-form a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
/* Images in the form's text never wider than the column - including Solo's
   "Image not available" placeholder, which gets a fixed inline width and
   pushed the page wider than a phone. */
body.path-webform .webform-submission-form img,
body.path-webform .webform-submission-form .img-placeholder {
  max-width: 100%;
  height: auto;
}
body.path-webform .webform-submission-form .fantail-buttons .form-radios > .form-item {
  width: auto;                   /* Solo: 100%, one option per row */
  margin: 0 !important;          /* Solo forces margin-block with !important */
}
/* Solo's clearfix adds empty items to the row; the gap before the first
   pushed the options 8px in. */
body.path-webform .webform-submission-form .fantail-buttons .form-radios::before,
body.path-webform .webform-submission-form .fantail-buttons .form-radios::after {
  content: none;
}
body.path-webform .webform-submission-form .fantail-buttons .form-radios label {
  margin-inline-start: 0 !important;   /* Solo forces 4px with !important */
}
body.path-webform .webform-submission-form .form-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 40px);   /* clear of the last field */
}
/* Solo's clearfix (.solo-clear::before/::after) adds empty items to the
   row, and the gap before the first one pushed the buttons 16px in. */
body.path-webform .webform-submission-form .form-actions::before,
body.path-webform .webform-submission-form .form-actions::after {
  content: none;
}
body.path-webform .webform-submission-form .form-actions :is(input[type="submit"], button, .button) {
  /* !important only because Solo's solo-webform.css forces 16px 8px
     margins on these with !important. */
  margin: 0 !important;
  padding: 16px 36px;
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: var(--fs-black);
  box-shadow: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
body.path-webform .webform-submission-form .form-actions :is(input[type="submit"], button, .button):hover,
body.path-webform .webform-submission-form .form-actions :is(input[type="submit"], button, .button):focus-visible {
  background: transparent;
  color: var(--fs-black);
  transform: none;
}
body.path-webform .webform-submission-form .form-actions :is(input[type="submit"], button, .button):focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 3px;
}
/* The site's arrow on each button. The buttons are <input>s, which can't
   hold an arrow, so Drupal.behaviors.fantailFormButtonArrows
   (fantail-spaces-script.js) wraps each in a span.fs-btn-arrow and the arrow
   sits on the span, over the button's left padding - the arrow-white.png
   shape filled with the text colour, as on every other button. It points
   back on Previous. */
body.path-webform .webform-submission-form .form-actions .fs-btn-arrow {
  position: relative;
  display: inline-flex;
}
body.path-webform .webform-submission-form .form-actions .fs-btn-arrow > input {
  padding-left: calc(36px + 1.1em + 12px);
}
body.path-webform .webform-submission-form .form-actions .fs-btn-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 36px;
  width: calc(0.8rem * 1.1);
  height: calc(0.8rem * 1.1);
  transform: translateY(-50%);
  background-color: #fff;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  pointer-events: none;          /* clicks go to the button underneath */
  z-index: 1;
  transition: background-color 0.2s;
}
body.path-webform .webform-submission-form .form-actions .fs-btn-arrow--back::before {
  transform: translateY(-50%) scaleX(-1);
}
body.path-webform .webform-submission-form .form-actions .fs-btn-arrow:has(> input:hover, > input:focus-visible)::before {
  background-color: var(--fs-black);
}
/* When a button is hidden (e.g. the module hides Next for a site our
   designs don't suit), hide its arrow too. */
body.path-webform .webform-submission-form .form-actions .fs-btn-arrow:has(> input[style*="display: none"], > input[hidden], > input.js-hide) {
  display: none;
}
/* ==================================================================
   Fantail Space Documents (a customer's order page,
   node--fantail-space-documents--full.html.twig). Shares the webform
   pages' black band and content inset (rules above); the page is the
   site blue (the front page's .blue colour). The order on the left; the
   order's PDFs in a narrower white column on the right (992px+), stacked
   below the order on smaller screens.
   ================================================================== */
body.page-node-type-fantail-space-documents #main-container {
  background: #b8c7dd;
}
#page-wrapper .fs-docs {
  margin: 0;
}
#page-wrapper .fs-docs .fs-docs__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  column-gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
/* Design name, then the address under it. */
#page-wrapper .fs-docs .fs-docs__product {
  margin: 0;
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--fs-black);
}
#page-wrapper .fs-docs .fs-docs__address {
  margin: 0.3em 0 0;
  padding: 0;
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  color: var(--fs-black);
}
/* The city sits right under the street, as one address. */
#page-wrapper .fs-docs .fs-docs__address--city {
  margin-top: 0.1em;
}
/* The design's photo, full width of the column, its own shape. */
#page-wrapper .fs-docs .fs-docs__media {
  margin-top: clamp(24px, 3vw, 40px);
}
#page-wrapper .fs-docs .fs-docs__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
#page-wrapper .fs-docs .fs-docs__text {
  margin-top: clamp(24px, 3vw, 40px);
}
#page-wrapper .fs-docs .fs-docs__text > :last-child,
#page-wrapper .fs-docs .fs-docs__text .field__item > :last-child {
  margin-bottom: 0;
}
/* Documents column: a white panel with one row per PDF. */
#page-wrapper .fs-docs .fs-docs__files {
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: 6px;            /* same as the purchase form's cart box */
  background: #fff;
  color: var(--fs-black);
}
#page-wrapper .fs-docs .fs-docs__files-title {
  margin: 0 0 0.5em;
  padding: 0;
  font-family: 'Prata', serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--fs-black);
}
#page-wrapper .fs-docs .fs-docs__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
#page-wrapper .fs-docs .fs-docs__item {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(40, 41, 43, 0.15);
}
#page-wrapper .fs-docs .fs-docs__item::before {
  content: none;                 /* no list bullets */
}
/* Each document: the site's arrow pointing down (download), then the
   document's name and, under it, its type and size. */
#page-wrapper .fs-docs .fs-docs__file {
  position: relative;
  display: block;
  padding: 14px 0 14px calc(1.1em + 14px);
  color: var(--fs-black);
  text-decoration: none;
}
#page-wrapper .fs-docs .fs-docs__file::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 1.1em;
  height: 1.1em;
  background-color: currentColor;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  transform: rotate(90deg);
  transition: transform 0.2s;
}
#page-wrapper .fs-docs .fs-docs__file:hover::before,
#page-wrapper .fs-docs .fs-docs__file:focus-visible::before {
  transform: rotate(90deg) translateX(3px);   /* nudges down */
}
#page-wrapper .fs-docs .fs-docs__file-label {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}
#page-wrapper .fs-docs .fs-docs__file:hover .fs-docs__file-label,
#page-wrapper .fs-docs .fs-docs__file:focus-visible .fs-docs__file-label {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
#page-wrapper .fs-docs .fs-docs__file-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.3;
  opacity: 0.7;
}
#page-wrapper .fs-docs .fs-docs__file:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  #page-wrapper .fs-docs .fs-docs__file::before {
    transition: none;
  }
}
@media (max-width: 991.98px) {
  #page-wrapper .fs-docs .fs-docs__layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(32px, 5vw, 48px);
  }
}

@media (max-width: 1024px) {
  :is(body.path-webform, body.page-node-type-fantail-space-documents) #main-container-inner {
    padding-left: 10vw;
    padding-right: 10vw;
  }
  /* Smaller headings on phones / tablets (the site's h3 / h4 scale). */
  #page-wrapper .fs-docs .fs-docs__product {
    font-size: clamp(1.9rem, 6vw, 3.5rem);
  }
  #page-wrapper .fs-docs .fs-docs__address {
    font-size: clamp(1.25rem, 3.6vw, 2.25rem);
  }
  /* The site's h3 size on phones / tablets. */
  body.path-webform .webform-submission-form .webform-section-title {
    margin-bottom: clamp(16px, 2.5vw, 24px);
    font-size: clamp(1.35rem, 3.4vw, 2.25rem);
  }
}


/* ==================================================================
   Icon list sections (the /rules page): a Two Columns paragraph whose
   right column is a stack of 2-cell Grids (an icon image, then its text).
   Applies to ANY Two Columns built that way, so no class is needed.
   Read as three columns, 40 / 20 / 40: the text on the left, the icons in
   the middle, their text on the right - the outer columns split 40 : 60
   and each grid inside the right one splits 20 : 40. Icons at most 150px,
   centred in their column, their tops level with the top of their text.
   Edge to edge
   like .blue, with the site's top / bottom padding and 40% less side
   padding than the rest of the site (9% / 6% at <= 1024px, instead of
   15% / 10%) so the three columns have more room. Stacks below 992px (Paragraphs Bundles'
   breakpoint), the icons staying beside their text.
   ================================================================== */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) {
  --fs-icons-gap: clamp(24px, 3vw, 48px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* The padding goes on the inner wrapper, where the section colour is. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) > .pb-ui-inner {
  padding: clamp(40px, 6vw, 96px) 9vw;   /* 40% less than the site's 15vw */
  box-sizing: border-box;
}
@media (min-width: 992px) {
  #page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-content__full > .pb-two-columns {
    /* 40% of the width left after the two gaps; the right column takes the
       rest, and its grids split that 1 : 2 - so exactly 40 / 20 / 40. */
    grid-template-columns: calc((100% - 2 * var(--fs-icons-gap)) * 0.4) minmax(0, 1fr);
    column-gap: var(--fs-icons-gap);
  }
}
/* Left column: the sections are their own height (Paragraphs Bundles
   stretched each to half the column), starting a little way down. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-left > .pb-layout-col__content {
  justify-content: flex-start;
  padding-top: clamp(16px, 2.5vw, 40px);
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-left > .pb-layout-col__content > .paragraph,
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-left > .pb-layout-col__content > .paragraph > .pb-ui-inner,
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-left > .pb-layout-col__content > .paragraph > .pb-ui-inner > .pb-content__full {
  flex: 0 0 auto;
  block-size: auto;
}
/* All the text in the section in the site black (the hero-style text was
   white), headings and links included - but not buttons (.btn), which keep
   their own colours (e.g. button-black: white text on black). */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) :is(h1, h2, h3, h4, h5, h6, p, li, a, span, strong, em, .field):not(.btn, .btn *) {
  color: var(--fs-black);
}
/* Text using the hero's `title-content` style keeps its size here, but not
   the hero's 15% / 10% indent and narrower width - the column already
   sets the line. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-left .title-content p {
  padding-left: 0;
  width: 100%;
}
/* Each grid: icon (20) beside its text (40), lined up along their tops. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-right .paragraph--type--grid-bundle .pb-grid__wrapper {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
  column-gap: var(--fs-icons-gap);
  align-items: start;
}
/* Paragraphs Bundles stretches both cells to the row's full height; let
   each be its own height, starting at the top of the row. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-right .paragraph--type--grid-bundle .pb-grid__wrapper > * {
  width: auto !important;
  height: auto !important;
  block-size: auto !important;
  align-self: start;
}
/* No space above the first line of each text, so its top is level with
   the icon's top. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-right .paragraph--type--grid-bundle .pb-grid__wrapper > :not(.paragraph--type--image-bundle) .paragraph:first-child .field:first-child,
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-right .paragraph--type--grid-bundle .pb-grid__wrapper > :not(.paragraph--type--image-bundle) .paragraph:first-child .field:first-child > :first-child {
  margin-top: 0;
  padding-top: 0;
}
/* The icon's cell shrinks to the icon once its column is wider than 150px;
   keep it in the middle of its column. */
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-right .paragraph--type--grid-bundle .pb-grid__wrapper > .paragraph--type--image-bundle {
  justify-self: center;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-right .paragraph--type--image-bundle img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-inline: auto;
}
@media (max-width: 1024px) {
  #page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) > .pb-ui-inner {
    padding-left: 6vw;              /* 40% less than the site's 10vw */
    padding-right: 6vw;
  }
  /* The hero's phone size for this text is 3vw (~11px on a phone) - fine
     over a short hero photo, too small here. Never below 1rem. */
  #page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-col-left .title-content p {
    font-size: max(1rem, 3vw);
  }
}
@media (max-width: 991.98px) {
  #page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) .pb-content__full > .pb-two-columns {
    row-gap: var(--fs-icons-gap);
  }
}
/* Scroll snap to the top of the section (like the front page's sections):
   `proximity` - it only snaps when you stop scrolling near the top of it,
   so the (tall) section can still be scrolled through freely. On for any
   page that has one of these sections. */
html:has(.paragraph--type--two-columns-bundle .pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}
#page-wrapper .paragraph--type--two-columns-bundle:has(.pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) {
  scroll-snap-align: start;
}
@media (prefers-reduced-motion: reduce) {
  html:has(.paragraph--type--two-columns-bundle .pb-col-right .paragraph--type--grid-bundle .paragraph--type--image-bundle) {
    scroll-behavior: auto;
  }
}


/* ==================================================================
   Terms and Conditions page (/terms-conditions, node 82): a blue header
   block (Two Columns: the `title-h2` heading + an image) then the terms
   text in a tan One Column block. Both run edge to edge with the site's
   content inset (15% / 10% at <= 1024px); the header starts below the
   floating logo + menu (--fs-menu-h). The heading's box is 90% of its
   column (the hero style's 70%), without the hero's own 15% indent - the
   block's inset already sets the line.
   (Scoped to this page by its node id: if the page is ever re-created,
   change "path-node-82" to the new node's id.)
   ================================================================== */
body.path-node-82 #page-wrapper .node__content > .paragraph--type--two-columns-bundle,
body.path-node-82 #page-wrapper .node__content > .paragraph--type--one-column-bundle {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
body.path-node-82 #page-wrapper .node__content > .paragraph--type--two-columns-bundle > .pb-ui-inner {
  padding: calc(var(--fs-menu-h, 0px) + clamp(16px, 3vw, 40px)) 15vw clamp(40px, 6vw, 96px);
  box-sizing: border-box;
}
body.path-node-82 #page-wrapper .node__content > .paragraph--type--one-column-bundle > .pb-ui-inner {
  padding: clamp(40px, 6vw, 96px) 15vw;
  box-sizing: border-box;
}
body.path-node-82 #page-wrapper .node__content > .paragraph--type--two-columns-bundle .pb-col-left .paragraph.paragraphs-bundles.title-h2 {
  width: 90%;
  padding-left: 0;
}
/* The heading is centred vertically on the image beside it. Paragraphs
   Bundles stretches every box in the column to the image's height, so the
   heading is centred inside the innermost of those boxes; the hero style's
   bottom padding (50px / 1vw) would pull it off centre, so it's dropped
   while the two columns sit side by side (>= 992px). Stacked, the column
   is only as tall as the heading and the padding spaces it from the image. */
body.path-node-82 #page-wrapper .node__content > .paragraph--type--two-columns-bundle .pb-col-left .paragraph.paragraphs-bundles.title-h2 .pb-content__full {
  justify-content: center;
}
@media (min-width: 992px) {
  body.path-node-82 #page-wrapper .node__content > .paragraph--type--two-columns-bundle .pb-col-left .paragraph.paragraphs-bundles.title-h2 {
    padding-bottom: 0;
  }
}
@media (max-width: 1024px) {
  body.path-node-82 #page-wrapper .node__content > .paragraph--type--two-columns-bundle > .pb-ui-inner,
  body.path-node-82 #page-wrapper .node__content > .paragraph--type--one-column-bundle > .pb-ui-inner {
    padding-left: 10vw;
    padding-right: 10vw;
  }
}

/* ==================================================================
   "Check my address" (fantail_ta_lookup module: AddressCheckForm, placed
   as a Block Content paragraph - on /rules it sits in the hero under the
   subtitle). The module's address-check.css only lays the row out; the
   look is here.
   - In a hero (.title-image): same left inset and width as the hero text
     (15% / 70%; 10% / 88% at <=1024px), white label, white field, and the
     site's white button (`button-background`), going transparent on hover.
   - The result opens in a Drupal (jQuery UI) modal, .fantail-ta-dialog:
     white, square, dark backdrop, Prata council name, the site's black
     button for "View the District Plan".
   ================================================================== */
#page-wrapper .fantail-address-check {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
#page-wrapper .title-image .fantail-address-check {
  width: 70%;
  padding: clamp(24px, 3vw, 40px) 0 0 15%;
  box-sizing: border-box;
}
#page-wrapper .fantail-address-check .fantail-address-check__row {
  align-items: flex-end;
  gap: 16px;
}
/* Solo's clearfix adds empty flex items to the row (.solo-clear). */
#page-wrapper .fantail-address-check .fantail-address-check__row::before,
#page-wrapper .fantail-address-check .fantail-address-check__row::after {
  content: none;
}
/* The field takes the whole row, so the button always sits underneath it,
   at its own width and left-aligned like the site's other buttons. */
#page-wrapper .fantail-address-check .fantail-address-check__field {
  flex: 1 1 100%;
  margin: 0;
  padding: 0;
}
#page-wrapper .fantail-address-check label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}
#page-wrapper .title-image .fantail-address-check label {
  color: #fff;
}

/* The field: square, white, the same 48px height as the button. Only the
   background COLOUR is set - core autocomplete draws its spinner as a
   background image on the field. */
#page-wrapper .fantail-address-check .fantail-address-check__input {
  height: 48px;
  margin: 0;
  padding: 0 40px 0 16px;
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
  color: var(--fs-black);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
}
#page-wrapper .title-image .fantail-address-check .fantail-address-check__input {
  border-color: #fff;
}
#page-wrapper .fantail-address-check .fantail-address-check__input::placeholder {
  color: var(--fs-black);
  opacity: 0.55;
}
#page-wrapper .fantail-address-check .fantail-address-check__input:focus {
  outline: 2px solid var(--fs-black);
  outline-offset: 3px;
}
#page-wrapper .title-image .fantail-address-check .fantail-address-check__input:focus {
  outline-color: #fff;
}

/* The button: the site's white button (button-background) in a hero, the
   black one elsewhere. 48px tall, 16px 36px padding plus room for the arrow.
   It's an <input>, so Drupal.behaviors.fantailFormButtonArrows wraps it in
   span.fs-btn-arrow and the arrow sits on the span. */
#page-wrapper .fantail-address-check .fs-btn-arrow {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #fff;
}
#page-wrapper .fantail-address-check .fantail-address-check__button {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  height: 48px;
  margin: 0;
  padding: 0 36px 0 calc(36px + 0.8rem * 1.1 + 12px);
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: var(--fs-black);
  box-shadow: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
  animation: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#page-wrapper .fantail-address-check .fantail-address-check__button:hover,
#page-wrapper .fantail-address-check .fantail-address-check__button:focus-visible {
  background: transparent;
  color: var(--fs-black);
  transform: none;
}
#page-wrapper .fantail-address-check .fantail-address-check__button:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 3px;
}
#page-wrapper .fantail-address-check .fantail-address-check__button:disabled {
  cursor: wait;
  opacity: 0.7;
}
#page-wrapper .fantail-address-check .fs-btn-arrow::before {
  content: "";
  position: absolute;
  top: 24px;                     /* the button's middle (it's 48px tall) */
  left: 36px;
  z-index: 1;
  width: calc(0.8rem * 1.1);
  height: calc(0.8rem * 1.1);
  transform: translateY(-50%);
  background-color: #fff;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  pointer-events: none;          /* clicks go to the button underneath */
  transition: background-color 0.2s;
}
#page-wrapper .fantail-address-check .fs-btn-arrow:has(> input:hover, > input:focus-visible)::before {
  background-color: var(--fs-black);
}
/* In a hero: white button, black text + arrow; transparent with white
   text + arrow on hover. */
#page-wrapper .title-image .fantail-address-check .fantail-address-check__button {
  border-color: #fff;
  background: #fff;
  color: var(--fs-black);
}
#page-wrapper .title-image .fantail-address-check .fantail-address-check__button:hover,
#page-wrapper .title-image .fantail-address-check .fantail-address-check__button:focus-visible {
  background: transparent;
  color: #fff;
}
#page-wrapper .title-image .fantail-address-check .fantail-address-check__button:focus-visible {
  outline-color: #fff;
}
#page-wrapper .title-image .fantail-address-check .fs-btn-arrow::before {
  background-color: var(--fs-black);
}
#page-wrapper .title-image .fantail-address-check .fs-btn-arrow:has(> input:hover, > input:focus-visible)::before {
  background-color: #fff;
}
/* "Checking…" while the lookup runs (Drupal puts it after the button). */
#page-wrapper .fantail-address-check .ajax-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.2;
}
#page-wrapper .fantail-address-check .ajax-progress .message {
  padding: 0;
  color: var(--fs-black);
}
#page-wrapper .title-image .fantail-address-check .ajax-progress .message {
  color: #fff;
}

@media (max-width: 1024px) {
  #page-wrapper .title-image .fantail-address-check {
    width: 88%;
    padding-left: 10%;
  }
}
/* Phones: keep the button at its own width (the module stretches it full
   width). */
@media (max-width: 575.98px) {
  #page-wrapper .fantail-address-check .fantail-address-check__button {
    flex: 0 0 auto;
  }
}

/* Address suggestions (jQuery UI autocomplete, added to the end of the
   page): square white list in the site font, the highlighted row in the
   site black. Site-wide, so the purchase form's address field matches. */
.ui-autocomplete.ui-menu {
  max-height: min(320px, 50vh);
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}
.ui-autocomplete.ui-menu .ui-menu-item-wrapper {
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  color: var(--fs-black);
  line-height: 1.35;
}
.ui-autocomplete.ui-menu .ui-menu-item + .ui-menu-item .ui-menu-item-wrapper {
  border-top: 1px solid rgba(40, 41, 43, 0.1);
}
.ui-autocomplete.ui-menu .ui-menu-item-wrapper.ui-state-active {
  margin: 0;
  border-color: transparent;
  background: var(--fs-black);
  color: #fff;
}

/* ---- The result modal ---- */
.ui-dialog.fantail-ta-dialog {
  --fs-ta-pad: clamp(24px, 4vw, 40px);
  max-width: calc(100vw - 32px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;              /* content scrolling on short screens stays inside the corners */
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  color: var(--fs-black);
  font-family: 'Poppins', sans-serif;
  animation: fs-flybox-in 0.3s ease;
}
/* Dark backdrop, like the image lightbox (it follows the dialog). */
.ui-dialog.fantail-ta-dialog ~ .ui-widget-overlay {
  background: rgb(20, 20, 20);
  opacity: 0.8;
}
/* Title bar: "YOUR COUNCIL" as a small label (the button lettering); the
   council's name below it is the heading. */
.fantail-ta-dialog .ui-dialog-titlebar {
  position: relative;
  padding: var(--fs-ta-pad) calc(var(--fs-ta-pad) + 44px) 0 var(--fs-ta-pad);
  border: 0;
  border-radius: 0;
  background: none;
}
.fantail-ta-dialog .ui-dialog-title {
  float: none;
  width: auto;
  margin: 0;
  color: var(--fs-black);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: normal;
}
/* x, top right: a square with a 1px border (as the lightbox's), filling
   black on hover. jQuery UI's sprite icon and "Close" text are hidden. */
.fantail-ta-dialog .ui-dialog-titlebar-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--fs-black);
  font-size: 0;
  line-height: 1;
  text-indent: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.fantail-ta-dialog .ui-dialog-titlebar-close::before {
  content: "\00d7";
  font-size: 26px;
  line-height: 42px;
}
.fantail-ta-dialog .ui-dialog-titlebar-close .ui-icon,
.fantail-ta-dialog .ui-dialog-titlebar-close .ui-button-icon-space {
  display: none;
}
.fantail-ta-dialog .ui-dialog-titlebar-close:hover,
.fantail-ta-dialog .ui-dialog-titlebar-close:focus-visible {
  background: var(--fs-black);
  color: #fff;
}
.fantail-ta-dialog .ui-dialog-titlebar-close:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 2px;
}
.fantail-ta-dialog .ui-dialog-content {
  padding: 12px var(--fs-ta-pad) var(--fs-ta-pad);
  border: 0;
  background: none;
  color: var(--fs-black);
}
.fantail-ta-dialog .fantail-ta-result {
  width: 32rem;
  max-width: 100%;
}
.fantail-ta-dialog .fantail-ta-result p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.5;
}
.fantail-ta-dialog .fantail-ta-result > :last-child {
  margin-bottom: 0;
}
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__intro {
  margin-bottom: 4px;
}
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__council {
  margin: 0 0 12px;
  padding: 0;
  color: var(--fs-black);
  font-family: 'Prata', serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
}
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__address,
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__hint {
  font-size: 0.875rem;
  opacity: 0.75;
}
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__note {
  padding: 12px 16px;
  background: #f1ede6;
  font-size: 0.875rem;
}
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__plan {
  margin: 24px 0;
}
/* "View the District Plan": the site's black button (button-black). */
.fantail-ta-dialog .fantail-ta-result__plan a.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border: 1px solid var(--fs-black);
  border-radius: 0;
  background: var(--fs-black);
  box-shadow: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.fantail-ta-dialog .fantail-ta-result__plan a.btn::before {
  content: "";
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
  background-color: currentColor;
  -webkit-mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
  mask: url(/sites/default/files/icons/arrow-white.png) center / contain no-repeat;
}
.fantail-ta-dialog .fantail-ta-result__plan a.btn:hover,
.fantail-ta-dialog .fantail-ta-result__plan a.btn:focus-visible {
  background: transparent;
  color: var(--fs-black);
}
.fantail-ta-dialog .fantail-ta-result__plan a.btn:focus-visible {
  outline: 2px solid var(--fs-black);
  outline-offset: 3px;
}
.fantail-ta-dialog .fantail-ta-result a:not(.btn) {
  color: var(--fs-black);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__phone a {
  font-weight: 600;
}
.fantail-ta-dialog .fantail-ta-result .fantail-ta-result__disclaimer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(40, 41, 43, 0.15);
  font-size: 0.8rem;
  opacity: 0.75;
}
@media (prefers-reduced-motion: reduce) {
  .ui-dialog.fantail-ta-dialog {
    animation: none;
  }
  #page-wrapper .fantail-address-check .fantail-address-check__button,
  #page-wrapper .fantail-address-check .fs-btn-arrow::before,
  .fantail-ta-dialog .ui-dialog-titlebar-close,
  .fantail-ta-dialog .fantail-ta-result__plan a.btn {
    transition: none;
  }
}


/*
Regions Names, each region has an ID and a Class with the same name.
You can use .page-wrapper or #page-wrapper
#page-wrapper {}
#primary-sidebar-menu {}
#fixed-search-block {}
#popup-login-block {}
#header {}
#primary-menu {}
#welcome-text {}

#top-container {}
#top-box-first {}
#top-box-second {}
#top-box-third {}

#system-messages {}
#breadcrumb {}
#page-title {}

#main-container {}
#sidebar-box-first {}
#sidebar-box-main {}
#sidebar-box-second {}

#bottom-container {}
#bottom-box-first {}
#bottom-box-second {}
#bottom-box-third {}
#bottom-box-fourth {}

#footer-container {}
#footer-box-first {}
#footer-box-second {}
#footer-box-third {}

#footer-menu {}
#copyright {}

Examples:

#page-wrapper {
  background-color: var(--r-bg);
  color: var(--r-tx);
  border-color: var(--r-br);
}

h1, h2, h3 {
  color: var(--r-h1);
}

a:not(li.nav__menu-item a) {
  color: var(--r-lk);
  color: var(--r-lk-h);
}

input:not(.button) {
  background-color: var(--r-bg-fr);
}

li.nav__menu-item a {
  color: var(--r-tx-lk);
  background-color: var(--r-bg-lk);
}

li.nav__menu-item a:hover {
  color: var(--r-tx-lk-h);
  background-color: var(--r-bg-lk-h);
}

button:not(li.nav__menu-item button) {
  color: var(--r-tx-bt);
  background-color: var(--r-bg-bt);
}

button:not(li.nav__menu-item button):hover {
  color: var(--r-tx-bt-h);
  background-color: var(--r-bg-bt-h);
}
https://www.drupal.org/docs/extending-drupal/themes/contributed-themes/solo/instructions-for-developers-on-using-colors-in-solo-theme
*/
