/* JA Global Footer
   Premium Kadence/footer styling with adaptive light and dark variants. */

#colophon.ja-adaptive-footer,
.site-footer.ja-adaptive-footer {
  --ja-footer-bg: #0b0b0c;
  --ja-footer-heading: #f5f0ea;
  --ja-footer-text: rgba(245, 240, 234, 0.68);
  --ja-footer-link: rgba(245, 240, 234, 0.76);
  --ja-footer-hover: #c7a977;
  --ja-footer-line: rgba(245, 240, 234, 0.14);
  --ja-footer-muted: rgba(245, 240, 234, 0.52);
  --ja-footer-width: 1216px;
  --ja-footer-pad-x: clamp(20px, 6vw, 56px);
  --ja-footer-pad-top: clamp(64px, 7vw, 96px);
  --ja-footer-pad-bottom: clamp(42px, 5vw, 68px);

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--ja-footer-bg) !important;
  color: var(--ja-footer-text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#colophon.ja-adaptive-footer.ja-footer--light,
.site-footer.ja-adaptive-footer.ja-footer--light {
  --ja-footer-bg: #f4f1ed;
  --ja-footer-heading: #0b0b0c;
  --ja-footer-text: rgba(11, 11, 12, 0.66);
  --ja-footer-link: rgba(11, 11, 12, 0.76);
  --ja-footer-hover: #8f6f3e;
  --ja-footer-line: rgba(11, 11, 12, 0.12);
  --ja-footer-muted: rgba(11, 11, 12, 0.52);
}

#colophon.ja-adaptive-footer.ja-footer--dark,
.site-footer.ja-adaptive-footer.ja-footer--dark {
  --ja-footer-bg: #0b0b0c;
  --ja-footer-heading: #f5f0ea;
  --ja-footer-text: rgba(245, 240, 234, 0.68);
  --ja-footer-link: rgba(245, 240, 234, 0.76);
  --ja-footer-hover: #c7a977;
  --ja-footer-line: rgba(245, 240, 234, 0.14);
  --ja-footer-muted: rgba(245, 240, 234, 0.52);
}

#colophon.ja-adaptive-footer *,
.site-footer.ja-adaptive-footer * {
  box-sizing: border-box;
}

#colophon.ja-adaptive-footer .site-footer-wrap,
#colophon.ja-adaptive-footer .site-footer-row-container,
#colophon.ja-adaptive-footer .site-footer-row-container-inner,
#colophon.ja-adaptive-footer .site-container,
#colophon.ja-adaptive-footer .site-footer-row,
#colophon.ja-adaptive-footer .site-footer-section,
#colophon.ja-adaptive-footer .footer-widget-area,
#colophon.ja-adaptive-footer .footer-html,
.site-footer.ja-adaptive-footer .site-footer-wrap,
.site-footer.ja-adaptive-footer .site-footer-row-container,
.site-footer.ja-adaptive-footer .site-footer-row-container-inner,
.site-footer.ja-adaptive-footer .site-container,
.site-footer.ja-adaptive-footer .site-footer-row,
.site-footer.ja-adaptive-footer .site-footer-section,
.site-footer.ja-adaptive-footer .footer-widget-area,
.site-footer.ja-adaptive-footer .footer-html {
  background: transparent !important;
  border-color: var(--ja-footer-line) !important;
  box-shadow: none !important;
}

#colophon.ja-adaptive-footer .site-container,
.site-footer.ja-adaptive-footer .site-container,
#colophon.ja-adaptive-footer .ja-footer-grid,
.site-footer.ja-adaptive-footer .ja-footer-grid,
#colophon.ja-adaptive-footer .ja-footer-bottom,
.site-footer.ja-adaptive-footer .ja-footer-bottom,
#colophon.ja-adaptive-footer .site-footer__inner,
.site-footer.ja-adaptive-footer .site-footer__inner {
  width: min(100%, var(--ja-footer-width));
  margin-inline: auto;
}

#colophon.ja-adaptive-footer .site-footer-row-container-inner,
.site-footer.ja-adaptive-footer .site-footer-row-container-inner {
  padding-inline: var(--ja-footer-pad-x) !important;
}

#colophon.ja-adaptive-footer .site-middle-footer-wrap .site-footer-row-container-inner,
#colophon.ja-adaptive-footer .site-top-footer-wrap .site-footer-row-container-inner,
.site-footer.ja-adaptive-footer .site-middle-footer-wrap .site-footer-row-container-inner,
.site-footer.ja-adaptive-footer .site-top-footer-wrap .site-footer-row-container-inner {
  padding-top: var(--ja-footer-pad-top) !important;
  padding-bottom: clamp(34px, 4vw, 52px) !important;
}

#colophon.ja-adaptive-footer .site-bottom-footer-wrap .site-footer-row-container-inner,
.site-footer.ja-adaptive-footer .site-bottom-footer-wrap .site-footer-row-container-inner {
  padding-top: clamp(26px, 3vw, 38px) !important;
  padding-bottom: var(--ja-footer-pad-bottom) !important;
}

#colophon.ja-adaptive-footer .site-footer-row-columns-3,
.site-footer.ja-adaptive-footer .site-footer-row-columns-3,
#colophon.ja-adaptive-footer .ja-footer-grid,
.site-footer.ja-adaptive-footer .ja-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.58fr) minmax(240px, 0.78fr) !important;
  gap: clamp(42px, 7vw, 108px) !important;
  align-items: start !important;
}

#colophon.ja-adaptive-footer .site-footer-row-columns-1,
.site-footer.ja-adaptive-footer .site-footer-row-columns-1 {
  display: block !important;
}

#colophon.ja-adaptive-footer .site-footer-section,
.site-footer.ja-adaptive-footer .site-footer-section,
#colophon.ja-adaptive-footer .ja-footer-brand,
#colophon.ja-adaptive-footer .ja-footer-nav,
#colophon.ja-adaptive-footer .ja-footer-contact,
.site-footer.ja-adaptive-footer .ja-footer-brand,
.site-footer.ja-adaptive-footer .ja-footer-nav,
.site-footer.ja-adaptive-footer .ja-footer-contact {
  min-width: 0;
  color: var(--ja-footer-text);
  text-align: left !important;
}

#colophon.ja-adaptive-footer h2,
#colophon.ja-adaptive-footer h3,
#colophon.ja-adaptive-footer h4,
#colophon.ja-adaptive-footer .widget-title,
#colophon.ja-adaptive-footer .footer-widget-title,
#colophon.ja-adaptive-footer .ja-footer-title,
#colophon.ja-adaptive-footer .site-title,
.site-footer.ja-adaptive-footer h2,
.site-footer.ja-adaptive-footer h3,
.site-footer.ja-adaptive-footer h4,
.site-footer.ja-adaptive-footer .widget-title,
.site-footer.ja-adaptive-footer .footer-widget-title,
.site-footer.ja-adaptive-footer .ja-footer-title,
.site-footer.ja-adaptive-footer .site-title {
  margin: 0 0 22px;
  color: var(--ja-footer-heading) !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

#colophon.ja-adaptive-footer .ja-footer-brand .ja-footer-title,
.site-footer.ja-adaptive-footer .ja-footer-brand .ja-footer-title,
#colophon.ja-adaptive-footer .site-title,
.site-footer.ja-adaptive-footer .site-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

#colophon.ja-adaptive-footer p,
#colophon.ja-adaptive-footer li,
#colophon.ja-adaptive-footer .footer-html,
#colophon.ja-adaptive-footer .footer-widget-area,
#colophon.ja-adaptive-footer .site-info,
.site-footer.ja-adaptive-footer p,
.site-footer.ja-adaptive-footer li,
.site-footer.ja-adaptive-footer .footer-html,
.site-footer.ja-adaptive-footer .footer-widget-area,
.site-footer.ja-adaptive-footer .site-info {
  color: var(--ja-footer-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.62;
}

#colophon.ja-adaptive-footer p,
.site-footer.ja-adaptive-footer p {
  max-width: 390px;
  margin: 0;
}

#colophon.ja-adaptive-footer a,
.site-footer.ja-adaptive-footer a {
  color: var(--ja-footer-link) !important;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

#colophon.ja-adaptive-footer a:hover,
#colophon.ja-adaptive-footer a:focus-visible,
.site-footer.ja-adaptive-footer a:hover,
.site-footer.ja-adaptive-footer a:focus-visible {
  color: var(--ja-footer-hover) !important;
}

#colophon.ja-adaptive-footer ul,
#colophon.ja-adaptive-footer ol,
.site-footer.ja-adaptive-footer ul,
.site-footer.ja-adaptive-footer ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#colophon.ja-adaptive-footer .footer-navigation .menu,
#colophon.ja-adaptive-footer .footer-menu-container ul,
#colophon.ja-adaptive-footer .site-footer__menu,
#colophon.ja-adaptive-footer .ja-footer-nav ul,
.site-footer.ja-adaptive-footer .footer-navigation .menu,
.site-footer.ja-adaptive-footer .footer-menu-container ul,
.site-footer.ja-adaptive-footer .site-footer__menu,
.site-footer.ja-adaptive-footer .ja-footer-nav ul {
  display: grid !important;
  gap: 9px !important;
}

#colophon.ja-adaptive-footer .footer-navigation a,
#colophon.ja-adaptive-footer .site-footer__menu a,
#colophon.ja-adaptive-footer .ja-footer-nav a,
.site-footer.ja-adaptive-footer .footer-navigation a,
.site-footer.ja-adaptive-footer .site-footer__menu a,
.site-footer.ja-adaptive-footer .ja-footer-nav a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: var(--ja-footer-link) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

#colophon.ja-adaptive-footer .ja-footer-contact a,
.site-footer.ja-adaptive-footer .ja-footer-contact a {
  font-weight: 700;
}

#colophon.ja-adaptive-footer .ja-footer-contact-row,
.site-footer.ja-adaptive-footer .ja-footer-contact-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 14px;
  color: var(--ja-footer-text);
}

#colophon.ja-adaptive-footer .ja-footer-icon,
.site-footer.ja-adaptive-footer .ja-footer-icon,
#colophon.ja-adaptive-footer svg,
.site-footer.ja-adaptive-footer svg {
  color: var(--ja-footer-link);
  fill: none;
  stroke: currentColor;
}

#colophon.ja-adaptive-footer .site-bottom-footer-wrap,
.site-footer.ja-adaptive-footer .site-bottom-footer-wrap,
#colophon.ja-adaptive-footer .ja-footer-bottom,
.site-footer.ja-adaptive-footer .ja-footer-bottom {
  border-top: 1px solid var(--ja-footer-line) !important;
}

#colophon.ja-adaptive-footer .site-bottom-footer-inner-wrap,
.site-footer.ja-adaptive-footer .site-bottom-footer-inner-wrap,
#colophon.ja-adaptive-footer .ja-footer-bottom,
.site-footer.ja-adaptive-footer .ja-footer-bottom {
  display: flex !important;
  flex-wrap: wrap;
  gap: 16px 32px !important;
  align-items: center;
  justify-content: center !important;
  color: var(--ja-footer-muted);
  font-size: 14px;
  font-weight: 700;
}

#colophon.ja-adaptive-footer .site-bottom-footer-inner-wrap p,
#colophon.ja-adaptive-footer .site-bottom-footer-inner-wrap a,
#colophon.ja-adaptive-footer .ja-footer-bottom p,
#colophon.ja-adaptive-footer .ja-footer-bottom a,
.site-footer.ja-adaptive-footer .site-bottom-footer-inner-wrap p,
.site-footer.ja-adaptive-footer .site-bottom-footer-inner-wrap a,
.site-footer.ja-adaptive-footer .ja-footer-bottom p,
.site-footer.ja-adaptive-footer .ja-footer-bottom a {
  max-width: none;
  margin: 0;
  color: var(--ja-footer-muted) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

#colophon.ja-adaptive-footer .site-bottom-footer-inner-wrap a:hover,
#colophon.ja-adaptive-footer .ja-footer-bottom a:hover,
.site-footer.ja-adaptive-footer .site-bottom-footer-inner-wrap a:hover,
.site-footer.ja-adaptive-footer .ja-footer-bottom a:hover {
  color: var(--ja-footer-hover) !important;
}

.site-footer.ja-adaptive-footer > .site-footer__inner {
  display: grid;
  gap: clamp(28px, 4vw, 42px);
  padding: var(--ja-footer-pad-top) var(--ja-footer-pad-x) var(--ja-footer-pad-bottom);
}

@media (prefers-reduced-motion: reduce) {
  #colophon.ja-adaptive-footer a,
  .site-footer.ja-adaptive-footer a {
    transition: none;
  }
}

@media (max-width: 1024px) {
  #colophon.ja-adaptive-footer .site-footer-row-columns-3,
  .site-footer.ja-adaptive-footer .site-footer-row-columns-3,
  #colophon.ja-adaptive-footer .ja-footer-grid,
  .site-footer.ja-adaptive-footer .ja-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.78fr) !important;
    gap: 36px 64px !important;
  }

  #colophon.ja-adaptive-footer .site-footer-row-columns-3 > :first-child,
  .site-footer.ja-adaptive-footer .site-footer-row-columns-3 > :first-child,
  #colophon.ja-adaptive-footer .ja-footer-brand,
  .site-footer.ja-adaptive-footer .ja-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  #colophon.ja-adaptive-footer,
  .site-footer.ja-adaptive-footer {
    --ja-footer-pad-x: 20px;
    --ja-footer-pad-top: 54px;
    --ja-footer-pad-bottom: 46px;
  }

  #colophon.ja-adaptive-footer .site-footer-row-container-inner,
  .site-footer.ja-adaptive-footer .site-footer-row-container-inner {
    padding-inline: var(--ja-footer-pad-x) !important;
  }

  #colophon.ja-adaptive-footer .site-middle-footer-wrap .site-footer-row-container-inner,
  #colophon.ja-adaptive-footer .site-top-footer-wrap .site-footer-row-container-inner,
  .site-footer.ja-adaptive-footer .site-middle-footer-wrap .site-footer-row-container-inner,
  .site-footer.ja-adaptive-footer .site-top-footer-wrap .site-footer-row-container-inner {
    padding-top: var(--ja-footer-pad-top) !important;
    padding-bottom: 34px !important;
  }

  #colophon.ja-adaptive-footer .site-footer-row-columns-3,
  .site-footer.ja-adaptive-footer .site-footer-row-columns-3,
  #colophon.ja-adaptive-footer .ja-footer-grid,
  .site-footer.ja-adaptive-footer .ja-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  #colophon.ja-adaptive-footer .site-footer-row-columns-3 > :first-child,
  .site-footer.ja-adaptive-footer .site-footer-row-columns-3 > :first-child,
  #colophon.ja-adaptive-footer .ja-footer-brand,
  .site-footer.ja-adaptive-footer .ja-footer-brand {
    grid-column: auto;
  }

  #colophon.ja-adaptive-footer .footer-navigation a,
  #colophon.ja-adaptive-footer .site-footer__menu a,
  #colophon.ja-adaptive-footer .ja-footer-nav a,
  .site-footer.ja-adaptive-footer .footer-navigation a,
  .site-footer.ja-adaptive-footer .site-footer__menu a,
  .site-footer.ja-adaptive-footer .ja-footer-nav a {
    min-height: 34px;
  }

  #colophon.ja-adaptive-footer .site-bottom-footer-inner-wrap,
  .site-footer.ja-adaptive-footer .site-bottom-footer-inner-wrap,
  #colophon.ja-adaptive-footer .ja-footer-bottom,
  .site-footer.ja-adaptive-footer .ja-footer-bottom {
    justify-content: flex-start !important;
    gap: 12px 24px !important;
    text-align: left;
  }
}
