/**
 * IB Editorial Theme 1.0.5 — Live Visual QA Round 3.
 * Desktop-only refinement for UB-24 Runway Report to match the approved
 * three-column editorial reference more closely with dynamic article titles.
 */

/* -------------------------------------------------------------------------
   UB-24 — desktop desktop visual stabilization
   ------------------------------------------------------------------------- */
@media (min-width:701px){
  body.ib-et .ib-ub-page .ib-ub-ref-runway-report{
    width:min(1520px,calc(100vw - 64px))!important;
    max-width:min(1520px,calc(100vw - 64px))!important;
    margin:clamp(40px,3.6vw,68px) auto!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop{
    grid-template-columns:minmax(300px,.93fr) minmax(420px,1.03fr) minmax(370px,.97fr)!important;
    gap:clamp(24px,2vw,34px)!important;
    align-items:start!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__intro,
  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature-wrap,
  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks{
    min-height:0!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__intro h2{
    max-width:100%!important;
    font-size:clamp(66px,5.7vw,108px)!important;
    line-height:.86!important;
    letter-spacing:-.058em!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-spaced{
    margin-bottom:34px!important;
    letter-spacing:.34em!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__intro-main>p:not(.ib-ub-ref-spaced){
    max-width:295px!important;
    margin-bottom:24px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__intro-foot{
    grid-template-columns:auto minmax(96px,112px) 1px 128px minmax(120px,1fr)!important;
    gap:16px!important;
    padding-top:20px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__intro-foot strong{
    font-size:clamp(58px,4.6vw,84px)!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__intro-foot img{
    width:128px!important;
    height:96px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature-wrap{
    grid-template-rows:auto auto!important;
    gap:20px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature{
    min-height:640px!important;
    aspect-ratio:auto!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature img{
    object-position:center 18%!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature span{
    top:24px!important;
    left:24px!important;
    padding:10px 15px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    left:0!important;
    right:0!important;
    bottom:40px!important;
    padding:14px 18px 12px!important;
    background:rgba(255,255,255,.78)!important;
    backdrop-filter:saturate(115%) blur(2px)!important;
    font-size:clamp(44px,3.95vw,74px)!important;
    line-height:.84!important;
    letter-spacing:-.048em!important;
    text-wrap:balance!important;
    word-break:keep-all!important;
    overflow-wrap:anywhere!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature.is-title-long strong{
    font-size:clamp(32px,2.95vw,54px)!important;
    line-height:.9!important;
    -webkit-line-clamp:4!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature.is-title-xl strong{
    font-size:clamp(27px,2.4vw,44px)!important;
    line-height:.94!important;
    -webkit-line-clamp:4!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature.is-title-xxl strong{
    font-size:clamp(23px,1.95vw,36px)!important;
    line-height:.98!important;
    -webkit-line-clamp:4!important;
    padding-inline:16px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature em{
    bottom:14px!important;
    letter-spacing:.24em!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature-caption{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:18px!important;
    min-height:72px!important;
    padding:0 6px!important;
    font-size:14px!important;
    line-height:1.5!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature-caption a{
    justify-self:start!important;
    white-space:nowrap!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks h3{
    margin-bottom:18px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks-grid{
    gap:10px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks-grid a{
    min-height:286px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks-grid a:nth-child(n+3){
    min-height:228px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks-grid a span{
    top:10px!important;
    left:12px!important;
    font-size:17px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__note{
    margin-top:14px!important;
    grid-template-columns:minmax(0,1fr) 128px!important;
    gap:16px!important;
    align-items:end!important;
    min-height:142px!important;
    padding:16px 18px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__note p{
    font-size:13px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__note img{
    width:128px!important;
    height:92px!important;
  }
}

/* Smaller laptops: keep the same editorial rhythm without the oversized hero */
@media (min-width:701px) and (max-width:1260px){
  body.ib-et .ib-ub-page .ib-ub-ref-runway-report{
    width:min(1180px,calc(100vw - 40px))!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop{
    grid-template-columns:minmax(250px,.88fr) minmax(360px,1.04fr)!important;
    gap:24px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__intro h2{
    font-size:clamp(56px,6.2vw,92px)!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature{
    min-height:580px!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature strong{
    font-size:clamp(38px,4.2vw,60px)!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature.is-title-long strong{
    font-size:clamp(28px,3.3vw,46px)!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature.is-title-xl strong,
  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__feature.is-title-xxl strong{
    font-size:clamp(24px,2.7vw,40px)!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks{
    grid-column:1/-1!important;
    min-height:auto!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks-grid{
    grid-template-columns:repeat(10,minmax(0,1fr))!important;
  }

  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks-grid a,
  body.ib-et .ib-ub-page .ib-ub-ref-runway-report__desktop .ib-ub-ref-runway-report__looks-grid a:nth-child(n+3){
    grid-column:span 2!important;
    min-height:220px!important;
  }
}
