
    .cihd-root {
      --primary: #075fd1;
      --primary-dark: #064cac;
      --primary-900: #0b1f52;
      --primary-800: #12366f;
      --blue-50: #f1f7ff;
      --blue-100: #e5f0ff;
      --green: #16a765;
      --green-dark: #0d8c52;
      --text: #12224a;
      --text-2: #536481;
      --muted: #71809a;
      --border: #dce6f3;
      --surface: #ffffff;
      --page: #f8fbff;
      --shadow-sm: 0 6px 18px rgba(32, 72, 132, 0.08);
      --shadow-md: 0 16px 42px rgba(32, 72, 132, 0.14);
      --radius: 16px;
      --container: 1440px;
    }

    .cihd-root * { box-sizing: border-box; }
    .cihd-root { scroll-behavior: smooth; }
    .cihd-root {
      margin: 0;
      color: var(--text);
      background: var(--page);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      font-size: 15px;
      line-height: 1.5;
    }
    .cihd-root[data-page="hospital"] { background: #fff; }
    .cihd-root img { display: block; max-width: 100%; }
    .cihd-root a { color: inherit; text-decoration: none; }
    .cihd-root button, .cihd-root input, .cihd-root select { font: inherit; }
    .cihd-root button, .cihd-root select { cursor: pointer; }
    .cihd-root .container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
    .cihd-root .view[hidden] { display: none !important; }
    .cihd-root .sr-only {
      position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
    }

    /* HERO */
    .cihd-root .directory-hero {
      position: relative;
      min-height: 220px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(240,247,255,.99) 0%, rgba(240,247,255,.97) 36%, rgba(240,247,255,.62) 61%, rgba(240,247,255,.15) 100%),
        var(--cihd-hero-image) right 36% center / 62% auto no-repeat;
      border-bottom: 1px solid rgba(7,95,209,.08);
    }
    .cihd-root .directory-hero::after {
      content: "";
      position: absolute; inset: 0;
      background: radial-gradient(circle at 75% 10%, rgba(255,255,255,.86), transparent 42%);
      pointer-events: none;
    }
    .cihd-root .hero-inner {
      position: relative; z-index: 2;
      min-height: 220px;
      display: flex; align-items: center; justify-content: space-between; gap: 40px;
      padding-block: 30px;
    }
    .cihd-root .hero-copy { max-width: 560px; }
    .cihd-root .eyebrow {
      margin: 0 0 10px;
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }
    .cihd-root .hero-copy h1 {
      margin: 0;
      color: var(--primary-900);
      font-size: clamp(38px, 4.2vw, 62px);
      line-height: 1.04;
      letter-spacing: -.045em;
    }
    .cihd-root .hero-copy > p:not(.eyebrow) {
      max-width: 540px;
      margin: 14px 0 16px;
      color: var(--primary-800);
      font-size: clamp(15px, 1.35vw, 20px);
      line-height: 1.55;
    }
    .cihd-root .hero-count {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--text-2); font-size: 14px;
    }
    .cihd-root .hero-count strong { color: var(--primary); }
    .cihd-root .hero-count svg { width: 18px; height: 18px; color: var(--primary); }
    .cihd-root .ecg-art {
      position: absolute; left: 42%; right: 11%; top: 46px; height: 128px;
      z-index: 1; opacity: .95; pointer-events: none;
    }
    .cihd-root .ecg-art svg { width: 100%; height: 100%; overflow: visible; }
    .cihd-root .reset-hero {
      position: absolute; right: max(20px, calc((100vw - var(--container))/2)); bottom: 14px; z-index: 3;
      display: inline-flex; align-items: center; gap: 8px;
      min-height: 44px; padding: 0 16px;
      border: 1px solid rgba(7,95,209,.14); border-radius: 11px;
      color: var(--primary); background: rgba(255,255,255,.92);
      box-shadow: var(--shadow-sm); font-weight: 750;
    }
    .cihd-root .reset-hero:hover { background: #fff; transform: translateY(-1px); }

    /* FILTER BAR */
    .cihd-root .directory-section { padding: 0 0 72px; }
    .cihd-root .filter-shell {
      position: relative; z-index: 5;
      margin-top: -2px;
      padding: 22px 0 4px;
    }
    .cihd-root .filter-panel {
      display: grid;
      grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)) 180px;
      gap: 14px;
      padding: 20px;
      border: 1px solid rgba(7,95,209,.10);
      border-radius: 20px;
      background: rgba(255,255,255,.97);
      box-shadow: 0 13px 38px rgba(36, 76, 136, .11);
      backdrop-filter: blur(12px);
    }
    .cihd-root .control {
      position: relative;
      min-width: 0;
    }
    .cihd-root .control-box {
      min-height: 58px;
      display: flex; align-items: center; gap: 13px;
      padding: 0 16px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: #fff;
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    .cihd-root .control-box:focus-within {
      border-color: rgba(7,95,209,.55);
      box-shadow: 0 0 0 4px rgba(7,95,209,.08);
    }
    .cihd-root .control-icon {
      flex: 0 0 38px; width: 38px; height: 38px;
      display: grid; place-items: center;
      border-radius: 9px;
      color: var(--primary); background: var(--blue-50);
    }
    .cihd-root .control-icon svg { width: 22px; height: 22px; }
    .cihd-root .search-control .control-icon { background: transparent; flex-basis: 24px; width: 24px; }
    .cihd-root .control-text { min-width: 0; flex: 1; }
    .cihd-root .control-label {
      display: block;
      margin-bottom: 1px;
      color: var(--primary-900);
      font-size: 13px;
      font-weight: 750;
    }
    .cihd-root .control input, .cihd-root .control select {
      width: 100%; min-width: 0;
      border: 0; outline: 0;
      color: var(--text-2); background: transparent;
      font-size: 13px;
    }
    .cihd-root .control input { height: 54px; }
    .cihd-root .control input::placeholder { color: #667895; }
    .cihd-root .control select { appearance: none; padding-right: 22px; }
    .cihd-root .select-arrow {
      position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
      color: var(--primary-900); pointer-events: none;
    }
    .cihd-root .search-button {
      min-height: 58px;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      border: 0; border-radius: 10px;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), #0752bd);
      box-shadow: 0 8px 18px rgba(7,95,209,.22);
      font-size: 16px; font-weight: 800;
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .cihd-root .search-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(7,95,209,.27); }
    .cihd-root .search-button svg { width: 22px; height: 22px; }

    .cihd-root .directory-toolbar {
      display: flex; align-items: center; justify-content: space-between; gap: 20px;
      padding: 8px 3px 12px;
    }
    .cihd-root .sort-wrap { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 13px; }
    .cihd-root .sort-wrap select {
      min-height: 42px; min-width: 165px;
      padding: 0 40px 0 14px;
      border: 1px solid var(--border); border-radius: 9px;
      color: var(--primary-900); background: #fff;
      font-weight: 700;
    }
    .cihd-root .results-text { color: var(--text-2); font-size: 13px; }
    .cihd-root .results-text strong { color: var(--primary-900); }

    /* HOSPITAL CARDS */
    .cihd-root .hospital-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 22px;
    }
    .cihd-root .hospital-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 13px;
      background: var(--surface);
      box-shadow: 0 5px 15px rgba(32,72,132,.055);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }
    .cihd-root .hospital-card:hover {
      transform: translateY(-5px);
      border-color: rgba(7,95,209,.28);
      box-shadow: var(--shadow-md);
    }
    .cihd-root .card-image-wrap {
      position: relative;
      aspect-ratio: 2.15 / 1;
      overflow: hidden;
      background: #eaf1fb;
    }
    .cihd-root .card-image {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform .35s ease;
    }
    .cihd-root .hospital-card:hover .card-image { transform: scale(1.045); }
    .cihd-root .card-badges {
      position: absolute; inset: 13px 13px auto 13px;
      display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
      pointer-events: none;
    }
    .cihd-root .badge {
      max-width: 52%;
      display: inline-flex; align-items: center;
      min-height: 25px; padding: 4px 9px;
      border-radius: 6px;
      font-size: 10px; font-weight: 800; line-height: 1.1;
      box-shadow: 0 3px 9px rgba(15,32,65,.10);
    }
    .cihd-root .badge-green { color: #fff; background: var(--green); }
    .cihd-root .badge-white { color: var(--primary); background: rgba(255,255,255,.95); }
    .cihd-root .favorite-button {
      position: absolute; right: 13px; bottom: 12px;
      width: 34px; height: 34px;
      display: grid; place-items: center;
      border: 1px solid rgba(7,95,209,.14); border-radius: 50%;
      color: var(--primary-800); background: rgba(255,255,255,.95);
      box-shadow: 0 4px 12px rgba(32,72,132,.12);
    }
    .cihd-root .favorite-button svg { width: 19px; height: 19px; }
    .cihd-root .favorite-button.is-active { color: #e74670; background: #fff4f7; }
    .cihd-root .favorite-button.is-active svg { fill: currentColor; }
    .cihd-root .card-body { padding: 13px 14px 14px; }
    .cihd-root .hospital-name {
      min-height: 43px;
      margin: 0;
      color: var(--primary-900);
      font-size: 17px;
      line-height: 1.28;
      letter-spacing: -.015em;
    }
    .cihd-root .hospital-location {
      display: flex; align-items: flex-start; gap: 6px;
      margin: 4px 0 11px;
      color: var(--text-2); font-size: 11px;
    }
    .cihd-root .hospital-location svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--primary); margin-top: 1px; }
    .cihd-root .facts {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      padding: 10px 0;
      border-top: 1px solid #e8eef7;
      border-bottom: 1px solid #e8eef7;
    }
    .cihd-root .fact { min-width: 0; padding: 0 6px; text-align: center; }
    .cihd-root .fact:first-child { padding-left: 0; }
    .cihd-root .fact:last-child { padding-right: 0; }
    .cihd-root .fact + .fact { border-left: 1px solid #edf1f7; }
    .cihd-root .fact-icon { display: flex; justify-content: center; margin-bottom: 3px; color: #6080b2; }
    .cihd-root .fact-icon svg { width: 15px; height: 15px; }
    .cihd-root .fact span, .cihd-root .fact strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .cihd-root .fact span { color: var(--muted); font-size: 8px; }
    .cihd-root .fact strong { margin-top: 1px; color: var(--primary-900); font-size: 10px; }
    .cihd-root .speciality-chips {
      min-height: 47px;
      display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px;
      padding-top: 10px;
    }
    .cihd-root .chip {
      max-width: 128px;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
      padding: 5px 8px;
      border-radius: 6px;
      color: var(--primary); background: var(--blue-100);
      font-size: 9px; font-weight: 650;
    }
    .cihd-root .chip.more { color: var(--primary-800); background: #edf2f9; }
    .cihd-root .card-actions {
      display: grid; grid-template-columns: 1fr 1.05fr; gap: 10px;
      margin-top: 10px;
    }
    .cihd-root .card-button {
      min-height: 36px;
      display: flex; align-items: center; justify-content: center; gap: 7px;
      padding: 7px 8px;
      border-radius: 6px;
      font-size: 10px; font-weight: 800;
      transition: transform .16s ease, background .16s ease;
    }
    .cihd-root .card-button:hover { transform: translateY(-1px); }
    .cihd-root .card-button svg { width: 14px; height: 14px; }
    .cihd-root .view-button { border: 1px solid var(--primary); color: var(--primary); background: #fff; }
    .cihd-root .view-button:hover { color: #fff; background: var(--primary); }
    .cihd-root .assist-button { border: 1px solid var(--primary); color: #fff; background: var(--primary); }
    .cihd-root .assist-button:hover { background: var(--primary-dark); }

    /* EMPTY + PAGINATION */
    .cihd-root .empty-state {
      margin-top: 20px; padding: 56px 20px;
      border: 1px dashed #b9c9df; border-radius: 15px;
      background: #fff; text-align: center;
    }
    .cihd-root .empty-state h2 { margin: 0 0 6px; }
    .cihd-root .empty-state p { margin: 0; color: var(--muted); }
    .cihd-root .pagination {
      display: flex; justify-content: center; align-items: center; gap: 5px;
      margin-top: 28px;
    }
    .cihd-root .page-button {
      min-width: 40px; height: 40px;
      display: grid; place-items: center;
      padding: 0 10px;
      border: 1px solid var(--border); border-radius: 7px;
      color: var(--primary-900); background: #fff;
      font-size: 13px; font-weight: 700;
    }
    .cihd-root .page-button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
    .cihd-root .page-button.is-active { color: #fff; border-color: var(--primary); background: var(--primary); }
    .cihd-root .page-button:disabled { opacity: .45; cursor: not-allowed; }
    .cihd-root .page-ellipsis { min-width: 30px; text-align: center; color: var(--muted); }

    /* DETAIL PAGE */
    .cihd-root .single-section { padding: 28px 0 70px; background: #f8fbff; }
    .cihd-root .back-to-directory {
      display: inline-flex; align-items: center; gap: 7px;
      margin-bottom: 16px; padding: 9px 14px;
      border: 1px solid var(--border); border-radius: 9px;
      color: var(--primary); background: #fff; font-weight: 750;
    }
    .cihd-root .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
    .cihd-root .breadcrumb a { color: var(--primary); }
    .cihd-root .single-layout { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 25px; align-items: start; }
    .cihd-root .single-title { margin: 0 0 16px; color: var(--primary-900); font-size: clamp(30px,3.4vw,48px); line-height: 1.12; }
    .cihd-root .single-hero { width: 100%; aspect-ratio: 16/8.3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-sm); }
    .cihd-root .content-box, .cihd-root .sidebar-card { overflow: hidden; margin-top: 18px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(32,72,132,.05); }
    .cihd-root .content-box > h2, .cihd-root .sidebar-card > h2 { margin: 0; padding: 13px 17px; color: #fff; background: linear-gradient(135deg, var(--primary), #0b74d8); font-size: 15px; }
    .cihd-root .content-box > div, .cihd-root .content-box > ul { padding: 18px; }
    .cihd-root .content-box p { margin: 0 0 13px; color: #354561; }
    .cihd-root .content-box p:last-child { margin-bottom: 0; }
    .cihd-root .specialty-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 25px; margin: 0; padding-left: 38px !important; }
    .cihd-root .hospital-sidebar { position: sticky; top: 18px; }
    .cihd-root .sidebar-card { margin-top: 0; }
    .cihd-root .sidebar-card dl { margin: 0; }
    .cihd-root .sidebar-card dl > div { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
    .cihd-root .sidebar-card dt, .cihd-root .sidebar-card dd { margin: 0; padding: 11px 12px; font-size: 12px; }
    .cihd-root .sidebar-card dt { color: var(--text-2); }
    .cihd-root .sidebar-card dd { color: var(--primary-900); background: var(--blue-50); font-weight: 750; text-align: right; }
    .cihd-root .link-list { margin: 0; padding: 13px 17px 14px 33px; font-size: 12px; }
    .cihd-root .link-list li { margin-bottom: 7px; }
    .cihd-root .contact-cta { display: block; margin-top: 15px; padding: 13px; border-radius: 9px; color: #fff; background: var(--green); font-weight: 800; text-align: center; }
    .cihd-root .contact-cta:hover { background: var(--green-dark); }
    .cihd-root .faq-list { padding: 0 !important; }
    .cihd-root .faq-item + .faq-item { border-top: 1px solid var(--border); }
    .cihd-root .faq-question { width: 100%; display: flex; justify-content: space-between; gap: 15px; padding: 15px 17px; border: 0; color: var(--primary-900); background: #fff; font-weight: 750; text-align: left; }
    .cihd-root .faq-question::after { content: "+"; color: var(--primary); font-size: 20px; }
    .cihd-root .faq-question[aria-expanded="true"]::after { content: "−"; }
    .cihd-root .faq-answer { padding: 0 17px 16px; color: var(--text-2); }

    @media (max-width: 1220px) {
      .cihd-root .filter-panel { grid-template-columns: 1.25fr repeat(2,1fr); }
      .cihd-root .search-button { grid-column: auto; }
      .cihd-root .hospital-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    }
    @media (max-width: 960px) {
      .cihd-root .ecg-art { left: 50%; right: 3%; opacity: .55; }
      .cihd-root .filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
      .cihd-root .search-button { grid-column: auto; }
      .cihd-root .hospital-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
      .cihd-root .single-layout { grid-template-columns: 1fr; }
      .cihd-root .hospital-sidebar { position: static; }
    }
    @media (max-width: 680px) {
      .cihd-root .container { width: min(var(--container), calc(100% - 24px)); }
      .cihd-root .directory-hero { min-height: 248px; background-size: cover; background-position: 72% center; }
      .cihd-root .hero-inner { min-height: 248px; align-items: flex-start; padding-top: 34px; }
      .cihd-root .hero-copy { max-width: 95%; }
      .cihd-root .hero-copy h1 { font-size: 39px; }
      .cihd-root .hero-copy > p:not(.eyebrow) { font-size: 15px; max-width: 90%; }
      .cihd-root .ecg-art { display: none; }
      .cihd-root .reset-hero { right: 12px; bottom: 10px; min-height: 38px; padding-inline: 12px; font-size: 12px; }
      .cihd-root .filter-panel { grid-template-columns: 1fr; padding: 14px; border-radius: 15px; } 
      .cihd-root .directory-toolbar { align-items: flex-end; }
      .cihd-root .results-text { display: none; }
      .cihd-root .hospital-grid { grid-template-columns: 1fr; gap: 17px; }
      .cihd-root .hospital-name { min-height: auto; }
      .cihd-root .card-image-wrap { aspect-ratio: 1.9/1; }
      .cihd-root .pagination { flex-wrap: wrap; }
      .cihd-root .specialty-list { grid-template-columns: 1fr; }
    }
    @media (max-width: 390px) {
      .cihd-root .facts { grid-template-columns: repeat(2,1fr); row-gap: 10px; }
      .cihd-root .fact:nth-child(3) { border-left: 0; }
      .cihd-root .card-actions { grid-template-columns: 1fr; }
    }
  

/* WordPress/plugin integration */
.cihd-root { width: 100%; isolation: isolate; }
.cihd-root *, .cihd-root *::before, .cihd-root *::after { box-sizing: border-box; }
.cihd-root .hospital-card[hidden], .cihd-root [hidden] { display: none !important; }
.cihd-root .related-card { margin-top: 18px; }
.cihd-root .link-list a:hover { color: var(--primary); text-decoration: underline; }
.cihd-root .content-box > div > :first-child { margin-top: 0; }
.cihd-root .content-box > div > :last-child { margin-bottom: 0; }
.cihd-root .content-box ul { color: #354561; }
.cihd-root .single-title, .cihd-root .hospital-name, .cihd-root .hero-copy h1 { text-transform: none; }
.cihd-root button, .cihd-root input, .cihd-root select { line-height: normal; }
.cihd-root .favorite-button { padding: 0; }
.cihd-root .search-button, .cihd-root .page-button, .cihd-root .reset-hero, .cihd-root .faq-question { font-family: inherit; }
.cihd-root .card-button { text-decoration: none !important; }
.cihd-root .single-section { min-height: 60vh; }
.cihd-root .single-layout article { min-width: 0; }
.cihd-root .faq-answer { line-height: 1.65; }
.cihd-root .directory-hero { background-image: linear-gradient(90deg, rgba(240,247,255,.99) 0%, rgba(240,247,255,.97) 36%, rgba(240,247,255,.62) 61%, rgba(240,247,255,.15) 100%), var(--cihd-hero-image); }
body.cihd-directory-page, body.cihd-hospital-page { margin: 0; }
