/* v86 — clean editorial image architecture
   Local packaged images are first-class fallbacks and remain in normal document flow.
   No nth-child positioning, opacity hacks, containment tricks, or forced visibility rules. */
.cms-editorial-page{background:#080a0b;color:#fff}

.cms-editorial-intro{
  min-height:250px;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  align-items:stretch;
  border-bottom:1px solid #25292a;
  background:#0b0d0e;
}
.cms-editorial-intro-media{min-height:250px;overflow:hidden;position:relative;background:#111415}
.cms-editorial-intro-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.cms-editorial-intro-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.04),rgba(8,10,11,.55));pointer-events:none}
.cms-editorial-intro-copy{padding:38px clamp(30px,5vw,72px) 34px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,#111516,#080a0b)}
.cms-editorial-kicker{font-size:11px;letter-spacing:2.8px;font-weight:900;color:#ff5a16;text-transform:uppercase}
.cms-editorial-intro h1{font-size:clamp(40px,4.6vw,66px);line-height:.93;letter-spacing:-2.2px;margin:10px 0 13px;color:#fff}
.cms-editorial-intro h1 span{display:block}
.cms-editorial-intro h1 .accent{color:#ff5a16}
.cms-editorial-intro-lead{font-size:14px;line-height:1.55;color:#c9cecf;max-width:660px;margin:0}

/* Six independent editorial sections. The image is deliberately dominant without being oversized. */
.cms-editorial-section{
  display:flex;
  flex-direction:row;
  align-items:stretch;
  min-height:326px;
  border-bottom:1px solid #25292a;
  background:linear-gradient(90deg,#0a0c0d,#0d1011);
  position:relative;
  overflow:hidden;
}
.cms-editorial-section:nth-of-type(even){flex-direction:row-reverse}

.cms-editorial-section-media{
  flex:1 1 62%;
  width:62%;
  min-width:0;
  height:286px;
  align-self:center;
  margin:20px 0;
  position:relative;
  overflow:hidden;
  background:#111415;
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 18px 40px rgba(0,0,0,.34);
  isolation:isolate;
}
.cms-editorial-section-media:before{
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid rgba(255,255,255,.14);
  z-index:2;
  pointer-events:none;
}
.cms-editorial-section-media:after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:72px;
  height:72px;
  border-right:3px solid #ff5a16;
  border-bottom:3px solid #ff5a16;
  z-index:3;
  pointer-events:none;
  filter:drop-shadow(0 0 7px rgba(255,90,22,.18));
}
.cms-editorial-section-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  background:#111415;
  transition:transform .45s ease,filter .45s ease;
  filter:saturate(.98) contrast(1.03);
}
.cms-editorial-section:hover .cms-editorial-section-media img{transform:scale(1.025);filter:saturate(1.06) contrast(1.05)}

.cms-editorial-section-copy{
  flex:0 1 38%;
  width:38%;
  min-width:0;
  padding:34px clamp(34px,4vw,62px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:4;
}
.cms-editorial-section-copy:before{
  content:"";
  position:absolute;
  top:30px;
  bottom:30px;
  left:0;
  width:1px;
  background:linear-gradient(to bottom,transparent,#3a3f40 16%,#3a3f40 84%,transparent);
}
.cms-editorial-section:nth-of-type(even) .cms-editorial-section-copy:before{left:auto;right:0}
.cms-editorial-section-heading{
  font-size:clamp(26px,2.45vw,38px);
  line-height:.98;
  letter-spacing:-.9px;
  color:#fff;
  margin:0 0 13px;
}
.cms-editorial-section-heading:before{
  content:"";
  display:block;
  width:42px;
  height:3px;
  background:#ff5a16;
  margin:0 0 12px;
}
.cms-editorial-section-subheading{font-size:11px;line-height:1.25;letter-spacing:1.8px;color:#ff5a16;font-weight:900;margin:0 0 9px}
.cms-editorial-section-text{font-size:13.5px;line-height:1.58;color:#c3c8c9;max-width:540px;margin:0 0 17px}
.cms-editorial-section-cta{
  align-self:flex-start;
  border:1px solid rgba(255,90,22,.95);
  color:#fff;
  background:transparent;
  padding:9px 15px;
  font-size:9.5px;
  font-weight:900;
  letter-spacing:1.2px;
  text-transform:uppercase;
  text-decoration:none;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.cms-editorial-section-cta:hover{background:#ff5a16;color:#090b0c;transform:translateY(-1px)}

@media(max-width:1000px){
  .cms-editorial-intro{grid-template-columns:1fr;min-height:0}
  .cms-editorial-intro-media{min-height:300px;max-height:360px}
  .cms-editorial-section{min-height:290px}
  .cms-editorial-section-media{flex-basis:58%;width:58%;height:250px}
  .cms-editorial-section-copy{flex-basis:42%;width:42%;padding:28px 30px}
}

/* Mobile: one section = image, then copy. Nothing is absolutely positioned. */
@media(max-width:760px){
  .cms-editorial-intro-media{min-height:240px;max-height:none}
  .cms-editorial-intro-copy{padding:32px 24px 34px}
  .cms-editorial-section,
  .cms-editorial-section:nth-of-type(even){display:flex;flex-direction:column;min-height:0;width:100%;padding:0}
  .cms-editorial-section-media,
  .cms-editorial-section:nth-of-type(even) .cms-editorial-section-media{
    order:1;
    flex:0 0 auto;
    width:100%;
    height:220px;
    min-height:220px;
    margin:0;
    border-left:0;
    border-right:0;
  }
  .cms-editorial-section-copy,
  .cms-editorial-section:nth-of-type(even) .cms-editorial-section-copy{
    order:2;
    flex:0 0 auto;
    width:100%;
    padding:27px 24px 34px;
  }
  .cms-editorial-section-copy:before,
  .cms-editorial-section:nth-of-type(even) .cms-editorial-section-copy:before{display:none}
}

@media(max-width:520px){
  .cms-editorial-intro h1{font-size:39px}
  .cms-editorial-intro-lead{font-size:13px}
  .cms-editorial-section-media,
  .cms-editorial-section:nth-of-type(even) .cms-editorial-section-media{height:205px;min-height:205px}
  .cms-editorial-section-heading{font-size:29px}
  .cms-editorial-section-text{font-size:13px;line-height:1.52}
}
