/* v172 — centre feature trio repair.
   Keeps the Editor's Note type sizes intact. The fix is card layout, title wrapping and product-image visibility. */

/* Let the three small story panels breathe without changing the Editor's Note copy size. */
.hero-grid > .column{
  height:680px !important;
  min-height:680px !important;
  grid-template-rows:repeat(3, minmax(0, 1fr)) !important;
}
.hero-grid > .lead,
.hero-grid > .bg164-editor-note{
  height:680px !important;
  min-height:680px !important;
}
.hero-grid .column .story.panel{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  padding:22px 22px 19px !important;
  overflow:hidden !important;
  background:
    linear-gradient(90deg, rgba(59,0,43,.78) 0%, rgba(103,0,75,.48) 52%, rgba(143,0,105,.20) 100%),
    radial-gradient(circle at 82% 22%, rgba(255,242,106,.18), transparent 30%),
    var(--panel-img) center/cover no-repeat !important;
}
.hero-grid .column .story.panel:after{
  background:
    linear-gradient(180deg, rgba(59,0,43,.00) 0%, rgba(59,0,43,.16) 48%, rgba(59,0,43,.44) 100%),
    radial-gradient(circle at 84% 18%, rgba(255,63,178,.12), transparent 34%) !important;
}
.hero-grid .column .story.panel .kicker{
  margin-bottom:10px !important;
  padding:6px 12px !important;
}
.hero-grid .column .story.panel h2{
  max-width:11.8ch !important;
  margin:0 0 8px !important;
  font-size:clamp(27px, 2.05vw, 34px) !important;
  line-height:.94 !important;
  letter-spacing:-.04em !important;
}
.hero-grid .column .story.panel p{
  max-width:26ch !important;
  font-size:13px !important;
  line-height:1.28 !important;
  margin:0 !important;
}

/* The first two cards now use shorter two-line display titles; this keeps their paragraph visible at zoomed widths. */
.hero-grid .column .story.panel:nth-child(1) h2,
.hero-grid .column .story.panel:nth-child(2) h2{
  max-width:10.8ch !important;
}
.hero-grid .column .story.panel:nth-child(3) h2{
  max-width:12ch !important;
}

/* Avoid clipping on the Editor's Note panel when browser zoom changes the effective width. */
.hero-grid > .bg164-editor-note{
  overflow:visible !important;
}

@media (max-width:1420px){
  .hero-grid > .column,
  .hero-grid > .lead,
  .hero-grid > .bg164-editor-note{
    height:700px !important;
    min-height:700px !important;
  }
  .hero-grid .column .story.panel{
    padding:21px 20px 18px !important;
  }
  .hero-grid .column .story.panel h2{
    font-size:clamp(25px, 2.15vw, 31px) !important;
  }
  .hero-grid .column .story.panel p{
    font-size:12.5px !important;
    line-height:1.26 !important;
  }
}

@media (max-width:1180px){
  .hero-grid > .column,
  .hero-grid > .bg164-editor-note{
    height:auto !important;
    min-height:660px !important;
  }
  .hero-grid .column .story.panel h2{
    max-width:13ch !important;
  }
}

@media (max-width:900px){
  .hero-grid > .column,
  .hero-grid > .lead,
  .hero-grid > .bg164-editor-note{
    height:auto !important;
    min-height:0 !important;
  }
  .hero-grid .column .story.panel{
    min-height:230px !important;
  }
  .hero-grid .column .story.panel h2{
    max-width:16ch !important;
  }
}
