/* The Compass layout corrections
   Connect this file after all current CSS files. */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}

body {
  position: relative;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.row>*,
.card-inner,
.bento-block,
.accordion,
.contacts-form-wrapper,
.contacts-mini-block {
  min-width: 0;
}

/* Nav: overrides the inline width on <nav style="width: calc(100% - 3rem);">. */
nav,
nav[style] {
  width: calc(100% - 4rem) !important;
  max-width: calc(100% - 4rem);
}

@media (max-width: 992px) {

  nav,
  nav[style] {
    width: calc(100% - 1rem) !important;
    max-width: calc(100% - 1rem);
  }
}

/* Mobile/desktop menu: avoid a fixed 100%-wide panel shifted by right offsets. */
.menu-container {
  left: 1rem;
  right: 1rem;
  width: auto;
  max-width: calc(100% - 2rem);
  pointer-events: none;
  will-change: transform, opacity, clip-path;
}

.menu-container.is-open {
  pointer-events: auto;
}

@media (max-width: 900px) {
  .menu-container {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .menu-container::before {
    left: 0;
    right: 0;
    width: 100%;
  }

  .menu-items {
    max-height: min(78vh, 640px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

html.menu-is-open,
body.menu-is-open {
  overflow: hidden;
}

/* Bento section: 50% + 50% plus gap was wider than the parent. */
.bento-line {
  --bento-gap: 1rem;
  gap: var(--bento-gap);
}

@media (min-width: 993px) {

  .bento-line-top .bento-block-01,
  .bento-line-top .bento-block-02 {
    flex: 0 1 calc((100% - var(--bento-gap)) / 2);
  }

  .bento-line-bottom .bento-block-03 {
    flex: 0 1 calc((100% - var(--bento-gap)) * 0.6);
  }

  .bento-line-bottom .bento-block-04 {
    flex: 0 1 calc((100% - var(--bento-gap)) * 0.4);
  }
}

/* Swiper intentionally shows adjacent slides; keep that from widening the page. */
.intro-swiper-wrapper,
.events-swiper {
  overflow: hidden;
}

.swiper,
.swiper-wrapper {
  max-width: 100%;
}

/* Long labels and contact strings should wrap instead of pushing columns. */
.btn-btn {
  min-width: 0;
  max-width: 100%;
  letter-spacing: 0;
}

.btn-btn span:not(.button-icon),
.contacts-mini-block .button-email,
.contacts-address-line,
.footer-top-address {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .contacts-mini-block {
    padding: 1rem;
    font-size: 1rem;
  }

  .contacts-mini-block .button-email {
    font-size: 1.15rem;
  }

  .footer-bottom-left {
    width: 100%;
    gap: 1rem;
  }

  .footer-bottom-left span {
    width: auto;
  }
}

/* Replacement for the malformed rule in buttons.css. */
@media (max-width: 992px) {
  .btn-btn {
    height: 3rem !important;
  }
}

/* New PDF card above the existing information pill. */
.hero-file-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-file-swiper {
  width: 100%;
  max-width: none;
  overflow: visible;
  padding: 0;
}

.hero-file-swiper .swiper-slide {
  height: auto;
}

@media (min-width: 992px) {
  .hero-file-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transform: none !important;
  }

  .hero-file-swiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 1;
  }
}

.compass-download-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  max-width: 320px;
  min-height: 96px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  background: #0f3230;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(15, 50, 48, 0.18);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.compass-download-card:hover {
  color: #fff;
  background: #196a64;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 50, 48, 0.24);
}

.compass-download-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #e8e9e9;
}

.compass-download-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.compass-download-card__eyebrow {
  margin-bottom: 0.2rem;
  color: #a7b9b8;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.compass-download-card__title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.18;
}

.compass-download-card__meta {
  margin-top: 0.25rem;
  color: #d8e1e0;
  font-size: 0.78rem;
  line-height: 1.2;
}

@media (max-width: 768px) {

  .hero-file-stack,
  .compass-download-card {
    max-width: 100%;
  }

  .compass-download-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 88px;
  }
}

@media (max-width: 991.98px) {
  .hero-file-stack.hero-file-swiper {
    display: block;
    max-width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
  }

  .hero-file-stack.hero-file-swiper:active {
    cursor: grabbing;
  }

  .hero-file-swiper .swiper-wrapper {
    flex-direction: row;
    gap: 0;
    transition-timing-function: linear !important;
  }

  .hero-file-swiper .swiper-slide {
    width: 85%;
    flex-shrink: 0;
  }

  .hero-file-swiper .compass-download-card,
  .hero-file-swiper .hero-file-information {
    max-width: none;
    min-height: 96px;
  }
}

@media (max-width: 450px) {
  .hero-file-swiper .swiper-slide {
    width: 82%;
  }

  .hero-file-swiper .compass-download-card,
  .hero-file-swiper .hero-file-information {
    min-height: 92px;
  }
}

@media (max-width: 374px) {
  .compass-download-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .compass-download-card__title {
    font-size: 0.92rem;
  }
}