/* GLOBAL RESPONSIVE FIX */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
.site,
.site-content,
.content-area,
.entry-content,
.wp-site-blocks {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

/* Prevent any element from forcing horizontal scroll */
img,
iframe,
video,
canvas,
svg,
table,
pre,
embed,
object {
  max-width: 100% !important;
  height: auto !important;
}

/* Make long text and links wrap */
p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
li,
span,
div {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Main homepage wrapper */
.pth-homepage {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Main content container */
.pth-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Flexible buttons */
.pth-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Desktop grids */
.pth-hero-grid,
.pth-grid-3,
.pth-grid-4,
.pth-steps,
.pth-pricing,
.pth-about-grid,
.pth-testimonials,
.pth-faq,
.pth-trust-list {
  width: 100%;
}

/* Tablet */
@media (max-width: 980px) {
  .pth-hero-grid,
  .pth-grid-3,
  .pth-grid-4,
  .pth-steps,
  .pth-pricing,
  .pth-about-grid,
  .pth-testimonials,
  .pth-faq,
  .pth-trust-list {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .pth-insurance-list,
  .pth-city-list {
    grid-template-columns: 1fr 1fr !important;
  }

  .pth-title {
    font-size: 32px !important;
  }

  .pth-subtitle {
    font-size: 17px !important;
  }
}

/* Phone */
@media (max-width: 640px) {
  .pth-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .pth-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .pth-subtitle {
    font-size: 16px !important;
  }

  .pth-btn,
  .pth-btn-primary,
  .pth-btn-secondary {
    width: 100% !important;
    text-align: center !important;
  }

  .pth-insurance-list,
  .pth-city-list {
    grid-template-columns: 1fr !important;
  }

  .pth-section,
  .pth-section-tight {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}