.site-shell > main {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.site-footer--three-rows {
  font-size: 12px;
  background: var(--brand-navy);
  padding-top: clamp(16px, 2vw, 28px);
}

.site-footer--three-rows .footer-inner {
  display: block;
  width: min(calc(100% - 40px), var(--page-width));
  padding: 0;
}

.footer-navigation-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 28px;
  padding-block: 36px;
}

.site-footer--three-rows .footer-brand {
  min-width: 0;
  grid-column: auto;
}

.site-footer--three-rows .footer-map {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  order: initial;
}

.site-footer--three-rows .footer-column {
  min-width: 0;
  min-height: 0;
  overflow-wrap: anywhere;
}

.site-footer--three-rows .footer-map h2 a {
  margin-bottom: 14px;
  color: var(--brand-gold);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer--three-rows .footer-map .footer-column > a {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer--three-rows .socials {
  gap: 8px;
}

.site-footer--three-rows .socials button {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.footer-contact-row {
  padding-block: 24px;
  border-top: 1px solid #ffffff26;
}

.footer-contact-row h2 {
  margin: 0 0 18px;
  color: var(--brand-gold);
  font-size: 15px;
  text-transform: uppercase;
}

.footer-contact-details {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1.2fr 1.2fr;
  gap: 24px;
  font-style: normal;
}

.footer-contact-details .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-contact-icon {
  flex: 0 0 22px;
  width: 22px;
  color: var(--brand-gold);
}

.footer-contact-icon svg {
  display: block;
  width: 22px;
  height: 24px;
}

.footer-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 14px;
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 700;
}

.footer-copyright-row {
  padding-block: 18px;
  border-top: 1px solid #ffffff26;
  text-align: center;
}

.footer-copyright-row p {
  margin: 0;
  color: #e5e8ee;
  font-size: 12px;
  line-height: 1.7;
}

.site-footer--three-rows a:is(:hover, :focus-visible) {
  color: var(--brand-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .site-footer--three-rows .footer-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .footer-contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .footer-navigation-row {
    grid-template-columns: 1fr;
    padding-block: 28px;
  }

  .site-footer--three-rows .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer--three-rows .footer-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
