/* Shared visual language for residential design, reports and permit pages. */
body.family-permit .hero {
  position: relative;
  overflow: hidden;
  background: #112943;
  color: #fff;
}

body.family-permit .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(117,184,244,.52) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117,184,244,.52) 1px, transparent 1px);
  background-size: 36px 36px;
}

body.family-permit .hero > .wrap {
  position: relative;
}

body.family-permit .hero .eyebrow {
  color: #75b8f4;
}

body.family-permit .hero .hero-sub,
body.family-permit .hero .hero-phone,
body.family-permit .hero-copy > p:not(.eyebrow):not(.hero-note) {
  color: rgba(255,255,255,.72);
}

body.family-permit .hero-sub a {
  color: #9ecdf8;
}

body.family-permit .hero-note {
  border-left: 0;
  padding: 20px 22px;
  background: #dceeff;
  color: #14181d;
}

body.family-permit .hero-photo,
body.family-permit .hero-media,
body.family-permit .hero-visual {
  border: 8px solid rgba(255,255,255,.94);
  box-shadow: 0 28px 68px rgba(0,0,0,.26);
}

body.family-permit .hero-photo figcaption,
body.family-permit .hero-media figcaption {
  background: #fff;
  color: #14181d;
}

body.family-permit .purpose,
body.family-permit .benefits,
body.family-permit .principles,
body.family-permit .uses {
  background: #f6f6f3;
}

body.family-permit .cta {
  background: #112943;
  color: #fff;
  border-top: 0;
}

body.family-permit .cta .eyebrow {
  color: #75b8f4;
}

body.family-permit .cta p:last-child {
  color: rgba(255,255,255,.68);
}

@media (max-width: 700px) {
  body.family-permit .hero-photo,
  body.family-permit .hero-media,
  body.family-permit .hero-visual {
    border-width: 5px;
  }
}
