/* =========================================================
   FIND HOSPITALS PAGE
   Sections: Hero/Search · Filters · Hospital Listing ·
             Pagination  (Header / Newsletter / Footer reused)
   ========================================================= */

/* Fallback tokens so .fh-card can be reused outside .fh-page (e.g. Hospital Details) */
:root {
  --fh-blue: #123684;
  --fh-navy: #0b2e78;
  --fh-pink: #f72559;
  --fh-text: #1f2b45;
  --fh-muted: #6b7688;
  --fh-border: #e6e9f0;
  --fh-light: #f7f9fc;
  --fh-tag: #eef3ff;
}

.fh-page {
  --fh-blue: #123684;
  --fh-navy: #0b2e78;
  --fh-pink: #f72559;
  --fh-text: #1f2b45;
  --fh-muted: #6b7688;
  --fh-border: #e6e9f0;
  --fh-light: #f7f9fc;
  --fh-tag: #eef3ff;

  width: 100%;
  background: #fff;
  font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  color: var(--fh-text);
  box-sizing: border-box;
}

.fh-page *,
.fh-page *::before,
.fh-page *::after {
  box-sizing: border-box;
}

.fh-container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   HERO / PAGE TITLE + SEARCH
   ========================================================= */

.fh-hero {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eceff4;
  padding: 42px 0 30px;
}

.fh-hero-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.fh-eyebrow {
  display: block;
  color: var(--fh-pink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
}

.fh-hero-head h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 33px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--fh-navy);
}

.fh-hero-head p {
  margin: 10px 0 0;
  color: #8a94a6;
  font-size: 14px;
  line-height: 22px;
}

/* Search bar */
.fh-search-wrap {
  max-width: 760px;
  margin: 26px auto 0;
}

.fh-search-bar {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 7px 7px 7px 6px;
  background: #fff;
  border: 1px solid #e2e6ee;
  border-radius: 40px;
  box-shadow: 0 8px 26px rgba(18, 54, 132, 0.07);
}

.fh-search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  height: 100%;
}

.fh-search-field:first-of-type {
  flex: 1.55;
}

.fh-search-field+.fh-search-field {
  border-left: 1px solid #e8ebf1;
}

.fh-search-field>i {
  color: #9aa1ac;
  font-size: 14px;
  flex-shrink: 0;
}

.fh-search-field input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: #2b3245;
}

.fh-search-field input::placeholder {
  color: #a7adb8;
}

.fh-search-btn {
  flex-shrink: 0;
  height: 46px;
  padding: 0 34px;
  border: 0;
  border-radius: 30px;
  background: var(--fh-pink);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fh-search-btn:hover {
  background: #df1648;
}

/* Filter dropdown buttons row */
.fh-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1040px;
  margin: 18px auto 0;
}

.fh-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid #dfe3ea;
  border-radius: 20px;
  background: #fff;
  color: #3a4a68;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.fh-filter-pill i {
  font-size: 9px;
  color: #8a94a6;
  transition: transform 0.2s ease;
}

.fh-filter-pill:hover {
  border-color: var(--fh-pink);
  color: var(--fh-pink);
}

.fh-filter-pill.is-open i {
  transform: rotate(180deg);
}

.fh-results-hint {
  margin-left: auto;
  color: #9aa4b2;
  font-size: 12px;
  white-space: nowrap;
}

/* =========================================================
   MAIN HOSPITAL LISTING
   ========================================================= */

.fh-listing {
  width: 100%;
  background: var(--fh-light);
  padding: 30px 0 55px;
}

.fh-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* ---------- LEFT SIDEBAR ---------- */
.fh-sidebar {
  background: #fff;
  border: 1px solid var(--fh-border);
  border-radius: 12px;
  overflow: hidden;
}

.fh-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eef0f4;
}

.fh-sidebar-head h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--fh-navy);
}

.fh-clear-link {
  border: 0;
  background: none;
  color: var(--fh-pink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.fh-fsection {
  border-bottom: 1px solid #eef0f4;
  padding: 14px 16px;
}

.fh-fsection-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: none;
  padding: 0;
  margin-bottom: 12px;
  color: var(--fh-navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.fh-fsection-title i {
  font-size: 11px;
  color: #9aa4b2;
  transition: transform 0.2s ease;
}

.fh-fsection.is-collapsed .fh-fsection-body {
  display: none;
}

.fh-fsection.is-collapsed .fh-fsection-title i {
  transform: rotate(180deg);
}

/* location field */
.fh-loc-field {
  position: relative;
  margin-bottom: 10px;
}

.fh-loc-field i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #9aa4b2;
}

.fh-loc-field input {
  width: 100%;
  height: 34px;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  padding: 0 10px 0 30px;
  font-family: inherit;
  font-size: 12px;
  color: #2b3245;
  outline: 0;
}

.fh-loc-field input::placeholder {
  color: #a7adb8;
}

.fh-current-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--fh-pink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

/* option rows (checkbox / radio) */
.fh-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  color: #48526a;
  font-size: 12.5px;
  line-height: 18px;
  cursor: pointer;
  user-select: none;
}

.fh-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.fh-box,
.fh-radio {
  position: relative;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #c4ccd8;
  transition: all 0.15s ease;
}

.fh-box {
  border-radius: 3px;
}

.fh-radio {
  border-radius: 50%;
}

.fh-opt input:checked+.fh-box,
.fh-opt input:checked+.fh-radio {
  background: var(--fh-pink);
  border-color: var(--fh-pink);
}

.fh-opt input:checked+.fh-box::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.1rem;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.fh-opt input:checked+.fh-radio::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.fh-opt:hover .fh-box,
.fh-opt:hover .fh-radio {
  border-color: var(--fh-pink);
}

.fh-opt-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 11px;
}

/* sidebar footer buttons */
.fh-sidebar-foot {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
}

.fh-sidebar-foot button,
.fh-sidebar-foot a {
  flex: 1;
  height: 36px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.fh-btn-clear {
  border: 1px solid #dfe3ea;
  background: #fff;
  color: #5b6577;
}

.fh-btn-apply {
  border: 1px solid var(--fh-pink);
  background: var(--fh-pink);
  color: #fff;
}

/* ---------- RIGHT CONTENT ---------- */
.fh-results {
  min-width: 0;
}

.fh-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.fh-results-count {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--fh-navy);
}

.fh-results-count b {
  color: var(--fh-pink);
}

.fh-sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fh-sort-label {
  color: #6b7a99;
  font-size: 12px;
  font-weight: 600;
  margin-right: 2px;
}

.fh-sort-btn {
  height: 30px;
  padding: 0 15px;
  border: 1px solid #e0e4ec;
  border-radius: 20px;
  background: #fff;
  color: #46536f;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  display: grid;
  place-content: center;
}

.fh-sort-btn:hover {
  color: var(--fh-pink);
  border-color: var(--fh-pink);
}

.fh-sort-btn.active {
  color: var(--fh-pink);
  border-color: var(--fh-pink);
  background: #fff0f4;
}

/* ---------- HOSPITAL CARDS ---------- */
.fh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.fh-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ebf1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18, 54, 132, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 54, 132, 0.12);
}

.fh-card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.fh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fh-badge-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 14px;
  background: rgba(12, 28, 58, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.fh-badge-nabh {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 14px;
  background: #fff;
  color: #1a9d5c;
  font-size: 10px;
  font-weight: 700;
}

.fh-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.fh-card-body h3 {
  margin: 0 0 7px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fh-text);
}

.fh-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  font-size: 12px;
}

.fh-card-rating .fh-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 11px;
}

.fh-card-rating .fh-score {
  font-weight: 700;
  color: var(--fh-text);
}

.fh-card-rating .fh-reviews {
  color: #9aa4b2;
}

.fh-card-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
  color: #7b8698;
  font-size: 12px;
}

.fh-card-loc i {
  font-size: 11px;
  color: #9aa4b2;
}

.fh-card-loc .fh-dist {
  margin-left: 2px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #fdeef2;
  color: var(--fh-pink);
  font-size: 10px;
  font-weight: 600;
}

.fh-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.fh-card-tags span {
  padding: 4px 9px;
  border-radius: 10px;
  background: var(--fh-tag);
  color: #2f4b86;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.fh-card-beds {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: #6b7688;
  font-size: 11.5px;
}

.fh-card-beds i {
  color: #9aa4b2;
  font-size: 11px;
}

.fh-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.fh-card-actions button,
.fh-card-actions a {
  height: 38px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.fh-view-btn {
  border: 1px solid #dfe3ea;
  background: #fff;
  color: #33415f;
}

.fh-view-btn:hover {
  border-color: var(--fh-pink);
  color: var(--fh-pink);
}

.fh-book-btn {
  border: 1px solid var(--fh-pink);
  background: var(--fh-pink);
  color: #fff;
}

.fh-book-btn:hover {
  background: #df1648;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.fh-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 34px;
}

.fh-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
  background: #fff;
  color: #55617a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fh-page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--fh-pink);
  color: var(--fh-pink);
}

.fh-page-btn.active {
  background: var(--fh-pink);
  border-color: var(--fh-pink);
  color: #fff;
}

.fh-page-btn:disabled {
  color: #b8c0cd;
  cursor: not-allowed;
}

.fh-page-dots {
  min-width: 20px;
  text-align: center;
  color: #9aa4b2;
  font-size: 13px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1024px) {
  .fh-layout {
    grid-template-columns: 1fr;
  }

  .fh-sidebar {
    order: 2;
  }

  .fh-results {
    order: 1;
  }
}

@media screen and (max-width: 820px) {
  .fh-hero-head h1 {
    font-size: 27px;
    line-height: 34px;
  }

  .fh-search-bar {
    flex-direction: column;
    height: auto;
    border-radius: 20px;
    padding: 10px;
    gap: 8px;
  }

  .fh-search-field {
    width: 100%;
    height: 46px;
    border: 1px solid #e8ebf1;
    border-radius: 12px;
  }

  .fh-search-field+.fh-search-field {
    border-left: 1px solid #e8ebf1;
  }

  .fh-search-btn {
    width: 100%;
    height: 46px;
  }

  .fh-filter-row {
    justify-content: flex-start;
  }

  .fh-results-hint {
    margin-left: 0;
    width: 100%;
  }
}

@media screen and (max-width: 680px) {
  .fh-grid {
    grid-template-columns: 1fr;
  }

  .fh-results-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   DIRECTORY: location bar, real filter dropdowns, active chips
   ========================================================= */
.fh-locbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; max-width:1040px; margin:16px auto 0; padding:10px 16px; border-radius:12px; font-size:13px; background:#F1F5F9; color:#334155; border:1px solid #E2E8F0; }
.fh-locbar > i { font-size:15px; }
.fh-locbar > span { flex:1; min-width:200px; line-height:1.4; }
.fh-locbar button { border:0; background:transparent; color:var(--fh-pink,#e11d48); font-weight:600; font-size:12.5px; cursor:pointer; padding:4px 6px; }
.fh-locbar button:hover { text-decoration:underline; }
.fh-locbar-gps { background:#ECFDF5; border-color:#A7F3D0; color:#065F46; } .fh-locbar-gps > i { color:#059669; }
.fh-locbar-ip { background:#EFF6FF; border-color:#BFDBFE; color:#1E3A8A; } .fh-locbar-ip > i { color:#2563EB; }
.fh-locbar-none { background:#FFFBEB; border-color:#FDE68A; color:#92400E; } .fh-locbar-none > i { color:#D97706; }

.fh-filter-row { position:relative; }
.fh-pill-wrap { position:relative; }
.fh-filter-pill.active { border-color:#1F3B73; color:#1F3B73; background:#F5F8FF; }
.fh-filter-pill .fh-pill-count { min-width:20px; height:20px; padding:0 6px; border-radius:10px; background:#1F3B73; color:#fff; font-size:11px; font-weight:700; display:inline-grid; place-items:center; }
.fh-popover { position:absolute; top:calc(100% + 8px); left:0; z-index:60; width:300px; max-width:calc(100vw - 32px); background:#fff; border:1px solid #E2E8F0; border-radius:16px; box-shadow:0 18px 40px rgba(15,23,42,.16); padding:14px; }
.fh-popover-wide { width:340px; }
.fh-pop-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.fh-pop-head strong { font-size:14px; color:#0F172A; }
.fh-pop-head button { border:0; background:transparent; color:var(--fh-pink,#e11d48); font-size:12px; font-weight:600; cursor:pointer; }
.fh-pop-head-sep { margin-top:14px; padding-top:12px; border-top:1px solid #F1F5F9; }
.fh-pop-list { max-height:260px; overflow-y:auto; display:flex; flex-direction:column; gap:2px; margin:0 -4px; padding:0 4px; }
.fh-pop-inline { flex-direction:row; flex-wrap:wrap; gap:8px; max-height:none; }
.fh-pop-opt { display:flex; align-items:center; gap:10px; padding:8px 8px; border-radius:10px; cursor:pointer; font-size:13.5px; color:#334155; }
.fh-pop-opt:hover { background:#F8FAFC; }
.fh-pop-opt input { position:absolute; opacity:0; pointer-events:none; }
.fh-pop-box, .fh-pop-radio { width:18px; height:18px; border:1.5px solid #CBD5E1; border-radius:5px; flex:none; display:grid; place-items:center; background:#fff; }
.fh-pop-radio { border-radius:50%; }
.fh-pop-opt input:checked + .fh-pop-box { background:#1F3B73; border-color:#1F3B73; }
.fh-pop-opt input:checked + .fh-pop-box::after { content:'✓'; color:#fff; font-size:12px; font-weight:700; line-height:1; }
.fh-pop-opt input:checked + .fh-pop-radio { border-color:#1F3B73; } .fh-pop-opt input:checked + .fh-pop-radio::after { content:''; width:9px; height:9px; border-radius:50%; background:#1F3B73; }
.fh-pop-name { flex:1; } .fh-pop-opt em, .fh-pop-city em { font-style:normal; font-size:11.5px; color:#94A3B8; background:#F1F5F9; border-radius:999px; padding:1px 8px; }
.fh-pop-empty { font-size:13px; color:#64748B; margin:6px 0 10px; }
.fh-pop-search { display:flex; align-items:center; gap:8px; border:1px solid #E2E8F0; border-radius:10px; padding:0 10px; margin:8px 0 10px; }
.fh-pop-search input { flex:1; border:0; outline:0; height:38px; font-size:13.5px; background:transparent; min-width:0; }
.fh-pop-search i { color:#94A3B8; font-size:12px; }
.fh-pop-action { width:100%; display:flex; align-items:center; gap:8px; justify-content:center; padding:10px; border-radius:10px; border:1.5px dashed #1F3B73; background:#F5F8FF; color:#1F3B73; font-weight:600; font-size:13px; cursor:pointer; }
.fh-pop-city { display:flex; justify-content:space-between; align-items:center; padding:9px 10px; border-radius:10px; border:0; background:transparent; font-size:13.5px; color:#334155; cursor:pointer; text-align:left; }
.fh-pop-city:hover { background:#F8FAFC; } .fh-pop-city.is-on { background:#EEF2FF; color:#1F3B73; font-weight:600; }
.fh-pop-chip { position:relative; padding:7px 14px; border:1.5px solid #E2E8F0; border-radius:999px; font-size:13px; font-weight:600; cursor:pointer; color:#334155; }
.fh-pop-chip input { position:absolute; opacity:0; } .fh-pop-chip.is-on { background:#1F3B73; border-color:#1F3B73; color:#fff; }

.fh-active-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; max-width:1040px; margin:14px auto 0; }
.fh-active-chip { display:inline-flex; align-items:center; gap:7px; border:1px solid #CBD5E1; background:#fff; color:#1F3B73; border-radius:999px; padding:5px 12px; font-size:12.5px; font-weight:600; cursor:pointer; }
.fh-active-chip i { font-size:10px; color:#94A3B8; } .fh-active-chip:hover { border-color:#e11d48; } .fh-active-chip:hover i { color:#e11d48; }
.fh-active-clear { border:0; background:transparent; color:var(--fh-pink,#e11d48); font-weight:600; font-size:12.5px; cursor:pointer; }

/* full-width results (filters live in the dropdowns now) */
.fh-listing .fh-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
.fh-sorted-note { color:#64748B; font-weight:500; font-size:13px; }
.fh-sort-btn:disabled { opacity:.45; cursor:not-allowed; }
.fh-empty { grid-column:1 / -1; padding:60px 20px; text-align:center; background:#fff; border-radius:16px; border:1px dashed #CBD5E1; }
.fh-empty i { font-size:40px; color:#94A3B8; margin-bottom:12px; } .fh-empty h3 { font-size:18px; color:#1E293B; margin:0 0 6px; } .fh-empty p { color:#64748B; font-size:14px; margin:0 0 16px; }
.fh-empty button { cursor:pointer; padding:9px 22px; background:#e11d48; color:#fff; border-radius:8px; font-weight:600; border:0; }
@media (max-width: 1000px) { .fh-listing .fh-grid { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .fh-listing .fh-grid { grid-template-columns:1fr; }
  .fh-filter-row { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; -webkit-overflow-scrolling:touch; }
  .fh-pill-wrap { position:static; flex:none; }
  .fh-popover { position:fixed; left:12px; right:12px; top:auto; bottom:12px; width:auto; max-width:none; max-height:75vh; overflow-y:auto; }
  .fh-results-hint { display:none; }
  .fh-locbar { font-size:12.5px; }
}

/* city box filled from the detected location */
.fh-search-field { position: relative; }
.fh-search-field.is-auto input { color: #1F3B73; font-weight: 600; }
.fh-auto-tag { flex: none; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; cursor: help; }

/* sidebar: live counts, quick cities, distance hint */
.fh-opt .fh-opt-count { margin-left:auto; font-style:normal; font-size:11.5px; color:#94A3B8; background:#F1F5F9; border-radius:999px; padding:1px 8px; }
.fh-opt { align-items:center; }
.fh-opt.is-disabled { opacity:.5; cursor:not-allowed; }
.fh-side-city { width:100%; display:flex; justify-content:space-between; align-items:center; border:0; background:transparent; padding:8px 4px; font-size:13.5px; color:#475569; cursor:pointer; border-radius:8px; text-align:left; }
.fh-side-city:hover { background:#F8FAFC; color:#1F3B73; } .fh-side-city em { font-style:normal; font-size:11.5px; color:#94A3B8; background:#F1F5F9; border-radius:999px; padding:1px 8px; }
.fh-side-hint { font-size:12.5px; color:#92400E; background:#FFFBEB; border:1px solid #FDE68A; border-radius:10px; padding:8px 10px; margin:0 0 8px; }

/* Hospital without its own photo yet: neutral placeholder instead of a stock picture */
.fh-no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #EEF3FF, #F8FAFF); color: #9BB0DD; font-size: 52px; }
