/**
 * iMotion Common CSS
 * Shared styles for header, footer, conditions/care/injury-recovery layout, banner & location.
 * Link from pages: <link rel="stylesheet" href="assets/css/common/common.css">
 */

/* ========== HEADER ========== */
header {
  max-width: 100%;
  margin: 0;
}

.site-header {
  position: relative;
  background-size: auto;
  background-repeat: no-repeat;
  padding: 18px 0;
  z-index: 1000;
  overflow: hidden;
  padding-bottom: 190px;
}

.site-header .container-fluid {
  max-width: 1745px;
}

.logo img {
  max-height: 76px;
  width: auto;
}

/* Desktop Navigation */
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 42px;
  justify-content: center;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;          /* Figma spec */
  line-height: 1;           /* 100% */
  letter-spacing: 0;
  color: var(--blue);       /* brand dark blue */
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--orange);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Shared dropdown panel design for all submenus */
.main-nav .has-simple-submenu > a,
.main-nav .has-submenu > a {
  display: inline-block;
}

.main-nav .simple-submenu,
.main-nav .nav-submenu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-top: 3px solid #003E82;
  box-shadow: 0 18px 40px rgba(0, 27, 77, 0.14);
  padding: 16px 22px 16px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.main-nav .has-simple-submenu:hover .simple-submenu,
.main-nav .has-submenu:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Our Story dropdown: single column list */
.main-nav .simple-submenu {
  top: calc(100% + 10px);
  min-width: 220px;
  display: block;
}

.simple-submenu li + li {
  margin-top: 4px;
}

.simple-submenu a,
.nav-submenu a {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: #4E647C;
  text-decoration: none;
}

.simple-submenu a:hover,
.nav-submenu a:hover {
  color: var(--orange);
}

/* The iMotion Way mega dropdown: 2-column layout */
.main-nav .nav-submenu {
  top: calc(100% + 18px);
  min-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.nav-submenu h4,
.nav-submenu .nav-subtitle {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 6px;
  color: var(--text-dark);
}

.nav-submenu ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.nav-submenu li + li {
  margin-top: 4px;
}

/* (link styles shared above with .simple-submenu a) */

/* Issues We Address: show bullet-style lists inside the shared panel */
.issues-submenu .nav-submenu ul {
  list-style: disc;
  padding-left: 18px;
}

.issues-submenu .nav-submenu li + li {
  margin-top: 4px;
}

.nav-submenu h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--blue);
}

.nav-submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-submenu li + li {
  margin-top: 6px;
}

/* .nav-submenu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-submenu a:hover {
  color: var(--primary);
} */

/* Menu Button */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.menu-btn span p {
  color: black;
}

.menu-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--blue);
  margin-left: 6px;
  margin-bottom: 0px;
}

/* Decorative Shapes */
.header-shape {
  position: absolute;
  top: -80px;
  width: 260px;
  height: 260px;
  background: var(--accent);
  border-radius: 50%;
  z-index: -1;
}

.header-shape.left {
  left: -120px;
}

.header-shape.right {
  right: -120px;
}

/* Mobile Menu */
div#mobileMenu {
  background-color: #ffffff;
}

.offcanvas {
  background: var(--bg-light);
}

.mobile-nav {
  list-style: none;
  padding: 0;
}

.mobile-nav li {
  border-bottom: none;
  /* margin-bottom: 19px; */
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--blue); /* same dark blue as desktop nav */
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--orange);
}

/* Mobile submenu (accordion-style) */
.mobile-nav .mobile-has-submenu > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 16px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--blue);
  display: none;
}

.mobile-nav .mobile-has-submenu svg {
  width: 16px;
  height: 16px;
}

.mobile-submenu {
  display: none;
  list-style: disc;
  padding: 0 0 8px 18px;
  margin: 0 0 4px;
}

.mobile-submenu a {
  padding: 4px 0;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--blue);
}

.mobile-has-submenu.open .mobile-submenu {
  display: block;
}

/* Mobile sidebar layout like design */
.mobile-offcanvas-header {
  border-bottom: 1px solid #e6e6e6;
  padding-block: 14px;
}

.offcanvas-logo {
  max-height: 40px;
  width: auto;
}

.mobile-nav a {
  padding: 12px 0;
}

.mobile-section {
  margin-top: 6px;
}

.mobile-nav-heading {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: var(--blue); /* match nav typography */
  padding: 12px 0 4px;
}

.mobile-sublist {
  list-style: disc;
  padding-left: 18px;
  margin: 0 0 4px;
}

.mobile-sublist li + li {
  margin-top: 4px;
  margin-bottom: 0px;
}

.mobile-sublist a {
  padding: 4px 0;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

/* Show main menu items inside sidebar only on responsive (when desktop nav is hidden) */
.mobile-main-link {
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-main-link {
    display: block;
  }
}

@media (max-width: 991px) {
  .menu-text {
    display: none;
  }
}

/* ========== FOOTER ========== */
footer {
  background: #F2F9FF;
  padding: 50px 20px 20px;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: block;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  color: #002B5B;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 20px;
  text-align: center;
}

.footer-links a {
  color: #002B5B;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 0 8px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff7a18;
}

.footer-links span {
  color: #BBD7F5;
  padding: 0 1px;
  font-size: 14px;
}

.footer-divider {
  height: 1px;
  background: #FFE6D5;
  margin: 20px auto;
  max-width: 1200px;
  width: 100%;
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  color: #002B5B;
  font-size: 15px;
  font-weight: 400;
}

.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-socials a {
  color: #003E82;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.footer-socials svg {
  display: block;
}

@media (max-width: 768px) {
  footer {
    padding: 40px 15px 20px;
  }
  .footer-links {
    gap: 0;
    margin-bottom: 15px;
  }
  .footer-links a {
    padding: 0 6px;
    font-size: 14px;
  }
  .footer-links span {
    padding: 0 3px;
  }
  .footer-divider {
    margin: 15px auto;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-copy {
    font-size: 14px;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* ========== BANNER & LOCATION (shared across conditions-style pages) ========== */
.benner-section h1 {
  width: 100% !important;
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  text-align: center;
}

.benner-section .benner-content .span-path {
  background: linear-gradient(177.09deg, #F68030 2.48%, #DD5E1B 97.66%);
  padding: 5px 12px;
  border-radius: 20px;
  color: #ffffff;
}

.location-section .container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.locaiotn {
  border-left: 3px solid #003E82;
  box-shadow: 0px 5px 15px 0px #AFAFAF40;
  align-items: center;
  border-radius: 20px;
}

.locaiotn-text {
  padding-left: 116px;
}

.locaiotn-text span {
  color: #003E82;
}

.locaiotn-left {
  border-left: none;
  border-right: 3px solid #003E82;
}

iframe {
  border-radius: 20px;
}

/* ========== CONDITIONS / CARE / INJURY-RECOVERY LAYOUT ========== */
:root {
  --blue: #003e82;
  --blue-dark: #002a59;
  --orange: #ff7100;
  --orange-soft: #ff8f3a;
  --bg-page: #f9fbff;
  --bg-soft: #f6f8fc;
  --bg-card: #ffffff;
  --border-soft: #dde5f2;
  --text-main: #2e3b57;
  --text-muted: #6c7a93;
  --shadow-soft: 0 20px 50px rgba(0, 27, 77, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

.conditions-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  column-gap: 28px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.conditions-category-card {
  position: sticky;
  top: 150px;              /* sit below fixed header (~80px) + buffer */
  align-self: start;
  max-height: calc(100vh - 140px); /* scroll internally when list is taller than viewport */
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 16px 16px 14px;
  font-size: 13px;
  color: var(--blue);
  border-right: 2px solid #003E82;
  box-shadow: 0px 5px 15px 0px #AFAFAF40;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

.conditions-category-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.category-primary-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--blue);
  padding: 12px 12px 10px 0;
  cursor: pointer;
  min-width: 0;
  transition: color 0.2s ease;
}

.category-primary-toggle > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.category-primary-toggle:hover {
  text-decoration: underline;
}

.category-primary-block:last-child .category-primary-toggle {
  border-bottom: none;
}

.category-primary-toggle .accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-primary-toggle .accordion-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.category-primary-block.open .category-primary-toggle .accordion-icon::before {
  background-image: url(/front/assets/images/icon/FAQ-cllose.png);
}

.category-primary-block:not(.open) .category-primary-toggle .accordion-icon::before {
  background-image: url(/front/assets/images/icon/FAQ-icon.png);
}

.category-primary-toggle--single .accordion-icon {
  display: none;
}

.category-primary-content {
  display: none;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.category-primary-block.open .category-primary-content {
  display: block;
}

.category-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #4E647C;
  padding: 10px 12px 8px 54px;
  cursor: pointer;
  min-width: 0;
  transition: color 0.2s ease;
}

.category-sub-toggle > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.category-sub-toggle:hover {
  text-decoration: underline;
  color: var(--blue);
}

.category-sub-toggle .accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-sub-toggle .accordion-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.category-sub-block.open .category-sub-toggle .accordion-icon::before {
  background-image: url(../../images/icon/FAQ-cllose.png);
}

.category-sub-block:not(.open) .category-sub-toggle .accordion-icon::before {
  background-image: url(../../images/icon/FAQ-icon.png);
}

.category-sub-content {
  display: none;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.category-sub-block.open .category-sub-content {
  display: block;
}

.conditions-category-list .category-link {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4E647C;
  padding: 10px 14px 10px 36px;
  margin: 4px 0 4px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.conditions-category-list .category-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

li.category-sub-block.open .category-sub-toggle {
  color: var(--blue);
  text-decoration: underline;
}

.conditions-category-list .category-link.active {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
}

.conditions-content-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* Extra bottom space so the last category can always scroll to the top of the viewport */
  /* padding-bottom: 55vh; */
  scroll-margin-top: 110px;
}
section#book-appointment{
  padding: 0px;
}

/* Section anchor for in-page links (e.g. Disc, Joint & Degenerative Conditions) */
.condition-section-anchor {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 100px;
}

/* Sidebar sub-heading as link */
.category-sub-head-link {
  color: inherit;
  text-decoration: none;
}
.category-sub-head-link:hover {
  color: var(--primary, #003E82);
  text-decoration: underline;
}

.conditions-content-wrapper .condition-content {
  display: none;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
}

.conditions-content-wrapper .condition-content.active {
  display: flex !important;
}

.condition-content .therapy-title {
  font-family: "Montserrat", sans-serif;
  font-size: 40px !important;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
  line-height: 1.2;
}

.condition-content .therapy-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 36px !important;
  font-weight: 500 !important;
  color: var(--text-main);
  margin: 0 0 20px;
}

.condition-content .therapy-hero-img {
  width: 100%;             /* responsive – fills the content column */
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

.condition-content .therapy-intro {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 28px;
}

.condition-content .therapy-intro .term {
  font-weight: 700;
  color: var(--blue);
}

.condition-content .category-link-inline {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.condition-content .category-link-inline:hover {
  text-decoration: underline;
}

.condition-content .therapy-section h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 12px;
}

.condition-content .therapy-section p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 12px;
}

.condition-content .therapy-section--highlight {
  background: #e8f0fc;
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.condition-content .therapy-section--highlight h3 {
  margin-top: 0;
}

.condition-content .therapy-section ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.condition-content .therapy-section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-main);
}

.condition-content .therapy-section ul li::before {
  content: url(../../images/icon/therapy-contant-arrow.png);
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  line-height: 0;
}

section.therapy-section {
  padding: 20px 0px;
}

/* Responsive: Tablet (≤1199px) */
@media (max-width: 1199px) {
  .conditions-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 20px;
  }
  /* Sidebar still sticky but with slightly less max-height */
  .conditions-category-card {
    top: 110px;
    max-height: calc(100vh - 130px);
  }
  .condition-content .therapy-title { font-size: 34px !important; }
  .condition-content .therapy-subtitle { font-size: 28px !important; }
  .condition-content .therapy-intro,
  .condition-content .therapy-section p,
  .condition-content .therapy-section ul li { font-size: 18px; }
  .benner-section h1 { font-size: 48px; }
}

@media (max-width: 1024px) {
  .main-nav a{
    font-size: 15px;
  }
  .main-nav > ul{
    margin-bottom: 0px;
  }
}
/* Responsive: Tablet portrait (≤991px) — sidebar goes back to normal flow */
@media (max-width: 991px) {
  .conditions-layout {
    grid-template-columns: 1fr;
    row-gap: 24px;
    margin-bottom: 40px;
  }
  .conditions-category-card {
    position: static;  /* no longer sticky – flows normally above content */
    top: auto;
    max-height: none;
    overflow-y: visible;
  }
  /* Remove desktop bottom padding – not needed when sidebar is above content */
  .conditions-content-wrapper {
    padding-bottom: 20px;
  }
  .condition-content .therapy-title { font-size: 30px !important; }
  .condition-content .therapy-subtitle { font-size: 26px !important; }
  .condition-content .therapy-intro,
  .condition-content .therapy-section p,
  .condition-content .therapy-section ul li { font-size: 17px; }
  .condition-content .therapy-hero-img { max-height: 280px; }
  .condition-content .therapy-section--highlight { padding: 16px 20px; }
  .category-primary-toggle { font-size: 18px; padding: 10px 0 8px 0; }
  .category-sub-toggle { font-size: 17px; padding: 8px 0 6px 50px; }
  .conditions-category-list .category-link { font-size: 16px; padding: 8px 12px 8px 32px; }
  .benner-section h1 { font-size: 42px; }
  .locaiotn-text { padding-left: 60px; }
}

/* Responsive: Mobile landscape / small tablet (≤767px) */
@media (max-width: 767px) {
  .conditions-layout { margin-bottom: 32px; }
  .conditions-category-card { padding: 12px 12px 10px; }
  .condition-content .therapy-title { font-size: 26px !important; }
  .condition-content .therapy-subtitle { font-size: 22px !important; }
  .condition-content .therapy-intro,
  .condition-content .therapy-section p,
  .condition-content .therapy-section ul li { font-size: 16px; }
  .condition-content .therapy-section h3 { font-size: 16px; }
  .condition-content .therapy-hero-img { max-height: 220px; margin-bottom: 18px; }
  .condition-content .therapy-intro { margin-bottom: 20px; }
  .condition-content .therapy-section--highlight { padding: 14px 16px; margin-bottom: 20px; }
  .condition-content .therapy-section ul li { padding-left: 20px; margin-bottom: 8px; }
  .category-primary-toggle { font-size: 16px; padding: 10px 0 8px 0; }
  .category-sub-toggle { font-size: 15px; padding: 8px 0 6px 42px; }
  .conditions-category-list .category-link { font-size: 15px; padding: 8px 10px 8px 28px; margin-left: 14px; }
  .benner-section h1 { font-size: 36px; }
  .benner-section .benner-content .span-path { font-size: 12px; padding: 4px 10px; }
  .location-section .container { gap: 40px; }
  .locaiotn-text { padding-left: 24px; }
}

/* Responsive: Mobile (≤576px) */
@media (max-width: 576px) {
  .conditions-category-card { padding: 10px 14px 8px 10px; border-radius: 8px; }
  .category-primary-toggle { padding-right: 14px; }
  .category-sub-toggle { padding-right: 14px; }
  .condition-content .therapy-title { font-size: 22px !important; line-height: 1.3; }
  .condition-content .therapy-subtitle { font-size: 18px !important; margin-bottom: 14px; }
  .condition-content .therapy-intro,
  .condition-content .therapy-section p,
  .condition-content .therapy-section ul li { font-size: 15px; }
  .condition-content .therapy-section h3 { font-size: 15px; margin-bottom: 10px; }
  .condition-content .therapy-hero-img { max-height: 180px; border-radius: 8px; margin-bottom: 14px; }
  .condition-content .therapy-intro { margin-bottom: 16px; }
  .condition-content .therapy-section--highlight { padding: 12px 14px; margin-bottom: 16px; border-radius: 8px; }
  .condition-content .therapy-section ul li::before { top: 6px; }
  .category-primary-toggle { font-size: 15px; padding: 12px 0 10px 0; min-height: 44px; align-items: center; }
  .category-sub-toggle { font-size: 14px; padding: 10px 0 8px 36px; min-height: 44px; align-items: center; }
  .conditions-category-list .category-link { font-size: 14px; padding: 10px 12px 10px 24px; margin: 4px 0 4px 12px; min-height: 44px; display: flex; align-items: center; }
  .category-primary-toggle .accordion-icon,
  .category-sub-toggle .accordion-icon { width: 20px; height: 20px; }
  .benner-section h1 { font-size: 28px; }
  .benner-section .benner-content .span-path { font-size: 11px; padding: 4px 8px; }
  .location-section .container { gap: 32px; }
  .locaiotn-text { padding-left: 16px; }
}

/* Responsive: Small phones (≤480px) */
@media (max-width: 480px) {
  .conditions-category-card { padding: 10px 12px 8px 10px; }
  .category-primary-toggle { padding-right: 12px; }
  .category-sub-toggle { padding-right: 12px; }
  .condition-content .therapy-title { font-size: 20px !important; }
  .condition-content .therapy-subtitle { font-size: 17px !important; }
  .condition-content .therapy-intro,
  .condition-content .therapy-section p,
  .condition-content .therapy-section ul li { font-size: 14px; }
  .condition-content .therapy-section h3 { font-size: 14px; }
  .condition-content .therapy-hero-img { max-height: 160px; }
  .benner-section h1 { font-size: 24px; }
  .container { padding: 0px; }
}

/* Responsive: Very small (≤360px) */
@media (max-width: 360px) {
  .conditions-category-card { padding: 8px 12px 8px 8px; }
  .category-primary-toggle { padding-right: 12px; gap: 6px; }
  .category-sub-toggle { padding-right: 12px; padding-left: 30px; gap: 6px; }
  .category-primary-toggle .accordion-icon,
  .category-sub-toggle .accordion-icon { width: 20px; height: 20px; min-width: 20px; }
  .conditions-category-list .category-link { padding-left: 20px; margin-left: 10px; }
}

/* Utility: prevent overflow */
.conditions-layout,
.conditions-content-wrapper,
.condition-content { min-width: 0; }
.condition-content .therapy-title,
.condition-content .therapy-subtitle,
.condition-content .therapy-intro,
.condition-content .therapy-section p { word-wrap: break-word; overflow-wrap: break-word; }
.conditions-category-card { overflow-x: hidden; }
/* .conditions-section .container { box-sizing: border-box; max-width: 100%; } */
