html,
body {
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 2000;
  padding: 0.5rem 0.75rem;
  color: #1c1c1c;
  background: #f8f9fa;
  border-radius: 0 0 8px 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 12px));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#main_header {
  min-height: 64px;
  height: auto;
}

#main_header figure {
  margin: 0;
}

#main_header .top_brand {
  padding: 12px 0;
}

#main_header .top_brand.nav-sticky {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1080;
}

#main_header .top_brand .row {
  row-gap: 12px;
}

#main_header .top_brand img {
  width: auto;
  max-width: 150px;
  height: auto;
}

#main_header .header-actions {
  display: flex;
  align-items: center;
}

#main_header .navbar-toggler {
  border-color: rgba(248, 249, 250, 0.72);
  background: rgba(28, 28, 28, 0.42);
}

#main_header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(164, 93, 11, 0.35);
}

#main_header .navbar-toggler-icon {
  filter: invert(1) grayscale(1);
}

.content-header .content-header__copy {
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: min(900px, 74vw);
  gap: 0.7rem;
  justify-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
}

.content-header .content-header__copy .header-title,
.content-header .content-header__copy .header-subtitle {
  position: static;
  top: auto;
  left: auto;
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: none;
}

.content-header .content-header__copy .header-title {
  min-width: min(100%, 900px);
  line-height: 1.15;
}

.content-header .content-header__copy .header-subtitle {
  line-height: 1.25;
}

.content-header .content-header__copy .header-subtitle--kicker {
  width: auto;
  padding: 0.35rem 0.75rem;
  color: #f8f9fa;
  background: rgba(28, 28, 28, 0.62);
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  text-transform: uppercase;
}

.content-header .content-header__copy .header-subtitle--summary {
  width: min(100%, 800px);
  font-size: clamp(0.9rem, 1.65vw, 1.35rem);
}

.site-footer .border-section-top {
  position: relative;
  overflow: visible;
}

.site-footer .border-section-top::before,
.site-footer .border-section-top::after {
  position: absolute;
  top: -15px;
  width: 170px;
  height: 80px;
  content: "";
  z-index: 3;
  background: #a45d0b;
  pointer-events: none;
}

.site-footer .border-section-top > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  #main_header {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.82), rgba(28, 28, 28, 0.28));
  }

  #main_header .top_brand .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
  }

  #main_header .top_brand .col-lg-2:first-child {
    flex: 0 0 auto;
    width: auto;
    padding-right: 0.5rem;
    padding-left: 0;
  }

  #main_header .top_brand .col-lg-8 {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  #main_header .top_brand .col-lg-2:last-child {
    flex: 0 0 auto;
    width: auto;
    padding-right: 0;
    padding-left: 0.5rem;
  }

  #main_header nav.navbar {
    justify-content: flex-end;
    padding: 0;
  }

  #main_header .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 24px));
    padding: 0.5rem;
    background: rgba(28, 28, 28, 0.96);
    border: 1px solid rgba(248, 249, 250, 0.12);
    border-radius: 8px;
  }

  #main_header .offcanvas-collapse {
    position: fixed;
    top: 0;
    right: 100%;
    bottom: 0;
    left: auto;
    z-index: 1090;
    display: block;
    width: 100%;
    padding: 5.5rem 1.25rem 2rem;
    overflow-y: auto;
    visibility: hidden;
    background: rgba(28, 28, 28, 0.97);
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  #main_header .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(100%);
  }

  #main_header .offcanvas-collapse .navbar-nav {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  #main_header .offcanvas-collapse .nav-link {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    color: #f8f9fa;
    border-bottom: 1px solid rgba(248, 249, 250, 0.12);
  }

  #main_header .nav-span {
    position: fixed;
    top: 18px;
    right: 16px;
    z-index: 1101;
  }

  #main_header .navbar-nav {
    gap: 0;
  }

  #main_header nav.navbar .nav-link {
    padding: 0.7rem 0.85rem;
  }

  #main_header .header-actions .gest-btn {
    min-height: 40px;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  #front-page.gest-landing .gest-hero {
    padding-top: 112px;
  }

  #front-page.gest-landing .gest-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #front-page.gest-landing .gest-hero__content,
  #front-page.gest-landing .gest-hero__card,
  #front-page.gest-landing .gest-hero__visual,
  #front-page.gest-landing .gest-hero__visual img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #front-page.gest-landing .gest-hero h1,
  #front-page.gest-landing .gest-hero .h1,
  #front-page.gest-landing .gest-hero__lead,
  #front-page.gest-landing .gest-hero__value,
  #front-page.gest-landing .gest-hero__proof li {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #front-page.gest-landing .gest-hero h1,
  #front-page.gest-landing .gest-hero .h1 {
    font-size: clamp(2rem, 7vw, 2.45rem);
  }

  #front-page.gest-landing .gest-hero__content .gest-actions {
    display: flex;
    flex-wrap: wrap;
  }

  #front-page.gest-landing .gest-btn {
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .ntw-site .site-main,
  .ntw-site .site-footer,
  .ntw-site section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .ntw-site .container,
  .ntw-site .container-fluid {
    max-width: 100vw;
  }

  .ntw-site .site-main > section:not(.content-header) .container,
  .ntw-site .site-main > div:not(#front-page) .container {
    width: min(330px, calc(100vw - 24px)) !important;
    max-width: min(330px, calc(100vw - 24px)) !important;
    margin-right: auto;
    margin-left: auto;
  }

  .ntw-site p,
  .ntw-site li,
  .ntw-site h1,
  .ntw-site h2,
  .ntw-site h3,
  .ntw-site h4,
  .ntw-site h5,
  .ntw-site h6 {
    overflow-wrap: anywhere;
  }

  #main_header .top_brand img {
    max-width: 116px;
    max-height: 38px;
  }

  .content-header .content-header__copy {
    top: 50%;
    left: 14px;
    width: min(330px, 86vw);
    max-width: min(330px, 86vw);
    gap: 0.5rem;
    transform: translateY(-50%);
  }

  .content-header .content-header__copy .header-title {
    min-width: 0;
    padding: 0.55rem 0.75rem;
    font-size: clamp(1rem, 5.6vw, 1.35rem);
  }

  .content-header .content-header__copy .header-subtitle--summary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0.55rem 0.7rem;
    font-size: clamp(0.85rem, 3.8vw, 1rem);
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  #front-page.gest-landing .gest-hero {
    padding-top: 96px;
  }

  #front-page.gest-landing .gest-hero .container {
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  #front-page.gest-landing .gest-hero__grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #front-page.gest-landing .gest-hero__content {
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: min(360px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
  }

  #front-page.gest-landing .gest-hero__card {
    display: none;
  }

  #front-page.gest-landing .gest-hero h1,
  #front-page.gest-landing .gest-hero .h1 {
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: min(360px, calc(100vw - 24px)) !important;
    font-size: clamp(1.75rem, 7.6vw, 2rem);
    line-height: 1.12;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere !important;
  }

  #front-page.gest-landing .gest-hero__lead,
  #front-page.gest-landing .gest-hero__value {
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: min(360px, calc(100vw - 24px)) !important;
    font-size: 0.98rem;
    line-height: 1.58;
    text-align: left;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere !important;
  }

  #front-page.gest-landing .gest-hero__proof,
  #front-page.gest-landing .gest-hero__proof li {
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: min(360px, calc(100vw - 24px)) !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere !important;
  }

}

.gest-section__intro .gest-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.cms-list-section .gest-section__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.cms-list-section .gest-section__intro h2,
.cms-list-section .gest-section__intro p {
  margin: 0;
}

.cms-empty-state {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px;
  border: 1px solid rgba(8, 18, 33, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #1b2a3a;
  text-align: center;
}

.cms-empty-state p {
  margin: 0;
  font-weight: 700;
}
