/* West Bridgford ATS Plastering — enhancement layer.
   Tokens below are the site's OWN measured values (see scripts/profile.mjs):
   IBM Plex Serif display / Inter body, #0067FF accent, #E7F6FF ground,
   #0F172A headings, 4px button radius, 14px 32px button padding.
   Astra + Elementor CSS loads after this file, so injected typography and
   colour carry explicit px and !important. Cached immutable for a year under
   /wp-content/ — the link carries ?v=N and N bumps on every edit. */

/* ---------------------------------------------------------- breadcrumbs */
.wbats-crumbs {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
.wbats-crumbs-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 20px !important;
}
.wbats-crumbs ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wbats-crumbs li {
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  line-height: 22px !important;
  color: #69727d !important;
  margin: 0 !important;
}
.wbats-crumbs li + li::before {
  content: "/";
  color: #69727d !important;
  margin-right: 8px;
}
.wbats-crumbs a {
  color: #0067ff !important;
  text-decoration: none !important;
}
.wbats-crumbs a:hover,
.wbats-crumbs a:focus-visible {
  text-decoration: underline !important;
}
.wbats-crumbs li[aria-current="page"] span {
  color: #0f172a !important;
  font-weight: 500 !important;
}

/* ------------------------------------------ local considerations panel */
.wbats-local .elementor-widget-container {
  font-family: Inter, sans-serif !important;
}
.wbats-local p {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 26.4px !important;
  color: #364151 !important;
  margin: 0 0 16px !important;
}
.wbats-local-list {
  list-style: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
.wbats-local-list li {
  position: relative;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 26.4px !important;
  color: #364151 !important;
  padding-left: 26px !important;
  margin: 0 0 10px !important;
}
.wbats-local-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0067ff !important;
}

/* --------------------------------------------- extra internal-link cards */
.wbats-links {
  background: #ffffff !important;
  padding: 0 0 120px !important;
}
.wbats-links-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.wbats-link-card {
  background: #e7f6ff !important;
  border: 1px solid rgba(0, 103, 255, 0.16) !important;
  border-radius: 4px !important;
  padding: 32px 28px !important;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.wbats-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}
.wbats-link-card h3.elementor-heading-title {
  font-family: "IBM Plex Serif", serif !important;
  font-size: 24px !important;
  line-height: 31.2px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  color: #0f172a !important;
  margin: 0 0 12px !important;
}
.wbats-link-card p {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 26.4px !important;
  color: #364151 !important;
  margin: 0 0 20px !important;
}
.wbats-link-card .elementor-button {
  background-color: #0067ff !important;
  border: 1px solid #0067ff !important;
  border-radius: 4px !important;
  color: #e7f6ff !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  padding: 14px 32px !important;
}
.wbats-link-card .elementor-button:hover,
.wbats-link-card .elementor-button:focus-visible {
  background-color: #005ee9 !important;
  border-color: #005ee9 !important;
  color: #ffffff !important;
}

/* ------------------------------------------------------- services hub grid */
.wbats-hub {
  background: #e7f6ff !important;
  padding: 100px 0 !important;
}
.wbats-hub-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.wbats-hub h2.elementor-heading-title {
  font-family: "IBM Plex Serif", serif !important;
  font-size: 48px !important;
  line-height: 62.4px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  color: #0f172a !important;
  margin: 0 0 12px !important;
  text-align: center;
}
.wbats-hub-lede {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 26.4px !important;
  color: #364151 !important;
  max-width: 760px;
  margin: 0 auto 48px !important;
  text-align: center;
}
.wbats-hub-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.wbats-hub-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 103, 255, 0.16) !important;
  border-radius: 4px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.wbats-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}
.wbats-hub-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.wbats-hub-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.wbats-hub-card h3 {
  font-family: "IBM Plex Serif", serif !important;
  font-size: 24px !important;
  line-height: 31.2px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  color: #0f172a !important;
  margin: 0 0 12px !important;
}
.wbats-hub-card p {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 26.4px !important;
  color: #364151 !important;
  margin: 0 0 20px !important;
  flex: 1 1 auto;
}
.wbats-hub-card .elementor-button {
  align-self: flex-start;
  background-color: #0067ff !important;
  border: 1px solid #0067ff !important;
  border-radius: 4px !important;
  color: #e7f6ff !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  padding: 14px 32px !important;
  text-decoration: none !important;
}
.wbats-hub-card .elementor-button:hover,
.wbats-hub-card .elementor-button:focus-visible {
  background-color: #005ee9 !important;
  border-color: #005ee9 !important;
  color: #ffffff !important;
}

/* ---------------------------------------------- IA wiring on legacy pages */
/* Each mirrored service card's only link was the phone number, so the card was
   a dead end. This is the "more" link added under it. Deliberately a text link
   rather than a second button, so the mirrored card's look does not change. */
.wbats-card-more {
  margin-top: 4px !important;
}
.wbats-card-more a {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 26.4px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  color: #0067ff !important;
  text-decoration: none !important;
  display: inline-block;
}
.wbats-card-more a::after {
  content: " \203A";
  font-weight: 600;
}
.wbats-card-more a:hover,
.wbats-card-more a:focus-visible {
  color: #005ee9 !important;
  text-decoration: underline !important;
}
.wbats-card-more a:focus-visible {
  outline: 3px solid #0f172a !important;
  outline-offset: 2px !important;
}

/* Homepage strip that puts the services hub on the homepage itself. */
.wbats-hub-strip {
  background: #ffffff !important;
  padding: 0 0 100px !important;
}
.wbats-hub-strip-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.wbats-hub-strip-inner p {
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  line-height: 26.4px !important;
  color: #364151 !important;
  margin: 0 !important;
}
.wbats-hub-strip .elementor-button {
  background-color: #0067ff !important;
  border: 1px solid #0067ff !important;
  border-radius: 4px !important;
  color: #e7f6ff !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  padding: 14px 32px !important;
  text-decoration: none !important;
}
.wbats-hub-strip .elementor-button:hover,
.wbats-hub-strip .elementor-button:focus-visible {
  background-color: #005ee9 !important;
  border-color: #005ee9 !important;
  color: #ffffff !important;
}
.wbats-hub-strip .elementor-button:focus-visible {
  outline: 3px solid #0f172a !important;
  outline-offset: 2px !important;
}

/* photo bands: keep text legible over the site's own hero imagery */
.wbats-on-photo,
.elementor-element-366f3767 h2.elementor-heading-title {
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55);
}

/* 48px scroll anchor offset, since the mirrored header is sticky */
.wbats-anchor {
  scroll-margin-top: 48px;
}

/* keyboard focus, AA visible on both the ice ground and white bands */
.wbats-crumbs a:focus-visible,
.wbats-link-card a:focus-visible,
.wbats-hub-card a:focus-visible {
  outline: 3px solid #0f172a !important;
  outline-offset: 2px !important;
}

@media (max-width: 1024px) {
  .wbats-hub-grid,
  .wbats-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .wbats-hub-grid,
  .wbats-links-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .wbats-hub h2.elementor-heading-title {
    font-size: 32px !important;
    line-height: 41.6px !important;
  }
  .wbats-links {
    padding: 0 0 60px !important;
  }
  .wbats-hub {
    padding: 60px 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wbats-link-card,
  .wbats-hub-card {
    transition: none !important;
  }
  .wbats-link-card:hover,
  .wbats-hub-card:hover {
    transform: none;
  }
}
