@charset "UTF-8";
/*
* Main Style
* Compiled to assets/css/main.css
*/
/* Basic Rest */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  overflow-x: hidden;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.error-404 {
  text-align: center;
  min-height: calc(100vh - 450px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-404 .container {
  gap: var(--container-gap);
}

.container {
  width: 100%;
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-x);
}

.hero .container {
  max-width: calc(var(--max-width-hero) + var(--content-padding-x) * 2);
}

.screen-reader-text,
.screen-reader-text span,
.ui-helper-hidden-accessible {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

body {
  color: var(--color-body);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
}

a {
  color: var(--color-primary);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
}

/* Variables */
/*
 * Design Tokens
 * Generated from Figma: SimplyEasy Refurbs 2026 Refresh
 * Node: 35-9249 → Style Guide frame (8336:8570)
 * Last updated: 2026-06-03
 *
 * DO NOT edit manually — update via Figma and regenerate.
 */
:root {
  --color-primary-ultra-light: #E5F3FF;
  --color-primary-light: #B2DBFF;
  --color-primary-semi-light: #4DACFF;
  --color-primary: #0088FF;
  --color-primary-semi-dark: #005FB2;
  --color-primary-dark: #004480;
  --color-primary-ultra-dark: #081f30;
  --color-secondary: #081F30;
  --color-bg: #F2F7FD;
  --color-white: #FFFFFF;
  --color-heading: #262626;
  --color-body: #404040;
  --color-muted: #A6A6A6;
  --color-border: #D9D9D9;
  --color-divider: #E8E8E8;
  --color-success: #29A87A;
  --color-warning: #F69D0E;
  --color-error: #ED3535;
  --font-heading: lft-etica , sans-serif;
  --font-body: "Roboto", sans-serif;
  --font-utility: lft-etica, sans-serif;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  --fs-d-h1-l: 72px;
  --lh-d-h1-l: 105px;
  --fs-d-h1: 64px;
  --lh-d-h1: 70px;
  --fs-d-h2: 32px;
  --lh-d-h2: 42px;
  --fs-d-h3: 24px;
  --lh-d-h3: 31px;
  --fs-d-h4: 20px;
  --lh-d-h4: 26px;
  --fs-d-h5: 18px;
  --lh-d-h5: 24px;
  --fs-d-h6: 12px;
  --lh-d-h6: 18px;
  --fs-d-category: 12px;
  --lh-d-category: 18px;
  --fs-d-text-l: 18px;
  --lh-d-text-l: 24px;
  --fs-d-text-m: 16px;
  --lh-d-text-m: 24px;
  --fs-d-text-s: 14px;
  --lh-d-text-s: 21px;
  --fs-d-text-xs: 12px;
  --lh-d-text-xs: 18px;
  --fs-m-h1: 48px;
  --lh-m-h1: 53px;
  --fs-m-h2: 28px;
  --lh-m-h2: 36px;
  --fs-m-h3: 20px;
  --lh-m-h3: 26px;
  --fs-m-h4: 18px;
  --lh-m-h4: 23px;
  --fs-m-h5: 16px;
  --lh-m-h5: 21px;
  --fs-m-h6: 12px;
  --lh-m-h6: 18px;
  --fs-m-text-m: 16px;
  --lh-m-text-m: 24px;
  --fs-m-text-s: 14px;
  --lh-m-text-s: 21px;
  --btn-radius: 999px;
  --btn-font-family: var(--font-body);
  --btn-font-size: var(--fs-d-text-s);
  --btn-line-height: var(--lh-d-text-s);
  --btn-font-weight: var(--font-weight-regular);
  --btn-primary-bg: var(--color-primary);
  --btn-primary-color: var(--color-white);
  --btn-primary-border: none;
  --btn-secondary-bg: transparent;
  --btn-secondary-color: var(--color-secondary);
  --btn-secondary-border: 1px solid var(--color-primary);
  --field-radius: 4.5px;
  --field-border: 1px solid var(--color-border);
  --field-border-focus: 2px solid var(--color-primary);
  --field-border-error: 1px solid var(--color-error);
  --field-bg: var(--color-white);
  --field-bg-disabled: #F5F5F5;
  --field-bg-error: #FFF5F5;
  --field-color: var(--color-body);
  --field-color-placeholder: var(--color-muted);
  --max-width: 1440px;
  --nav-padding-x: 64px;
  --section-padding-x: 64px;
  --max-width-block: 1180px;
  --max-width-hero: 1320px;
  --content-padding-x: 30px;
  --content-padding-x-mob: 16px;
}

@media (max-width: 768px) {
  :root {
    --content-padding-x: var(--content-padding-x-mob);
  }
}
/*
 * Typography
 * Applies design token font families, sizes, and line heights to base elements.
 */
body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
}

h1, .h1 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-d-h1-l);
  line-height: var(--lh-d-h1-l);
}

h2, .h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
}

h3, .h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-d-h3);
  line-height: var(--lh-d-h3);
}

h4, .h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
}

h5, .h5 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-d-h5);
  line-height: var(--lh-d-h5);
}

h6, .h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-d-h6);
  line-height: var(--lh-d-h6);
}

.category-heading {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--fs-d-category);
  line-height: var(--lh-d-category);
}

@media (max-width: calc(768px - 1px)) {
  h1, .h1 {
    font-size: var(--fs-m-h1);
    line-height: var(--lh-m-h1);
  }
  h2, .h2 {
    font-size: var(--fs-m-h2);
    line-height: var(--lh-m-h2);
  }
  h3, .h3 {
    font-size: var(--fs-m-h3);
    line-height: var(--lh-m-h3);
  }
  h4, .h4 {
    font-size: var(--fs-m-h4);
    line-height: var(--lh-m-h4);
  }
  h5, .h5 {
    font-size: var(--fs-m-h5);
    line-height: var(--lh-m-h5);
  }
  body {
    font-size: var(--fs-m-text-m);
    line-height: var(--lh-m-text-m);
  }
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn),
section:not(.header, .footer-bottom) a.brxe-text-link,
.text-link,
.complz-text-link span,
.copyright a:not(.btn),
.underline-hover,
.message a:not(.btn),
a.edit,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn) {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  margin-block-start: 0 !important;
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn)::before, [class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn)::after,
section:not(.header, .footer-bottom) a.brxe-text-link::before,
section:not(.header, .footer-bottom) a.brxe-text-link::after,
.text-link::before,
.text-link::after,
.complz-text-link span::before,
.complz-text-link span::after,
.copyright a:not(.btn)::before,
.copyright a:not(.btn)::after,
.underline-hover::before,
.underline-hover::after,
.message a:not(.btn)::before,
.message a:not(.btn)::after,
a.edit::before,
a.edit::after,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn)::before,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentcolor;
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn)::before,
section:not(.header, .footer-bottom) a.brxe-text-link::before,
.text-link::before,
.complz-text-link span::before,
.copyright a:not(.btn)::before,
.underline-hover::before,
.message a:not(.btn)::before,
a.edit::before,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn)::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.5s;
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn)::after,
section:not(.header, .footer-bottom) a.brxe-text-link::after,
.text-link::after,
.complz-text-link span::after,
.copyright a:not(.btn)::after,
.underline-hover::after,
.message a:not(.btn)::after,
a.edit::after,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn)::after {
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn):hover,
section:not(.header, .footer-bottom) a.brxe-text-link:hover,
.text-link:hover,
.complz-text-link span:hover,
.copyright a:not(.btn):hover,
.underline-hover:hover,
.message a:not(.btn):hover,
a.edit:hover,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn):hover {
  color: var(--accent);
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn):hover::before, [class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn):hover::after,
section:not(.header, .footer-bottom) a.brxe-text-link:hover::before,
section:not(.header, .footer-bottom) a.brxe-text-link:hover::after,
.text-link:hover::before,
.text-link:hover::after,
.complz-text-link span:hover::before,
.complz-text-link span:hover::after,
.copyright a:not(.btn):hover::before,
.copyright a:not(.btn):hover::after,
.underline-hover:hover::before,
.underline-hover:hover::after,
.message a:not(.btn):hover::before,
.message a:not(.btn):hover::after,
a.edit:hover::before,
a.edit:hover::after,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn):hover::before,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn):hover::after {
  background: var(--accent);
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn):hover::before,
section:not(.header, .footer-bottom) a.brxe-text-link:hover::before,
.text-link:hover::before,
.complz-text-link span:hover::before,
.copyright a:not(.btn):hover::before,
.underline-hover:hover::before,
.message a:not(.btn):hover::before,
a.edit:hover::before,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn):hover::before {
  transform: scaleX(1);
}
[class*=text] p a:not(.rank-math-html-sitemap__link):not(.btn):hover::after,
section:not(.header, .footer-bottom) a.brxe-text-link:hover::after,
.text-link:hover::after,
.complz-text-link span:hover::after,
.copyright a:not(.btn):hover::after,
.underline-hover:hover::after,
.message a:not(.btn):hover::after,
a.edit:hover::after,
body:not(.single) .entry-content a:not(.rank-math-html-sitemap__link):not(.btn):hover::after {
  transform: scaleX(0);
}

.client-link__link,
.cmplz-message a {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  margin-block-start: 0 !important;
}
.client-link__link::before, .client-link__link::after,
.cmplz-message a::before,
.cmplz-message a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentcolor;
}
.client-link__link::before,
.cmplz-message a::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.5s;
}
.client-link__link::after,
.cmplz-message a::after {
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.client-link__link:hover,
.cmplz-message a:hover {
  color: var(--accent);
}
.client-link__link:hover::before, .client-link__link:hover::after,
.cmplz-message a:hover::before,
.cmplz-message a:hover::after {
  background: var(--accent);
}
.client-link__link:hover::before,
.cmplz-message a:hover::before {
  transform: scaleX(1);
}
.client-link__link:hover::after,
.cmplz-message a:hover::after {
  transform: scaleX(0);
}

.footer-link,
footer a:not(.logo):not(.footer-social__link):not(.btn):not(.footer__social-link),
a.rank-math-html-sitemap__link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  margin-block-start: 0 !important;
}
.footer-link::after,
footer a:not(.logo):not(.footer-social__link):not(.btn):not(.footer__social-link)::after,
a.rank-math-html-sitemap__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.footer-link:hover::after,
footer a:not(.logo):not(.footer-social__link):not(.btn):not(.footer__social-link):hover::after,
a.rank-math-html-sitemap__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link--tertiary {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  margin-block-start: 0 !important;
}
.text-link--tertiary::before, .text-link--tertiary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--tertiary);
}
.text-link--tertiary::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.5s;
}
.text-link--tertiary::after {
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-link--tertiary:hover {
  color: var(--accent);
}
.text-link--tertiary:hover::before, .text-link--tertiary:hover::after {
  background: var(--accent);
}
.text-link--tertiary:hover::before {
  transform: scaleX(1);
}
.text-link--tertiary:hover::after {
  transform: scaleX(0);
}

.single .entry-content a:not(.btn) {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  margin-block-start: 0 !important;
}
.single .entry-content a:not(.btn)::before, .single .entry-content a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}
.single .entry-content a:not(.btn)::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.5s;
}
.single .entry-content a:not(.btn)::after {
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.single .entry-content a:not(.btn):hover {
  color: var(--accent);
}
.single .entry-content a:not(.btn):hover::before, .single .entry-content a:not(.btn):hover::after {
  background: var(--accent);
}
.single .entry-content a:not(.btn):hover::before {
  transform: scaleX(1);
}
.single .entry-content a:not(.btn):hover::after {
  transform: scaleX(0);
}

.cmplz-show-banner,
.navigation a:not(.btn),
[class*=breadcrumb] a:not(.btn),
.text-link--hover-in {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  margin-block-start: 0 !important;
}
.cmplz-show-banner::after,
.navigation a:not(.btn)::after,
[class*=breadcrumb] a:not(.btn)::after,
.text-link--hover-in::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.cmplz-show-banner:hover::after,
.navigation a:not(.btn):hover::after,
[class*=breadcrumb] a:not(.btn):hover::after,
.text-link--hover-in:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link--accent {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  margin-block-start: 0 !important;
}
.text-link--accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.text-link--accent:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link--hover {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  margin-block-start: 0 !important;
}
.text-link--hover::before, .text-link--hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentcolor;
}
.text-link--hover::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.5s;
}
.text-link--hover::after {
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-link--hover:hover {
  color: var(--accent);
}
.text-link--hover:hover::before, .text-link--hover:hover::after {
  background: var(--accent);
}
.text-link--hover:hover::before {
  transform: scaleX(1);
}
.text-link--hover:hover::after {
  transform: scaleX(0);
}

/* ============================================
   Text Wipe Animation Utility
   ============================================

   Usage: Add the .text-wipe class to any element
   containing text (p, div, h1, etc.)

   Example:
   <div class="text-wipe">
     <p>Your text here</p>
   </div>

   The animation will automatically trigger on scroll

   Colors adapt based on parent background:
   - Inside .bg--ultra-dark: Light text → White highlight
   - Default: Dark muted text → Dark text highlight
   ============================================ */
.text-wipe {
  /* CSS custom properties for scroll animation */
  --highlightOffset: 0%;
  --gradientTransitionSize: 10%;
  /* Default colors (for light backgrounds) */
  --wipe-base-color: var(--text-light-muted, #867979);
  --wipe-highlight-color: var(--text-dark, #000000);
  background: linear-gradient(175deg, var(--wipe-highlight-color) 0%, var(--wipe-highlight-color) var(--highlightOffset), var(--wipe-base-color) calc(var(--highlightOffset) + var(--gradientTransitionSize)), var(--wipe-base-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Spans should always be accent color and not affected by wipe */
}
.text-wipe span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  text-shadow: 0 0 1px var(--accent);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

/* Dark background variant */
.bg--ultra-dark .text-wipe {
  --wipe-base-color: var(--text-light-muted, rgba(255, 255, 255, 0.6));
  --wipe-highlight-color: var(--text-light, white);
}

/* ============================================
   Animations Style Guide
   ============================================

   A centralised library of reusable animation
   utility classes used across the theme.

   ============================================ */
/* --------------------------------------------
   Fade In + Slide Up  (.anim-entry)
   --------------------------------------------

   Apply .anim-entry to any element that should
   start hidden and animate into view. JS adds
   .animated to trigger the reveal.

   Usage (HTML):
     <h1 class="hero__heading anim-entry">

   Usage (JS):
     document.querySelectorAll('.anim-entry')
       .forEach(el => el.classList.add('animated'));

   Stagger delays with --animation-delay:
     <h1 class="anim-entry" style="--animation-delay: 200ms;">

   -------------------------------------------- */
.anim-entry {
  opacity: 0;
  transform: translateY(60px);
  transition: transform 1200ms cubic-bezier(0.33, 1, 0.68, 1) var(--animation-delay, 0ms), opacity 1200ms cubic-bezier(0.33, 1, 0.68, 1) var(--animation-delay, 0ms);
}

.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

@keyframes ser-word-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ser-icon-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ser-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ser-bg-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ser-scale-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ser-ken-burns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
@keyframes ser-slide-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ser-slide-right {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ser-hero-widget-in {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero__word {
  display: inline-block;
  opacity: 0;
  animation: ser-word-in 0.55s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.hero__slide--active,
.page-hero__slide--active {
  animation: ser-bg-fade-in 0.5s ease-out forwards;
}

.hero--slideshow .hero__slide--active,
.page-hero--slideshow .page-hero__slide--active {
  animation: ser-bg-fade-in 0.5s ease-out forwards, ser-ken-burns 12s ease-in-out forwards;
}

.hero__subheading,
.hero__badge,
.hero__actions,
.page-hero__subheading,
.page-hero__actions {
  opacity: 0;
  animation: ser-fade-up 0.6s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.hero__badge {
  animation-delay: 0.5s;
}

.hero__subheading {
  animation-delay: 0.6s;
}

.hero__actions {
  animation-delay: 0.75s;
}

.hero__video-widget {
  opacity: 0;
  animation: ser-hero-widget-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
}

.page-hero__subheading {
  animation-delay: 0.35s;
}

.page-hero__actions {
  animation-delay: 0.5s;
}

.ser-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}
.ser-reveal.ser-in {
  opacity: 1;
  transform: none;
}

.ser-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.1s), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.1s);
}

.ser-stagger.ser-in > * {
  opacity: 1;
  transform: none;
}

.btn--primary {
  background-image: linear-gradient(to right, var(--color-primary-semi-light) 50%, var(--color-primary) 50%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transition: background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn--primary:hover {
  opacity: 1;
  background-position: 0% 0;
  background-color: transparent;
  border-color: var(--color-primary-semi-light);
  color: var(--color-white);
}

.btn--secondary {
  background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transition: background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn--secondary:hover {
  opacity: 1;
  background-position: 0% 0;
  background-color: transparent;
  color: var(--color-white);
}

.btn--outline {
  background-image: linear-gradient(to right, var(--color-white) 50%, transparent 50%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transition: background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn--outline:hover {
  opacity: 1;
  background-position: 0% 0;
  background-color: transparent;
  color: var(--color-dark);
}

.ser-header__nav-link::after {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}
.ser-header__nav-link:hover::after {
  transform: scaleX(1);
}

.ser-header__nav-item.is-current > .ser-header__nav-link::after {
  transform: scaleX(1);
  opacity: 1;
}

.ser-header__subnav-item .ser-header__nav-link::after {
  display: block;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.33, 1, 0.68, 1);
}
.ser-header__subnav-item .ser-header__nav-link:hover::after {
  transform: scaleX(1);
}

.ser-header__dropdown {
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.33, 1, 0.68, 1), visibility 0.2s;
}

.accordion-item__icon {
  transition: border-color 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease !important;
}

.accordion-item[open] .accordion-item__icon {
  animation: ser-icon-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.accordion-item__body {
  transition: opacity 0.3s ease;
}

.accordion-item:not([open]) .accordion-item__body {
  opacity: 0;
}

.accordion-item[open] .accordion-item__body {
  opacity: 1;
}

.cta-banner__media-inner::after {
  transform: translateX(0);
}

.cta-banner__media-inner::before {
  transform: rotate(45.3deg) scale(0);
  transform-origin: top left;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1) 0.4s;
}

.cta-banner__content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.cta-banner__card.ser-in .cta-banner__media-inner::after {
  transform: translateX(0);
}
.cta-banner__card.ser-in .cta-banner__media-inner::before {
  transform: rotate(45.3deg) scale(1);
}
.cta-banner__card.ser-in .cta-banner__content {
  opacity: 1;
  transform: none;
}

.cta-banner--full .cta-banner__media-inner::after {
  transform: translateY(110%);
  transition: transform 0.75s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
}

.cta-banner--full .cta-banner__media-inner::before {
  transform: rotate(45.3deg) translateY(-520px);
  transform-origin: top left;
  transition: transform 0.85s cubic-bezier(0.33, 1, 0.68, 1) 0.28s;
}

.cta-banner--full .cta-banner__card.ser-in .cta-banner__media-inner::after {
  transform: translateY(0);
}
.cta-banner--full .cta-banner__card.ser-in .cta-banner__media-inner::before {
  transform: rotate(45.3deg) translateY(0);
}

.tiles__header {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.tiles.ser-in .tiles__header {
  opacity: 1;
  transform: none;
}

.tiles__grid.ser-reveal {
  opacity: 1;
  transform: none;
}

.tiles__tile {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.33, 1, 0.68, 1) calc(0.22s + var(--ser-i, 0) * 0.11s), transform 0.55s cubic-bezier(0.33, 1, 0.68, 1) calc(0.22s + var(--ser-i, 0) * 0.11s);
}

.tiles.ser-in .tiles__tile {
  opacity: 1;
  transform: none;
}

.tiles__tile--linked:hover .tiles__tile-bg {
  transform: scale(1.05);
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.tiles__tile--linked .tiles__tile-bg {
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.tiles__tile--linked .tiles__tile-content {
  transition: none;
}

.icon-boxes__heading {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.icon-boxes.ser-in .icon-boxes__heading {
  opacity: 1;
  transform: none;
}

.icon-boxes__grid > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.12s), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.12s);
}

.icon-boxes.ser-in .icon-boxes__grid > * {
  opacity: 1;
  transform: none;
}

.callout-image-banner__content {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.callout-image-banner__media {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.1s, transform 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.1s;
}

.callout-image-banner.ser-in .callout-image-banner__content {
  opacity: 1;
  transform: none;
}
.callout-image-banner.ser-in .callout-image-banner__media {
  opacity: 1;
  transform: none;
}

.callout-image-banner__image {
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

a.callout-image-banner__image-wrap:hover .callout-image-banner__image {
  transform: scale(1.04);
}

.cta-section__heading {
  opacity: 0;
  transform: scale(0.96) translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.33, 1, 0.68, 1), transform 0.65s cubic-bezier(0.33, 1, 0.68, 1);
}

.cta-section__text {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.12s, transform 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.12s;
}

.cta-section__actions {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.24s, transform 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.24s;
}

.cta-section.ser-in .cta-section__heading {
  opacity: 1;
  transform: none;
}
.cta-section.ser-in .cta-section__text {
  opacity: 1;
  transform: none;
}
.cta-section.ser-in .cta-section__actions {
  opacity: 1;
  transform: none;
}

.project-types__heading {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.project-types.ser-in .project-types__heading {
  opacity: 1;
  transform: none;
}

.project-types__filter-btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.08s), transform 0.45s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.08s), background-color 0.2s ease, color 0.2s ease;
}

.project-types.ser-in .project-types__filter-btn {
  opacity: 1;
  transform: none;
}

.project-types__card-image {
  overflow: hidden;
}

.project-types__img {
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  display: block;
  width: 100%;
}

.project-types__card:hover .project-types__img {
  transform: scale(1.05);
}

.accreditations__label {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.accreditations__review {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.33, 1, 0.68, 1) calc(0.1s + var(--ser-i, 0) * 0.1s), transform 0.55s cubic-bezier(0.33, 1, 0.68, 1) calc(0.1s + var(--ser-i, 0) * 0.1s);
}

.accreditations.ser-in .accreditations__label {
  opacity: 1;
  transform: none;
}
.accreditations.ser-in .accreditations__review {
  opacity: 1;
  transform: none;
}

.recent-projects__carousel.flickity-enabled {
  cursor: grab;
}

.recent-projects__carousel.flickity-enabled.is-dragging,
.recent-projects__carousel.flickity-enabled.flickity-is-dragging {
  cursor: grabbing;
}

.recent-projects__card {
  transition: transform 0.12s ease;
  user-select: none;
}

.recent-projects__carousel.is-pressing .recent-projects__card {
  transform: scale(0.97);
}

.recent-projects__img {
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.recent-projects__card:hover .recent-projects__img {
  transform: scale(1.04);
}

.project-types__carousel.flickity-enabled {
  cursor: grab;
}

.project-types__carousel.flickity-enabled.is-dragging {
  cursor: grabbing;
}

.project-types__carousel.is-pressing .project-types__card {
  transform: scale(0.97);
  transition: transform 0.12s ease;
}

.form-two-col.ser-reveal {
  opacity: 1;
  transform: none;
}

.form-two-col__content,
.form-two-col__form {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.form-two-col__content {
  transform: translateX(-40px);
}

.form-two-col__form {
  transform: translateX(40px);
  transition-delay: 0.08s;
}

.form-two-col.ser-in .form-two-col__content,
.form-two-col.ser-in .form-two-col__form {
  opacity: 1;
  transform: none;
}

.testimonials h2,
.staff-grid h2,
.text-with-map h2,
.project-map h2,
.faq-section h2,
.video-section h2,
.image-gallery h2,
.instagram-feed h2,
.intro-text h2,
.news-section h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.33, 1, 0.68, 1), transform 0.65s cubic-bezier(0.33, 1, 0.68, 1);
}
.testimonials.ser-in h2,
.staff-grid.ser-in h2,
.text-with-map.ser-in h2,
.project-map.ser-in h2,
.faq-section.ser-in h2,
.video-section.ser-in h2,
.image-gallery.ser-in h2,
.instagram-feed.ser-in h2,
.intro-text.ser-in h2,
.news-section.ser-in h2 {
  opacity: 1;
  transform: none;
}

.team-details__member--reveal {
  will-change: opacity, transform;
  transition-delay: calc(var(--ser-i, 0) * 0.08s);
}

.team-details__list .team-details__member:first-child .team-details__photo,
.team-details__list .team-details__member:first-child .team-details__body {
  opacity: 0;
}

.team-details__member--reveal .team-details__photo,
.team-details__member--reveal .team-details__body {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.team-details__member--reveal .team-details__photo {
  transform: translateY(18px) scale(0.98);
  transition-delay: calc(var(--ser-i, 0) * 0.08s);
}

.team-details__member--reveal .team-details__body {
  transform: translateY(24px);
  transition-delay: calc(var(--ser-i, 0) * 0.08s + 0.08s);
}

.team-details__member--reveal.ser-in .team-details__photo,
.team-details__member--reveal.ser-in .team-details__body {
  opacity: 1;
  transform: none;
}

.team-details__member--load .team-details__photo {
  animation: ser-team-details-photo-in 0.7s cubic-bezier(0.33, 1, 0.68, 1) both;
}

.team-details__member--load .team-details__body {
  animation: ser-team-details-body-in 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.08s both;
}

@keyframes ser-team-details-photo-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ser-team-details-body-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.accreditations__logo {
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.35s ease;
}

.accreditations__slide:hover .accreditations__logo {
  filter: grayscale(0%) opacity(1);
}

.project-types__card-image {
  position: relative;
  overflow: hidden;
}

.blog-archive__card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.08s), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.08s);
}

.blog-archive.ser-in .blog-archive__card {
  opacity: 1;
  transform: none;
}

.blog-archive__filter-btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.06s), transform 0.5s cubic-bezier(0.33, 1, 0.68, 1) calc(var(--ser-i, 0) * 0.06s), background-position 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}

.blog-archive.ser-in .blog-archive__filter-btn {
  opacity: 1;
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  padding-inline: var(--content-padding-x);
  margin-inline: auto;
  box-sizing: border-box;
}

@media (max-width: calc(768px - 1px)) {
  .default-content {
    padding-block: var(--section-space-m);
  }
}
header:has(.ser-header) + main.site-main,
header:has(.header--standard) + main.site-main {
  margin-top: 112px;
}

article.type-post section {
  padding-top: var(--section-space-m);
}

.entry-content img {
  height: 100%;
}

.divider-line {
  width: 100%;
  height: 1px;
  background-color: var(--color-divider);
  margin: 16px 0 16px;
}

.trust-star {
  font-size: 11px;
  position: relative;
  top: -3px;
}

section {
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  section {
    padding-bottom: 57px;
  }
}

section.has-bg + section:not(.has-bg) {
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  section.has-bg + section:not(.has-bg) {
    padding-top: 57px;
  }
}

section.has-bg + section.has-bg {
  padding-top: 0;
}

[class~=project-map] + .instagram-feed,
[class~=project-map] + script + .instagram-feed,
.accreditations + .testimonials,
.accreditations + script + .testimonials,
section.testimonials ~ section.recent-projects {
  padding-top: 0;
}

#sb_instagram #sbi_images .sbi_item {
  border-radius: 12px !important;
  overflow: hidden !important;
}

@media (max-width: calc(992px - 1px)) {
  #sb_instagram.sbi_col_6 #sbi_images {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: calc(768px - 1px)) {
  #sb_instagram.sbi_col_6 #sbi_images {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats-counter {
  font-size: 56px;
  color: var(--btn-primary-bg);
}

@media (max-width: calc(768px - 1px)) {
  .bleed--m-full {
    inline-size: 100vw !important;
    max-inline-size: 100vw !important;
    margin-inline: calc(-50vw + 50%) !important;
    align-self: flex-start;
  }
}
.padding-block--none {
  padding-block: 0;
}

.padding-bottom--none {
  padding-bottom: 0;
}

button.btn {
  cursor: pointer;
}

@media (max-width: calc(768px - 1px)) {
  .sticky.sticky {
    position: static;
  }
}
[data-grid-slider] {
  width: 100%;
}

[data-grid-slider] .flickity-viewport {
  overflow: visible;
}

.display--none {
  display: none !important;
}

@media (max-width: calc(768px - 1px)) {
  .display--m-none {
    display: none !important;
  }
}
@media (min-width: 1280px) {
  .display--l-block {
    display: block !important;
  }
}
/* Atoms */
.image-atom {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.image-atom__caption {
  margin: 0;
}

/**
 * Atom: Button
 * Reusable button component with multiple style variants.
 * Consumes tokens defined in base/_tokens.scss.
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-width: 140px;
  border-radius: var(--btn-radius);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  line-height: var(--btn-line-height);
  font-weight: var(--btn-font-weight);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background-size: 220% 100%;
  background-position: right center;
  background-origin: border-box;
  transition: background-position 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover {
  background-position: left center;
}

.btn--primary {
  background-color: var(--btn-primary-bg);
  background-image: linear-gradient(to right, var(--color-primary-semi-light) 50%, var(--btn-primary-bg) 50%);
  color: var(--btn-primary-color);
  border: 1px solid var(--color-primary);
}
.btn--primary:hover {
  color: var(--color-white);
  border-color: var(--color-primary-semi-light);
}

.btn--secondary {
  background-color: var(--btn-secondary-bg);
  background-image: linear-gradient(to right, var(--color-primary) 50%, var(--btn-secondary-bg) 50%);
  color: var(--btn-secondary-color);
  border: var(--btn-secondary-border);
}
.btn--secondary:hover {
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  background-image: linear-gradient(to right, var(--color-white) 50%, transparent 50%);
  color: var(--color-white);
  border: 1px solid var(--color-white);
}
.btn--outline:hover {
  color: var(--color-dark);
}

.btn--primary-outline {
  background-color: transparent;
  background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%);
  color: var(--color-secondary);
  border: 1px solid var(--color-primary);
}
.btn--primary-outline:hover {
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Atom: Logo */
.logo {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--primary, #282424);
}
.logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.logo:hover {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

header .logo {
  width: auto;
}

/* Footer logo variant */
.footer .logo svg {
  fill: var(--white, #ffffff);
}

.logo .ser-house-line {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: serHouseLineIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo .ser-house-line--1 {
  animation-delay: 0.05s;
  --ser-start-x: 0px;
  --ser-start-y: 8px;
}

.logo .ser-house-line--2 {
  animation-delay: 0.18s;
  --ser-start-x: 7px;
  --ser-start-y: 0px;
}

.logo .ser-house-line--3 {
  animation-delay: 0.31s;
  --ser-start-x: -7px;
  --ser-start-y: -7px;
}

.logo .ser-house-line--4 {
  animation-delay: 0.44s;
  --ser-start-x: -7px;
  --ser-start-y: 0px;
}

.logo .ser-house-line--5 {
  animation-delay: 0.57s;
  --ser-start-x: 7px;
  --ser-start-y: -7px;
}

.logo .ser-easy-word {
  opacity: 0;
  animation: serEasyFadeIn 0.55s ease-out 1.05s forwards;
}

@keyframes serHouseLineIn {
  from {
    opacity: 0;
    transform: translate(var(--ser-start-x), var(--ser-start-y));
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes serEasyFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo .ser-house-line,
  .logo .ser-easy-word {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
/* Atom: Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle__label {
  font-size: 13px;
  line-height: 16px;
  color: var(--text-dark-muted, #867979);
  font-family: var(--font-heading, sans-serif);
  transition: color 0.2s ease;
}

.menu-toggle__underline {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-dark-muted, #867979);
  margin-top: 2px;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover .menu-toggle__label {
  color: var(--accent, #dd413c);
}
.menu-toggle:hover .menu-toggle__underline {
  background-color: var(--accent, #dd413c);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent, #dd413c);
  outline-offset: 4px;
}

/* Active State */
.menu-toggle.is-active .menu-toggle__label {
  color: var(--accent, #dd413c);
}
.menu-toggle.is-active .menu-toggle__underline {
  background-color: var(--accent, #dd413c);
}

/* Atom: Shortlist Button */
.btn-shortlist {
  display: none;
  align-items: center;
  gap: var(--space-xs, 8px);
  font-size: 13px;
  line-height: 16px;
  color: var(--text-dark-muted, #867979);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
@media (min-width: 480px) {
  .btn-shortlist {
    display: flex;
  }
}
.btn-shortlist:hover {
  color: var(--accent, #dd413c);
}

.btn-shortlist__text {
  font-family: var(--font-heading, sans-serif);
}

.btn-shortlist__count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: var(--accent, #dd413c);
  color: var(--white, #ffffff);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
  padding-top: 1px;
  margin-bottom: 2px;
}
.btn-shortlist__count:empty {
  display: none;
}

/* Atom: Field Label */
.field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-medium);
  font-weight: 400;
  display: block;
  margin-bottom: 0.5rem;
}

/* Atom: Underlined Link */
.link-underlined {
  display: inline-block;
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-dark);
  padding-bottom: 2px;
  font-size: var(--text-sm, 0.9375rem);
  transition: opacity 0.2s ease;
}
.link-underlined:hover {
  opacity: 0.7;
}

/* Atom: Link Fill Hover */
.link-fill-hover {
  display: inline-block;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: linear-gradient(to right, var(--accent) 50%, var(--text-dark) 50%);
  background-repeat: no-repeat;
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.link-fill-hover:hover {
  background-position: 0 0;
}

/**
 * Atom: Client Link
 *
 * Client name link with hover tooltip showing picture,
 * name, and role. Used inside news-card and news-card-featured.
 */
.client-link {
  position: relative;
  display: inline-block;
}

.client-link + .client-link::before {
  content: ", ";
  margin-right: 2px;
}

.client-link__link {
  color: inherit;
  position: relative;
  z-index: 10;
}

.client-link__tooltip {
  position: absolute;
  bottom: 100%;
  left: 0%;
  transform: translateX(0%) translateY(10px);
  background-color: white;
  padding: var(--space-xs);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: max-content;
  min-width: 200px;
  max-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 20;
  margin-bottom: 10px;
  visibility: hidden;
  text-align: left;
  text-decoration: none;
}

/* Invisible bridge to prevent closing when moving mouse */
.client-link__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

@media (min-width: 768px) {
  .client-link:hover .client-link__tooltip {
    opacity: 1;
    transform: translateX(0%) translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }
}
.client-link__tooltip-content {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.client-link__tooltip-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.client-link__tooltip-info {
  display: flex;
  flex-direction: column;
}

.client-link__tooltip-name {
  font-weight: 500;
  font-size: var(--text-s);
  margin-bottom: 2px;
}

.client-link__tooltip-role {
  font-size: var(--text-xs);
  line-height: 1.2;
  color: var(--text-dark-muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: var(--space-xl);
}
.lightbox[hidden] {
  display: none;
}
.lightbox--open {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  appearance: none;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s ease;
}
.lightbox__close:hover {
  opacity: 0.7;
}
.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}
.lightbox__content iframe {
  max-width: 90vw;
  max-height: 75vh;
  aspect-ratio: 16/9;
  border: none;
}
.lightbox__meta {
  text-align: center;
  margin-top: var(--space-m);
  color: rgba(255, 255, 255, 0.9);
}
.lightbox__title {
  font-size: var(--text-m);
  font-weight: 600;
  margin: 0;
}
.lightbox__desc {
  font-size: var(--text-s);
  font-weight: 400;
  margin: var(--space-xs) 0 0;
  color: rgba(255, 255, 255, 0.6);
}
.lightbox__caption {
  font-size: var(--text-s);
  font-weight: 400;
  margin: var(--space-xs) 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-btn {
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.lightbox-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
  pointer-events: none;
  z-index: 1;
}
.lightbox-btn:hover::before {
  background: rgba(0, 0, 0, 0.3);
}
.lightbox-btn__enlarge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.2s ease;
}
.lightbox-btn__enlarge .enlarge-arrow--tr,
.lightbox-btn__enlarge .enlarge-arrow--bl {
  transition: transform 0.2s ease;
}
.lightbox-btn:hover .lightbox-btn__enlarge {
  opacity: 1;
  transform: scale(1.2);
}
.lightbox-btn:hover .lightbox-btn__enlarge .enlarge-arrow--tr {
  transform: translate(1px, -1px);
}
.lightbox-btn:hover .lightbox-btn__enlarge .enlarge-arrow--bl {
  transform: translate(-1px, 1px);
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.3s ease;
}
.icon-link:not(.btn):hover {
  color: var(--accent);
}
.icon-link__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.125em;
  height: 1.125em;
}
.icon-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.icon-download {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.icon-download--lg {
  width: 16px;
  height: 16px;
}
.icon-download__arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: translate 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.icon-download__arrow--clone {
  translate: 0 -110%;
  opacity: 0;
}
.icon-download__tray {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

.icon-external {
  width: 0.6em;
  height: 0.6em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.icon-external__arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: translate 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.icon-external__arrow--clone {
  translate: -110% 110%;
  opacity: 0;
}

/**
 * Atom: Shortlist Button
 *
 * Standalone styles for the "Add to Shortlist" toggle button
 * rendered by the [client_shortlist_button] shortcode.
 * Works inside any parent (client-card, voice-card, floating-bar, etc.).
 *
 * Icon morph states (only on .btn instances):
 *   Default (+):         Two crossing lines — plus sign
 *   Added (✓):           Lines morph into a checkmark
 *   Added + hover (−):   Lines collapse into a minus
 */
.client-shortlist-add {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}
.client-shortlist-add:not(.btn) {
  justify-content: flex-start;
  padding: 0;
  background: none;
  color: var(--text-dark-muted);
  border: none;
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  transition: color 0.2s ease;
}
.client-shortlist-add:not(.btn):hover {
  color: var(--accent);
}
.client-shortlist-add.added:not(.btn) {
  color: var(--text-dark-muted);
}
.client-shortlist-add.added:not(.btn):hover {
  color: var(--accent);
}

.shortlist-btn-text {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.client-shortlist-add.is-ready .shortlist-btn-text {
  opacity: 1;
}

.shortlist-icon {
  display: none;
  flex-shrink: 0;
  margin-left: 6px;
  overflow: visible;
}
.client-shortlist-add.btn .shortlist-icon {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.client-shortlist-add.btn.is-ready .shortlist-icon {
  opacity: 1;
}

.client-shortlist-add.btn.is-ready .shortlist-icon__line1,
.client-shortlist-add.btn.is-ready .shortlist-icon__line2 {
  transition: d 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.client-shortlist-add.btn.added .shortlist-icon__line1 {
  d: path("M 4 12 L 9 17");
}
.client-shortlist-add.btn.added .shortlist-icon__line2 {
  d: path("M 9 17 L 20 6");
}

.client-shortlist-add.btn.added.is-hovering .shortlist-icon__line1 {
  d: path("M 6 12 L 18 12");
}
.client-shortlist-add.btn.added.is-hovering .shortlist-icon__line2 {
  d: path("M 12 12 L 12 12");
  opacity: 0;
}

/* Molecules */
/* Molecule: Search Bar */
.search-bar {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
@media (min-width: 992px) {
  .search-bar {
    display: block;
  }
}

.search-bar__text {
  font-size: 13px;
  line-height: 16px;
  color: var(--text-dark-muted, #867979);
  font-family: var(--font-heading, sans-serif);
  transition: color 0.2s ease;
}

.search-bar:hover .search-bar__text {
  color: var(--accent, #dd413c);
}

.search-bar:focus-visible {
  outline: 2px solid var(--accent, #dd413c);
  outline-offset: 4px;
}

/* Molecule: Contact Field */
.contact-field {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}
.contact-field__label {
  font-size: var(--text-xs);
  color: var(--text-dark-muted);
}
.contact-field__value {
  font-size: var(--text-m);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}
.contact-field__value p {
  margin: 0;
  line-height: 1.25;
}
.contact-field__value a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.contact-field--address {
  max-width: 200px;
}

/* Molecule: Text Block with Link */
.text-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}
.text-block__content {
  font-size: var(--text-base, 1rem);
  line-height: 1.6;
  color: var(--primary-dark);
}
.text-block__content h2,
.text-block__content h3 {
  font-family: var(--heading-font-family), Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--space-s);
  color: var(--primary-dark);
}
.text-block__content p {
  margin: 0 0 var(--space-s) 0;
  max-width: 60ch;
}
.text-block__content p:last-child {
  margin-bottom: 0;
}

.accordion-item {
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 24px;
  overflow: hidden;
}
.accordion-item + .accordion-item {
  margin-top: 16px;
}
.accordion-item .accordion-item__content {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.accordion-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  width: 100%;
  padding: var(--space-m) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  list-style: none;
}
.accordion-item__header::-webkit-details-marker {
  display: none;
}
.accordion-item__header::marker {
  display: none;
  content: "";
}
.accordion-item__title {
  flex: 1 0 0;
  transition: color 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.accordion-item__icon {
  flex-shrink: 0;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-body);
  transition: border-color 0.2s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.2s cubic-bezier(0.19, 1, 0.22, 1), color 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.accordion-item__icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background-color: transparent;
  scale: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.accordion-item__icon-svg {
  overflow: visible;
  z-index: 1;
  width: 14px;
  height: 14px;
  transition: rotate 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.accordion-item__line {
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: center;
}
.accordion-item.is-hovered:not([open]) .accordion-item__icon::after {
  scale: 1;
  opacity: 1;
  box-shadow: 0 0 0 1px #c2bcbc;
}
.accordion-item.is-hovered:not([open]) .accordion-item__line--right {
  rotate: -45deg;
  translate: 0px 5px;
}
.accordion-item.is-hovered:not([open]) .accordion-item__line--left {
  rotate: 45deg;
  translate: 0px 5px;
}
.accordion-item.is-hovered:not([open]) .accordion-item__line--vert {
  scale: 1.125 0.8;
  transform-origin: bottom;
  translate: 0 -1px;
}
.accordion-item[open] .accordion-item__content {
  opacity: 1;
  transform: translateY(0);
}
.accordion-item[open] .accordion-item__icon {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.accordion-item[open] .accordion-item__icon-svg {
  rotate: 270deg;
}
.accordion-item[open] .accordion-item__line--right {
  rotate: -90deg;
  translate: 0 14px;
  opacity: 0;
}
.accordion-item[open] .accordion-item__line--left {
  rotate: 60deg;
  translate: 0px 5px;
  opacity: 0;
}
.accordion-item[open] .accordion-item__line--vert {
  scale: 1.125 0.8;
  transform-origin: bottom;
  translate: 0 -1px;
}
.accordion-item[open].is-hovered .accordion-item__icon {
  color: var(--color-white);
}
.accordion-item[open].is-hovered .accordion-item__icon::after {
  scale: 1;
  opacity: 1;
  box-shadow: 0 0 0 1px #c2bcbc;
}
.accordion-item[open].is-hovered .accordion-item__icon-svg {
  rotate: 540deg;
}
.accordion-item[open].is-hovered .accordion-item__line--right {
  rotate: -45deg;
  translate: 0px 5px;
  opacity: 1;
}
.accordion-item[open].is-hovered .accordion-item__line--left {
  rotate: 45deg;
  translate: 0px 5px;
  opacity: 1;
}
.accordion-item[open].is-hovered .accordion-item__line--vert {
  scale: 1.125 0.8;
  transform-origin: bottom;
  translate: 0 -1px;
}
@supports selector(details::details-content) {
  .accordion-item::details-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), content-visibility 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-behavior: allow-discrete;
  }
  .accordion-item[open]::details-content {
    grid-template-rows: 1fr;
  }
  .accordion-item__body {
    overflow: hidden;
  }
}
@supports not selector(details::details-content) {
  .accordion-item__body {
    display: grid;
    grid-template-rows: 0fr;
  }
  .accordion-item[open] .accordion-item__body {
    grid-template-rows: 1fr;
  }
}
.accordion-item__content {
  overflow: hidden;
}
.accordion-item__text {
  padding-top: 16px;
  padding-bottom: 24px;
}
.accordion-item__text > *:first-child {
  margin-top: 0;
}
.accordion-item__text p {
  margin-bottom: 1em;
}
.accordion-item__text p:last-child {
  margin-bottom: 0;
}
.accordion-item__link {
  font-size: var(--text-s);
  display: inline-block;
  margin-bottom: var(--space-l);
}

.team-member {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-block: var(--space-s);
  border-bottom: 1px solid var(--border-color-light);
  cursor: pointer;
  transition: border-color 0.3s ease;
}
@media (min-width: 768px) {
  .team-member:not(.team-member--no-link):hover .team-member__image-wrapper {
    width: 58px;
    opacity: 1;
  }
  .team-member:not(.team-member--no-link):hover .team-member__last-name {
    color: var(--accent);
  }
}
.team-member--no-link {
  cursor: default;
}
.team-member__image-wrapper {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width, opacity;
  display: flex;
  align-items: center;
}
.team-member__image-inner {
  background-image: url("../../assets/images/ua-profile-placeholder.jpg");
  background-size: cover;
  background-position: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.team-member__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.team-member__name {
  margin: 0;
  display: flex;
  gap: calc(var(--space-xs) * 0.5);
}
.team-member__first-name {
  color: var(--text-main);
}
.team-member__last-name {
  color: var(--text-main);
  transition: color 0.3s ease;
}
.team-member__link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.post-footer hr {
  border: none;
  border-top: 1px solid #D9D9D9;
  margin: 0;
}
.post-footer .post-footer__clients {
  row-gap: 0.25rem;
}
.post-footer .post-footer__clients a {
  color: var(--text-dark-muted) !important;
}
.post-footer .post-footer__clients a:before, .post-footer .post-footer__clients a:after {
  background-color: var(--text-dark-muted);
  height: 1px;
  bottom: 3px;
}

/**
 * Molecule: Client Card
 *
 * Portrait card displaying client image, name, subtitle, and shortlist link.
 * Used within the Department Clients organism grid.
 */
.client-card {
  display: flex;
  flex-direction: column;
}

.client-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.client-card__image-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: var(--space-xs);
}
.client-card__image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
  pointer-events: none;
  z-index: 1;
}
.client-card:hover .client-card__image-wrapper::after {
  background: rgba(0, 0, 0, 0.3);
}

.client-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.client-card__details {
  margin-inline: var(--space-m);
  height: 4.5em;
}

.client-card__name {
  font-size: var(--h4);
  margin-bottom: 3px;
}
.client-card:hover .client-card__name {
  color: var(--accent);
}

.client-card__subtitle {
  font-size: var(--text-xs);
}

.client-card__actions {
  padding-top: 3px;
  margin-inline: var(--space-m);
  border-top: 1px solid var(--border-color-light);
}
.client-card:hover .client-card__actions .client-shortlist-add {
  color: var(--accent);
}

/**
 * Molecule: News Card
 *
 * Standard news card with image media area, post title,
 * and client tooltip links.
 *
 * Also contains shared client tooltip styles used by
 * both news-card and news-card-featured molecules.
 */
/* Card Layout */
.news-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-s, 20px);
  position: relative;
  cursor: pointer;
}

.news-card__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.news-card--portrait .news-card__media {
  aspect-ratio: 4/5;
}

.news-card__link {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.news-card:hover .news-card__overlay {
  background: rgba(0, 0, 0, 0.3);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-bottom: var(--space-xs);
}

.news-card__title {
  transition: color 0s ease;
}
.news-card__title a {
  color: inherit;
  text-decoration: none;
}
.news-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.news-card:hover .news-card__title {
  color: var(--accent);
}

.news-card__clients {
  font-size: var(--text-xs);
  position: relative;
  z-index: 3;
  display: flex;
  row-gap: var(--space-xs);
  flex-wrap: wrap;
}

.news-card__footer {
  position: relative;
  z-index: 3;
  margin-top: auto;
  display: flex;
}

/**
 * Molecule: News Card Featured
 *
 * Large 16:9 hero-style news card with image overlay,
 * post title, and client tooltip links.
 */
.news-card-featured {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.news-card-featured__link {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
@media (max-width: calc(992px - 1px)) {
  .news-card-featured__link {
    position: relative;
  }
}

.news-card-featured__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
  pointer-events: none;
  z-index: 1;
}
.news-card-featured__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.news-card-featured:hover .news-card-featured__overlay::after {
  opacity: 1;
}

.news-card-featured__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs, 7.111px);
  z-index: 1;
}

.news-card-featured__title {
  color: var(--text-light, white);
  transition: color 0s ease;
}
.news-card-featured__title a {
  color: inherit;
  text-decoration: none;
}
.news-card-featured__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.news-card-featured:hover .news-card-featured__title {
  color: var(--accent);
}

.news-card-featured__clients {
  margin-top: auto;
  font-size: var(--text-xs);
  color: var(--text-light);
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  row-gap: var(--space-xs);
}

/* Mobile: Content below image with dark text */
@media (max-width: calc(992px - 1px)) {
  .news-card-featured {
    flex-direction: column;
    position: relative;
  }
  .news-card-featured__image {
    position: relative;
    inset: auto;
    aspect-ratio: 16/9;
  }
  .news-card-featured__overlay {
    display: none;
  }
  .news-card-featured__content {
    position: relative;
    padding: var(--space-m, 16px) 0;
  }
  .news-card-featured__title {
    color: var(--text-dark);
    font-size: var(--h4);
  }
  .news-card-featured__clients {
    color: var(--text-dark);
    border-left-color: var(--text-dark);
  }
}
/**
 * Molecule: Slider Progress
 *
 * A thin horizontal progress bar reflecting the current
 * slide position within a slider.
 */
.slider-progress {
  flex: 1;
  min-width: 0;
  /* Allow flex item to shrink */
  height: 2px;
  background-color: var(--border-color, #d1d1d1);
  position: relative;
  border-radius: 2px;
}

.slider-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  /* Start at 0% */
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/**
 * Molecule: Slider Nav
 *
 * Previous/Next arrow buttons for controlling a slider.
 */
.slider-nav {
  display: flex;
  gap: var(--space-xs, 7.111px);
  align-items: center;
  flex-shrink: 0;
  /* Don't shrink, let progress bar take remaining space */
}

.slider-nav__arrow {
  width: 47px;
  height: 47px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  padding: 0;
  color: var(--color-primary);
}
@media (max-width: calc(768px - 1px)) {
  .slider-nav__arrow {
    width: 40px;
    height: 40px;
  }
}
.slider-nav__arrow svg path {
  transition: all 300ms ease;
}

.slider-nav__arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.slider-nav__arrow:hover svg path {
  fill: white;
}

.slider-nav__icon {
  width: 16px;
  height: 16px;
}

/* Disabled/unavailable arrow - light muted color */
.slider-nav__arrow--disabled {
  opacity: 0.3;
  pointer-events: none;
}

@media (max-width: calc(992px - 1px)) {
  [data-grid-slider].container,
  .container:has(> [data-grid-slider]),
  .client-showreels,
  .flickity-viewport {
    overflow-x: visible;
  }
}
/* Molecule: Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--section-xl);
  /* WordPress wraps pagination in .nav-links */
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0;
  /* Active / Current page */
  /* Hover state (numbered pages only) */
  /* Ellipsis dots */
  /* Next link — text-only, no circle */
  /* Prev link — hidden per Figma design */
}
.pagination .page-numbers.current {
  background-color: var(--bg-ultra-dark);
  color: var(--white);
}
.pagination .page-numbers:hover:not(.dots):not(.prev):not(.next) {
  background-color: var(--bg-ultra-dark);
  color: var(--white);
}
.pagination .page-numbers.dots {
  cursor: default;
  width: 40px;
}
.pagination .page-numbers.next {
  width: auto;
  height: auto;
  border-radius: var(--radius-s);
  padding: 7px var(--buttons\/d-btn-x-padding-s);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
  margin-left: var(--space-xs);
}
.pagination .page-numbers.next:hover {
  background-color: transparent;
  text-decoration: underline;
}
.pagination .page-numbers.prev {
  display: none;
}

/**
 * Molecule: Floating Bar
 *
 * Glassmorphism sticky bar at the bottom of the viewport.
 * Hidden by default, shown via JS `is-visible` class on scroll.
 */
.floating-bar {
  position: fixed;
  bottom: var(--section-space-m);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - var(--space-m) * 2);
  max-width: var(--width-xl);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar {
    bottom: var(--space-l);
  }
}
.floating-bar.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.floating-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-s) var(--space-m);
  background: rgba(243, 242, 242, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: var(--radius-circle);
  position: relative;
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar__inner {
    gap: calc(var(--space-xs) / 2);
    padding: var(--space-xs) var(--space-s);
  }
}

/* ─── Logo (archive/shortlist contexts) ─────────────────────── */
/* Logo — hidden on mobile */
.floating-bar__logo {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(40, 36, 36, 0.05);
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .floating-bar__logo {
    display: flex;
  }
}
.floating-bar__logo svg {
  width: 19px;
  height: auto;
}

.floating-bar__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.floating-bar__logo-text {
  font-family: var(--heading-font-family);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: lowercase;
}

/* ─── Title (archive/shortlist contexts) ────────────────────── */
/* Title — left-aligned on mobile, visually centered on desktop */
.floating-bar__title {
  font-family: var(--heading-font-family);
  font-size: var(--text-s);
  font-weight: 500;
  line-height: 22px;
  color: var(--text-dark);
  margin-left: calc(var(--space-xs) / 2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .floating-bar__title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--h4);
    max-width: 50%;
    text-align: center;
    pointer-events: none;
  }
}

.floating-bar__spacer {
  flex: 1;
}

/* ─── Back buttons ──────────────────────────────────────────── */
/* Back to top — used on shortlist page */
.floating-bar__back-to-top {
  background: none;
  border: none;
  color: var(--text-dark-muted);
  font-family: var(--text-font-family);
  font-size: var(--text-xs);
  line-height: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.floating-bar__back-to-top:hover {
  color: var(--accent);
}

/* Back to search — used on clients page, always visible including mobile */
.floating-bar__back-to-search {
  background: none;
  border: none;
  color: var(--text-dark-muted);
  font-family: var(--text-font-family);
  font-size: var(--text-xs);
  line-height: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
  margin-left: auto;
}
.floating-bar__back-to-search:hover {
  color: var(--accent);
}

/* ─── CTA / Shortlist buttons ───────────────────────────────── */
.floating-bar__cta {
  flex-shrink: 0;
}
.floating-bar__cta svg {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: middle;
}

/* "My shortlist" CTA with count badge */
.floating-bar__cta--shortlist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.floating-bar__shortlist-count {
  width: 18px;
  height: 18px;
  background-color: var(--white);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.floating-bar__shortlist-count:empty {
  display: none;
}

/* ─── Client Single context ─────────────────────────────────── */
/* Left: profile info (hidden on mobile) */
.floating-bar__client-info {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
  margin-left: var(--space-xs);
}
@media (min-width: 768px) {
  .floating-bar__client-info {
    display: flex;
  }
}

.floating-bar__client-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  overflow: hidden;
  flex-shrink: 0;
}

.floating-bar__client-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-bar__client-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.floating-bar__client-meta .client-shortlist-add {
  font-size: var(--text-xs);
  padding: 0;
  background: none;
  border: none;
  color: var(--text-dark-muted);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.floating-bar__client-meta .client-shortlist-add:hover {
  color: var(--accent);
}
.floating-bar__client-meta .client-shortlist-add.is-added {
  color: var(--accent);
}

.floating-bar__client-name {
  font-family: var(--heading-font-family);
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Center: tab switcher with dropdown */
.floating-bar__tab-switcher {
  position: relative;
  display: flex;
  align-items: center;
  /* On mobile, push to the left and allow shrinking */
  /* On desktop, center it absolutely */
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar__tab-switcher {
    margin-right: auto;
    margin-left: calc(var(--space-xs) / 2);
    min-width: 0;
  }
}
@media (min-width: 768px) {
  .floating-bar__tab-switcher {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.floating-bar__tab-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--heading-font-family);
  font-size: var(--text-s);
  font-weight: 500;
  color: var(--text-dark);
  padding: 0;
  white-space: nowrap;
  transition: color 0.2s ease;
  min-width: 0;
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar__tab-current {
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .floating-bar__tab-current {
    font-size: var(--h4);
  }
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar__tab-current .js-floating-tab-label {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    min-width: 0;
  }
}
.floating-bar__tab-current:hover {
  color: var(--accent);
}
.floating-bar__tab-current[aria-expanded=true] .floating-bar__chevron {
  transform: rotate(180deg);
}

.floating-bar__chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.floating-bar__tab-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + var(--space-xs));
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: var(--space-xs) 0;
  min-width: 180px;
  z-index: 10;
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar__tab-dropdown {
    left: 0;
    transform: none;
  }
}
.floating-bar__tab-dropdown.is-open {
  display: block;
}

.floating-bar__tab-option {
  display: block;
  width: 100%;
  background: none;
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  padding: var(--space-xs) var(--space-m);
  text-align: left;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.floating-bar__tab-option:hover {
  background-color: var(--bg-ultra-light);
  color: var(--accent);
}
.floating-bar__tab-option.is-active {
  font-weight: 600;
  color: var(--accent);
}

/* Right: action buttons */
.floating-bar__cv-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar__cv-btn {
    display: none;
  }
}
.floating-bar__cv-btn:hover .icon-download__arrow--main {
  translate: 0 110%;
  opacity: 0;
}
.floating-bar__cv-btn:hover .icon-download__arrow--clone {
  translate: 0 0;
  opacity: 1;
}

.floating-bar__contact-btn {
  flex-shrink: 0;
  text-decoration: none;
}

/* ─── Voice Single context: Audio Player ─────────────────────── */
@media (max-width: calc(768px - 1px)) {
  .floating-bar--voice-single .floating-bar__client-info {
    display: none;
  }
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar--voice-single .floating-bar__spacer {
    display: none;
  }
}

.floating-bar__audio-player {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  padding: 0 var(--space-xs);
  /* On desktop, center it absolutely */
  /* On mobile, fill remaining width */
}
@media (min-width: 768px) {
  .floating-bar__audio-player {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
  }
}
@media (min-width: 768px) and (max-width: calc(992px - 1px)) {
  .floating-bar__audio-player {
    width: 250px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .floating-bar__audio-player {
    flex: 1;
    min-width: 0;
  }
}

.floating-bar__audio-play {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(----text-dark);
  font-family: var(--text-font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.floating-bar__audio-play:hover {
  color: var(--accent);
}
.floating-bar__audio-play svg {
  width: 10px;
  height: 12px;
  flex-shrink: 0;
}

.floating-bar__audio-progress {
  flex: 1;
  height: 5px;
  position: relative;
  cursor: pointer;
  min-width: 0;
}

.floating-bar__audio-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--primary-semi-light, #aaa1a1);
}

.floating-bar__audio-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent, #dd413c);
  transition: width 0.1s linear;
}

.floating-bar__audio-timer {
  font-family: var(--text-font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 30px;
  text-align: right;
}

.agent-assistant {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  flex: 1 1 0;
  min-width: 180px;
}
.agent-assistant__title {
  font-size: var(--text-xs);
  line-height: 16px;
  color: var(--text-dark-muted);
}
.agent-assistant__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  color: var(--text-dark);
}
.agent-assistant__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.agent-assistant__email, .agent-assistant__phone {
  font-size: var(--text-xs);
  line-height: 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}
.agent-assistant__email:hover, .agent-assistant__phone:hover {
  color: var(--accent);
}

/**
 * Molecule: Voice Card
 *
 * Portrait card displaying voice image, name, accent, playbar, and actions.
 * Reuses visual patterns from .client-card.
 */
.voice-card {
  display: flex;
  flex-direction: column;
}

.voice-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.voice-card__image-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: var(--space-xs);
}
.voice-card__image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
  pointer-events: none;
  z-index: 1;
}
.voice-card:hover .voice-card__image-wrapper::after {
  background: rgba(0, 0, 0, 0.3);
}

.voice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.voice-card__details {
  margin-inline: var(--space-m);
  height: 4.5em;
}

.voice-card__name {
  font-size: var(--h4);
  margin-bottom: 3px;
}
.voice-card:hover .voice-card__name {
  color: var(--accent);
}

.voice-card__accent {
  font-size: var(--text-xs);
}

/* ── Playbar + Actions ────────────────────── */
.voice-card__footer {
  padding-inline: var(--space-m);
}

.voice-card__playbar {
  position: relative;
  height: 1.5px;
  width: 100%;
}

.voice-card__playbar-track {
  position: absolute;
  inset: 0;
  background: var(--primary-semi-light);
}

.voice-card__playbar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
}

.voice-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 3px;
}
.voice-card:hover .voice-card__actions .client-shortlist-add {
  color: var(--accent);
}

.voice-card__play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: none;
  color: var(--text-dark-muted);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}
.voice-card__play-btn:hover {
  color: var(--accent);
}
.voice-card:hover .voice-card__play-btn {
  color: var(--accent);
}
.voice-card__play-btn--disabled {
  cursor: default;
  opacity: 0.4;
}
.voice-card__play-btn--disabled:hover {
  color: var(--text-dark-muted);
}
.voice-card:hover .voice-card__play-btn--disabled {
  color: var(--text-dark-muted);
}

.voice-card__play-label {
  transition: opacity 0.2s ease;
}

/**
 * Molecule: Scam Alert
 * Fixed-position popup (bottom-left) for scam awareness on agent pages.
 */
.scam-alert {
  position: fixed;
  bottom: var(--space-m);
  left: var(--space-m);
  z-index: 1000;
  max-width: var(--width-m);
  padding: var(--space-l);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow-m);
  background: rgba(40, 36, 36, 0.93);
  backdrop-filter: blur(5px);
  animation: scamAlertSlideUp 0.4s ease-out;
}
@media (max-width: calc(768px - 1px)) {
  .scam-alert {
    bottom: var(--space-s);
    left: var(--space-s);
    right: var(--space-s);
    width: auto;
  }
}
.scam-alert__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.scam-alert__title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.scam-alert__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.scam-alert__icon svg {
  width: 24px;
  height: 24px;
}
.scam-alert__title {
  margin: 0;
  color: var(--text-light);
}
.scam-alert__close {
  appearance: none;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-s);
  cursor: pointer;
  padding: var(--space-3xs) var(--space-2xs);
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.scam-alert__close:hover {
  opacity: 1;
}
.scam-alert__body a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.scam-alert__body a:hover {
  opacity: 0.8;
}
.scam-alert__body p {
  margin: 0;
}
.scam-alert__body p + p {
  margin-top: var(--space-2xs);
}
.scam-alert__action {
  margin-top: var(--space-s);
}

@keyframes scamAlertSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Organisms */
/* Organism: Header — SimplyEasy Refurbs */
.ser-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.admin-bar .ser-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .ser-header {
    top: 46px;
  }
}

.ser-header__topbar {
  background-color: var(--color-secondary);
  height: 38px;
  display: flex;
  align-items: center;
}

.ser-header__topbar-inner {
  width: 100%;
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  padding-inline: var(--content-padding-x);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ser-header__topbar-cta {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}
.ser-header__topbar-cta:hover {
  opacity: 0.85;
}

.ser-header__topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  position: absolute;
  right: var(--content-padding-x);
}
@media (max-width: calc(992px - 1px)) {
  .ser-header__topbar-contact {
    display: none;
  }
}

.ser-header__topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.1;
}
.ser-header__topbar-item svg {
  flex-shrink: 0;
}
.ser-header__topbar-item--link {
  color: #ffffff;
}
.ser-header__topbar-item--link:hover {
  opacity: 0.85;
}

.ser-header__mainbar {
  background-color: #ffffff;
  height: 80px;
  display: flex;
  align-items: center;
}

.ser-header__mainbar-inner {
  width: 100%;
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  padding-inline: var(--content-padding-x);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ser-header__logo {
  flex-shrink: 0;
}
@media (max-width: calc(992px - 1px)) {
  .ser-header__logo {
    flex-shrink: 1;
  }
}
.ser-header__logo .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.ser-header__logo .logo svg,
.ser-header__logo .logo img {
  height: 52px;
  width: auto;
}
@media (max-width: 1150px) {
  .ser-header__logo .logo svg,
  .ser-header__logo .logo img {
    height: 32px;
  }
}

.ser-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 2px;
}
@media (max-width: calc(992px - 1px)) {
  .ser-header__nav .ser-header__nav-list .ser-header__nav-item:has(.ser-header__nav-link) {
    display: none;
  }
}

.ser-header__nav-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ser-header__nav-item {
  margin: 0;
  padding: 0;
}
.ser-header__nav-item.is-current > .ser-header__nav-link:not(.ser-header__nav-toggle)::after,
.ser-header__nav-item > .ser-header__nav-link[aria-current=page]::after {
  transform: scaleX(1);
  transform-origin: left;
  opacity: 1;
}
.ser-header__nav-item--has-children:hover > .ser-header__nav-toggle .ser-header__nav-chevron, .ser-header__nav-item--has-children:focus-within > .ser-header__nav-toggle .ser-header__nav-chevron {
  transform: rotate(180deg);
}

.ser-header__nav-ctas {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 10px;
}
@media (max-width: calc(992px - 1px)) {
  .ser-header__nav-ctas {
    display: none;
  }
}

.ser-header__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-d-text-s);
  font-weight: 400;
  color: var(--color-body);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  position: relative;
}
@media (max-width: 1150px) {
  .ser-header__nav-link {
    padding: 10px 7px;
  }
}
.ser-header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 13px;
  left: 14px;
  right: 14px;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  opacity: 0;
  transform-origin: right;
  transition: transform 0.4s ease, opacity 0.25s ease;
}
@media (max-width: 1150px) {
  .ser-header__nav-link::after {
    left: 7px;
    right: 7px;
  }
}
.ser-header__nav-link:hover {
  color: var(--color-body);
}
.ser-header__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
  opacity: 1;
}

.ser-header__nav-toggle:not([aria-current=page])::after {
  display: none;
}

.ser-header__nav-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--color-secondary);
}

.ser-header__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  right: 0;
  transform: translateY(-6px);
  background-color: #ffffff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  box-shadow: 0 23px 32px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 100;
  width: 100%;
  min-width: 100%;
  white-space: nowrap;
}
.ser-header__dropdown::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
}

.ser-header__nav-item--has-children:hover > .ser-header__dropdown,
.ser-header__nav-item--has-children:focus-within > .ser-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ser-header__dropdown-inner {
  display: flex;
  gap: 32px;
  padding: 32px;
  align-items: flex-start;
}

.ser-header__dropdown--two_columns,
.ser-header__dropdown--column_image {
  min-width: 100%;
}

.ser-header__nav-item--has-children:hover > .ser-header__dropdown--two_columns,
.ser-header__nav-item--has-children:focus-within > .ser-header__dropdown--two_columns,
.ser-header__nav-item--has-children:hover > .ser-header__dropdown--column_image,
.ser-header__nav-item--has-children:focus-within > .ser-header__dropdown--column_image {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ser-header__dropdown--one_column {
  min-width: 260px;
}

.ser-header__dropdown-col {
  flex: 1;
  min-width: 0;
}

.ser-header__dropdown-col-label {
  margin: 0 0 24px;
  font-family: var(--font-utility);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-body);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-divider);
}

.ser-header__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ser-header__dropdown-list li {
  margin: 0;
  padding: 0;
}
.ser-header__dropdown-list a {
  display: inline-flex;
  width: fit-content;
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-body);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: normal;
}
.ser-header__dropdown-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.ser-header__dropdown-list a:hover {
  color: var(--color-body);
}
.ser-header__dropdown-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ser-header__dropdown-list li.is-current > a::after,
.ser-header__dropdown-list a[aria-current=page]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ser-header__dropdown-image-cta {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  width: 220px;
  margin-left: 0;
  aspect-ratio: 1;
  background-color: var(--color-secondary);
  transition: opacity 0.2s ease;
  flex: 1;
}
.ser-header__dropdown-image-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ser-header__dropdown-image-cta:hover img {
  transform: scale(1.04);
}
.ser-header__dropdown-image-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.ser-header__dropdown-image-cta-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.ser-header__dropdown-image-cta-body span {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  text-wrap: auto;
  flex: 1;
}
.ser-header__dropdown-image-cta-body svg {
  width: 28px;
  width: 28px;
}

.ser-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .ser-header__actions {
    display: none;
  }
}

.ser-header__cta {
  padding: 11px 24px;
  font-size: var(--fs-d-text-s);
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
@media (max-width: calc(992px - 1px)) {
  .ser-header__cta {
    padding: 6px 24px;
  }
}

.ser-header__burger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--color-body);
  align-items: center;
  justify-content: center;
}
@media (max-width: calc(992px - 1px)) {
  .ser-header__burger {
    display: flex;
  }
}

.ser-header__burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 14px;
}
.ser-header__burger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.ser-header__burger[aria-expanded=true] .ser-header__burger-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.ser-header__burger[aria-expanded=true] .ser-header__burger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.ser-header__burger[aria-expanded=true] .ser-header__burger-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.ser-mobile-drawer {
  display: none;
  position: fixed;
  top: 118px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 118px);
  background-color: #F2F7FD;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  justify-content: space-between;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ser-mobile-drawer.is-open {
  transform: translateX(0);
}
.admin-bar .ser-mobile-drawer {
  top: calc(118px + 32px);
  height: calc(100dvh - 118px - 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar .ser-mobile-drawer {
    top: calc(118px + 46px);
    height: calc(100dvh - 118px - 46px);
  }
}
@media (max-width: calc(992px - 1px)) {
  .ser-mobile-drawer {
    display: flex;
  }
}

body.ser-drawer-open {
  overflow: hidden;
  touch-action: none;
}

html.ser-drawer-open {
  overflow: hidden;
}

.ser-mobile-drawer__nav {
  padding: 16px var(--content-padding-x) 0;
}

.ser-mobile-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ser-mobile-drawer__item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--color-divider);
}
.ser-mobile-drawer__item:last-child {
  border-bottom: unset;
}

.ser-mobile-drawer__row {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 16px;
}

.ser-mobile-drawer__link {
  display: block;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}
.ser-mobile-drawer__link:hover {
  color: var(--color-heading);
}
.ser-mobile-drawer__item.is-current > .ser-mobile-drawer__link, .ser-mobile-drawer__item.is-current > .ser-mobile-drawer__row > .ser-mobile-drawer__link, .ser-mobile-drawer__subitem.is-current > .ser-mobile-drawer__link {
  color: var(--color-primary);
}

.ser-mobile-drawer__chevron {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: color 0.2s ease;
  padding: 0;
  height: stretch;
  flex: 1;
}
.ser-mobile-drawer__chevron svg {
  transition: transform 0.25s ease;
  stroke: var(--color-heading);
  width: 12px;
}
.ser-mobile-drawer__chevron[aria-expanded=true] {
  color: var(--color-primary);
}
.ser-mobile-drawer__chevron[aria-expanded=true] svg {
  transform: rotate(180deg);
}

.ser-mobile-drawer__submenu {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px 16px;
  display: none;
}
.ser-mobile-drawer__submenu.is-expanded {
  display: block;
}

.ser-mobile-drawer__subitem .ser-mobile-drawer__link {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  color: var(--color-body);
  padding: 0;
}
.ser-mobile-drawer__subitem:not(.ser-mobile-drawer__subitem--label) {
  margin-top: 8px;
  transition: all 0.3s ease;
}
.ser-mobile-drawer__subitem:not(.ser-mobile-drawer__subitem--label) a:hover {
  color: var(--color-body);
}
.ser-mobile-drawer__subitem--label {
  margin-bottom: 8px;
}
.ser-mobile-drawer__subitem--label span {
  color: var(--color-body);
  font-family: var(--font-utility);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
}

.ser-mobile-drawer__cta {
  padding: 0 var(--content-padding-x) 24px;
}
.ser-mobile-drawer__cta .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.ser-mobile-drawer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  justify-content: flex-start;
  margin-top: 16px;
}

.ser-mobile-drawer__button {
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  width: auto;
  min-width: 160px;
  flex: unset !important;
}

.ser-mobile-drawer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--content-padding-x) 32px;
}
.ser-mobile-drawer__contact > .ser-mobile-drawer__buttons + .ser-mobile-drawer__contact-item {
  border-top: 1px solid var(--color-divider);
  padding-top: 20px;
}
.ser-mobile-drawer__contact > .ser-mobile-drawer__contact-item:first-child {
  border-top: 1px solid var(--color-divider);
  padding-top: 20px;
}

.ser-mobile-drawer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-heading);
  text-decoration: none;
  transition: all 0.3s ease;
}
.ser-mobile-drawer__contact-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

a.ser-mobile-drawer__contact-item:hover {
  color: var(--color-primary);
}

.ser-mobile-drawer__backdrop {
  display: none;
  position: fixed;
  top: 118px;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 998;
  pointer-events: none;
}
.admin-bar .ser-mobile-drawer__backdrop {
  top: calc(118px + 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar .ser-mobile-drawer__backdrop {
    top: calc(118px + 46px);
  }
}
@media (max-width: calc(992px - 1px)) {
  .ser-mobile-drawer__backdrop {
    display: block;
  }
}
.ser-mobile-drawer__backdrop.is-visible {
  pointer-events: auto;
}

body:not(.admin-bar) header.site-header + * {
  margin-top: 118px;
}

.ser-header.is-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.ser-header {
  transition: transform 0.3s ease;
}

.header.header--hidden {
  display: none;
}

/* Organism: Footer
 * SimplyEasy Refurbs — matches desktop/mobile designs.
 * Colour: --color-secondary (#081F30) background, white text.
 */
.prefooter {
  background-color: var(--color-bg);
  padding-block: 20px;
  border-bottom: 1px solid rgba(8, 31, 48, 0.08);
}

.prefooter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 992px) {
  .prefooter__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }
}

.prefooter__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1.5px solid rgba(8, 31, 48, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: var(--color-heading);
  font-size: var(--fs-d-text-s);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.prefooter__badge:hover {
  border-color: rgba(8, 31, 48, 0.3);
}
.prefooter__badge strong {
  font-weight: var(--font-weight-bold);
}

.prefooter__badge-sep {
  display: flex;
  align-items: center;
}
.prefooter__badge-sep img {
  width: 18px;
  min-width: 18px;
  height: 18px;
  display: block;
}

.prefooter__badge-count {
  color: var(--color-heading);
  font-weight: 500;
}

.prefooter__logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: calc(1280px - 1px)) {
  .prefooter__logos {
    gap: 16px;
  }
}
@media (min-width: 992px) {
  .prefooter__logos {
    justify-content: flex-end;
  }
}

.prefooter__logo {
  height: 36px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.2s ease;
}
.prefooter__logo:hover {
  filter: grayscale(0) opacity(1);
}

.site-footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding-top: 60px;
  padding-bottom: 0;
}
.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}
.site-footer div.footer__contact-item:hover,
.site-footer span.footer__contact-item:hover {
  text-decoration: none;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
@media (min-width: 992px) {
  .footer__main {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
  }
}

.footer__nav .footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__nav li {
  margin: 0;
  padding: 0;
}
.footer__nav a {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  text-decoration: none;
}
@media (max-width: calc(992px - 1px)) {
  .footer__nav a {
    font-size: 20px;
  }
}
@media (max-width: calc(992px - 1px)) {
  .footer__nav {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col-heading {
  font-family: var(--font-utility);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
  display: block;
}

.footer__link-list,
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__link-list li,
.footer__col ul li {
  margin: 0;
  padding: 0;
}
.footer__link-list a,
.footer__col ul a {
  font-size: var(--fs-d-text-s);
  line-height: var(--lh-d-text-s);
  color: var(--color-white);
  text-decoration: none;
}

.footer__contact-address {
  font-size: var(--fs-d-text-s);
  line-height: var(--lh-d-text-s);
  color: var(--color-white);
  margin-bottom: 8px;
}
.footer__contact-address p {
  margin: 0;
}
.footer__contact-address a {
  color: var(--color-white);
}

a.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-d-text-s);
  line-height: var(--lh-d-text-s);
  color: var(--color-white);
  text-decoration: none;
}

div.footer__contact-item,
span.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-d-text-s);
  line-height: var(--lh-d-text-s);
  color: var(--color-white);
  cursor: default;
}

.footer__contact-icon {
  display: flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.footer__contact-icon svg {
  width: 16px;
  height: 16px;
}

.footer__brand-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 40px;
  align-items: self-start;
}
@media (min-width: 992px) {
  .footer__brand-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
}
.footer__logo .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-white);
}
.footer__logo svg {
  height: 48px;
  width: auto;
  display: block;
}
.footer__logo svg path,
.footer__logo svg rect,
.footer__logo svg circle,
.footer__logo svg polygon {
  fill: var(--color-white);
}
.footer__logo svg .logo-accent {
  fill: var(--color-primary);
}

.footer__cta {
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom-copy {
  font-size: var(--fs-d-text-xs);
  line-height: var(--lh-d-text-xs);
  color: var(--color-white);
}
.footer__bottom-copy .foot-mob {
  display: none;
}
.footer__bottom-copy a {
  color: var(--color-white);
}
.footer__bottom-copy p {
  margin: 0;
  display: inline;
}
@media (max-width: calc(992px - 1px)) {
  .footer__bottom-copy {
    max-width: 250px;
  }
  .footer__bottom-copy .foot-desk {
    display: none;
  }
  .footer__bottom-copy .foot-mob {
    display: inline;
  }
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: opacity 0.2s ease;
}
.footer__social-link:hover {
  opacity: 0.6;
}
.footer__social-link svg {
  height: 17px;
  width: auto;
  display: block;
}

/* Organism: Contact Locations */
.contact-locations {
  padding-top: var(--section-space-xl);
}
@media (max-width: calc(768px - 1px)) {
  .contact-locations {
    padding-bottom: 0;
  }
}
.contact-locations__locations {
  border-top: 1px solid var(--primary-light);
  border-bottom: 1px solid var(--primary-light);
  padding: var(--space-m) 0;
  width: 100%;
  margin-top: var(--space-m);
}

.contact-location {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-xl);
  align-items: flex-start;
  flex-wrap: wrap;
}
@media (max-width: calc(768px - 1px)) {
  .contact-location {
    flex-direction: column;
    gap: var(--space-m);
  }
}

/* Organism: Contact Map */
.contact-map {
  width: 100%;
  padding-top: 0;
  padding-bottom: var(--section-space-xl);
}
.contact-map__embed {
  width: 100%;
  position: relative;
  height: 600px;
  background-color: #1a1a1a;
}
@media (max-width: calc(768px - 1px)) {
  .contact-map__embed {
    height: 100vw;
  }
}
.contact-map__embed #map {
  width: 100%;
  height: 100%;
  display: block;
}
/* Organism: Contact Text Blocks */
.contact-text-blocks .text-block__content {
  max-width: 26.875rem;
}

/* Organism: Hero */
.hero {
  position: relative;
  min-height: min(750px, 100vh - 112px); /* fallback: subtract header height */
  min-height: min(750px, 100svh - 112px); /* subtract header (40px topbar + 72px mainbar) */
  max-height: 750px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
  background-color: var(--color-dark, #000);
}
.hero .container {
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
}

/* ─── Slideshow ─────────────────────────────────────────────────────────── */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__video--mobile {
  display: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
  transform: scale(1.06);
}

.hero__slide--active {
  opacity: 1;
}

/* Single image — no transition needed */
.hero__slides--single .hero__slide {
  opacity: 1;
  transition: none;
}

/* Crossfade timing is driven by JS class toggling (.hero__slide--active).
 * The transition duration on .hero__slide controls the fade speed. */
/* ─── Overlay ───────────────────────────────────────────────────────────── */
/* Gradient overlay — stronger on the left where content sits */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  padding-block: 64px;
}
@media (max-width: calc(768px - 1px)) {
  .hero__inner {
    padding-top: 150px;
    padding-bottom: 57px;
  }
}

.hero__content {
  max-width: 524px;
  display: flex;
  flex-direction: column;
  gap: var(--space-m, 24px);
}

.hero__video-widget {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--color-dark, #111);
  display: inline-flex;
  align-items: center;
  gap: var(--video-widget-gap);
  max-width: 100%;
  --video-widget-gap: 14px;
  --video-widget-thumb-width: 60px;
  --video-widget-edge-delta: 20px;
  --video-widget-thumb-shift: calc(var(--video-widget-copy-width, 0px) + var(--video-widget-gap) + var(--video-widget-edge-delta));
  --video-widget-copy-shift: calc((var(--video-widget-thumb-width) + var(--video-widget-gap) - 16px) * -1);
  min-height: 76px;
  margin-left: auto;
  padding: 8px 28px 8px 8px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero__video-widget:hover, .hero__video-widget:focus-visible {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}
.hero__video-widget:hover .hero__video-widget-thumb, .hero__video-widget:focus-visible .hero__video-widget-thumb {
  transform: translateX(var(--video-widget-thumb-shift));
}
.hero__video-widget:hover .hero__video-widget-copy, .hero__video-widget:focus-visible .hero__video-widget-copy {
  transform: translateX(var(--video-widget-copy-shift));
}
.hero__video-widget:focus-visible {
  outline: 2px solid var(--color-primary, #111);
  outline-offset: 3px;
}

.hero__video-widget-thumb {
  position: relative;
  z-index: 2;
  width: var(--video-widget-thumb-width);
  height: var(--video-widget-thumb-width);
  border-radius: 50%;
  flex: 0 0 var(--video-widget-thumb-width);
  overflow: hidden;
  background: var(--color-light, #f5f5f5);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.hero__video-widget-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}
.hero__video-widget-play svg {
  display: block;
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.hero__video-widget-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__video-widget-title,
.hero__video-widget-role {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero__video-widget-title {
  font-family: var(--font-heading, inherit);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.hero__video-widget-role {
  font-family: var(--font-body, inherit);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

/* H1 — animation initial state + transition lives in _animations.scss via .anim-entry */
.hero__heading {
  color: #fff;
  font-size: var(--fs-d-h1-l);
  line-height: 1.05;
  margin: 0;
  max-width: 500px;
}
@media (max-width: calc(768px - 1px)) {
  .hero__heading {
    font-size: 48px;
    line-height: 1.1;
  }
  .hero__heading br {
    display: none;
  }
}

/* Trustpilot badge pill — glassmorphism */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 20px;
  width: fit-content;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.hero__badge:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__badge-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}
.hero__badge-text strong {
  font-weight: 700;
}

.hero__badge-star {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hero__badge-star img {
  width: 18px;
  height: 18px;
  display: block;
}

.hero__badge-reviews {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

/* Body copy */
.hero__subheading {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 27px;
  margin: 0;
}
.hero__subheading p {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}
.hero__subheading strong {
  color: #fff;
  font-weight: 600;
}

/* CTA row */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s, 12px);
}

.hero:has(+ .accreditations),
.hero:has(+ script + .accreditations) {
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: calc(768px - 1px)) {
  .hero {
    min-height: auto;
    max-height: none;
    height: auto;
    display: block;
    padding-top: 118px;
  }
  .hero__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
  }
  .hero__video--mobile {
    display: block;
  }
  .hero--has-mobile-video .hero__video--desktop,
  .hero--has-mobile-video .hero__slides {
    display: none;
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-s, 12px);
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__video-widget {
    width: auto;
    max-width: 100%;
    min-height: 48px;
    margin: 10px auto 0 auto;
    padding: 4px 18px 4px 4px;
    --video-widget-thumb-width: 40px;
    --video-widget-edge-delta: 14px;
  }
  .hero__video-widget-title {
    font-size: 14px;
    line-height: 1.1;
  }
  .hero__video-widget-role {
    font-size: 13px;
    line-height: 1.1;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }
}
/* Organism: Page Hero — inner page banner (shorter than homepage hero) */
.page-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: 112px; /* compensate for header overlay */
  padding-bottom: 0;
  background-color: var(--color-dark, #000);
  margin-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .page-hero {
    margin-bottom: 57px;
  }
}

/* ─── Slideshow ─────────────────────────────────────────────────────────── */
.page-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
  transform: scale(1.06);
}

.page-hero__slide--active {
  opacity: 1;
}

.page-hero__slides--single .page-hero__slide {
  opacity: 1;
  transition: none;
}

/* ─── Overlay ───────────────────────────────────────────────────────────── */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 64px;
  width: 100%;
}
@media (max-width: calc(768px - 1px)) {
  .page-hero__inner {
    padding-block: 57px;
  }
}

.page-hero__content {
  max-width: 787px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* H1 */
.page-hero__heading {
  color: #fff;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--fs-d-h1);
  line-height: var(--lh-d-h1);
  font-weight: var(--font-weight-bold);
}
@media (max-width: calc(768px - 1px)) {
  .page-hero__heading {
    font-size: 48px;
    line-height: 1.1;
  }
  .page-hero__heading br {
    display: none;
  }
}

/* Trustpilot badge pill */
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 20px;
  width: fit-content;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.page-hero__badge:hover, .page-hero__badge:focus {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  text-decoration: none;
}

.page-hero__badge-text {
  color: inherit;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

.page-hero__badge-star {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.page-hero__badge-star img {
  width: 18px;
  height: 18px;
  display: block;
}

.page-hero__badge-reviews {
  color: inherit;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

/* Body copy */
.page-hero__subheading {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 580px;
}
.page-hero__subheading p {
  margin: 0;
}
.page-hero__subheading strong {
  color: #fff;
  font-weight: 600;
}

/* CTA row */
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s, 12px);
  margin-top: var(--space-xs, 8px);
}

/* Mobile */
@media (max-width: calc(768px - 1px)) {
  .page-hero__content {
    max-width: 100%;
  }
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero__actions .btn {
    text-align: center;
    justify-content: center;
  }
}
.page-hero:has(+ .accreditations),
.page-hero:has(+ script + .accreditations) {
  margin-bottom: 0 !important;
}

.accreditations {
  padding-top: 64px;
  background: var(--color-white);
  overflow: hidden;
}
.accreditations--no-pt {
  padding-top: 0;
}
.accreditations .accreditations__track-overlay {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 90%, rgb(255, 255, 255) 100%);
}
@media (max-width: calc(992px - 1px)) {
  .accreditations .accreditations__track-overlay {
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 5%, rgba(255, 255, 255, 0) 95%, rgb(255, 255, 255) 100%);
  }
}
.accreditations__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.accreditations__top {
  display: flex;
  align-items: center;
  row-gap: 32px;
  column-gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
}
.accreditations__label {
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-heading);
  white-space: nowrap;
  margin: 0;
}
.accreditations__reviews {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.accreditations__review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.accreditations__review:hover {
  border-color: rgba(8, 31, 48, 0.3);
}
.accreditations__review-text {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-s);
  color: var(--color-body);
  line-height: 1;
}
.accreditations__review-text strong {
  font-weight: var(--font-weight-bold);
}
.accreditations__review-img-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.accreditations__review-img-wrap img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.accreditations__review-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.accreditations__review-count {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-s);
  color: var(--color-heading);
  font-weight: 500;
  line-height: 1;
}
.accreditations__carousel-wrap {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  position: relative;
}
.accreditations__carousel-wrap:active {
  cursor: grabbing;
}
.accreditations__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  will-change: transform;
}
.accreditations__slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accreditations__logo {
  max-height: 30px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: opacity 0.25s ease, filter 0.25s ease;
  pointer-events: none;
}
@media (max-width: calc(768px - 1px)) {
  .accreditations__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .accreditations__label {
    white-space: normal;
  }
  .accreditations__reviews {
    flex-direction: column;
    width: 100%;
    row-gap: 16px;
  }
  .accreditations__review {
    justify-content: center;
  }
}
/* Organism: News Listing */
.news-listing {
  padding-top: var(--section-space-m);
  padding-bottom: var(--section-space-l);
  /* Post Card (matching other-announcements style but with local classes) */
  /* Client Tooltip Integration */
  /* Pagination */
}
.news-listing__headline {
  margin-bottom: calc(var(--grid-gap) + var(--space-m));
}
.news-listing__filters-wrapper {
  border-top: 1px solid var(--border-color, #d1d1d1);
  width: 100%;
  display: flex;
  justify-content: center;
}
.news-listing__filters {
  width: 100%;
  padding-top: var(--space-s);
  margin-bottom: var(--section-space-m);
}
.news-listing__filter-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--content-gap);
  align-items: center;
  justify-content: flex-start;
}
.news-listing__filter-item {
  font-size: var(--text-s);
  color: var(--text-color-muted);
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}
.news-listing__filter-item a {
  color: inherit;
  text-decoration: none;
}
.news-listing__filter-item:not(:last-child)::after {
  display: none;
}
.news-listing__filter-item--active {
  color: var(--text-color);
  font-weight: 500;
}
.news-listing__filter-item:hover {
  color: var(--text-color);
}
.news-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--space-s, 10px);
  row-gap: var(--space-xxl, 60px);
  margin-bottom: var(--section-space-m);
}
.news-listing__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-s, 20px);
}
.news-listing__card-image-link {
  display: block;
  width: 100%;
  overflow: hidden;
}
.news-listing__card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-listing__card-image:hover {
  transform: scale(1.02);
}
.news-listing__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs, 7.111px);
}
.news-listing__card-title {
  font-size: var(--h4);
  margin: 0;
}
.news-listing__card-title a {
  color: inherit;
  text-decoration: none;
}
.news-listing__card-title a:hover {
  text-decoration: underline;
}
.news-listing__client-wrapper {
  position: relative;
  display: inline-block;
}
.news-listing__client-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  position: relative;
  z-index: 10;
}
.news-listing__client-link:hover {
  text-decoration: none;
}
.news-listing__client-tooltip {
  position: absolute;
  bottom: 100%;
  left: 0%;
  transform: translateX(0%) translateY(10px);
  background-color: white;
  padding: var(--space-xs);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: max-content;
  min-width: 200px;
  max-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 20;
  margin-bottom: 10px;
  visibility: hidden;
  text-align: left;
  text-decoration: none;
}
.news-listing__client-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}
.news-listing__client-wrapper:hover .news-listing__client-tooltip {
  opacity: 1;
  transform: translateX(0%) translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.news-listing__tooltip-content {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}
.news-listing__tooltip-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}
.news-listing__tooltip-info {
  display: flex;
  flex-direction: column;
}
.news-listing__tooltip-name {
  margin-bottom: 2px;
}
.news-listing__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--section-space-m);
}
.news-listing__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  transition: all 0.2s ease;
  margin: 0 4px;
  line-height: 1;
  padding: 0;
}
.news-listing__pagination .page-numbers:hover:not(.dots):not(.prev):not(.next) {
  background-color: var(--bg-ultra-dark, #22252a);
  color: white;
}
.news-listing__pagination .page-numbers.current {
  background-color: var(--bg-ultra-dark, #22252a);
  color: white;
}
.news-listing__pagination .page-numbers.dots {
  cursor: default;
}
.news-listing__pagination .page-numbers.next, .news-listing__pagination .page-numbers.prev {
  width: auto;
  height: auto;
  border-radius: 0;
  margin-left: var(--space-s);
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}
.news-listing__pagination .page-numbers.next:hover, .news-listing__pagination .page-numbers.prev:hover {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
.news-listing__pagination .page-numbers.next:hover::after, .news-listing__pagination .page-numbers.prev:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
}
.news-listing__pagination .page-numbers.prev {
  display: none;
}
@media (max-width: calc(992px - 1px)) {
  .news-listing__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: calc(768px - 1px)) {
  section.news-section--others {
    padding-block: var(--section-space-m);
  }
}
.accordion-section {
  /*
      &__grid {
          display: grid;
          grid-template-columns: 1fr 3fr;
          gap: var(--space-xl);
          align-items: start;

          @include breakpoint-max('sm') {
              grid-template-columns: 1fr;
              gap: var(--space-l);
          }
      }

      &__intro {
          display: flex;
          flex-direction: column;
          gap: var(--space-m);
          position: sticky;
          top: var(--space-xl);

          @include breakpoint-max('sm') {
              position: static;
          }
      }

      &__list {
          width: 100%;
      }
  */
}

.cta-section__heading {
  color: var(--text-dark-muted);
}
.cta-section__text {
  color: var(--text-dark-muted);
}

/* Organism: Info Cards Grid with Background */
.cta-cards.has-bg {
  background-color: var(--color-bg);
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .cta-cards.has-bg {
    padding-top: 57px;
  }
}
.cta-cards.has-bg .cta-cards__card {
  background: #fff;
}
.cta-cards:not(.has-bg) {
  padding-top: 0;
}

.cta-cards__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cta-cards__heading {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--lh-d-h2);
  margin: 0;
  text-align: center;
}
@media (max-width: calc(768px - 1px)) {
  .cta-cards__heading {
    font-size: var(--fs-m-h2);
    line-height: var(--lh-m-h2);
    text-align: left;
  }
}

.cta-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: calc(992px - 1px)) {
  .cta-cards__grid {
    grid-template-columns: 1fr;
  }
}

.cta-cards__card {
  align-items: center;
  background: var(--color-bg);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  min-height: 260px;
  padding: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .cta-cards__card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
    display: flex;
    gap: 16px;
  }
}

.cta-cards__media {
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
}
@media (max-width: calc(768px - 1px)) {
  .cta-cards__media {
    flex: 0 0 calc(33.333% - 16px / 2);
    align-self: flex-start;
  }
}

.cta-cards__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cta-cards__placeholder {
  align-items: center;
  background: repeating-radial-gradient(ellipse at 50% -20%, rgba(64, 64, 64, 0.08) 0, rgba(64, 64, 64, 0.08) 1px, transparent 2px, transparent 9px), #d9d9d9;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.cta-cards__placeholder-mountain {
  border-bottom: 44px solid rgba(38, 38, 38, 0.34);
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  height: 0;
  position: relative;
  width: 0;
}
.cta-cards__placeholder-mountain::after {
  border-bottom: 34px solid rgba(38, 38, 38, 0.26);
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  bottom: -44px;
  content: "";
  left: 16px;
  position: absolute;
}

.cta-cards__placeholder-sun {
  background: rgba(38, 38, 38, 0.5);
  border-radius: 50%;
  height: 12px;
  margin-left: 8px;
  margin-top: -52px;
  width: 12px;
}

.cta-cards__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: calc(768px - 1px)) {
  .cta-cards__content {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

.cta-cards__title {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: var(--fs-d-h5);
  font-weight: var(--font-weight-bold);
  line-height: var(--lh-d-h5);
  margin: 0;
}

.cta-cards__text {
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: var(--fs-d-text-s);
  line-height: var(--lh-d-text-s);
  margin: 0;
}

.team-member {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-block: var(--space-s);
  border-bottom: 1px solid var(--border-color-light);
  cursor: pointer;
  transition: border-color 0.3s ease;
}
@media (min-width: 768px) {
  .team-member:not(.team-member--no-link):hover .team-member__image-wrapper {
    width: 58px;
    opacity: 1;
  }
  .team-member:not(.team-member--no-link):hover .team-member__last-name {
    color: var(--accent);
  }
}
.team-member--no-link {
  cursor: default;
}
.team-member__image-wrapper {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width, opacity;
  display: flex;
  align-items: center;
}
.team-member__image-inner {
  background-image: url("../../assets/images/ua-profile-placeholder.jpg");
  background-size: cover;
  background-position: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.team-member__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.team-member__name {
  margin: 0;
  display: flex;
  gap: calc(var(--space-xs) * 0.5);
}
.team-member__first-name {
  color: var(--text-main);
}
.team-member__last-name {
  color: var(--text-main);
  transition: color 0.3s ease;
}
.team-member__link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.team-leadership__grid {
  border-top: 1px solid var(--border-color-light);
}
/**
 * Organism: Text Two Columns
 * 
 * Two-column layout: wysiwyg text left, image right.
 */
.text-two-columns__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: calc(768px - 1px)) {
  .text-two-columns__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .text-two-columns__grid .text-two-columns__column--right {
    order: -1;
  }
  .text-two-columns__grid .text-two-columns__column--left {
    order: 1;
  }
}
.text-two-columns__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-two-columns__column a:not(.btn) {
  position: relative;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  margin-block-start: 0 !important;
  color: var(--color-body) !important;
  font-weight: inherit;
  text-decoration: none !important;
}
.text-two-columns__column a:not(.btn)::before, .text-two-columns__column a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentcolor;
}
.text-two-columns__column a:not(.btn)::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.5s;
}
.text-two-columns__column a:not(.btn)::after {
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-two-columns__column a:not(.btn):hover {
  color: var(--accent);
}
.text-two-columns__column a:not(.btn):hover::before, .text-two-columns__column a:not(.btn):hover::after {
  background: var(--accent);
}
.text-two-columns__column a:not(.btn):hover::before {
  transform: scaleX(1);
}
.text-two-columns__column a:not(.btn):hover::after {
  transform: scaleX(0);
}
.text-two-columns__column a:not(.btn):hover {
  color: var(--accent) !important;
}
.text-two-columns__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: var(--radius-m, 12px);
  display: block;
}
.text-two-columns--full-width .text-two-columns__grid {
  grid-template-columns: 1fr;
}
.text-two-columns__btn {
  align-self: flex-start;
  margin-top: 8px;
}
.text-two-columns--reversed .text-two-columns__column--right {
  order: -1;
}
.text-two-columns--reversed .text-two-columns__column--left {
  order: 1;
}
.text-two-columns--has-bg {
  background-color: #F2F7FD;
  padding-block: 64px;
}
@media (max-width: calc(768px - 1px)) {
  .text-two-columns--has-bg {
    padding-block: 57px;
  }
}

/* Templates */
/* Template: Contact Page */
.contact-header .container {
  max-width: var(--content-width);
}
.contact-header__title {
  font-family: var(--heading-font-family), Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-dark);
}

/* Organism: News Archive */
/* ───────────────────────────────────────── */
/* Section 1: Hero — reuses .news-section   */
/* ───────────────────────────────────────── */
.news-archive__intro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.news-archive__headline {
  margin-bottom: 0;
}

/* ───────────────────────────────────────── */
/* Section 2: Other Announcements           */
/* ───────────────────────────────────────── */
.news-archive__announcements-header {
  display: flex;
  flex-direction: column;
  gap: var(--container-gap);
  margin-bottom: var(--desktop\/d-container-gap);
}

.news-archive__announcements-heading {
  margin: 0;
}

/* Filters Row */
.news-archive__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  gap: var(--content-gap);
  border-top: 1px solid var(--border-color-light);
  padding-top: var(--space-m);
  /* FacetWP-generated filter items — target the facet output */
  /* Individual filter radio items */
}
.news-archive__filters .facetwp-facet {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  gap: var(--desktop\/d-content-gap, 16px);
  align-items: center;
}
.news-archive__filters .facetwp-radio {
  font-size: var(--text-s);
  color: var(--text-dark-muted, #867979);
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  background-image: none;
  padding-left: 0;
  /* Hide default FacetWP radio indicator */
  /* Active / selected filter item */
  /* Hide the counter badges (e.g. "(2)") */
}
.news-archive__filters .facetwp-radio::before {
  display: none !important;
}
.news-archive__filters .facetwp-radio:hover {
  color: var(--text-dark, #000000);
}
.news-archive__filters .facetwp-radio.checked {
  color: var(--text-dark, #000000);
  font-weight: 500;
}
.news-archive__filters .facetwp-radio .facetwp-counter {
  display: none;
}

/* Clear Filter button */
.news-archive__clear-filter {
  margin-left: auto;
}

/* Grid */
.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--space-s);
  row-gap: var(--space-xxl);
  margin-bottom: var(--section-m);
  /* Stagger fade-in for news cards */
}
.news-archive__grid .news-card {
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: calc(var(--stagger-index, 0) * 0.1s);
}
.news-archive__grid .news-card.is-visible {
  opacity: 1;
}

/* No results fallback */
.news-archive__no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--section-m) 0;
  color: var(--text-color-muted);
}

/* ───────────────────────────────────────── */
/* Auto-load-more (UV)                      */
/* ───────────────────────────────────────── */
/* Hidden pagination — keeps FacetWP paging state but invisible */
.news-archive__load-more-pagination {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.news-archive__load-more-sentinel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl, 48px) 0 var(--section-space-xl, 80px);
  width: 100%;
}

.news-archive__load-more-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color-light, #e0e0e0);
  border-top-color: var(--text-dark, #282424);
  border-radius: 50%;
  animation: news-spin 0.7s linear infinite;
}

@keyframes news-spin {
  to {
    transform: rotate(360deg);
  }
}
/* ───────────────────────────────────────── */
/* FacetWP Pagination                       */
/* ───────────────────────────────────────── */
.facetwp-facet-pagination {
  margin-bottom: 0;
}

.facetwp-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.facetwp-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle, 999px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  /* Active / current page */
  /* Hover on inactive pages */
  /* Dots / ellipsis */
  /* Next & Prev buttons */
  /* Hide the prev button */
}
.facetwp-page.active {
  background-color: var(--bg-ultra-dark, #282424);
  color: var(--white, #ffffff);
}
.facetwp-page:hover:not(.active):not(.next):not(.prev) {
  background-color: var(--bg-ultra-dark, #282424);
  color: var(--white, #ffffff);
}
.facetwp-page.dots {
  cursor: default;
}
.facetwp-page.next, .facetwp-page.prev {
  width: auto;
  height: 40px;
  border-radius: var(--radius-s, 4px);
  padding: 0 var(--buttons\/d-btn-x-padding-s, 14px);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark, #282424);
  margin-left: var(--space-xs);
  font-style: normal;
}
.facetwp-page.next:hover, .facetwp-page.prev:hover {
  background-color: transparent;
  text-decoration: underline;
}
.facetwp-page.prev {
  display: none;
}

/* ───────────────────────────────────────── */
/* Responsive                               */
/* ───────────────────────────────────────── */
@media (max-width: calc(992px - 1px)) {
  .news-archive__grid {
    grid-template-columns: 1fr;
  }
  .news-archive__filters {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-archive__clear-filter {
    margin-left: 0;
  }
}
/* Template: Client Archive */
/* ─────────────────────────────────────────
   Hero — two-column layout
   ───────────────────────────────────────── */
.client-archive {
  padding-bottom: var(--container-gap);
}
.client-archive__top {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--container-gap);
}

/* Left column — "Clients" heading */
.client-archive__title-wrap {
  grid-column: 1/2;
  display: flex;
  align-items: flex-start;
  padding-top: var(--space-m);
}

/* Right column — search + filters */
.client-archive__filters {
  grid-column: 2/5;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  padding-top: var(--space-m);
}
@media (max-width: calc(992px - 1px)) {
  .client-archive__filters {
    grid-column: 1/-1;
  }
}

/* ─────────────────────────────────────────
   Search input
   ───────────────────────────────────────── */
.client-archive__search {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  /* FacetWP search facet container */
  /* FacetWP wraps the input in .facetwp-search-wrap or .facetwp-input-wrap */
  /* The actual <input> rendered by FacetWP search facet */
  /* Hide the default FacetWP search icon/button if present */
  /* Clear button injected by JS */
}
.client-archive__search .facetwp-facet {
  width: 100%;
  margin-bottom: 0;
}
.client-archive__search .facetwp-search-wrap,
.client-archive__search .facetwp-input-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.client-archive__search .facetwp-search {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color, #C2C2C2);
  border-radius: 0;
  outline: none;
  padding: 0 var(--space-l) var(--space-s) 0;
  font-family: var(--font-main);
  font-size: var(--text-m);
  line-height: 24px;
  color: var(--text-dark);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.client-archive__search .facetwp-search::-webkit-search-cancel-button, .client-archive__search .facetwp-search::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.client-archive__search .facetwp-search::placeholder {
  color: var(--text-dark);
  opacity: 1;
}
.client-archive__search .facetwp-search:focus {
  border-bottom-color: var(--text-dark);
}
.client-archive__search .facetwp-btn {
  display: none;
}
.client-archive__search .facet-search-clear {
  display: none;
  position: absolute;
  right: 0;
  bottom: var(--space-s);
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-dark-muted);
  transition: color 0.2s ease;
  line-height: 0;
}
.client-archive__search .facet-search-clear:hover {
  color: var(--accent);
}
.client-archive__search .facet-search-clear.has-value {
  display: flex;
}

/* ─────────────────────────────────────────
   Filter area (departments wrapper)
   ───────────────────────────────────────── */
.client-archive__departments {
  display: flex;
  flex-direction: column;
  gap: var(--desktop\/d-content-gap, 16px);
  width: 100%;
}

/* ─────────────────────────────────────────
   Filter Row 1: top-level department tabs
   13px, muted grey, active = accent
   ───────────────────────────────────────── */
.client-archive__filter-row--departments {
  display: flex;
  flex-wrap: wrap;
  gap: var(--desktop\/d-content-gap, 16px);
  align-items: center;
  margin-bottom: var(--space-m);
  /* FacetWP facet wrapper — flex row, not contents */
}
.client-archive__filter-row--departments .facetwp-facet {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  gap: var(--desktop\/d-content-gap, 16px);
  align-items: center;
}
.client-archive__filter-row--departments .facetwp-radio {
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark-muted);
  cursor: pointer;
  white-space: nowrap;
  background-image: none;
  padding-left: 0;
  transition: color 0.2s ease;
  /* Hide default FacetWP radio indicator */
}
.client-archive__filter-row--departments .facetwp-radio::before {
  display: none !important;
}
.client-archive__filter-row--departments .facetwp-radio .facetwp-counter {
  display: none;
}
.client-archive__filter-row--departments .facetwp-radio:hover {
  color: var(--text-dark);
}
.client-archive__filter-row--departments .facetwp-radio.checked {
  color: var(--accent);
}

/* ─────────────────────────────────────────
   Filter Row 2: sub-filter group labels
   13px, muted grey, active = accent (clickable toggles)
   ───────────────────────────────────────── */
.client-archive__filter-row--subgroups {
  display: none;
  flex-wrap: wrap;
  gap: var(--desktop\/d-content-gap, 16px);
  align-items: center;
}
.client-archive__filter-row--subgroups.is-visible {
  display: flex;
}
.client-archive__filter-row--subgroups .filter-group-label {
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.client-archive__filter-row--subgroups .filter-group-label:hover {
  color: var(--text-dark);
}
.client-archive__filter-row--subgroups .filter-group-label.is-active {
  color: var(--accent);
}

/* ─────────────────────────────────────────
   Filter Row 3: sub-filter items
   16px dark text, wrapping, shown when sub-group is active
   ───────────────────────────────────────── */
.client-archive__filter-row--items {
  display: none;
  flex-wrap: wrap;
  gap: var(--space-xs, 7px) var(--desktop\/d-content-gap, 16px);
  align-items: flex-start;
  /* Show all items — remove FacetWP soft-limit "See more/less" */
}
.client-archive__filter-row--items.is-visible {
  display: flex;
}
.client-archive__filter-row--items .facetwp-facet {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  gap: var(--space-xs, 7px) var(--desktop\/d-content-gap, 16px);
  align-items: center;
}
.client-archive__filter-row--items .facetwp-overflow {
  display: contents !important;
}
.client-archive__filter-row--items .facetwp-toggle {
  display: none !important;
}
.client-archive__filter-row--items .facetwp-radio,
.client-archive__filter-row--items .facetwp-checkbox {
  font-family: var(--font-main);
  font-size: var(--text-m);
  line-height: 24px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  background-image: none;
  padding-left: 0;
  transition: color 0.2s ease;
}
.client-archive__filter-row--items .facetwp-radio::before,
.client-archive__filter-row--items .facetwp-checkbox::before {
  display: none !important;
}
.client-archive__filter-row--items .facetwp-radio .facetwp-counter,
.client-archive__filter-row--items .facetwp-checkbox .facetwp-counter {
  display: none;
}
.client-archive__filter-row--items .facetwp-radio:hover,
.client-archive__filter-row--items .facetwp-checkbox:hover {
  color: var(--accent);
}
.client-archive__filter-row--items .facetwp-radio.checked,
.client-archive__filter-row--items .facetwp-checkbox.checked {
  color: var(--accent);
}

/* ─────────────────────────────────────────
   Active filter pills (FacetWP selections)
   ───────────────────────────────────────── */
.client-archive__active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs, 7px);
  align-items: center;
}
.client-archive__active-filters:empty {
  display: none;
}

/* Individual active pill */
.client-archive__filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 3.5px var(--space-xs) 3.5px var(--space-s);
  background-color: var(--primary-light);
  border: none;
  border-radius: var(--radius-circle, 999px);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.client-archive__filter-pill:hover {
  background-color: var(--border-color-light);
}

.client-archive__filter-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.65em;
  height: auto;
  flex-shrink: 0;
}
.client-archive__filter-pill-icon svg {
  width: 100%;
  height: 100%;
}

/* "Clear all" pill */
.client-archive__clear-all {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 3.5px var(--space-xs) 3.5px var(--space-s);
  background: transparent;
  border: none;
  border-radius: var(--radius-circle, 999px);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.client-archive__clear-all:hover {
  background-color: var(--primary-light);
}

/* ─────────────────────────────────────────
   Clients grid section
   ───────────────────────────────────────── */
.clients-grid {
  padding-top: var(--container-gap);
}

.client-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xs);
  row-gap: var(--space-xl);
}
@media (max-width: calc(992px - 1px)) {
  .client-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: calc(768px - 1px)) {
  .client-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.client-archive__pagination {
  padding-top: var(--container-gap);
  margin: 0 auto;
  text-align: center;
}
.client-archive__pagination .facetwp-pager {
  padding-bottom: 0;
}

/* Template: Archive Users */
.archive-users {
  padding-bottom: var(--container-gap);
}
.archive-users__top {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--container-gap);
}
.archive-users__results {
  padding-top: var(--container-gap);
}
.archive-users__results-container {
  gap: var(--section-space-xl);
}
.archive-users__filters {
  padding-top: var(--space-s);
  grid-column: 2/5;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}
@media (max-width: calc(768px - 1px)) {
  .archive-users__filters {
    grid-column: 1/-1;
  }
}
.archive-users__search {
  /* Hide the default FacetWP search icon/button if present */
  /* Clear button injected by JS */
}
.archive-users__search .facetwp-facet {
  margin-bottom: 0;
  width: 100%;
}
.archive-users__search .facetwp-search-wrap,
.archive-users__search .facetwp-input-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.archive-users__search .facetwp-search {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color, #C2C2C2);
  border-radius: 0;
  outline: none;
  padding: 0 var(--space-l) var(--space-s) 0;
  font-family: var(--font-main);
  font-size: var(--text-m);
  line-height: 24px;
  color: var(--text-dark);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.archive-users__search .facetwp-search::-webkit-search-cancel-button, .archive-users__search .facetwp-search::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.archive-users__search .facetwp-search::placeholder {
  color: var(--text-dark);
  opacity: 1;
}
.archive-users__search .facetwp-search:focus {
  border-bottom-color: var(--text-dark);
}
.archive-users__search .facetwp-btn {
  display: none;
}
.archive-users__search .facet-search-clear {
  display: none;
  position: absolute;
  right: 0;
  bottom: var(--space-s);
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-dark-muted);
  transition: color 0.2s ease;
  line-height: 0;
}
.archive-users__search .facet-search-clear:hover {
  color: var(--accent);
}
.archive-users__search .facet-search-clear.has-value {
  display: flex;
}
.archive-users__departments {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
  width: 100%;
}
@media (max-width: calc(768px - 1px)) {
  .archive-users__departments {
    flex-direction: column;
    align-items: flex-start;
  }
}
.archive-users__departments .facetwp-facet {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  gap: var(--desktop\/d-content-gap, 16px) var(--space-m);
  align-items: center;
}
.archive-users__departments .facetwp-radio {
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark-muted, #767676);
  cursor: pointer;
  white-space: nowrap;
  background-image: none;
  padding-left: 0;
  transition: color 0.2s ease;
  /* Hide default FacetWP radio indicator */
}
.archive-users__departments .facetwp-radio::before {
  display: none !important;
}
.archive-users__departments .facetwp-radio .facetwp-counter {
  display: none;
}
.archive-users__departments .facetwp-radio:hover {
  color: var(--text-dark);
}
.archive-users__departments .facetwp-radio.checked {
  color: var(--text-dark);
  /* or var(--accent) if needed */
}
.archive-users__active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs, 7px);
  align-items: center;
}
.archive-users__active-filters:empty {
  display: none;
}
.archive-users__filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 3.5px var(--space-xs) 3.5px var(--space-s);
  background-color: var(--primary-light);
  border: none;
  border-radius: var(--radius-circle, 999px);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.archive-users__filter-pill:hover {
  background-color: var(--border-color-light);
}
.archive-users__filter-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.archive-users__filter-pill-icon svg {
  width: 100%;
  height: 100%;
}
.archive-users__clear-all {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 3.5px var(--space-xs) 3.5px var(--space-s);
  background: transparent;
  border: none;
  border-radius: var(--radius-circle, 999px);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.archive-users__clear-all:hover {
  background-color: var(--primary-light);
}

/* Template: Single Post */
/* ─── Blog Hero — full-width background image (mirrors page-hero) ──────── */
.blog-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: 112px; /* compensate for header overlay */
  padding-bottom: 0;
  background-color: var(--color-dark, #1a1a1a);
  background-size: cover;
  background-position: center;
}
@media (max-width: calc(768px - 1px)) {
  .blog-hero {
    min-height: 420px;
  }
}

/* Gradient overlay */
.blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.blog-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 144px 64px;
  width: 100%;
}
@media (max-width: calc(768px - 1px)) {
  .blog-hero__inner {
    padding-block: 57px;
  }
}

.blog-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-s, 16px);
}
@media (max-width: calc(768px - 1px)) {
  .blog-hero__content {
    max-width: 100%;
  }
}

/* H1 */
.blog-hero__title {
  max-width: 788px;
  color: #fff;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--fs-d-h1);
  line-height: var(--lh-d-h1);
  font-weight: var(--font-weight-bold);
}
@media (max-width: calc(768px - 1px)) {
  .blog-hero__title {
    font-size: 36px;
    line-height: 1.15;
  }
}

/* Intro / excerpt */
.blog-hero__intro {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  margin: 0;
}

/* ─── Content Body ────────────────────────────────────────────────────── */
.blog-text {
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: calc(768px - 1px)) {
  .blog-text {
    padding-top: 57px;
  }
}

.blog-text__inner {
  max-width: calc(728px + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-x);
}

.blog-text__content {
  max-width: 728px;
}
.blog-text__content h2, .blog-text__content h3, .blog-text__content h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin-top: 48px;
  margin-bottom: 24px;
}
.blog-text__content p {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin-bottom: 32px;
}
.blog-text__content a {
  color: var(--color-primary);
  font-weight: 600;
}
.blog-text__content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Inline related posts plugin */
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) {
  margin-block: 32px !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) > a:has(.ctaText):has(.postTitle) {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(47, 132, 255, 0.12) !important;
  border-radius: 12px !important;
  background: #f1f6ff !important;
  color: var(--color-heading) !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) > a:has(.ctaText):has(.postTitle):hover {
  background: #eaf2ff !important;
  border-color: rgba(47, 132, 255, 0.2) !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .centered-text-area,
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .centered-text {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  float: none !important;
  position: static !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .centered-text {
  padding-left: 0 !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) [class$=-content] {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .ctaText,
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .postTitle {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--color-heading) !important;
  text-decoration: none !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .ctaText {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-style: normal !important;
  line-height: 1 !important;
  font-weight: var(--font-weight-regular) !important;
  letter-spacing: 0.24px !important;
  text-transform: uppercase !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .postTitle {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-d-h3) !important;
  line-height: var(--lh-d-h3) !important;
  font-weight: var(--font-weight-bold) !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .ctaButton {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: max-content !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--color-heading) !important;
  font-family: Roboto, var(--font-body) !important;
  font-size: 14px !important;
  font-style: normal !important;
  line-height: 21px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .ctaButton::before {
  content: "Read more";
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .ctaButton::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M8.16671 10.5L7.35004 9.65417L9.42087 7.58333H2.33337V6.41667H9.42087L7.35004 4.34583L8.16671 3.5L11.6667 7L8.16671 10.5Z' fill='white'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) > a:has(.ctaText):has(.postTitle):hover .ctaButton::after {
  background-color: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M8.16671 10.5L7.35004 9.65417L9.42087 7.58333H2.33337V6.41667H9.42087L7.35004 4.34583L8.16671 3.5L11.6667 7L8.16671 10.5Z' fill='%230088FF'/%3E%3C/svg%3E");
  color: var(--color-primary);
  border-color: var(--color-white);
}
@media (max-width: calc(768px - 1px)) {
  .blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) > a:has(.ctaText):has(.postTitle) {
    align-items: flex-start !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  .blog-text__content.entry-content > div:has(> a .ctaText):has(> a .postTitle) .postTitle {
    font-size: var(--fs-m-h3) !important;
    line-height: var(--lh-m-h3) !important;
  }
}

/* [full_image] shortcode - breakout image */
.blog-full-image {
  margin-top: 48px;
  margin-bottom: 48px;
  padding: 0;
}
.blog-full-image .blog-full-image__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
@media (max-width: calc(768px - 1px)) {
  .blog-full-image {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .blog-full-image .blog-full-image__img {
    border-radius: 6px;
  }
}

/* ─── [image_slider] shortcode — carousel with visible overflow ───────── */
.blog-slider {
  position: relative;
  margin-top: 48px;
  margin-bottom: 48px;
  width: 100vw;
  max-width: 1440px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: calc(768px - 1px)) {
  .blog-slider {
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

.blog-slider__viewport {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.blog-slider__slide {
  width: 55%;
  padding: 0 8px;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}
.blog-slider__slide.is-selected {
  opacity: 1;
}
@media (max-width: calc(768px - 1px)) {
  .blog-slider__slide {
    width: 75%;
    padding: 0 6px;
  }
}

.blog-slider__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Arrows — positioned at the outer edges */
.blog-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background-color: transparent;
  color: #081F30;
}
.blog-slider__arrow svg path {
  fill: #081F30;
}
.blog-slider__arrow.blog-slider__arrow--prev {
  left: var(--content-padding-x, 30px);
}
.blog-slider__arrow.blog-slider__arrow--next {
  right: var(--content-padding-x, 30px);
}
@media (max-width: calc(768px - 1px)) {
  .blog-slider__arrow.blog-slider__arrow--prev {
    left: var(--content-padding-x-mob, 16px);
  }
  .blog-slider__arrow.blog-slider__arrow--next {
    right: var(--content-padding-x-mob, 16px);
  }
}

/* ─── [image_grid] shortcode — 2×2 image grid ────────────────────────── */
.blog-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.blog-image-grid > p, .blog-image-grid > br {
  display: none;
}
@media (max-width: calc(768px - 1px)) {
  .blog-image-grid {
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

.blog-image-grid__item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}

.blog-image-grid__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  aspect-ratio: 1.14;
}
@media (max-width: calc(768px - 1px)) {
  .blog-image-grid__img {
    aspect-ratio: 1;
  }
}

/* ─── [video_pair] shortcode — video thumbnails with lightbox ─────────── */
.blog-video-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.blog-video-pair > p, .blog-video-pair > br {
  display: none;
}
@media (max-width: calc(768px - 1px)) {
  .blog-video-pair {
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
}

.blog-video-pair__item {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}
.blog-video-pair__item:hover .blog-video-pair__img {
  transform: scale(1.03);
}
.blog-video-pair__item:hover .blog-video-pair__play {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.blog-video-pair__thumb {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.blog-video-pair__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.4s ease;
}

.blog-video-pair__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  pointer-events: none;
}
.blog-video-pair__play svg {
  display: block;
  width: 22px;
  height: 22px;
}
@media (max-width: calc(768px - 1px)) {
  .blog-video-pair__play {
    width: 40px;
    height: 40px;
  }
  .blog-video-pair__play svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Blog Video Lightbox ── */
.blog-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-video-lightbox[hidden] {
  display: none;
}

.blog-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.blog-video-lightbox__content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  z-index: 1;
}

.blog-video-lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  appearance: none;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s ease;
}
.blog-video-lightbox__close:hover {
  opacity: 0.7;
}

.blog-video-lightbox__iframe-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.blog-video-lightbox__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ─── Recent Articles section ─────────────────────────────────────────── */
.recent-articles {
  background-color: var(--color-bg);
  padding-top: 64px;
}
@media (max-width: calc(768px - 1px)) {
  .recent-articles {
    padding-top: 57px;
  }
}
.recent-articles .recent-projects__card {
  background-color: #fff;
}

/* ── Single project type: content section spacing ── */
.single-project_type .blog-text {
  padding-top: 0;
  padding-bottom: 64px;
}
@media (max-width: calc(768px - 1px)) {
  .single-project_type .blog-text {
    padding-bottom: 57px;
  }
}

/* Inline related posts plugin - direct anchor fallback */
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle),
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(47, 132, 255, 0.12) !important;
  border-radius: 12px !important;
  background: #f1f6ff !important;
  color: var(--color-heading) !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle):hover,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle):hover {
  background: #eaf2ff !important;
  border-color: rgba(47, 132, 255, 0.2) !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .centered-text-area,
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .centered-text,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .centered-text-area,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .centered-text {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  float: none !important;
  position: static !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .centered-text,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .centered-text {
  padding-left: 0 !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) [class$=-content],
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) [class$=-content] {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaText,
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .postTitle,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaText,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .postTitle {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--color-heading) !important;
  text-decoration: none !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaText,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaText {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-style: normal !important;
  line-height: 1 !important;
  font-weight: var(--font-weight-regular) !important;
  letter-spacing: 0.24px !important;
  text-transform: uppercase !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .postTitle,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .postTitle {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-d-h3) !important;
  line-height: var(--lh-d-h3) !important;
  font-weight: var(--font-weight-bold) !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaButton,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaButton {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: max-content !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--color-heading) !important;
  font-family: Roboto, var(--font-body) !important;
  font-size: 14px !important;
  font-style: normal !important;
  line-height: 21px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaButton::before,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaButton::before {
  content: "Read more";
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaButton::after,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .ctaButton::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M8.16671 10.5L7.35004 9.65417L9.42087 7.58333H2.33337V6.41667H9.42087L7.35004 4.34583L8.16671 3.5L11.6667 7L8.16671 10.5Z' fill='white'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.blog-text__content.entry-content a:has(.ctaText):has(.postTitle):hover .ctaButton::after,
.shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle):hover .ctaButton::after {
  background-color: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M8.16671 10.5L7.35004 9.65417L9.42087 7.58333H2.33337V6.41667H9.42087L7.35004 4.34583L8.16671 3.5L11.6667 7L8.16671 10.5Z' fill='%230088FF'/%3E%3C/svg%3E");
  color: var(--color-primary);
  border-color: var(--color-white);
}
@media (max-width: calc(768px - 1px)) {
  .blog-text__content.entry-content a:has(.ctaText):has(.postTitle),
  .shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) {
    align-items: flex-start !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  .blog-text__content.entry-content a:has(.ctaText):has(.postTitle) .postTitle,
  .shortcode-text__content.entry-content a:has(.ctaText):has(.postTitle) .postTitle {
    font-size: var(--fs-m-h3) !important;
    line-height: var(--lh-m-h3) !important;
  }
}

/* Template: Voice Archive */
/* ─────────────────────────────────────────
   Hero — two-column layout
   (mirrors .client-archive structure)
   ───────────────────────────────────────── */
.voice-archive {
  padding-bottom: var(--container-gap);
}
.voice-archive__top {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--container-gap);
}

/* Left column — "Voices" heading */
.voice-archive__title-wrap {
  grid-column: 1/2;
  display: flex;
  align-items: flex-start;
  padding-top: var(--space-m);
}

/* Right column — search + filters */
.voice-archive__filters {
  grid-column: 2/5;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  padding-top: var(--space-m);
}
@media (max-width: calc(992px - 1px)) {
  .voice-archive__filters {
    grid-column: 1/-1;
  }
}

/* ─────────────────────────────────────────
   Filter tabs row
   ───────────────────────────────────────── */
.voice-archive__filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--desktop\/d-content-gap, 16px);
  align-items: center;
}

.voice-archive__filter-tab {
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.voice-archive__filter-tab:hover {
  color: var(--text-dark);
}
.voice-archive__filter-tab.is-active {
  color: var(--accent);
}
.voice-archive__filter-tab--right {
  margin-left: auto;
}

/* ─────────────────────────────────────────
   Filter items (one row per tab, toggled)
   ───────────────────────────────────────── */
.voice-archive__filter-items {
  display: none;
  flex-wrap: wrap;
  gap: var(--space-xs, 7px) var(--desktop\/d-content-gap, 16px);
  align-items: flex-start;
  /* Show all items — remove FacetWP soft-limit */
}
.voice-archive__filter-items.is-visible {
  display: flex;
}
.voice-archive__filter-items .facetwp-facet {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  gap: var(--space-xs, 7px) var(--desktop\/d-content-gap, 16px);
  align-items: center;
}
.voice-archive__filter-items .facetwp-overflow {
  display: contents !important;
}
.voice-archive__filter-items .facetwp-toggle {
  display: none !important;
}
.voice-archive__filter-items .facetwp-radio,
.voice-archive__filter-items .facetwp-checkbox {
  font-family: var(--font-main);
  font-size: var(--text-m);
  line-height: 24px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  background-image: none;
  padding-left: 0;
  transition: color 0.2s ease;
  /* Ghosted letters (no results for that letter) */
}
.voice-archive__filter-items .facetwp-radio::before,
.voice-archive__filter-items .facetwp-checkbox::before {
  display: none !important;
}
.voice-archive__filter-items .facetwp-radio .facetwp-counter,
.voice-archive__filter-items .facetwp-checkbox .facetwp-counter {
  display: none;
}
.voice-archive__filter-items .facetwp-radio:hover,
.voice-archive__filter-items .facetwp-checkbox:hover {
  color: var(--accent);
}
.voice-archive__filter-items .facetwp-radio.checked,
.voice-archive__filter-items .facetwp-checkbox.checked {
  color: var(--accent);
}
.voice-archive__filter-items .facetwp-radio.disabled,
.voice-archive__filter-items .facetwp-checkbox.disabled {
  opacity: 0.3;
  cursor: default;
}
.voice-archive__filter-items .facetwp-radio.disabled:hover,
.voice-archive__filter-items .facetwp-checkbox.disabled:hover {
  color: var(--text-dark);
}

/* ─────────────────────────────────────────
   Active filter pills
   ───────────────────────────────────────── */
.voice-archive__active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs, 7px);
  align-items: center;
}
.voice-archive__active-filters:empty {
  display: none;
}

.voice-archive__filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 3.5px var(--space-xs) 3.5px var(--space-s);
  background-color: var(--primary-light);
  border: none;
  border-radius: var(--radius-circle);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.voice-archive__filter-pill:hover {
  background-color: var(--border-color-light);
}

.voice-archive__filter-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.65em;
  height: auto;
  flex-shrink: 0;
}
.voice-archive__filter-pill-icon svg {
  width: 100%;
  height: 100%;
}

.voice-archive__clear-all {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 3.5px var(--space-xs) 3.5px var(--space-s);
  background: transparent;
  border: none;
  border-radius: var(--radius-circle);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.voice-archive__clear-all:hover {
  background-color: var(--primary-light);
}

/* ─────────────────────────────────────────
   Voices grid section
   ───────────────────────────────────────── */
.voices-grid {
  padding-top: var(--container-gap);
}

.voice-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xs);
  row-gap: var(--space-xl);
}
@media (max-width: calc(992px - 1px)) {
  .voice-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: calc(768px - 1px)) {
  .voice-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─────────────────────────────────────────
   FacetWP pagination / auto-load-more
   ───────────────────────────────────────── */
.voice-archive__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* Hide the "Load more" button — JS auto-clicks it on scroll */
}
.voice-archive__pagination .facetwp-load-more {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  height: 1px;
  overflow: hidden;
}

/* ─────────────────────────────────────────
   Responsive
   ───────────────────────────────────────── */
@media (max-width: calc(768px - 1px)) {
  .voice-archive__title-wrap {
    grid-column: 1/-1;
  }
  .voice-archive__filter-row {
    gap: var(--space-xs, 7px) var(--space-m);
  }
  .voice-archive__filter-tab--right {
    margin-left: 0;
  }
}
/* Template: Blog Archive
 *
 * Cards mirror recent-projects card styling.
 * Filter buttons mirror project-types filter-btn.
 * Pagination styled like slider nav arrows.
 */
.blog-archive__inner {
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-x);
}

/* ─── Filter buttons (mirrors project-types__filter-btn) ────────────────── */
.blog-archive__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 72px;
}

.blog-archive__filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-width: 100px;
  border-radius: var(--btn-radius);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  line-height: var(--btn-line-height);
  font-weight: var(--btn-font-weight);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background-color: transparent;
  background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%);
  background-size: 220% 100%;
  background-position: right center;
  background-origin: border-box;
  color: var(--color-secondary);
  border: 1px solid var(--color-primary);
  transition: background-position 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}
@media (max-width: calc(768px - 1px)) {
  .blog-archive__filter-btn {
    padding: 5px 14px;
  }
}
.blog-archive__filter-btn:hover {
  background-position: left center;
  color: var(--color-white);
  border-color: var(--color-primary);
}
.blog-archive__filter-btn--active {
  background-position: left center;
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ─── Post grid ─────────────────────────────────────────────────────────── */
.blog-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: calc(992px - 1px)) {
  .blog-archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: calc(768px - 1px)) {
  .blog-archive__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Card (mirrors recent-projects__card) ──────────────────────────────── */
.blog-archive__card {
  background: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .blog-archive__card {
    padding: 16px;
  }
}

.blog-archive__card-image-link {
  display: block;
}

.blog-archive__card-image {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 6px;
}

.blog-archive__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.blog-archive__card:hover .blog-archive__img {
  transform: scale(1.04);
}

.blog-archive__card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-archive__category {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-body);
  margin: 0;
}

.blog-archive__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .blog-archive__title {
    font-size: 22px;
    line-height: 30px;
  }
}

.blog-archive__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-archive__title-link:hover {
  color: var(--color-primary);
}

.blog-archive__excerpt {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin: 0;
}

.blog-archive__no-results {
  grid-column: 1/-1;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-d-text);
  color: var(--color-muted);
  padding: 108px 0;
}

/* ─── Pagination (styled like slider nav arrows) ────────────────────────── */
.blog-archive__pagination {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  /* Individual page link / span */
  /* Hover state (same as slider arrows) */
  /* Active / current page — permanent hover state */
  /* Dots / ellipsis */
  /* Prev / Next arrows */
}
.blog-archive__pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: calc(480px - 1px)) {
  .blog-archive__pagination .page-numbers {
    gap: 4px;
  }
}
.blog-archive__pagination .page-numbers li {
  display: inline-flex;
  /* On mobile, hide page numbers that aren't current, prev, or next */
}
@media (max-width: calc(480px - 1px)) {
  .blog-archive__pagination .page-numbers li {
    /* But keep the current page visible */
  }
  .blog-archive__pagination .page-numbers li:not(:first-child):not(:last-child) {
    display: none;
  }
  .blog-archive__pagination .page-numbers li:has(> .current) {
    display: inline-flex;
  }
}
.blog-archive__pagination .page-numbers li a,
.blog-archive__pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: transparent;
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
@media (max-width: calc(480px - 1px)) {
  .blog-archive__pagination .page-numbers li a,
  .blog-archive__pagination .page-numbers li span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}
.blog-archive__pagination .page-numbers li a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.blog-archive__pagination .page-numbers li span.current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  cursor: default;
}
.blog-archive__pagination .page-numbers li .dots {
  border: none;
  background: none;
  cursor: default;
  min-width: auto;
  padding: 0 4px;
  color: var(--color-muted);
}
.blog-archive__pagination .page-numbers li a.prev svg,
.blog-archive__pagination .page-numbers li a.next svg {
  width: 14px;
  height: 14px;
}

/* Pages */
/**
 * Page: Shortlist
 *
 * Styles for the /shortlist/ page template.
 */
/* Intro Section */
.shortlist-intro {
  padding-bottom: var(--container-gap);
}

.shortlist-intro__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  padding-bottom: var(--d-content-gap);
}
@media (min-width: 768px) {
  .shortlist-intro__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.shortlist-intro__left {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.shortlist-intro__title-row {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  transition: all 0.2s ease;
  border-bottom: 2px solid var(--border-color-light);
}
.shortlist-intro__title-row.is-editing {
  border-bottom: 2px solid var(--accent);
}

.shortlist-intro__name-input {
  display: none;
  font-size: var(--h1);
  line-height: 1.15;
  font-family: var(--heading-font-family);
  font-weight: 500;
  color: var(--text-color);
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 500px;
  transition: all 0.2s ease;
}
.shortlist-intro__name-input.is-editing {
  display: block;
}

/* Hide h1 when editing */
.shortlist-intro__title-row.is-editing .shortlist-page-title {
  display: none;
}

.shortlist-intro__title-row.is-editing .shortlist-intro__name-input {
  display: block;
}

.shortlist-intro__edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius-circle);
  background: none;
  color: var(--primary-dark);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.shortlist-intro__edit-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.shortlist-intro__edit-btn svg {
  width: 18px;
  height: 18px;
}

.shortlist-intro__actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}
.shortlist-intro__actions .btn {
  white-space: nowrap;
}
.shortlist-intro__actions .btn svg {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: middle;
}

.shortlist-intro__description-wrap {
  max-width: 640px;
}

.shortlist-intro__description {
  font-size: var(--text-s);
  line-height: 18px;
  color: var(--text-dark-muted);
}

/* Grid Section */
.shortlist-grid {
  padding-top: var(--container-gap);
  gap: 0;
  min-height: 45vh;
}

.shortlist-grid__empty {
  text-align: center;
  padding: var(--section-l) var(--space-m);
}
.shortlist-grid__empty p {
  font-size: var(--text-m);
  color: var(--text-dark-muted);
}
.shortlist-grid__empty a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.shortlist-grid__empty a:hover {
  text-decoration: underline;
}

.search-hero {
  padding-bottom: var(--container-gap);
}
.search-hero h1 {
  font-size: var(--text-m);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}
.search-hero__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}
.search-hero__input {
  font-family: var(--font-heading);
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-color-light);
  padding: 0 0 var(--space-xxs) 0;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.search-hero__input:focus {
  border-bottom-color: var(--accent);
}
.search-hero__input::-webkit-search-cancel-button, .search-hero__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search-hero__clear {
  display: none;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-dark-muted);
  transition: color 0.2s ease;
}
.search-hero__clear:hover {
  color: var(--accent);
}
.has-value > .search-hero__clear {
  display: flex;
}
.search-hero__count {
  font-size: var(--text-s);
  color: var(--text-dark-muted);
}

.search-listing {
  padding-top: var(--container-gap);
}
.search-listing .container {
  gap: var(--container-gap);
}
.search-listing__inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--container-gap);
}
.search-listing__heading {
  position: sticky;
  top: var(--space-l);
  align-self: start;
}
@media (max-width: calc(768px - 1px)) {
  .search-listing__heading {
    position: static;
    grid-column: 1/-1;
  }
}
.search-listing__grid-clients, .search-listing__grid-voices, .search-listing__grid-agents, .search-listing__grid-news {
  grid-column: 2/5;
}
@media (max-width: calc(768px - 1px)) {
  .search-listing__grid-clients, .search-listing__grid-voices, .search-listing__grid-agents, .search-listing__grid-news {
    grid-column: 1/-1;
  }
}
.search-listing__grid-clients, .search-listing__grid-voices {
  gap: var(--space-xs);
  row-gap: var(--space-xl);
}
.search-listing__grid-agents {
  border-top: 1px solid var(--border-color-light);
}
.search-listing__group:not(:first-child) {
  margin-top: var(--space-l);
}

.single-client > section + section {
  margin-top: 0;
}

/* Page: 404 */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding-block: 144px;
  background-color: var(--color-bg);
}
@media (max-width: calc(768px - 1px)) {
  .error-404 {
    padding-block: 57px;
  }
}

.error-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px !important;
}

.error-404__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h1);
  line-height: var(--lh-d-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .error-404__title {
    font-size: 32px;
    line-height: 1.2;
  }
}

/* Organism: News Section */
.news-section {
  overflow: hidden;
}

/* Section Background */
/* Intro Section */
.news-section__intro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* Featured Slider Wrapper */
.news-section__featured-slider {
  margin-bottom: var(--desktop/d-container-gap, 45px);
}

/* UV: Single Featured Card (no slider) */
.news-section__featured-single {
  margin-bottom: var(--desktop/d-container-gap, 45px);
  /* Card needs explicit width since it's not inside a carousel cell */
}
.news-section__featured-single .news-card-featured {
  width: 100%;
}

/* Flickity viewport full width */
.news-section__featured-slider .flickity-viewport {
  width: 100%;
  overflow: visible;
}
@media (max-width: calc(992px - 1px)) {
  .news-section__featured-slider .flickity-viewport {
    overflow: hidden;
  }
}

/* Flickity slider — no extra gap, handled by cell margin in JS */
.news-section__featured-slider .flickity-slider {
  width: 100%;
}

/* Mobile: Featured slider cells stacked */
@media (max-width: calc(992px - 1px)) {
  /* Carousel cells: flex column */
  .news-section__featured-slider {
    display: flex !important;
    flex-direction: column;
    gap: var(--content-gap);
  }
  /* Constrain cells on mobile */
  .news-section__featured-slider .carousel-cell {
    overflow: hidden;
    width: 100%;
  }
}
/* Navigation Container */
.news-section__navigation {
  display: flex;
  flex-direction: row;
  gap: var(--content-gap);
  align-items: center;
  margin-bottom: var(--desktop/d-container-gap, 45px);
}

/* Grid Slider Wrapper */
.news-section__grid-slider {
  width: 100%;
}

/* Grid Navigation (hidden by default on desktop) */
.news-section__grid-navigation {
  display: none;
  flex-direction: row;
  gap: var(--content-gap);
  align-items: center;
  width: 100%;
}

/* Mobile Responsive */
@media (max-width: calc(992px - 1px)) {
  /* Hide navigation on mobile (featured slider is full-width) */
  .news-section__navigation {
    display: none;
  }
  /* Show grid navigation on mobile */
  .news-section__grid-navigation {
    display: flex;
  }
}
/* Flickity page dots — hidden (we use custom progress bar) */
.news-section__grid-slider .flickity-page-dots {
  display: none;
}

/* Organism: Simple Media Section */
.media-section {
  padding-block: var(--space-section-l);
}

.media-section__wrapper {
  width: 100%;
}

.media-section__image-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.media-section__image,
.media-section__video {
  width: 100%;
  height: 130%;
  /* Increased for parallax movement (yPercent: -20) */
  object-fit: cover;
  display: block;
  transform-origin: center center;
}

.media-section__wrapper > .image-atom__caption {
  margin-block-start: var(--space-xs);
}

/* Organism: Recent Projects */
.recent-projects {
  overflow: hidden;
}

/* ── Header: heading + controls ── */
.recent-projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .recent-projects__header {
    margin-bottom: 32px;
  }
}

.recent-projects__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .recent-projects__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.recent-projects__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Desktop "View All" — hidden on mobile */
@media (max-width: calc(768px - 1px)) {
  .recent-projects__view-all--desktop {
    display: none;
  }
}

/* ── Carousel (full-width, bleeds right) ── */
.recent-projects__carousel {
  box-sizing: border-box;
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  padding-inline: var(--content-padding-x);
  margin-inline: auto;
}

/* Allow Flickity cells to overflow right */
.recent-projects__carousel .flickity-viewport {
  overflow: visible;
}

.recent-projects__carousel .flickity-slider {
  width: 100%;
}

/* Flickity page dots — hidden */
.recent-projects__carousel .flickity-page-dots {
  display: none;
}

/* ── Cell sizing ── */
.recent-projects__cell {
  width: 44%;
  margin-right: 24px;
}
@media (max-width: calc(992px - 1px)) {
  .recent-projects__cell {
    width: 76%;
  }
}
@media (max-width: calc(768px - 1px)) {
  .recent-projects__cell {
    width: 86%;
  }
}

/* ── Card ── */
.recent-projects__card {
  background: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .recent-projects__card {
    padding: 16px;
  }
}

.recent-projects__card-image-link {
  display: block;
}

.recent-projects__card-image {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 6px;
}

.recent-projects__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-projects__card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recent-projects__category {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-body);
  margin: 0;
}

.recent-projects__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .recent-projects__title {
    font-size: 22px;
    line-height: 30px;
  }
}

.recent-projects__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.recent-projects__title-link:hover {
  color: var(--color-primary);
}

.recent-projects__excerpt {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin: 0;
}

/* ── Footer: mobile "View All" ── */
.recent-projects__footer {
  margin-top: 32px;
  text-align: center;
  /* Hidden on desktop — desktop version is in the header controls */
}
@media (min-width: 992px) {
  .recent-projects__footer {
    display: none;
  }
}

/* ── Single project / project type context: bg + white cards ── */
.single-project .recent-projects,
.single-project_type .recent-projects {
  background-color: var(--color-bg);
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: calc(768px - 1px)) {
  .single-project .recent-projects,
  .single-project_type .recent-projects {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.single-project .recent-projects__card,
.single-project_type .recent-projects__card {
  background-color: #fff;
}

/* ── Background modifier ── */
.recent-projects.has-bg {
  background-color: #F2F7FD;
  padding-top: 108px;
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .recent-projects.has-bg {
    padding-top: 57px;
    padding-bottom: 57px;
  }
}

/* Organism: Project Map */
/* ── Inner: two-column grid ── */
.project-map__inner, .text-with-map__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: calc(992px - 1px)) {
  .project-map__inner, .text-with-map__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Left: content column ── */
.project-map__content, .text-with-map__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.project-map__title, .text-with-map__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .project-map__title, .text-with-map__title {
    font-size: 28px;
    line-height: 36px;
  }
}

.project-map__text, .text-with-map__text {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin: 0;
}
.project-map__text p, .text-with-map__text p {
  margin: 0 0 16px;
}
.project-map__text p:last-child, .text-with-map__text p:last-child {
  margin-bottom: 0;
}

/* Desktop button — inside content column, hidden on mobile */
@media (max-width: calc(992px - 1px)) {
  .project-map__btn--desktop, .text-with-map__btn--desktop {
    display: none;
  }
}

/* ── Right: map placeholder ── */
.project-map__map, .text-with-map__map {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #CCCCCC;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: calc(992px - 1px)) {
  .project-map__map, .text-with-map__map {
    aspect-ratio: 4/3;
  }
}
@media (max-width: calc(768px - 1px)) {
  .project-map__map, .text-with-map__map {
    aspect-ratio: 1/1;
  }
}

/* ── Footer: mobile button ── */
.project-map__footer, .text-with-map__footer {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  /* Hidden on desktop — desktop version is in the content column */
}
@media (min-width: 992px) {
  .project-map__footer, .text-with-map__footer {
    display: none;
  }
}

/* Organism: Text with Map
 *
 * Two-column layout: content left (title, text, contact info, CTA), Google Map right.
 * Shares visual rhythm with .project-map via @extend, with additional
 * contact-info block and Google Maps canvas styling.
 */
.text-with-map__map {
  /* Map embeds (iframes) must fill the container completely */
}
.text-with-map__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── Google Maps canvas ────────────────────────────────────────────────── */
.text-with-map__map-canvas {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: calc(992px - 1px)) {
  .text-with-map__map-canvas {
    min-height: 280px;
  }
}

/* ─── Contact info items ────────────────────────────────────────────────── */
.text-with-map__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

a.text-with-map__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-d-text-s);
  line-height: var(--lh-d-text-s);
  color: var(--color-body);
  text-decoration: none;
}
a.text-with-map__contact-item:hover {
  color: var(--color-primary);
}

div.text-with-map__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-d-text-s);
  line-height: var(--lh-d-text-s);
  color: var(--color-body);
  cursor: default;
}

.text-with-map__contact-icon {
  display: flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.text-with-map__contact-icon svg {
  width: 16px;
  height: 16px;
}

/* Organism: CTA Banner */
.cta-banner__card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-secondary);
  border-radius: 16px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 48px 56px;
  width: 50%;
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner__content {
    flex: 1;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
  }
}

.cta-banner__title {
  color: var(--color-white);
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner__title {
    max-width: 195px;
  }
}
.cta-banner__title p, .cta-banner__title h1, .cta-banner__title h2, .cta-banner__title h3, .cta-banner__title h4, .cta-banner__title h5, .cta-banner__title h6 {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}
.cta-banner__title p {
  font-size: 28px;
  line-height: 1.35;
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner__title p {
    font-size: 22px;
  }
}
.cta-banner__title strong {
  font-weight: var(--font-weight-bold);
}

.cta-banner__btn {
  flex-shrink: 0;
}

.cta-banner__media {
  position: relative;
  width: 50%;
  overflow: hidden;
  z-index: 1;
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner__media {
    display: none;
  }
}

.cta-banner__media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: end;
}
.cta-banner__media-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 112px;
  height: 100%;
  background: var(--color-primary);
  clip-path: polygon(0 111px, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}
.cta-banner__media-inner::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 203px;
  width: 112px;
  height: 100%;
  background: var(--color-primary-dark);
  transform: rotate(45.3deg);
  transform-origin: top left;
  z-index: 2;
  pointer-events: none;
}

.cta-banner__img {
  display: block;
  width: calc(100% - 112px);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-banner__corner {
  display: none;
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner__corner {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0px;
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    transform: skewX(-45deg);
    transform-origin: bottom right;
    z-index: 1;
    pointer-events: none;
  }
  .cta-banner__corner:not(.cta-banner__corner_dark) {
    z-index: 2;
    width: 70px;
    height: 40px;
    right: 70px;
    bottom: -70px;
    transform: skewy(-45deg) rotate(90deg);
  }
  .cta-banner__corner.cta-banner__corner_dark {
    background-color: #0269C1;
  }
}

.cta-banner--compact .cta-banner__card {
  max-width: 900px;
  margin: 0 auto;
}
.cta-banner--compact .cta-banner__content {
  flex: 0 0 auto;
  width: 45%;
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner--compact .cta-banner__content {
    width: 100%;
  }
}

.cta-banner--full .container {
  max-width: 1440px;
}
.cta-banner--full .cta-banner__content {
  flex: 0 0 auto;
  width: 45%;
  padding: 144px 0 144px 108px;
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner--full .cta-banner__content {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .cta-banner--full .cta-banner__content .cta-banner__title {
    max-width: 475px;
  }
}
@media (max-width: calc(992px - 1px)) {
  .cta-banner--full .cta-banner__content {
    padding: 48px 0 48px 32px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .cta-banner--full .cta-banner__content {
    padding: 16px;
  }
}
@media (min-width: 992px) {
  .cta-banner--full .cta-banner__media-inner::before {
    top: -105px;
    left: 363px;
  }
  .cta-banner--full .cta-banner__media-inner::after {
    top: 141px;
    left: 2px;
    width: 112px;
    height: 100%;
  }
  .cta-banner--full .cta-banner__media:before {
    content: "";
    background-color: var(--color-secondary);
    width: 400px;
    height: 647px;
    top: -396px;
    display: block;
    z-index: 1;
    position: absolute;
    transform: rotate(45deg) scale(1);
  }
}

.blog-cta-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 20px;
  width: fit-content;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.blog-cta-banner__badge:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.blog-cta-banner__badge-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

.blog-cta-banner__badge-star {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.blog-cta-banner__badge-star img {
  width: 18px;
  height: 18px;
  display: block;
}

.blog-cta-banner__badge-reviews {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

.cta-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 20px;
  width: fit-content;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.cta-banner__badge:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-banner__badge-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

.cta-banner__badge-star {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cta-banner__badge-star img {
  width: 18px;
  height: 18px;
  display: block;
}

.cta-banner__badge-reviews {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

/* Organism: Form Two Col */
.form-two-col {
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .form-two-col {
    padding-top: 57px;
  }
}

.cta-banner + .form-two-col {
  padding-top: 0;
}

.page-hero + .form-two-col,
.page-hero + script + .form-two-col {
  padding-top: 0;
}

/* ── Inner: two-column grid ── */
.form-two-col__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: calc(992px - 1px)) {
  .form-two-col__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Left: content column ── */
.form-two-col__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: sticky;
  top: 160px; /* offset for sticky header */
  align-self: start;
  /* On mobile, move to top (default order) */
}
@media (max-width: calc(992px - 1px)) {
  .form-two-col__content {
    gap: 20px;
    position: static;
  }
}

.form-two-col__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .form-two-col__title {
    font-size: 28px;
    line-height: 36px;
  }
}

.form-two-col__text {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin: 0;
}
.form-two-col__text p {
  margin: 0 0 16px;
}
.form-two-col__text p:last-child {
  margin-bottom: 0;
}
.form-two-col__text p a {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.form-two-col__text p a::before {
  content: none !important;
}
.form-two-col__text p a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background-color: currentColor !important;
  transform: scaleX(0) !important;
  transform-origin: right !important;
  transition: transform 0.4s ease !important;
}
.form-two-col__text p a:hover {
  color: var(--color-primary);
}
.form-two-col__text p a:hover::after {
  transform: scaleX(1) !important;
  transform-origin: left !important;
}

/* Desktop inline button — removed, link is on image only */
.form-two-col__btn--desktop {
  display: none;
}

/* ── Image with gradient overlay ── */
.form-two-col__image-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
  display: block;
  text-decoration: none;
}
@media (max-width: calc(992px - 1px)) {
  .form-two-col__image-wrap {
    order: 1;
    margin-top: 0;
  }
}

.form-two-col__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.4s ease;
}

.form-two-col__image-wrap:hover .form-two-col__image {
  transform: scale(1.05);
}

/* Gradient overlay */
.form-two-col__image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}
@media (max-width: calc(768px - 1px)) {
  .form-two-col__image-overlay {
    padding: 16px;
  }
}

.form-two-col__image-title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h3);
  line-height: var(--lh-d-h3);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin: 0;
  max-width: 200px;
}
@media (max-width: calc(768px - 1px)) {
  .form-two-col__image-title {
    font-size: 22px;
    line-height: 28px;
  }
}

/* Circle arrow button */
.form-two-col__image-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-bottom: 5px;
}

.form-two-col__image-wrap:hover .form-two-col__image-arrow {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

/* ── Right: form column ── */
.form-two-col__form {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 0;
}

/* ── Single project type: no top padding ── */
.single-project_type .form-two-col {
  padding-top: 0;
}

/* Organism: Landing Page Content Builder
 *
 * Constrains flexible content blocks to blog-width (728px).
 * Child blocks reuse the blog shortcode CSS classes (blog-full-image,
 * blog-slider, blog-image-grid, blog-video-pair) so no duplicate styles.
 */
.lp-content-builder {
  max-width: calc(728px + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-x);
  padding-top: 0;
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .lp-content-builder {
    padding-bottom: 57px;
  }
}

/* ── Individual block spacing ── */
.lp-content-block {
  margin-bottom: 48px;
}
.lp-content-block:last-child {
  margin-bottom: 0;
}

/* ── Text block — inherit blog body typography ── */
.lp-content-block--text .lp-content-block__text p {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin-bottom: 32px;
}
.lp-content-block--text .lp-content-block__text p:last-child {
  margin-bottom: 0;
}
.lp-content-block--text .lp-content-block__text h2, .lp-content-block--text .lp-content-block__text h3, .lp-content-block--text .lp-content-block__text h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin-top: 48px;
  margin-bottom: 24px;
}
.lp-content-block--text .lp-content-block__text h2:first-child, .lp-content-block--text .lp-content-block__text h3:first-child, .lp-content-block--text .lp-content-block__text h4:first-child {
  margin-top: 0;
}
.lp-content-block--text .lp-content-block__text a {
  color: var(--color-primary);
  font-weight: 600;
}
.lp-content-block--text .lp-content-block__text ul, .lp-content-block--text .lp-content-block__text ol {
  padding-left: 1.5em;
  margin-bottom: 32px;
}
.lp-content-block--text .lp-content-block__text img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ── Breakout blocks (slider, full image) escape the narrow column ── */
.lp-content-block--slider,
.lp-content-block--full-image {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: var(--max-width);
}

/* Organism: Tiles */
.tiles__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
}

.tiles__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__title {
    font-size: 28px;
    line-height: 36px;
  }
}

.tiles__mobile-link {
  display: none;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__mobile-link {
    display: inline-flex;
    margin-top: 24px;
  }
}

.tiles__header-link {
  flex-shrink: 0;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__header-link {
    display: none;
  }
}

.tiles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
  min-height: 640px;
}
@media (max-width: calc(992px - 1px)) {
  .tiles__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: unset;
  }
  .tiles__grid .tiles__tile--featured {
    min-height: 500px;
  }
  .tiles__grid .tiles__tile:not(.tiles__tile--featured) {
    min-height: 390px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .tiles__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .tiles__grid .tiles__tile--featured {
    min-height: 390px;
  }
  .tiles__grid .tiles__tile:not(.tiles__tile--featured) {
    min-height: 260px;
  }
}

.tiles__tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: var(--color-bg);
}
.tiles__tile--featured {
  grid-column: 1/3;
  grid-row: 1/5;
  min-height: 440px;
}
@media (max-width: calc(992px - 1px)) {
  .tiles__tile--featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 280px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .tiles__tile--featured {
    min-height: 240px;
  }
}
.tiles__tile:nth-child(2) {
  grid-column: 3;
  grid-row: 1/3;
}
@media (max-width: calc(992px - 1px)) {
  .tiles__tile:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
}
.tiles__tile:nth-child(3) {
  grid-column: 4;
  grid-row: 1/2;
}
@media (max-width: calc(992px - 1px)) {
  .tiles__tile:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
}
.tiles__tile:nth-child(4) {
  grid-column: 3;
  grid-row: 3/5;
}
@media (max-width: calc(992px - 1px)) {
  .tiles__tile:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}
.tiles__tile:nth-child(5) {
  grid-column: 4;
  grid-row: 2/5;
}
@media (max-width: calc(992px - 1px)) {
  .tiles__tile:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}
.tiles__tile--image .tiles__tile-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(7, 16, 24, 0) 50%, rgba(7, 16, 24, 0.5) 75%);
  color: var(--color-white);
}
.tiles__tile--image .tiles__tile-title {
  color: var(--color-white);
}
.tiles__tile--image .tiles__tile-text {
  color: rgba(255, 255, 255, 0.82);
}
.tiles__tile--linked {
  cursor: pointer;
}
.tiles__tile--linked:hover .tiles__tile-bg, .tiles__tile--linked:focus-visible .tiles__tile-bg {
  transform: scale(1.06);
}
.tiles__tile--ultra-light .tiles__tile-title, .tiles__tile--light .tiles__tile-title {
  color: var(--color-heading);
}
.tiles__tile--ultra-light .tiles__tile-text, .tiles__tile--light .tiles__tile-text {
  color: var(--color-body);
}
.tiles__tile--semi-light .tiles__tile-title, .tiles__tile--medium .tiles__tile-title, .tiles__tile--dark .tiles__tile-title, .tiles__tile--ultra-dark .tiles__tile-title {
  color: var(--color-white);
}
.tiles__tile--semi-light .tiles__tile-text, .tiles__tile--medium .tiles__tile-text, .tiles__tile--dark .tiles__tile-text, .tiles__tile--ultra-dark .tiles__tile-text {
  color: rgba(255, 255, 255, 0.82);
}

.tiles__tile--ultra-light {
  background-color: var(--color-primary-ultra-light);
}

.tiles__tile--light {
  background-color: var(--color-primary-light);
}

.tiles__tile--semi-light {
  background-color: var(--color-primary-semi-light);
}

.tiles__tile--medium {
  background-color: var(--color-primary);
}

.tiles__tile--dark {
  background-color: var(--color-primary-dark);
}

.tiles__tile--ultra-dark {
  background-color: var(--color-primary-ultra-dark);
}

.tiles__tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.tiles__tile--linked .tiles__tile-bg {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.tiles__tile-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px;
  transition: opacity 0.25s ease;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__tile-content {
    padding: 24px;
  }
}

.tiles__tile--featured .tiles__tile-title {
  font-size: 48px;
  font-family: var(--font-utility);
  font-weight: 600;
  line-height: 1.1;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__tile--featured .tiles__tile-title {
    font-size: 40px;
  }
}
.tiles__tile--featured .tiles__tile-content {
  padding: 48px;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__tile--featured .tiles__tile-content {
    padding: 24px;
  }
}

.tiles__tile-title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  margin: 0 0 16px;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__tile-title {
    font-size: 20px;
    line-height: 26px;
  }
}

.tiles__tile-text {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  margin: 0;
}
.tiles__tile-text p {
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .tiles__tile-text {
    font-size: var(--fs-m-text-s);
    line-height: var(--lh-m-text-s);
  }
}

/* Organism: Project Types */
.project-types {
  overflow: hidden;
  padding-top: 108px;
  background: var(--color-bg);
}
@media (max-width: calc(768px - 1px)) {
  .project-types {
    padding-top: 57px;
  }
}

/* ── Header: heading only ── */
.project-types__header {
  margin-bottom: 24px;
}
@media (max-width: calc(768px - 1px)) {
  .project-types__header {
    margin-bottom: 20px;
  }
}

.project-types__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .project-types__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ── Subheader: filter buttons + nav controls ── */
.project-types__subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
@media (max-width: calc(768px - 1px)) {
  .project-types__subheader {
    margin-bottom: 28px;
  }
}

.project-types__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Filter pill buttons */
.project-types__filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-width: 140px;
  border-radius: var(--btn-radius);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  line-height: var(--btn-line-height);
  font-weight: var(--btn-font-weight);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background-color: transparent;
  background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%);
  background-size: 220% 100%;
  background-position: right center;
  background-origin: border-box;
  color: var(--color-secondary);
  border: 1px solid var(--color-primary);
  transition: background-position 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}
@media (max-width: calc(768px - 1px)) {
  .project-types__filter-btn {
    padding: 5px 14px;
  }
}
.project-types__filter-btn:hover {
  background-position: left center;
  color: var(--color-white);
  border-color: var(--color-primary);
}
.project-types__filter-btn--active {
  background-position: left center;
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Nav arrows — hidden on mobile */
.project-types__controls {
  flex-shrink: 0;
}
@media (max-width: calc(768px - 1px)) {
  .project-types__controls {
    display: none;
  }
}

/* ── Carousel (full-width bleed) ── */
.project-types__carousel-wrap {
  /* nothing — overflow hidden is on .project-types */
}

.project-types__carousel {
  box-sizing: border-box;
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  padding-inline: var(--content-padding-x);
  margin-inline: auto;
  transition: opacity 0.3s ease;
}

.project-types__carousel .flickity-viewport {
  overflow: visible;
}

.project-types__carousel .flickity-slider {
  width: 100%;
}

.project-types__carousel .flickity-page-dots {
  display: none;
}

/* ── Cell sizing ── */
.project-types__cell {
  width: 31%;
  margin-right: 24px;
}
@media (max-width: calc(992px - 1px)) {
  .project-types__cell {
    width: 37%;
  }
}
@media (max-width: calc(768px - 1px)) {
  .project-types__cell {
    width: 86%;
  }
}

/* ── Card ── */
.project-types__card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .project-types__card {
    padding: 16px;
  }
}

.project-types__card-image-link {
  display: block;
  height: 100%;
}

.project-types__card-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.project-types__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

/* Video preview — hidden by default, shown on hover */
.project-types__video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.project-types__video-preview--iframe {
  display: block;
  height: 177.78%;
  top: 50%;
  transform: translateY(-50%);
}

.project-types__card:hover .project-types__video-preview,
.project-types__card:focus-within .project-types__video-preview,
.project-types__card-image:hover .project-types__video-preview {
  opacity: 1;
}

.project-types__card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-types__category {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-body);
  margin: 0;
}

.project-types__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}

.project-types__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.project-types__title-link:hover {
  color: var(--color-primary);
}

/* ── "See Video Tour" link ── */
.project-types__see-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  font-weight: var(--font-weight-medium);
  color: var(--color-heading);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.project-types__see-video:hover {
  color: var(--color-primary);
}

.project-types__see-video-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.project-types__see-video-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}
.project-types__see-video-icon svg circle {
  display: none;
}

.project-types__see-video:hover .project-types__see-video-icon {
  background: var(--color-primary);
  color: #fff;
}

/* ── Video Lightbox ── */
.project-types-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-types-lightbox[hidden] {
  display: none;
}

.project-types-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.project-types-lightbox__content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  z-index: 1;
}

.project-types-lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  appearance: none;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s ease;
}
.project-types-lightbox__close:hover {
  opacity: 0.7;
}

.project-types-lightbox__iframe-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.project-types-lightbox__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.accordions__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
@media (max-width: calc(768px - 1px)) {
  .accordions__nav {
    gap: 6px;
    margin-bottom: 36px;
  }
}

.accordions__nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  border: 2px solid var(--color-border);
  font-family: var(--font-body);
  font-size: var(--fs-d-text-s);
  font-weight: var(--font-weight-regular);
  line-height: 1;
  color: var(--color-body);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.accordions__nav-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.accordions__nav-btn--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.accordions__nav-btn--active:hover {
  color: var(--color-white);
}
@media (max-width: calc(768px - 1px)) {
  .accordions__nav-btn {
    padding: 8px 16px;
    font-size: var(--fs-m-text-s);
  }
}

.accordions__group {
  scroll-margin-top: 100px;
}
.accordions__group + .accordions__group {
  margin-top: 56px;
}
@media (max-width: calc(768px - 1px)) {
  .accordions__group + .accordions__group {
    margin-top: 44px;
  }
}

.accordions__group-title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 24px;
}
@media (max-width: calc(768px - 1px)) {
  .accordions__group-title {
    font-size: var(--fs-m-h2);
    line-height: var(--lh-m-h2);
    margin-bottom: 20px;
  }
}

.accordions__list {
  width: 100%;
}

/* Organism: Callout Image Banner */
.callout-image-banner {
  max-width: calc(954px + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-x);
}

/* ── Inner: two-column grid ── */
.callout-image-banner__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: center;
  background: var(--color-bg-alt, #eef1f7);
  border-radius: 12px;
  padding: 32px 48px;
}
@media (min-width: 992px) {
  .callout-image-banner__inner {
    min-height: 528px;
  }
}
@media (max-width: calc(992px - 1px)) {
  .callout-image-banner__inner {
    gap: 32px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .callout-image-banner__inner {
    padding: 24px;
    grid-template-columns: 1fr;
  }
}

/* ── Left: callout column ── */
.callout-image-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: calc(992px - 1px)) {
  .callout-image-banner__content {
    gap: 16px;
  }
}

.callout-image-banner__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .callout-image-banner__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ── WYSIWYG text block ── */
.callout-image-banner__text {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
}
.callout-image-banner__text p {
  margin: 0 0 4px;
}
.callout-image-banner__text p:last-child {
  margin-bottom: 0;
}
.callout-image-banner__text strong,
.callout-image-banner__text b {
  display: block;
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin-top: 20px;
}
.callout-image-banner__text strong:first-child,
.callout-image-banner__text b:first-child {
  margin-top: 0;
}
.callout-image-banner__text ul,
.callout-image-banner__text ol {
  padding-left: 20px;
  margin: 0;
}
.callout-image-banner__text ul li,
.callout-image-banner__text ol li {
  margin-bottom: 8px;
}
.callout-image-banner__text ul li:last-child,
.callout-image-banner__text ol li:last-child {
  margin-bottom: 0;
}

.callout-image-banner__image-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
@media (max-width: calc(992px - 1px)) {
  .callout-image-banner__image-wrap {
    order: 1;
  }
}

.callout-image-banner__media,
.callout-image-banner__image-wrap,
.callout-image-banner__image {
  height: 100%;
}

.callout-image-banner__image {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
@media (max-width: calc(768px - 1px)) {
  .callout-image-banner__image {
    aspect-ratio: unset;
    min-height: 450px;
  }
}

a.callout-image-banner__image-wrap:hover .callout-image-banner__image {
  transform: scale(1.05);
}

/* Gradient overlay */
.callout-image-banner__image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}
@media (max-width: calc(768px - 1px)) {
  .callout-image-banner__image-overlay {
    padding: 16px;
  }
}

.callout-image-banner__image-title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h3);
  line-height: var(--lh-d-h3);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin: 0;
  max-width: 200px;
}
@media (max-width: calc(768px - 1px)) {
  .callout-image-banner__image-title {
    font-size: 22px;
    line-height: 28px;
  }
}

/* Circle arrow button */
.callout-image-banner__image-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-bottom: 5px;
}

a.callout-image-banner__image-wrap:hover .callout-image-banner__image-arrow {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

/* Organism: FAQ Section
 *
 * Multi-section FAQ with nav buttons and accordion items.
 * +/- icons styled like the slider nav arrows (circle buttons).
 */
.faq-section__inner {
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  margin-inline: auto;
}

/* ─── Category navigation ───────────────────────────────────────────────── */
.faq-section__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-xl, 48px);
}

.faq-section__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--btn-radius);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  line-height: var(--btn-line-height);
  font-weight: var(--btn-font-weight);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background-color: transparent;
  background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%);
  background-size: 220% 100%;
  background-position: right center;
  background-origin: border-box;
  color: var(--color-secondary);
  border: 1px solid var(--color-primary);
  transition: background-position 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}
@media (max-width: calc(768px - 1px)) {
  .faq-section__nav-btn {
    padding: 5px 14px;
  }
}
.faq-section__nav-btn:hover {
  background-position: left center;
  color: var(--color-white);
  border-color: var(--color-primary);
}
.faq-section__nav-btn--active {
  background-position: left center;
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ─── Section groups ────────────────────────────────────────────────────── */
.faq-section__group {
  margin-bottom: var(--space-xl, 48px);
  scroll-margin-top: 130px; /* offset for sticky header */
}
.faq-section__group:last-child {
  margin-bottom: 0;
}

.faq-section__group-title {
  margin: 0 0 var(--space-m, 24px);
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 31px;
}

/* ─── FAQ list ──────────────────────────────────────────────────────────── */
.faq-section__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Individual FAQ items ──────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item--open {
  border-color: var(--color-primary);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
@media (max-width: calc(768px - 1px)) {
  .faq-item__question {
    padding: 16px;
  }
}

.faq-item__question-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-heading);
  margin: 0;
}

/* +/- icon — circle outline, matches text colour */
.faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  color: var(--color-heading);
  background: transparent;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.faq-item__icon svg {
  width: 8px;
  height: 8px;
}

.faq-item__icon-plus,
.faq-item__icon-minus {
  position: absolute;
  transition: opacity 0.2s ease;
}

/* Default: show plus, hide minus */
.faq-item__icon-plus {
  opacity: 1;
}

.faq-item__icon-minus {
  opacity: 0;
}

/* Open: hide plus, show minus */
.faq-item--open .faq-item__icon-plus {
  opacity: 0;
}

.faq-item--open .faq-item__icon-minus {
  opacity: 1;
}

.faq-item--open .faq-item__icon {
  border-color: var(--color-primary);
}

.faq-item__question:hover .faq-item__icon {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ─── Answer panel — max-height transition ──────────────────────────────── */
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__answer-inner {
  padding: 0 24px 24px;
  color: var(--color-body);
  font-size: var(--fs-d-text);
  line-height: var(--lh-d-text);
}
@media (max-width: calc(768px - 1px)) {
  .faq-item__answer-inner {
    padding: 0 16px 16px;
  }
}
.faq-item__answer-inner p {
  margin: 0 0 16px;
}
.faq-item__answer-inner p:last-child {
  margin-bottom: 0;
}
.faq-item__answer-inner a {
  color: var(--color-primary);
}

/* ─── Mobile ────────────────────────────────────────────────────────────── */
@media (max-width: calc(768px - 1px)) {
  .faq-section__nav {
    gap: 8px;
  }
  .faq-section__nav-btn {
    padding: 5px 14px;
  }
  .faq-section__group-title {
    font-size: 20px;
    line-height: 26px;
  }
}
/* Organism: Project Gallery
 *
 * Bento-style image grid in groups of 5.
 * Each group: 1 large image + 4 small in a 2×2 grid.
 * Odd groups:  large left,  2×2 right.
 * Even groups: 2×2 left, large right.
 * Mobile: large on top (full width), 2×2 below.
 *
 * Fallbacks:
 *   5 images: 1 large + 2×2 (default)
 *   4 images: 1 large + 3 small (last spans full width)
 *   3 images: 1 large + 2 small (stacked full width)
 *   2 images: 2 equal side by side
 *   1 image:  full width, half height
 */
.project-gallery {
  padding: 0 0 108px;
}
@media (max-width: calc(768px - 1px)) {
  .project-gallery {
    padding-bottom: 57px;
  }
}

/* ── Group: base ── */
.project-gallery__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.project-gallery__group:last-child {
  margin-bottom: 0;
}
@media (max-width: calc(768px - 1px)) {
  .project-gallery__group {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }
}

/* ── Odd: large left, 2×2 right ── */
.project-gallery__group--odd .project-gallery__item--large {
  order: 1;
}
.project-gallery__group--odd .project-gallery__small-grid {
  order: 2;
}

/* ── Even: 2×2 left, large right ── */
.project-gallery__group--even .project-gallery__item--large {
  order: 2;
}
.project-gallery__group--even .project-gallery__small-grid {
  order: 1;
}
@media (max-width: calc(768px - 1px)) {
  .project-gallery__group--even .project-gallery__item--large {
    order: 1;
  }
  .project-gallery__group--even .project-gallery__small-grid {
    order: 2;
  }
}

/* ── Single image: full width, half height ── */
.project-gallery__group--single {
  grid-template-columns: 1fr;
}
.project-gallery__group--single .project-gallery__item--full {
  aspect-ratio: 2/1;
}
@media (max-width: calc(768px - 1px)) {
  .project-gallery__group--single .project-gallery__item--full {
    aspect-ratio: 1/1;
  }
}

/* ── Pair: 2 equal square images side by side ── */
.project-gallery__group--pair .project-gallery__item {
  position: relative;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
}
.project-gallery__group--pair .lightbox-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.project-gallery__group--pair .project-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Items ── */
.project-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg, #f0f0f0);
}

.project-gallery__item--large {
  /* No fixed aspect-ratio on desktop — stretches to match the small grid height */
}
@media (max-width: calc(768px - 1px)) {
  .project-gallery__item--large {
    aspect-ratio: 1/1;
  }
}
.project-gallery__item--large .lightbox-btn {
  height: 100%;
}
.project-gallery__item--large .project-gallery__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ── 2×2 small grid ── */
.project-gallery__small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  /* ── 3 items: last spans full width at 2:1 ── */
  /* ── 2 items: stack full width at 2:1 ── */
  /* ── 1 item: full width ── */
}
@media (max-width: calc(768px - 1px)) {
  .project-gallery__small-grid {
    gap: 8px;
  }
}
.project-gallery__small-grid .project-gallery__item {
  aspect-ratio: 1/1;
  min-height: 0;
  overflow: hidden;
}
.project-gallery__small-grid .lightbox-btn {
  height: 100%;
}
.project-gallery__small-grid .project-gallery__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.project-gallery__small-grid .project-gallery__item:nth-child(3):last-child {
  grid-column: 1/-1;
  aspect-ratio: 2/1;
}
.project-gallery__small-grid .project-gallery__item:first-child:nth-last-child(2),
.project-gallery__small-grid .project-gallery__item:first-child:nth-last-child(2) ~ .project-gallery__item {
  grid-column: 1/-1;
  aspect-ratio: 2/1;
}
.project-gallery__small-grid .project-gallery__item:only-child {
  grid-column: 1/-1;
  aspect-ratio: 2/1;
}

/* ── Image ── */
.project-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.lightbox-btn:hover .project-gallery__img {
  transform: scale(1.04);
}

/* Organism: Text - Image (formerly Content Blocks) */
.text-image__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: calc(992px - 1px)) {
  .text-image__item {
    gap: 32px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .text-image__item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .text-image__item .text-image__media {
    order: -1;
  }
}
.text-image__item--reversed .text-image__media {
  order: -1;
}

.text-image__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-image__heading {
  color: var(--color-heading);
  margin: 0;
}

.text-image__body p {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin: 0 0 24px;
}
.text-image__body p:last-child {
  margin-bottom: 0;
}
.text-image__body a {
  color: var(--color-primary);
  font-weight: 600;
}

.text-image__btn {
  margin-top: 8px;
  align-self: flex-start;
}

.text-image__media {
  border-radius: 12px;
  overflow: hidden;
}

.text-image__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.text-image__media--square {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.text-image__media--square .text-image__img {
  height: 100%;
  object-fit: cover;
}

.text-image.has-bg {
  background-color: #F2F7FD;
  padding-top: 108px;
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .text-image.has-bg {
    padding-top: 57px;
    padding-bottom: 57px;
  }
}

.text-image:not(.has-bg) {
  padding-top: 0;
}

/**
 * Organism: Testimonials
 *
 * Full-width slider with centered quote, author, location, and numbered pagination.
 * Arrows sit on either side of the slide area matching the slider-nav style.
 */
.testimonials {
  padding: 108px 0;
  background: none;
  /* ── Slider layout ── */
  /* ── Arrow overrides ── */
  /* ── Track: holds all slides stacked ── */
  /* ── Individual slide ── */
  /* ── Quote text ── */
  /* ── Citation (author + location) ── */
  /* ── Pagination (1 / 3) ── */
}
@media (max-width: calc(768px - 1px)) {
  .testimonials {
    padding: 57px 0;
  }
}
.testimonials__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  font-weight: 700;
  color: var(--color-heading);
  text-align: left;
  margin-bottom: 48px;
}
.testimonials__slider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}
@media (max-width: calc(768px - 1px)) {
  .testimonials__slider {
    gap: 0;
  }
}
.testimonials__arrow {
  flex-shrink: 0;
  z-index: 2;
}
@media (max-width: calc(768px - 1px)) {
  .testimonials__arrow {
    order: 3;
    margin-top: 16px;
  }
  .testimonials__arrow--prev {
    margin-right: 8px;
  }
  .testimonials__arrow--next {
    margin-left: 8px;
  }
}
.testimonials__track {
  flex: 0 0 100%;
  max-width: none;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  order: 1;
}
@media (max-width: calc(768px - 1px)) {
  .testimonials__track {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.testimonials__track .flickity-viewport {
  overflow: visible;
  width: 100%;
}
.testimonials__slide {
  background: var(--color-bg);
  padding: 32px;
  border-radius: 35px;
  display: flex;
  width: min(680px, 100vw - 48px);
  min-height: 100%;
  margin-right: 24px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  opacity: 0.45;
  transition: opacity 0.35s ease;
}
.testimonials__slide.is-selected {
  opacity: 1;
}
.testimonials__copy {
  width: 100%;
}
.testimonials__quote {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  color: var(--color-body);
  margin: 0 0 32px;
  padding: 34px 0;
  position: relative;
  text-align: left;
  width: 100%;
}
.testimonials__quote::before, .testimonials__quote::after {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
}
.testimonials__quote::before {
  content: "“";
  left: 0;
  top: 0;
}
.testimonials__quote::after {
  content: "”";
  right: 0;
  bottom: 0;
}
.testimonials__quote p {
  margin: 0 0 12px;
  text-align: left;
}
.testimonials__citation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-style: normal;
  text-align: left;
  width: 100%;
}
.testimonials__stars {
  color: #F6C343;
  display: flex;
  gap: 4px;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 24px;
}
.testimonials__author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: var(--color-heading);
}
.testimonials__location {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-muted);
}
.testimonials__pagination {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #222;
  order: 4;
}
@media (max-width: calc(768px - 1px)) {
  .testimonials__pagination {
    order: 2;
    margin-top: 16px;
    margin-bottom: 16px;
  }
}
.testimonials__current {
  color: #222;
}
.testimonials__separator {
  color: #222;
}
.testimonials__total {
  color: #222;
}

@keyframes testimonialFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/**
 * Organism: Video Section
 *
 * Two-column layout: text left, video thumbnail (with play button + lightbox) right.
 * Play-button styling mirrors blog-video-pair.
 */
.video-section {
  /* ── Text column ── */
  /* ── Thumbnail column ── */
  /* Play button — mirrors blog-video-pair__play */
}
.video-section__inner {
  max-width: calc(var(--max-width-block) + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-x);
}
.video-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: calc(768px - 1px)) {
  .video-section__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.video-section__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: calc(768px - 1px)) {
  .video-section__content {
    order: -1;
  }
}
.video-section__heading {
  margin: 0;
}
.video-section__text {
  font-family: var(--font-body);
  font-size: var(--fs-d-text);
  line-height: var(--lh-d-text);
  color: var(--color-body);
  margin: 0;
}
.video-section__media {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  display: block;
  border-radius: var(--radius-m, 12px);
}
@media (max-width: calc(768px - 1px)) {
  .video-section__media {
    order: -2;
  }
}
.video-section__media:hover .video-section__img {
  transform: scale(1.03);
}
.video-section__media:hover .video-section__play {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.video-section__thumb {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.video-section__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 0.8;
  transition: transform 0.4s ease;
}
.video-section__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  pointer-events: none;
}
.video-section__play svg {
  display: block;
  width: 22px;
  height: 22px;
}
@media (max-width: calc(768px - 1px)) {
  .video-section__play {
    width: 40px;
    height: 40px;
  }
  .video-section__play svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Video Lightbox (shared with video-section) ── */
.video-section-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-section-lightbox[hidden] {
  display: none;
}
.video-section-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}
.video-section-lightbox__content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  z-index: 1;
}
.video-section-lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  appearance: none;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s ease;
}
.video-section-lightbox__close:hover {
  opacity: 0.7;
}
.video-section-lightbox__iframe-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video-section-lightbox__iframe, .video-section-lightbox__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-section-lightbox__video {
  display: block;
  background: #000;
  object-fit: contain;
}

/* Organism: Staff Grid */
.staff-grid {
  padding-top: 108px;
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .staff-grid {
    padding-top: 57px;
    padding-bottom: 57px;
  }
}

/* ── Header: heading + button ── */
.staff-grid__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .staff-grid__header {
    margin-bottom: 32px;
  }
}

.staff-grid__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .staff-grid__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (max-width: calc(768px - 1px)) {
  .staff-grid__btn {
    display: none;
  }
}

/* ── Grid ── */
.staff-grid__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 70px;
  row-gap: 70px;
}
@media (max-width: calc(1280px - 1px)) {
  .staff-grid__items {
    column-gap: 56px;
    row-gap: 56px;
  }
}
@media (max-width: calc(992px - 1px)) {
  .staff-grid__items {
    column-gap: 48px;
    row-gap: 48px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .staff-grid__items {
    grid-template-columns: 1fr;
    column-gap: 32px;
    row-gap: 32px;
  }
}

/* ── Card ── */
.staff-grid__card {
  display: flex;
  flex-direction: column;
}

.staff-grid__photo {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.staff-grid__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.staff-grid__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.staff-grid__name {
  margin: 0;
}

.staff-grid__role {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-body);
  margin: 0;
}

/* ── Mobile-only button ── */
.staff-grid__btn-mobile {
  display: none;
}
@media (max-width: calc(768px - 1px)) {
  .staff-grid__btn-mobile {
    display: flex;
    justify-content: flex-start;
    margin-top: 48px;
  }
}

/* ── Background modifier ── */
.staff-grid.has-bg {
  background-color: #F2F7FD;
  padding-top: 108px;
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .staff-grid.has-bg {
    padding-top: 57px;
    padding-bottom: 57px;
  }
}

/* Organism: Latest Articles */
.latest-articles {
  overflow: hidden;
}
.latest-articles.has-bg {
  background-color: #F2F7FD;
  padding-top: 108px;
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .latest-articles.has-bg {
    padding-top: 57px;
    padding-bottom: 57px;
  }
}

/* ── Header ── */
.latest-articles__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.latest-articles__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .latest-articles__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (max-width: calc(768px - 1px)) {
  .latest-articles__btn {
    display: none;
  }
}

/* ── Flickity grid ── */
.latest-articles__grid .flickity-viewport {
  overflow: visible;
}

.latest-articles__grid .flickity-slider {
  width: 100%;
}

.latest-articles__grid .flickity-page-dots {
  display: none;
}

/* ── Cell sizing ── */
.latest-articles__cell {
  width: calc((100% - 2 * 24px) / 3);
  margin-right: 24px;
}
@media (max-width: calc(992px - 1px)) {
  .latest-articles__cell {
    width: 60%;
    margin-right: 16px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .latest-articles__cell {
    width: 80%;
  }
}

/* ── Card ── */
.latest-articles__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .latest-articles__card {
    padding: 16px;
  }
}

.latest-articles__card-image-link {
  display: block;
}

.latest-articles__card-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 6px;
}

.latest-articles__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.latest-articles__card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Meta: date + category ── */
.latest-articles__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.latest-articles__date,
.latest-articles__category {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-body);
  margin: 0;
}

.latest-articles__meta-sep {
  font-size: 12px;
  color: var(--color-muted);
}

/* ── Title ── */
.latest-articles__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}

.latest-articles__title-link {
  color: inherit;
  text-decoration: none;
}
.latest-articles__title-link:hover {
  color: var(--color-primary);
}

/* ── Excerpt ── */
.latest-articles__excerpt {
  font-family: var(--font-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  color: var(--color-body);
  margin: 0;
}

/* ── Mobile button ── */
.latest-articles__btn-mobile {
  display: none;
}
@media (max-width: calc(768px - 1px)) {
  .latest-articles__btn-mobile {
    display: flex;
    justify-content: flex-start;
    margin-top: 48px;
  }
}

/* Organism: Instagram Feed */
.instagram-feed {
  padding-top: 108px;
  padding-bottom: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .instagram-feed {
    padding-top: 57px;
    padding-bottom: 57px;
  }
}

/* ── Header ── */
.instagram-feed__header {
  text-align: center;
  margin-bottom: 32px;
}

.instagram-feed__heading {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: calc(768px - 1px)) {
  .instagram-feed__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.instagram-feed__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
}
@media (max-width: calc(768px - 1px)) {
  .instagram-feed__logo {
    width: 24px;
    height: 24px;
  }
}

.instagram-feed #sb_instagram #sbi_images .sbi_item,
.instagram-feed #sb_instagram #sbi_images .sbi_photo,
.instagram-feed #sb_instagram #sbi_images .sbi_photo_wrap,
.instagram-feed #sb_instagram #sbi_images .sbi_photo img {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Organism: Video Gallery — Flickity slider */
.video-gallery {
  overflow: hidden;
}
.video-gallery.has-bg {
  background-color: var(--color-bg);
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .video-gallery.has-bg {
    padding-top: 57px;
  }
}
.video-gallery:not(.has-bg) {
  padding-top: 0;
}

.video-gallery__inner {
  /* removed old grid-specific max-width/padding — container handles it */
}

.video-gallery__header {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 48px;
}
@media (max-width: calc(768px - 1px)) {
  .video-gallery__header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 32px;
  }
}

.video-gallery__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .video-gallery__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.video-gallery__button {
  white-space: nowrap;
}
@media (max-width: calc(768px - 1px)) {
  .video-gallery__button {
    order: 1;
  }
}

/* ── Flickity grid ── */
.video-gallery__grid .flickity-viewport {
  overflow: visible;
}

.video-gallery__grid .flickity-slider {
  width: 100%;
}

/* ── Cell sizing ── */
.video-gallery__cell {
  width: calc((100% - 2 * 24px) / 3);
  margin-right: 24px;
}
@media (max-width: calc(992px - 1px)) {
  .video-gallery__cell {
    width: 60%;
    margin-right: 16px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .video-gallery__cell {
    width: 80%;
  }
}

/* ── Item (button) ── */
.video-gallery__item {
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}
.video-gallery__item:hover .video-gallery__img, .video-gallery__item:focus-visible .video-gallery__img {
  transform: scale(1.03);
}
.video-gallery__item:hover .video-gallery__play, .video-gallery__item:focus-visible .video-gallery__play {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.video-gallery__item:hover .video-gallery__preview, .video-gallery__item:focus-visible .video-gallery__preview {
  opacity: 1;
}

.video-gallery__thumb {
  margin: 0;
  padding: 0;
  line-height: 0;
  position: relative;
}

.video-gallery__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 0.8;
  transition: transform 0.4s ease;
}

.video-gallery__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.video-gallery__preview--iframe {
  transform: scale(1.02);
}

.video-gallery__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  pointer-events: none;
  z-index: 2;
}
.video-gallery__play svg {
  display: block;
  width: 22px;
  height: 22px;
}
@media (max-width: calc(768px - 1px)) {
  .video-gallery__play {
    width: 40px;
    height: 40px;
  }
  .video-gallery__play svg {
    width: 18px;
    height: 18px;
  }
}

/* Organism: Intro Text */
.intro-text__inner {
  max-width: 728px;
  margin-inline: auto;
}
.intro-text__inner > * + * {
  margin-top: 1em;
}
.intro-text__inner h2, .intro-text__inner h3, .intro-text__inner h4, .intro-text__inner h5 {
  margin-top: 1.5em;
}
.intro-text__inner h2:first-child, .intro-text__inner h3:first-child, .intro-text__inner h4:first-child, .intro-text__inner h5:first-child {
  margin-top: 0;
}
.intro-text__inner p {
  line-height: 1.7;
}
.intro-text__inner ul, .intro-text__inner ol {
  padding-left: 1.25em;
  line-height: 1.7;
}

/* Organism: Featured Posts — static grid, reuses latest-articles card styles */
.featured-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px var(--space-m, 16px);
}
@media (max-width: calc(992px - 1px)) {
  .featured-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: calc(768px - 1px)) {
  .featured-posts__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

.featured-posts__cell {
  display: flex;
}
.featured-posts__cell .latest-articles__card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.featured-posts__cell .latest-articles__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.featured-posts__cell .latest-articles__excerpt {
  margin-top: auto;
}

/* Organism: Project Types Grid — static grid with CTA card as last item */
.ptg.has-bg {
  padding-top: 108px;
  background: var(--color-bg);
}
@media (max-width: calc(768px - 1px)) {
  .ptg.has-bg {
    padding-top: 57px;
  }
}

.ptg:not(.has-bg) {
  padding-top: 0;
}

.ptg__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: calc(768px - 1px)) {
  .ptg__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.ptg__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .ptg__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.ptg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px var(--space-m, 16px);
}
@media (max-width: calc(992px - 1px)) {
  .ptg__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: calc(768px - 1px)) {
  .ptg__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

.ptg__cell {
  display: flex;
}
.ptg__cell .project-types__card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ptg__cell .project-types__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ptg__cell--cta {
  display: flex;
}

.ptg__cta-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-secondary);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 100%;
  min-height: 100%;
}

.ptg__cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
}
@media (max-width: calc(768px - 1px)) {
  .ptg__cta-content {
    align-items: center;
    text-align: center;
    padding: 40px 32px;
  }
}

.ptg__cta-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  margin: 0;
}

.ptg__cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.ptg__cta-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.ptg__cta-deco--primary {
  width: 70px;
  height: 70px;
  left: 105px;
  bottom: -35px;
  transform: skewy(-45deg) rotate(90deg);
  background: var(--color-primary);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: calc(768px - 1px)) {
  .ptg__cta-deco--primary {
    display: block;
    position: absolute;
    bottom: 0;
    left: unset;
    right: 0px;
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    transform: skewX(-45deg);
    transform-origin: bottom right;
  }
}

.ptg__cta-deco--dark {
  bottom: 0;
  left: 105px;
  width: 125px;
  height: 400px;
  transform: skewX(-45deg);
  transform-origin: bottom right;
  background: var(--color-primary-dark, #004480);
  pointer-events: none;
}
@media (max-width: calc(768px - 1px)) {
  .ptg__cta-deco--dark {
    z-index: 2;
    width: 70px;
    height: 40px;
    left: unset;
    right: 70px;
    bottom: -70px;
    transform: skewy(-45deg) rotate(90deg);
  }
}

/* Organism: Project Types Simple — no section bg, white cards */
.pts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: calc(768px - 1px)) {
  .pts__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.pts__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}
@media (max-width: calc(768px - 1px)) {
  .pts__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.pts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px var(--space-m, 16px);
}
@media (max-width: calc(992px - 1px)) {
  .pts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: calc(768px - 1px)) {
  .pts__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

.pts__cell {
  display: flex;
}

.pts__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--color-bg);
  border-radius: 12px;
  padding: 24px;
  gap: 24px;
}

.pts__card-image-link {
  display: block;
}

.pts__card-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 6px;
}

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

.pts__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pts__title {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}

.pts__title-link {
  color: inherit;
  text-decoration: none;
}
.pts__title-link:hover {
  color: var(--color-primary);
}

.pts__excerpt {
  color: var(--color-body);
  font-size: var(--fs-d-text-m, 0.9375rem);
  line-height: var(--lh-d-text-m, 1.6);
  margin: 0;
}

.pts.has-bg {
  padding-top: 108px;
  background: var(--color-bg);
}
@media (max-width: calc(768px - 1px)) {
  .pts.has-bg {
    padding-top: 57px;
  }
}

.pts:not(.has-bg) {
  padding-top: 0;
}

/* Organism: Info Cards with Title */
.info-cards-title {
  overflow: hidden;
}
.info-cards-title.has-bg {
  background-color: var(--color-bg);
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-title.has-bg {
    padding-top: 57px;
  }
}
.info-cards-title:not(.has-bg) {
  padding-top: 0;
}

.info-cards-title__intro {
  text-align: center;
  max-width: 728px;
  margin: 0 auto 72px;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-title__intro {
    text-align: start;
    margin: 0 auto 40px;
  }
}

.info-cards-title__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 24px;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-title__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.info-cards-title__description {
  color: var(--color-body);
  font-size: var(--fs-d-text-m, 0.9375rem);
  line-height: var(--lh-d-text-m, 1.6);
}
.info-cards-title__description p {
  margin: 0 0 16px;
}
.info-cards-title__description p:last-child {
  margin-bottom: 0;
}

.info-cards-title__grid .flickity-viewport {
  overflow: visible;
}

.info-cards-title__grid .flickity-slider {
  width: 100%;
}

.info-cards-title__cell {
  width: calc((100% - 3 * 40px) / 4);
  margin-right: 40px;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-title__cell {
    width: 80%;
    margin-right: 16px;
  }
}

.info-cards-title__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.info-cards-title__card-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-border);
}

.info-cards-title__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-cards-title__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-cards-title__card-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}

.info-cards-title__card-text {
  color: var(--color-body);
  font-size: var(--fs-d-text-s, 0.875rem);
  line-height: var(--lh-d-text-s, 1.6);
  margin: 0;
}

/* Organism: Info Cards Grid — 2-col horizontal cards */
.info-cards-grid.has-bg {
  background-color: var(--color-bg);
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-grid.has-bg {
    padding-top: 57px;
  }
}
.info-cards-grid:not(.has-bg) {
  padding-top: 0;
}

.info-cards-grid__intro {
  text-align: center;
  max-width: 728px;
  margin: 0 auto 72px;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-grid__intro {
    text-align: left;
    margin-bottom: 40px;
  }
}

.info-cards-grid__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 24px;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-grid__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.info-cards-grid__description {
  color: var(--color-body);
  font-size: var(--fs-d-text-m, 0.9375rem);
  line-height: var(--lh-d-text-m, 1.6);
}
.info-cards-grid__description p {
  margin: 0 0 16px;
}
.info-cards-grid__description p:last-child {
  margin-bottom: 0;
}

.info-cards-grid__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px;
  max-width: 1050px;
  margin: 0 auto;
}
@media (max-width: calc(992px - 1px)) {
  .info-cards-grid__grid {
    gap: 48px 40px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-grid__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.info-cards-grid__card {
  display: flex;
  gap: 24px;
  height: 100%;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-grid__card {
    gap: 16px;
  }
}

.info-cards-grid__card-image {
  flex: 0 0 50%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-border);
  align-self: flex-start;
}
@media (max-width: calc(768px - 1px)) {
  .info-cards-grid__card-image {
    flex: 0 0 calc(33.333% - 16px / 2);
  }
}

.info-cards-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-cards-grid__card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.info-cards-grid__card-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h4);
  line-height: var(--lh-d-h4);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
}

.info-cards-grid__card-text {
  color: var(--color-body);
  font-size: var(--fs-d-text-s, 0.875rem);
  line-height: var(--lh-d-text-s, 1.6);
  margin: 0;
}

/* Organism: Bento Gallery
 * Page builder variant of the project gallery.
 * Grid layout reuses .project-gallery classes from _project-gallery.scss.
 */
.bento-gallery.has-bg {
  background-color: var(--color-bg);
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .bento-gallery.has-bg {
    padding-top: 57px;
  }
}
.bento-gallery:not(.has-bg) {
  padding-top: 0;
}

.bento-gallery__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  text-align: center;
  margin: 0 0 40px;
}
@media (max-width: calc(768px - 1px)) {
  .bento-gallery__heading {
    font-size: 28px;
    line-height: 36px;
    text-align: left;
  }
}

/* Organism: Shortcode Text
 *
 * Page builder section that mirrors the blog content area.
 * Reuses .blog-text__content and .entry-content for typography.
 */
.shortcode-text.has-bg {
  background-color: var(--color-bg);
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .shortcode-text.has-bg {
    padding-top: 57px;
  }
}
.shortcode-text:not(.has-bg) {
  padding-top: 0;
}

.shortcode-text__inner {
  max-width: calc(728px + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--content-padding-x);
}

/* Organism: Title - FAQ
 *
 * Two-column: content/image left (sticky), FAQ accordion right.
 * On mobile: content → FAQ → image (via display:contents reorder).
 * Reuses .form-two-col and .faq-item styles.
 */
.title-faq {
  /* On mobile: flatten content div so its children become grid items */
  /* Title and text keep default order (1) on mobile */
  /* FAQ column: order 2 on mobile */
  /* Image card: order 3 on mobile (below FAQ) */
}
.title-faq.has-bg {
  background-color: var(--color-bg);
  padding-top: 108px;
}
@media (max-width: calc(768px - 1px)) {
  .title-faq.has-bg {
    padding-top: 57px;
  }
}
.title-faq:not(.has-bg) {
  padding-top: 0;
}
@media (max-width: calc(992px - 1px)) {
  .title-faq .form-two-col__content {
    display: contents;
  }
}
@media (max-width: calc(992px - 1px)) {
  .title-faq .form-two-col__title,
  .title-faq .form-two-col__text {
    order: 1;
  }
}
@media (max-width: calc(992px - 1px)) {
  .title-faq .title-faq__faq {
    order: 2;
  }
}
@media (max-width: calc(992px - 1px)) {
  .title-faq .title-faq__image-col {
    order: 3;
  }
}

.title-faq__faq-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 31px;
  color: var(--color-heading);
  margin: 0 0 var(--space-m, 24px);
}
@media (max-width: calc(768px - 1px)) {
  .title-faq__faq-title {
    font-size: 20px;
    line-height: 26px;
  }
}

/* Ensure faq-section__list inside title-faq gets the right gap */
.title-faq .faq-section__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Organism: Team Details
 *
 * Full team member profiles: photo left, name/role/bio right.
 * Role styling matches Team Intro (staff-grid).
 */
.team-details.has-bg {
  background-color: var(--color-bg);
}

.team-details__intro {
  max-width: 728px;
  margin: 0 auto 72px;
  text-align: center;
}
@media (max-width: calc(768px - 1px)) {
  .team-details__intro {
    margin-bottom: 48px;
  }
}

.team-details__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h2);
  line-height: var(--lh-d-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 24px;
}
@media (max-width: calc(768px - 1px)) {
  .team-details__heading {
    font-size: 28px;
    line-height: 36px;
  }
}

.team-details__text {
  color: var(--color-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
}
.team-details__text p {
  margin: 0 0 16px;
}
.team-details__text p:last-child {
  margin-bottom: 0;
}

.team-details__list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
@media (max-width: calc(768px - 1px)) {
  .team-details__list {
    gap: 48px;
  }
}

.team-details__member {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: calc(992px - 1px)) {
  .team-details__member {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
}
@media (max-width: calc(768px - 1px)) {
  .team-details__member {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.team-details__photo {
  border-radius: 12px;
  overflow: hidden;
}

.team-details__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.team-details__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}
@media (max-width: calc(768px - 1px)) {
  .team-details__body {
    padding-top: 0;
  }
}

.team-details__name {
  font-family: var(--font-heading);
  font-size: var(--fs-d-h3);
  line-height: var(--lh-d-h3);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0;
  text-transform: uppercase;
}
@media (max-width: calc(768px - 1px)) {
  .team-details__name {
    font-size: var(--fs-m-h3);
    line-height: var(--lh-m-h3);
  }
}

/* Role — matches Team Intro (staff-grid__role) */
.team-details__role {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.team-details__bio {
  color: var(--color-body);
  font-size: var(--fs-d-text-m);
  line-height: var(--lh-d-text-m);
  margin-top: 16px;
}
.team-details__bio p {
  margin: 0 0 24px;
}
.team-details__bio p:last-child {
  margin-bottom: 0;
}
.team-details__bio a {
  color: var(--color-primary);
}

/* Legacy Components */
.footer {
  padding-top: 0;
  padding-bottom: var(--section-space-s);
}
.footer .container {
  max-width: var(--content-width);
  gap: var(--space-s);
}

/* Red Accent Line - Placed at top of footer */
.footer-accent-line {
  width: 100%;
  height: 0.4em;
  background-color: var(--accent);
  margin-bottom: var(--space-m);
}

/* Social Icons Row */
.footer-social {
  display: flex;
  gap: var(--space-s);
  padding-block: var(--section-space-xl);
  justify-content: center;
  align-self: center;
  flex-wrap: wrap;
}
.footer-social__link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  padding: var(--space-xs);
}
.footer-social__icon {
  width: 1.5em;
  height: 1.5em;
}

/* Main Footer Layout - Mobile First */
/* Contact and Links Wrapper */
/* Contact and Links Columns */
.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--text-xs);
}
.footer-contact a,
.footer-links a {
  align-items: center;
}
.footer-contact a svg,
.footer-links a svg {
  margin-left: 0.375rem;
}

/* Massive Logo Logic */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: var(--space-xl);
}
@media (min-width: 992px) {
  .footer-logo {
    justify-content: flex-end;
    margin-top: 0;
  }
}
.footer-logo svg {
  display: block;
  width: 100%;
  height: auto;
  fill: white;
}

/* Bottom Bar */
.footer-bottom {
  font-size: var(--text-xs);
  align-items: start;
}
.footer-bottom__links {
  display: flex;
  gap: var(--space-m);
  row-gap: var(--space-xs);
  flex-wrap: wrap;
  align-self: start;
}
.footer-bottom__links a {
  align-self: start;
}
.footer-bottom__copyright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xl);
  font-size: 0.9em;
}
.footer-bottom__copyright-text {
  opacity: 0.7;
}
.footer-bottom__cyber-logo {
  display: block;
  height: auto;
  width: 80px;
  flex-shrink: 0;
}

/* Complianz cookie banner */
#cmplz-manage-consent {
  display: none !important;
}

#cmplz-cookiebanner-container {
  position: relative;
  z-index: 99999;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  position: fixed !important;
  right: 12px !important;
  bottom: 12px !important;
  left: auto !important;
  z-index: 99999 !important;
  display: none;
  width: min(456px, 100vw - 24px);
  max-height: calc(100vh - 24px);
  padding: 24px !important;
  overflow: auto;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--color-body) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-d-text-s) !important;
  line-height: var(--lh-d-text-s) !important;
  backdrop-filter: blur(14px);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show {
  display: block !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-dismissed {
  display: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom {
  right: 50% !important;
  bottom: 12px !important;
  transform: translateX(50%) !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom-left {
  right: auto !important;
  left: 12px !important;
  bottom: 12px !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom-right {
  right: 12px !important;
  bottom: 12px !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-center {
  right: 50% !important;
  bottom: auto !important;
  top: 50% !important;
  transform: translate(50%, -50%) !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-logo,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links *,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links.cmplz-information,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents *,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-manage-options,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-manage-options,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-manage-vendors,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-read-more-purposes {
  display: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body {
  display: block !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message {
  margin: 0 0 14px !important;
  color: var(--color-body) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-d-text-s) !important;
  line-height: var(--lh-d-text-s) !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories {
  display: none;
  margin: 0 0 16px !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-categories-visible .cmplz-categories,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories.cmplz-fade-in {
  display: grid !important;
  width: 100% !important;
  gap: 8px !important;
}
#cmplz-cookiebanner-container .cmplz-category {
  overflow: hidden;
  width: 100% !important;
  box-sizing: border-box !important;
  background: var(--color-bg) !important;
  border: 1px solid rgba(0, 136, 255, 0.14) !important;
  border-radius: 8px !important;
}
#cmplz-cookiebanner-container .cmplz-category summary {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer;
  list-style: none;
}
#cmplz-cookiebanner-container .cmplz-category summary::marker, #cmplz-cookiebanner-container .cmplz-category summary::-webkit-details-marker {
  display: none !important;
  content: "";
}
#cmplz-cookiebanner-container .cmplz-category[open] .cmplz-icon {
  transform: rotate(180deg);
}
#cmplz-cookiebanner-container .cmplz-category .cmplz-category-header {
  display: grid !important;
  width: 100% !important;
  box-sizing: border-box !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 48px !important;
  padding: 12px 14px !important;
}
#cmplz-cookiebanner-container .cmplz-category .cmplz-category-header > * {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
}
#cmplz-cookiebanner-container .cmplz-category .cmplz-category-title {
  color: var(--color-secondary) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-d-text-s) !important;
  line-height: var(--lh-d-text-s) !important;
  font-weight: var(--font-weight-bold) !important;
}
#cmplz-cookiebanner-container .cmplz-category .cmplz-always-active {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  color: var(--color-primary-semi-dark) !important;
  font-size: var(--fs-d-text-xs) !important;
  line-height: var(--lh-d-text-xs) !important;
  white-space: nowrap;
}
#cmplz-cookiebanner-container .cmplz-category.cmplz-functional .cmplz-banner-checkbox {
  display: none !important;
}
#cmplz-cookiebanner-container .cmplz-category .cmplz-description {
  padding: 0 14px 14px !important;
  color: var(--color-body) !important;
  font-size: var(--fs-d-text-xs) !important;
  line-height: var(--lh-d-text-xs) !important;
}
#cmplz-cookiebanner-container .cmplz-category .cmplz-icon {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  color: var(--color-primary) !important;
  transition: transform 0.2s ease;
}
#cmplz-cookiebanner-container .cmplz-category .cmplz-icon svg {
  width: 12px !important;
  height: 12px !important;
  fill: currentColor !important;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox {
  position: relative !important;
  display: block !important;
  align-self: center !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  transform: none !important;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox input.cmplz-consent-checkbox {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 38px !important;
  height: 22px !important;
  min-width: 38px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  cursor: pointer;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox .cmplz-label {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  line-height: 0 !important;
  transform: none !important;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox .cmplz-label::before,
#cmplz-cookiebanner-container .cmplz-banner-checkbox .cmplz-label::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transform-origin: center !important;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox .cmplz-label::before {
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  width: 38px !important;
  height: 22px !important;
  background-color: #d7e1ea !important;
  border-radius: 999px !important;
  transition: background-color 0.2s ease;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox .cmplz-label::after {
  top: 3px !important;
  left: 3px !important;
  right: auto !important;
  bottom: auto !important;
  width: 16px !important;
  height: 16px !important;
  background: var(--color-white) !important;
  border-radius: 999px !important;
  transition: left 0.2s ease, transform 0.2s ease;
  transform: none !important;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox input.cmplz-consent-checkbox:checked + .cmplz-label::before {
  background-color: var(--color-primary) !important;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox input.cmplz-consent-checkbox:checked + .cmplz-label::after {
  left: 19px !important;
  transform: none !important;
}
#cmplz-cookiebanner-container .cmplz-banner-checkbox input.cmplz-consent-checkbox:focus-visible + .cmplz-label::before {
  outline: 2px solid var(--color-primary-semi-light);
  outline-offset: 2px;
}
#cmplz-cookiebanner-container .cmplz-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  margin-top: 14px !important;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  min-height: auto !important;
  padding: 12px 16px !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--btn-font-family) !important;
  font-size: var(--btn-font-size) !important;
  line-height: var(--btn-line-height) !important;
  font-weight: var(--btn-font-weight) !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  background-size: 220% 100% !important;
  background-position: right center !important;
  background-origin: border-box !important;
  transition: background-position 0.4s ease, color 0.3s ease, border-color 0.3s ease;
  appearance: none;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-accept,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-save-preferences {
  background-color: var(--btn-primary-bg) !important;
  background-image: linear-gradient(to right, var(--color-primary-semi-light) 50%, var(--btn-primary-bg) 50%) !important;
  border: 1px solid var(--color-primary) !important;
  color: var(--btn-primary-color) !important;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-accept:hover, #cmplz-cookiebanner-container .cmplz-buttons .cmplz-accept:focus-visible,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-save-preferences:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-save-preferences:focus-visible {
  background-position: left center !important;
  border-color: var(--color-primary-semi-light) !important;
  color: var(--color-white) !important;
  outline: none;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-deny,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-view-preferences {
  background-color: transparent !important;
  background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%) !important;
  border: 1px solid var(--color-primary) !important;
  color: var(--color-secondary) !important;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-deny:hover, #cmplz-cookiebanner-container .cmplz-buttons .cmplz-deny:focus-visible,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-view-preferences:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-view-preferences:focus-visible {
  background-position: left center !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  outline: none;
}
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-save-preferences {
  display: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-categories-visible .cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner:has(.cmplz-categories.cmplz-fade-in) .cmplz-view-preferences {
  display: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-categories-visible .cmplz-save-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner:has(.cmplz-categories.cmplz-fade-in) .cmplz-save-preferences {
  display: inline-flex !important;
}
#cmplz-cookiebanner-container .cmplz-show.cmplz-soft-cookiewall::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(8, 31, 48, 0.45);
}

@media (max-width: calc(768px - 1px)) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner {
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto;
    max-height: calc(100vh - 16px);
    padding: 20px !important;
  }
  #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom, #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom-left, #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom-right, #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-center {
    right: 8px !important;
    left: 8px !important;
    bottom: 8px !important;
    top: auto !important;
    transform: none !important;
  }
  #cmplz-cookiebanner-container .cmplz-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: visible;
    gap: 8px !important;
  }
  #cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
    padding: 10px 8px !important;
    font-size: var(--fs-d-text-xs) !important;
    line-height: var(--lh-d-text-xs) !important;
    white-space: nowrap;
  }
  #cmplz-cookiebanner-container .cmplz-category .cmplz-category-header {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
  }
  #cmplz-cookiebanner-container .cmplz-category .cmplz-always-active {
    white-space: nowrap;
  }
}
.eapps-google-maps .gm-style-iw-d,
.eapps-google-maps .gm-style-iw-c {
  background-color: unset;
  box-shadow: unset;
}

.eapps-google-maps .gm-style-iw > .gm-style-iw-chr {
  display: none;
}

.eapps-google-maps .gm-style-iw-d,
.eapps-google-maps div.gm-style-iw-c {
  padding-bottom: 0 !important;
}

.eapps-google-maps-marker-content {
  padding-top: 16px !important;
}

.eapps-google-maps .gm-style-iw > div {
  max-width: 200px;
}

div.eapps-google-maps-marker-title-wrapper-padding {
  padding: 16px 38px 16px 16px;
  min-height: 48px;
}

.project-map__map > .eapps-google-maps, .text-with-map__map > .eapps-google-maps {
  height: 100% !important;
}
