/* =========================================================
   Business Impact — Editorial Clone (Scoped)
   File: business-impact-editorial.css
   ========================================================= */

#business-impact-editorial {
  position: relative;
}

/* ---------- Grid Layout ---------- */

#business-impact-editorial .biz-portfolio {
  margin-top: 1.75rem;
}

#business-impact-editorial .biz-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(3, minmax(140px, 1fr));
  gap: 14px;
}

/* Feature tile (JBS) */
#business-impact-editorial .biz-feature {
  grid-column: 1;
  grid-row: 1 / span 3;
  min-height: 460px;
}

/* Right column tiles */
#business-impact-editorial .biz-small {
  grid-column: 2;
  min-height: 150px;
}

/* ---------- Tile Base ---------- */

#business-impact-editorial .biz-tile {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;

  /* 🔑 THIS is what makes the background images appear */
  /*background-image: var(--biz-img);*/
  background-size: cover;
  background-position: center;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Subtle background zoom illusion */
#business-impact-editorial .biz-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background-image: var(--biz-img);*/
  background-size: 108%;
  background-position: center;
  transform: scale(1);
  transition: transform 260ms ease;
  z-index: 0;
}

/* ---------- Overlay ---------- */

#business-impact-editorial .biz-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.55) 60%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 193, 7, 0.10),
      transparent 55%
    );
}

/* ---------- Glass Brand Chip ---------- */

#business-impact-editorial .biz-chip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 16px;
  padding: 12px 14px;
}

/* JBS Logo */
#business-impact-editorial .biz-logo {
  max-width: 190px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

/* ---------- Text Lockups ---------- */

#business-impact-editorial .biz-eyebrow {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.9;
  margin-bottom: 6px;
}

#business-impact-editorial .biz-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.05;
}

/* Decorative monogram */
#business-impact-editorial .biz-monogram {
  position: absolute;
  right: 14px;
  bottom: 6px;
  font-family: "Playfair Display", serif;
  font-size: 54px;
  opacity: 0.08;
  pointer-events: none;
}

/* ---------- Hover / Focus ---------- */

#business-impact-editorial .biz-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

#business-impact-editorial .biz-tile:hover::before {
  transform: scale(1.04);
}

#business-impact-editorial .biz-tile:focus-visible {
  outline: none;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 0 0 3px rgba(255, 193, 7, 0.55);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 991.98px) {
  #business-impact-editorial .biz-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  #business-impact-editorial .biz-feature {
    grid-column: 1 / span 2;
    grid-row: 1;
    min-height: 320px;
  }

  #business-impact-editorial .biz-small {
    min-height: 170px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  #business-impact-editorial .biz-grid {
    grid-template-columns: 1fr;
  }

  #business-impact-editorial .biz-feature,
  #business-impact-editorial .biz-small {
    grid-column: 1;
    min-height: 220px;
  }
}

/* ============================
   RCB Background Image
   ============================ */

#business-impact-editorial .biz-rcb {
  background-image: url("../images/bg-rcb.png");
  background-size: cover;
  background-position: center;
}

/* Optional subtle zoom layer */
#business-impact-editorial .biz-rcb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-rcb.png");
  background-size: 108%;
  background-position: center;
  transition: transform 260ms ease;
  z-index: 0;
}

/* ============================
   LFM Background Image
   ============================ */

#business-impact-editorial .biz-lfm {
  background-image: url("../images/bg-lfm.png");
  background-size: cover;
  background-position: center 35%;
}

/* Optional subtle zoom layer */
#business-impact-editorial .biz-lfm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-lfm.png");
  background-size: 108%;
  background-position: center 35%;
  transition: transform 260ms ease;
  z-index: 0;
}

/* ============================
   HFR Background Image
   ============================ */

#business-impact-editorial .biz-hfr {
  background-image: url("../images/bg-h365.png");
  background-size: cover;
  background-position: center 25%;
}

/* Optional subtle zoom layer */
#business-impact-editorial .biz-hfr::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-h365.png");
  background-size: 108%;
  background-position: center 25%;
  transition: transform 260ms ease;
  z-index: 0;
}

/* ============================
   SMP Background Image
   ============================ */

#business-impact-editorial .biz-smp {
  background-image: url("../images/bg-smp.png");
  background-size: cover;
  background-position: center;
}

/* Optional subtle zoom layer */
#business-impact-editorial .biz-smp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-smp.png");
  background-size: 108%;
  background-position: center;
  transition: transform 260ms ease;
  z-index: 0;
}

/* ============================
   JWM Background Image
   ============================ */

#business-impact-editorial .biz-jwm {
  background-image: url("../images/bg-jwm.png");
  background-size: cover;
  background-position: center 15%;
}

/* Optional subtle zoom layer */
#business-impact-editorial .biz-jwm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-jwm.png");
  background-size: 108%;
  background-position: center 15%;
  transition: transform 260ms ease;
  z-index: 0;
}

/* ============================
   ECI Background Image
   ============================ */

#business-impact-editorial .biz-eci {
  background-image: url("../images/bg-eci.png");
  background-size: cover;
  background-position: center 40%;
}

/* Optional subtle zoom layer */
#business-impact-editorial .biz-eci::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-eci.png");
  background-size: 108%;
  background-position: center 40%;
  transition: transform 260ms ease;
  z-index: 0;
}

/* ============================
   JCB Background Image
   ============================ */

#business-impact-editorial .biz-jcb {
  background-image: url("../images/bg-jcs.png");
  background-size: cover;
  background-position: center;
}

/* Optional subtle zoom layer */
#business-impact-editorial .biz-jcb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-jcs.png");
  background-size: 108%;
  background-position: center;
  transition: transform 260ms ease;
  z-index: 0;
}

/* ============================
   Marketplace Backgrounds
   ============================ */

#business-impact-editorial .biz-fpp {
  background-image: url("../images/bg-fpp.png");
  background-size: cover;
  background-position: center;
}

#business-impact-editorial .biz-wpp {
  background-image: url("../images/bg-wpp.png");
  background-size: cover;
  background-position: center;
}

#business-impact-editorial .biz-jbs {
  background-image: url("../images/bg-jbs.png");
  background-size: cover;
  background-position: center;
}

/* Optional zoom layer for all */
#business-impact-editorial .biz-fpp::before,
#business-impact-editorial .biz-wpp::before,
#business-impact-editorial .biz-jbs::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 108%;
  background-position: center;
  z-index: 0;
}