.search-page { max-width: 940px; margin-inline: auto; }
.search-intro { margin-bottom: 24px; }
.search-intro p { color: #706577; margin-top: 12px; }
.search-page form.search-form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; padding: 24px; background: #f7f4f7; border: 1px solid #e5dfe6; border-radius: 16px; }
.search-form .search-query { flex: 1 1 260px; min-width: 0; }
.search-form label { display: block; font-size: 14px; margin-bottom: 8px; }
.search-form input[type="search"], .search-form select { width: 100%; height: 50px; border: 1px solid #d8d0dc; border-radius: 10px; padding: 12px 14px; font: inherit; box-sizing: border-box; background: white; }
.search-form .search-filter { flex: 0 1 180px; }
.search-form input[type="submit"] { min-height: 50px; padding: 12px 24px; border: 0; border-radius: 10px; background: #b8342b; color: white; font: inherit; cursor: pointer; }
.search-popular { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 32px; }
.search-popular a { padding: 8px 14px; border: 1px solid #e5dfe6; border-radius: 24px; font-size: 14px; text-decoration: none; }
.search-popular a:hover { background: #f6f4f5; border-color: #b8342b; }
.search-result { display: block; margin: 16px 0; padding: 24px; border: 1px solid #e5dfe6; border-radius: 14px; background: white; overflow-wrap: anywhere; }
.search-result > a:first-child { font-size: 21px; line-height: 1.35; font-weight: 500; color: #9d3028; text-decoration: none; }
.search-result p { margin-block: 12px; color: #615568; }
.search-result small { display: inline-block; line-height: 1.5; margin-right: 8px; }
.search-help { padding: 24px; margin-block: 24px; border-radius: 14px; background: #f7f4f7; }
.search-help a { color: #a33229; }
.search-preview-note { color: #756b7a; font-size: 13px; line-height: 1.5; }
.fault-links { columns: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fault-links .menu__point { float: none; width: auto; }
.fault-links .menu__link { padding: 14px 16px; min-height: 48px; height: 100%; box-sizing: border-box; border: 1px solid #e5dfe6; border-radius: 10px; background: #faf8fa; color: #35263e; text-decoration: none; line-height: 1.45; }
.fault-links .menu__link:hover { background: #f1e9ef; }
.fault-jump { display: inline-flex; margin-top: 16px; padding: 10px 16px; border-radius: 10px; background: #f1e9ef; color: #653945; text-decoration: none; }
.site-footer { margin-top: 48px; padding: 0 0 24px; background: #281e32; color: #f6f2f8; }
.site-footer .b-main__line-fix { padding-inline: 24px; }
.footer-invite { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 0 36px; }
.footer-eyebrow { display: block; color: #dbbdbb; font-size: 12px; font-weight: 500; letter-spacing: .12em; margin-bottom: 14px; }
.footer-invite h2 { font-size: 38px; line-height: 1.15; letter-spacing: -.025em; }
.footer-invite p { color: #c6bacd; margin: 16px 0 0; line-height: 1.5; }
.footer-actions { display: grid; gap: 16px; }
.footer-actions a { font-size: 14px; }
.footer-actions .footer-primary { display: flex; justify-content: space-between; gap: 24px; padding: 18px 22px; background: #d34538; border-radius: 12px; font-size: 17px; text-decoration: none; }
.footer-primary:hover { background: #b8342b; }
.footer-locations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #53425e; border-radius: 16px; overflow: hidden; }
.footer-locations > * { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 26px; text-decoration: none; }
.footer-locations > * + * { border-left: 1px solid #53425e; }
.footer-locations strong, .footer-phone { font-size: 23px; line-height: 1.25; font-weight: 500; text-decoration: none; }
.footer-locations span:not(.footer-eyebrow) { color: #c6bacd; font-size: 14px; line-height: 1.5; }
.footer-locations .footer-eyebrow { margin: 0; }
.footer-locations .footer-route { margin-top: 8px; color: #f6f2f8; }
.footer-directory { display: grid; grid-template-columns: 1.15fr repeat(3,1fr); gap: 32px; padding: 40px 0; }
.footer-wordmark { display: block; font-size: 28px; line-height: 1.3; font-weight: 700; text-decoration: none; margin-bottom: 14px; }
.footer-wordmark span { color: #ee8175; }
.footer-brand p { color: #c6bacd; font-size: 14px; line-height: 1.65; }
.footer-directory nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-directory h3 { font-size: 16px; line-height: 1.4; margin-bottom: 6px; }
.footer-directory nav a, .footer-social a { color: #c6bacd; text-decoration: none; font-size: 14px; line-height: 1.4; }
.footer-directory a:hover, .footer-bottom a:hover { color: white; text-decoration: underline; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; border-top: 1px solid #53425e; padding-top: 24px; color: #bfb1c7; font-size: 12px; line-height: 1.5; }
@media(max-width: 900px) {
  .footer-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-locations { grid-template-columns: 1fr; }
  .footer-locations > * + * { border-left: 0; border-top: 1px solid #53425e; }
  .footer-invite { align-items: flex-start; flex-direction: column; }
}
@media(max-width: 575px) {
  .search-page form.search-form { padding: 16px; }
  .search-form .search-filter { flex: 1; }
  .search-result, .search-help { padding: 18px; }
  .search-result > a:first-child { font-size: 19px; }
  .fault-links { grid-template-columns: 1fr; }
  .site-footer .b-main__line-fix { padding-inline: 16px; }
  .footer-invite h2 { font-size: 30px; }
  .footer-invite { padding-top: 32px; gap: 24px; }
  .footer-actions { width: 100%; }
  .footer-locations > * { padding: 22px; }
  .footer-directory { gap: 28px 20px; }
  .footer-brand { grid-column: 1/-1; }
}
.submit-block__control .button { height: auto; min-height: 44px; padding: 12px 18px; line-height: 1.35; white-space: normal; }
.submit-block__control .submit-block__control { float: none; width: auto; }

/* Search action and the original brand signature. */
.search-page .search-form .search-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; min-height: 50px; padding: 12px 24px; border: 1px solid #b8342b; border-radius: 12px; background: #b8342b; color: #fff; font: inherit; font-weight: 500; line-height: 1.4; cursor: pointer; transition: background .18s, box-shadow .18s; }
.search-page .search-form .search-action:hover { background: #a52e26; box-shadow: 0 4px 12px #b8342b20; }
.search-page .search-form .search-action:focus-visible { outline: 3px solid #b8342b; outline-offset: 3px; }
.search-action svg { flex-shrink: 0; }
.footer-wordmark { display: inline-flex; align-items: center; max-width: 100%; box-sizing: border-box; padding: 0; background: transparent; border-radius: 0; margin-bottom: 18px; }
.footer-wordmark img { display: block; width: 148px; height: auto; max-width: 100%; }
.footer-wordmark:hover { background: transparent; opacity: .85; }
@media (max-width: 575px) { .search-page .search-form .search-action { width: 100%; } }
