.elementor-604 .elementor-element.elementor-element-7f5c304{--display:flex;}/* Start custom CSS for html, class: .elementor-element-1fbfbc8 *//* ===== Shared gallery layout for Card 1, 2 & 3 ===== */
.mpb-wrap .mpb-gallery{
  display: grid;
  gap: 12px;
}

/* ===== Top banner (no crop) ===== */
.mpb-wrap .mpb-media--banner{
  height: 120px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #f3e8e5;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
}
.mpb-wrap .mpb-media--banner img{
  width: 100%; height: 100%;
  object-fit: contain;              /* always fully visible */
}

/* ===== Secondary images ===== */
/* E&O lower image: keep bold edge-to-edge crop */
.mpb-wrap .mpb-media--eoi{
  height: 200px;
  background:#faf7f6;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  box-shadow: inset 0 0 0 1px #f3e8e5;
}
.mpb-wrap .mpb-media--eoi img{
  width:100%; height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
  transition: transform .5s ease;
}
.mpb-wrap .mpb-eoi:hover .mpb-media--eoi img{ transform: scale(1.04); }

/* Optional soft gloss for busy E&O art */
.mpb-wrap .mpb-media--eoi::after{
  content:""; position:absolute; inset:0 0 auto 0; height:36%;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), rgba(255,255,255,0));
  pointer-events:none;
}

/* Card 1 (liability) 2nd image + Card 2 (MFAP) 2nd image: NO CROP */
.mpb-wrap .mpb-media--liability,
.mpb-wrap .mpb-media--mfap{
  height: 200px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #f3e8e5;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;                             /* breathing room */
}
.mpb-wrap .mpb-media--liability img,
.mpb-wrap .mpb-media--mfap img{
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;                       /* key: shrink to fit */
  object-position: center;
  transform: none !important;                /* disable hover zoom */
  transition: none;
}

/* ===== Badges & typography helpers ===== */
.mpb-wrap .mpb-chip{
  position:absolute; left:12px; top:12px;
  padding:6px 10px; border-radius:999px;
  background: linear-gradient(135deg, #f4c542, #d19d00);
  color:#fff; font-weight:800; font-size:12px; letter-spacing:.2px;
  box-shadow:0 6px 14px rgba(209,157,0,.25);
}
.mpb-wrap .mpb-kicker{
  margin:2px 0 6px;
  font-weight:700; font-size:14px; color:#7a4b44;
  position:relative; padding-left:18px;
}
.mpb-wrap .mpb-kicker::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:12px; height:2px; border-radius:999px;
  background: linear-gradient(90deg, var(--mpb-brand, #8b2e24), #b4473a);
}
.mpb-wrap .mpb-points{ margin:8px 0 0; padding-left:1.1em; }
.mpb-wrap .mpb-points li{
  list-style:none; margin:4px 0; position:relative; color:#5b3a36;
}
.mpb-wrap .mpb-points li::before{
  content:"✓"; position:absolute; left:-1.1em; top:0;
  color:var(--mpb-brand, #8b2e24); font-weight:900;
}

/* MFAP note + screenshot */
.mpb-wrap .mpb-subhead{
  margin:16px 0 4px;
  font-size: 15px; font-weight: 800; color:#5a2018; letter-spacing:.2px;
  position: relative; padding-left: 16px;
}
.mpb-wrap .mpb-subhead::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:10px; height:2px; border-radius:999px;
  background: linear-gradient(90deg, var(--mpb-brand, #8b2e24), #b4473a);
}
.mpb-wrap .mpb-fine{ color:#6b4b46; margin:0 0 10px; }
.mpb-wrap .mpb-info-figure{
  margin: 6px 0 0; padding: 0;
  max-width: 440px; width: 100%;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.06), inset 0 0 0 1px #f1e6e4;
}
.mpb-wrap .mpb-info-figure img{
  width:100%; height:auto; display:block; object-fit: contain;
}

/* ===== Responsive ===== */
@media (max-width: 840px){
  .mpb-wrap .mpb-media--banner{ height: 110px; }
  .mpb-wrap .mpb-media--eoi,
  .mpb-wrap .mpb-media--liability,
  .mpb-wrap .mpb-media--mfap{ height: 180px; padding: 8px; }
  .mpb-wrap .mpb-info-figure{ max-width: 100%; }
}

.mpb-card { scroll-margin-top: 110px; } /* adjust to your sticky header height */

.mpb-card.mpb-hit,
.mpb-card:target {
  box-shadow: 0 0 0 2px #d19d00 inset, 0 16px 42px rgba(0,0,0,.12);
  animation: mpbFlash 1.2s ease-out;
}
@keyframes mpbFlash {
  0%   { background-color: rgba(244,197,66,.15); }
  100% { background-color: transparent; }
}/* End custom CSS */