/* SEO additions: keep the original Anyar stylesheet and visual identity intact. */

/* The logo previously sat in an H2. Preserve that wrapper's visual metrics. */
#hero .hero-logo {
  color: #fff;
  margin: 0 0 30px;
  font-family: "Raleway", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
}

#hero .hero-logo img {
  height: auto;
}

/* A visible, semantic heading in the existing introduction's type and position. */
#hero .hero-heading {
  width: 80%;
  margin: 0 auto;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  animation-delay: 0.4s;
}

/* These descriptions used to be H2s; keep their original typography. */
.icon-boxes p.description {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
}

/* H3 replaces H4 without changing service-card title styling. */
.services .icon-box .service-title {
  margin-left: 70px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .icon-box .service-title a {
  color: #05579e;
  transition: 0.3s;
}

.services .icon-box .service-title a:hover {
  color: #0880e8;
}

.services .icon-box {
  width: 100%;
}

/* Real lists replace BR/zero-width-character padding; retain card spacing. */
.services .service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 70px;
  min-height: 144px;
  line-height: 24px;
  font-size: 14px;
}

.contact .info .contact-label {
  padding: 0 0 0 60px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #043c6d;
}

.contact-link {
  color: inherit;
  overflow-wrap: anywhere;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: inherit;
  text-decoration: underline;
}

#footer .footer-top .footer-heading {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-about-heading {
  font-size: 18px;
  margin: 0 0 20px;
  padding: 2px 0;
  line-height: 1;
  font-weight: 700;
}

/* New detail pages reuse the existing header, logo, colors, fonts and footer. */
.service-detail #hero {
  height: auto;
  margin-bottom: 0;
  padding: 150px 0 45px;
}

.service-detail #hero .hero-logo {
  width: 620px;
}

.service-detail #hero .hero-heading {
  width: 100%;
  max-width: 880px;
  margin-bottom: 15px;
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.service-detail .service-details {
  padding: 50px 0 60px;
}

.service-copy,
.service-breadcrumb,
.related-services {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.service-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin-bottom: 30px;
  list-style: none;
  font-size: 14px;
}

.service-breadcrumb li + li::before {
  content: "/";
  padding: 0 10px;
  color: #777;
}

.service-copy {
  font-size: 16px;
  line-height: 1.75;
}

.service-copy h2,
.related-services h2 {
  color: #054a85;
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0 15px;
}

.service-copy ul {
  padding-left: 24px;
}

.service-copy li + li,
.related-services li + li {
  margin-top: 8px;
}

.related-services {
  padding-top: 20px;
  font-size: 16px;
}

.related-services ul {
  padding-left: 24px;
}

@media (min-width: 1024px) {
  #hero .hero-heading {
    width: 60%;
  }
}

@media (max-width: 991px) {
  .contact #mapid {
    height: 320px !important;
  }
  .service-detail #hero {
    padding-top: 90px;
  }
}

@media (max-width: 768px) {
  #hero .hero-logo {
    font-size: 28px;
  }
  .service-detail #hero .hero-heading {
    font-size: 24px;
  }
}
