/* Shared front-end/editor hero styles; deliberately scoped to this section only. */
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero {
  --sp9-hero-gutter: clamp(24px, 6.25vw, 100px);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: clamp(660px, 80svh, 860px);
  margin-inline: 0;
  padding: 0;
  inset-inline: auto;
  background: #394D42;
  color: #E7E9DF;
  font-family: 'Arial Nova', Arial, sans-serif;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(57,77,66,.90) 0%, rgba(57,77,66,.72) 39%, rgba(57,77,66,.20) 76%, rgba(57,77,66,.10) 100%), linear-gradient(0deg, rgba(57,77,66,.46), rgba(57,77,66,0) 65%);
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #394D42;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 57% 48%;
  transform: scale(1.08);
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-content {
  box-sizing: border-box;
  flex: 0 1 auto;
  position: relative;
  z-index: 1;
  inset-inline: auto;
  transform: none;
  width: calc(100% - 2 * var(--sp9-hero-gutter));
  max-width: 1420px;
  min-width: 0;
  margin-inline: auto !important;
  padding: clamp(80px, 8vw, 120px) 0 clamp(64px, 7vw, 100px);
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #E7E9DF;
  font-family: 'Arial Nova', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .10em;
  text-transform: none;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-kicker::before {
  content: '';
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 2px;
  margin: 0;
  background: #EC671A;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-title {
  box-sizing: border-box;
  width: 100%;
  max-width: 790px;
  min-width: 0;
  margin: 28px 0 24px;
  padding: 0;
  color: #E7E9DF;
  font-family: 'Arial Nova', Arial, sans-serif;
  font-size: clamp(46px, 5.6vw, 86px);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-lead {
  max-width: 490px;
  margin: 0;
  color: #E7E9DF;
  font-family: 'Arial Nova', Arial, sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .wp-block-button {
  max-width: 100%;
  margin: 0;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .wp-block-button__link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 54px;
  max-width: 100%;
  padding: 16px 26px;
  border: 1px solid #E7E9DF;
  border-radius: 2px;
  background: #E7E9DF;
  color: #394D42;
  font-family: 'Arial Nova', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: normal;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .sp9-btn-outline .wp-block-button__link {
  border-color: rgba(231,233,223,.65);
  background: rgba(57,77,66,.24);
  color: #E7E9DF;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .sp9-btn-light .wp-block-button__link:hover {
  border-color: #C3CBB7;
  background: #C3CBB7;
  color: #394D42;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .sp9-btn-outline .wp-block-button__link:hover {
  border-color: #E7E9DF;
  background: #E7E9DF;
  color: #394D42;
}
:is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .wp-block-button__link:focus-visible {
  outline: 3px solid #EC671A;
  outline-offset: 5px;
}
@media (max-width: 960px) {
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero { min-height: 700px; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-content { padding-block: 84px 72px; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-title { max-width: 660px; font-size: clamp(48px, 7vw, 66px); }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-photo img { object-position: 60% center; }
}
@media (max-width: 600px) {
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero {
    min-height: 660px;
    min-height: max(640px, calc(100svh - 84px));
  }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero::after {
    background: linear-gradient(0deg, rgba(57,77,66,.94) 0%, rgba(57,77,66,.75) 48%, rgba(57,77,66,.28) 100%);
  }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-content { padding-block: 96px 52px; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-title { max-width: 100%; margin-block: 24px 20px; font-size: clamp(38px, 10.5vw, 58px); line-height: 1.13; letter-spacing: -.03em; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-photo img { object-position: 62% center; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-kicker { font-size: 10px; letter-spacing: .07em; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-hero-lead { max-width: 360px; font-size: 16px; line-height: 1.75; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons { margin-top: 28px; gap: 10px; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .wp-block-button__link { min-width: 0; min-height: 52px; padding: 15px 20px; }
}
@media (max-width: 360px) {
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .wp-block-button { flex: 1 1 100%; }
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .wp-block-button__link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.sp9-home, .editor-styles-wrapper) .sp9-hero .sp9-buttons .wp-block-button__link { transition: none; }
}
