.hgr-sections {
  width: calc(100% + var(--bs-gutter-x, 1.5rem));
  max-width: none;
  margin-inline: calc(var(--bs-gutter-x, 1.5rem) / -2);
  color: var(--dark-blue, #002b44);
}

:has(.hgr-sections) .page-header {
  display: none;
}

.hgr-sections h2,
.hgr-sections p {
  margin: 0;
}

.hgr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 40px 0;
  background: #fff;
}

.hgr + .hgr {
  padding-top: 0;
}

.hgr__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: clamp(16px, 5.556vw, 80px);
  box-sizing: border-box;
}

.hgr__heading {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--light-blue, #0084b1);
}

.hgr-sections .hgr__title {
  margin: 0 !important;
  color: var(--light-blue, #0084b1) !important;
  font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-synthesis: none;
  letter-spacing: 0 !important;
  white-space: nowrap;
  font-size: calc(min(100vw, 1440px) * 98 / 1440) !important;
  line-height: calc(min(100vw, 1440px) * 124 / 1440) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hgr--stacked-title .hgr__title {
  line-height: calc(min(100vw, 1440px) * 98 / 1440) !important;
}

.hgr-sections .hgr__subtitle {
  margin: 0 !important;
  color: var(--light-blue, #0084b1) !important;
  font-weight: 400 !important;
  font-size: calc(min(100vw, 1440px) * 38 / 1440) !important;
  line-height: calc(min(100vw, 1440px) * 40 / 1440) !important;
}

.hgr-sections .hgr__description {
  margin: 0 !important;
  flex: 0 1 609px;
  max-width: 609px;
  color: var(--dark-blue, #002b44) !important;
  font-weight: 400 !important;
  font-size: calc(min(100vw, 1440px) * 22 / 1440) !important;
  line-height: normal !important;
}

.hgr__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding-inline: clamp(16px, 5.556vw, 80px);
  box-sizing: border-box;
}

.hgr__card {
  margin: 0;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.hgr__card.is-hidden {
  display: none;
}

.hgr__media {
  display: block;
  cursor: zoom-in;
  position: relative;
  width: 100%;
  height: 316px;
  overflow: hidden;
  border: 1px solid #c3c3c3;
  border-radius: 16px;
}

.hgr__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hgr__media:focus-visible {
  outline: 3px solid var(--light-blue, #0084b1);
  outline-offset: 4px;
}

.hgr-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 64px 20px;
  border: 0;
  background: transparent;
  color: #fff;
}

.hgr-lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hgr-lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.hgr-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 128px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.hgr-lightbox__close {
  padding: 0;
  box-sizing: border-box;
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.hgr-lightbox__close::before,
.hgr-lightbox__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.hgr-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hgr__actions {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-inline: clamp(16px, 5.556vw, 80px);
  box-sizing: border-box;
}

.hgr__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: 0;
  border-radius: 32px;
  background: var(--dark-blue, #002b44);
  color: #fff;
  font-size: calc(min(100vw, 1440px) * 26 / 1440);
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hgr__load-more:hover {
  background: #003a5c;
  transform: translateY(-1px);
}

@media (min-width: 1440px) {
  .hgr-sections .hgr__title {
    font-size: 98px !important;
    line-height: 124px !important;
  }

  .hgr--stacked-title .hgr__title {
    line-height: 98px !important;
  }

  .hgr-sections .hgr__subtitle {
    font-size: 38px !important;
    line-height: 40px !important;
  }

  .hgr-sections .hgr__description {
    font-size: 22px !important;
  }

  .hgr__load-more {
    font-size: 26px;
  }
}

@media (max-width: 991.98px) {
  .hgr {
    gap: 16px;
    padding: 12px 0;
  }

  .hgr__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .hgr-sections .hgr__title {
    white-space: normal;
    font-size: 2.375rem !important;
    line-height: 1.15 !important;
  }

  .hgr--stacked-title .hgr__title {
    line-height: 1.15 !important;
  }

  .hgr-sections .hgr__subtitle {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
  }

  .hgr-sections .hgr__description {
    max-width: none;
    flex: none;
    color: var(--light-gray, #879ea1) !important;
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .hgr__grid {
    grid-template-columns: 1fr;
  }

  .hgr__card {
    padding: 12px;
  }

  .hgr__media {
    height: min(359px, 72vw);
  }

  .hgr__load-more {
    padding: 12px 24px;
    font-size: 1.125rem;
  }
}
