/* ui01-home: reading order, dual search, coverage chart. Civic palette only. */

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-lede {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #13315C;
  background: none;
  border: 0;
  padding: 0;
}

#search-form.search-form.dual-search {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #8DA9C4;
  border-radius: 8px;
  box-shadow: none;
  position: relative;
}

.search-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) auto auto;
  gap: 0.75rem;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.search-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #13315C;
}

#search-form input,
#search-form select {
  width: 100%;
  min-width: 0;
  box-shadow: none;
  border: 1px solid #8DA9C4;
  background: #EEF4ED;
  color: #13315C;
}

#search-form .btn {
  box-shadow: none;
}

#search-form .btn-primary {
  background: #134074;
  color: #EEF4ED;
  border: 1px solid #134074;
}

#search-form .btn-primary:hover {
  background: #13315C;
  color: #EEF4ED;
}

#search-form .btn-secondary {
  background: #EEF4ED;
  color: #13315C;
  border: 1px solid #8DA9C4;
}

#search-form #search-refine {
  display: inline-block;
}

.search-refine-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.search-refine-fields {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #8DA9C4;
}

.search-refine-fields .search-filter,
.search-refine-fields input {
  font-size: 0.85rem;
}

@media (min-width: 641px) {
  #search-form #search-refine {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 640px) {
  .search-primary {
    grid-template-columns: 1fr;
  }

  #search-form .search-primary .btn,
  #search-form #search-refine {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0.65rem 1.25rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
    display: block;
  }

  .search-form.dual-search:not(.show-refine) .search-refine-fields {
    display: none;
  }

  .search-form.dual-search.show-refine .search-refine-fields {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-form.dual-search.show-refine #search-industry,
  .search-form.dual-search.show-refine #search-category,
  .search-form.dual-search.show-refine #search-state,
  .search-form.dual-search.show-refine #search-zip,
  .search-form.dual-search.show-refine #search-area,
  .search-form.dual-search.show-refine #search-sort {
    display: block;
    width: 100%;
  }
}

.search-section .section-with-ads {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.search-section.is-idle .search-quick-tops {
  display: none;
}

.sidebar-note {
  margin: 0;
  max-width: 16rem;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  color: #13315C;
}

.coverage-figure {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.coverage-figure[hidden] {
  display: none;
}

.coverage-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B2545;
}

.coverage-figure svg {
  display: block;
  width: 100%;
  max-width: 42rem;
  height: auto;
}

.coverage-sentence {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: #13315C;
  line-height: 1.5;
}

.offer-rail-inner {
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.offer-premier,
.offer-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.offer-kicker,
.offer-title,
.offer-note {
  margin: 0;
}

.offer-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8DA9C4;
}

.offer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #EEF4ED;
}

.offer-note {
  flex-basis: 100%;
  font-size: 0.9rem;
  color: #8DA9C4;
}

@media (max-width: 900px) {
  .search-section .section-with-ads {
    grid-template-columns: 1fr;
  }

  .offer-rail-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-services .btn,
  .offer-premier .btn {
    text-align: center;
  }
}
