/*
 * Static-site fixes layered on top of the original Elementor CSS.
 *
 * Mobile background: the WordPress kit painted the background on <body> with
 * background-size: cover. <body> is the full page height (several thousand px),
 * so on phones the image was scaled to cover the whole page and looked hugely
 * zoomed in. Desktop (>=1025px) used background-attachment: fixed, which iOS
 * and most mobile browsers ignore. Here, at tablet/phone widths, the image is
 * moved to a viewport-sized fixed layer behind the page, so it covers the
 * screen (not the page) just like desktop does. Desktop is untouched.
 */
@media (max-width: 1024px) {
  body.elementor-kit-8 {
    background-image: none !important;
  }
  body.elementor-kit-8::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh; /* large viewport, so no jump when the phone's URL bar hides */
    z-index: -1;
    pointer-events: none;
    background-image: url("/assets/uploads/2023/05/bg1.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
/*
 * The grass strip under the header has -50px side margins (Elementor setting),
 * which made the page 40px wider than a phone screen, so phones zoomed out /
 * scrolled sideways. Clip that sideways overflow on small screens.
 */
@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
  }
  @supports (overflow-x: clip) {
    html,
    body {
      overflow-x: clip;
    }
  }
}
@media (max-width: 767px) {
  body.elementor-kit-8::before {
    background-image: url("/assets/uploads/2023/05/bgcell.png");
  }
}

/* Simple footer: one row on desktop (copyright + host left, contact right). */
.atmr-footer {
  padding: 14px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.85);
}
.atmr-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.atmr-footer__left,
.atmr-footer__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}
.atmr-footer a {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-decoration-color: #cf0606 !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
}
.atmr-footer__left a {
  color: #ff4d4d !important;
  font-weight: 600;
}
@media (max-width: 767px) {
  .atmr-footer {
    padding: 14px 16px;
    text-align: center;
  }
  .atmr-footer__inner,
  .atmr-footer__left,
  .atmr-footer__right {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
  .atmr-footer__inner {
    gap: 8px;
  }
  .atmr-footer__right a {
    padding: 4px 0; /* a little extra tap height */
  }
}

/*
 * Contact Us: readable text + big tap targets (replaces the image-only
 * contact column). Readability first: system sans-serif, large sizes,
 * solid dark panel behind the text, 64px+ tall full-width buttons.
 */
.atmr-contact {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 22px 0; /* same button width as before (old panel padding + border) */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  text-align: center;
}
.atmr-contact__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 68px;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 14px 18px;
  background: #ffffff;
  color: #111111 !important;
  border-radius: 10px;
  text-align: left;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.atmr-contact__btn:last-child {
  margin-bottom: 0;
}
.atmr-contact__btn:hover,
.atmr-contact__btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.atmr-contact__btn:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: 2px;
}
.atmr-contact__btn--primary,
.atmr-contact__btn--red {
  background: #cf0606;
  color: #ffffff !important;
}
.atmr-contact__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #cf0606;
  color: #ffffff;
  font-size: 20px;
}
.atmr-contact__btn--primary .atmr-contact__icon,
.atmr-contact__btn--red .atmr-contact__icon {
  background: #ffffff;
  color: #cf0606;
}
.atmr-contact__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.atmr-contact__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.atmr-contact__value {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.atmr-contact__btn--primary .atmr-contact__value {
  font-size: 26px;
  font-weight: 800;
}
@media (max-width: 767px) {
  .atmr-contact {
    padding: 8px 18px 0;
  }
  .atmr-contact__btn--primary .atmr-contact__value {
    font-size: 28px;
  }
}
