/* Shared responsive footer layout. Decorative arcs remain section-local. */
.about-footer-section {
  height: 980px;
}

body .about-footer-section .about-footer-content {
  position: relative;
  inset: auto;
  z-index: 3;
  display: grid;
  width: min(100% - 96px, 1320px);
  height: 100%;
  margin-inline: auto;
  padding: 340px 0 36px;
  grid-template-columns: minmax(280px, 1.25fr) minmax(0, 2.6fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand columns qr"
    "copyright copyright copyright";
  column-gap: clamp(32px, 4vw, 72px);
  row-gap: 48px;
}

body .about-footer-section .about-footer-brand,
body .about-footer-section .about-footer-columns,
body .about-footer-section .about-footer-qr,
body .about-footer-section .about-footer-copyright {
  position: relative;
  inset: auto;
  min-width: 0;
  transform: none;
}

body .about-footer-section .about-footer-brand {
  grid-area: brand;
  gap: 32px;
}

body .about-footer-section .about-footer-brand h2 {
  margin-bottom: 12px;
}

body .about-footer-section .about-footer-brand p,
body .about-footer-section .about-footer-brand a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.7;
}

body .about-footer-section .about-footer-columns {
  grid-area: columns;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: initial;
  gap: clamp(20px, 2.7vw, 48px);
}

body .about-footer-section .about-footer-column {
  min-width: 0;
  gap: 32px;
}

body .about-footer-section .about-footer-column h3,
body .about-footer-section .about-footer-column a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.5;
}

body .about-footer-section .about-footer-qr {
  grid-area: qr;
  gap: 28px;
}

body .about-footer-section .about-footer-copyright {
  grid-area: copyright;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  body .about-footer-section .about-footer-content {
    width: min(100% - 64px, 1320px);
    grid-template-columns: minmax(300px, 1.4fr) minmax(0, 2.5fr) auto;
    column-gap: 28px;
  }

  body .about-footer-section .about-footer-columns {
    gap: 18px;
  }

  body .about-footer-section .about-footer-qr-frame {
    width: 176px;
    height: 176px;
  }

  body .about-footer-section .about-footer-qr img {
    width: 164px;
    height: 164px;
  }
}

@media (max-width: 1023px) {
  .about-footer-section,
  body .site-footer-section.about-footer-section,
  body .industry-footer-section.about-footer-section {
    height: auto;
    min-height: 980px;
    padding: 0;
  }

  body .about-footer-section .about-footer-content {
    width: min(100% - 64px, 920px);
    height: auto;
    padding: 280px 0 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "brand qr"
      "columns columns"
      "copyright copyright";
    gap: 56px 48px;
  }

  body .about-footer-section .about-footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  body .about-footer-section .about-footer-qr {
    align-items: center;
  }

  body .about-footer-section .about-footer-qr-frame {
    width: 176px;
    height: 176px;
  }

  body .about-footer-section .about-footer-qr img {
    width: 164px;
    height: 164px;
  }
}

@media (max-width: 767px) {
  body .about-footer-section .about-footer-content {
    width: min(100% - 32px, 680px);
    padding: 220px 0 48px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "qr"
      "columns"
      "copyright";
    gap: 40px;
  }

  body .about-footer-section .about-footer-brand {
    gap: 18px;
  }

  body .about-footer-section .about-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  body .about-footer-section .about-footer-column {
    gap: 18px;
  }

  body .about-footer-section .about-footer-qr {
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 430px) {
  body .about-footer-section .about-footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* One shared horizontal boundary for every responsive footer. */
@media (max-width: 767px) {
  body .about-footer-section .about-footer-content {
    width: auto;
    max-width: 1320px;
    margin-inline: var(--page-gutter-mobile);
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body .about-footer-section .about-footer-content {
    width: auto;
    max-width: 1320px;
    margin-inline: var(--page-gutter-tablet);
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
  }
}
