/**
 * Footer — Teal Direct mockup (exact match to Footer.html / shop mockup).
 */
.teal-footer-mockup {
  --tf-teal: #008080;
  --tf-teal-mid: #00a3a3;
  --tf-bg: #1b1f23;
  --tf-border: #2a2f34;
  --tf-text: #8a939c;
  --tf-muted: #555;
  background: var(--tf-bg) !important;
  margin: 0;
  padding: 0;
  width: 100%;
}

.teal-footer-mockup .footer {
  background: var(--tf-bg) !important;
  border-top: 3px solid var(--tf-teal) !important;
  padding: 26px 60px 16px !important;
  color: var(--tf-text);
}

/* .teal-footer-mockup .footer .custom-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}
  padding: 0 24px;
} */

.teal-footer-mockup .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.teal-footer-mockup .footer-brand {
  display: block;
  width: 180px;
  margin-bottom: 8px;
  text-decoration: none;
  line-height: 0;
}

.teal-footer-mockup .footer-brand-logo,
.teal-footer-mockup .footer-brand img,
.teal-footer-mockup .footer-brand svg {
  width: 100%;
  height: auto;
  display: block;
}

.teal-footer-mockup .footer-tagline {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: var(--tf-text);
  margin: 10px 0 0;
  line-height: 1.7;
  max-width: 300px;
}

.teal-footer-mockup .footer-col h4 {
  font-family: 'Barlow', sans-serif;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: var(--tf-teal) !important;
  margin-bottom: 10px;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #1a1a1a !important;
  background: transparent !important;
}

.teal-footer-mockup .footer-col > a {
  display: block !important;
  color: #555 !important;
  text-decoration: none !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 0px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.15s ease;
}

.teal-footer-mockup .footer-col > a:hover {
  color: var(--tf-teal-mid) !important;
}

.teal-footer-mockup .footer-bottom {
  border-top: 1px solid var(--tf-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 11.5px;
  color: #444;
  letter-spacing: 0.5px;
}

.teal-footer-mockup .footer-bottom-left,
.teal-footer-mockup .footer-bottom-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #333;
}

.teal-footer-mockup .footer-bottom-right a {
  color: #333 !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.teal-footer-mockup .footer-bottom-right a:hover {
  color: var(--tf-teal-mid) !important;
}

.teal-footer-mockup .footer-bottom-sep {
  color: #444;
}

/* Kill leftover Drupal region chrome if any blocks remain in page */
.teal-footer-mockup .region,
.teal-footer-mockup .block,
.teal-footer-mockup .overlay-image-left,
.teal-footer-mockup .overlay-image-right,
.teal-footer-mockup .footer-main,
.teal-footer-mockup .copyrights,
.teal-footer-mockup .footer-logo,
.teal-footer-mockup .footer-contact-details,
.teal-footer-mockup .iconed-list {
  display: none !important;
}

@media (max-width: 1024px) {
  /* .teal-footer-mockup .footer .custom-container {
    padding: 0 28px;
  } */

  .teal-footer-mockup .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
/* 
  .teal-footer-mockup .footer-brand-col {
    grid-column: 1 / -1;
  } */
}

@media (max-width: 640px) {
  .teal-footer-mockup .footer {
    padding: 36px 0 20px !important;
  }

  .teal-footer-mockup .footer .custom-container {
    padding: 0 20px;
  }

  .teal-footer-mockup .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .teal-footer-mockup .footer-brand {
    width: 150px;
  }

  .teal-footer-mockup .footer-tagline {
    max-width: 100%;
  }

  .teal-footer-mockup .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Site-wide sticky footer — no blank gap below footer on any page */
html,
body {
  background: #2a2f34;
}

.dialog-off-canvas-main-canvas,
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #2a2f34 !important;
}

.page-wrapper > #page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background: #2a2f34;
}

#page .layout-main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#page .layout-main,
#page .main-content,
#page .main-content__container,
#page main[role="main"] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.teal-footer-mockup {
  margin-top: auto;
  flex-shrink: 0;
}

/* Homepage hero block must not create a nested full-height page shell */
.homepage-hero-banner {
  flex-shrink: 0;
  width: 100%;
}

.main-content .page-wrapper {
  min-height: 0 !important;
  flex: 0 0 auto !important;
  display: block !important;
}

.main-content .page-wrapper > #page {
  min-height: 0 !important;
  flex: none !important;
  display: block !important;
}
