[data-footer*="type-1"] {
  --sobae-footer-bg: #171717;
  --sobae-footer-text: #f7f7f4;
  --sobae-footer-muted: #aaa9a4;
  --sobae-footer-link: #c8c7c2;
  --sobae-footer-line: rgba(255, 255, 255, 0.14);
  --sobae-footer-accent: #fff;
}

.sobae-prefooter {
  border-top: 1px solid #d9d9d5;
  background: #fff;
  color: #171717;
}

.sobae-prefooter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
  width: min(100%, 1440px);
  max-width: 1440px;
  min-height: 276px;
  margin: 0 auto;
  padding: 64px 40px;
}

.sobae-prefooter__copy {
  max-width: 760px;
}

.sobae-prefooter__eyebrow {
  margin: 0 0 16px;
  font-family: var(--sobae-font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #171717;
}

.sobae-prefooter h2 {
  max-width: 720px;
  margin: 0;
  color: #171717;
  font-family: var(--sobae-font-display);
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.sobae-prefooter__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 220px;
  min-height: 52px;
  padding: 14px 18px 14px 22px;
  border: 1px solid #171717;
  border-radius: 0;
  background: #171717;
  color: #fff;
  font-family: var(--sobae-font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.sobae-prefooter__button:hover,
.sobae-prefooter__button:focus-visible {
  background: transparent;
  color: #171717;
}

[data-footer*="type-1"] footer.ct-footer,
[data-footer*="type-1"] .ct-footer {
  background: var(--sobae-footer-bg);
  color: var(--sobae-footer-text);
}

[data-footer*="type-1"] .ct-footer [data-row="middle"],
[data-footer*="type-1"] .ct-footer [data-row="bottom"] {
  background: var(--sobae-footer-bg);
  border: 0;
}

[data-footer*="type-1"] .ct-footer [data-row="middle"] .ct-container,
[data-footer*="type-1"] .ct-footer [data-row="bottom"] .ct-container {
  width: min(100%, 1440px);
  max-width: 1440px;
  margin: 0 auto;
  padding-right: 40px;
  padding-left: 40px;
}

[data-footer*="type-1"] .ct-footer [data-row="middle"] .ct-container {
  grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr) minmax(160px, 1fr) !important;
  gap: 80px;
  padding-top: 82px;
  padding-bottom: 78px;
}

[data-footer*="type-1"] .ct-footer .ct-widget {
  margin: 0;
  color: var(--sobae-footer-muted);
}

[data-footer*="type-1"] .sobae-footer__logo {
  position: relative;
  width: 156px;
  height: 64px;
  margin: 0 0 28px;
  overflow: hidden;
}

[data-footer*="type-1"] .sobae-footer__logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 176px;
  max-width: none;
  height: auto;
  filter: invert(1);
  transform: translate(-50%, -50%);
}

[data-footer*="type-1"] .sobae-footer__statement {
  max-width: 380px;
  margin: 0;
  color: var(--sobae-footer-text);
  font-family: var(--sobae-font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

[data-footer*="type-1"] .sobae-footer__note {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--sobae-footer-muted);
  font-family: var(--sobae-font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

[data-footer*="type-1"] .sobae-footer__heading {
  margin: 0 0 18px;
  color: var(--sobae-footer-text);
  font-family: var(--sobae-font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

[data-footer*="type-1"] .sobae-footer__links,
[data-footer*="type-1"] .sobae-footer__links li {
  margin: 0;
  padding: 0;
  color: var(--sobae-footer-link);
  list-style: none;
}

[data-footer*="type-1"] .sobae-footer__links {
  display: grid;
  gap: 13px;
}

[data-footer*="type-1"] .sobae-footer__links a,
[data-footer*="type-1"] .sobae-footer__links a:visited {
  color: var(--sobae-footer-link) !important;
  font-family: var(--sobae-font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-decoration: none;
}

[data-footer*="type-1"] .sobae-footer__links a:hover,
[data-footer*="type-1"] .sobae-footer__links a:focus,
[data-footer*="type-1"] .sobae-footer__links a:focus-visible,
[data-footer*="type-1"] .sobae-footer__links a:active {
  color: var(--sobae-footer-accent) !important;
  opacity: 1 !important;
  filter: none !important;
}

[data-footer*="type-1"] .ct-footer [data-row="bottom"] .ct-container {
  min-height: 68px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--sobae-footer-line);
}

[data-footer*="type-1"] .ct-footer-copyright {
  color: var(--sobae-footer-muted);
  font-family: var(--sobae-font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

@media (max-width: 999px) {
  .sobae-prefooter__inner {
    gap: 40px;
    padding-right: 24px;
    padding-left: 24px;
  }

  [data-footer*="type-1"] .ct-footer [data-row="middle"] .ct-container {
    grid-template-columns: minmax(0, 1.5fr) minmax(140px, 1fr) minmax(140px, 1fr) !important;
    gap: 44px;
    padding-right: 24px;
    padding-left: 24px;
  }

  [data-footer*="type-1"] .ct-footer [data-row="bottom"] .ct-container {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 689px) {
  .sobae-prefooter__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    min-height: 0;
    padding: 52px 20px 56px;
  }

  .sobae-prefooter h2 {
    font-size: 38px;
  }

  .sobae-prefooter__button {
    width: 100%;
    min-width: 0;
  }

  [data-footer*="type-1"] .ct-footer [data-row="middle"] .ct-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 44px 24px;
    padding: 56px 20px 52px;
  }

  [data-footer*="type-1"] .ct-footer [data-row="middle"] [data-column="widget-area-1"] {
    grid-column: 1 / -1;
  }

  [data-footer*="type-1"] .sobae-footer__statement {
    font-size: 26px;
  }

  [data-footer*="type-1"] .ct-footer [data-row="bottom"] .ct-container {
    min-height: 62px;
    padding: 18px 20px;
  }
}
