/* Locations detail layouts use the site's existing fonts, colours and navigation. */
.lx-page {
  color: #263e4d;
  background: #fff;
}
.lx-page p {
  max-width: 78ch;
  line-height: 1.8;
  font-size: 1rem;
}
.lx-hero {
  padding: 38px 0 70px;
  background: linear-gradient(120deg, #f5f7f8, #e9eff3);
}
.lx-hero h1 {
  font-size: clamp(2.8rem, 4.3vw, 4.9rem);
  line-height: 1.05;
  margin: 20px 0 25px;
}
.lx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.lx-page figure {
  margin: 0;
  min-width: 0;
}
.lx-page figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: #10222f;
}
.lx-page figcaption {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #475d6b;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.lx-page figcaption a {
  color: #354d5e;
}
.lx-service-photo img {
  /* Preserve tall equipment and very wide device references without destructive crops. */
  object-fit: scale-down;
}
.lx-photo img {
  max-width: var(--lx-native-width, 100%);
  margin-inline: auto;
}
.lx-map img,
.lx-master-map img {
  object-fit: contain;
}
.lx-page .lx-map figcaption,
.locations-page .lx-master-map figcaption {
  font-size: 0.9rem;
}
.lx-map figcaption a,
.lx-master-map figcaption a {
  display: inline-block;
  padding-block: 10px;
}
.lx-section {
  padding: 65px 0;
}
.lx-section h2 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  max-width: 25ch;
  margin: 0 0 30px;
}
.lx-soft {
  background: #f1f4f6;
}
.lx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 25px 0;
}
.lx-service-grid article {
  padding: 25px;
  border-top: 2px solid #d80000;
  background: #f4f6f7;
}
.lx-service-grid h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 18px;
}
.lx-page a:not(.btn) {
  text-underline-offset: 4px;
}
.lx-service-grid a {
  color: #243e4e;
}
.lx-service-grid p {
  font-size: 0.95rem;
  margin: 0;
}
.lx-sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.lx-sector-grid article {
  padding: 30px;
  background: #fff;
  border: 1px solid #d8e0e5;
}
.lx-sector-grid h3 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 20px;
}
.lx-sector-grid .eyebrow {
  color: #526b7c;
}
.lx-cities {
  columns: 2;
  font-weight: 600;
  line-height: 2.2;
  padding-left: 25px;
}
.lx-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.lx-directory a {
  padding: 16px 18px;
  border: 1px solid #cfdae1;
  background: #fff;
  color: #243e4d;
  text-decoration: none;
  border-left: 2px solid #d80000;
}
.lx-directory a:hover {
  background: #e4edf3;
}
.lx-region-directory {
  grid-template-columns: repeat(3, 1fr);
}
.lx-faq {
  max-width: 1050px;
}
.lx-faq details {
  border-bottom: 1px solid #d3dde4;
  padding: 20px 0;
}
.lx-faq summary {
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.5;
}
.lx-faq p {
  padding-left: 22px;
}
.lx-related {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin-top: 35px;
}
.lx-related a {
  color: #314d60;
}
.locations-nav .dropdown {
  min-width: 230px;
}
@media (min-width: 981px) {
  .main-nav:has(.locations-nav) {
    gap: 13px;
  }
  .main-nav:has(.locations-nav) > .btn {
    padding-inline: 15px;
  }
}
@media (min-width: 981px) and (max-width: 1150px) {
  .header-inner:has(.locations-nav) {
    flex-wrap: wrap;
  }
  .main-nav:has(.locations-nav) {
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}
@media (max-width: 980px) {
  .lx-split {
    gap: 28px;
  }
  .lx-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lx-directory {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .lx-split,
  .lx-sector-grid {
    grid-template-columns: 1fr;
  }
  .lx-hero {
    padding-bottom: 40px;
  }
  .lx-hero h1 {
    font-size: 2.7rem;
  }
  .lx-section {
    padding: 42px 0;
  }
  .lx-service-grid {
    grid-template-columns: 1fr;
  }
  .lx-directory,
  .lx-region-directory {
    grid-template-columns: repeat(2, 1fr);
  }
  .lx-directory a {
    padding: 13px 12px;
  }
  .lx-sector-grid article {
    padding: 22px;
  }
  .lx-page p {
    font-size: 0.96rem;
  }
  .lx-faq summary {
    font-size: 1rem;
  }
}
@media (max-width: 380px) {
  .lx-directory {
    grid-template-columns: 1fr;
  }
  .lx-hero h1 {
    font-size: 2.35rem;
  }
  .lx-cities {
    columns: 1;
  }
}
.lx-master-map {
  margin: 35px 0 0;
  max-width: 900px;
}
.lx-master-map img {
  display: block;
  width: 100%;
  height: auto;
}
.lx-master-map figcaption {
  font-size: 0.8rem;
  color: #425969;
  margin-top: 12px;
}

@media (min-width: 981px) {
  .locations-nav .dropdown {
    left: auto;
    right: 0;
    width: 250px;
  }
}
/* New detail heroes are pale; the original office hero keeps its light breadcrumbs. */
.lx-page .loc-breadcrumb {
  color: #435d70;
  flex-wrap: wrap;
}
