/* Mobile-first quality fixes for Patil Wada static pages */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .tagline {
    display: none !important;
  }

  #topnav.tagline-height {
    top: 0 !important;
  }

  #topnav .container,
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #topnav .logo img {
    max-height: 38px;
    width: auto;
  }

  #topnav .navigation-menu > li > a,
  #topnav .navigation-menu > li > span {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  #topnav .submenu li a {
    white-space: normal !important;
    line-height: 1.4 !important;
  }

  .swiper-slider-hero .text-center > img {
    width: 210px !important;
    max-width: 65vw !important;
  }

  .swiper-slider-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.15rem) !important;
    margin-bottom: 0.85rem !important;
  }

  .swiper-slider-hero p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    padding-left: 6px;
    padding-right: 6px;
  }

  .footer .grid {
    row-gap: 1.5rem !important;
  }

  .footer a,
  .footer p,
  .footer h6 {
    overflow-wrap: anywhere;
  }

  .footer iframe {
    height: 220px !important;
  }

  .h-\[500px\] {
    height: 300px !important;
  }

  .text-\[56px\] {
    font-size: 2.15rem !important;
    line-height: 1.2 !important;
  }

  input,
  textarea,
  select,
  button {
    font-size: 16px !important;
  }
}

@media (max-width: 767.98px) {
  .absolute.-z-1 {
    display: none !important;
  }

  .w-96 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .pb-56 {
    padding-bottom: 2rem !important;
  }

  .py-\[60px\] {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .max-w-\[760px\] {
    max-width: 100% !important;
  }

  .tracking-\[1px\] {
    letter-spacing: 0.3px !important;
  }

  #back-to-top {
    inset-inline-end: 14px !important;
    bottom: 14px !important;
  }
}
