/* Mobile only: 95% of current sizes + tight spacing. Desktop stays unchanged. */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  #root {
    zoom: 0.95;
    width: 105.27vw;
  }

  .section-padding,
  .hero_section,
  .drugs_section,
  .appointment_section,
  .ctafrom_section,
  .cta_section,
  .cta_section_s2,
  .funfact_section,
  .wpo-site-footer,
  .wpo-contact-pg-section,
  .wpo-blog-pg-section,
  .wpo-blog-single-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .container,
  .container-fluid {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .section_title,
  .service_section .section_title,
  .project_section .section_title,
  .project_section_s2 .section_title,
  .project_section_s3 .section_title,
  .about_section .content {
    margin-bottom: 40px !important;
    text-align: right !important;
  }

  .section_title h2,
  .section_title h3,
  .about_section .content h2,
  .about_section .content h3 {
    text-align: right !important;
  }

  .cta_wrap .content,
  .wpo-breadcumb-area .wpo-breadcumb-wrap {
    margin-bottom: 12px !important;
  }

  .service_card,
  .work_card,
  .project_card,
  .team_card,
  .blog_card,
  .testimonial_card {
    margin-bottom: 8px !important;
  }

  .cta_wrap {
    padding: 24px 12px !important;
    border-radius: 20px !important;
  }

  .cta_wrap .cta_form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cta_wrap .cta_form .input_filled {
    flex: 1 1 100%;
    width: 100%;
    margin: 0;
  }

  .wpo-upper-footer,
  .wpo-lower-footer {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .row {
    --bs-gutter-x: 8px;
  }
}

.section_title h2,
.section_title h3,
.service_section .section_title h2,
.service_section .section_title h3,
.project_section .section_title h2,
.project_section .section_title h3,
.project_section_s2 .section_title h2,
.project_section_s2 .section_title h3,
.project_section_s3 .section_title h2,
.project_section_s3 .section_title h3,
.work_section .section_title h3,
.work_section_s2 .section_title h3,
.about_section .content h2,
.about_section .content h3,
.about_section_s2 .content h2,
.about_section_s2 .content h3,
.about_section_s3 .content h2,
.about_section_s3 .content h3,
.hero_section .content h2,
.hero_section .content h3,
.hero_section_s2 .wrapper .content h2,
.wpo-breadcumb-area .wpo-breadcumb-wrap h2,
.cta_wrap .content h2,
.cta_section .cta_wrapper .content .text h2,
.cta_section_s2 .cta_wrapper .content .text h2,
.wpo-blog-single-section .post h2,
.wpo-blog-pg-section .post h3,
.blog_card .content h3,
.blog_grid_page .blog_card .content h3,
.wpo-contact-pg-section .wpo-contact-title h2,
.work_card .text h3,
.team_card .content h3,
.team_card .content h3 a,
.project_section .project_card .text h2,
.project_section .project_card .text h2 a,
.about_usp_card h3,
.stay_card h3,
.license_card h3,
.testimonial_card .ath .text h3,
.related_section .section_title h2,
.related_section .section_title h3 {
  line-height: 1.4em;
}

/* Mobile headings: larger sizes (weight unchanged) */
@media (max-width: 767px) {
  .section_title h3,
  .about_section .content h3,
  .cta_wrap .content h2,
  .wpo-blog-single-section .post h2 {
    font-size: 34px !important;
    line-height: 1.5em !important;
  }

  .wpo-breadcumb-area .wpo-breadcumb-wrap h2 {
    font-size: 38px !important;
    line-height: 1.4em !important;
  }

  .blog_card .content h3,
  .work_card .text h3,
  .team_card .content h3,
  .stay_card h3,
  .license_card h3,
  .about_usp_card h3 {
    font-size: 22px !important;
    line-height: 1.5em !important;
  }
}

/* Default pages (privacy / terms / licenses): readable headings with clear spacing */
@media (max-width: 767px) {
  .wpo-blog-single-section .post.page-content {
    padding: 22px 18px !important;
  }
  .wpo-blog-single-section .post.page-content h2 {
    font-size: 21px !important;
    line-height: 1.7em !important;
    margin: 30px 0 14px !important;
  }
  .wpo-blog-single-section .post.page-content h3 {
    font-size: 18px !important;
    line-height: 1.7em !important;
    margin: 24px 0 12px !important;
  }
  .wpo-blog-single-section .post.page-content p,
  .wpo-blog-single-section .post.page-content li {
    font-size: 16px !important;
    line-height: 2em !important;
  }
  .wpo-blog-single-section .post.page-content p {
    margin: 0 0 16px !important;
  }
}
