/* Scoped enhancement on audited site templates. */
.ra-layout {
  --ra-ink: #142d2d;
  --ra-paper: #f7f6ef;
  --ra-accent: #ffcf54;
  --ra-panel: #103637;
  --ra-choice-border: #41685f;
}
.ra-layout.be-unified { --ra-ink: #182946; --ra-paper: #f3f6fd; --ra-panel: #172e54; --ra-choice-border: #435c83; }
.ra-layout.be-retail { --ra-paper: #fff5df; --ra-panel: #253a28; --ra-choice-border: #55704a; --ra-accent: #ffcc6d; }
.ra-layout.be-hospitality { --ra-ink: #311c29; --ra-paper: #fbf2f0; --ra-panel: #492939; --ra-choice-border: #805365; --ra-accent: #ffcf93; }
.ra-layout.be-facility { --ra-ink: #163639; --ra-paper: #edf5f1; --ra-panel: #174447; --ra-choice-border: #487070; --ra-accent: #c4f1b6; }
.ra-layout.be-industry { --ra-paper: #f2f2eb; --ra-panel: #223739; --ra-choice-border: #586d68; --ra-accent: #f6d46e; }
.ra-layout .ra-homehero {
  color: var(--ra-ink);
  background: var(--ra-paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.3rem, 5vw, 4rem);
  padding: clamp(1.25rem, 5vw, 4.25rem) max(clamp(1rem, 4vw, 3rem), calc((100vw - 1320px) / 2));
  align-items: center;
}
.ra-layout .ra-homehero :is(.ra-offer,.ra-choice) { min-width: 0; }
.ra-layout .ra-homehero .ra-audience { margin: 0 0 1rem; font-size: .875rem; font-weight: 700; line-height: 1.3; }
.ra-layout .ra-homehero h1 { font-size: clamp(2rem, 4.8vw, 4.05rem); line-height: 1.02; margin: 0; letter-spacing: -.03em; overflow-wrap: break-word; color: inherit; }
.ra-layout .ra-homehero .ra-lead { font-size: clamp(1rem, 1.6vw, 1.22rem); line-height: 1.5; margin: 1rem 0 1.3rem; max-width: 53ch; }
.ra-layout .ra-pay { margin: .7rem 0 0; font-size: .9rem; }
.ra-layout .be-cover .ra-pay { color: inherit; }
.ra-layout .ra-choice {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--ra-panel);
  color: #fff;
}
.ra-layout .ra-choice h2 { color: inherit; margin: 0; padding: .85rem 1.1rem; font-size: 1.15rem; line-height: 1.3; }
.ra-layout .ra-choice-links { display: grid; }
.ra-layout .ra-choice-links a {
  display: grid;
  gap: .24rem;
  min-height: 56px;
  padding: .65rem 1.1rem;
  line-height: 1.25;
  color: inherit;
  border-top: 1px solid var(--ra-choice-border);
  text-decoration: none;
}
.ra-layout .ra-choice-links strong { text-decoration: underline; text-underline-offset: .15em; }
.ra-layout .ra-choice-links span { font-size: .85rem; }
.ra-layout .ra-choice-links a:hover { background: #ffffff17; }
.ra-layout .ra-visual { overflow: hidden; background: #183338; }
.ra-layout .ra-visual :is(picture, img, figure) { position: static; display: block; width: 100%; margin: 0; }
.ra-layout .ra-visual img { height: clamp(120px, 14vw, 205px); max-height: none; object-fit: cover; object-position: center 57%; }
.ra-layout.be-hospitality .ra-visual img { object-position: center 47%; }
.ra-layout.be-facility .ra-choice { border-radius: .45rem; }
.ra-layout.be-industry .ra-choice { border-radius: .25rem 1rem .25rem .25rem; }
.ra-layout.be-retail .ra-choice-links { grid-template-columns: 1fr 1fr; }
.ra-layout.be-retail .ra-choice-links a:nth-child(2n) { border-left: 1px solid var(--ra-choice-border); }
.ra-layout :is(.ra-homehero,.ra-bar) .ra-action {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  max-width: 100%; padding: .66rem .9rem; border-radius: .4rem; background: var(--ra-accent);
  color: #12242a; text-decoration: none; text-align: center; font-weight: 750; line-height: 1.25;
}
.ra-layout :is(.ra-homehero,.ra-bar) a:focus-visible { outline: 3px solid #1a7bae; outline-offset: 3px; }
.ra-layout .ra-choice a:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
body.ra-layout .ra-bar { display: none; }
@media (min-width: 48rem) {
  .ra-layout .ra-homehero { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); }
}
@media (max-width: 47.999rem) {
  body.ra-layout :is(header,.mast,.topbar) [data-placement="sticky_header"] { display: none; }
  body.ra-layout .ra-bar:not([hidden]) {
    position: fixed; z-index: 40; inset: auto 0 0; display: flex; justify-content: center; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #cbd8d2;
  }
  body.ra-layout .ra-bar .ra-action { width: min(100%, 34rem); }
  body.ra-layout:has(.ra-bar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
@media (max-width: 24rem) {
  .ra-layout.be-retail .ra-choice-links { grid-template-columns: 1fr; }
  .ra-layout.be-retail .ra-choice-links a:nth-child(2n) { border-left: 0; }
}

.ra-layout.ra-partner-mode :is(header,.mast,.topbar) [data-placement="sticky_header"][data-company] { background: transparent; color: var(--ra-ink); text-decoration: underline; box-shadow: none; border-color: transparent; }
