/* ============================================================
   Urdu Coverage — Health Portal Medical (Mayo/WebMD style)
   Cool white + medical blue, icon directory, soft-shadow cards,
   sticky sub-nav, big centered search. RTL, Nastaliq + Naskh.
   Scoped under .uhm. v2.0.0
   ============================================================ */

.uhm {
  --hm-blue: #0a5aa5;
  --hm-blue-dark: #084680;
  --hm-blue-tint: #e8f1fa;
  --hm-sky: #0369a1;
  --hm-sky-tint: #e3f2fa;
  --hm-teal: #007c91;
  --hm-teal-tint: #e2f2f4;
  --hm-green: #1e8e5a;
  --hm-green-tint: #e6f4ec;
  --hm-amber: #b45309;
  --hm-amber-tint: #fdf3e3;
  --hm-violet: #7c3aed;
  --hm-violet-tint: #f3eefd;
  --hm-indigo: #4f46e5;
  --hm-indigo-tint: #eef0fd;
  --hm-red: #c0392b;
  --hm-red-tint: #fdecea;
  --hm-border: #e3e9f0;
  --hm-text: #1a2733;
  --hm-muted: #5b6b7a;
  --hm-bg: #f7f9fb;
  --hm-shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 2px 8px rgba(16, 42, 67, .05);
  --hm-shadow-lg: 0 4px 8px rgba(16, 42, 67, .08), 0 12px 28px rgba(16, 42, 67, .10);
  --hm-radius: 12px;
  width: 100%;
  min-width: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  background: var(--hm-bg);
  color: var(--hm-text);
  font-family: 'Noto Naskh Arabic', serif;
}
.uhm * { min-width: 0; }
.uhm a { color: inherit; }
.uhm .num {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.uhm .hm-h {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  line-height: 2.2;
}

/* Authentic Arabic Typography for Sallallahu Alayhi Wa Sallam (ﷺ) */
.saw,
span.saw {
  font-family: 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif !important;
  font-size: 0.8em !important;
  font-weight: 600 !important;
  display: inline-block;
  vertical-align: 0;
  margin: 0 2px;
  line-height: 1;
}

/* ---------- Emergency alert bar ---------- */
.uhm-alertbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  background: var(--hm-red);
  color: #fff;
  padding: 7px 16px;
  border-radius: 0 0 var(--hm-radius) var(--hm-radius);
  font-size: 13px;
  font-weight: 700;
}
.uhm-alertbar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.uhm-alertbar a:hover { color: var(--hm-red-tint); }
.uhm-alertbar svg { width: 16px; height: 16px; }

/* ---------- Sticky sub-nav ---------- */
.uhm-subnav {
  position: sticky;
  top: 61px;
  z-index: 90;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  margin-top: 12px;
  padding: 6px 10px;
  box-shadow: var(--hm-shadow);
}
body.admin-bar .uhm-subnav {
  top: 93px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .uhm-subnav {
    top: 107px;
  }
}
.uhm-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hm-text);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.uhm-subnav a svg { width: 16px; height: 16px; color: var(--hm-blue); }
.uhm-subnav a:hover { background: var(--hm-blue-tint); color: var(--hm-blue-dark); }

/* ---------- 1. Hero ---------- */
.uhm-hero {
  background: linear-gradient(120deg, var(--hm-blue-dark) 0%, var(--hm-blue) 70%, #1173c4 100%);
  border-radius: 14px;
  margin-top: 12px;
  padding: 42px 28px 38px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.uhm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 80% 0%, rgba(255, 255, 255, .14), transparent 60%);
  pointer-events: none;
}
.uhm-hero > * { position: relative; z-index: 1; }
.uhm-hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 20px;
  padding: 3px 14px 5px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.uhm-hero h1 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 2.2;
  margin: 0 0 6px;
}
.uhm-hero-standfirst {
  font-size: 15.5px;
  line-height: 2;
  color: #d5e6f7;
  max-width: 820px;
  margin: 0 auto 24px;
}

/* Big centered search */
.uhm-searchbox { max-width: 720px; margin: 0 auto; text-align: right; position: relative; }
.uhm-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 26px;
  padding: 5px 5px 5px 26px;
  box-shadow: 0 8px 24px rgba(6, 38, 72, .25);
}
.uhm-search-ic {
  display: flex;
  align-items: center;
  padding: 0 4px 0 12px;
  color: var(--hm-blue);
}
.uhm-search-ic svg { width: 21px; height: 21px; }
.uhm-search-form input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 11px 12px;
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 15px;
  color: var(--hm-text);
}
.uhm-search-form input[type="text"]::placeholder { color: #93a3b3; }
.uhm-clear-btn {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  color: #93a3b3;
  cursor: pointer;
  padding: 0 8px;
}
.uhm-search-btn {
  background: var(--hm-blue);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 11px 26px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
}
.uhm-search-btn:hover { background: var(--hm-blue-dark); }
.uhm-spin {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: hmSpin .6s linear infinite;
}
@keyframes hmSpin { to { transform: rotate(360deg); } }

/* Search dropdown */
.uhm-dd {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--hm-shadow-lg);
  border: 1px solid var(--hm-border);
  z-index: 9999;
  max-height: 420px;
  overflow-y: auto;
  text-align: right;
}
.uhm-dd-label {
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-blue);
  background: var(--hm-blue-tint);
  border-radius: 12px 12px 0 0;
}
.uhm-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid #eef2f6;
  text-decoration: none;
}
.uhm-dd-item:hover { background: var(--hm-bg); }
.uhm-dd-item:hover .uhm-dd-title { color: var(--hm-blue); }
.uhm-dd-title {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 2.1;
  color: var(--hm-text);
}
.uhm-dd-en { font-size: 12.5px; color: var(--hm-teal); }
.uhm-dd-note { font-size: 12px; font-weight: 700; color: var(--hm-teal); }
.uhm-dd-empty { padding: 18px; text-align: center; font-size: 13px; color: var(--hm-muted); }
.uhm-dd-all {
  display: block;
  padding: 11px 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--hm-blue);
  background: var(--hm-bg);
  border-radius: 0 0 12px 12px;
}
.uhm-dd-all:hover { color: var(--hm-blue-dark); }

/* Popular searches */
.uhm-popular {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #c9dcee;
}
.uhm-popular a {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 18px;
  padding: 3px 14px 5px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  transition: background .15s;
}
.uhm-popular a:hover { background: rgba(255, 255, 255, .22); }

/* Hero dateline stats */
.uhm-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  color: #d5e6f7;
}
.uhm-hero-stats b { color: #fff; font-weight: 700; }

/* ---------- Sections ---------- */
.uhm-sec { padding-top: 38px; }
.uhm-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 18px;
}
.uhm-sec-head h2 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 2.2;
  margin: 0;
  position: relative;
  padding-right: 14px;
}
.uhm-sec-head h2::before {
  content: '';
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 2px;
  background: var(--hm-blue);
}
.uhm-sec-sub { font-size: 13.5px; line-height: 2; color: var(--hm-muted); margin: 0; }
.uhm-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--hm-blue);
  white-space: nowrap;
}
.uhm-more:hover { color: var(--hm-blue-dark); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 2. Health A-Z icon directory ---------- */
.uhm-dir {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.uhm-dir-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 20px;
  text-decoration: none;
  box-shadow: var(--hm-shadow);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.uhm-dir-card:hover {
  box-shadow: var(--hm-shadow-lg);
  transform: translateY(-3px);
  border-color: #c6d7e8;
}
.uhm-dir-ic {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.uhm-dir-ic svg { width: 24px; height: 24px; }
.uhm-dir-title {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 2.1;
  color: var(--hm-text);
  transition: color .15s;
}
.uhm-dir-card:hover .uhm-dir-title { color: var(--hm-blue); }
.uhm-dir-desc {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--hm-muted);
  margin-bottom: 12px;
}
.uhm-dir-go {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hm-blue);
}
.uhm-dir-go svg { width: 14px; height: 14px; vertical-align: -2px; }

/* Tint variants */
.uhm-t-blue { background: var(--hm-blue-tint); color: var(--hm-blue); }
.uhm-t-green { background: var(--hm-green-tint); color: var(--hm-green); }
.uhm-t-amber { background: var(--hm-amber-tint); color: var(--hm-amber); }
.uhm-t-violet { background: var(--hm-violet-tint); color: var(--hm-violet); }
.uhm-t-teal { background: var(--hm-teal-tint); color: var(--hm-teal); }
.uhm-t-red { background: var(--hm-red-tint); color: var(--hm-red); }
.uhm-t-indigo { background: var(--hm-indigo-tint); color: var(--hm-indigo); }
.uhm-t-sky { background: var(--hm-sky-tint); color: var(--hm-sky); }

/* ---------- 3. Medicines spotlight (drug center) ---------- */
.uhm-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 28px;
  background: var(--hm-blue-tint);
  border: 1px solid #d3e3f4;
  border-radius: 14px;
  padding: 28px;
}
.uhm-spotlight h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 2.2;
  margin: 0 0 4px;
}
.uhm-spotlight-desc { font-size: 14px; line-height: 2.05; color: #33475c; margin: 0 0 18px; }
.uhm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hm-blue);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 26px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(10, 90, 165, .28);
  transition: background .15s;
}
.uhm-btn:hover { background: var(--hm-blue-dark); color: #fff; }
.uhm-spot-cats {
  background: #fff;
  border: 1px solid #d3e3f4;
  border-radius: var(--hm-radius);
  padding: 16px 20px;
}
.uhm-spot-cats h4 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 2.1;
  margin: 0 0 8px;
  color: var(--hm-blue-dark);
}
.uhm-spot-cats ul { list-style: none; margin: 0; padding: 0; }
.uhm-spot-cats li { border-bottom: 1px solid #eef2f6; }
.uhm-spot-cats li:last-child { border-bottom: none; }
.uhm-spot-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 2px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.uhm-spot-cats a svg { width: 14px; height: 14px; color: var(--hm-blue); }
.uhm-spot-cats a:hover { color: var(--hm-blue); }

/* ---------- 4. Card grids: hospitals / doctors / tibb / totkay ---------- */
.uhm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.uhm-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 20px;
  box-shadow: var(--hm-shadow);
  transition: box-shadow .18s, transform .18s;
}
.uhm-card:hover { box-shadow: var(--hm-shadow-lg); transform: translateY(-2px); }
.uhm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.uhm-chip {
  display: inline-block;
  background: var(--hm-blue-tint);
  color: var(--hm-blue-dark);
  border-radius: 16px;
  padding: 2px 12px 4px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.uhm-chip-green { background: var(--hm-green-tint); color: #14603e; }
.uhm-chip-amber { background: var(--hm-amber-tint); color: #8a4107; }
.uhm-chip-red { background: var(--hm-red-tint); color: var(--hm-red); }
.uhm-chip-gray { background: #eef2f6; color: var(--hm-muted); }
.uhm-card h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 2.1;
  margin: 0 0 4px;
  color: var(--hm-text);
}
.uhm-card h3 a { text-decoration: none; }
.uhm-card h3 a:hover { color: var(--hm-blue); }
.uhm-card-meta { font-size: 12.5px; line-height: 2; color: var(--hm-muted); margin: 0 0 12px; }
.uhm-card-meta b { color: var(--hm-text); font-weight: 700; }
.uhm-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef2f6;
  padding-top: 12px;
  font-size: 13px;
}
.uhm-fee { color: var(--hm-teal); font-weight: 700; }
.uhm-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hm-text);
  font-weight: 700;
  text-decoration: none;
}
.uhm-phone svg { width: 14px; height: 14px; color: var(--hm-green); }
.uhm-phone:hover { color: var(--hm-blue); }
.uhm-appt {
  background: var(--hm-blue);
  color: #fff;
  border-radius: 18px;
  padding: 6px 18px 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.uhm-appt:hover { background: var(--hm-blue-dark); color: #fff; }

/* Doctor avatar */
.uhm-doc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.uhm-doc-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hm-blue-tint);
  color: var(--hm-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 6px;
}

/* Hadith tint box (tibb cards) */
.uhm-hadith {
  background: var(--hm-green-tint);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 2.1;
  color: #14603e;
  margin: 0 0 12px;
}
.uhm-daraz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hm-amber);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.uhm-daraz svg { width: 14px; height: 14px; }
.uhm-daraz:hover { color: #8a4107; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 5. Calculators (tools) ---------- */
.uhm-calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 6px;
  box-shadow: var(--hm-shadow);
  margin-bottom: 14px;
}
.uhm-calc-btn {
  flex: 1 1 180px;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hm-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.uhm-calc-btn:hover { color: var(--hm-text); background: var(--hm-bg); }
.uhm-calc-btn.active { background: var(--hm-blue); color: #fff; box-shadow: 0 3px 8px rgba(10, 90, 165, .28); }
.uhm-calc-container {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--hm-shadow);
}
.uhm-calc-container h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 2.2;
  margin: 0 0 16px;
  text-align: center;
}
.uhm-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.uhm-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--hm-text);
}
.uhm-field input[type="number"],
.uhm-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d7dfe8;
  border-radius: 8px;
  background: #fff;
  color: var(--hm-text);
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.uhm-field input[type="number"]:focus,
.uhm-field select:focus {
  border-color: var(--hm-blue);
  box-shadow: 0 0 0 3px rgba(10, 90, 165, .12);
}
.uhm-calc-actions { text-align: center; }
.uhm-result {
  display: none;
  margin-top: 20px;
  background: var(--hm-blue-tint);
  border: 1px solid #d3e3f4;
  border-radius: var(--hm-radius);
  padding: 20px 22px;
  text-align: center;
}
.uhm-result-label { font-size: 13px; color: var(--hm-muted); margin-bottom: 4px; }
.uhm-result-score { font-size: 40px; font-weight: 700; color: var(--hm-blue-dark); line-height: 1.4; margin-bottom: 4px; }
.uhm-result-score .num { font-size: 40px; }
.uhm-result-status {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.uhm-scale { display: flex; height: 4px; border-radius: 2px; overflow: hidden; max-width: 500px; margin: 0 auto 8px; }
.uhm-scale span { flex: 1; }
.uhm-scale .s1 { background: #9db8d4; }
.uhm-scale .s2 { background: var(--hm-green); flex: 0 0 24%; }
.uhm-scale .s3 { background: #e0a52e; flex: 0 0 20%; }
.uhm-scale .s4 { background: var(--hm-red); }
.uhm-scale-labels {
  display: flex;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto 14px;
  font-size: 11px;
  color: var(--hm-muted);
}
.uhm-result-advice { font-size: 13px; line-height: 2; color: #33475c; max-width: 620px; margin: 0 auto; }
.uhm-result-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hm-blue);
  text-decoration: none;
}
.uhm-result-more:hover { color: var(--hm-blue-dark); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 6. Seasonal alerts ---------- */
.uhm-alertcard {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-top: 3px solid var(--hm-red);
  border-radius: var(--hm-radius);
  padding: 20px;
  box-shadow: var(--hm-shadow);
}
.uhm-alertcard .uhm-alert-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.uhm-alertcard svg { width: 20px; height: 20px; color: var(--hm-red); }
.uhm-alertcard h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 2.1;
  margin: 0;
}
.uhm-alertcard ul { margin: 0; padding-right: 18px; font-size: 12.5px; line-height: 2.05; color: #33475c; }

/* ---------- 7. FAQ ---------- */
.uhm-faq { max-width: 880px; margin: 0 auto; }
.uhm-faq details {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: var(--hm-shadow);
}
.uhm-faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 2.2;
}
.uhm-faq summary::-webkit-details-marker { display: none; }
.uhm-faq summary::after {
  content: '+';
  font-family: 'Libre Franklin', sans-serif;
  font-size: 20px;
  color: var(--hm-blue);
  flex-shrink: 0;
  line-height: 1;
}
.uhm-faq details[open] summary::after { content: '−'; }
.uhm-faq details[open] summary { color: var(--hm-blue-dark); }
.uhm-faq .uhm-faq-a {
  font-size: 13.5px;
  line-height: 2.05;
  color: #33475c;
  padding: 0 20px 16px;
  margin: 0;
}

/* ---------- 8. Disclaimer ---------- */
.uhm-disclaimer {
  margin-top: 38px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 20px 24px;
  text-align: center;
}
.uhm-disclaimer h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 2.2;
  margin: 0 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.uhm-disclaimer h3 svg { width: 16px; height: 16px; color: var(--hm-amber); }
.uhm-disclaimer p {
  font-size: 12.5px;
  line-height: 2;
  color: var(--hm-muted);
  max-width: 940px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .uhm .uhm-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uhm .uhm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uhm .uhm-spotlight { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .uhm .uhm-dir,
  .uhm .uhm-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .uhm .uhm-hero h1 { font-size: 26px; }
  .uhm .uhm-hero { padding: 30px 16px 28px; }
  .uhm .uhm-hero-kicker { border-radius: 6px; padding: 3px 10px 5px; font-size: 11.5px; }
  .uhm .uhm-subnav {
    position: relative;
    top: auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px;
    gap: 4px;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .uhm .uhm-subnav::-webkit-scrollbar { display: none; }
  .uhm .uhm-subnav a {
    flex: 0 0 auto;
    padding: 6px 11px;
    font-size: 12.5px;
    border-radius: 6px;
  }
  .uhm .uhm-subnav a svg { width: 14px; height: 14px; }
  .uhm .uhm-search-form { border-radius: 10px; padding: 4px; }
  .uhm .uhm-search-btn { border-radius: 6px; padding: 9px 16px 11px; }
  .uhm .uhm-popular a { border-radius: 6px; padding: 3px 10px 5px; font-size: 12px; }
  .uhm .uhm-sec { padding-top: 22px; }
  .uhm .uhm-calc-container { padding: 18px; }
  .uhm .uhm-sec-head h2 { font-size: 20px; }
  .uhm .uhm-calc-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .uhm .uhm-calc-tabs::-webkit-scrollbar { display: none; }
  .uhm .uhm-calc-btn { flex: 0 0 auto; }
  .uhm .uhm-btn,
  .uhm .uhm-appt { border-radius: 6px; }
  .uhm .uhm-chip { border-radius: 4px; padding: 2px 8px 4px; }
  .uhm .uhm-dir-go { border-radius: 6px; }
}

/* ============================================================
   Medicines Directory (/health/medicines/) — Medical style
   Standalone .uhm-md wrapper. v2.1.0
   ============================================================ */

.uhm-md {
  --hm-blue: #0a5aa5;
  --hm-blue-dark: #084680;
  --hm-blue-tint: #e8f1fa;
  --hm-teal: #007c91;
  --hm-border: #e3e9f0;
  --hm-text: #1a2733;
  --hm-muted: #5b6b7a;
  --hm-bg: #f7f9fb;
  --hm-shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 2px 8px rgba(16, 42, 67, .05);
  --hm-shadow-lg: 0 4px 8px rgba(16, 42, 67, .08), 0 12px 28px rgba(16, 42, 67, .10);
  --hm-radius: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  background: var(--hm-bg);
  color: var(--hm-text);
  font-family: 'Noto Naskh Arabic', serif;
}
.uhm-md * { min-width: 0; }
.uhm-md a { color: inherit; }
.uhm-md .num {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.uhm-md .uhm-h {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  line-height: 2.2;
}

/* Hero */
.uhm-md-hero {
  background: linear-gradient(120deg, var(--hm-blue-dark) 0%, var(--hm-blue) 70%, #1173c4 100%);
  border-radius: 14px;
  margin-top: 12px;
  padding: 34px 28px 30px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.uhm-md-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 240px at 82% 0%, rgba(255, 255, 255, .14), transparent 60%);
  pointer-events: none;
}
.uhm-md-hero > * { position: relative; z-index: 1; }
.uhm-md-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 16px;
  padding: 3px 14px 5px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.uhm-md-hero h1 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 2.2;
  margin: 0 0 4px;
}
.uhm-md-hero-sub {
  font-size: 14.5px;
  line-height: 2;
  color: #d5e6f7;
  max-width: 780px;
  margin: 0 auto 18px;
}
.uhm-md-hero-actions { margin-top: 4px; }
.uhm-md-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 20px;
  padding: 8px 22px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.uhm-md-hero-link:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* Dosage form tabs */
.uhm-md-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 6px;
  box-shadow: var(--hm-shadow);
  margin-top: 14px;
}
.uhm-md-tab {
  flex: 1 1 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hm-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.uhm-md-tab:hover { background: var(--hm-bg); color: var(--hm-text); }
.uhm-md-tab.active { background: var(--hm-blue); color: #fff; box-shadow: 0 3px 8px rgba(10, 90, 165, .28); }
.uhm-md-tab .num { font-size: 11.5px; opacity: .75; }

/* Ailment quick filters */
.uhm-md-filters {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 14px 16px;
  margin-top: 14px;
}
.uhm-md-filters-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-muted);
  margin-bottom: 10px;
}
.uhm-md-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.uhm-md-chip {
  display: inline-block;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hm-text);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.uhm-md-chip:hover { border-color: var(--hm-blue); color: var(--hm-blue); }
.uhm-md-chip.active { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; }

/* Search + dropdown */
.uhm-md-searchwrap { position: relative; margin-top: 14px; }
.uhm-md-search {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid #d7dfe8;
  border-radius: 10px;
  padding: 6px;
  box-shadow: var(--hm-shadow);
}
.uhm-md-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 15px;
  color: var(--hm-text);
  background: transparent;
}
.uhm-md-search-input::placeholder { color: #93a3b3; }
.uhm-md-search-btn {
  background: var(--hm-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 30px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.uhm-md-search-btn:hover { background: var(--hm-blue-dark); }
.uhm-md-dd {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  box-shadow: var(--hm-shadow-lg);
  z-index: 9999;
  max-height: 380px;
  overflow-y: auto;
  text-align: right;
}
.uhm-md-dd-label {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-blue);
  background: var(--hm-blue-tint);
}
.uhm-md-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #eef2f6;
  text-decoration: none;
  color: var(--hm-text);
}
.uhm-md-dd-item:hover { background: var(--hm-bg); }
.uhm-md-dd-img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--hm-border);
  background: #fff;
  object-fit: contain;
  padding: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.uhm-md-dd-title {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uhm-md-dd-en {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13px;
  color: var(--hm-blue);
  line-height: 1.9;
}
.uhm-md-dd-note { font-size: 12px; font-weight: 700; color: var(--hm-teal); }
.uhm-md-dd-chip {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

/* A-Z letter bar */
.uhm-md-alpha {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  direction: ltr;
}
.uhm-md-letter {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  background: #fff;
  color: var(--hm-muted);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.uhm-md-letter:hover { border-color: var(--hm-blue); color: var(--hm-blue); }
.uhm-md-letter.active { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; }

/* Medicines grid + cards */
.uhm-md-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.uhm-md-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 16px;
  box-shadow: var(--hm-shadow);
  transition: box-shadow .18s, transform .18s;
}
.uhm-md-card:hover { box-shadow: var(--hm-shadow-lg); transform: translateY(-2px); }
.uhm-md-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.uhm-md-card-form {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--hm-teal);
}
.uhm-md-card-pack {
  font-size: 11px;
  color: var(--hm-muted);
  background: #eef2f6;
  border-radius: 4px;
  padding: 2px 7px;
}
.uhm-md-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: var(--hm-bg);
  border: 1px solid #eef2f6;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  text-decoration: none;
  padding: 6px;
}
.uhm-md-card-img img {
  max-height: 128px;
  max-width: 100%;
  object-fit: contain;
}
.uhm-md-card-img-fb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  color: var(--hm-blue);
  background: var(--hm-blue-tint);
  border-radius: 6px;
}
.uhm-md-card-img-fb .uhm-md-fb-letter {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.uhm-md-card-img-fb .uhm-md-card-form { color: var(--hm-muted); text-transform: none; letter-spacing: 0; }
.uhm-md-card-mfr {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #93a3b3;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uhm-md-card h3 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 4px;
  min-height: 40px;
  color: var(--hm-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uhm-md-card h3 a { text-decoration: none; }
.uhm-md-card h3 a:hover { color: var(--hm-blue); }
.uhm-md-card-strength {
  font-weight: 500;
  color: var(--hm-muted);
  font-size: 13px;
}
.uhm-md-card-formula {
  font-size: 12px;
  color: var(--hm-teal);
  font-weight: 700;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uhm-md-card-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef2f6;
  padding-top: 10px;
}
.uhm-md-price-label {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--hm-muted);
  display: block;
}
.uhm-md-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--hm-blue-dark);
  line-height: 1.3;
}
.uhm-md-price-na { font-size: 13px; font-weight: 700; color: #93a3b3; }
.uhm-md-unit { font-size: 11.5px; color: var(--hm-muted); display: block; }
.uhm-md-cta {
  background: var(--hm-blue);
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 2;
  white-space: nowrap;
  transition: background .15s;
}
.uhm-md-cta:hover { background: var(--hm-blue-dark); color: #fff; }

/* Empty state */
.uhm-md-empty {
  grid-column: 1 / -1;
  padding: 44px 20px;
  text-align: center;
  color: var(--hm-muted);
  border: 1px dashed #c6d2df;
  border-radius: var(--hm-radius);
  background: #fff;
}
.uhm-md-empty h4 { margin: 0 0 4px; font-family: 'Noto Nastaliq Urdu', serif; font-size: 17px; line-height: 2.1; color: var(--hm-text); }
.uhm-md-empty p { margin: 0; font-family: 'Noto Nastaliq Urdu', serif; font-size: 14px; line-height: 2.1; }

/* Pagination */
.uhm-md-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  border-top: 1px solid var(--hm-border);
  padding-top: 22px;
}
.uhm-md-pager-info {
  background: var(--hm-blue);
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
}
.uhm-md-pg {
  background: #fff;
  border: 1px solid #d7dfe8;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hm-text);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.uhm-md-pg:hover { border-color: var(--hm-blue); color: var(--hm-blue); }
.uhm-md-back { margin-top: 34px; text-align: center; }
.uhm-md-back a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hm-blue);
  text-decoration: none;
}
.uhm-md-back a:hover { color: var(--hm-blue-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Responsive (medicines) */
@media (max-width: 640px) {
  .uhm-md .uhm-md-hero h1 { font-size: 23px; }
  .uhm-md .uhm-md-hero { padding: 26px 16px 24px; }
  .uhm-md .uhm-md-tab { flex: 1 1 100%; }
  .uhm-md .uhm-md-card h3 { min-height: 0; }
}

/* ============================================================
   Health inner pages v2.2 — hospitals, doctors, hakeems,
   homeopathic, diseases, tests. Standalone .uhm-md scope.
   ============================================================ */

/* Breadcrumbs + docs header (doctors / hakeems / homeo) */
.uhm-md .uhm-md-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--hm-muted);
  margin-bottom: 12px;
}
.uhm-md .uhm-md-crumbs a { color: var(--hm-blue); font-weight: 700; text-decoration: none; }
.uhm-md .uhm-md-crumbs a:hover { color: var(--hm-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.uhm-md .uhm-md-crumbs .cur { color: var(--hm-text); font-weight: 700; }
.uhm-md .uhm-md-docs-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hm-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.uhm-md .uhm-md-docs-head h1 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--hm-text);
}
.uhm-md .uhm-md-docs-head .uhm-h2 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 17.5px;
  color: var(--hm-blue-dark);
  line-height: 2;
  margin: 0;
}
.uhm-md .uhm-md-certline {
  display: inline-block;
  background: var(--hm-blue-tint);
  border: 1px solid #d3e3f4;
  color: var(--hm-blue-dark);
  border-radius: 4px;
  padding: 2px 10px 4px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.uhm-md .uhm-md-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hm-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(10, 90, 165, .25);
  transition: background .15s;
}
.uhm-md .uhm-md-btn:hover { background: var(--hm-blue-dark); color: #fff; }

/* Unified search bar (select + input + btn) */
.uhm-md .uhm-md-unified {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: var(--hm-shadow);
  margin-bottom: 16px;
}
.uhm-md .uhm-md-locwrap {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  border-left: 1.5px solid #eef2f6;
}
.uhm-md .uhm-md-locwrap select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 11px 14px;
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--hm-text);
  cursor: pointer;
}
.uhm-md .uhm-md-qwrap { flex: 2.5 1 260px; display: flex; align-items: center; }
.uhm-md .uhm-md-qwrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 11px 14px;
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 14.5px;
  color: var(--hm-text);
}
.uhm-md .uhm-md-qwrap input::placeholder { color: #93a3b3; }
.uhm-md .uhm-md-unified .uhm-md-search-btn { flex-shrink: 0; }

/* Selects + filter bar */
.uhm-md select.uhm-md-sel {
  padding: 9px 14px;
  border: 1px solid #d7dfe8;
  border-radius: 8px;
  background: #fff;
  color: var(--hm-text);
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
.uhm-md .uhm-md-filterbar {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.uhm-md .uhm-md-filterbar .uhm-md-fb-left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 1; }
.uhm-md .uhm-md-reset {
  background: #fff;
  border: 1px solid #d7dfe8;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hm-muted);
  cursor: pointer;
}
.uhm-md .uhm-md-reset:hover { border-color: var(--hm-blue); color: var(--hm-blue); }
.uhm-md .uhm-md-count {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--hm-text);
}
.uhm-md .uhm-md-count b { color: var(--hm-blue); font-weight: 700; }

/* Chips as buttons (hakeem/homeo specialty strips) */
.uhm-md button.uhm-md-chip { cursor: pointer; font-family: 'Noto Naskh Arabic', serif; background: #fff; }
.uhm-md button.uhm-md-letter { cursor: pointer; font-family: 'Libre Franklin', sans-serif; background: #fff; }
.uhm-md .uhm-md-specstrip { margin-bottom: 18px; }
.uhm-md .uhm-md-specstrip-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-muted);
}
.uhm-md .uhm-md-specstrip-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Switcher strip (doctors / hakeems / homeo cross-links) */
.uhm-md .uhm-md-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: var(--hm-shadow);
  margin-bottom: 16px;
}
.uhm-md .uhm-md-switcher a,
.uhm-md .uhm-md-switcher span {
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  color: var(--hm-muted);
}
.uhm-md .uhm-md-switcher a:hover { background: var(--hm-bg); color: var(--hm-blue); }
.uhm-md .uhm-md-switcher .on { background: var(--hm-blue); color: #fff; }

/* ── Doctor cards (doctors / hakeems / homeopathic + AJAX) ── */
.uhm-md .uhm-md-doc {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 16px;
  box-shadow: var(--hm-shadow);
  transition: box-shadow .18s, transform .18s;
}
.uhm-md .uhm-md-doc:hover { box-shadow: var(--hm-shadow-lg); transform: translateY(-2px); }
.uhm-md .uhm-md-doc-thumbbox { flex-shrink: 0; text-align: center; width: 100px; }
.uhm-md .uhm-md-doc-thumb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--hm-blue);
  background: #f1f5f9;
  box-shadow: var(--hm-shadow);
  margin: 0 auto 8px;
}
.uhm-md .uhm-md-doc--hakeem .uhm-md-doc-thumb { border-color: var(--hm-green); }
.uhm-md .uhm-md-doc--homeo .uhm-md-doc-thumb { border-color: var(--hm-sky); }
.uhm-md .uhm-md-doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.uhm-md .uhm-md-doc-thumb .uhm-md-doc-fb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hm-blue-tint);
  color: var(--hm-blue-dark);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 30px;
  font-weight: 700;
}
.uhm-md .uhm-md-doc--hakeem .uhm-md-doc-thumb .uhm-md-doc-fb { background: var(--hm-green-tint); color: #14603e; }
.uhm-md .uhm-md-doc--homeo .uhm-md-doc-thumb .uhm-md-doc-fb { background: var(--hm-sky-tint); color: var(--hm-sky); }
.uhm-md .uhm-md-doc-verify {
  display: inline-block;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
  background: var(--hm-green-tint);
  color: #14603e;
}
.uhm-md .uhm-md-doc-verify--sky { background: var(--hm-sky-tint); color: var(--hm-sky); }
.uhm-md .uhm-md-doc-verify--teal { background: var(--hm-teal-tint); color: var(--hm-teal); }
.uhm-md .uhm-md-doc-score {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hm-green);
  margin-top: 5px;
}
.uhm-md .uhm-md-doc-exp {
  display: block;
  font-size: 11px;
  color: var(--hm-muted);
  font-weight: 700;
  margin-top: 2px;
}
.uhm-md .uhm-md-doc-center { flex: 1; min-width: 0; }
.uhm-md .uhm-md-doc-spec {
  display: inline-block;
  background: var(--hm-blue-tint);
  color: var(--hm-blue-dark);
  border-radius: 4px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  margin-bottom: 6px;
}
.uhm-md .uhm-md-doc-center h3 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--hm-text);
}
.uhm-md .uhm-md-doc-center h3 a { text-decoration: none; color: inherit; }
.uhm-md .uhm-md-doc-center h3 a:hover { color: var(--hm-blue); }
.uhm-md .uhm-md-doc-nameur {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 16px;
  color: var(--hm-blue-dark);
  line-height: 2;
  margin: 0 0 4px;
}
.uhm-md .uhm-md-doc-meta {
  font-size: 12.5px;
  color: var(--hm-muted);
  line-height: 1.95;
  margin: 0 0 3px;
}
.uhm-md .uhm-md-doc-meta b { color: var(--hm-text); font-weight: 700; }
.uhm-md .uhm-md-doc-meta .hosp { color: var(--hm-teal); font-weight: 700; }
.uhm-md .uhm-md-doc-suggest {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 11.5px;
  color: var(--hm-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-top: 5px;
}
.uhm-md .uhm-md-doc-side { flex-shrink: 0; width: 170px; display: flex; flex-direction: column; gap: 8px; }
.uhm-md .uhm-md-doc-fee {
  background: var(--hm-bg);
  border: 1px solid var(--hm-border);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}
.uhm-md .uhm-md-doc-fee-label {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--hm-muted);
  display: block;
  line-height: 1.9;
}
.uhm-md .uhm-md-doc-fee-val {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hm-blue-dark);
  line-height: 1.2;
}
.uhm-md .uhm-md-doc-fee-note { font-size: 10.5px; color: var(--hm-green); font-weight: 700; }
.uhm-md .uhm-md-doc-actions { display: flex; flex-direction: column; gap: 7px; }
.uhm-md .uhm-md-doc-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  padding: 9px 12px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 2;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.uhm-md .uhm-md-doc-wa { background: #1fa855; color: #fff; }
.uhm-md .uhm-md-doc-wa:hover { background: #178a45; color: #fff; }
.uhm-md .uhm-md-doc-call { background: var(--hm-text); color: #fff; }
.uhm-md .uhm-md-doc-call:hover { background: #0d1620; color: #fff; }
.uhm-md .uhm-md-doc-profile { border: 1px solid var(--hm-blue); color: var(--hm-blue); }
.uhm-md .uhm-md-doc-profile:hover { background: var(--hm-blue-tint); }
@media (max-width: 720px) {
  .uhm-md .uhm-md-doc { flex-direction: column; }
  .uhm-md .uhm-md-doc-thumbbox { width: 100%; }
  .uhm-md .uhm-md-doc-side { width: 100%; }
}

/* Doctor pagination */
.uhm-md .uhm-md-pgnav { margin-top: 30px; text-align: center; }
.uhm-md .uhm-md-pgnav-info {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13px;
  color: var(--hm-muted);
  margin-bottom: 12px;
}
.uhm-md .uhm-md-pgnav-row { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.uhm-md .uhm-md-pg.active { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; }

/* ── Hospitals page ── */
.uhm-md .uhm-md-er {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 18px;
  box-shadow: var(--hm-shadow);
  margin-top: 14px;
}
.uhm-md .uhm-md-er-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 14px;
}
.uhm-md .uhm-md-er-head h2 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  color: var(--hm-red);
  margin: 0;
}
.uhm-md .uhm-md-er-head .sub { font-size: 12px; color: var(--hm-muted); }
.uhm-md .uhm-md-er-tag {
  background: var(--hm-red);
  color: #fff;
  border-radius: 4px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  letter-spacing: .5px;
}
.uhm-md .uhm-md-er-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.uhm-md .uhm-md-er-tel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid #f1d4d7;
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--hm-text);
  transition: border-color .15s, box-shadow .15s;
}
.uhm-md .uhm-md-er-tel:hover { border-color: var(--hm-red); box-shadow: var(--hm-shadow); }
.uhm-md .uhm-md-er-tel .nm { font-weight: 700; font-size: 14px; color: var(--hm-red); display: block; }
.uhm-md .uhm-md-er-tel .sub { font-size: 11px; color: var(--hm-muted); display: block; }
.uhm-md .uhm-md-er-num {
  background: var(--hm-red);
  color: #fff;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.uhm-md .uhm-md-er-num--dark { background: var(--hm-text); font-size: 11.5px; }
.uhm-md .uhm-md-pillrow { display: flex; flex-wrap: wrap; gap: 6px; }
.uhm-md .uhm-md-pillrow-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--hm-muted);
  margin-bottom: 8px;
}
.uhm-md .uhm-md-hospgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 1024px) {
  .uhm-md .uhm-md-hospgrid { grid-template-columns: minmax(0, 1fr); }
}
.uhm-md .uhm-md-hosp {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 14px;
  box-shadow: var(--hm-shadow);
  transition: box-shadow .18s, transform .18s;
}
.uhm-md .uhm-md-hosp:hover { box-shadow: var(--hm-shadow-lg); transform: translateY(-2px); }
.uhm-md .uhm-md-hosp-thumb {
  position: relative;
  flex: 0 0 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--hm-bg);
}
.uhm-md .uhm-md-hosp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.uhm-md .uhm-md-hosp-thumb .uhm-md-hosp-fb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hm-blue-tint);
  color: var(--hm-blue-dark);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 40px;
  font-weight: 700;
}
.uhm-md .uhm-md-hosp-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(26, 39, 51, .88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px 4px;
}
.uhm-md .uhm-md-hosp-tag-sehat {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(30, 142, 90, .95);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px 4px;
}
.uhm-md .uhm-md-hosp-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.uhm-md .uhm-md-hosp-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.uhm-md .uhm-md-hosp-type {
  display: inline-block;
  background: var(--hm-blue-tint);
  color: var(--hm-blue-dark);
  border-radius: 4px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 8px;
}
.uhm-md .uhm-md-hosp-metas { display: flex; align-items: center; gap: 6px; }
.uhm-md .uhm-md-hosp-beds {
  background: #eef2f6;
  color: var(--hm-text);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}
.uhm-md .uhm-md-hosp-er {
  background: var(--hm-red-tint);
  color: var(--hm-red);
  border-radius: 4px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
}
.uhm-md .uhm-md-hosp-content h3 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--hm-text);
}
.uhm-md .uhm-md-hosp-content h3 a { text-decoration: none; color: inherit; }
.uhm-md .uhm-md-hosp-content h3 a:hover { color: var(--hm-blue); }
.uhm-md .uhm-md-hosp-nameur {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15.5px;
  color: var(--hm-blue-dark);
  line-height: 2;
  margin: 0 0 4px;
}
.uhm-md .uhm-md-hosp-addr { font-size: 12px; color: var(--hm-muted); line-height: 1.95; margin: 0; }
.uhm-md .uhm-md-hosp-foot {
  margin-top: 12px;
  border-top: 1px solid #eef2f6;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.uhm-md .uhm-md-er-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hm-red-tint);
  border: 1px solid #f1d4d7;
  color: var(--hm-red);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.uhm-md .uhm-md-er-call:hover { border-color: var(--hm-red); }
@media (max-width: 640px) {
  .uhm-md .uhm-md-hosp { flex-direction: column; }
  .uhm-md .uhm-md-hosp-thumb { width: 100%; flex: 1 1 auto; }
}

/* ── Diseases page ── */
.uhm-md .uhm-md-dz {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-top: 3px solid var(--hm-red);
  border-radius: var(--hm-radius);
  padding: 18px;
  box-shadow: var(--hm-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.uhm-md .uhm-md-dz:hover { box-shadow: var(--hm-shadow-lg); transform: translateY(-2px); }
.uhm-md .uhm-md-dz-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.uhm-md .uhm-md-dz-tag {
  background: var(--hm-red-tint);
  color: var(--hm-red);
  border-radius: 4px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 9px;
}
.uhm-md .uhm-md-dz-roman { font-family: 'Libre Franklin', sans-serif; font-size: 12px; color: #93a3b3; font-style: italic; }
.uhm-md .uhm-md-dz h3 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--hm-text);
}
.uhm-md .uhm-md-dz h3 a { text-decoration: none; color: inherit; }
.uhm-md .uhm-md-dz h3 a:hover { color: var(--hm-blue); }
.uhm-md .uhm-md-dz-nameur {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 16px;
  color: var(--hm-red);
  line-height: 2;
  margin: 0 0 10px;
}
.uhm-md .uhm-md-dz-ov {
  font-size: 12.5px;
  color: var(--hm-muted);
  line-height: 2;
  border-top: 1px solid #eef2f6;
  padding-top: 10px;
  margin: 0 0 8px;
}
.uhm-md .uhm-md-dz-ov b, .uhm-md .uhm-md-dz-sym b { color: var(--hm-text); font-weight: 700; }
.uhm-md .uhm-md-dz-sym {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13px;
  color: var(--hm-muted);
  line-height: 2.1;
  margin: 0 0 12px;
}
.uhm-md .uhm-md-dz-foot {
  margin-top: auto;
  border-top: 1px solid #eef2f6;
  padding-top: 12px;
  text-align: right;
}
.uhm-md .uhm-md-dz-more {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hm-blue);
  text-decoration: none;
}
.uhm-md .uhm-md-dz-more:hover { color: var(--hm-blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.uhm-md .uhm-md-dzgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

/* ── Tests page ── */
.uhm-md .uhm-md-ts {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-top: 3px solid var(--hm-sky);
  border-radius: var(--hm-radius);
  padding: 18px;
  box-shadow: var(--hm-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.uhm-md .uhm-md-ts:hover { box-shadow: var(--hm-shadow-lg); transform: translateY(-2px); }
.uhm-md .uhm-md-ts-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.uhm-md .uhm-md-ts-top .lbl {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--hm-muted);
}
.uhm-md .uhm-md-ts-price {
  background: var(--hm-sky-tint);
  color: var(--hm-sky);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
}
.uhm-md .uhm-md-ts h3 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--hm-text);
}
.uhm-md .uhm-md-ts h3 a { text-decoration: none; color: inherit; }
.uhm-md .uhm-md-ts h3 a:hover { color: var(--hm-blue); }
.uhm-md .uhm-md-ts-nameur {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15.5px;
  color: var(--hm-sky);
  line-height: 2;
  margin: 0 0 10px;
}
.uhm-md .uhm-md-ts-range {
  font-size: 12px;
  color: var(--hm-muted);
  line-height: 2;
  border-top: 1px solid #eef2f6;
  padding-top: 10px;
  margin: 0 0 12px;
}
.uhm-md .uhm-md-ts-range b { color: var(--hm-text); font-weight: 700; }
.uhm-md .uhm-md-ts-foot { margin-top: auto; border-top: 1px solid #eef2f6; padding-top: 12px; text-align: right; }
.uhm-md .uhm-md-ts-more {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hm-blue);
  text-decoration: none;
}
.uhm-md .uhm-md-ts-more:hover { color: var(--hm-blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.uhm-md .uhm-md-tsgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

/* ── Trust guide boxes (hakeems / homeopathic) ── */
.uhm-md .uhm-md-trust {
  background: var(--hm-blue-tint);
  border: 1px solid #d3e3f4;
  border-radius: var(--hm-radius);
  padding: 22px;
  margin-bottom: 30px;
}
.uhm-md .uhm-md-trust h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 2.1;
  color: var(--hm-blue-dark);
  margin: 0 0 4px;
}
.uhm-md .uhm-md-trust > p {
  font-size: 13.5px;
  line-height: 2.05;
  color: #33475c;
  margin: 0 0 12px;
}
.uhm-md .uhm-md-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.uhm-md .uhm-md-trust-item {
  background: #fff;
  border: 1px solid #d3e3f4;
  border-radius: 8px;
  padding: 14px;
}
.uhm-md .uhm-md-trust-item strong {
  display: block;
  color: var(--hm-blue-dark);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 13.5px;
}
.uhm-md .uhm-md-trust-item span { font-size: 12.5px; color: var(--hm-muted); line-height: 1.95; }

/* Input standalone (diseases / tests filter) */
.uhm-md .uhm-md-input {
  width: 100%;
  border: 1px solid #d7dfe8;
  border-radius: 8px;
  background: #fff;
  padding: 12px 16px;
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 14.5px;
  color: var(--hm-text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: var(--hm-shadow);
}
.uhm-md .uhm-md-input:focus { border-color: var(--hm-blue); box-shadow: 0 0 0 3px rgba(10, 90, 165, .12); }
.uhm-md .uhm-md-input::placeholder { color: #93a3b3; }

/* Alphabet box (diseases) */
.uhm-md .uhm-md-alphabox {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: var(--hm-shadow);
  margin-top: 12px;
}
.uhm-md .uhm-md-alphabox-label { font-size: 12px; font-weight: 700; color: var(--hm-muted); margin-bottom: 8px; }

/* Compatibility normalization for legacy directory markup */
.uhm-md .uhd-container,
.uhm-md .uhd-frontend-container {
    max-width: 1200px !important;
    margin: 20px auto !important;
    padding: 24px !important;
    background: #fff !important;
    border: 1px solid var(--hm-border) !important;
    border-radius: 10px !important;
    box-shadow: var(--hm-shadow) !important;
    direction: ltr;
    text-align: left;
}
.uhm-md .uhd-hero-header,
.uhm-md .uhd-hero-search {
    background: var(--hm-blue-dark) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    background-image: none !important;
}
.uhm-md .uhd-count-badge,
.uhm-md .uhd-quick-pill,
.uhm-md .uhd-savings-badge {
    border-radius: 4px !important;
}
.uhm-md .uhd-hero-search form,
.uhm-md #uhd-hero-search-form {
    border-radius: 6px !important;
    box-shadow: none !important;
}
.uhm-md .uhd-hero-search input,
.uhm-md #uhd-search-input,
.uhm-md #uhd-submit-btn {
    border-radius: 4px !important;
}
.uhm-md .uhd-hero-search button,
.uhm-md .uhd-btn,
.uhm-md .button-small {
    border-radius: 4px !important;
    background-image: none !important;
    box-shadow: none !important;
}
.uhm-md .uhd-hospital-card,
.uhm-md .uhd-doctor-card,
.uhm-md .uhd-disease-card,
.uhm-md .uhd-test-card,
.uhm-md .uhd-medicine-card,
.uhm-md .uhd-tab-container,
.uhm-md .uhd-filter-wrap {
    border-radius: 8px !important;
    box-shadow: var(--hm-shadow) !important;
}
.uhm-md .uhd-hospital-card:hover,
.uhm-md .uhd-doctor-card:hover,
.uhm-md .uhd-disease-card:hover,
.uhm-md .uhd-test-card:hover,
.uhm-md .uhd-medicine-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hm-shadow-lg) !important;
}
.uhm-md .uhd-modal-close-btn {
    border-radius: 4px !important;
}

/* ============================================================
   Health single pages v2.3 — medicine, compare, disease,
   test, hospital, doctor, emergency-first-aid.
   Scoped overrides of shared plugin components (.uhd-*).
   ============================================================ */

/* Container reset (kill white-card-in-card + Inter/LTR) */
.uhm-md .uhd-container {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font-family: 'Noto Naskh Arabic', serif;
  direction: rtl;
  text-align: right;
  max-width: none;
}

/* Shared hero → medical blue */
.uhm-md .uhd-hero-header {
  background: linear-gradient(120deg, var(--hm-blue-dark) 0%, var(--hm-blue) 70%, #1173c4 100%);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: none;
  margin-bottom: 24px;
  color: #fff;
}
.uhm-md .uhd-hero-header h1 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0;
  margin: 0;
  color: #fff;
}
.uhm-md .uhd-hero-header h2 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15px !important;
  color: #d5e6f7 !important;
  line-height: 2 !important;
  margin: 6px 0 0 !important;
}
.uhm-md .uhd-count-badge {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 16px;
  padding: 3px 14px 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: 10px;
}

/* Tabs → blue underline style */
.uhm-md .uhd-tab-container {
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  background: #fff;
  box-shadow: var(--hm-shadow);
  overflow: hidden;
  margin: 22px 0;
}
.uhm-md .uhd-tab-nav { background: var(--hm-bg); border-bottom: 1px solid var(--hm-border); }
.uhm-md .uhd-tab-btn {
  color: var(--hm-muted);
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  transition: color .15s, background .15s;
}
.uhm-md .uhd-tab-btn:hover { color: var(--hm-text); }
.uhm-md .uhd-tab-btn.active { color: var(--hm-blue-dark); background: #fff; border-bottom-color: var(--hm-blue); }
.uhm-md .uhd-tab-content { padding: 24px 28px; color: #33475c; font-size: 14px; line-height: 2.05; }
.uhm-md .uhd-tab-content.urdu-font { font-family: 'Noto Nastaliq Urdu', serif; font-size: 16px; line-height: 2.3; }
.uhm-md .uhd-tab-content h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }

/* Alternatives table → blue header, square savings */
.uhm-md .uhd-alt-table { border: 1px solid var(--hm-border) !important; }
.uhm-md .uhd-alt-table th { background: var(--hm-blue-dark) !important; color: #fff !important; font-family: 'Noto Naskh Arabic', serif; font-weight: 700; }
.uhm-md .uhd-alt-table td { font-family: 'Noto Naskh Arabic', serif; }
.uhm-md .uhd-savings-badge {
  background: var(--hm-green-tint);
  color: #14603e;
  border-radius: 4px !important;
  padding: 3px 10px !important;
  font-size: 12px !important;
}
.uhm-md .uhd-search-input {
  border: 1px solid #d7dfe8;
  border-radius: 8px;
  font-family: 'Noto Naskh Arabic', serif;
  color: var(--hm-text);
}
.uhm-md .uhd-search-input:focus {
  border-color: var(--hm-blue);
  box-shadow: 0 0 0 3px rgba(10, 90, 165, .12);
}
.uhm-md .uhd-btn {
  background: var(--hm-blue);
  color: #fff;
  border-radius: 8px;
  padding: 9px 20px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 2;
}
.uhm-md .uhd-btn:hover { background: var(--hm-blue-dark); color: #fff; }

/* Emergency / disease cards inside uhm-md */
.uhm-md .uhd-disease-card {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-top: 3px solid var(--hm-red);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

/* Square tinted tags (replaces 50px pills) */
.uhm-md .uhm-md-t {
  display: inline-block;
  border-radius: 4px;
  padding: 3px 10px 5px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}
.uhm-md .uhm-md-t--blue { background: var(--hm-blue-tint); color: var(--hm-blue-dark); }
.uhm-md .uhm-md-t--sky { background: var(--hm-sky-tint); color: var(--hm-sky); }
.uhm-md .uhm-md-t--amber { background: var(--hm-amber-tint); color: var(--hm-amber); }
.uhm-md .uhm-md-t--green { background: var(--hm-green-tint); color: #14603e; }
.uhm-md .uhm-md-t--red { background: var(--hm-red-tint); color: var(--hm-red); }
.uhm-md .uhm-md-t--gray { background: #eef2f6; color: var(--hm-text); }

/* Price card */
.uhm-md .uhm-md-pricecard {
  background: var(--hm-bg);
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  flex-shrink: 0;
  min-width: 200px;
}
.uhm-md .uhm-md-pricecard .lbl {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hm-muted);
  display: block;
  line-height: 1.9;
}
.uhm-md .uhm-md-pricecard .val {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--hm-blue-dark);
  line-height: 1.3;
}
.uhm-md .uhm-md-pricecard .sub { font-size: 11.5px; color: var(--hm-muted); display: block; margin-top: 3px; }

/* Savings / info banners */
.uhm-md .uhm-md-savebanner {
  background: var(--hm-green-tint);
  border: 1px solid #bfe3cf;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.uhm-md .uhm-md-savebanner h3, .uhm-md .uhm-md-savebanner .ttl {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #14603e;
  margin: 0;
  line-height: 2.1;
}
.uhm-md .uhm-md-savebanner .savechip {
  background: var(--hm-green);
  color: #fff;
  border-radius: 4px;
  padding: 4px 14px 6px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Section card + info boxes */
.uhm-md .uhm-md-sectioncard {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 22px;
  box-shadow: var(--hm-shadow);
}
.uhm-md .uhm-md-sectioncard > h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--hm-text);
  border-bottom: 1px solid var(--hm-border);
  padding-bottom: 10px;
  margin: 0 0 16px;
}
.uhm-md .uhm-md-infogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.uhm-md .uhm-md-infobox { background: var(--hm-bg); border: 1px solid var(--hm-border); border-radius: 10px; padding: 16px 18px; }
.uhm-md .uhm-md-infobox h4 { margin: 0 0 6px; font-family: 'Noto Nastaliq Urdu', serif; font-size: 15px; font-weight: 700; color: var(--hm-text); line-height: 2; }
.uhm-md .uhm-md-infobox p { margin: 0; font-size: 13px; line-height: 2.05; color: #33475c; }

/* Square buttons */
.uhm-md .uhm-md-sqbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  padding: 9px 18px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 2;
  text-decoration: none;
  border: 1px solid #d7dfe8;
  background: #fff;
  color: var(--hm-text);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.uhm-md .uhm-md-sqbtn:hover { border-color: var(--hm-blue); color: var(--hm-blue); }
.uhm-md .uhm-md-sqbtn--dark { background: var(--hm-text); border-color: var(--hm-text); color: #fff; }
.uhm-md .uhm-md-sqbtn--dark:hover { background: #0d1620; color: #fff; }
.uhm-md .uhm-md-sqbtn--blue { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; box-shadow: 0 3px 8px rgba(10, 90, 165, .25); }
.uhm-md .uhm-md-sqbtn--blue:hover { background: var(--hm-blue-dark); color: #fff; }
.uhm-md .uhm-md-sqbtn--wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.uhm-md .uhm-md-sqbtn--wa:hover { background: #178a45; color: #fff; }

/* Bottom action row */
.uhm-md .uhm-md-actions {
  margin-top: 30px;
  border-top: 1px solid var(--hm-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.uhm-md .uhm-md-actions a {
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 2;
  text-decoration: none;
}
.uhm-md .uhm-md-actions .a-blue { background: var(--hm-blue); color: #fff; }
.uhm-md .uhm-md-actions .a-blue:hover { background: var(--hm-blue-dark); color: #fff; }
.uhm-md .uhm-md-actions .a-dark { background: var(--hm-text); color: #fff; }
.uhm-md .uhm-md-actions .a-dark:hover { background: #0d1620; color: #fff; }
.uhm-md .uhm-md-actions .a-outline { background: #fff; border: 1px solid #d7dfe8; color: var(--hm-blue); }
.uhm-md .uhm-md-actions .a-outline:hover { border-color: var(--hm-blue); }

/* Doctor single page: stack services & practice-venues columns on mobile */
.uhm-md .uhd-single-doc-columns { grid-template-columns: 1.4fr 1fr !important; }
@media (max-width: 720px) {
  .uhm-md .uhd-single-doc-columns { grid-template-columns: 1fr !important; gap: 20px !important; }
}
