/* Keep the native locator controls and map inside the Services design. */
.mfc-nursing-home.services-page .mfc-filing__hero-inner { min-height: 675px; padding-block: 75px; }
.mfc-nursing-home.services-page .services-hero p.eyebrow { margin-bottom: 17px; font-size: 12px; line-height: 1.56; }
.mfc-nursing-home__locator { padding-block: 90px; background: linear-gradient(180deg, #fff 0%, var(--color-ice) 100%); }
.mfc-nursing-home__intro { max-width: 960px; margin-bottom: 40px; }
.mfc-nursing-home__search { position: relative; }
.mfc-nursing-home.services-page #wpsl-wrap { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; margin-bottom: 0; color: #0c2033; font-family: inherit; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap { flex: 0 0 100%; width: 100%; position: relative; z-index: 2; padding: 32px; margin: 0 0 8px; border: 1px solid #29415a; border-top: 3px solid var(--color-gold); border-radius: 24px; background: url("../source/icons/services-closing-left-pattern-animated.svg") right center / 180px auto no-repeat, linear-gradient(115deg, var(--color-navy), #163953); box-shadow: 0 16px 40px rgba(10, 26, 44, .12); }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-search { flex: 0 0 100%; width: 100%; margin: 0; padding: 0; background: transparent; text-align: left; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-input > div { width: 100%; height: auto; min-height: 0; max-height: none; text-align: left; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin: 0; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-input { flex: 1 1 280px; display: flex; flex-direction: column; margin: 0; min-width: 0; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-select-wrap { display: flex; flex: 0 1 auto; gap: 20px; margin: 0; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-radius, .mfc-nursing-home.services-page #wpsl-wrap #wpsl-results { display: flex; flex-direction: column; align-items: stretch; height: auto; min-height: 0; max-height: none; margin: 0; width: 160px; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap label { display: block; width: auto; margin: 0 0 10px; color: #fff; font: inherit; font-weight: 700; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-input { width: 100%; min-width: 0; height: 56px; min-height: 56px; max-height: none; padding: 12px 16px; border: 1px solid #d9e2e9; border-radius: 12px; background: #fff; color: #0c2033; font: inherit; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap select, .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-dropdown { min-height: 56px; width: 100% !important; border-color: #d9e2e9; border-radius: 12px; background: #fff; color: #0c2033; font: inherit; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-search-btn-wrap { margin: 0; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-btn { min-width: 150px; min-height: 56px; margin: 0; padding: 12px 28px; border: 0; border-radius: 30px; background: linear-gradient(110deg, var(--color-gold), var(--color-gold-end)); box-shadow: 0 5px 16px rgba(0, 0, 0, .12); color: var(--color-navy); transition: background .2s ease, box-shadow .2s ease; font: inherit; font-weight: 700; cursor: pointer; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-btn:hover { background: #f1d495; box-shadow: 0 7px 20px rgba(0, 0, 0, .2); }
.mfc-nursing-home.services-page #wpsl-wrap :is(input, select, button, a):focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-map { order: 2; float: none; flex: 1 1 50%; width: auto; height: 600px !important; margin: 0; border: 1px solid #dbe5ed; border-radius: 24px; box-shadow: 0 12px 34px rgba(10, 26, 44, .08); }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-result-list { order: 1; float: none; flex: 0 0 34%; width: 34%; height: 600px; margin: 0; border: 0; border-radius: 20px; overflow: hidden; background: transparent; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores { height: 100% !important; max-height: 600px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--color-gold-dark) #e7edf2; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores ul > li { position: relative; margin: 0 0 16px; padding: 24px; border: 1px solid #dbe5ed; border-left: 3px solid var(--color-gold); border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(10, 26, 44, .04); color: #53657a; font-size: 14px; line-height: 1.55; transition: border-color .2s ease, box-shadow .2s ease; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores strong { display: block; margin-bottom: 10px; color: var(--color-navy); font-size: 17px; line-height: 1.45; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores a, .mfc-nursing-home.services-page .wpsl-info-window a { color: #76521c; text-underline-offset: 3px; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores p { margin-bottom: 12px; }
.mfc-nursing-home.services-page .wpsl-skip-to-results { position: absolute; }
.mfc-nursing-home.services-page .wpsl-skip-to-results:focus { position: relative; flex-basis: 100%; order: 0; margin-bottom: 12px; }
/* Retain native result markup, with compact hours and a clear directions action. */
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores ul > li:hover,
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores ul > li:focus-within { border-color: var(--color-gold); box-shadow: 0 6px 20px rgba(10, 26, 44, .09); }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-opening-hours { --wpsl-font-size-base: 12px; gap: 2px; margin: 14px 0; padding: 12px 14px; border-radius: 10px; background: var(--color-ice); font-size: 12px; line-height: 1.5; }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-opening-hours td { padding: 2px 0; }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-opening-hours-row { display: flex; flex-wrap: nowrap; gap: 8px; padding: 2px 0; font-size: 12px; line-height: 1.5; }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-opening-hours-row dt { flex: 0 0 35%; min-width: 0; width: auto; margin: 0; font-size: inherit; }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-opening-hours-row dd { flex: 1; width: auto; margin: 0; font-size: inherit; text-align: right; }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-direction-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid #e8edf1; color: var(--color-navy); font-weight: 700; }
.mfc-nursing-home.services-page #wpsl-wrap .wpsl-direction-wrap > br { display: none; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores a.wpsl-directions { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; border: 1px solid #d6bd84; border-radius: 22px; background: var(--color-cream); color: #76521c; font-size: 13px; text-decoration: none; }
.mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores a.wpsl-directions:hover { background: var(--color-gold); color: var(--color-navy); }
@media (max-width: 1024px) {
  .mfc-nursing-home.services-page .mfc-filing__hero-inner { min-height: 0; padding-block: 50px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap form { gap: 16px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-input { flex-basis: 100%; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-select-wrap { flex: 1; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-radius, .mfc-nursing-home.services-page #wpsl-wrap #wpsl-results { width: auto; flex: 1; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-result-list { flex-basis: 40%; width: 40%; }
}
@media (max-width: 768px) {
  .mfc-nursing-home__locator { padding-block: 55px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap { padding: 20px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-select-wrap { flex-basis: 100%; gap: 16px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-wrap .wpsl-search-btn-wrap, .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-btn { width: 100%; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-map { order: 1; flex-basis: 100%; width: 100%; height: 360px !important; border-radius: 20px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-result-list { order: 2; flex-basis: 100%; width: 100%; height: 420px; border: 0; border-radius: 16px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores { max-height: 420px; }
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores ul > li { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .mfc-nursing-home.services-page #wpsl-wrap #wpsl-search-btn, .mfc-nursing-home.services-page #wpsl-wrap #wpsl-stores ul > li { transition: none; }
}
