/* Reserve the space occupied by the header, breadcrumbs and fixed mobile actions. */
.elementor .rr-hero-home,
.elementor .rr-section:has(> .rr-hero-inner__row, > .rr-hero-service__panel--media) {
  min-height: calc(100vh - var(--rr-hero-start, 150px) - var(--rr-hero-dock, 0px));
  min-height: calc(100svh - var(--rr-hero-start, 150px) - var(--rr-hero-dock, 0px));
}
.elementor .rr-hero-home__row,
.elementor .rr-hero-inner__row,
.elementor .rr-hero-service__panel--media { flex-grow: 1; }

@media (min-width: 1025px) {
  .elementor .rr-hero-home__panel { padding-block: clamp(18px, 3svh, 36px); }
  .elementor .rr-hero-home__top,
  .elementor .rr-hero-home__top .rr-hero-inner__headline { row-gap: clamp(10px, 1.8svh, 18px); }
  .elementor .rr-hero-home .rr-hero-inner__title,
  .elementor .rr-hero-inner__row .rr-hero-inner__title { font-size: clamp(54px, min(6.5vw, 9.5svh), 100px); line-height: .92; }
  .elementor .rr-hero-service__panel--media .rr-hero-service__title { font-size: clamp(44px, min(6.2vw, calc((100svh - var(--rr-hero-start, 150px)) * .098)), 96px); line-height: .92; }
  .elementor .rr-hero-service__panel--media .rr-hero-service__content { padding-block-start: clamp(12px, calc(42svh - 292px), 144px); }
}
@media (min-width: 1025px) and (max-width: 1366px) {
  .elementor .rr-hero-service__panel--media .rr-hero-service__media { flex: 0 1 42%; width: 42%; }
  .elementor .rr-hero-service__panel--media .rr-hero-service__content { flex: 1 1 0; min-width: 0; }
}
@media (min-width: 1025px) and (max-height: 800px) {
  .elementor .rr-hero-service__panel--media { padding-block: 20px; }
  .elementor .rr-hero-home__intro { font-size: 16px; line-height: 1.45; }
  .elementor .rr-hero-home__subtitle { font-size: 21px; line-height: 1.3; }
}
@media (min-width: 1025px) and (max-width: 1200px) and (max-height: 800px) {
  .elementor .rr-hero-home__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .elementor .rr-hero-home__panel, .elementor .rr-hero-home__media { width: 100%; }
  .elementor .rr-hero-home__panel { padding: 16px 20px; }
  .elementor .rr-hero-home__cta { flex-wrap: nowrap; }
  .elementor .rr-hero-home__phone { flex: 1 1 0; min-width: 0; line-height: 1.3; }
  .elementor .rr-hero-home__phone a { white-space: nowrap; }
}

/* Stacked photos occupy the spare space after the copy. */
@media (max-width: 1024px) {
  .elementor .rr-hero-home__media,
  .elementor .rr-hero-inner__media,
  .elementor .rr-hero-service__media { flex: 1 0 auto; height: 0; min-height: clamp(112px, 17svh, 220px); }
  .elementor .rr-hero-home__image,
  .elementor .rr-hero-inner__image { position: absolute; inset: 0; height: 100%; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor .rr-hero-home__top { max-width: none; }
  .elementor .rr-hero-home__panel { padding-block: 24px; }
  .elementor .rr-hero-home__top,
  .elementor .rr-hero-home__top .rr-hero-inner__headline { row-gap: 16px; }
  .elementor .rr-hero-home .rr-hero-inner__title { font-size: clamp(48px, 7vw, 72px); line-height: .92; }
}
@media (max-width: 767px) {
  .elementor .rr-hero-service__panel--media { padding: 20px 16px; row-gap: 16px; }
  .elementor .rr-hero-service__panel--media .rr-hero-service__title { font-size: clamp(30px, 9vw, 44px); line-height: .95; }
  .elementor .rr-hero-service__media { min-height: clamp(96px, 14svh, 140px); }
  .elementor .rr-hero-home__panel { padding: 14px 12px; }
  .elementor .rr-hero-home__row { row-gap: 10px; }
  .elementor .rr-hero-home__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; }
  .elementor .rr-hero-home__top .rr-hero-inner__headline { display: contents; }
  .elementor .rr-hero-home__top .rr-hero-inner__badges { width: auto; }
  .elementor .rr-hero-home__top .rr-eyebrow { grid-column: 2; align-self: center; width: fit-content; font-size: 11px; line-height: 1.2; }
  .elementor .rr-hero-home__top .rr-hero-inner__title,
  .elementor .rr-hero-home__subtitle,
  .elementor .rr-hero-home__intro { grid-column: 1 / -1; }
  .elementor .rr-hero-home__top .rr-hero-inner__title { font-size: 40px; line-height: .94; }
  .elementor .rr-hero-home__subtitle { font-size: 18px; line-height: 1.25; }
  .elementor .rr-hero-home__intro { line-height: 1.4; }
  .elementor .rr-hero-home__media { min-height: 96px; }
  .elementor .rr-hero-home__phone a { white-space: nowrap; }
}
@media (min-width: 360px) and (max-width: 767px) {
  .elementor .rr-hero-home__cta { flex-flow: row nowrap; }
  .elementor .rr-hero-home__phone { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 1.25; }
}

/* Sparkles section widths. Keep backgrounds full width and align the content edges. */
:root {
  --rr-section-max: 1800px;
  --rr-section-gutter: 32px;
  --rr-section-inset: max(var(--rr-section-gutter), calc((100% - var(--rr-section-max)) / 2));
}
@media (max-width: 767px) {
  :root { --rr-section-gutter: 16px; }
}
.elementor main.e-default-main > .e-con[class*=" rr-"]:not(.rr-legal, .rr-utility),
.elementor .rr-nav,
.elementor .rr-footer-wrap {
  padding-inline: var(--rr-section-inset);
}
.elementor main.e-default-main > :is(.rr-blog, .rr-post) {
  width: 100%;
  max-width: none;
}
.elementor .rr-post__head {
  max-width: 1028px;
  margin-inline: auto;
}
@media (min-width: 1441px) {
  .elementor :is(.rr-hero-inner__media, .rr-services__media, .rr-split__media) {
    flex-basis: clamp(564px, calc(40% - 6.4px), 714px);
    max-width: 714px;
  }
  .elementor .rr-hero-service__panel--media .rr-hero-service__media {
    flex-basis: clamp(568px, calc(42% - 20px), 714px);
    max-width: 714px;
  }
  .elementor .rr-hero-home__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .elementor .rr-hero-home__panel,
  .elementor .rr-hero-home__media { width: 100%; }
}

/* Breadcrumbs sit inside the page introduction, with the original navigation links. */
.elementor :is(.rr-hero-service__content, .rr-hero-inner__panel, .rr-intro__inner, .rr-legal__head) > .rr-crumbs {
  width: auto;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.elementor :is(.rr-hero-service__content, .rr-hero-inner__panel) > .rr-crumbs {
  order: -1;
  color: #d8d4ce;
  position: relative;
  z-index: 1;
}
.elementor :is(.rr-hero-service__content, .rr-hero-inner__panel) .rr-crumbs :is(.rr-crumbs__link, .rr-crumbs__link a, .rr-crumbs__sep) { color: #d8d4ce; }
.elementor :is(.rr-hero-service__content, .rr-hero-inner__panel) .rr-crumbs :is(.rr-crumbs__current, a:hover, a:focus-visible) { color: #fff; }
@media (min-width: 1025px) {
  .elementor .rr-hero-service__panel > .rr-hero-service__content {
    align-self: stretch;
    justify-content: flex-end;
    padding-block-start: 0;
  }
  .elementor :is(.rr-hero-service__content, .rr-hero-inner__panel) > .rr-crumbs { margin-block-end: auto; }
}

@media (max-width: 767px) {
  .elementor .rr-hero-inner__panel { gap: 16px; padding-block: 20px; }
  .elementor .rr-hero-inner__panel > .rr-actions { margin-block-start: 16px; }
  .elementor .rr-hero-inner__panel .rr-hero-inner__headline { row-gap: 12px; }
  .elementor .rr-hero-inner__panel .rr-hero-inner__title { font-size: clamp(32px, 10.8vw, 44px); }
  .elementor .rr-hero-inner__media { min-height: 96px; }
}

/* Share the tallest card's height and centre incomplete rows. */
.elementor .rr-areas__grid { grid-auto-rows: 1fr; }
.elementor .rr-areas__grid--wrap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.elementor .rr-areas__grid > .rr-areas-card { height: auto; align-self: stretch; }
.elementor .rr-areas__grid--wrap > .rr-areas-card { grid-column: span 2; width: 100%; margin: 0; }
@media (min-width: 1025px) {
  .elementor .rr-areas__grid--wrap > :nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
  .elementor .rr-areas__grid--wrap > :nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor .rr-areas__grid--wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .elementor .rr-areas__grid--wrap > :nth-child(odd):last-child { grid-column: 2 / span 2; }
}
@media (max-width: 767px) {
  .elementor .rr-areas__grid--wrap { grid-template-columns: minmax(0, 1fr); }
  .elementor .rr-areas__grid--wrap > .rr-areas-card { grid-column: auto; }
}

/* Article FAQ cards and native disclosure motion. */
.rr-post__body .rr-faq { gap: 10px; }
.rr-post__body .rr-faq .rr-faq__item {
  border: 1px solid #dedbd6;
  border-radius: 16px;
  background: #fff;
}
.rr-post__body .rr-faq .rr-faq__item[open] { border-color: #bdb7b1; }
.rr-post__body .rr-faq .rr-faq__q {
  padding: 16px clamp(16px, 3vw, 24px);
  gap: 16px;
  line-height: 1.35;
}
.rr-post__body .rr-faq .rr-faq__q:focus-visible { outline: 2px solid #b9232b; outline-offset: 2px; }
.single-post .elementor .rr-post__body .rr-faq details.rr-faq__item > summary.rr-faq__q::after {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: #b9232b;
  background: linear-gradient(currentColor,currentColor) center / 14px 2px no-repeat,
              linear-gradient(currentColor,currentColor) center / 2px 14px no-repeat #faedef;
}
.single-post .elementor .rr-post__body .rr-faq details.rr-faq__item[open] > summary.rr-faq__q::after {
  background-size: 14px 2px, 2px 0px;
}
.rr-post__body .rr-faq .rr-faq__a { padding: 0 clamp(16px, 3vw, 24px); }
.rr-post__body .rr-faq .rr-faq__a::after { content: ''; display: block; height: 20px; }
.rr-post__body .rr-faq .rr-faq__a p { font-family: var(--rr-font-body, 'Bricolage Grotesque'), sans-serif; }
@media (prefers-reduced-motion: no-preference) {
  .rr-post__body .rr-faq .rr-faq__q::after { transition: background-size 180ms ease; }
  @supports selector(details::details-content) and (transition-behavior: allow-discrete) {
    .rr-post__body .rr-faq__item::details-content {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 240ms ease, content-visibility 240ms allow-discrete;
    }
    .rr-post__body .rr-faq__item[open]::details-content { grid-template-rows: 1fr; }
    .rr-post__body .rr-faq .rr-faq__a { min-height: 0; overflow: hidden; }
  }
}

/* Homepage entrance animations: keep the artwork still for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  body.home .rr-why-card__image[data-interaction-id="440380b5"],
  body.home .rr-accent[data-interaction-id="c89b092"] {
    transform: none !important;
  }
  body.home .rr-accent[data-interaction-id="52777f91"] {
    transform: scaleY(-1) !important;
  }
}
