/* Consistent card rhythm and a deliberate BPD brand glow.
   This sheet follows the shared layout/theme sheets. Content and artwork stay intact. */
:root {
  --bpd-card-rest-border: #d5dde2;
  --bpd-card-active-border: #cb0069;
  --bpd-card-brand-glow: inset 0 0 0 1px #c8006733, 0 0 0 1px #c800676b, 0 9px 27px -7px #c8006738, 8px 5px 26px -10px #0aa3ca26;
}

/* The original benefit section has two flex-row wrappers. Flatten those wrappers
   into one grid so every desktop/tablet card shares the same intrinsic row height. */
.bpd-refresh .bpd-main .bpd-value > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr;
  gap: 24px !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}
.bpd-refresh .bpd-main .bpd-value > .e-con-inner > .e-con:has(> .e-transform) {
  display: contents !important;
}
.bpd-refresh .bpd-main .bpd-value > .e-con-inner > .e-con:has(> .e-transform)::before,
.bpd-refresh .bpd-main .bpd-value > .e-con-inner > .e-con:has(> .e-transform)::after {
  display: none !important;
}
.bpd-refresh .bpd-main .bpd-value .e-transform {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 29px 27px !important;
  background: #f2f3f2 !important;
  border: 1px solid var(--bpd-card-rest-border) !important;
  border-radius: 2px !important;
  overflow: visible;
}
.bpd-refresh .bpd-main .bpd-value .e-transform > .elementor-widget-image-box {
  box-sizing: border-box;
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
  align-self: stretch !important;
}
.bpd-refresh .bpd-main .bpd-value .elementor-image-box-wrapper {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 18px !important;
  row-gap: 0 !important;
  text-align: left !important;
}
.bpd-refresh .bpd-main .bpd-value .bpd-line-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  align-self: start !important;
}
.bpd-refresh .bpd-main .bpd-value .bpd-line-icon .bpd-service-icon {
  width: 33px !important;
  height: 33px !important;
}
.bpd-refresh .bpd-main .bpd-value .elementor-image-box-content {
  min-width: 0;
  padding: 0 !important;
  text-align: left !important;
}
.bpd-refresh .bpd-main .bpd-value .elementor-image-box-title {
  min-block-size: 2.44em;
  margin: 0 0 13px !important;
  padding: 0 !important;
  font-size: 23px !important;
  line-height: 1.22 !important;
  font-weight: 750 !important;
  letter-spacing: -.025em !important;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.bpd-refresh .bpd-main .bpd-value .elementor-image-box-description {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  overflow: visible !important;
  text-overflow: clip;
}

/* Preserve the resting layouts. A transparent outline reserves no layout space;
   the visible border and glow therefore never move neighbouring cards. */
.bpd-refresh .bpd-main .bpd-value .e-transform,
.bpd-refresh .bpd-main .bpd-product-tile > .elementor-element,
.bpd-refresh .bpd-main .bpd-category-card,
.bpd-refresh .bpd-main .bpd-related-card,
.bpd-refresh .bpd-site-header .bpd-print-range,
.bpd-refresh .bpd-site-header .bpd-menu-product,
.bpd-refresh .bpd-main .bpd-motion-card {
  position: relative;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  box-shadow: none !important;
  outline: 1px solid transparent;
  outline-offset: 0;
  transition: box-shadow .18s ease, border-color .18s ease, outline-color .18s ease !important;
}

/* Real links and buttons retain their own focus treatment. The surrounding card
   echoes the hover state when one of those controls receives keyboard focus. */
.bpd-refresh .bpd-main .bpd-value .e-transform:focus-within,
.bpd-refresh .bpd-main .bpd-product-tile:focus-within > .elementor-element,
.bpd-refresh .bpd-main .bpd-category-card:focus-within,
.bpd-refresh .bpd-main .bpd-related-card:focus-within,
.bpd-refresh .bpd-site-header .bpd-print-range:focus-within,
.bpd-refresh .bpd-site-header .bpd-menu-product:focus-within,
.bpd-refresh .bpd-main .bpd-motion-card:focus-within {
  z-index: 2;
  border-color: var(--bpd-card-active-border) !important;
  outline-color: var(--bpd-card-active-border);
  box-shadow: var(--bpd-card-brand-glow) !important;
  transform: none !important;
}
@media (hover: hover) and (pointer: fine) {
  .bpd-refresh .bpd-main .bpd-value .e-transform:hover,
  .bpd-refresh .bpd-main .bpd-product-tile:hover > .elementor-element,
  .bpd-refresh .bpd-main .bpd-category-card:hover,
  .bpd-refresh .bpd-main .bpd-related-card:hover,
  .bpd-refresh .bpd-site-header .bpd-print-range:hover,
  .bpd-refresh .bpd-site-header .bpd-menu-product:hover,
  .bpd-refresh .bpd-main .bpd-motion-card:hover {
    z-index: 2;
    border-color: var(--bpd-card-active-border) !important;
    outline-color: var(--bpd-card-active-border);
    box-shadow: var(--bpd-card-brand-glow) !important;
    transform: none !important;
  }
  .bpd-refresh .bpd-main .bpd-value .e-transform:hover .bpd-service-icon { color: #c80067; }
}
@media (max-width: 1200px) {
  .bpd-refresh .bpd-main .bpd-value > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bpd-refresh .bpd-main .bpd-value .e-transform { padding: 28px !important; }
}
@media (max-width: 620px) {
  .bpd-refresh .bpd-main .bpd-value > .e-con-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto;
    gap: 18px !important;
  }
  .bpd-refresh .bpd-main .bpd-value .e-transform { padding: 25px !important; }
  .bpd-refresh .bpd-main .bpd-value .elementor-image-box-wrapper { column-gap: 17px !important; }
  .bpd-refresh .bpd-main .bpd-value .elementor-image-box-title {
    min-block-size: 0;
    font-size: 23px !important;
    margin-bottom: 10px !important;
    text-wrap: pretty;
  }
  .bpd-refresh .bpd-main .bpd-value .elementor-image-box-description { font-size: 15px !important; }
}
@media (max-width: 380px) {
  .bpd-refresh .bpd-main .bpd-value .e-transform { padding: 23px 20px !important; }
  .bpd-refresh .bpd-main .bpd-value .elementor-image-box-wrapper { grid-template-columns: 32px minmax(0, 1fr) !important; gap: 15px !important; }
  .bpd-refresh .bpd-main .bpd-value .bpd-line-icon { width: 32px !important; min-width: 32px !important; height: 32px !important; }
  .bpd-refresh .bpd-main .bpd-value .elementor-image-box-title { font-size: 22px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .bpd-refresh .bpd-main .bpd-value .e-transform,
  .bpd-refresh .bpd-main .bpd-product-tile > .elementor-element,
  .bpd-refresh .bpd-main .bpd-category-card,
  .bpd-refresh .bpd-main .bpd-related-card,
  .bpd-refresh .bpd-site-header .bpd-print-range,
  .bpd-refresh .bpd-site-header .bpd-menu-product,
  .bpd-refresh .bpd-main .bpd-motion-card {
    transition: none !important;
    animation: none !important;
  }
}
