/* Keep template footer wrapper strips the same black as this module.
   T4 can place footer-1/footer-2/footer-3 inside an outer grey section; these
   selectors make that wrapper match the module background and remove the
   visible grey bars. */
body:has(.roamoz-footer) #t4-footer,
body:has(.roamoz-footer) #t4-footnav,
body:has(.roamoz-footer) .t4-footer,
body:has(.roamoz-footer) .t4-footnav,
body:has(.roamoz-footer) [id*="footer"]:has(.roamoz-footer),
body:has(.roamoz-footer) [class*="footer"]:has(.roamoz-footer),
body:has(.roamoz-footer) .t4-section:has(.roamoz-footer),
body:has(.roamoz-footer) .t4-section-inner:has(.roamoz-footer),
body:has(.roamoz-footer) .container:has(.roamoz-footer),
body:has(.roamoz-footer) .row:has(.roamoz-footer) {
  background: #0d0d0d !important;
}

body:has(.roamoz-footer) #t4-footer,
body:has(.roamoz-footer) #t4-footnav,
body:has(.roamoz-footer) .t4-footer,
body:has(.roamoz-footer) .t4-footnav,
body:has(.roamoz-footer) .t4-section:has(.roamoz-footer),
body:has(.roamoz-footer) .t4-section-inner:has(.roamoz-footer) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Roaming-Oz Footer Module */
.roamoz-footer {
  --roamoz-footer-bg: #0d0d0d;
  --roamoz-footer-accent: #f47a10;
  --roamoz-footer-text: #d8d8d8;
  --roamoz-footer-link: #ffffff;
  --roamoz-footer-max: 1320px;
  --roamoz-footer-pad-top: 28px;
  --roamoz-footer-pad-bottom: 18px;
  --roamoz-footer-logo-width: 92px;
  --roamoz-footer-divider: rgba(255,255,255,0.18);

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--roamoz-footer-bg);
  color: var(--roamoz-footer-text);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  overflow-x: clip;
  overflow-y: visible;
}

.roamoz-footer,
.roamoz-footer * {
  box-sizing: border-box;
}

.roamoz-footer__inner {
  width: min(var(--roamoz-footer-max), calc(100% - 48px));
  margin: 0 auto;
  padding: var(--roamoz-footer-pad-top) 0 var(--roamoz-footer-pad-bottom);
}

.roamoz-footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) minmax(200px, 1fr) minmax(160px, 0.75fr) minmax(220px, 1fr);
  gap: 30px;
  align-items: start;
}

.roamoz-footer--no-quick .roamoz-footer__top {
  grid-template-columns: minmax(380px, 1.25fr) minmax(250px, 0.78fr) minmax(300px, 0.95fr);
}

.roamoz-footer__column {
  min-width: 0;
}

.roamoz-footer__column + .roamoz-footer__column {
  border-left: 1px solid var(--roamoz-footer-divider);
  padding-left: 30px;
}

.roamoz-footer--no-quick .roamoz-footer__column + .roamoz-footer__column {
  padding-left: 28px;
}

.roamoz-footer__brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.roamoz-footer__logo-wrap {
  flex: 0 0 auto;
  line-height: 0;
}

.roamoz-footer__logo {
  width: var(--roamoz-footer-logo-width);
  max-width: 100%;
  height: auto;
  display: block;
}

.roamoz-footer h2,
.roamoz-footer h3,
.roamoz-footer p,
.roamoz-footer ul {
  margin-top: 0;
}

.roamoz-footer h2 {
  margin-bottom: 6px;
  color: #fff;
  font-family: 'Barlow Condensed', 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.roamoz-footer h3 {
  margin-bottom: 10px;
  color: var(--roamoz-footer-accent);
  font-family: 'Barlow Condensed', 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.roamoz-footer p {
  margin-bottom: 0;
  color: var(--roamoz-footer-text);
  font-size: 14px;
  line-height: 1.45;
}

.roamoz-footer a {
  color: var(--roamoz-footer-link);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.roamoz-footer a:hover,
.roamoz-footer a:focus {
  color: var(--roamoz-footer-accent);
  text-decoration: none;
}

.roamoz-footer__quick ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.roamoz-footer__quick li {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.25;
}

.roamoz-footer__social-links {
  display: grid !important;
  grid-template-columns: repeat(2, 58px) !important;
  grid-auto-flow: row;
  gap: 16px !important;
  align-items: center;
  justify-content: start;
}

@media (min-width: 1400px) {
  .roamoz-footer--no-quick .roamoz-footer__social-links {
    grid-template-columns: repeat(4, 58px) !important;
  }
}

.roamoz-footer__social-link {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.30);
  border-radius: 50%;
  color: #fff !important;
  background: rgba(255,255,255,0.03);
  position: relative;
}

.roamoz-footer__social-link[data-hover-text]::after {
  content: attr(data-hover-text);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.roamoz-footer__social-link[data-hover-text]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 21;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.roamoz-footer__social-link[data-hover-text]:hover::after,
.roamoz-footer__social-link[data-hover-text]:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.roamoz-footer__social-link[data-hover-text]:hover::before,
.roamoz-footer__social-link[data-hover-text]:focus::before {
  opacity: 1;
  visibility: visible;
}

.roamoz-footer__social-svg {
  display: block;
  width: 25px;
  height: 25px;
  color: currentColor;
  fill: currentColor;
}

.roamoz-footer__social-svg--bmc {
  width: 31px;
  height: 31px;
}

.roamoz-footer__social-img {
  display: block;
  max-width: 31px;
  max-height: 31px;
  width: auto;
  height: auto;
}

.roamoz-footer__social-link--image {
  background: rgba(255,255,255,0.05);
}

.roamoz-footer__social-link:hover,
.roamoz-footer__social-link:focus {
  border-color: var(--roamoz-footer-accent);
  background: rgba(244,122,16,0.12);
  color: var(--roamoz-footer-accent) !important;
  transform: translateY(-2px);
}

.roamoz-footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 10px !important;
}

.roamoz-footer__contact-line a,
.roamoz-footer__contact-line span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.roamoz-footer__contact-svg {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--roamoz-footer-link);
  fill: currentColor;
  flex: 0 0 22px;
  margin-top: 1px;
}

.roamoz-footer__bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.66);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .roamoz-footer__top {
    grid-template-columns: minmax(260px, 1.4fr) minmax(190px, 1fr) minmax(155px, 0.8fr) minmax(210px, 1fr);
    gap: 22px;
  }

  .roamoz-footer--no-quick .roamoz-footer__top {
    grid-template-columns: minmax(260px, 1.2fr) minmax(170px, 0.75fr) minmax(260px, 1fr);
  }

  .roamoz-footer--no-quick .roamoz-footer__social-links {
    grid-template-columns: repeat(2, 58px) !important;
  }

  .roamoz-footer__column + .roamoz-footer__column {
    padding-left: 22px;
  }

  .roamoz-footer__quick ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .roamoz-footer--no-quick .roamoz-footer__social-links {
    grid-template-columns: repeat(2, 58px) !important;
  }

  .roamoz-footer__inner {
    width: min(720px, calc(100% - 36px));
    padding-top: 30px;
    padding-bottom: 22px;
  }

  .roamoz-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 28px;
  }

  .roamoz-footer--no-quick .roamoz-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roamoz-footer__column + .roamoz-footer__column {
    border-left: 0;
    padding-left: 0;
  }

  .roamoz-footer__brand {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .roamoz-footer--no-quick .roamoz-footer__social-links {
    grid-template-columns: repeat(2, 58px) !important;
  }

  .roamoz-footer__inner {
    width: min(100% - 28px, 520px);
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .roamoz-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .roamoz-footer--no-quick .roamoz-footer__top {
    grid-template-columns: 1fr;
  }

  .roamoz-footer__brand {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .roamoz-footer h2 {
    font-size: 22px;
  }

  .roamoz-footer__quick ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .roamoz-footer__social-links {
    justify-content: center;
  }

  .roamoz-footer__contact-line {
    justify-content: center;
  }
}
