/* Scoped to the search header. Commerce cards and promotion slots are untouched. */
body .cleanHero.mc-home-ready {
  padding:24px; border:1px solid #e1e7ed; border-radius:22px;
  background:#fff; box-shadow:0 8px 28px #0b2e5710;
}
.mc-home-ready > .heroLine { display:none; }
body .mc-home-ready .mc-home-title {
  margin:0 0 22px; max-width:760px; color:#0a2c57;
  font:750 clamp(1.65rem,3.2vw,2.65rem)/1.13 system-ui,sans-serif;
  letter-spacing:-.035em; text-wrap:balance;
}
.mc-home-title span { color:#bb4700; }
body .mc-home-ready .heroGrid { display:block; }
body .mc-home-ready #portalSearchForm.quickSearch {
  padding:0; border:0!important; border-radius:0;
  background:none!important; box-shadow:none!important; gap:12px; z-index:auto;
}
.mc-home-ready #portalSearchForm::before { content:none; }
body .mc-home-ready #portalSearchForm .quickSearch__line--query {
  display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto auto;
  align-items:end; gap:10px;
}
body .mc-home-ready #portalSearchForm .quickSearch__line--query > .field { grid-column:auto; }
body .cleanHero.mc-home-ready #portalSearchForm .placeField { display:block!important; z-index:auto; }
.mc-home-ready #portalSearchForm #localPlaceInput { display:none; }
body .mc-home-ready #portalSearchForm .field label {
  display:block; position:static; margin:0 0 7px; color:#334a63;
  font:650 14px/1.3 system-ui,sans-serif; text-transform:none; letter-spacing:0;
}
body .mc-home-ready #portalSearchForm #heroSearchInput,
body .mc-home-ready #portalSearchForm .mc-home-place {
  box-sizing:border-box; width:100%; min-width:0; height:50px;
  border:1px solid #cad5df!important; border-radius:12px; padding:0 13px;
  background:#fff!important; color:#0a2c57; font:400 16px/1.4 system-ui,sans-serif;
}
.mc-home-ready #portalSearchForm #heroSearchInput::placeholder { color:#67768a; font-weight:400; }
.mc-home-ready .mc-home-place { display:flex; align-items:center; justify-content:space-between; gap:8px; cursor:pointer; text-align:left; }
.mc-home-place > span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body .mc-home-ready #portalSearchForm .btn {
  height:50px; min-height:50px; border-radius:12px; padding:0 26px;
  background:#0a2c57; color:#fff; box-shadow:none; border:1px solid #0a2c57;
  font:700 16px system-ui,sans-serif;
}
body .mc-home-ready #portalSearchForm #advancedSearchToggle {
  height:50px; min-height:50px; padding:0 18px; border-radius:12px;
  border:1px solid #cad5df; background:#fff; color:#0a2c57; font:600 15px system-ui,sans-serif;
}
.mc-home-ready #portalSearchForm .searchHints { display:none; }
.mc-home-ready .mc-home-links { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 14px; }
.mc-home-ready .mc-home-links a,
.mc-home-ready .mc-home-links button {
  display:inline-flex; align-items:center; min-height:44px; margin:0; padding:0;
  border:0; background:none; color:#244d70; font:500 13px/1.35 system-ui,sans-serif;
  text-decoration:underline; text-underline-offset:3px; cursor:pointer;
}
.mc-home-ready .mc-home-links a { color:#944400; }
body .mc-home-ready > .mcpl-town {
  margin:10px 0 0; padding:14px 0 0; border:0; border-top:1px solid #e7ecf0;
  border-radius:0; gap:5px 10px; background:none;
}
.mc-home-ready .mcpl-town img { width:34px; height:44px; }
.mc-home-ready .mcpl-town-main { gap:10px; }
body .mc-home-ready .mcpl-town-main strong { font:650 15px/1.3 system-ui,sans-serif; }
.mc-home-ready .mcpl-town-main small { font-size:11px; }
body .mc-home-ready .mcpl-town-link { min-height:44px; padding:0 10px; font-size:12px; }
.mc-home-ready .mc-home-town-info { width:100%; color:#526579; font:400 12px/1.4 system-ui,sans-serif; }
.mc-home-ready .mc-home-town-info > summary { min-height:32px; padding:8px 0; box-sizing:border-box; cursor:pointer; }
.mc-home-ready .mc-home-town-info .mcpl-town-credit { padding-top:8px; }
.mc-home-ready :is(button,a,input,summary):focus-visible { outline:3px solid #0f7977; outline-offset:3px; }
@media(max-width:720px) {
  body .cleanHero.mc-home-ready { padding:18px 16px 8px; margin-top:8px; }
  body .mc-home-ready .mc-home-title { margin-bottom:20px; max-width:410px; }
  body .mc-home-ready #portalSearchForm .quickSearch__line--query { grid-template-columns:minmax(0,1fr) auto; gap:13px 10px; }
  body .mc-home-ready #portalSearchForm .quickSearch__line--query > .field { grid-column:1/-1; }
  body .mc-home-ready > .mcpl-town { margin-top:4px; }
}
@media(prefers-reduced-motion:reduce) { .mc-home-ready * { scroll-behavior:auto; } }
