/* MostHelt V3.15 — public SEO / directory page visual polish */
:root{
  --mh315-ink:#122a25;
  --mh315-muted:#667a74;
  --mh315-green:#087c69;
  --mh315-green-dark:#0a4f45;
  --mh315-mint:#edf8f4;
  --mh315-bg:#f6faf8;
  --mh315-border:#dfe9e5;
  --mh315-card:#fff;
  --mh315-radius:22px;
  --mh315-shadow:0 16px 46px rgba(21,66,53,.065);
}
html{scroll-behavior:smooth}
body.seo-page,body.seo-hub{overflow-x:hidden;background:var(--mh315-bg);color:var(--mh315-ink)}
.seo-page .container,.seo-hub .container,.mh-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

/* Header */
.seo-top,.mh-top,.hub-head{background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--mh315-border)!important;backdrop-filter:saturate(140%) blur(12px)}
.seo-top .container,.mh-topin,.hub-nav{min-height:74px;height:auto!important;padding-block:12px}
.seo-top nav,.mh-nav,.hub-nav>div{gap:8px!important}
.seo-top nav a,.mh-nav a,.hub-nav a{min-height:42px;display:inline-flex;align-items:center;padding:0 12px;border-radius:12px;transition:background .18s ease,color .18s ease}
.seo-top nav a:hover,.mh-nav a:hover,.hub-nav a:hover{background:#f1f7f4;color:var(--mh315-green-dark)}
.seo-top .cta,.mh-nav .primary,.hub-nav .pill{background:var(--mh315-ink)!important;color:#fff!important;border-radius:13px!important;padding-inline:16px!important}

/* Hero */
.seo-hero,.mh-hero,.hub-hero{background:var(--mh315-bg)!important;border-bottom:0!important}
.seo-hero{padding:48px 0 30px!important}.mh-hero{padding:42px 0 28px!important}.hub-hero{padding:50px 0 30px!important}
.seo-kicker,.mh-kicker,.hub-hero>span{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #d5e9e2;border-radius:999px;background:#f9fdfb;color:var(--mh315-green)!important;letter-spacing:.08em!important}
.seo-hero h1,.mh-hero h1,.hub-hero h1{max-width:900px;color:var(--mh315-ink)!important;letter-spacing:-.045em!important;text-wrap:balance}
.seo-hero p,.mh-hero p,.hub-hero p{color:var(--mh315-muted)!important;max-width:800px}
.seo-breadcrumb,.mh-breadcrumb{margin-bottom:18px!important}
.seo-breadcrumb a,.mh-breadcrumb a{color:#58716a!important;text-decoration:none}

/* Stat blocks */
.seo-stats,.mh-statgrid{gap:10px!important}
.seo-stat,.mh-stat{background:var(--mh315-card)!important;border:1px solid var(--mh315-border)!important;border-radius:18px!important;padding:16px!important;box-shadow:none!important}
.seo-stat strong,.mh-stat strong{font-variant-numeric:tabular-nums;color:var(--mh315-ink)!important}

/* Main cards */
.seo-doctor,.seo-directory-card,.seo-clinic,.seo-side-card,.mh-doctor,.mh-card,.mh-linkcard,.mh-clinic,.hub-card,.hub-combo{
  background:var(--mh315-card)!important;border:1px solid var(--mh315-border)!important;box-shadow:none!important
}
.seo-doctor,.mh-doctor{border-radius:20px!important;padding:17px!important;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.seo-directory-card,.seo-clinic,.mh-card,.mh-linkcard,.mh-clinic,.hub-card{border-radius:20px!important}
.seo-side-card,.mh-card{padding:18px!important}
.seo-directory-card,.seo-clinic,.mh-linkcard,.mh-clinic{padding:16px!important}
.hub-combo{border-radius:16px!important;min-height:64px;align-items:center!important;transition:border-color .18s ease,background .18s ease}
.seo-doctor:hover,.mh-doctor:hover,.hub-combo:hover{border-color:#bcd9d0!important;box-shadow:var(--mh315-shadow)!important}

/* Avatars & metadata */
.seo-avatar,.mh-avatar{background:var(--mh315-mint)!important;border:1px solid #dcece6;border-radius:18px!important}
.seo-doctor .specialty,.mh-doctor .sp{display:inline-flex;align-items:center;padding:5px 8px;background:#eff8f5;border-radius:8px;color:var(--mh315-green)!important}
.seo-doctor-meta,.mh-meta{color:var(--mh315-muted)!important;line-height:1.45}
.seo-rating,.mh-rating{min-width:132px}

/* Actions */
.seo-actions,.mh-actions{gap:8px!important;flex-wrap:wrap}
.seo-actions a,.seo-actions button,.mh-actions a,.mh-actions button{
  min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 12px!important;border-radius:11px!important;font-weight:800!important;white-space:normal!important;line-height:1.2!important
}
.seo-actions a:last-child,.mh-actions .primary{background:var(--mh315-green)!important;color:#fff!important;border-color:var(--mh315-green)!important}
.seo-actions button:hover,.mh-actions button:hover{background:#eff8f5!important}

/* Chips and linked clusters */
.seo-links,.mh-tags,.hub-tags{gap:8px!important}
.seo-links a,.mh-tags a,.hub-tags a{min-height:36px;display:inline-flex;align-items:center;border:1px solid var(--mh315-border)!important;background:#fff;border-radius:999px!important;color:#3e645b!important;padding:8px 11px!important;line-height:1.2}
.seo-links a:hover,.mh-tags a:hover,.hub-tags a:hover{border-color:#b9d8cf!important;background:#f3faf7;color:var(--mh315-green-dark)!important}

/* Informational notes */
.seo-note,.seo-index-note,.mh-note,.mh-disclaimer,.hub-info{border-radius:18px!important;border:1px solid #d9ebe5!important;background:#eff8f5!important;color:#506f66!important;box-shadow:none!important}
.seo-search-link{border-radius:15px!important;border-color:var(--mh315-border)!important;min-height:48px}

/* Compare bar */
.seo-page .mh-comparebar,.mh-comparebar{left:50%!important;transform:translateX(-50%);width:min(760px,calc(100% - 28px))!important;bottom:max(14px,env(safe-area-inset-bottom))!important;border:1px solid #cfe2dc!important;border-radius:18px!important;box-shadow:0 18px 50px rgba(12,63,52,.16)!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(12px)}

/* Hub */
.hub-grid{gap:20px!important}.hub-card{padding:20px!important}.hub-combos{gap:10px!important}.hub-info{padding:16px!important}

@media (min-width:900px){
  .seo-doctor:hover,.mh-doctor:hover{transform:translateY(-1px)}
}
@media (max-width:960px){
  .seo-hero-grid,.seo-layout,.mh-grid,.hub-grid{grid-template-columns:1fr!important}
  .seo-side-card,.mh-side{position:static!important;top:auto!important}
  .seo-stats,.mh-statgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .seo-top nav a:not(.cta),.mh-nav a:not(.primary),.hub-nav>div a:not(.pill){display:none!important}
}
@media (max-width:720px){
  .seo-page .container,.seo-hub .container,.mh-container{width:min(100% - 28px,1180px)}
  .seo-hero,.mh-hero,.hub-hero{padding-top:30px!important}
  .seo-hero h1,.mh-hero h1,.hub-hero h1{font-size:clamp(32px,10vw,44px)!important;line-height:1.04!important}
  .seo-hero p,.mh-hero p,.hub-hero p{font-size:15px!important;line-height:1.65!important}
  .seo-stats,.mh-statgrid{grid-template-columns:1fr!important}
  .seo-stat,.mh-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px!important}
  .seo-stat strong,.mh-stat strong{font-size:21px!important}
  .seo-doctor,.mh-doctor{grid-template-columns:58px minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
  .seo-avatar,.mh-avatar{width:58px!important;height:58px!important}
  .seo-rating,.mh-rating{grid-column:1/-1;min-width:0!important;text-align:left!important;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-top:1px solid #edf2ef;padding-top:12px;margin-top:2px}
  .seo-actions,.mh-actions{margin-top:0!important;justify-content:flex-end!important}
  .seo-directory,.seo-clinics,.mh-clinics,.hub-combos{grid-template-columns:1fr!important}
  .seo-section-head,.mh-section-head{align-items:flex-start!important;flex-direction:column!important}
  .seo-count,.mh-chip{white-space:normal!important}
  .mh-comparebar{padding:11px 12px!important;gap:8px!important;flex-wrap:wrap!important}
}
@media (max-width:480px){
  .seo-top .container,.mh-topin,.hub-nav{min-height:64px!important;padding-block:9px!important}
  .seo-top .logo img,.mh-top img,.hub-nav img{height:27px!important}
  .seo-top .cta,.mh-nav .primary,.hub-nav .pill{min-height:40px!important;padding:0 12px!important;font-size:12px!important}
  .seo-doctor,.mh-doctor{padding:14px!important;border-radius:17px!important}
  .seo-rating,.mh-rating{grid-template-columns:1fr!important}
  .seo-actions,.mh-actions{justify-content:stretch!important;width:100%}
  .seo-actions a,.seo-actions button,.mh-actions a,.mh-actions button{flex:1 1 0!important;min-width:0!important}
  .hub-card{padding:16px!important}
  .hub-combo{padding:12px!important}
}
@media (prefers-reduced-motion:reduce){
  .seo-doctor,.mh-doctor,.hub-combo{transition:none!important;transform:none!important}
}
