/* BHH Dealer Directory -- scoped styles to avoid interfering with Technocy/Elementor. */
.bhhdd-wrap {
  --bhhdd-accent: #ae1e2d;
  --bhhdd-ink: #202833;
  --bhhdd-muted: #647080;
  --bhhdd-line: #e1e5e9;
  --bhhdd-surface: #fff;
  color: var(--bhhdd-ink);
  font-family: inherit;
  line-height: 1.55;
  width: 100%;
}
.bhhdd-wrap *, .bhhdd-wrap *::before, .bhhdd-wrap *::after { box-sizing: border-box; }
.bhhdd-header { margin: 0 0 20px; }
.bhhdd-heading { margin: 0 0 4px !important; font-size: clamp(24px, 3vw, 34px) !important; line-height: 1.24; font-weight: 750; letter-spacing: -.025em; color: var(--bhhdd-ink); }
.bhhdd-subtitle { margin: 0; color: var(--bhhdd-muted); font-size: 15px; }
.bhhdd-toolbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; padding: 15px; margin-bottom: 16px; background: #f6f7f9; border: 1px solid var(--bhhdd-line); border-radius: 12px; }
.bhhdd-search-field { flex: 2 1 230px; min-width: 175px; }
.bhhdd-select-field { flex: 1 1 160px; min-width: 140px; }
.bhhdd-label { display: block; margin: 0 0 6px; color: #354154; font-size: 13px; line-height: 1.3; font-weight: 700; }
.bhhdd-wrap input[type="search"], .bhhdd-wrap select { display: block; width: 100%; max-width: none; height: 43px; padding: 9px 12px; margin: 0; color: var(--bhhdd-ink); background: #fff; border: 1px solid #cad1da; border-radius: 8px; font: inherit; font-size: 14px; box-shadow: none; }
.bhhdd-wrap input[type="search"]:focus, .bhhdd-wrap select:focus { outline: 2px solid var(--bhhdd-accent); outline-offset: 1px; border-color: transparent; }
.bhhdd-results { margin: 0 0 13px; color: var(--bhhdd-muted); font-size: 13px; }
.bhhdd-grid { display: grid; grid-template-columns: repeat(var(--bhhdd-columns), minmax(0, 1fr)); gap: 18px; }
.bhhdd-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; background: var(--bhhdd-surface); border: 1px solid var(--bhhdd-line); border-top: 4px solid var(--bhhdd-accent); border-radius: 13px; box-shadow: 0 3px 14px rgba(20, 32, 47, .045); }
.bhhdd-card[hidden] { display: none !important; }
.bhhdd-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; }
.bhhdd-logo-box { flex: 0 0 64px; height: 64px; display: flex; justify-content: center; align-items: center; background: #f6eff0; border: 1px solid #f0dcdf; border-radius: 12px; overflow: hidden; }
.bhhdd-logo-image { display: block; width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.bhhdd-initials { color: var(--bhhdd-accent); font-size: 25px; font-weight: 800; }
.bhhdd-card-identity { min-width: 0; }
.bhhdd-name { margin: 0 !important; font-size: 20px !important; line-height: 1.3; font-weight: 750; color: var(--bhhdd-ink); overflow-wrap: anywhere; }
.bhhdd-area-label { display: inline-block; margin-top: 4px; color: var(--bhhdd-muted); font-size: 13px; }
.bhhdd-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bhhdd-brand-tag { display: inline-flex; align-items: center; color: #7f2230; background: #fff2f4; border: 1px solid #f6d8dd; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 650; }
.bhhdd-description { font-size: 14px; color: #4a5565; margin: 0 0 14px; }
.bhhdd-details { display: grid; gap: 13px; margin-bottom: 20px; }
.bhhdd-detail { display: grid; gap: 3px; min-width: 0; font-size: 14px; }
.bhhdd-detail strong { font-size: 12px; color: var(--bhhdd-muted); text-transform: uppercase; letter-spacing: .035em; font-weight: 700; }
.bhhdd-detail span, .bhhdd-detail a { min-width: 0; overflow-wrap: anywhere; }
.bhhdd-detail a { color: #9b2130; text-decoration: none; }
.bhhdd-detail a:hover { text-decoration: underline; }
.bhhdd-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 17px; border-top: 1px solid #edf0f2; }
.bhhdd-wrap .bhhdd-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; flex: 1 1 auto; min-width: 102px; padding: 9px 13px; margin: 0; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none !important; transition: background-color .15s ease, border-color .15s ease; }
.bhhdd-wrap .bhhdd-button-primary { background: var(--bhhdd-accent); color: #fff !important; border: 1px solid var(--bhhdd-accent); }
.bhhdd-wrap .bhhdd-button-primary:hover { background: #861826; border-color: #861826; }
.bhhdd-wrap .bhhdd-button-secondary { background: #fff; color: var(--bhhdd-ink) !important; border: 1px solid #cdd4dc; }
.bhhdd-wrap .bhhdd-button-secondary:hover { background: #f5f6f7; border-color: #9ca9b7; }
.bhhdd-wrap .bhhdd-button:focus-visible { outline: 3px solid #365fa6; outline-offset: 2px; }
.bhhdd-empty-filter, .bhhdd-empty-static { margin: 14px 0 0; padding: 24px 16px; border: 1px dashed #cdd4dc; border-radius: 10px; background: #fafbfc; color: var(--bhhdd-muted); text-align: center; }
.bhhdd-empty-filter[hidden] { display: none !important; }
@media (max-width: 780px) { .bhhdd-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bhhdd-card { padding: 16px; } .bhhdd-toolbar { padding: 12px; } .bhhdd-search-field, .bhhdd-select-field { flex-basis: 100%; } }

/* v1.1.0: Products under each dealer. All classes are scoped to BHH blocks. */
.bhhdd-dealer-products { margin-top: 4px; margin-bottom: 16px; padding-top: 16px; border-top: 1px solid var(--bhhdd-line); }
.bhhdd-products-title { margin: 0 0 12px !important; font-size: 16px !important; font-weight: 750; color: var(--bhhdd-ink); }
.bhhdd-products-title span { color: var(--bhhdd-muted); font-weight: 500; }
.bhhdd-mini-products { display: grid; grid-template-columns: 1fr; gap: 10px; }
.bhhdd-mini-product { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 9px; background: #fafbfc; border: 1px solid #ebeff2; border-radius: 9px; }
.bhhdd-mini-product-image { display: flex; flex: 0 0 80px; align-items: center; justify-content: center; height: 80px; overflow: hidden; background: #fff; border: 1px solid #edf0f2; border-radius: 7px; }
.bhhdd-product-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.bhhdd-product-noimage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 80px; background: #f6f7f9; color: #85909e; font-size: 30px; }
.bhhdd-mini-product-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.bhhdd-mini-product-info strong { color: var(--bhhdd-ink); font-size: 13px; line-height: 1.35; }
.bhhdd-mini-product-info span { font-size: 12px; color: var(--bhhdd-muted); }
.bhhdd-mini-product-info .bhhdd-mini-price { color: #942233; font-weight: 700; }
.bhhdd-mini-product-info a { font-size: 12px; font-weight: 650; color: #942233; text-decoration: underline; }
.bhhdd-more-products { margin: 9px 0 0; font-size: 12px; color: var(--bhhdd-muted); }

/* v1.1.0: Standalone [bhh_products] responsive product catalogue. */
.bhhdd-product-root { margin: 0; }
.bhhdd-product-root .bhhdd-heading { margin-bottom: 20px !important; }
.bhhdd-product-grid { display: grid; grid-template-columns: repeat(var(--bhhdd-product-columns), minmax(0, 1fr)); gap: 18px; }
.bhhdd-product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--bhhdd-line); border-radius: 12px; box-shadow: 0 3px 13px rgba(20,32,47,.04); }
.bhhdd-product-card[hidden] { display: none !important; }
.bhhdd-product-photo { display: flex; align-items: center; justify-content: center; width: 100%; height: 210px; padding: 15px; border-bottom: 1px solid #f0f2f5; background: #fff; }
.bhhdd-product-photo .bhhdd-product-noimage { min-height: 100%; }
.bhhdd-product-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 auto; padding: 17px; }
.bhhdd-product-kicker { margin: 0 0 6px; color: #9a2736; font-size: 12px; font-weight: 700; }
.bhhdd-product-name { margin: 0 0 8px !important; color: var(--bhhdd-ink); font-size: 18px !important; line-height: 1.3; font-weight: 750; overflow-wrap: anywhere; }
.bhhdd-product-sku { margin: 0 0 9px; color: var(--bhhdd-muted); font-size: 12px; }
.bhhdd-product-description { margin: 0 0 12px; color: #4a5565; font-size: 13px; }
.bhhdd-product-price { margin: 0 0 12px; color: #962034; font-size: 17px; font-weight: 800; }
.bhhdd-product-stores { margin: 0 0 14px; color: #465160; font-size: 12px; line-height: 1.6; }
.bhhdd-product-stores strong { font-weight: 750; }
.bhhdd-product-root .bhhdd-product-link { flex: none; margin-top: auto; padding: 10px 18px; }
.bhhdd-product-empty-filter[hidden] { display: none !important; }
@media (max-width: 950px) { .bhhdd-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 570px) { .bhhdd-product-grid { grid-template-columns: 1fr; } .bhhdd-product-photo { height: 230px; } .bhhdd-mini-product-image { flex-basis: 72px; height: 72px; } }

/* v1.3: Where to Buy widget for WooCommerce product pages. Kept isolated from theme styles. */
.bhhdd-where-to-buy { background: #f5f7fa; border: 1px solid #d6dfe9; border-radius: 6px; padding: 16px; margin: 16px 0 24px; font-size: 14px; line-height: 1.55; color: #1e2b3b; }
.bhhdd-where-to-buy h3 { margin: 0 0 8px !important; font-size: 17px !important; font-weight: 750; color: #172b4d; }
.bhhdd-where-to-buy p { margin: 0 0 12px; }
.bhhdd-where-dealer { padding: 12px 0; border-bottom: 1px solid #dce4ed; }
.bhhdd-where-dealer:first-of-type { padding-top: 0; }
.bhhdd-where-dealer strong { display: block; margin-bottom: 6px; font-weight: 750; }
.bhhdd-where-to-buy .bhhdd-wa-button { display: block; text-align: center; text-decoration: none !important; background: #184d9f; color: #fff !important; border-radius: 4px; padding: 9px 11px; font-size: 13px; font-weight: 750; }
.bhhdd-where-to-buy .bhhdd-wa-button:hover { background: #123a7b; }
.bhhdd-where-to-buy .bhhdd-all-dealers-link { display: inline-block; margin-top: 10px; color: #174a9b; text-decoration: underline; font-weight: 700; }

/* v1.4: shortcode-only combined RAM Mount / TechSpec directory. */
.bhhdd-combined-directory { width: 100%; }
.bhhdd-combined-brand { margin: 0 0 48px; }
.bhhdd-combined-brand + .bhhdd-combined-brand { border-top: 1px solid #e1e5e9; padding-top: 32px; }
.bhhdd-combined-heading { margin: 0 0 18px !important; color: #202833; font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.25; font-weight: 750; }
.bhhdd-combined-products-heading { margin-top: 30px !important; }

/* v1.5: BHH dealer-only cards. Blue accents, visible addresses, no product or map elements. */
.bhhdd-dealers-only .bhhdd-wrap { --bhhdd-accent: #153c7c; }
.bhhdd-dealers-only .bhhdd-card { border-top-color: #153c7c; }
.bhhdd-dealers-only .bhhdd-logo-box { background: #eff4fb; border-color: #d9e6f7; }
.bhhdd-dealers-only .bhhdd-brand-tag { color: #12407a; background: #eef5ff; border-color: #d7e4f6; }
.bhhdd-dealers-only .bhhdd-detail a { color: #144480; }
.bhhdd-dealers-only .bhhdd-detail strong { color: #44566a; }
.bhhdd-dealers-only .bhhdd-details { gap: 11px; }
.bhhdd-dealers-only .bhhdd-detail span { white-space: normal; line-height: 1.65; }
.bhhdd-dealers-only .bhhdd-wrap .bhhdd-button-primary { background: #153c7c; border-color: #153c7c; }
.bhhdd-dealers-only .bhhdd-wrap .bhhdd-button-primary:hover { background: #0c2958; border-color: #0c2958; }
.bhhdd-dealers-only .bhhdd-combined-brand { margin-bottom: 40px; }

/* v1.6.0: horizontal dealer rows with brand logos and inline contact actions. */
.bhhdd-dealers-only .bhhdd-combined-heading-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.bhhdd-dealers-only .bhhdd-combined-heading-logo {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bhhdd-dealers-only .bhhdd-combined-heading-logo .bhhdd-brand-logo-image {
  display: block;
  width: 100%;
  max-width: 96px;
  height: auto;
}
.bhhdd-dealers-only .bhhdd-wrap.bhhdd-row-layout .bhhdd-header {
  margin-bottom: 14px;
}
.bhhdd-dealers-only .bhhdd-wrap.bhhdd-row-layout .bhhdd-grid.bhhdd-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bhhdd-dealers-only .bhhdd-row-card {
  display: grid;
  grid-template-columns: 110px minmax(180px, 1fr) minmax(240px, 1.4fr) minmax(210px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-left: 4px solid #153c7c;
  border-top: 1px solid #dbe4ef;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 38, 71, .05);
}
.bhhdd-dealers-only .bhhdd-row-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}
.bhhdd-dealers-only .bhhdd-row-brand .bhhdd-brand-logo-image {
  display: block;
  width: 100%;
  max-width: 88px;
  height: auto;
}
.bhhdd-dealers-only .bhhdd-brand-logo-fallback {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff4fb;
  border: 1px solid #d9e6f7;
  color: #153c7c;
  font-size: 22px;
  font-weight: 800;
}
.bhhdd-dealers-only .bhhdd-row-main,
.bhhdd-dealers-only .bhhdd-row-address,
.bhhdd-dealers-only .bhhdd-row-contact {
  min-width: 0;
}
.bhhdd-dealers-only .bhhdd-row-main .bhhdd-name {
  margin: 0 0 6px !important;
  font-size: 22px !important;
  line-height: 1.25;
}
.bhhdd-dealers-only .bhhdd-row-brand-name {
  color: #5d6c7d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.bhhdd-dealers-only .bhhdd-row-address-text {
  color: #243244;
  font-size: 14px;
  line-height: 1.65;
}
.bhhdd-dealers-only .bhhdd-row-muted {
  color: #6d7a89;
}
.bhhdd-dealers-only .bhhdd-row-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.bhhdd-dealers-only .bhhdd-contact-link {
  color: #153c7c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.bhhdd-dealers-only .bhhdd-contact-link:hover {
  text-decoration: underline;
}
.bhhdd-dealers-only .bhhdd-actions-inline {
  margin-top: 2px;
  padding-top: 0;
  border-top: 0;
  gap: 8px;
}
.bhhdd-dealers-only .bhhdd-actions-inline .bhhdd-button {
  flex: 0 0 auto;
  min-width: 98px;
}
.bhhdd-dealers-only .bhhdd-wrap.bhhdd-row-layout .bhhdd-empty-static,
.bhhdd-dealers-only .bhhdd-wrap.bhhdd-row-layout .bhhdd-empty-filter {
  margin-top: 6px;
}
@media (max-width: 1100px) {
  .bhhdd-dealers-only .bhhdd-row-card {
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .bhhdd-dealers-only .bhhdd-row-contact {
    grid-column: 2 / span 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
@media (max-width: 760px) {
  .bhhdd-dealers-only .bhhdd-combined-heading-wrap {
    gap: 12px;
  }
  .bhhdd-dealers-only .bhhdd-combined-heading-logo {
    flex-basis: 80px;
  }
  .bhhdd-dealers-only .bhhdd-row-card {
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .bhhdd-dealers-only .bhhdd-row-brand {
    grid-row: 1 / span 2;
    align-items: flex-start;
  }
  .bhhdd-dealers-only .bhhdd-row-address,
  .bhhdd-dealers-only .bhhdd-row-contact {
    grid-column: 2;
  }
  .bhhdd-dealers-only .bhhdd-row-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* v1.7.0 -- editorial split-panel directory, matching the site promotion layout. */
.bhhdd-feature-layout {
  container-type: inline-size;
  --bhhdd-brand-blue: #123e80;
  --bhhdd-brand-dark: #102b53;
  --bhhdd-text: #1a314d;
  --bhhdd-border: #e7edf4;
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--bhhdd-text);
  font-family: inherit;
  line-height: 1.5;
}
.bhhdd-feature-layout *, .bhhdd-feature-layout *::before, .bhhdd-feature-layout *::after {
  box-sizing: border-box;
}
.bhhdd-feature-layout .bhhdd-feature-card {
  display: grid;
  grid-template-columns: minmax(248px, 31%) minmax(0, 69%);
  margin: 0 0 30px;
  min-height: 305px;
  overflow: hidden;
  border: 1px solid #dde8f3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(13, 52, 101, .065);
}
.bhhdd-feature-layout .bhhdd-feature-card + .bhhdd-feature-card {
  border-top: 1px solid #dde8f3;
  padding-top: 0;
}
.bhhdd-feature-layout .bhhdd-feature-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 31px 30px 28px;
  background: linear-gradient(150deg, #eaf5fd 0%, #dcecf8 100%);
  isolation: isolate;
}
.bhhdd-feature-layout .bhhdd-feature-aside::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -95px;
  width: 230px;
  height: 230px;
  border: 35px solid rgba(57, 124, 185, .055);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.bhhdd-feature-layout .bhhdd-feature-kicker {
  display: block;
  color: #1d568e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.bhhdd-feature-layout .bhhdd-feature-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: min(100%, 228px);
  height: 114px;
  margin: 20px 0 14px;
  padding: 0;
}
.bhhdd-feature-layout .bhhdd-feature-logo .bhhdd-brand-logo-image {
  display: block;
  max-width: 100%;
  max-height: 110px;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 7px;
}
.bhhdd-feature-layout .bhhdd-feature-logo .bhhdd-brand-logo-fallback {
  width: 96px;
  height: 84px;
  font-size: 25px;
}
.bhhdd-feature-layout .bhhdd-feature-title {
  margin: 0 0 8px !important;
  color: var(--bhhdd-brand-dark);
  font-size: clamp(18px, 1.8vw, 22px) !important;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.24;
}
.bhhdd-feature-layout .bhhdd-feature-intro {
  margin: 0 0 22px;
  color: #536982;
  font-size: 13px;
  line-height: 1.6;
  max-width: 295px;
}
.bhhdd-feature-layout .bhhdd-feature-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #3a668c;
  font-size: 12px;
  font-weight: 650;
}
.bhhdd-feature-layout .bhhdd-feature-count-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border-radius: 8px;
  color: #fff;
  background: var(--bhhdd-brand-blue);
  font-size: 15px;
  font-weight: 800;
}
.bhhdd-feature-layout .bhhdd-feature-body {
  min-width: 0;
  padding: 29px 32px 20px;
  background: #fff;
}
.bhhdd-feature-layout .bhhdd-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding: 0 0 13px;
  border-bottom: 2px solid #e4edf6;
}
.bhhdd-feature-layout .bhhdd-feature-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #6f87a4;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bhhdd-feature-layout h2.bhhdd-combined-heading {
  margin: 0 !important;
  color: var(--bhhdd-brand-blue) !important;
  font-size: clamp(21px, 2.25vw, 29px) !important;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.bhhdd-feature-layout .bhhdd-feature-header-label {
  color: #718196;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
}
.bhhdd-feature-layout .bhhdd-feature-list .bhhdd-header {
  display: none;
}
.bhhdd-feature-layout .bhhdd-feature-list .bhhdd-toolbar {
  padding: 10px;
  margin: 10px 0 6px;
  background: #f6f9fc;
  border-radius: 8px;
}
.bhhdd-feature-layout .bhhdd-feature-list .bhhdd-grid.bhhdd-list {
  display: block;
  grid-template-columns: none;
}
.bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card.bhhdd-feature-dealer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(140px, 200px);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--bhhdd-border);
  box-shadow: none;
  background: #fff;
}
.bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card.bhhdd-feature-dealer:first-child {
  padding-top: 14px;
}
.bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card.bhhdd-feature-dealer:last-child {
  border-bottom: 0;
  padding-bottom: 10px;
}
.bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card[hidden] {
  display: none !important;
}
.bhhdd-feature-layout .bhhdd-dealer-number {
  align-self: start;
  color: #c7d8e9;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
}
.bhhdd-feature-layout .bhhdd-dealer-info { min-width: 0; }
.bhhdd-feature-layout .bhhdd-dealer-info h3.bhhdd-name {
  margin: 0 0 7px !important;
  color: #193450 !important;
  font-size: clamp(16px, 1.6vw, 19px) !important;
  font-weight: 800;
  line-height: 1.25;
}
.bhhdd-feature-layout .bhhdd-dealer-address {
  margin: 0;
  color: #697b8e;
  font-size: 13px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}
.bhhdd-feature-layout .bhhdd-dealer-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  min-width: 0;
}
.bhhdd-feature-layout .bhhdd-dealer-phone {
  color: var(--bhhdd-brand-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.bhhdd-feature-layout .bhhdd-dealer-email {
  color: #466985;
  text-decoration: none;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.bhhdd-feature-layout .bhhdd-dealer-phone:hover,
.bhhdd-feature-layout .bhhdd-dealer-email:hover { text-decoration: underline; }
.bhhdd-feature-layout .bhhdd-dealer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.bhhdd-feature-layout .bhhdd-dealer-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
  flex: 1 1 auto;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid var(--bhhdd-brand-blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .15s ease, color .15s ease;
}
.bhhdd-feature-layout .bhhdd-dealer-btn-primary {
  background: var(--bhhdd-brand-blue);
  color: #fff !important;
}
.bhhdd-feature-layout .bhhdd-dealer-btn-primary:hover {
  background: #0d2d5f;
  color: #fff !important;
}
.bhhdd-feature-layout .bhhdd-dealer-btn-outline {
  background: #fff;
  color: var(--bhhdd-brand-blue) !important;
}
.bhhdd-feature-layout .bhhdd-dealer-btn-outline:hover {
  background: #eef5fd;
}
.bhhdd-feature-layout .bhhdd-dealer-btn:focus-visible {
  outline: 3px solid #7fa6d8;
  outline-offset: 2px;
}
.bhhdd-feature-layout .bhhdd-screenreader-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.bhhdd-feature-layout .bhhdd-feature-empty {
  padding: 28px;
  border: 1px solid var(--bhhdd-border);
  background: #fff;
  color: #64778e;
  border-radius: 12px;
  text-align: center;
}
/* Keep legacy [bhh_dealers] functional with the same row formatting. */
.bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-feature-dealer {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) minmax(160px, 220px);
  align-items: center;
  gap: 16px;
  padding: 20px;
}
.bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-dealer-number { font-size: 30px; color: #9cb7d6; font-weight: 800; }
.bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-dealer-address { color: #67798c; font-size: 14px; }
.bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-dealer-phone { display: block; color: #123e80; font-weight: 800; }
.bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-dealer-buttons { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-dealer-btn { display: inline-flex; background: #123e80; color: #fff; padding: 8px 12px; border-radius: 6px; text-decoration: none; }
@media (max-width: 1100px) {
  .bhhdd-feature-layout .bhhdd-feature-card { grid-template-columns: minmax(225px, 32%) minmax(0, 68%); }
  .bhhdd-feature-layout .bhhdd-feature-aside { padding: 25px 22px; }
  .bhhdd-feature-layout .bhhdd-feature-body { padding: 24px 24px 16px; }
  .bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card.bhhdd-feature-dealer { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .bhhdd-feature-layout .bhhdd-dealer-actions { grid-column: 2; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .bhhdd-feature-layout .bhhdd-dealer-buttons { margin-left: auto; }
}
@media (max-width: 760px) {
  .bhhdd-feature-layout .bhhdd-feature-card { display: block; }
  .bhhdd-feature-layout .bhhdd-feature-aside { padding: 24px; }
  .bhhdd-feature-layout .bhhdd-feature-logo { height: auto; min-height: 75px; margin: 15px 0 14px; }
  .bhhdd-feature-layout .bhhdd-feature-logo .bhhdd-brand-logo-image { max-height: 90px; }
  .bhhdd-feature-layout .bhhdd-feature-title { font-size: 20px !important; }
  .bhhdd-feature-layout .bhhdd-feature-intro { margin-bottom: 14px; max-width: none; }
  .bhhdd-feature-layout .bhhdd-feature-body { padding: 24px; }
  .bhhdd-feature-layout .bhhdd-feature-header-label { display: none; }
  .bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-feature-dealer { grid-template-columns: 40px minmax(0, 1fr); }
  .bhhdd-row-layout:not(.bhhdd-feature-list) .bhhdd-dealer-actions { grid-column: 2; }
}
@media (max-width: 520px) {
  .bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card.bhhdd-feature-dealer { grid-template-columns: 33px minmax(0, 1fr); }
  .bhhdd-feature-layout .bhhdd-dealer-number { font-size: 25px; }
  .bhhdd-feature-layout .bhhdd-feature-body { padding: 21px 17px; }
  .bhhdd-feature-layout .bhhdd-feature-header { padding-bottom: 11px; }
  .bhhdd-feature-layout .bhhdd-dealer-actions { align-items: flex-start; flex-direction: column; }
  .bhhdd-feature-layout .bhhdd-dealer-buttons { margin-left: 0; }
  .bhhdd-feature-layout .bhhdd-dealer-btn { flex: 0 1 auto; }
}

/* Elementor columns can be narrow even on large desktops. */
@container (max-width: 850px) {
  .bhhdd-feature-layout .bhhdd-feature-card { grid-template-columns: minmax(0, 1fr); }
  .bhhdd-feature-layout .bhhdd-feature-aside { padding: 24px; }
  .bhhdd-feature-layout .bhhdd-feature-logo { height: 85px; margin: 12px 0; }
  .bhhdd-feature-layout .bhhdd-feature-body { padding: 24px; }
  .bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card.bhhdd-feature-dealer { grid-template-columns: 40px minmax(0, 1fr) 170px; }
  .bhhdd-feature-layout .bhhdd-dealer-actions { grid-column: auto; flex-direction: column; align-items: stretch; }
}
@container (max-width: 570px) {
  .bhhdd-feature-layout .bhhdd-feature-list .bhhdd-card.bhhdd-feature-dealer { grid-template-columns: 36px minmax(0, 1fr); }
  .bhhdd-feature-layout .bhhdd-dealer-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .bhhdd-feature-layout .bhhdd-dealer-buttons { margin-left: 0; }
}

/* v1.8.0: genuine BHH catalogue brand logos, without re-drawn text artwork. */
.bhhdd-feature-layout .bhhdd-feature-logo {
  justify-content: center;
  width: min(100%, 266px);
  min-height: 130px;
  height: 130px;
  padding: 13px 15px;
  margin: 20px 0 17px;
  border: 1px solid #d1e0ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(25, 61, 107, .05);
}
.bhhdd-feature-layout .bhhdd-feature-logo .bhhdd-brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
@media (max-width: 760px) {
  .bhhdd-feature-layout .bhhdd-feature-logo {
    width: min(100%, 260px);
    min-height: 118px;
    height: 118px;
    padding: 10px 14px;
  }
  .bhhdd-feature-layout .bhhdd-feature-logo .bhhdd-brand-logo-image {
    max-height: 100%;
  }
}
