/* Shared top corners for the facility landing sections. */
body.frontdoor-preview {
  --landing-curve:clamp(48px,8vw,112px);
}
body.frontdoor-preview .press-section {
  border-radius:var(--landing-curve) var(--landing-curve) 0 0;
}
body.frontdoor-preview .section-panel {
  position:relative;
  isolation:isolate;
  background:var(--preceding-surface);
}
body.frontdoor-preview .section-panel::before {
  content:"";
  position:absolute;
  inset:0;
  background:var(--section-surface);
  border-radius:var(--landing-curve) var(--landing-curve) 0 0;
  pointer-events:none;
}
body.frontdoor-preview .section-panel > *,
body.frontdoor-preview.frontdoor-light .section-panel > * {
  position:relative;
  background:transparent;
  border-top:0;
  border-bottom:0;
}
body.frontdoor-preview .section-professions {
  --preceding-surface:#e68c3a;
  --section-surface:#fff;
}
body.frontdoor-preview .section-fulltime {
  --preceding-surface:#fff;
  --section-surface:#1a334e;
}
body.frontdoor-preview .section-directory {
  --preceding-surface:#1a334e;
  --section-surface:#14283e;
}
body.frontdoor-preview .section-settings {
  --preceding-surface:#14283e;
  --section-surface:#1a334e;
}
body.frontdoor-preview .section-how {
  --preceding-surface:#1a334e;
  --section-surface:#14283e;
}
body.frontdoor-preview .section-footer {
  --preceding-surface:#14283e;
  --section-surface:#102338;
}
body.frontdoor-preview .categories {
  --ink:#213e60;
  --muted:#61738c;
  color-scheme:light;
  color:#213e60;
  padding-top:48px;
  padding-bottom:48px;
}
body.frontdoor-preview .category-heading h2 > span {
  color:#213e60;
}
body.frontdoor-preview .category-caption {
  color:#61738c;
}
body.frontdoor-preview .profession-chip.active {
  color:#b96012;
}
body.frontdoor-preview .profession-chip.active::after {
  background:#e68c3a;
}
body.frontdoor-preview .directory,
body.frontdoor-preview .settings-section,
body.frontdoor-preview .site-footer {
  padding-top:48px;
}
body.frontdoor-preview.frontdoor-light .section-fulltime {
  --section-surface:#213e60;
}
body.frontdoor-preview.frontdoor-light .section-directory {
  --preceding-surface:#213e60;
  --section-surface:#fff;
}
body.frontdoor-preview.frontdoor-light .section-settings {
  --preceding-surface:#fff;
  --section-surface:#f5f7fb;
}
body.frontdoor-preview.frontdoor-light .section-how {
  --preceding-surface:#f5f7fb;
  --section-surface:#fff;
}
body.frontdoor-preview.frontdoor-light .section-footer {
  --preceding-surface:#fff;
  --section-surface:#fff;
}
@media (max-width:600px) {
  body.frontdoor-preview .categories,
  body.frontdoor-preview .directory,
  body.frontdoor-preview .settings-section,
  body.frontdoor-preview .site-footer {
    padding-top:32px;
  }
  body.frontdoor-preview .categories { padding-bottom:40px; }
}
