/*
Theme Name:  Blue Light Dental
Theme URI:   https://bluelightdentalclinic.co.uk
Description: Custom child theme for Blue Light Dental & Aesthetics. Option B — Warm Cream. Built on Kadence.
Author:      Blue Light Dental
Template:    kadence
Version:     1.2.0
Tags:        custom, dental, premium
*/

/* ─────────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  --bld-primary:   #013C4E;
  --bld-gold:      #C9A96E;
  --bld-cream:     #F6F2EB;
  --bld-cream-lt:  #FAF8F4;
  --bld-white:     #FFFFFF;
  --bld-mist:      #D5E4E9;
  --bld-text:      #1C1C1C;
  --bld-gray:      #6A6A6A;
  --bld-lgray:     #B5B5B5;

  --bld-display: &#039;Cormorant Garamond&#039;, &#039;Didot&#039;, Georgia, serif;
  --bld-body:    &#039;DM Sans&#039;, -apple-system, BlinkMacSystemFont, &#039;Segoe UI&#039;, sans-serif;

  --bld-max-w:  1440px;
  --bld-pad:    64px;
  --bld-pad-sm: 32px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BASE / RESET
   ───────────────────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--bld-body);
  font-size: 17px;
  background-color: var(--bld-cream-lt);
  color: var(--bld-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--bld-primary); text-decoration: none; }
a:hover { color: var(--bld-gold); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

svg { display: block; }

/* Screen-reader only text (for SEO H1 keywords) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY — GLOBAL
   ───────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bld-display);
  font-weight: 300;
  color: var(--bld-primary);
  line-height: 1.12;
  margin-top: 0;
}

h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 22px; }
h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
h3 { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 14px; }
h4 { font-size: 21px; margin-bottom: 12px; }

p {
  font-family: var(--bld-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--bld-gray);
  margin-bottom: 18px;
}
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 20px; }
li { font-size: 15px; color: var(--bld-gray); line-height: 1.7; margin-bottom: 6px; }

/* ─────────────────────────────────────────────────────────────────────────────
   KADENCE OVERRIDES — hide default Kadence header & footer on ALL pages
   We render our own via bld_render_header() / bld_render_footer()
   ───────────────────────────────────────────────────────────────────────────── */
.site-header,
#masthead,
.kadence-sticky-header,
header.site-header { display: none !important; }

.site-footer,
#colophon,
footer.site-footer { display: none !important; }

/* Hide Kadence inner-page title block (large &quot;ABOUT&quot; watermark text) */
.entry-hero,
.page-hero,
.kadence-inner-column-inner > .wp-block-kadence-column,
.wp-block-kadence-rowlayout.alignfull:first-child,
.page-title-inner { display: none !important; }

/* Remove any margin/padding Kadence adds above/below our content */
.site-content,
#content,
.content-area { padding-top: 0 !important; margin-top: 0 !important; }

/* Ensure wp-admin bar doesn&#039;t break sticky nav offset */
html { scroll-padding-top: 80px; }

/* ─────────────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────────────── */
.bld-btn {
  display: inline-block;
  font-family: var(--bld-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  padding: 13px 30px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1.5px solid transparent;
  text-decoration: none !important;
  white-space: nowrap;
}

.bld-btn--primary {
  background: var(--bld-primary);
  color: var(--bld-white) !important;
  border-color: var(--bld-primary);
}
.bld-btn--primary:hover {
  background: #012e3e;
  border-color: #012e3e;
  color: var(--bld-white) !important;
}

.bld-btn--outline {
  background: transparent;
  color: var(--bld-primary) !important;
  border-color: var(--bld-primary);
}
.bld-btn--outline:hover {
  background: var(--bld-primary);
  color: var(--bld-white) !important;
}

.bld-btn--ghost {
  background: transparent;
  color: var(--bld-primary) !important;
  border-color: rgba(1,60,78,0.4);
}
.bld-btn--ghost:hover {
  border-color: var(--bld-primary);
  color: var(--bld-primary) !important;
}

.bld-btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.85) !important;
  border-color: rgba(255,255,255,0.35);
}
.bld-btn--ghost-light:hover {
  border-color: rgba(255,255,255,0.8);
  color: var(--bld-white) !important;
}

.bld-btn--gold {
  background: transparent;
  color: var(--bld-gold) !important;
  border-color: var(--bld-gold);
}
.bld-btn--gold:hover {
  background: var(--bld-gold);
  color: var(--bld-primary) !important;
}

.bld-btn--sm { padding: 9px 20px; font-size: 12px; }

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT WRAPPERS
   ───────────────────────────────────────────────────────────────────────────── */
.bld-container {
  max-width: var(--bld-max-w);
  margin: 0 auto;
  padding: 0 var(--bld-pad);
}

/* ─────────────────────────────────────────────────────────────────────────────
   EYEBROW LABEL
   ───────────────────────────────────────────────────────────────────────────── */
.bld-eyebrow {
  font-family: var(--bld-body);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--bld-gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}
.bld-eyebrow--light { color: rgba(255,255,255,0.55); }

.bld-gold-rule {
  width: 36px;
  height: 1.5px;
  background: var(--bld-gold);
  margin: 18px 0 24px;
}

.bld-section-header { margin-bottom: 52px; max-width: 600px; }
.bld-section-header--center { text-align: center; margin-left: auto; margin-right: auto; }
.bld-section-header h2 { margin-bottom: 14px; }
.bld-section-header h2 em { font-style: italic; }
.bld-section-header__sub {
  font-size: 16px;
  color: var(--bld-gray);
  line-height: 1.75;
  margin-top: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PROMO BAR (rendered by bld_render_header)
   ───────────────────────────────────────────────────────────────────────────── */
.bld-promo-bar {
  background: var(--bld-primary);
  padding: 9px var(--bld-pad);
  text-align: center;
}
.bld-promo-bar p {
  font-family: var(--bld-body);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
}
.bld-promo-bar a {
  color: var(--bld-gold);
  text-decoration: underline;
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CUSTOM NAV
   ───────────────────────────────────────────────────────────────────────────── */
.bld-nav {
  background: var(--bld-white);
  border-bottom: 2px solid var(--bld-gold);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 20px rgba(1,60,78,0.06);
}

/* When WP admin bar is visible */
.admin-bar .bld-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .bld-nav { top: 46px; }
}

.bld-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--bld-max-w);
  margin: 0 auto;
  padding: 0 var(--bld-pad);
}

/* ── LEFT: Logo + Menu button ── */
.bld-nav__brand {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

/* Logo — wrapper div */
.bld-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.bld-nav__logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  line-height: 0;
}
.bld-nav__logo .custom-logo {
  height: auto;
  max-height: 60px;
  width: auto;
  display: block;
}
.bld-nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* ── Menu button: hamburger + &quot;Menu&quot; text ── */
.bld-nav__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1.5px solid rgba(1,60,78,0.22);
  border-radius: 6px;
  padding: 10px 18px;
  color: var(--bld-primary);
  font-family: var(--bld-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bld-nav__menu-btn:hover {
  background: rgba(1,60,78,0.05);
  border-color: var(--bld-gold);
  color: var(--bld-gold);
}
.bld-nav__menu-btn:focus-visible {
  outline: 2px solid var(--bld-primary);
  outline-offset: 2px;
}
.bld-nav__menu-btn svg { flex-shrink: 0; }

/* ── RIGHT: Phone, WhatsApp, Book Online ── */
.bld-nav__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.bld-nav__phone {
  font-family: var(--bld-body);
  font-size: 16px;
  color: var(--bld-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.bld-nav__phone svg { flex-shrink: 0; width: 16px; height: 16px; }
.bld-nav__phone:hover { color: var(--bld-gold); }
.bld-nav__phone:hover svg { color: var(--bld-gold); }

/* WhatsApp icon link in nav */
.bld-nav__whatsapp {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #25D366;
  text-decoration: none;
  transition: opacity 0.18s;
}
.bld-nav__whatsapp svg { width: 30px; height: 30px; }
.bld-nav__whatsapp:hover { opacity: 0.75; }

/* Book Online button in nav — slightly bigger */
.bld-nav__book-btn.bld-btn {
  font-size: 16px;
  padding: 14px 32px;
}

/* ── Overlay ── */
.bld-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1,20,28,0.55);
  z-index: 920;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.bld-drawer-overlay.is-active { display: block; }

/* ── Side drawer — opens from LEFT ── */
.bld-utility-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  background: #011E28;
  z-index: 930;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 40px rgba(0,0,0,0.28);
  overflow-y: auto;
}
.bld-utility-drawer.is-open { transform: translateX(0); }

.bld-utility-drawer__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.bld-utility-drawer__label {
  font-family: var(--bld-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}
.bld-utility-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.45);
  padding: 6px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}
.bld-utility-drawer__close:hover {
  color: var(--bld-gold);
  background: rgba(255,255,255,0.06);
}

.bld-utility-drawer__nav { flex: 1; padding: 8px 0; }
.bld-utility-drawer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bld-utility-drawer__nav ul li a {
  display: block;
  padding: 12px 28px;
  font-family: var(--bld-display);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none !important;
  transition: color 0.15s, padding-left 0.15s;
  letter-spacing: 0.3px;
}
.bld-utility-drawer__nav ul li:last-child a { border-bottom: none; }
.bld-utility-drawer__nav ul li a:hover {
  color: var(--bld-gold);
  padding-left: 34px;
}

/* Footer section removed */
.bld-utility-drawer__footer { display: none; }

/* ── Drawer accordion: expandable treatment sub-menus ── */
.bld-drawer-has-sub { list-style: none; }

.bld-drawer-parent-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 28px;
  font-family: var(--bld-display);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.bld-drawer-parent-btn:hover { color: var(--bld-gold); }

.bld-drawer-chevron {
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
  transition: transform 0.22s ease, color 0.15s;
}
.bld-drawer-has-sub.is-expanded .bld-drawer-chevron {
  transform: rotate(90deg);
  color: var(--bld-gold);
}
.bld-drawer-has-sub.is-expanded .bld-drawer-parent-btn {
  color: var(--bld-gold);
}

/* Sub-menu: collapsed by default, height animated via JS */
.bld-drawer-sub {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(0,0,0,0.2);
}
.bld-drawer-sub li a {
  display: block;
  padding: 9px 28px 9px 40px;
  font-family: var(--bld-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  letter-spacing: 0.2px;
  transition: color 0.15s, padding-left 0.15s;
}
.bld-drawer-sub li:last-child a { border-bottom: none; }
.bld-drawer-sub li a:hover {
  color: var(--bld-gold);
  padding-left: 48px;
}

/* ── Drawer section labels & dividers ── */
.bld-utility-drawer__group-label {
  display: block;
  padding: 16px 28px 4px;
  font-family: var(--bld-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  font-weight: 500;
  list-style: none;
}
.bld-utility-drawer__divider {
  margin: 8px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  list-style: none;
}

/* ─────────────── obsolete mobile menu (kept for safety) ─────────────── */
.bld-mobile-menu {
  display: none;
}
.bld-mobile-menu a {
  display: block;
  padding: 11px 0;
  font-family: var(--bld-body);
  font-size: 15px;
  color: var(--bld-primary);
  border-bottom: 1px solid rgba(1,60,78,0.08);
  text-decoration: none;
}
.bld-mobile-menu a:last-child { border-bottom: none; }

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
/* ── HERO — Full-bleed background image with semi-transparent teal overlay ── */
.bld-hero,
section.wp-block-group.bld-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: url(&#039;/wp-content/uploads/B7-1-2048x1365.jpg&#039;) center 15% / cover no-repeat;
}

/* Semi-transparent teal overlay via ::before (no extra HTML needed) */
.bld-hero::before,
section.wp-block-group.bld-hero::before {
  content: &#039;&#039;;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 60, 78, 0.55) 0%,
    rgba(1, 40, 55, 0.75) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Keep rules for HTML bg/overlay divs in case setup reruns later */
.bld-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bld-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.bld-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 60, 78, 0.55) 0%,
    rgba(1, 40, 55, 0.75) 100%
  );
  z-index: 1;
}

/* Content on top */
.bld-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  padding: 80px var(--bld-pad) 100px;
  gap: 0;
}

/* Copy column */
.bld-hero__copy { width: 100%; text-align: center; }

.bld-hero__headline,
.bld-hero .wp-block-heading,
.bld-hero__copy .wp-block-heading,
.bld-hero__copy h1 {
  font-family: var(--bld-display);
  font-size: clamp(46px, 6vw, 72px) !important;
  font-weight: 300;
  color: #FFFFFF !important;
  line-height: 1.05;
  margin-bottom: 24px;
}
.bld-hero__headline em,
.bld-hero__copy h1 em,
.bld-hero .wp-block-heading em { font-style: italic; color: #FFFFFF !important; }

.bld-hero .bld-eyebrow {
  color: var(--bld-gold);
}

.bld-hero__copy > .wp-block-group > p,
.bld-hero__copy p:not(.bld-eyebrow) {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* Hero actions — hidden for now, kept for future use */
.bld-hero__actions { display: none; }

/* Star rating trust row */
.bld-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 8px;
}
.bld-hero__stars { display: flex; gap: 3px; }
.bld-hero__stars svg { fill: var(--bld-gold); }
.bld-hero__trust-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
}

/* Hide old two-column elements */
.bld-hero__visual { display: none; }
.bld-hero__badge { display: none; }
.bld-hero__arch { display: none; }
.bld-hero__arch-fallback { display: none; }
.bld-hero__circle { display: none; }

/* ─────────────────────────────────────────────────────────────────────────────
   CREDENTIALS STRIP
   ───────────────────────────────────────────────────────────────────────────── */
.bld-credentials {
  background: var(--bld-white);
  border-top: 1px solid rgba(1,60,78,0.08);
  border-bottom: 1px solid rgba(1,60,78,0.08);
  padding: 28px 0;
}
.bld-credentials__grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.bld-credential {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}
.bld-credential__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.bld-credential div strong {
  display: block;
  font-family: var(--bld-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--bld-primary);
  margin-bottom: 3px;
}
.bld-credential div span {
  font-family: var(--bld-body);
  font-size: 12px;
  color: var(--bld-gray);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TREATMENTS SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.bld-treatments {
  background: var(--bld-cream-lt);
  padding: 88px 0 72px;
}
.bld-treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bld-treatments__footer {
  text-align: center;
  margin-top: 44px;
}

/* Treatment card */
.bld-treatment-card {
  background: var(--bld-white);
  padding: 32px 26px;
  border-top: 3px solid var(--bld-mist);
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.bld-treatment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(1,60,78,0.1);
  border-top-color: var(--bld-gold);
}
.bld-treatment-card--accent {
  background: var(--bld-primary);
  border-top-color: var(--bld-gold);
  color: var(--bld-white);
}
.bld-treatment-card--accent h3,
.bld-treatment-card--accent p,
.bld-treatment-card--accent li { color: rgba(255,255,255,0.85); }
.bld-treatment-card--accent h3 { color: var(--bld-white); }
.bld-treatment-card--accent .bld-treatment-card__link { color: var(--bld-gold); }

.bld-treatment-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.bld-treatment-card__icon svg {
  width: 48px;
  height: 48px;
}

.bld-treatment-card__title {
  font-family: var(--bld-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--bld-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.bld-treatment-card__desc {
  font-family: var(--bld-body);
  font-size: 14px;
  color: var(--bld-gray);
  line-height: 1.75;
  margin-bottom: 14px;
  flex: 1;
}

.bld-treatment-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-top: 1px solid rgba(1,60,78,0.08);
  padding-top: 14px;
}
.bld-treatment-card--accent .bld-treatment-card__list { border-top-color: rgba(255,255,255,0.12); }
.bld-treatment-card__list li {
  font-size: 13px;
  color: var(--bld-gray);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.bld-treatment-card__list li::before {
  content: &#039;&#039;;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bld-gold);
  flex-shrink: 0;
}
.bld-treatment-card--accent .bld-treatment-card__list li { color: rgba(255,255,255,0.75); }

.bld-treatment-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--bld-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bld-primary);
  text-decoration: none;
  letter-spacing: 0.3px;
  margin-top: auto;
}
.bld-treatment-card__link:hover { color: var(--bld-gold); }

/* ─────────────────────────────────────────────────────────────────────────────
   ETHOS / BRAND BAND
   ───────────────────────────────────────────────────────────────────────────── */
.bld-ethos {
  background: var(--bld-primary);
  padding: 80px 0;
}
.bld-ethos__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.bld-ethos__copy { flex: 1; }
.bld-ethos h2 { color: var(--bld-white); font-weight: 300; }
.bld-ethos h2 em { font-style: italic; }
.bld-ethos p { color: rgba(255,255,255,0.72); font-size: 16px; }
.bld-ethos .bld-gold-rule { margin: 0 0 26px; }

.bld-ethos__pillars {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}
.bld-pillar {
  border-left: 2px solid rgba(201,169,110,0.35);
  padding-left: 20px;
}
.bld-pillar__num {
  display: block;
  font-family: var(--bld-display);
  font-size: 13px;
  color: var(--bld-gold);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.bld-pillar h3 {
  font-family: var(--bld-display);
  font-size: 20px;
  color: var(--bld-white);
  font-weight: 400;
  margin-bottom: 8px;
}
.bld-pillar p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────────────────────────────────────── */
.bld-testimonial {
  background: var(--bld-cream);
  padding: 80px 0;
}
.bld-testimonial .bld-section-header { text-align: center; margin: 0 auto 52px; }
.bld-testimonial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bld-testimonial__cta { text-align: center; margin-top: 48px; }

.bld-review {
  background: var(--bld-white);
  padding: 28px 26px;
  border-radius: 2px;
  margin: 0;
}
.bld-review blockquote { margin: 0 0 20px; padding: 0; }
.bld-review blockquote p {
  font-family: var(--bld-display);
  font-size: 17px;
  font-style: italic;
  color: var(--bld-primary);
  line-height: 1.55;
  margin: 0;
}
.bld-review figcaption { display: flex; flex-direction: column; gap: 6px; }
.bld-review__stars { display: flex; gap: 2px; }
.bld-review cite {
  font-family: var(--bld-body);
  font-size: 12px;
  font-style: normal;
  color: var(--bld-lgray);
  letter-spacing: 0.5px;
}
.bld-review cite span { color: var(--bld-gray); }

/* ─────────────────────────────────────────────────────────────────────────────
   CTA BANNER
   ───────────────────────────────────────────────────────────────────────────── */
.bld-cta-banner {
  background: var(--bld-primary);
  padding: 64px 0;
}
.bld-cta-banner__inner {
  display: flex;
  gap: 80px;
  align-items: center;
}
.bld-cta-banner__copy { flex: 1; }
.bld-cta-banner h2 { color: var(--bld-white); font-weight: 300; }
.bld-cta-banner h2 em { font-style: italic; }
.bld-cta-banner p { color: rgba(255,255,255,0.7); font-size: 16px; }
.bld-cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  flex-shrink: 0;
}
.bld-cta-banner__hours {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  margin: 0 !important;
  letter-spacing: 0.3px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.bld-footer {
  background: #011E28;
  padding: 64px 0 0;
}
.bld-footer__inner {
  max-width: var(--bld-max-w);
  margin: 0 auto;
  padding: 0 var(--bld-pad);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.bld-footer__logo-link {
  display: inline-block;
  margin-bottom: 16px;
}
.bld-footer__logo-img {
  height: 52px;
  width: auto;
  display: block;
  /* Invert the dark logo for the dark footer background */
  filter: brightness(0) invert(1) opacity(0.85);
}
.bld-footer__tagline {
  font-family: var(--bld-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  color: var(--bld-gold);
  margin-bottom: 18px !important;
}
.bld-footer__address {
  font-size: 15px !important;
  color: rgba(255,255,255,0.5) !important;
  line-height: 1.85 !important;
  margin-bottom: 20px !important;
}
.bld-footer__address a { color: rgba(255,255,255,0.6); }
.bld-footer__address a:hover { color: var(--bld-gold); }

.bld-footer__social { display: flex; gap: 14px; }
.bld-footer__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: background 0.2s, color 0.2s;
}
.bld-footer__social a:hover { background: var(--bld-gold); color: var(--bld-primary); }

.bld-footer__col-heading {
  font-family: var(--bld-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  margin-bottom: 18px !important;
}
.bld-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bld-footer__links li { margin-bottom: 9px; }
.bld-footer__links a {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.bld-footer__links a:hover { color: var(--bld-gold); }

.bld-footer__hours {
  font-size: 15px !important;
  color: rgba(255,255,255,0.55) !important;
  line-height: 2 !important;
  margin-bottom: 0 !important;
}

.bld-footer__bottom {
  max-width: var(--bld-max-w);
  margin: 40px auto 0;
  padding: 18px var(--bld-pad);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.bld-footer__copy {
  font-size: 12px !important;
  color: rgba(255,255,255,0.3) !important;
  margin: 0 !important;
}
.bld-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.bld-footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}
.bld-footer__legal a:hover { color: var(--bld-gold); }

/* ─────────────────────────────────────────────────────────────────────────────
   INNER PAGE — PAGE BANNER
   ───────────────────────────────────────────────────────────────────────────── */
.bld-page-banner {
  background: var(--bld-primary);
  padding: 52px 0;
}
.bld-page-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.bld-page-banner__copy h1 {
  color: var(--bld-white);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 0;
}
.bld-page-banner__sub {
  font-size: 15px !important;
  color: rgba(255,255,255,0.6) !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}
.bld-page-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Breadcrumb */
.bld-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.bld-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.bld-breadcrumb a:hover { color: var(--bld-gold); }
.bld-breadcrumb span[aria-current] { color: rgba(255,255,255,0.35); }

/* ─────────────────────────────────────────────────────────────────────────────
   INNER PAGE — CONTENT AREA
   ───────────────────────────────────────────────────────────────────────────── */
.bld-inner-page {
  background: var(--bld-cream-lt);
  padding: 64px 0 80px;
}
.bld-inner-page__wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--bld-pad);
}

/* Content typography */
.bld-page-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 40px;
  margin-bottom: 14px;
}
.bld-page-content h3 { margin-top: 28px; }
.bld-page-content p { font-size: 16px; }
.bld-page-content ul, .bld-page-content ol { margin-bottom: 18px; }
.bld-page-content li { font-size: 15px; margin-bottom: 8px; }

/* ─────────────────────────────────────────────────────────────────────────────
   INLINE CTA (end of inner pages)
   ───────────────────────────────────────────────────────────────────────────── */
.bld-inline-cta {
  background: var(--bld-cream);
  border-top: 1px solid rgba(1,60,78,0.1);
  padding: 48px 0;
}
.bld-inline-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.bld-inline-cta h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 6px;
}
.bld-inline-cta p { font-size: 15px; }

/* ─────────────────────────────────────────────────────────────────────────────
   FEES PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.bld-fees-intro {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.bld-fees-intro p { font-size: 16px; }

.bld-fees-section { margin-bottom: 44px; }
.bld-fees-section__title {
  font-family: var(--bld-display);
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--bld-primary);
  font-weight: 300;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--bld-gold);
  display: inline-block;
}

.bld-fees-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}
.bld-fees-table thead th {
  font-family: var(--bld-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bld-lgray);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(1,60,78,0.12);
  text-align: left;
}
.bld-fees-table thead th:last-child { text-align: right; }
.bld-fees-table tbody tr {
  border-bottom: 1px solid rgba(1,60,78,0.06);
  transition: background 0.15s;
}
.bld-fees-table tbody tr:hover { background: rgba(1,60,78,0.03); }
.bld-fees-table tbody td {
  font-size: 14px;
  color: var(--bld-text);
  padding: 12px 12px;
  line-height: 1.5;
}
.bld-fees-table tbody td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--bld-primary);
  white-space: nowrap;
}

.bld-fees-note {
  font-size: 13px !important;
  color: var(--bld-gray) !important;
  background: rgba(201,169,110,0.08);
  border-left: 3px solid var(--bld-gold);
  padding: 10px 16px;
  border-radius: 0 2px 2px 0;
  margin-top: 12px !important;
}

.bld-fees-disclaimer {
  margin-top: 48px;
  padding: 24px;
  background: rgba(1,60,78,0.04);
  border-radius: 4px;
}
.bld-fees-disclaimer p { font-size: 13px !important; }

/* ─────────────────────────────────────────────────────────────────────────────
   TEAM PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.bld-team-intro {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.bld-team-intro p { font-size: 16px; }

.bld-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.bld-team-card {
  display: flex;
  gap: 28px;
  background: var(--bld-white);
  padding: 28px;
  border-radius: 2px;
  border-top: 3px solid var(--bld-mist);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bld-team-card:hover {
  border-top-color: var(--bld-gold);
  box-shadow: 0 6px 24px rgba(1,60,78,0.09);
}

.bld-team-card__photo {
  width: 100px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  background: var(--bld-primary);
  position: relative;
}
.bld-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.bld-team-card__photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bld-display);
  font-size: 28px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}
.bld-team-card__photo--placeholder .bld-team-card__photo-fallback { display: flex; }

.bld-team-card__info { flex: 1; min-width: 0; }
.bld-team-card__name {
  font-family: var(--bld-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--bld-primary);
  margin-bottom: 4px;
}
.bld-team-card__role {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--bld-gold) !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px !important;
}
.bld-team-card__spec {
  font-size: 12px !important;
  color: var(--bld-lgray) !important;
  margin-bottom: 6px !important;
}
.bld-team-card__gdc {
  font-size: 11px !important;
  color: var(--bld-gold) !important;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
}
.bld-team-card__bio {
  font-size: 13px !important;
  color: var(--bld-gray) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.bld-contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

.bld-contact-info { display: flex; flex-direction: column; gap: 0; }

.bld-contact-block {
  padding: 24px 0;
  border-bottom: 1px solid rgba(1,60,78,0.1);
}
.bld-contact-block:last-child { border-bottom: none; }
.bld-contact-block__heading {
  font-family: var(--bld-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bld-lgray);
  margin-bottom: 10px;
}
.bld-contact-address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bld-gray);
  margin-bottom: 10px;
}
.bld-contact-map-link {
  font-size: 13px;
  color: var(--bld-primary);
  font-weight: 500;
}
.bld-contact-link {
  font-size: 15px;
  color: var(--bld-primary);
  display: block;
  margin-bottom: 4px;
}
.bld-contact-link:hover { color: var(--bld-gold); }

.bld-hours-table { width: 100%; border-collapse: collapse; }
.bld-hours-table th {
  text-align: left;
  font-size: 13px;
  color: var(--bld-text);
  font-weight: 500;
  padding: 5px 0;
  width: 100px;
}
.bld-hours-table td {
  font-size: 13px;
  color: var(--bld-gray);
  padding: 5px 0;
}

.bld-contact-social { display: flex; gap: 14px; flex-wrap: wrap; }
.bld-contact-social a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--bld-primary);
}
.bld-contact-social a:hover { color: var(--bld-gold); }

/* Contact form wrapper */
.bld-contact-form-wrap__title {
  font-family: var(--bld-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--bld-primary);
  margin-bottom: 8px;
}
.bld-contact-form-wrap__sub { font-size: 15px; margin-bottom: 28px !important; }

/* Form fields */
.bld-contact-form { display: flex; flex-direction: column; gap: 18px; }
.bld-form-row { display: flex; gap: 18px; }
.bld-form-row--half > * { flex: 1; }
.bld-form-group { display: flex; flex-direction: column; gap: 6px; }

.bld-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--bld-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bld-form-group input,
.bld-form-group select,
.bld-form-group textarea {
  font-family: var(--bld-body);
  font-size: 15px;
  color: var(--bld-text);
  background: var(--bld-white);
  border: 1.5px solid rgba(1,60,78,0.18);
  border-radius: 2px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.bld-form-group input:focus,
.bld-form-group select:focus,
.bld-form-group textarea:focus {
  border-color: var(--bld-primary);
}
.bld-form-group textarea { resize: vertical; min-height: 120px; }

.bld-form-group--consent { margin-top: 4px; }
.bld-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.bld-checkbox input { margin-top: 3px; flex-shrink: 0; accent-color: var(--bld-primary); }
.bld-checkbox span { font-size: 13px; color: var(--bld-gray); line-height: 1.5; }
.bld-checkbox a { color: var(--bld-primary); }

/* Google map embed */
.bld-map-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(1,60,78,0.12);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 900px)
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --bld-pad: 32px; }

  /* Nav — on mobile: hide phone, WA, Book Online; keep logo + Menu button */
  .bld-nav__phone,
  .bld-nav__whatsapp,
  .bld-nav__book-btn { display: none; }

  /* Hero */
  .bld-hero { min-height: 100vh; }
  .bld-hero__inner { padding: 100px var(--bld-pad-sm) 80px; }
  .bld-hero__headline { font-size: clamp(36px, 8vw, 52px); }
  .bld-hero__arch { width: 100%; height: 300px; border-radius: 12px; box-shadow: 0 6px 28px rgba(1,60,78,0.13); }
  .bld-hero__actions { justify-content: center; }
  .bld-hero__trust { justify-content: center; }
  .bld-hero__sub { max-width: 100%; }
  .bld-hero__badge { left: auto; right: 10px; }
  .bld-hero__circle--lg { width: 200px; height: 200px; top: -40px; right: -20px; }
  .bld-hero__circle--sm { display: none; }

  /* Credentials */
  .bld-credentials__grid { gap: 22px; }
  .bld-credential { min-width: 160px; }

  /* Treatments */
  .bld-treatments__grid { grid-template-columns: repeat(2, 1fr); }

  /* Ethos */
  .bld-ethos__inner { flex-direction: column; gap: 40px; }

  /* Testimonials */
  .bld-testimonial__grid { grid-template-columns: 1fr; }

  /* CTA Banner */
  .bld-cta-banner__inner { flex-direction: column; gap: 32px; }
  .bld-cta-banner__actions { align-items: center; width: 100%; }

  /* Inner page */
  .bld-page-banner__inner { flex-direction: column; }
  .bld-page-banner__inner h1 { font-size: 30px; }
  .bld-inner-page__wrap { padding: 0 var(--bld-pad-sm); }

  /* Team */
  .bld-team-grid { grid-template-columns: 1fr; }

  /* Contact */
  .bld-contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .bld-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bld-footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Inline CTA */
  .bld-inline-cta__inner { flex-direction: column; text-align: center; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 600px)
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --bld-pad: 20px; --bld-pad-sm: 16px; }

  .bld-treatments__grid { grid-template-columns: 1fr; }
  .bld-team-card { flex-direction: column; }
  .bld-team-card__photo { width: 100%; height: 200px; border-radius: 70px 70px 0 0; }
  .bld-footer__inner { grid-template-columns: 1fr; }
  .bld-form-row { flex-direction: column; }
  .bld-contact-grid { gap: 32px; }
  .bld-fees-table { font-size: 13px; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   INNER PAGE — PAGE TITLE (replaces teal bld-page-banner)
   Clean cream/white strip with breadcrumb + H1. Nav is white, page is cream.
   ───────────────────────────────────────────────────────────────────────────── */
.bld-page-title {
  background: var(--bld-cream);
  border-bottom: 1px solid rgba(1,60,78,0.08);
  padding: 36px 0 32px;
}
.bld-page-title--plain {
  background: none;
  border-bottom: none;
  padding: 32px 0 8px;
}
.bld-page-title h1 {
  font-size: clamp(22px, 3.2vw, 35px);
  margin-bottom: 0;
}
.bld-page-title--blog h1 { font-size: clamp(24px, 3.5vw, 38px); }
.bld-page-title__sub {
  font-size: 16px !important;
  color: var(--bld-gray) !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

/* Breadcrumb — light variant (on cream background) */
.bld-page-title .bld-breadcrumb {
  color: var(--bld-lgray);
  margin-bottom: 10px;
}
.bld-page-title .bld-breadcrumb a { color: var(--bld-gray); }
.bld-page-title .bld-breadcrumb a:hover { color: var(--bld-primary); }
.bld-page-title .bld-breadcrumb span[aria-current] { color: var(--bld-lgray); }

/* Post meta line under blog post title */
.bld-post-meta {
  font-size: 13px !important;
  color: var(--bld-gray) !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}


/* ─────────────────────────────────────────────────────────────────────────────
   TREATMENTS — Hero card (full-width teal) + 3-card row
   ───────────────────────────────────────────────────────────────────────────── */

/* Full-width teal Cosmetic Dentistry hero card */
.bld-treatment-card--hero {
  background: var(--bld-primary);
  border-top: none;
  border-radius: 2px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 44px 48px;
  align-items: center;
  transition: box-shadow 0.2s;
}
.bld-treatment-card--hero:hover {
  transform: none;
  box-shadow: 0 8px 32px rgba(1,60,78,0.18);
  border-top-color: transparent;
}

/* Left col: copy + CTA */
.bld-treatment-card--hero__label {
  font-family: var(--bld-body);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--bld-gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.bld-treatment-card--hero__title {
  font-family: var(--bld-display) !important;
  color: var(--bld-white) !important;
  font-size: clamp(26px, 3.5vw, 40px) !important;
  font-weight: 300 !important;
  margin-bottom: 16px !important;
  line-height: 1.1 !important;
}
.bld-treatment-card--hero__desc {
  color: rgba(255,255,255,0.72) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  margin-bottom: 28px !important;
}

/* Right col: treatment link list */
.bld-treatment-card--hero__right { border-left: 1px solid rgba(255,255,255,0.12); padding-left: 48px; }
.bld-treatment-card--hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bld-treatment-card--hero__list li { margin: 0; }
.bld-treatment-card--hero__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  text-decoration: none !important;
  transition: background 0.18s;
  gap: 12px;
}
.bld-treatment-card--hero__list a:hover { background: rgba(201,169,110,0.15); }
.bld-treatment-card--hero__item-name {
  font-family: var(--bld-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.92) !important;
}
.bld-treatment-card--hero__list a:hover .bld-treatment-card--hero__item-name { color: var(--bld-gold) !important; }
.bld-treatment-card--hero__item-desc {
  font-size: 12px !important;
  color: rgba(255,255,255,0.42) !important;
  text-align: right;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .bld-treatment-card--hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .bld-treatment-card--hero__right { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
}
@media (max-width: 600px) {
  .bld-treatment-card--hero { padding: 24px 20px; }
}

/* 3-column row of white cards beneath the hero card */
.bld-treatments__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .bld-treatment-card--hero { padding: 32px 28px; }
  .bld-treatments__row { grid-template-columns: repeat(2, 1fr); }
  .bld-nav__inner { height: 72px; }
}
@media (max-width: 600px) {
  .bld-treatment-card--hero { padding: 24px 20px; }
  .bld-treatments__row { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BLOG — Archive & Single
   ───────────────────────────────────────────────────────────────────────────── */

/* Blog archive grid */
.bld-blog-archive { padding: 60px 0 80px; }

.bld-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.bld-blog-card {
  background: var(--bld-white);
  border-radius: 2px;
  border-top: 3px solid var(--bld-mist);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.bld-blog-card:hover {
  border-top-color: var(--bld-gold);
  box-shadow: 0 8px 28px rgba(1,60,78,0.09);
}
.bld-blog-card__img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.bld-blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.bld-blog-card:hover .bld-blog-card__img-wrap img { transform: scale(1.03); }

.bld-blog-card__body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.bld-blog-card__meta {
  font-size: 11px !important;
  color: var(--bld-lgray) !important;
  letter-spacing: 0.5px;
  margin-bottom: 8px !important;
}
.bld-blog-card__title {
  font-family: var(--bld-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--bld-primary);
  line-height: 1.25;
  margin-bottom: 10px;
}
.bld-blog-card__title a { color: inherit; text-decoration: none; }
.bld-blog-card__title a:hover { color: var(--bld-gold); }
.bld-blog-card__excerpt {
  font-size: 14px !important;
  color: var(--bld-gray) !important;
  line-height: 1.7 !important;
  margin-bottom: 16px !important;
  flex: 1;
}
.bld-blog-card__read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--bld-primary);
  text-decoration: none;
  margin-top: auto;
}
.bld-blog-card__read-more:hover { color: var(--bld-gold); }

/* Pagination */
.bld-pagination { text-align: center; }
.bld-pagination ul { list-style: none; display: inline-flex; gap: 6px; padding: 0; margin: 0; }
.bld-pagination ul li a,
.bld-pagination ul li span {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid rgba(1,60,78,0.15);
  border-radius: 2px;
  color: var(--bld-primary);
  text-decoration: none;
}
.bld-pagination ul li span.current { background: var(--bld-primary); color: var(--bld-white); border-color: var(--bld-primary); }
.bld-pagination ul li a:hover { border-color: var(--bld-gold); color: var(--bld-gold); }
.bld-no-posts { font-size: 16px; color: var(--bld-gray); text-align: center; padding: 48px 0; }

/* Single post */
.bld-inner-page--single { padding: 56px 0 80px; }
.bld-post-layout { max-width: 780px; margin: 0 auto; }

.bld-post-featured-img {
  margin-bottom: 36px;
  border-radius: 2px;
  overflow: hidden;
}
.bld-post-featured-img img { width: 100%; height: auto; }

.bld-post-body h2 { font-size: clamp(22px, 2.8vw, 32px); margin-top: 36px; }
.bld-post-body h3 { margin-top: 26px; }
.bld-post-body p { font-size: 16px; }
.bld-post-body ul, .bld-post-body ol { margin-bottom: 18px; }
.bld-post-body li { font-size: 15px; margin-bottom: 6px; }
.bld-post-body blockquote {
  border-left: 3px solid var(--bld-gold);
  padding: 14px 22px;
  margin: 28px 0;
  background: rgba(201,169,110,0.06);
  font-style: italic;
  font-size: 18px;
}

/* Author box */
.bld-post-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bld-cream);
  border-radius: 4px;
  padding: 24px;
  margin-top: 48px;
  border-left: 3px solid var(--bld-gold);
}
.bld-post-author__avatar {
  border-radius: 50%;
  flex-shrink: 0;
  width: 72px !important;
  height: 72px !important;
}
.bld-post-author__name {
  font-family: var(--bld-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--bld-primary);
  margin-bottom: 4px !important;
}
.bld-post-author__bio {
  font-size: 14px !important;
  color: var(--bld-gray) !important;
  margin: 0 !important;
  line-height: 1.65 !important;
}

/* Post navigation */
.bld-post-nav {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(1,60,78,0.1);
  flex-wrap: wrap;
}
.bld-post-nav__link {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none !important;
}
.bld-post-nav__link--next { text-align: right; }
.bld-post-nav__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bld-lgray);
}
.bld-post-nav__title {
  font-family: var(--bld-display);
  font-size: 17px;
  color: var(--bld-primary);
  line-height: 1.3;
}
.bld-post-nav__link:hover .bld-post-nav__title { color: var(--bld-gold); }

@media (max-width: 900px) {
  .bld-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bld-blog-grid { grid-template-columns: 1fr; }
  .bld-post-author { flex-direction: column; }
  .bld-post-nav__link--next { text-align: left; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   GUTENBERG VISUAL-EDITING COMPATIBILITY (added by setup9)
   These rules ensure core/group blocks with BLD class names render correctly
   on the front end. The .wp-block-group class is always added by Gutenberg to
   group blocks — the selectors below override any conflicting Gutenberg defaults.
   ───────────────────────────────────────────────────────────────────────────── */

/* Top-level section wrappers — ensure block-level display */
section.wp-block-group.bld-credentials,
section.wp-block-group.bld-treatments,
section.wp-block-group.bld-ethos,
section.wp-block-group.bld-testimonial,
section.wp-block-group.bld-cta-banner {
  display: block;
}
/* Hero uses flex (set above with higher specificity) */

/* Hero — full-bleed background layout (WP block overrides) */
.bld-hero__inner.wp-block-group {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  padding: 120px var(--bld-pad) 100px;
  margin: 0 auto;
}

.bld-hero__copy.wp-block-group {
  width: 100%;
  text-align: center;
}

/* Hide old two-column elements (WP block versions) */
.bld-hero__visual.wp-block-group { display: none !important; }
.bld-hero__arch.wp-block-group { display: none !important; }

/* Credentials grid — horizontal flex row */
.bld-container.bld-credentials__grid.wp-block-group {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Ethos — two-column inner */
.bld-container.bld-ethos__inner.wp-block-group {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.bld-ethos__copy.wp-block-group { flex: 1; }
.bld-ethos__pillars.wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

/* CTA banner — horizontal inner */
.bld-container.bld-cta-banner__inner.wp-block-group {
  display: flex;
  gap: 80px;
  align-items: center;
}
.bld-cta-banner__copy.wp-block-group { flex: 1; }

/* Section-header group — retain max-width constraint */
.bld-section-header.wp-block-group { max-width: 600px; margin-bottom: 52px; }
.bld-section-header--center.wp-block-group { text-align: center; margin-left: auto; margin-right: auto; }

/* Heading block inside hero — preserve headline styles */
.bld-hero__copy .wp-block-heading.bld-hero__headline {
  font-family: var(--bld-display);
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 300;
  color: var(--bld-primary);
  line-height: 1.05;
  margin-bottom: 24px;
}

/* Paragraph block used as eyebrow — override global p spacing */
p.bld-eyebrow { margin-bottom: 0; }

/* Suppress Gutenberg&#039;s own max-width constraint on group blocks */
.wp-block-group.bld-hero,
.wp-block-group.bld-credentials,
.wp-block-group.bld-treatments,
.wp-block-group.bld-ethos,
.wp-block-group.bld-testimonial,
.wp-block-group.bld-cta-banner {
  max-width: none;
}

/* Responsive: stack hero columns on tablet */
@media (max-width: 900px) {
  .bld-hero__inner.wp-block-group { padding: 100px var(--bld-pad-sm) 80px; }
  .bld-hero__headline { font-size: clamp(36px, 8vw, 52px); }
  .bld-container.bld-ethos__inner.wp-block-group { flex-direction: column; gap: 48px; }
  .bld-container.bld-cta-banner__inner.wp-block-group { flex-direction: column; gap: 40px; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SETUP 10 — Descendant CSS for native Gutenberg blocks inside BLD sections
   (HTML-split approach: section divs are in core/html blocks, native blocks
    live between them. CSS descendant selectors style them correctly.)
   ───────────────────────────────────────────────────────────────────────────── */

/* Hero h1 — matches core/heading inside .bld-hero__copy */
.bld-hero__copy h1,
.bld-hero__copy .wp-block-heading {
  font-family: var(--bld-display);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.05;
  margin-bottom: 24px;
}
.bld-hero__copy h1 em { font-style: italic; color: #FFFFFF; }

/* Hero sub paragraph — core/paragraph has no className support;
   style by position inside .bld-hero__copy */
.bld-hero__copy > p:not(.bld-eyebrow) {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Treatments h2 — already covered by global h2 + .bld-section-header h2 */
.bld-section-header h2.wp-block-heading { margin-bottom: 14px; }
.bld-section-header h2.wp-block-heading em { font-style: italic; }

/* Treatments sub paragraph */
.bld-section-header > p { color: var(--bld-gray); font-size: 16px; line-height: 1.75; }

/* Ethos headings and paragraphs */
.bld-ethos__copy h2.wp-block-heading {
  color: var(--bld-white);
  font-weight: 300;
  margin-bottom: 0;
}
.bld-ethos__copy h2.wp-block-heading em { font-style: italic; }
.bld-ethos__copy > p { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.8; }

/* CTA banner headings and paragraphs */
.bld-cta-banner__copy h2.wp-block-heading {
  color: var(--bld-white);
  font-weight: 300;
}
.bld-cta-banner__copy h2.wp-block-heading em { font-style: italic; }
.bld-cta-banner__copy > p { color: rgba(255,255,255,0.7); font-size: 16px; }

/* (Old hero arch image overrides removed — now using full-bleed bg) */

/* ============================================================
   TESTIMONIALS / REVIEWS PAGE
   page-testimonials.php
   ============================================================ */

/* ── Header ─────────────────────────────────────────────────────────────── */
.bld-reviews-page.bld-inner-page {
  padding-top: 0;
}
.bld-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 0 28px;
}
.bld-reviews-header__title {
  font-family: var(--bld-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--bld-primary);
  margin: 6px 0 12px;
  letter-spacing: -0.01em;
}
.bld-reviews-header__sub {
  font-size: 15px;
  color: var(--bld-gray);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}
.bld-reviews-header__rating {
  text-align: center;
  flex-shrink: 0;
}
.bld-reviews-header__score {
  display: block;
  font-family: var(--bld-display);
  font-size: 52px;
  font-weight: 400;
  color: var(--bld-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.bld-reviews-header__stars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-bottom: 6px;
}
.bld-reviews-header__count {
  font-size: 12px;
  color: var(--bld-gray);
  letter-spacing: 0.5px;
}

/* ── Filter tabs ────────────────────────────────────────────────────────── */
.bld-reviews-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(1, 60, 78, 0.08);
  margin-bottom: 28px;
}
.bld-reviews-filter {
  background: transparent;
  border: 1px solid var(--bld-mist);
  padding: 8px 20px;
  font-family: var(--bld-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--bld-gray);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bld-reviews-filter:hover {
  border-color: var(--bld-gold);
  color: var(--bld-primary);
}
.bld-reviews-filter.is-active {
  background: var(--bld-primary);
  border-color: var(--bld-primary);
  color: #fff;
}

/* ── Cards grid ─────────────────────────────────────────────────────────── */
.bld-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* ── Individual card ────────────────────────────────────────────────────── */
.bld-review-card {
  background: var(--bld-white);
  border: 1px solid rgba(1, 60, 78, 0.07);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.bld-review-card:hover {
  border-color: var(--bld-gold);
  box-shadow: 0 4px 20px rgba(1, 60, 78, 0.08);
}
.bld-review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.bld-review-card__text {
  font-size: 14.5px;
  color: var(--bld-text);
  line-height: 1.7;
  margin: 0 0 auto;
  padding-bottom: 18px;
}
.bld-review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(1, 60, 78, 0.06);
}
.bld-review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bld-review-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bld-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.bld-review-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--bld-primary);
}
.bld-review-card__google {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.bld-review-card:hover .bld-review-card__google {
  opacity: 1;
}

/* ── CTA row ────────────────────────────────────────────────────────────── */
.bld-reviews-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 12px 0 48px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .bld-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .bld-reviews-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px 0 20px;
  }
  .bld-reviews-header__sub {
    max-width: 100%;
  }
  .bld-reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bld-reviews-filters {
    justify-content: center;
  }
  .bld-reviews-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .bld-reviews-cta-row .bld-btn {
    text-align: center;
  }
}

/* ============================================================
   SMILE GALLERY PAGE
   page-smile-gallery.php
   ============================================================ */

/* ── Page hero header ────────────────────────────────────────── */
.bld-gallery-page .bld-gallery-hero {
  text-align: center;
  padding: 20px 0 24px;
  max-width: 680px;
  margin: 0 auto;
}
.bld-gallery-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  color: var(--bld-primary);
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}
.bld-gallery-page.bld-inner-page {
  padding-bottom: 0;
}
.bld-gallery-subtext {
  text-align: center;
  padding: 36px 0;
}
.bld-gallery-subtext p {
  font-size: 17px;
  color: var(--bld-text-muted, #5a6a72);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Filter tabs ─────────────────────────────────────────────── */
.bld-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  justify-content: center;
}
.bld-gallery-filter {
  padding: 9px 22px;
  border: 1.5px solid var(--bld-primary);
  border-radius: 32px;
  background: transparent;
  color: var(--bld-primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  font-family: inherit;
}
.bld-gallery-filter:hover {
  background: rgba(1, 60, 78, 0.07);
}
.bld-gallery-filter.is-active {
  background: var(--bld-primary);
  color: #fff;
  border-color: var(--bld-primary);
}

/* ── Cases grid ──────────────────────────────────────────────── */
.bld-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 32px;
  margin-bottom: 0;
}

/* ── Single case card ────────────────────────────────────────── */
.bld-case-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 24px rgba(1, 60, 78, 0.08);
  transition: box-shadow 0.22s, transform 0.22s;
}
.bld-case-card:hover {
  box-shadow: 0 6px 36px rgba(1, 60, 78, 0.14);
  transform: translateY(-3px);
}

/* Image pair row */
.bld-case-card__images {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 260px;
}

/* Before / After sides */
.bld-case-card__side {
  position: relative;
  overflow: hidden;
  background: #f0f4f5;
}
.bld-case-card__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bld-case-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8edef;
}
.bld-case-card__placeholder span {
  font-size: 12px;
  color: #8a9ea7;
  text-align: center;
  padding: 0 12px;
}

/* Before / After labels */
.bld-case-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1.6;
  pointer-events: none;
}
.bld-case-card__tag--before {
  background: rgba(1, 60, 78, 0.75);
  color: #fff;
  backdrop-filter: blur(4px);
}
.bld-case-card__tag--after {
  background: rgba(201, 169, 110, 0.9);
  color: #fff;
  backdrop-filter: blur(4px);
}

/* Gold divider + arrow */
.bld-case-card__divider {
  width: 3px;
  background: var(--bld-gold, #c9a96e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.bld-case-card__arrow {
  background: var(--bld-gold, #c9a96e);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

/* Card description (above photos) */
.bld-case-card__description {
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(1, 60, 78, 0.07);
}
.bld-case-card__description p {
  font-size: 14px;
  font-style: italic;
  color: var(--bld-text-muted, #5a6a72);
  margin: 0;
  line-height: 1.65;
}

/* Card footer */
.bld-case-card__footer {
  padding: 18px 22px 20px;
  border-top: 1px solid rgba(1, 60, 78, 0.07);
}
.bld-case-card__type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bld-gold, #c9a96e);
  margin-bottom: 6px;
}
.bld-case-card__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--bld-primary);
  margin: 0 0 6px;
  line-height: 1.4;
}
.bld-case-card__caption {
  font-size: 14px;
  color: var(--bld-text-muted, #5a6a72);
  margin: 0;
  line-height: 1.6;
}

/* ── Empty state ─────────────────────────────────────────────── */
.bld-gallery-empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.bld-gallery-empty__icon {
  margin-bottom: 24px;
  opacity: 0.6;
}
.bld-gallery-empty__title {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--bld-primary);
  margin: 0 0 12px;
}
.bld-gallery-empty__text {
  font-size: 15px;
  color: var(--bld-text-muted, #5a6a72);
  line-height: 1.75;
  margin: 0 0 28px;
}

/* ── Legal disclaimer bar ────────────────────────────────────── */
.bld-gallery-disclaimer {
  background: rgba(1, 60, 78, 0.03);
  border-top: 1px solid rgba(1, 60, 78, 0.08);
  padding: 20px 0;
}
.bld-gallery-disclaimer p {
  font-size: 12.5px;
  color: var(--bld-text-muted, #5a6a72);
  text-align: center;
  margin: 0 auto;
  line-height: 1.7;
  max-width: 780px;
  padding: 0 20px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bld-gallery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .bld-gallery-page .bld-gallery-hero {
    padding: 16px 0 18px;
  }
  .bld-case-card__images {
    height: 200px;
  }
  .bld-gallery-filters {
    gap: 8px;
    margin-bottom: 32px;
  }
  .bld-gallery-filter {
    padding: 7px 16px;
    font-size: 13px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RELATED TREATMENTS (internal linking)
   ───────────────────────────────────────────────────────────────────────────── */
.bld-related-treatments {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bld-cream);
  border-radius: 12px;
  border-left: 4px solid var(--bld-gold);
}
.bld-related-treatments h3 {
  font-family: var(--bld-display);
  font-size: 1.25rem;
  color: var(--bld-primary);
  margin: 0 0 1rem 0;
}
.bld-related-treatments ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bld-related-treatments li {
  flex: 0 0 auto;
}
.bld-related-treatments a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--bld-white);
  border: 1px solid var(--bld-mist);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bld-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.bld-related-treatments a:hover {
  background: var(--bld-primary);
  color: var(--bld-white);
  border-color: var(--bld-primary);
}

/* ── Treatment Page Images ────────────────────────────────────────────────── */
.bld-treatment-img {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
}
.bld-treatment-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}
.bld-treatment-img--hero {
  margin: 24px 0 36px;
  max-height: 420px;
}
.bld-treatment-img--hero img {
  max-height: 420px;
  object-fit: cover;
}
.bld-treatment-img--mid {
  margin: 36px 0;
  max-height: 380px;
}
.bld-treatment-img--mid img {
  max-height: 380px;
  object-fit: cover;
}
@media (max-width: 640px) {
  .bld-treatment-img--hero,
  .bld-treatment-img--mid {
    margin: 20px 0;
    border-radius: 12px;
  }
  .bld-treatment-img--hero { max-height: 260px; }
  .bld-treatment-img--hero img { max-height: 260px; }
  .bld-treatment-img--mid { max-height: 240px; }
  .bld-treatment-img--mid img { max-height: 240px; }
  .bld-treatment-img img { border-radius: 12px; }
}


/* ── Page Hero Banner ─────────────────────────────────────────────────────── */
.bld-page-hero {
    position: relative;
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bld-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 55, 70, 0.52);
}
.bld-page-hero__title {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 2rem;
}
.bld-page-hero__title h1 {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}
@media (max-width: 768px) {
    .bld-page-hero { height: 260px; }
    .bld-page-hero__title h1 { font-size: 1.8rem; }
}

/* ── Mobile hero: balanced crop ~7% per side, text overlay ── */
@media (max-width: 767px) {
    /* 460px height = ~7% crop from each side on a 390px wide screen */
    .bld-hero,
    section.wp-block-group.bld-hero {
        min-height: 370px !important;
        aspect-ratio: unset !important;
        overflow: hidden !important;
    }
    /* Text pinned to bottom, overlays image without pushing hero taller */
    .bld-hero__inner {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 100%) !important;
        padding: 40px 20px 24px !important;
    }
    /* Centre crop — equal from both sides */
    .bld-hero__bg img {
        object-position: 50% 50% !important;
    }
    /* Reduce hero headline — 72px is too large for mobile */
    .bld-hero__headline,
    .bld-hero__inner h1,
    .bld-hero__inner .wp-block-heading {
        font-size: clamp(1.9rem, 7.5vw, 2.4rem) !important;
        line-height: 1.2 !important;
    }
    /* Keep subtext readable but compact */
    .bld-hero__inner p {
        font-size: 0.9rem !important;
        margin-top: 8px !important;
    }
    /* Tighten up any CTA buttons */
    .bld-hero__inner .wp-block-buttons {
        margin-top: 14px !important;
    }
}

/* ── Mobile Action Bar (Call / WhatsApp / Book Now) ── */
.bld-mobile-action-bar {
    display: none;
}
@media (max-width: 1024px) {
    .bld-mobile-action-bar {
        display: flex;
        align-items: stretch;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e8e8e8;
        border-bottom: 2px solid #0d7a7a;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        position: sticky;
        top: 0;
        z-index: 999;
    }
    .bld-mobile-action-bar__btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 8px 4px;
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.02em;
        color: #0d7a7a;
        transition: background 0.15s;
        border-right: 1px solid #e8e8e8;
    }
    .bld-mobile-action-bar__btn:last-child {
        border-right: none;
    }
    .bld-mobile-action-bar__btn svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    .bld-mobile-action-bar__btn:hover,
    .bld-mobile-action-bar__btn:active {
        background: #f0fafa;
        color: #095f5f;
    }
    .bld-mobile-action-bar__btn--book {
        background: #0d7a7a;
        color: #ffffff;
    }
    .bld-mobile-action-bar__btn--book:hover,
    .bld-mobile-action-bar__btn--book:active {
        background: #095f5f;
        color: #ffffff;
    }
    .bld-mobile-action-bar__btn--whatsapp {
        color: #25d366;
    }
    .bld-mobile-action-bar__btn--whatsapp svg {
        color: #25d366;
    }
}
