/* ==========================================================================
   WBP High-Converting Location Page System v1.0
   Purpose: Layout, CTA, trust, card, mobile and FAQ styling for WBP location pages.
   ========================================================================== */

.wbp-page {
  --wbp-navy: #10294d;
  --wbp-navy-dark: #071a33;
  --wbp-red: #e53935;
  --wbp-red-dark: #c62828;
  --wbp-green: #25d366;
  --wbp-text: #20252b;
  --wbp-muted: #5f6975;
  --wbp-line: #dfe5ec;
  --wbp-soft: #f4f7f9;
  --wbp-soft-blue: #edf3f8;
  --wbp-white: #ffffff;
  --wbp-radius: 14px;
  --wbp-shadow: 0 12px 30px rgba(16, 41, 77, 0.08);
  color: var(--wbp-text);
  font-size: 16px;
  line-height: 1.65;
}

.wbp-page * {
  box-sizing: border-box;
}

.wbp-page a {
  color: var(--wbp-navy);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wbp-page h1,
.wbp-page h2,
.wbp-page h3 {
  color: var(--wbp-navy);
  line-height: 1.15;
  margin: 0 0 14px;
}

.wbp-page h1 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.035em;
}

.wbp-page h2 {
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.025em;
}

.wbp-page h3 {
  font-size: 20px;
}

.wbp-page p {
  margin: 0 0 16px;
}

.wbp-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.wbp-section {
  padding: clamp(34px, 5vw, 64px) 0;
}

.wbp-section--soft {
  background: var(--wbp-soft);
}

.wbp-section--blue {
  background: var(--wbp-soft-blue);
}

.wbp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--wbp-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.wbp-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--wbp-red);
  border-radius: 99px;
}

.wbp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.wbp-btn:hover,
.wbp-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16, 41, 77, 0.14);
}

.wbp-btn--primary {
  background: var(--wbp-red);
  color: var(--wbp-white) !important;
}

.wbp-btn--primary:hover {
  background: var(--wbp-red-dark);
}

.wbp-btn--secondary {
  background: var(--wbp-green);
  color: #063915 !important;
}

.wbp-btn--ghost {
  background: var(--wbp-white);
  color: var(--wbp-navy) !important;
  border-color: var(--wbp-line);
}

.wbp-location-hero {
  padding: clamp(34px, 6vw, 74px) 0;
  background:
    linear-gradient(120deg, rgba(16, 41, 77, .94), rgba(16, 41, 77, .72)),
    url('https://wbphillipsmetals.co.uk/wp-content/uploads/2026/05/wb-phillips-scrap-metal-yard.webp') center/cover no-repeat;
  color: var(--wbp-white);
}

.wbp-hero__grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr);
  gap: 30px;
  align-items: stretch;
}

.wbp-location-hero h1,
.wbp-location-hero h2,
.wbp-location-hero h3,
.wbp-location-hero p {
  color: var(--wbp-white);
}

.wbp-hero__lead {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 780px;
  color: rgba(255,255,255,.94) !important;
}

.wbp-hero__actions,
.wbp-cta-band__actions,
.wbp-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.wbp-hero-panel {
  background: rgba(255,255,255,.96);
  color: var(--wbp-text);
  border-radius: var(--wbp-radius);
  padding: 22px;
  box-shadow: var(--wbp-shadow);
  align-self: center;
}

.wbp-hero-panel h2,
.wbp-hero-panel h3,
.wbp-hero-panel p {
  color: var(--wbp-text);
}

.wbp-quick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wbp-quick-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--wbp-line);
}

.wbp-quick-list li:last-child {
  border-bottom: 0;
}

.wbp-quick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: var(--wbp-green);
  color: #073b15;
  font-size: 13px;
  font-weight: 900;
}

.wbp-trust-strip {
  width: min(1120px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  list-style: none;
  border-radius: var(--wbp-radius);
  overflow: hidden;
  box-shadow: var(--wbp-shadow);
  background: var(--wbp-line);
}

.wbp-trust-strip li {
  background: var(--wbp-white);
  padding: 18px;
  font-weight: 800;
  color: var(--wbp-navy);
  text-align: center;
}

.wbp-card-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.wbp-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wbp-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wbp-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wbp-card,
.wbp-step,
.wbp-link-box,
.wbp-mini-cta {
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-radius: var(--wbp-radius);
  padding: 22px;
  box-shadow: 0 7px 18px rgba(16, 41, 77, 0.04);
}

.wbp-card ul,
.wbp-link-box ul,
.wbp-step ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.wbp-card--highlight {
  border-top: 5px solid var(--wbp-red);
}

.wbp-card__icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: var(--wbp-soft-blue);
  margin-bottom: 12px;
  font-size: 22px;
}

.wbp-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--wbp-red);
  background: #fff7f7;
  border-radius: 10px;
}

.wbp-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.wbp-step__number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: var(--wbp-navy);
  color: var(--wbp-white);
  font-weight: 900;
  margin-bottom: 12px;
}

.wbp-cta-band {
  background: var(--wbp-navy);
  color: var(--wbp-white);
}

.wbp-cta-band h2,
.wbp-cta-band p {
  color: var(--wbp-white);
}

.wbp-cta-band .wbp-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
}

.wbp-commercial {
  background: linear-gradient(120deg, var(--wbp-navy-dark), var(--wbp-navy));
  color: var(--wbp-white);
}

.wbp-commercial h2,
.wbp-commercial h3,
.wbp-commercial p,
.wbp-commercial li {
  color: var(--wbp-white);
}

.wbp-commercial .wbp-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.wbp-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.wbp-area-list li {
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  color: var(--wbp-navy);
}

.wbp-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.wbp-faq-list details {
  border: 1px solid var(--wbp-line);
  border-radius: var(--wbp-radius);
  background: var(--wbp-white);
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(16, 41, 77, 0.035);
}

.wbp-faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--wbp-navy);
}

.wbp-faq-list details p {
  padding: 0 20px 18px;
  margin: 0;
}

.wbp-final-cta {
  background:
    linear-gradient(120deg, rgba(229, 57, 53, .93), rgba(16, 41, 77, .95));
  color: var(--wbp-white);
}

.wbp-final-cta h2,
.wbp-final-cta p {
  color: var(--wbp-white);
}

.wbp-small {
  font-size: 14px;
  opacity: .9;
}


.wbp-review-trust {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: stretch;
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-radius: var(--wbp-radius);
  box-shadow: var(--wbp-shadow);
  padding: 20px;
}

.wbp-review-trust__score {
  display: grid;
  align-content: center;
  justify-items: start;
  background: var(--wbp-soft-blue);
  border-radius: 12px;
  padding: 22px;
}

.wbp-review-trust__stars {
  color: #f5a623;
  font-size: 24px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 10px;
}

.wbp-review-trust__rating {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  font-weight: 900;
  color: var(--wbp-navy);
  margin-bottom: 6px;
}

.wbp-review-trust__score p,
.wbp-review-trust__content p {
  margin-bottom: 10px;
}

.wbp-review-trust__content {
  padding: 6px 4px;
}

.wbp-review-trust__quote {
  font-size: 18px;
  font-weight: 800;
  color: var(--wbp-navy);
  margin-bottom: 14px !important;
}

.wbp-review-trust__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0 16px;
  list-style: none;
}

.wbp-review-trust__bullets li {
  background: var(--wbp-soft);
  border: 1px solid var(--wbp-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--wbp-navy);
}

.wbp-review-snippet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.wbp-review-snippet {
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-radius: var(--wbp-radius);
  padding: 18px;
  box-shadow: 0 5px 14px rgba(16, 41, 77, 0.035);
}

.wbp-review-snippet__stars {
  color: #f5a623;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 900;
}

.wbp-review-snippet p {
  margin-bottom: 10px;
}

.wbp-review-snippet strong {
  color: var(--wbp-navy);
}


.wbp-yard-proof {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  margin-top: 26px;
}

.wbp-yard-proof__image {
  min-height: 320px;
  border-radius: var(--wbp-radius);
  background:
    linear-gradient(120deg, rgba(16, 41, 77, .18), rgba(16, 41, 77, .04)),
    url('https://wbphillipsmetals.co.uk/wp-content/uploads/2026/05/wb-phillips-scrap-metal-recycling-sevenoaks-kent.webp') center/cover no-repeat;
  border: 1px solid var(--wbp-line);
  box-shadow: var(--wbp-shadow);
}

.wbp-yard-proof__content {
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-radius: var(--wbp-radius);
  padding: 24px;
  box-shadow: 0 7px 18px rgba(16, 41, 77, 0.04);
}

.wbp-yard-proof__address {
  margin: 14px 0;
  padding: 14px 16px;
  background: var(--wbp-soft);
  border-radius: 12px;
  border: 1px solid var(--wbp-line);
  font-weight: 800;
  color: var(--wbp-navy);
}


.wbp-map-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: stretch;
}

.wbp-map-embed {
  min-height: 360px;
  border-radius: var(--wbp-radius);
  overflow: hidden;
  border: 1px solid var(--wbp-line);
  box-shadow: var(--wbp-shadow);
  background: var(--wbp-soft);
}

.wbp-map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

.wbp-map-card {
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-radius: var(--wbp-radius);
  padding: 24px;
  box-shadow: 0 7px 18px rgba(16, 41, 77, 0.04);
}

.wbp-enquiry-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 26px;
  align-items: start;
}

.wbp-enquiry-panel {
  background: var(--wbp-navy);
  color: var(--wbp-white);
  border-radius: var(--wbp-radius);
  padding: 26px;
  box-shadow: var(--wbp-shadow);
}

.wbp-enquiry-panel h2,
.wbp-enquiry-panel h3,
.wbp-enquiry-panel p,
.wbp-enquiry-panel li {
  color: var(--wbp-white);
}

.wbp-form-shell {
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-radius: var(--wbp-radius);
  padding: 24px;
  box-shadow: var(--wbp-shadow);
}

.wbp-form-shell label {
  display: block;
  font-weight: 900;
  color: var(--wbp-navy);
  margin: 0 0 6px;
}

.wbp-form-shell input,
.wbp-form-shell textarea,
.wbp-form-shell select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--wbp-line);
  border-radius: 10px;
  margin-bottom: 14px;
  font: inherit;
  color: var(--wbp-text);
  background: var(--wbp-white);
}

.wbp-form-shell textarea {
  min-height: 120px;
  resize: vertical;
}

.wbp-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wbp-form-note {
  font-size: 14px;
  color: var(--wbp-muted);
  margin-top: 12px;
}

.wbp-form-placeholder {
  border: 2px dashed var(--wbp-line);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
  background: var(--wbp-soft);
  font-size: 14px;
  color: var(--wbp-muted);
}


.wbp-travel-proof {
  margin-top: 26px;
}

.wbp-travel-proof .wbp-card {
  position: relative;
  overflow: hidden;
}

.wbp-travel-proof .wbp-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(229, 57, 53, .08);
}

.wbp-distance-note {
  background: var(--wbp-white);
  border: 1px solid var(--wbp-line);
  border-left: 5px solid var(--wbp-red);
  border-radius: var(--wbp-radius);
  padding: 20px;
  margin-top: 22px;
  box-shadow: 0 7px 18px rgba(16, 41, 77, 0.04);
}

.wbp-distance-note strong {
  color: var(--wbp-navy);
}

.wbp-mobile-sticky-cta {
  display: none;
}

@media (max-width: 980px) {
  .wbp-hero__grid,
  .wbp-cta-band .wbp-container {
    grid-template-columns: 1fr;
  }

  .wbp-trust-strip,
  .wbp-card-grid--four,
  .wbp-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wbp-card-grid--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .wbp-page {
    font-size: 15px;
    padding-bottom: 72px;
  }

  .wbp-card-grid--two,
  .wbp-trust-strip,
  .wbp-step-grid {
    grid-template-columns: 1fr;
  }


  .wbp-review-trust,
  .wbp-review-snippet-grid,
  .wbp-yard-proof,
  .wbp-map-wrap,
  .wbp-enquiry-box,
  .wbp-form-row {
    grid-template-columns: 1fr;
  }

  .wbp-hero__actions,
  .wbp-cta-band__actions,
  .wbp-final-cta__actions {
    flex-direction: column;
  }

  .wbp-btn {
    width: 100%;
  }

  .wbp-trust-strip {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .wbp-mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--wbp-navy);
    box-shadow: 0 -8px 20px rgba(0,0,0,.18);
  }

 .wbp-mobile-sticky-cta a {
  color: var(--wbp-white) !important;
  text-align: center;
  padding: 12px 8px;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none !important;
  border-right: 1px solid rgba(255,255,255,.16);
}

.wbp-mobile-sticky-cta a:visited,
.wbp-mobile-sticky-cta a:hover,
.wbp-mobile-sticky-cta a:focus {
  color: var(--wbp-white) !important;
}

  .wbp-mobile-sticky-cta a:nth-child(2) {
    background: var(--wbp-red);
  }

  .wbp-mobile-sticky-cta a:last-child {
    border-right: 0;
    background: var(--wbp-green);
    color: #063915 !important;
  }
}

/* End of WBP High-Converting Location Page System v1.0 */

/* ==========================================================================
   WBP Location Page Scoped Fixes v1.1
   Purpose: Stronger scoped overrides for RT Theme heading, text, button, list
   and Contact Form 7 styles. Keep this at the bottom of the file so it wins.
   ========================================================================== */

/* Main wrapper reset */
body .wbp-page,
body .wbp-location-page {
  color: var(--wbp-text) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  width: 100% !important;
  overflow-x: clip;
}

/* Prevent RT Theme heading rules taking over inside the location page */
body .wbp-page :is(h1, h2, h3, h4, h5, h6),
body .wbp-location-page :is(h1, h2, h3, h4, h5, h6) {
  font-family: inherit !important;
  color: var(--wbp-navy) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

body .wbp-page h1,
body .wbp-location-page h1 {
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
}

body .wbp-page h2,
body .wbp-location-page h2 {
  font-size: clamp(25px, 3vw, 38px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  font-weight: 900 !important;
}

body .wbp-page h3,
body .wbp-location-page h3 {
  font-size: 20px !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
}

/* Paragraph and link control */
body .wbp-page p,
body .wbp-location-page p {
  color: var(--wbp-text) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
}

body .wbp-page a,
body .wbp-location-page a {
  color: var(--wbp-navy) !important;
  font-weight: 800 !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
/* Sticky mobile CTA colour fix */
body .wbp-page .wbp-mobile-sticky-cta a,
body .wbp-location-page .wbp-mobile-sticky-cta a,
body .wbp-page .wbp-mobile-sticky-cta a:visited,
body .wbp-location-page .wbp-mobile-sticky-cta a:visited,
body .wbp-page .wbp-mobile-sticky-cta a:hover,
body .wbp-location-page .wbp-mobile-sticky-cta a:hover,
body .wbp-page .wbp-mobile-sticky-cta a:focus,
body .wbp-location-page .wbp-mobile-sticky-cta a:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Hide footer floating WhatsApp widget on WBP location landing pages */
body:has(.wbp-location-page) #custom_html-10 {
  display: none !important;
}

body .wbp-page a:hover,
body .wbp-location-page a:hover {
  color: var(--wbp-red) !important;
}

/* Keep hero text white even if theme forces heading colours */
body .wbp-page .wbp-location-hero :is(h1, h2, h3, p, a:not(.wbp-btn)),
body .wbp-location-page .wbp-location-hero :is(h1, h2, h3, p, a:not(.wbp-btn)) {
  color: var(--wbp-white) !important;
}

body .wbp-page .wbp-location-hero h1,
body .wbp-location-page .wbp-location-hero h1 {
  color: var(--wbp-white) !important;
  font-size: clamp(36px, 5.5vw, 62px) !important;
  line-height: 1.03 !important;
}

/* Hero panel should return to dark text */
body .wbp-page .wbp-hero-panel :is(h2, h3, p, li),
body .wbp-location-page .wbp-hero-panel :is(h2, h3, p, li) {
  color: var(--wbp-text) !important;
}

/* Container/layout protection */
body .wbp-page .wbp-container,
body .wbp-location-page .wbp-container,
body .wbp-page .wbp-hero__grid,
body .wbp-location-page .wbp-hero__grid {
  width: min(1120px, calc(100% - 32px)) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .wbp-page .wbp-section,
body .wbp-location-page .wbp-section {
  padding: clamp(34px, 5vw, 64px) 0 !important;
}

/* Buttons - override theme buttons */
body .wbp-page .wbp-btn,
body .wbp-location-page .wbp-btn,
body .wbp-page a.wbp-btn,
body .wbp-location-page a.wbp-btn,
body .wbp-page button.wbp-btn,
body .wbp-location-page button.wbp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  border: 2px solid transparent !important;
  box-shadow: none;
  cursor: pointer;
}

body .wbp-page .wbp-btn--primary,
body .wbp-location-page .wbp-btn--primary {
  background: var(--wbp-red) !important;
  color: var(--wbp-white) !important;
}

body .wbp-page .wbp-btn--secondary,
body .wbp-location-page .wbp-btn--secondary {
  background: var(--wbp-green) !important;
  color: #063915 !important;
}

body .wbp-page .wbp-btn--ghost,
body .wbp-location-page .wbp-btn--ghost {
  background: var(--wbp-white) !important;
  color: var(--wbp-navy) !important;
  border-color: var(--wbp-line) !important;
}

/* Grid protection */
body .wbp-page .wbp-card-grid,
body .wbp-location-page .wbp-card-grid,
body .wbp-page .wbp-step-grid,
body .wbp-location-page .wbp-step-grid,
body .wbp-page .wbp-review-snippet-grid,
body .wbp-location-page .wbp-review-snippet-grid,
body .wbp-page .wbp-yard-proof,
body .wbp-location-page .wbp-yard-proof,
body .wbp-page .wbp-map-wrap,
body .wbp-location-page .wbp-map-wrap,
body .wbp-page .wbp-enquiry-box,
body .wbp-location-page .wbp-enquiry-box {
  display: grid !important;
}

/* Cards */
body .wbp-page .wbp-card,
body .wbp-page .wbp-step,
body .wbp-page .wbp-link-box,
body .wbp-page .wbp-review-snippet,
body .wbp-page .wbp-form-shell,
body .wbp-page .wbp-map-card,
body .wbp-page .wbp-yard-proof__content,
body .wbp-location-page .wbp-card,
body .wbp-location-page .wbp-step,
body .wbp-location-page .wbp-link-box,
body .wbp-location-page .wbp-review-snippet,
body .wbp-location-page .wbp-form-shell,
body .wbp-location-page .wbp-map-card,
body .wbp-location-page .wbp-yard-proof__content {
  background: var(--wbp-white) !important;
  border: 1px solid var(--wbp-line) !important;
  border-radius: var(--wbp-radius) !important;
  padding: 22px !important;
}

/* Dark sections */
body .wbp-page .wbp-cta-band,
body .wbp-page .wbp-commercial,
body .wbp-page .wbp-final-cta,
body .wbp-location-page .wbp-cta-band,
body .wbp-location-page .wbp-commercial,
body .wbp-location-page .wbp-final-cta {
  color: var(--wbp-white) !important;
}

body .wbp-page .wbp-cta-band :is(h2, h3, p, li),
body .wbp-page .wbp-commercial :is(h2, h3, p, li),
body .wbp-page .wbp-final-cta :is(h2, h3, p, li),
body .wbp-location-page .wbp-cta-band :is(h2, h3, p, li),
body .wbp-location-page .wbp-commercial :is(h2, h3, p, li),
body .wbp-location-page .wbp-final-cta :is(h2, h3, p, li) {
  color: var(--wbp-white) !important;
}

body .wbp-page .wbp-commercial a,
body .wbp-location-page .wbp-commercial a {
  color: var(--wbp-white) !important;
  text-decoration-color: rgba(255,255,255,.7);
}

/* Lists that should not inherit theme bullets */
body .wbp-page .wbp-trust-strip,
body .wbp-page .wbp-quick-list,
body .wbp-page .wbp-area-list,
body .wbp-page .wbp-review-trust__bullets,
body .wbp-location-page .wbp-trust-strip,
body .wbp-location-page .wbp-quick-list,
body .wbp-location-page .wbp-area-list,
body .wbp-location-page .wbp-review-trust__bullets {
  list-style: none !important;
  padding-left: 0 !important;
}

body .wbp-page .wbp-trust-strip li,
body .wbp-location-page .wbp-trust-strip li,
body .wbp-page .wbp-area-list li,
body .wbp-location-page .wbp-area-list li,
body .wbp-page .wbp-review-trust__bullets li,
body .wbp-location-page .wbp-review-trust__bullets li {
  margin-left: 0 !important;
}

/* Contact Form 7 fixes */
body .wbp-page .wpcf7 label,
body .wbp-location-page .wpcf7 label {
  display: block !important;
  font-weight: 900 !important;
  color: var(--wbp-navy) !important;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
}

body .wbp-page .wpcf7 input[type="text"],
body .wbp-page .wpcf7 input[type="email"],
body .wbp-page .wpcf7 input[type="tel"],
body .wbp-page .wpcf7 input[type="file"],
body .wbp-page .wpcf7 textarea,
body .wbp-page .wpcf7 select,
body .wbp-location-page .wpcf7 input[type="text"],
body .wbp-location-page .wpcf7 input[type="email"],
body .wbp-location-page .wpcf7 input[type="tel"],
body .wbp-location-page .wpcf7 input[type="file"],
body .wbp-location-page .wpcf7 textarea,
body .wbp-location-page .wpcf7 select {
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--wbp-line) !important;
  border-radius: 10px !important;
  margin: 0 0 14px !important;
  font: inherit !important;
  color: var(--wbp-text) !important;
  background: var(--wbp-white) !important;
  box-shadow: none !important;
}

body .wbp-page .wpcf7 textarea,
body .wbp-location-page .wpcf7 textarea {
  min-height: 120px !important;
  resize: vertical;
}

body .wbp-page .wpcf7 input[type="submit"],
body .wbp-location-page .wpcf7 input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  border: 2px solid transparent !important;
  background: var(--wbp-red) !important;
  color: var(--wbp-white) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  cursor: pointer;
}

body .wbp-page .wpcf7 input[type="submit"]:hover,
body .wbp-location-page .wpcf7 input[type="submit"]:hover {
  background: var(--wbp-red-dark) !important;
}

body .wbp-page .wpcf7-not-valid-tip,
body .wbp-location-page .wpcf7-not-valid-tip {
  color: var(--wbp-red) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  margin: -8px 0 10px !important;
}

body .wbp-page .wpcf7-response-output,
body .wbp-location-page .wpcf7-response-output {
  border-radius: 10px !important;
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
}

/* Mobile tightening */
@media (max-width: 680px) {
  body .wbp-page,
  body .wbp-location-page {
    font-size: 15px !important;
    padding-bottom: 72px;
  }

  body .wbp-page h1,
  body .wbp-location-page h1 {
    font-size: clamp(32px, 10vw, 42px) !important;
  }

  body .wbp-page h2,
  body .wbp-location-page h2 {
    font-size: clamp(24px, 8vw, 32px) !important;
  }

  body .wbp-page .wbp-btn,
  body .wbp-location-page .wbp-btn,
  body .wbp-page .wpcf7 input[type="submit"],
  body .wbp-location-page .wpcf7 input[type="submit"] {
    width: 100% !important;
  }
}

/* End of WBP Location Page Scoped Fixes v1.1 */




/* ==========================================================================
   WBP Location Page CSS Patch v1.2
   Purpose: Fix inherited RT Theme specificity issues on location pages.
   Keep this patch at the very bottom of wbp-location-pages.css.
   ========================================================================== */


/* 1) HERO PANEL FIX
   The hero parent forces white text. This restores dark text inside the white panel. */
body .wbp-page .wbp-location-hero .wbp-hero-panel,
body .wbp-location-page .wbp-location-hero .wbp-hero-panel {
  background: rgba(255,255,255,.96) !important;
  color: var(--wbp-text) !important;
}

body .wbp-page .wbp-location-hero .wbp-hero-panel :is(h2, h3, p, li, span, strong),
body .wbp-location-page .wbp-location-hero .wbp-hero-panel :is(h2, h3, p, li, span, strong) {
  color: var(--wbp-text) !important;
}

body .wbp-page .wbp-location-hero .wbp-hero-panel h2,
body .wbp-location-page .wbp-location-hero .wbp-hero-panel h2 {
  color: var(--wbp-navy) !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}


/* 2) COMMERCIAL SECTION CARD FIX
   Keeps cards readable inside the dark commercial section. */
body .wbp-page .wbp-commercial .wbp-card,
body .wbp-location-page .wbp-commercial .wbp-card {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: none !important;
}

body .wbp-page .wbp-commercial .wbp-card :is(h3, p, li, a, strong),
body .wbp-location-page .wbp-commercial .wbp-card :is(h3, p, li, a, strong) {
  color: var(--wbp-white) !important;
}

body .wbp-page .wbp-commercial .wbp-card a,
body .wbp-location-page .wbp-commercial .wbp-card a {
  text-decoration-color: rgba(255,255,255,.7) !important;
}


/* 3) ENQUIRY PANEL FIX
   The left enquiry panel is dark, so all content inside must stay white/readable. */
body .wbp-page .wbp-enquiry-panel,
body .wbp-location-page .wbp-enquiry-panel {
  background: var(--wbp-navy) !important;
  color: var(--wbp-white) !important;
}

body .wbp-page .wbp-enquiry-panel :is(h2, h3, p, li, span, strong),
body .wbp-location-page .wbp-enquiry-panel :is(h2, h3, p, li, span, strong) {
  color: var(--wbp-white) !important;
}

body .wbp-page .wbp-enquiry-panel .wbp-eyebrow,
body .wbp-location-page .wbp-enquiry-panel .wbp-eyebrow {
  color: var(--wbp-white) !important;
  opacity: .95;
}

body .wbp-page .wbp-enquiry-panel .wbp-quick-list li,
body .wbp-location-page .wbp-enquiry-panel .wbp-quick-list li {
  color: var(--wbp-white) !important;
  border-bottom-color: rgba(255,255,255,.25) !important;
}


/* 4) NOTE / TIP BAR FIX
   Keeps the tip as a proper contained note rather than a loose strip. */
body .wbp-page .wbp-note,
body .wbp-location-page .wbp-note {
  display: block !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 14px 16px !important;
  background: #fff7f7 !important;
  border: 1px solid #f7dada !important;
  border-left: 4px solid var(--wbp-red) !important;
  border-radius: 10px !important;
  color: var(--wbp-text) !important;
}

body .wbp-page .wbp-note p,
body .wbp-location-page .wbp-note p {
  margin-bottom: 0 !important;
}


/* 5) CARD TEXT SAFETY */
body .wbp-page .wbp-card-grid .wbp-card,
body .wbp-location-page .wbp-card-grid .wbp-card {
  min-height: 0 !important;
}

body .wbp-page .wbp-card :is(h3, p, ul),
body .wbp-location-page .wbp-card :is(h3, p, ul) {
  position: relative;
  z-index: 2;
}


/* 6) TRUST STRIP OVERLAP SAFETY */
body .wbp-page .wbp-trust-strip,
body .wbp-location-page .wbp-trust-strip {
  position: relative !important;
  z-index: 5 !important;
}


/* 7) CF7 FORM TITLE / FIELD ALIGNMENT */
body .wbp-page .wbp-form-shell h3,
body .wbp-location-page .wbp-form-shell h3 {
  color: var(--wbp-navy) !important;
  font-size: 22px !important;
  margin-bottom: 18px !important;
  text-align: left !important;
}

body .wbp-page .wpcf7-form-control-wrap,
body .wbp-location-page .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}


/* 8) MOBILE REFINEMENT */
@media (max-width: 680px) {
  body .wbp-page .wbp-location-hero .wbp-hero-panel h2,
  body .wbp-location-page .wbp-location-hero .wbp-hero-panel h2 {
    font-size: 24px !important;
  }

  body .wbp-page .wbp-commercial .wbp-card,
  body .wbp-location-page .wbp-commercial .wbp-card {
    min-height: auto !important;
  }
}

/* End of WBP Location Page CSS Patch v1.2 */
