/* The public directory keeps search and the first results together. */
#home.hero {
  padding: clamp(28px, 4vw, 52px) 0 clamp(22px, 3vw, 36px);
  text-align: left;
  background: #f3f6f1;
  border-bottom: 1px solid #dae3da;
}
#home h1 {
  max-width: 28ch;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: #193d2f;
}
#home .hero-description {
  max-width: 70ch;
  margin: .65rem 0 0;
  color: #435749;
  font-size: 1.125rem;
  line-height: 1.5;
}
#home .search-bar {
  display: block;
  margin-top: 20px;
  padding: 14px 18px 5px;
  border-color: #d2ddd1;
  box-shadow: none;
}
.search-primary, .search-choices {
  display: grid;
  align-items: end;
  gap: 10px 16px;
}
.search-primary { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) auto; }
.search-choices { grid-template-columns: repeat(auto-fit,minmax(min(13rem,100%),1fr)); }
#home .search-bar label { display: grid; gap: 4px; color: #354a3d; font-weight: 600; font-size: 1rem; }
#home .search-bar :is(select,input) {
  height: 46px; padding: 0 11px; background: white; color: #233b2e;
  border: 1px solid #a9b7ac; font: inherit; font-weight: 400; border-radius: 5px;
}
#home .search-bar button[type="submit"] { min-height: 46px; padding: .55rem 1.4rem; }
.search-options summary {
  cursor: pointer; color: #21573f; font-weight: 650; font-size: 1rem;
  width: fit-content; padding: 9px 4px; min-height: 44px;
}
.search-options[open] summary { margin-bottom: 4px; }
#home .popular { margin: 6px 0 8px; justify-content: flex-start; }
#home .popular button { min-height: 44px; color: #2f533d; box-shadow: none; }
#home-view #projects { padding-top: clamp(24px, 3vw, 40px); }
#projects .section-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
#projects .section-heading h2 { margin: 0; }
#projects .section-heading .text-button { min-height: 44px; margin: 0; }
#projects .result-status:empty { margin: 0; }
.inner-page .route-heading { margin-bottom: 20px; }
.inner-page .route-heading .breadcrumbs { margin: 0 0 14px; color: #49594e; font-size: 1rem; line-height: 1.45; }
.inner-page .route-heading h1 { margin-bottom: 10px; line-height: 1.16; }
.inner-page .route-heading .updated-note { margin: 10px 0; color: #45594b; }
.inner-page .route-heading .kicker { letter-spacing: .07em; }
.inner-page .catalogue-filter { gap: 10px 16px; margin: 16px 0; border-color: #d1dbd0; }
.inner-page .catalogue-filter label { gap: 3px; color: #344a3c; font-weight: 600; }
.inner-page .catalogue-filter :is(input,select) { border-color: #a9b7ac; font-weight: 400; }
#route-view .prose > :is(p,section) { color: #263d30; }
#route-view .prose :is(p,li) { line-height: 1.65; }
#route-view .prose p a { text-decoration: underline; text-underline-offset: .15em; }
#route-view .prose figure figcaption { color: #48584d; }
#home-view .card-detail, #route-view .card-detail { width: 44px; height: 44px; }
#home-view .compare-button, #route-view .compare-button { min-height: 44px; }
.table-wrap { max-width: 100%; scrollbar-color: #849787 #eef2ed; }
.map-explorer .leaflet-container { font-family: var(--site-font); }
.map-explorer :is(.map-result-copy > small,.map-result-count) { color: #435449; }
.map-explorer .map-filter :is(select,input) { background-color: white; border-color: #a9b7ac; color: #243d30; }
.map-explorer .map-filter select[hidden] { display: none; }
.map-canvas:not(.map-local-view) .cemetery-marker { pointer-events: none; }
.map-canvas:not(.map-local-view) .cemetery-marker .map-marker-pin { pointer-events: auto; }
.map-canvas:not(.map-local-view) .cemetery-marker:not(:hover):not(:focus) .map-marker-label { visibility: hidden; }
@media (max-width: 700px) {
  #home.hero { padding: 22px 0 18px; }
  #home .hero-description { font-size: 1.0625rem; line-height: 1.45; }
  #home .search-bar { margin-top: 14px; padding: 11px 12px 1px; }
  .search-primary { grid-template-columns: minmax(0,1fr) auto; gap: 6px 9px; }
  .search-primary .search-name { grid-column: 1 / -1; }
  #home .search-primary label:nth-child(2), #home .search-primary button { grid-column: auto; }
  #home .search-choices > label { grid-column: auto; }
  #home .popular strong { text-align: left; }
  .inner-page:not(.map-page) #route-view { padding-top: 18px; }
  #route-view .catalogue-filter { padding: 13px; }
  #route-view .catalogue-filter :is(button,a) { min-height: 44px; }
  .floating-call { display: none; }
  #route-view .price-table :is(td,th) { padding: 12px; }
}
@media (max-width: 600px) {
  body.map-page .map-sidebar { height: auto; }
  body.map-page .map-filter-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.map-page .map-results {
    align-items: start; flex: none; overflow-x: auto; overflow-y: auto;
    scroll-snap-type: x proximity; scroll-padding-inline: 12px;
  }
  body.map-page .map-result-card {
    flex: 0 0 min(87%, 430px); padding: 10px 12px; min-height: 102px; scroll-snap-align: start;
  }
  body.map-page .map-result-copy > strong { display: block; font-size: 1rem; line-height: 1.3; }
  body.map-page .map-result-copy > small { line-height: 1.35; }
  body.map-page .map-canvas-wrap { height: clamp(365px, 53svh, 620px); }
  .map-page .map-canvas a.leaflet-popup-close-button {
    inset: 5px auto auto 5px; display: grid; place-items: center;
    width: 44px; height: 44px; background: white; color: #214831;
    border: 1px solid #b0bdb3; border-radius: 50%; font-size: 1.5rem;
  }
}
