/* Location (service area) pages */

/* "See All Builds": same look as the News page pagination buttons */
a.btn-news {
  display: inline-block;
  color: #bbbbbb;
  border: 1px solid #404040;
  background: none;
  margin: 3px;
  padding: 15px 20px;
  border-radius: 2px;
  font-size: 15px;
  text-decoration: none;
}
a.btn-news:hover {
  color: #fff;
  background: var(--primary-color-1); /* the green of the active page in the News pagination */
  border-color: var(--primary-color-1);
  text-decoration: none;
}

/* project cards reuse the Builds gallery overlay look */
.local-projects .picframe {
  position: relative;
  overflow: hidden;
  display: block;
}
.local-projects .picframe img {
  width: 100%;
  height: auto;
  display: block;
}
.local-projects .overlay {
  background-color: #22261f;
  height: auto;
  bottom: 0;
  justify-content: start;
}
.local-projects .project-name {
  text-transform: none !important;
  color: white;
  font-weight: 300;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr auto auto;
  column-gap: 10px;
  padding: 10px;
}
.local-projects .project-name p {
  margin: 0;
  text-align: left;
  line-height: 1.7;
}
.local-projects .project-name p.subtitle {
  font-weight: 600;
}

/* why-list: plain list, lead-in words in the same bold style as the About page text */
ul.local-why {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.local-why li {
  margin-bottom: 13px;
  font-size: 15px;
  line-height: 1;
}
ul.local-why li strong,
#section-local-why .bio-strong {
  font-size: 2.2em;
  font-weight: 600;
  letter-spacing: .9px;
  margin-right: 5px;
}
#section-local-why .local-nearby {
  margin-top: 30px;
}

/* footer: Service Area link under the copyright */
footer a.service-area-link {
  display: inline-block;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

/* hub page: /locations/ */
ul.service-area-cities {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.service-area-cities li {
  margin-bottom: 30px;
}
ul.service-area-cities a {
  display: block;
  height: 100%;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}
ul.service-area-cities a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
ul.service-area-cities h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: #eceff3;
}
ul.service-area-cities p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* long city titles: keep the hero inside the viewport on phones */
@media (max-width: 767px) {
  #subheader.local-subheader .title-wrap {
    float: none;
    width: 100%;
    max-width: 100%;
  }
  #subheader.local-subheader h1 {
    font-size: 44px;
    line-height: 1.1;
    word-break: normal;
  }
  #subheader.local-subheader h4 {
    font-size: 16px;
  }
}
