/* MNS EDITORIAL SYSTEM · REFINED NEWS + DEEP ARTICLE · DRAFT */
.mns-editorial-single{
  --ed-midnight:#050b14;
  --ed-navy:#07182b;
  --ed-navy-2:#0b2744;
  --ed-gold:#c7952d;
  --ed-gold-2:#efd07c;
  --ed-paper:#fbf8f1;
  --ed-paper-2:#fffdf8;
  --ed-ink:#111820;
  --ed-text:#2d3743;
  --ed-muted:#748091;
  --ed-line:#ded6c8;
  --ed-line-dark:rgba(255,255,255,.12);
  background:#f5f1e8;
  color:var(--ed-ink);
}

.mns-ed-shell{
  width:min(1320px,calc(100% - 48px));
  margin-inline:auto;
}

.mns-ed-kicker,
.mns-ed-eyebrow,
.mns-ed-rail-label{
  color:var(--ed-gold);
  font-size:9px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.mns-ed-hero{
  position:relative;
  overflow:hidden;
}

.mns-ed-hero__inner{
  position:relative;
  z-index:2;
}

.mns-ed-hero h1{
  max-width:1040px;
  margin:10px 0 18px;
  color:var(--ed-ink);
  font-family:var(--mns-display,Georgia,serif);
  font-size:clamp(48px,6.4vw,84px);
  font-weight:700;
  line-height:.94;
  letter-spacing:-.055em;
}

.mns-ed-dek{
  max-width:860px;
  margin:0;
  color:#5e6876;
  font-size:18px;
  line-height:1.55;
}

.mns-ed-byline-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-top:26px;
}

.mns-ed-byline{
  display:flex;
  align-items:center;
  gap:12px;
}

.mns-ed-byline>span{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.mns-ed-byline strong{
  color:inherit;
  font-size:12px;
  font-weight:850;
  letter-spacing:.01em;
}

.mns-ed-byline small{
  color:inherit;
  opacity:.7;
  font-size:10.5px;
}

.mns-ed-pubmeta{
  text-align:right;
}

.mns-ed-pubmeta strong,
.mns-ed-pubmeta span{
  display:block;
}

.mns-ed-pubmeta strong{
  font-size:11px;
}

.mns-ed-pubmeta span{
  margin-top:3px;
  color:#7c8795;
  font-size:10px;
}

/* BRAND MARK */
.mns-ed-brandmark{
  position:relative;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 46px;
  overflow:hidden;
  border:1px solid rgba(199,149,45,.48);
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 30%,rgba(239,208,124,.15),transparent 42%),
    linear-gradient(145deg,#0b2038,#06111f);
  box-shadow:0 10px 22px rgba(6,17,31,.16);
}

.mns-ed-brandmark:before{
  content:"";
  position:absolute;
  inset:4px;
  border:1px solid rgba(239,208,124,.18);
  border-radius:50%;
}

.mns-ed-brandmark span{
  position:relative;
  z-index:1;
  color:var(--ed-gold-2);
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
  line-height:1;
}

/* NEWS HERO */
.mns-ed-hero--news{
  padding:58px 0 36px;
  border-bottom:1px solid var(--ed-line);
  background:
    linear-gradient(90deg,rgba(199,149,45,.035),transparent 34%),
    var(--ed-paper);
}

.mns-ed-hero--news:after{
  content:"MNS NEWS";
  position:absolute;
  right:-30px;
  bottom:-36px;
  color:rgba(6,17,31,.025);
  font-family:var(--mns-display,Georgia,serif);
  font-size:148px;
  font-weight:800;
  line-height:.8;
  pointer-events:none;
}

/* DEEP HERO */
.mns-ed-hero--deep{
  min-height:600px;
  display:flex;
  align-items:flex-end;
  padding:72px 0 62px;
  background:
    radial-gradient(circle at 82% 22%,rgba(199,149,45,.22),transparent 28rem),
    var(--ed-navy);
  color:#fff;
}

.mns-ed-hero--deep:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--mns-hero-image);
  background-position:center;
  background-size:cover;
  opacity:.58;
  filter:saturate(.82) contrast(1.04);
}

.mns-ed-hero__shade{
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(90deg,rgba(4,10,18,.96) 0%,rgba(4,10,18,.80) 48%,rgba(4,10,18,.22) 100%);
}

.mns-ed-hero--deep h1{
  max-width:860px;
  color:#fff;
}

.mns-ed-hero--deep .mns-ed-dek{
  max-width:760px;
  color:#d3dbe5;
}

.mns-ed-hero--deep .mns-ed-byline{
  margin-top:26px;
  color:#fff;
}

/* MASTER GRID */
.mns-ed-layout{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(270px,1fr);
  gap:48px;
  align-items:start;
  padding:42px 0 70px;
}

.mns-ed-article{
  min-width:0;
}

.mns-ed-rail{
  min-width:0;
  padding-top:1px;
}

.mns-ed-featured{
  margin:0 0 24px;
}

.mns-ed-featured img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:2px;
  background:#e2ddd3;
  box-shadow:0 18px 44px rgba(6,17,31,.08);
}

.mns-ed-featured figcaption{
  margin-top:7px;
  color:#7b8490;
  font-size:9.5px;
}

/* FAST READ */
.mns-ed-fastread{
  margin:0 0 22px;
  padding:20px 22px;
  border-top:2px solid var(--ed-gold);
  border-bottom:1px solid #e5d7b9;
  background:#fbf2df;
}

.mns-ed-fastread>span{
  display:block;
  margin-bottom:8px;
  color:#8a6111;
  font-size:9.5px;
  font-weight:950;
  letter-spacing:.1em;
}

.mns-ed-fastread__body{
  color:#2d3540;
  font-size:14px;
  line-height:1.58;
}

.mns-ed-fastread__body>:first-child{
  margin-top:0;
}

.mns-ed-fastread__body>:last-child{
  margin-bottom:0;
}

.mns-ed-fastread__body p,
.mns-ed-fastread__body li{
  font-size:14px;
  line-height:1.58;
}

.mns-ed-fastread__body ul,
.mns-ed-fastread__body ol{
  margin:8px 0 0;
  padding-left:18px;
}

/* ARTICLE BODY */
.mns-ed-content{
  padding:clamp(30px,4vw,52px);
  border-top:1px solid var(--ed-line);
  border-bottom:1px solid var(--ed-line);
  background:var(--ed-paper-2);
}

.mns-ed-content>:first-child{
  margin-top:0;
}

.mns-ed-content>:last-child{
  margin-bottom:0;
}

.mns-ed-content p,
.mns-ed-content li{
  max-width:74ch;
  color:var(--ed-text);
  font-size:17px;
  line-height:1.78;
}

.mns-ed-content h2,
.mns-ed-content h3{
  max-width:760px;
  color:#151c25;
  font-family:var(--mns-display,Georgia,serif);
  letter-spacing:-.035em;
  line-height:1.05;
}

.mns-ed-content h2{
  margin:48px 0 16px;
  font-size:clamp(31px,4vw,46px);
}

.mns-ed-content h3{
  margin:36px 0 13px;
  font-size:clamp(24px,3vw,34px);
}

.mns-ed-content img{
  max-width:100%;
  height:auto;
  border-radius:4px;
}

.mns-ed-content blockquote{
  max-width:760px;
  margin:36px 0;
  padding:10px 0 10px 26px;
  border-left:3px solid var(--ed-gold);
  color:#1d2632;
  background:none;
  font-family:var(--mns-display,Georgia,serif);
  font-size:22px;
  line-height:1.45;
}

.mns-ed-content a{
  color:#7d5910;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.mns-template-editorial .mns-ed-content>p:first-of-type:first-letter{
  float:left;
  margin:8px 10px 0 0;
  color:#111827;
  font-family:var(--mns-display,Georgia,serif);
  font-size:76px;
  line-height:.72;
}

/* STANDARDIZED EDITORIAL MODULES */
.mns-ed-module{
  max-width:100%;
  margin:34px 0;
  padding:24px 26px;
  border-top:1px solid var(--ed-line);
  border-bottom:1px solid var(--ed-line);
  background:#f8f3e9;
}

.mns-ed-module h2{
  margin:0 0 14px!important;
  font-family:var(--mns-sans,Arial,sans-serif)!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

.mns-ed-module p:last-child,
.mns-ed-module ul:last-child{
  margin-bottom:0;
}

.mns-ed-module--number{
  border-color:#dec084;
  background:#fbf1d9;
}

.mns-ed-module--number h2{
  color:#8a6111!important;
}

.mns-ed-module--number p:first-of-type{
  color:#101720;
  font-family:var(--mns-display,Georgia,serif);
  font-size:clamp(30px,4.5vw,48px);
  font-weight:700;
  line-height:1.02;
}

.mns-ed-module--lens{
  border-color:rgba(199,149,45,.35);
  background:linear-gradient(135deg,#06111f,#0b2744);
  color:#fff;
}

.mns-ed-module--lens h2{
  color:var(--ed-gold-2)!important;
}

.mns-ed-module--lens p,
.mns-ed-module--lens li{
  color:#d8e0ea;
}

.mns-ed-module--change{
  border-left:3px solid var(--ed-gold);
  background:#f7f2e8;
}

.mns-ed-module--next{
  border-left:3px solid #0b2744;
  background:#f4f5f6;
}

.mns-ed-module--source{
  background:#f1eee7;
}

.mns-ed-module--source h2{
  color:#6b655d!important;
}

.mns-ed-module--source p,
.mns-ed-module--source li{
  font-size:14px;
  line-height:1.65;
}

/* REMOVE OLD TEMPLATE FURNITURE IF A PLUGIN RE-INJECTS IT */
.mns-ed-content .mns-related-reading,
.mns-ed-content .mns-author-box{
  display:none!important;
}

/* RIGHT EDITORIAL RAIL */
.mns-ed-rail-block{
  padding:0 0 22px;
  margin:0 0 24px;
  border-bottom:1px solid var(--ed-line);
}

.mns-ed-rail-block:last-child{
  margin-bottom:0;
}

.mns-ed-rail-label{
  display:block;
  margin-bottom:12px;
}

.mns-ed-share{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.mns-ed-share a{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid var(--ed-line);
  background:#fff;
  color:#26313f!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:950;
  letter-spacing:.08em;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}

.mns-ed-share a:hover{
  border-color:var(--ed-gold);
  background:#fffaf0;
  color:#805b12!important;
}

.mns-ed-toc ol{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:mnsToc;
}

.mns-ed-toc li{
  counter-increment:mnsToc;
  display:grid;
  grid-template-columns:25px minmax(0,1fr);
  gap:8px;
  margin:0;
  padding:7px 0;
}

.mns-ed-toc li:before{
  content:counter(mnsToc,decimal-leading-zero);
  padding-top:2px;
  color:#a38550;
  font-size:8px;
  font-weight:950;
}

.mns-ed-toc a{
  color:#475364!important;
  text-decoration:none!important;
  font-size:10.5px;
  line-height:1.35;
}

.mns-ed-toc a:hover,
.mns-ed-toc a.is-active{
  color:#8b6418!important;
}

.mns-ed-category-links{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.mns-ed-category-links a{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:0 9px;
  border:1px solid #e0d6c5;
  background:#faf7f0;
  color:#5c554b!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:850;
}

.mns-ed-category-links a:hover{
  border-color:var(--ed-gold);
  color:#805b12!important;
}

.mns-ed-rail-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.mns-ed-rail-heading .mns-ed-rail-label{
  margin:0;
}

.mns-ed-rail-heading>a{
  color:#8b6418!important;
  text-decoration:none!important;
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
}

.mns-ed-rail-list{
  display:grid;
}

.mns-ed-rail-story{
  display:block;
  padding:13px 0;
  border-top:1px solid #e7dfd2;
  color:var(--ed-ink)!important;
  text-decoration:none!important;
}

.mns-ed-rail-story:first-child{
  padding-top:0;
  border-top:0;
}

.mns-ed-rail-story small,
.mns-ed-rail-story span{
  display:block;
}

.mns-ed-rail-story small{
  margin-bottom:4px;
  color:#9a701d;
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.mns-ed-rail-story strong{
  display:block;
  color:#17202a;
  font-family:var(--mns-display,Georgia,serif);
  font-size:17px;
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.02em;
}

.mns-ed-rail-story span{
  margin-top:6px;
  color:#89929d;
  font-size:8.5px;
}

.mns-ed-rail-story:hover strong{
  color:#815d15;
}

/* NOVA */
.mns-ed-nova{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:end;
  margin-top:24px;
  padding:30px;
  border:1px solid rgba(199,149,45,.30);
  background:
    radial-gradient(circle at 92% 18%,rgba(199,149,45,.20),transparent 18rem),
    linear-gradient(140deg,#05101d,#0a294a);
  color:#fff;
}

.mns-ed-nova:after{
  content:"NOVA";
  position:absolute;
  right:-12px;
  top:-28px;
  color:rgba(255,255,255,.035);
  font-family:var(--mns-display,Georgia,serif);
  font-size:128px;
  font-weight:800;
  pointer-events:none;
}

.mns-ed-nova>div,
.mns-ed-nova>a{
  position:relative;
  z-index:1;
}

.mns-ed-nova h2{
  margin:7px 0 8px;
  color:#fff;
  font-family:var(--mns-display,Georgia,serif);
  font-size:clamp(31px,4vw,44px);
  line-height:1;
}

.mns-ed-nova p{
  max-width:620px;
  margin:0;
  color:#bdc9d8;
}

.mns-ed-nova>a,
.mns-ed-newsletter>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  background:var(--ed-gold);
  color:#09121e!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:950;
  letter-spacing:.08em;
  white-space:nowrap;
}

/* BOTTOM EDITORIAL SYSTEM */
.mns-ed-bottom{
  padding:0 0 88px;
}

.mns-ed-related{
  padding-top:34px;
  border-top:1px solid var(--ed-line);
}

.mns-ed-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.mns-ed-section-head h2{
  margin:5px 0 0;
  color:#111827;
  font-family:var(--mns-display,Georgia,serif);
  font-size:38px;
  line-height:1;
}

.mns-ed-section-head>a{
  color:#875f13!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:950;
  letter-spacing:.08em;
}

.mns-ed-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.mns-ed-related-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  padding:0 0 14px;
  border-bottom:1px solid var(--ed-line);
  background:transparent;
  color:#111827!important;
  text-decoration:none!important;
}

.mns-ed-related-media{
  aspect-ratio:4/3;
  overflow:hidden;
  margin-bottom:12px;
  background:#e8e1d6;
}

.mns-ed-related-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
}

.mns-ed-related-card:hover .mns-ed-related-media img{
  transform:scale(1.018);
}

.mns-ed-related-card>span{
  color:#9a6f1c;
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.mns-ed-related-card>strong{
  margin-top:6px;
  color:#17202a;
  font-family:var(--mns-display,Georgia,serif);
  font-size:22px;
  line-height:1.06;
  letter-spacing:-.025em;
}

.mns-ed-related-card>small{
  margin-top:auto;
  padding-top:11px;
  color:#7b8491;
  font-size:9px;
}

.mns-ed-newsletter{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:26px;
  align-items:center;
  margin-top:34px;
  padding:24px 0;
  border-top:1px solid var(--ed-line);
  border-bottom:1px solid var(--ed-line);
}

.mns-ed-newsletter h2{
  margin:5px 0 4px;
  color:#121923;
  font-family:var(--mns-display,Georgia,serif);
  font-size:32px;
  line-height:1;
}

.mns-ed-newsletter p{
  margin:0;
  color:#66717f;
  font-size:13px;
}

/* TABLET */
@media(max-width:1100px){
  .mns-ed-shell{
    width:calc(100% - 32px);
  }

  .mns-ed-layout{
    grid-template-columns:1fr;
    gap:34px;
  }

  .mns-ed-rail{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 30px;
    padding-top:4px;
  }

  .mns-ed-rail-block{
    margin-bottom:22px;
  }

  .mns-ed-now{
    grid-column:1 / -1;
  }

  .mns-ed-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* MOBILE */
@media(max-width:700px){
  .mns-ed-shell{
    width:calc(100% - 24px);
  }

  .mns-ed-hero--news{
    padding:34px 0 24px;
  }

  .mns-ed-hero h1{
    font-size:clamp(37px,11vw,52px);
    line-height:.98;
  }

  .mns-ed-dek{
    font-size:15px;
  }

  .mns-ed-byline-row{
    display:block;
  }

  .mns-ed-pubmeta{
    margin:12px 0 0 58px;
    text-align:left;
  }

  .mns-ed-hero--deep{
    min-height:510px;
    padding:46px 0 36px;
  }

  .mns-ed-hero__shade{
    background:linear-gradient(180deg,rgba(4,10,18,.34),rgba(4,10,18,.96) 72%);
  }

  .mns-ed-layout{
    gap:28px;
    padding:20px 0 46px;
  }

  .mns-ed-featured img{
    border-radius:0;
  }

  .mns-ed-fastread{
    padding:17px;
  }

  .mns-ed-content{
    margin-inline:-12px;
    padding:24px 20px;
    border-left:0;
    border-right:0;
  }

  .mns-ed-content p,
  .mns-ed-content li{
    font-size:16px;
    line-height:1.7;
  }

  .mns-ed-content h2{
    margin-top:38px;
    font-size:31px;
  }

  .mns-ed-module{
    margin-inline:-4px;
    padding:21px 18px;
  }

  .mns-ed-nova{
    grid-template-columns:1fr;
    padding:24px 20px;
  }

  .mns-ed-nova>a{
    width:100%;
  }

  .mns-ed-rail{
    grid-template-columns:1fr;
    gap:0;
  }

  .mns-ed-share a{
    min-height:38px;
  }

  .mns-ed-related-grid{
    grid-template-columns:1fr;
  }

  .mns-ed-section-head h2{
    font-size:31px;
  }

  .mns-ed-newsletter{
    grid-template-columns:1fr;
    padding:22px 0;
  }

  .mns-ed-newsletter>a{
    width:100%;
  }

  .mns-template-editorial .mns-ed-content>p:first-of-type:first-letter{
    font-size:62px;
  }
}

@media(prefers-reduced-motion:reduce){
  .mns-editorial-single *{
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
