@font-face {
  font-family: "Adigiana 2";
  src: url("fonts/adigiana2.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/noto-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/noto-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/noto-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/noto-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/noto-sans-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --gd37-ink: #174d3d;
  --gd37-copy: #335f51;
  --gd37-muted: #70837b;
  --gd37-orange: #f58b2a;
  --gd37-orange-strong: #f47c20;
  --gd37-yellow: #f9c33d;
  --gd37-green: #71b93a;
  --gd37-blue: #27a8c6;
  --gd37-paper: #fffdf8;
  --gd37-cream: #fff9ed;
  --gd37-pale-green: #e9f3dd;
}

.gd37-page {
  margin: 0;
  min-width: 320px;
  color: var(--gd37-ink);
  background: var(--gd37-cream);
  font-family: "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.gd37-page img {
  display: block;
  max-width: 100%;
}

.gd37-page a {
  color: inherit;
  text-decoration: none;
}

.gd37-page button,
.gd37-page input,
.gd37-page select,
.gd37-page textarea {
  font: inherit;
}

.gd37-shell {
  width: min(100% - 110px, 1330px);
  margin-inline: auto;
}

.gd37-header {
  position: relative;
  z-index: 100;
  height: 104px;
  background: var(--gd37-paper);
}

.gd37-header__inner {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 242px;
  align-items: center;
  height: 100%;
  gap: 30px;
}

@media (min-width: 1221px) {
  .gd37-header__inner {
    width: min(100% - 160px, 1280px);
  }
}

.gd37-brand {
  position: relative;
  display: block;
  align-self: stretch;
  width: 170px;
}

.gd37-brand__logo {
  position: absolute;
  top: 2px;
  left: 4px;
  width: 144px;
  height: auto;
}

.gd37-brand__city {
  position: absolute;
  right: 0;
  bottom: 13px;
  z-index: 2;
  min-width: 60px;
  padding: 4px 8px 3px;
  border: 1.5px solid var(--gd37-blue);
  border-radius: 999px;
  color: #167e96;
  background: var(--gd37-paper);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.gd37-nav {
  justify-self: stretch;
  width: 100%;
}

.gd37-nav__list,
.gd37-nav__submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd37-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(22px, 2.2vw, 38px);
}

.gd37-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.gd37-nav__item > a {
  position: relative;
  padding: 13px 0;
  color: var(--gd37-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gd37-nav__item--active > a::after {
  position: absolute;
  right: -4px;
  bottom: 5px;
  left: -4px;
  height: 9px;
  background: url("icons/nav-underline.svg") center / 100% 100% no-repeat;
  content: "";
}

.gd37-nav__submenu-toggle {
  width: 15px;
  height: 15px;
  margin: 0 0 1px 5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gd37-nav__submenu-toggle::before {
  display: block;
  width: 8px;
  height: 8px;
  margin: -2px auto 0;
  border-right: 2px solid var(--gd37-ink);
  border-bottom: 2px solid var(--gd37-ink);
  content: "";
  transform: rotate(45deg);
}

.gd37-nav__submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: -22px;
  min-width: 240px;
  padding: 14px;
  border: 1px solid #dce9d0;
  border-radius: 20px;
  background: var(--gd37-paper);
  box-shadow: 0 16px 35px rgba(23, 77, 61, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.gd37-nav__submenu li + li {
  margin-top: 3px;
}

.gd37-nav__submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--gd37-ink);
  font-size: 13px;
  font-weight: 700;
}

.gd37-nav__submenu a:hover,
.gd37-nav__submenu a:focus-visible {
  background: var(--gd37-pale-green);
}

.gd37-nav__item:hover > .gd37-nav__submenu,
.gd37-nav__item:focus-within > .gd37-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gd37-header-phone {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  min-width: 242px;
}

.gd37-header-phone__icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--gd37-pale-green);
}

.gd37-header-phone__icon img {
  width: 39px;
  height: 39px;
}

.gd37-header-phone__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gd37-header-phone__copy small {
  color: var(--gd37-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gd37-header-phone__copy strong {
  color: var(--gd37-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.gd37-menu-toggle {
  display: none;
}

.gd37-main {
  overflow: hidden;
}

.gd37-hero {
  position: relative;
  min-height: 908px;
  overflow: hidden;
  background: var(--gd37-cream);
}

.gd37-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 760px;
  overflow: hidden;
  background: #c9d2cb;
}

.gd37-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 77, 61, .03), transparent 55%);
  content: "";
}

.gd37-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gd37-hero__layout {
  position: relative;
  min-height: 908px;
}

.gd37-hero__rays {
  position: absolute;
  top: 15px;
  right: 40px;
  z-index: 4;
  width: 112px;
  height: 94px;
}

.gd37-hero-card {
  position: absolute;
  top: 74px;
  left: 0;
  z-index: 5;
  width: min(596px, 48vw);
  min-height: 540px;
}

.gd37-hero-card__surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gd37-hero-card__content {
  position: relative;
  z-index: 1;
  padding: 38px 38px 25px;
}

.gd37-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--gd37-ink);
  background: var(--gd37-pale-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1;
  text-transform: uppercase;
}

.gd37-kicker span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gd37-green);
}

.gd37-hero-card__title {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--gd37-ink);
  font-family: "Adigiana 2", cursive;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .005em;
}

.gd37-hero-card__title span {
  color: var(--gd37-orange-strong);
}

.gd37-title-underline {
  display: block;
  width: 366px;
  max-width: 84%;
  height: 12px;
  margin: 5px 0 50px;
  border-bottom: 6px solid var(--gd37-yellow);
  border-radius: 0 0 70% 55%;
  transform: rotate(-1deg);
}

.gd37-hero-card__lead {
  margin: 0 0 44px;
  color: var(--gd37-copy);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
}

.gd37-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gd37-button:hover,
.gd37-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(23, 77, 61, .16);
}

.gd37-button--orange {
  background: var(--gd37-orange);
}

.gd37-page .gd37-button--orange {
  color: white;
}

.gd37-button--orange img {
  width: 22px;
  filter: brightness(0) invert(1);
}

.gd37-hero-card__meta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 18px;
}

.gd37-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.gd37-meta-item img {
  flex: 0 0 auto;
  width: 39px;
  height: 44px;
}

.gd37-meta-item:nth-child(2) img {
  width: 42px;
  height: 42px;
}

.gd37-meta-item strong {
  color: var(--gd37-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.gd37-hero-video {
  position: absolute;
  top: 235px;
  right: 49px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.gd37-hero-video__play {
  display: grid;
  width: 103px;
  height: 103px;
  place-items: center;
  border: 2px solid var(--gd37-yellow);
  border-radius: 50%;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 5px 14px rgba(23, 77, 61, .08);
}

.gd37-hero-video a.gd37-hero-video__play {
  transition: transform .2s ease, background .2s ease;
}

.gd37-hero-video a.gd37-hero-video__play:hover,
.gd37-hero-video a.gd37-hero-video__play:focus-visible {
  background: white;
  transform: scale(1.04);
}

.gd37-hero-video__play img {
  width: 64px;
  height: 64px;
}

.gd37-hero-video__caption {
  min-width: 240px;
  padding: 12px 25px;
  border-radius: 999px;
  color: var(--gd37-ink);
  background: rgba(255, 253, 248, .96);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.gd37-hero-stats {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 260px 325px 330px minmax(0, 1fr);
  min-height: 243px;
  margin: 0;
  padding: 35px 56px 46px;
}

.gd37-hero-stats__surface {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.gd37-stat {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 42px 41px 0;
}

.gd37-stat:first-child {
  padding-left: 0;
}

.gd37-stat:first-of-type {
  padding-left: 0;
}

.gd37-stat:nth-of-type(2),
.gd37-stat:nth-of-type(3) {
  padding-left: 44px;
}

.gd37-stat:nth-of-type(4) {
  padding-left: 41px;
}

.gd37-stat:last-child {
  padding-right: 0;
}

.gd37-stat + .gd37-stat::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #e5c87a;
  content: "";
}

.gd37-stat dt {
  margin: 0 0 20px;
  color: currentColor;
  font-family: "Adigiana 2", cursive;
  font-size: 37px;
  line-height: 1;
  white-space: nowrap;
}

.gd37-stat dt sup {
  position: relative;
  top: -.5em;
  font-family: "Noto Sans", sans-serif;
  font-size: .48em;
}

.gd37-stat dd {
  margin: 0;
}

.gd37-stat dd strong,
.gd37-stat dd span {
  display: block;
}

.gd37-stat dd strong {
  min-height: 34px;
  color: var(--gd37-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.gd37-stat dd span {
  margin-top: 7px;
  color: var(--gd37-muted);
  font-size: 11px;
  line-height: 1.4;
}

.gd37-stat--yellow { color: #f7b92d; }
.gd37-stat--blue { color: var(--gd37-blue); }
.gd37-stat--orange { color: var(--gd37-orange-strong); }
.gd37-stat--green { color: var(--gd37-green); }

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1220px) {
  .gd37-shell {
    width: min(100% - 56px, 1120px);
  }

  .gd37-header__inner {
    grid-template-columns: 155px minmax(0, 1fr) 205px;
    gap: 20px;
  }

  .gd37-brand {
    width: 155px;
  }

  .gd37-brand__logo {
    width: 136px;
  }

  .gd37-brand__city {
    right: 0;
    bottom: 14px;
  }

  .gd37-nav__list {
    gap: 18px;
  }

  .gd37-nav__item > a {
    font-size: 12px;
  }

  .gd37-header-phone {
    min-width: 205px;
    gap: 10px;
  }

  .gd37-header-phone__icon {
    flex-basis: 61px;
    width: 61px;
    height: 61px;
  }

  .gd37-header-phone__copy strong {
    font-size: 15px;
  }

  .gd37-hero-card {
    width: 570px;
  }

  .gd37-stat {
    padding-inline: 26px;
  }

  .gd37-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gd37-stat dt {
    font-size: 32px;
  }
}

@media (max-width: 980px) {
  .gd37-header {
    height: 86px;
  }

  .gd37-shell {
    width: min(100% - 32px, 780px);
  }

  .gd37-header__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .gd37-brand {
    order: 1;
    flex: 0 0 138px;
    align-self: stretch;
    width: 138px;
  }

  .gd37-brand__logo {
    top: 4px;
    left: 0;
    width: 124px;
  }

  .gd37-brand__city {
    right: 0;
    bottom: 10px;
    min-width: 54px;
    padding: 4px 6px 3px;
    font-size: 8px;
  }

  .gd37-header-phone {
    order: 2;
    min-width: 0;
    margin-left: auto;
  }

  .gd37-header-phone__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .gd37-header-phone__icon img {
    width: 34px;
    height: 34px;
  }

  .gd37-header-phone__copy {
    display: none;
  }

  .gd37-menu-toggle {
    order: 3;
    position: relative;
    z-index: 103;
    display: grid;
    width: 52px;
    height: 48px;
    padding: 11px 12px;
    border: 2px solid var(--gd37-orange);
    border-radius: 17px 24px 16px 22px;
    background: #fff1c6;
    cursor: pointer;
    transform: rotate(-2deg);
  }

  .gd37-menu-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 27px;
    height: 3px;
    margin: auto;
    border-radius: 999px;
    background: var(--gd37-orange-strong);
    transition: transform .2s ease, opacity .2s ease;
  }

  .gd37-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .gd37-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .gd37-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .gd37-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 102;
    width: min(88vw, 390px);
    padding: 100px 26px 40px;
    overflow-y: auto;
    background: var(--gd37-paper);
    box-shadow: -20px 0 50px rgba(23, 77, 61, .16);
    transform: translateX(110%);
    transition: transform .25s ease;
  }

  .gd37-nav.is-open {
    transform: translateX(0);
  }

  .gd37-nav__list {
    display: block;
  }

  .gd37-nav__item {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 0;
    border-bottom: 1px solid #dce9d0;
  }

  .gd37-nav__item > a {
    padding: 17px 0;
    font-size: 15px;
  }

  .gd37-nav__item--active > a::after {
    right: auto;
    bottom: 9px;
    width: 62px;
  }

  .gd37-nav__submenu-toggle {
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .gd37-nav__submenu-toggle::before {
    transition: transform .2s ease;
  }

  .gd37-nav__item.is-submenu-open .gd37-nav__submenu-toggle::before {
    transform: rotate(225deg);
  }

  .gd37-nav__submenu {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    padding: 3px 0 13px 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gd37-nav__item.is-submenu-open > .gd37-nav__submenu {
    display: block;
  }

  .gd37-nav__submenu a {
    padding-block: 8px;
  }

  .gd37-menu-open {
    overflow: hidden;
  }

  .gd37-hero,
  .gd37-hero__layout {
    min-height: 0;
  }

  .gd37-hero {
    padding-bottom: 28px;
  }

  .gd37-hero__media {
    position: relative;
    height: clamp(315px, 63vw, 485px);
  }

  .gd37-hero__media img {
    object-position: 55% center;
  }

  .gd37-hero__layout {
    width: 100%;
  }

  .gd37-hero__rays {
    top: 15px;
    right: 10px;
    width: 76px;
    height: auto;
  }

  .gd37-hero-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-height: 0;
    margin: -48px 16px 0;
  }

  .gd37-hero-card__surface {
    overflow: visible;
  }

  .gd37-hero-card__content {
    padding: 31px 25px 25px;
  }

  .gd37-kicker {
    margin-bottom: 20px;
    padding: 10px 13px;
    font-size: 10px;
  }

  .gd37-hero-card__title {
    font-size: clamp(42px, 11vw, 58px);
  }

  .gd37-title-underline {
    margin-bottom: 28px;
  }

  .gd37-hero-card__lead {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.55;
  }

  .gd37-desktop-only {
    display: none;
  }

  .gd37-button {
    width: 100%;
    gap: 12px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .gd37-hero-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .gd37-meta-item {
    gap: 7px;
  }

  .gd37-meta-item img {
    width: 34px;
    height: 38px;
  }

  .gd37-meta-item:nth-child(2) img {
    width: 35px;
    height: 35px;
  }

  .gd37-meta-item strong {
    font-size: 10px;
    white-space: normal;
  }

  .gd37-hero-video {
    top: -290px;
    right: 22px;
  }

  .gd37-hero-video__play {
    width: 76px;
    height: 76px;
  }

  .gd37-hero-video__play img {
    width: 48px;
    height: 48px;
  }

  .gd37-hero-video__caption {
    min-width: 0;
    padding: 9px 13px;
    font-size: 9px;
  }

  .gd37-hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    margin: 20px 16px 0;
    padding: 18px;
    border: 2px solid var(--gd37-yellow);
    border-radius: 29px 35px 32px 28px;
    background: #fff4cf;
  }

  .gd37-hero-stats__surface {
    display: none;
  }

  .gd37-stat {
    min-height: 145px;
    padding: 18px;
    transform: none;
  }

  .gd37-stat:first-child,
  .gd37-stat:last-child {
    padding: 18px;
  }

  .gd37-stat:first-of-type,
  .gd37-stat:nth-of-type(2),
  .gd37-stat:nth-of-type(3),
  .gd37-stat:nth-of-type(4) {
    padding: 18px;
  }

  .gd37-stat + .gd37-stat::before {
    display: none;
  }

  .gd37-stat:nth-of-type(even) {
    border-left: 1px solid #e5c87a;
  }

  .gd37-stat:nth-of-type(n + 3) {
    border-top: 1px solid #e5c87a;
  }

  .gd37-stat dt {
    margin-bottom: 13px;
    font-size: clamp(27px, 7vw, 36px);
    white-space: normal;
  }

  .gd37-stat dd strong {
    min-height: 0;
    font-size: 9px;
  }

  .gd37-stat dd span {
    display: none;
  }
}

@media (max-width: 430px) {
  .gd37-hero-video {
    top: -220px;
  }

  .gd37-hero-card__meta {
    grid-template-columns: 1fr;
  }

  .gd37-hero-video__caption {
    display: none;
  }

  .gd37-hero-stats {
    padding: 12px;
  }

  .gd37-stat,
  .gd37-stat:first-child,
  .gd37-stat:last-child {
    min-height: 130px;
    padding: 14px 12px;
  }


  .gd37-stat:first-of-type,
  .gd37-stat:nth-of-type(2),
  .gd37-stat:nth-of-type(3),
  .gd37-stat:nth-of-type(4) {
    min-height: 130px;
    padding: 14px 12px;
  }
}

/* Block 02: one story, two cities. */
.gd37-history {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background: var(--gd37-cream);
}

.gd37-history__top-wave {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 90px;
}

.gd37-history-note {
  position: absolute;
  top: 0;
  right: 0;
  width: min(36vw, 520px);
  height: 294px;
  padding: 126px 56px 36px;
  border-radius: 0 0 0 180px;
  background: #e9f3dd;
}

.gd37-history-note p {
  margin: 0;
  color: var(--gd37-ink);
  font-size: 17px;
  line-height: 1.85;
}

.gd37-history-note__orange {
  position: absolute;
  top: 65px;
  right: 84px;
  width: 82px;
  height: 65px;
}

.gd37-history-note__blue {
  position: absolute;
  right: 46px;
  bottom: 6px;
  width: 116px;
  height: 82px;
}

.gd37-history__inner {
  position: relative;
  z-index: 2;
  padding-top: 78px;
}

.gd37-history__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #e3f0d7;
  color: var(--gd37-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.gd37-history__kicker span {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gd37-green);
}

.gd37-history__title {
  margin: 0;
  color: var(--gd37-ink);
  font-family: "Adigiana 2", cursive;
  font-size: clamp(48px, 4vw, 59px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: .005em;
}

.gd37-history__title span {
  color: var(--gd37-orange-strong);
}

.gd37-history__underline {
  display: block;
  width: 525px;
  max-width: 46%;
  height: 15px;
  margin-top: 7px;
  border-bottom: 6px solid var(--gd37-yellow);
  border-radius: 0 0 65% 48%;
  transform: rotate(-1deg);
}

.gd37-history-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 305px) minmax(520px, 680px) minmax(260px, 305px);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 348px;
  margin-top: 19px;
}

.gd37-history-stage__route {
  position: absolute;
  top: 59px;
  left: 105px;
  z-index: 0;
  width: calc(100% - 208px);
  height: 180px;
  overflow: visible;
  pointer-events: none;
}

.gd37-history-year,
.gd37-history-photo {
  position: relative;
  z-index: 1;
}

.gd37-history-year {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: center;
  padding: 38px 44px 30px;
  color: white;
}

.gd37-history-year--vladimir {
  border-radius: 45% 42% 37% 47% / 36% 36% 31% 41%;
  background: var(--gd37-orange-strong);
}

.gd37-history-year--ivanovo {
  border-radius: 43% 44% 39% 43% / 34% 37% 34% 42%;
  background: #2eb4c4;
}

.gd37-history-year__accent {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 76%;
  height: 48px;
  border-top: 3px solid rgba(255,255,255,.35);
  border-radius: 50%;
  transform: rotate(3deg);
}

.gd37-history-year img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

.gd37-history-year__number {
  display: block;
  margin-bottom: 18px;
  color: white;
  font-family: "Adigiana 2", cursive;
  font-size: 57px;
  font-weight: 400;
  line-height: .95;
}

.gd37-history-year__city {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.gd37-history-year p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.gd37-history-photo {
  height: 326px;
  margin: 0;
  padding: 9px;
  background: var(--gd37-yellow);
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjM3OCAzMDMgNjc5IDM0NCI+CiAgPHBhdGggZmlsbD0id2hpdGUiIGQ9Ik00MTEuOTk5IDMzMEM0NjUuOTk5IDMwMyA1NjcuOTk5IDMwNyA2NzAuOTk5IDMxNUM3NzguOTk5IDMyNCA5MTIuOTk5IDMwNCA5OTUuOTk5IDMzN0MxMDQzIDM1NiAxMDU3IDQxMCAxMDQ3IDQ4MEMxMDM4IDU0OCAxMDA1IDYwNyA5MzcuOTk5IDYyNEM4NTAuOTk5IDY0NiA3NTIuOTk5IDYyNCA2NTcuOTk5IDYzMUM1NTkuOTk5IDYzOSA0NTMuOTk5IDY0NyA0MDkuOTk5IDYwMEMzNjguOTk5IDU1NyAzNzIuOTk5IDQ2NSAzNzcuOTk5IDQwNkMzODAuOTk5IDM2NiAzODkuOTk5IDM0MSA0MTEuOTk5IDMzMFoiLz4KPC9zdmc+Cg==") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjM3OCAzMDMgNjc5IDM0NCI+CiAgPHBhdGggZmlsbD0id2hpdGUiIGQ9Ik00MTEuOTk5IDMzMEM0NjUuOTk5IDMwMyA1NjcuOTk5IDMwNyA2NzAuOTk5IDMxNUM3NzguOTk5IDMyNCA5MTIuOTk5IDMwNCA5OTUuOTk5IDMzN0MxMDQzIDM1NiAxMDU3IDQxMCAxMDQ3IDQ4MEMxMDM4IDU0OCAxMDA1IDYwNyA5MzcuOTk5IDYyNEM4NTAuOTk5IDY0NiA3NTIuOTk5IDYyNCA2NTcuOTk5IDYzMUM1NTkuOTk5IDYzOSA0NTMuOTk5IDY0NyA0MDkuOTk5IDYwMEMzNjguOTk5IDU1NyAzNzIuOTk5IDQ2NSAzNzcuOTk5IDQwNkMzODAuOTk5IDM2NiAzODkuOTk5IDM0MSA0MTEuOTk5IDMzMFoiLz4KPC9zdmc+Cg==") center / 100% 100% no-repeat;
}

.gd37-history-photo__inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #d5e2d4;
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjM3OCAzMDMgNjc5IDM0NCI+CiAgPHBhdGggZmlsbD0id2hpdGUiIGQ9Ik00MTEuOTk5IDMzMEM0NjUuOTk5IDMwMyA1NjcuOTk5IDMwNyA2NzAuOTk5IDMxNUM3NzguOTk5IDMyNCA5MTIuOTk5IDMwNCA5OTUuOTk5IDMzN0MxMDQzIDM1NiAxMDU3IDQxMCAxMDQ3IDQ4MEMxMDM4IDU0OCAxMDA1IDYwNyA5MzcuOTk5IDYyNEM4NTAuOTk5IDY0NiA3NTIuOTk5IDYyNCA2NTcuOTk5IDYzMUM1NTkuOTk5IDYzOSA0NTMuOTk5IDY0NyA0MDkuOTk5IDYwMEMzNjguOTk5IDU1NyAzNzIuOTk5IDQ2NSAzNzcuOTk5IDQwNkMzODAuOTk5IDM2NiAzODkuOTk5IDM0MSA0MTEuOTk5IDMzMFoiLz4KPC9zdmc+Cg==") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjM3OCAzMDMgNjc5IDM0NCI+CiAgPHBhdGggZmlsbD0id2hpdGUiIGQ9Ik00MTEuOTk5IDMzMEM0NjUuOTk5IDMwMyA1NjcuOTk5IDMwNyA2NzAuOTk5IDMxNUM3NzguOTk5IDMyNCA5MTIuOTk5IDMwNCA5OTUuOTk5IDMzN0MxMDQzIDM1NiAxMDU3IDQxMCAxMDQ3IDQ4MEMxMDM4IDU0OCAxMDA1IDYwNyA5MzcuOTk5IDYyNEM4NTAuOTk5IDY0NiA3NTIuOTk5IDYyNCA2NTcuOTk5IDYzMUM1NTkuOTk5IDYzOSA0NTMuOTk5IDY0NyA0MDkuOTk5IDYwMEMzNjguOTk5IDU1NyAzNzIuOTk5IDQ2NSAzNzcuOTk5IDQwNkMzODAuOTk5IDM2NiAzODkuOTk5IDM0MSA0MTEuOTk5IDMzMFoiLz4KPC9zdmc+Cg==") center / 100% 100% no-repeat;
}

.gd37-history-photo__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}

.gd37-history-photo figcaption {
  position: absolute;
  bottom: 26px;
  left: 5px;
  z-index: 3;
  display: flex;
  min-width: 340px;
  min-height: 66px;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  border-radius: 48% 43% 45% 42% / 43% 42% 46% 42%;
  color: var(--gd37-ink);
  background: var(--gd37-paper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.gd37-history-photo figcaption span {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gd37-yellow);
}

/* The label must sit above the photo mask, not be cut by it. */
.gd37-history-photo {
  position: relative;
  padding: 0;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}

.gd37-history-photo::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gd37-yellow);
  content: "";
  -webkit-mask: url("icons/history-photo-mask.svg") center / 100% 100% no-repeat;
  mask: url("icons/history-photo-mask.svg") center / 100% 100% no-repeat;
}

.gd37-history-photo__inner {
  position: absolute;
  inset: 9px;
  z-index: 1;
  width: auto;
  height: auto;
}

.gd37-history-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 182px;
  margin: 4px 0 0;
  padding: 38px 58px 30px;
}

.gd37-history-facts__surface {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.gd37-history-fact {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0 50px;
}

.gd37-history-fact:first-of-type {
  padding-left: 0;
}

.gd37-history-fact:last-of-type {
  padding-right: 0;
}

.gd37-history-fact + .gd37-history-fact::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: #e7c66e;
  content: "";
  transform: rotate(-2deg);
}

.gd37-history-fact dt {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  color: var(--gd37-ink);
  font-family: "Adigiana 2", cursive;
  font-size: 46px;
  line-height: 1;
  white-space: nowrap;
}

.gd37-history-fact dt span {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
}

.gd37-history-fact dd {
  margin: 0;
  color: var(--gd37-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.gd37-history-fact--green dt span { color: var(--gd37-green); }
.gd37-history-fact--orange dt span { color: var(--gd37-orange-strong); }
.gd37-history-fact--blue dt span { color: var(--gd37-blue); }

.gd37-history__bottom-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52px;
}

@media (max-width: 1220px) and (min-width: 981px) {
  .gd37-history-stage {
    grid-template-columns: 240px minmax(430px, 1fr) 240px;
  }

  .gd37-history-year {
    min-height: 255px;
    padding-inline: 34px;
  }

  .gd37-history-year__number {
    font-size: 48px;
  }

  .gd37-history-photo {
    height: 300px;
  }

  .gd37-history-fact {
    padding-inline: 34px;
  }
}

@media (max-width: 980px) {
  .gd37-history {
    min-height: 0;
    padding-bottom: 70px;
  }

  .gd37-history__top-wave {
    height: 58px;
  }

  .gd37-history-note {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    margin: 26px 16px 0;
    padding: 28px 34px;
    border-radius: 48px 65px 44px 57px;
  }

  .gd37-history-note p {
    padding-right: 55px;
    font-size: 15px;
    line-height: 1.65;
  }

  .gd37-history-note__orange {
    top: 20px;
    right: 20px;
    width: 56px;
    height: 44px;
  }

  .gd37-history-note__blue {
    display: none;
  }

  .gd37-history__inner {
    display: flex;
    width: min(100% - 32px, 720px);
    flex-direction: column;
    padding-top: 70px;
  }

  .gd37-history__kicker {
    align-self: flex-start;
    padding: 10px 14px;
    font-size: 10px;
  }

  .gd37-history__title {
    font-size: clamp(38px, 9vw, 52px);
  }

  .gd37-history__underline {
    width: 360px;
    max-width: 92%;
    margin-bottom: 14px;
  }

  .gd37-history-stage {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: 0;
    margin-top: 18px;
  }

  .gd37-history-stage__route {
    display: none;
  }

  .gd37-history-year {
    min-height: 220px;
    padding: 28px 30px 25px;
  }

  .gd37-history-year__number {
    margin-bottom: 12px;
    font-size: 46px;
  }

  .gd37-history-year p {
    font-size: 14px;
  }

  .gd37-history-photo {
    grid-column: 1 / -1;
    grid-row: 1;
    height: clamp(235px, 55vw, 350px);
  }

  .gd37-history-photo figcaption {
    bottom: 18px;
    left: 1px;
    min-width: 0;
    min-height: 52px;
    padding: 13px 22px;
    font-size: 10px;
  }

  .gd37-history-facts {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    margin-top: 22px;
    padding: 16px 22px;
    border: 2px solid var(--gd37-yellow);
    border-radius: 32px 42px 35px 40px;
    background: #fff0bc;
  }

  .gd37-history-facts__surface {
    display: none;
  }

  .gd37-history-fact,
  .gd37-history-fact:first-of-type,
  .gd37-history-fact:last-of-type {
    padding: 20px 12px;
  }

  .gd37-history-fact + .gd37-history-fact::before {
    top: 0;
    right: 10px;
    bottom: auto;
    left: 10px;
    width: auto;
    height: 1px;
    transform: none;
  }

  .gd37-history-fact dt {
    margin-bottom: 9px;
    font-size: 37px;
  }
}

@media (max-width: 520px) {
  .gd37-history-note {
    margin-top: 8px;
    padding: 24px;
  }

  .gd37-history-note p {
    padding-right: 40px;
    font-size: 13px;
  }

  .gd37-history-note__orange {
    width: 42px;
  }

  .gd37-history-stage {
    grid-template-columns: 1fr;
  }

  .gd37-history__title {
    font-size: 34px;
  }

  .gd37-history-photo {
    grid-column: 1;
  }

  .gd37-history-year {
    width: 88%;
    min-height: 0;
    padding: 36px 38px 42px;
    justify-content: flex-start;
  }

  .gd37-history-year--ivanovo {
    justify-self: end;
  }

  .gd37-history-photo figcaption {
    max-width: 82%;
  }

  .gd37-history-year__number {
    margin-bottom: 14px;
    font-size: 45px;
    line-height: 1;
  }

  .gd37-history-year__city {
    margin-bottom: 9px;
    font-size: 11px;
  }

  .gd37-history-year p {
    max-width: 210px;
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Block 03: space and scale. */
.gd37-space {
  position: relative;
  min-height: 1080px;
  overflow: hidden;
  background: var(--gd37-cream);
}

.gd37-space__top-wave {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 39px;
}

.gd37-space__inner {
  position: relative;
  z-index: 2;
  padding-top: 67px;
}

.gd37-space__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
}

.gd37-space__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--gd37-ink);
  background: #d9f3f6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.gd37-space__kicker span {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gd37-blue);
}

.gd37-space__title {
  margin: 0;
  color: var(--gd37-ink);
  font-family: "Adigiana 2", cursive;
  font-size: clamp(48px, 4vw, 59px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .004em;
}

.gd37-space__title span {
  color: var(--gd37-orange-strong);
}

.gd37-space__underline {
  display: block;
  width: 520px;
  max-width: 90%;
  height: 14px;
  margin-top: 5px;
  border-bottom: 6px solid var(--gd37-yellow);
  border-radius: 0 0 68% 48%;
  transform: rotate(-1deg);
}

.gd37-space__intro {
  margin: 61px 0 0 14px;
  color: var(--gd37-ink);
  font-size: 18px;
  line-height: 1.82;
}

.gd37-space-gallery {
  position: relative;
  height: 735px;
  margin-top: 18px;
}

.gd37-space-gallery__route {
  position: absolute;
  top: 0;
  right: -8px;
  z-index: 0;
  width: 835px;
  height: 690px;
  overflow: visible;
  pointer-events: none;
}

.gd37-space-card {
  --space-accent: var(--gd37-yellow);
  --space-mask: none;
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 0;
  background: transparent;
}

.gd37-space-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--space-accent);
  content: "";
  -webkit-mask: var(--space-mask) center / 100% 100% no-repeat;
  mask: var(--space-mask) center / 100% 100% no-repeat;
}

.gd37-space-card__media {
  position: absolute;
  inset: 9px;
  z-index: 1;
  overflow: hidden;
  background: #d9e5df;
  -webkit-mask: var(--space-mask) center / 100% 100% no-repeat;
  mask: var(--space-mask) center / 100% 100% no-repeat;
}

.gd37-space-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gd37-space-card__number {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--gd37-ink);
  background: var(--space-accent);
  font-family: "Adigiana 2", cursive;
  font-size: 26px;
  line-height: 1;
}

.gd37-space-card figcaption {
  position: absolute;
  z-index: 3;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 14px 25px;
  border-radius: 43px 48px 41px 45px;
  color: var(--gd37-ink);
  background: var(--gd37-paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.gd37-space-card figcaption span {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--space-accent);
}

.gd37-space-card--pool {
  --space-mask: url("masks/space-pool.svg");
  top: 0;
  left: -20px;
  width: 630px;
  height: 540px;
}

.gd37-space-card--pool .gd37-space-card__media img {
  object-position: center 51%;
}

.gd37-space-card--pool .gd37-space-card__number {
  top: 44px;
  right: 33px;
}

.gd37-space-card--pool figcaption {
  bottom: 22px;
  left: 35px;
  min-width: 250px;
}

.gd37-space-card--sport {
  --space-accent: var(--gd37-blue);
  --space-mask: url("masks/space-sport.svg");
  top: -8px;
  right: -4px;
  width: 644px;
  height: 300px;
}

.gd37-space-card--sport .gd37-space-card__media img {
  object-position: center 52%;
}

.gd37-space-card--sport .gd37-space-card__number {
  top: 174px;
  left: 9px;
  color: white;
}

.gd37-space-card--sport figcaption {
  right: 64px;
  bottom: 28px;
  min-width: 290px;
}

.gd37-space-card--hall {
  --space-accent: var(--gd37-green);
  --space-mask: url("masks/space-hall.svg");
  right: 343px;
  bottom: 7px;
  width: 346px;
  height: 381px;
}

.gd37-space-card--hall .gd37-space-card__media img {
  object-position: center center;
}

.gd37-space-card--hall .gd37-space-card__number {
  top: 33px;
  left: 3px;
}

.gd37-space-card--hall figcaption {
  right: 27px;
  bottom: 29px;
  min-width: 260px;
}

.gd37-space-card--salt {
  --space-accent: var(--gd37-orange-strong);
  --space-mask: url("masks/space-salt.svg");
  right: 0;
  bottom: 2px;
  width: 308px;
  height: 370px;
}

.gd37-space-card--salt .gd37-space-card__media img {
  object-position: center 46%;
}

.gd37-space-card--salt .gd37-space-card__number {
  top: 37px;
  left: 7px;
  color: white;
}

.gd37-space-card--salt figcaption {
  right: 16px;
  bottom: 34px;
  min-width: 230px;
}

.gd37-space-gallery__waves {
  position: absolute;
  bottom: 147px;
  left: 535px;
  width: 79px;
  height: 34px;
}

.gd37-space-gallery__triangle {
  position: absolute;
  right: 12px;
  bottom: 340px;
  width: 44px;
  height: 39px;
}

.gd37-space__rays {
  position: absolute;
  top: 48px;
  right: 35px;
  width: 137px;
  height: 105px;
}

.gd37-space__bottom-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42px;
}

@media (max-width: 1220px) and (min-width: 981px) {
  .gd37-space-gallery {
    transform: scale(.84);
    transform-origin: top left;
    width: 119%;
    margin-bottom: -112px;
  }

  .gd37-space {
    min-height: 970px;
  }
}

@media (max-width: 980px) {
  .gd37-space {
    min-height: 0;
    padding-bottom: 68px;
  }

  .gd37-space__top-wave {
    height: 26px;
  }

  .gd37-space__inner {
    width: min(100% - 32px, 720px);
    padding-top: 56px;
  }

  .gd37-space__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .gd37-space__header > *,
  .gd37-space__heading,
  .gd37-space__intro {
    min-width: 0;
    width: 100%;
  }

  .gd37-space__kicker {
    padding: 10px 14px;
    font-size: 10px;
  }

  .gd37-space__title {
    font-size: clamp(38px, 9vw, 50px);
  }

  .gd37-space__underline {
    width: 410px;
    max-width: 94%;
  }

  .gd37-space__intro {
    margin: 0;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .gd37-space-gallery {
    display: grid;
    height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 26px;
  }

  .gd37-space-gallery__route,
  .gd37-space-gallery__waves,
  .gd37-space-gallery__triangle {
    display: none;
  }

  .gd37-space-card,
  .gd37-space-card--pool,
  .gd37-space-card--sport,
  .gd37-space-card--hall,
  .gd37-space-card--salt {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
  }

  .gd37-space-card--pool {
    height: auto;
    aspect-ratio: 1.15;
  }

  .gd37-space-card--sport {
    height: auto;
    aspect-ratio: 2.04;
  }

  .gd37-space-card--hall {
    width: 90%;
    height: auto;
    aspect-ratio: .91;
    justify-self: start;
  }

  .gd37-space-card--salt {
    width: 86%;
    height: auto;
    aspect-ratio: .83;
    justify-self: end;
  }

  .gd37-space-card__number {
    width: 46px;
    height: 46px;
    font-size: 23px;
  }

  .gd37-space-card figcaption,
  .gd37-space-card--pool figcaption,
  .gd37-space-card--sport figcaption,
  .gd37-space-card--hall figcaption,
  .gd37-space-card--salt figcaption {
    right: 22px;
    bottom: 20px;
    left: 22px;
    min-width: 0;
    min-height: 48px;
    max-width: calc(100% - 44px);
    padding: 12px 18px;
    font-size: 11px;
  }

  .gd37-space-card--pool .gd37-space-card__number {
    top: 34px;
    right: 23px;
    left: auto;
  }

  .gd37-space-card--sport .gd37-space-card__number,
  .gd37-space-card--hall .gd37-space-card__number,
  .gd37-space-card--salt .gd37-space-card__number {
    top: 25px;
    right: auto;
    left: 18px;
  }

  .gd37-space__rays {
    top: 44px;
    right: 12px;
    width: 76px;
    height: auto;
    opacity: .85;
  }
}

@media (max-width: 520px) {
  .gd37-space__title {
    font-size: 35px;
  }

  .gd37-space__intro br {
    display: none;
  }

  .gd37-space-card figcaption,
  .gd37-space-card--pool figcaption,
  .gd37-space-card--sport figcaption,
  .gd37-space-card--hall figcaption,
  .gd37-space-card--salt figcaption {
    right: 16px;
    bottom: 17px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 11px 15px;
    font-size: 10px;
  }

  .gd37-space-card figcaption span {
    flex-basis: 10px;
    width: 10px;
    height: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gd37-page *,
  .gd37-page *::before,
  .gd37-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
/* Общесайтовое правило: стрелка занимает отдельную зону и всегда центрируется по высоте кнопки. */
.gd37-ui-arrow {
  display: inline-grid !important;
  flex: 0 0 auto;
  align-self: center !important;
  place-items: center;
  line-height: 1 !important;
  vertical-align: middle;
  transform: translateY(-1px);
}
