/* Main site's responsive corrections, scoped to the front page. */
body.home .elementor-138 .elementor-element.elementor-element-4896269b,
body.home .main-header {
  border-bottom: 0 !important;
}
body.home .elementor-96 .elementor-column,
body.home .elementor-96 .elementor-widget { min-width: 0; }
body.home .elementor-element-74813709 > .elementor-widget-container {
  margin-inline: 0 !important;
}
body.home .elementor-96 .elementor-button {
  max-width: 100%;
  white-space: normal;
}
body.home .elementor-element-16f5676c {
  /* Remains visible when the background video is delayed or disabled on mobile. */
  background-image: url("../../tenis/assets-analista/quadras-saibro-rapida.png");
  background-size: cover;
  background-position: center 65%;
}
body.home .mobile-nav-panel {
  max-width: 100vw;
  max-height: 100dvh;
  overflow-y: auto;
}
@media (min-width: 1025px) and (max-width: 1600px) {
  /* Scale the desktop's 702 x 783 collage as one unit on notebooks. */
  body.home .elementor-element-1335663f > .elementor-widget-wrap {
    position: relative;
    aspect-ratio: 702 / 783;
    height: auto;
    align-self: flex-start;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.home .elementor-element-1335663f .elementor-widget-image {
    position: absolute;
    margin: 0 !important;
    min-height: 0;
  }
  body.home .elementor-element-1335663f .elementor-widget-image > .elementor-widget-container {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.home .elementor-element-1335663f .elementor-widget-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border: 3px solid white !important;
  }
  body.home .elementor-element-1335663f .elementor-element-6f673642 {
    left: 18.1%;
    top: 0;
    width: 81.9% !important;
    height: 75.2%;
    z-index: 1;
  }
  body.home .elementor-element-1335663f .elementor-element-31f449e8 {
    left: 0;
    top: 30.4%;
    width: 60.5% !important;
    height: 58%;
    z-index: 2;
  }
  body.home .elementor-element-1335663f .elementor-element-7ad3c01f {
    left: 36.9%;
    top: 54.15%;
    width: 34.47% !important;
    height: 45.85%;
    z-index: 3;
  }
}
@media (max-width: 1100px) {
  body.home .elementor-96 .elementor-element-9bb92ad > .elementor-widget-wrap {
    margin-inline: 0 !important;
  }
  body.home .elementor-96 .elementor-element-16f5676c h1.heading-title {
    font-size: clamp(32px, 5.5vw, 56px) !important;
    line-height: 1.15 !important;
  }
}
@media (max-width: 767px) {
  /* Keep all three courts together instead of stacking padel below the collage. */
  body.home .elementor-element-1335663f > .elementor-widget-wrap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(12, minmax(0, 1fr));
    aspect-ratio: 0.78;
    gap: 0;
    padding: 0 10px !important;
    margin-bottom: 24px;
  }
  body.home .elementor-element-1335663f .elementor-widget-image {
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    min-height: 0;
  }
  body.home .elementor-element-1335663f .elementor-widget-image > .elementor-widget-container {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.home .elementor-element-1335663f .elementor-widget-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border: 4px solid white !important;
  }
  body.home .elementor-element-1335663f .elementor-element-6f673642 {
    grid-area: 1 / 3 / 9 / 13;
  }
  body.home .elementor-element-1335663f .elementor-element-31f449e8 {
    grid-area: 5 / 1 / 12 / 9;
    z-index: 2;
  }
  body.home .elementor-element-1335663f .elementor-element-7ad3c01f {
    grid-area: 7 / 7 / 13 / 13;
    z-index: 3;
  }
  body.home .elementor-96 .elementor-element-16f5676c {
    padding-top: 150px;
    padding-bottom: 80px;
  }
  body.home .elementor-96 .elementor-button,
  body.home .hamburger-button,
  body.home .close-button { min-height: 44px; }
  body.home .mobile-nav-panel a { overflow-wrap: anywhere; }
  body.home .mobile-nav-panel .nav-links li { margin-bottom: 6px; }
  body.home .mobile-nav-panel .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  body.home .mobile-nav-panel .close-button { flex-shrink: 0; }
}
