/* Independent editorial homepage add-on. No publishing or interaction rules change. */
body.mawd-editorial-mode {
  --mawd-navy: #172b3d;
  --mawd-ink: #17212b;
  --mawd-muted: #69737d;
  --mawd-line: #d8dce0;
  --mawd-soft: #f5f5f3;
  background: #fff;
  color: #17212b;
}
body.mawd-editorial-mode .maw-preserved-header {
  position: relative;
  top: auto;
  background: #fff;
  border-bottom: 2px solid #242a30;
  box-shadow: none;
  backdrop-filter: none;
}
body.mawd-editorial-mode .maw-preserved-header-inner,
body.home.mawd-editorial-mode .maw-preserved-header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 1240px;
  min-height: 126px;
  padding: 14px 24px 0;
}
body.mawd-editorial-mode .maw-preserved-logo,
body.home.mawd-editorial-mode .maw-preserved-logo {
  display: flex;
  flex: 0 0 100%;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  padding: 4px 0 14px;
  color: #171b20;
  text-decoration: none;
}
body.mawd-editorial-mode .mawd-brand-mark { font-family: Georgia, 'Times New Roman', serif; font-size: 3.2rem; font-weight: 900; letter-spacing: -.12em; }
body.mawd-editorial-mode .mawd-brand-name { color: #171b20; font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; font-weight: 800; letter-spacing: -.04em; }
body.mawd-editorial-mode .maw-preserved-nav {
  order: 5;
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  border-top: 1px solid #d8dce0;
}
body.mawd-editorial-mode .maw-preserved-nav a { min-height: 43px; color: #27313b; font-size: .88rem; font-weight: 750; }
body.mawd-editorial-mode .maw-preserved-nav a::after { height: 2px; background: #242a30; border-radius: 0; }
body.mawd-editorial-mode .mawd-header-write { position: absolute; top: 27px; right: 163px; min-height: 34px; min-width: 66px; padding: 6px 10px; background: #202a33; box-shadow: none; border-radius: 2px; }
body.mawd-editorial-mode .mawd-header-tools { position: absolute; top: 25px; right: 18px; gap: 0; }
body.mawd-editorial-mode .mawd-header-tool { min-width: 30px; padding: 6px; color: #343d46; }
body.mawd-editorial-mode .mawd-menu-toggle { position: absolute; top: 27px; left: 20px; }
body.mawd-editorial-mode .mawd-editorial-home { width: 100%; overflow: hidden; background: #fff; }
body.mawd-editorial-mode .mawd-editorial-home a { text-decoration: none; }
body.mawd-editorial-mode .mawd-editorial-home a:hover { color: #9a4b18; }
body.mawd-editorial-mode .mawd-ed-dateline { display: flex; justify-content: space-between; max-width: 1200px; margin: auto; padding: 9px 24px; color: #6e777f; font-size: .76rem; border-bottom: 1px solid #e2e4e6; }
body.mawd-editorial-mode .mawd-ed-main { max-width: 1200px; margin: 0 auto; padding: 26px 24px 70px; }
body.mawd-editorial-mode .mawd-ed-kicker { margin: 0 0 12px; color: #a54c16; font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
body.mawd-editorial-mode .mawd-ed-visual { margin: 0 0 19px; }
body.mawd-editorial-mode .mawd-ed-visual img { display: block; width: 100%; height: 220px; object-fit: cover; background: #f3f1ed; }
body.mawd-editorial-mode .mawd-ed-visual figcaption { margin-top: 5px; color: #858d93; font-size: .68rem; line-height: 1.35; text-align: right; }
body.mawd-editorial-mode .mawd-ed-lead-visual img { height: 225px; }
body.mawd-editorial-mode .mawd-ed-analysis-visual img { height: 225px; }
body.mawd-editorial-mode .mawd-ed-clinic-visual img { height: 195px; }
body.mawd-editorial-mode .mawd-ed-lead { display: grid; grid-template-columns: 1.52fr .9fr .83fr; gap: 0; border-bottom: 3px double #29313a; }
body.mawd-editorial-mode .mawd-ed-lead > * { min-width: 0; padding: 5px 27px 28px; }
body.mawd-editorial-mode .mawd-ed-lead > :first-child { padding-left: 0; }
body.mawd-editorial-mode .mawd-ed-lead > :not(:last-child) { border-right: 1px solid #d8dce0; }
body.mawd-editorial-mode .mawd-ed-lead-story h1 { max-width: 20ch; margin: 0 0 20px; font-size: clamp(2.15rem, 3.2vw, 3.25rem); font-weight: 850; line-height: 1.18; letter-spacing: -.065em; word-break: keep-all; }
body.mawd-editorial-mode .mawd-ed-deck { max-width: 53ch; color: #505b65; font-size: .97rem; line-height: 1.7; }
body.mawd-editorial-mode .mawd-ed-byline { margin: 17px 0 27px; color: #7a838b; font-size: .78rem; }
body.mawd-editorial-mode .mawd-ed-text-link { display: inline-block; color: #263541; font-size: .82rem; font-weight: 760; }
body.mawd-editorial-mode .mawd-ed-lead-list article,
body.mawd-editorial-mode .mawd-ed-lead-aside article { padding: 15px 0 17px; border-top: 1px solid #dfe2e4; }
body.mawd-editorial-mode .mawd-ed-lead-list article:first-of-type,
body.mawd-editorial-mode .mawd-ed-lead-aside article:first-of-type { border-top: 0; padding-top: 3px; }
body.mawd-editorial-mode .mawd-editorial-home small { color: #858d93; font-size: .74rem; }
body.mawd-editorial-mode .mawd-ed-lead h2 { margin: 5px 0 0; font-size: 1.05rem; font-weight: 780; line-height: 1.44; letter-spacing: -.035em; word-break: keep-all; }
body.mawd-editorial-mode .mawd-ed-topic-nav { display: flex; align-items: center; gap: 22px; padding: 15px 0; border-bottom: 1px solid #d8dce0; overflow-x: auto; white-space: nowrap; }
body.mawd-editorial-mode .mawd-ed-topic-nav strong { color: #a54c16; font-size: .81rem; }
body.mawd-editorial-mode .mawd-ed-topic-nav a { font-size: .87rem; font-weight: 750; }
body.mawd-editorial-mode .mawd-ed-topic-nav small { margin-left: 4px; font-weight: 500; }
body.mawd-editorial-mode .mawd-ed-section { padding-top: 42px; }
body.mawd-editorial-mode .mawd-ed-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 2px solid #252d34; }
body.mawd-editorial-mode .mawd-ed-section-head .mawd-ed-kicker { margin-bottom: 4px; }
body.mawd-editorial-mode .mawd-ed-section-head h2 { margin: 0; font-size: 1.65rem; font-weight: 850; letter-spacing: -.055em; }
body.mawd-editorial-mode .mawd-ed-section-head > a { color: #68737d; font-size: .8rem; white-space: nowrap; }
body.mawd-editorial-mode .mawd-ed-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
body.mawd-editorial-mode .mawd-ed-story-grid article { min-height: 168px; padding: 21px 20px 18px 0; border-bottom: 1px solid #e1e4e6; }
body.mawd-editorial-mode .mawd-ed-story-grid article:not(:nth-child(3n)) { border-right: 1px solid #e1e4e6; margin-right: 20px; }
body.mawd-editorial-mode .mawd-ed-story-grid h3 { margin: 8px 0; font-size: 1.18rem; line-height: 1.4; font-weight: 790; letter-spacing: -.04em; word-break: keep-all; }
body.mawd-editorial-mode .mawd-ed-story-grid p { margin: 0; color: #717a82; font-size: .82rem; line-height: 1.58; }
body.mawd-editorial-mode .mawd-ed-analysis-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; }
body.mawd-editorial-mode .mawd-ed-analysis-grid article { padding: 21px 20px 20px 0; border-bottom: 1px solid #e1e4e6; }
body.mawd-editorial-mode .mawd-ed-analysis-grid article:not(:nth-child(3n)) { border-right: 1px solid #e1e4e6; margin-right: 20px; }
body.mawd-editorial-mode .mawd-ed-analysis-grid h3 { margin: 7px 0; font-size: 1.12rem; line-height: 1.43; letter-spacing: -.035em; word-break: keep-all; }
body.mawd-editorial-mode .mawd-ed-analysis-grid .mawd-ed-analysis-feature { grid-row: span 2; }
body.mawd-editorial-mode .mawd-ed-analysis-feature h3 { font-size: 1.85rem; line-height: 1.3; }
body.mawd-editorial-mode .mawd-ed-analysis-feature p { color: #68727b; font-size: .91rem; line-height: 1.65; }
body.mawd-editorial-mode .mawd-ed-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 44px; padding: 30px 0; border-top: 3px double #29313a; border-bottom: 1px solid #d8dce0; }
body.mawd-editorial-mode .mawd-ed-bottom > :first-child { border-right: 1px solid #d8dce0; padding-right: 38px; }
body.mawd-editorial-mode .mawd-ed-bottom h2 { margin: 0 0 17px; font-size: 1.5rem; }
body.mawd-editorial-mode .mawd-ed-bottom h3 { font-size: 1.08rem; }
body.mawd-editorial-mode .mawd-ed-bottom p:not(.mawd-ed-kicker) { color: #66717b; }
body.mawd-editorial-mode .mawd-ed-button { display: inline-block; margin-top: 12px; padding: 11px 20px; background: #202a33; color: white !important; font-size: .87rem; font-weight: 750; }
body.mawd-editorial-mode .mawd-ed-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 30px 24px; }
body.mawd-editorial-mode .mawd-ed-footer > a { font-family: Georgia, serif; font-weight: 850; letter-spacing: -.04em; }
body.mawd-editorial-mode .mawd-ed-footer nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8rem; }
@media (max-width: 900px) {
  body.mawd-editorial-mode .mawd-ed-lead { grid-template-columns: 1.4fr 1fr; }
  body.mawd-editorial-mode .mawd-ed-lead-aside { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; border-top: 1px solid #d8dce0; padding-left: 0; }
  body.mawd-editorial-mode .mawd-ed-lead-aside .mawd-ed-kicker, body.mawd-editorial-mode .mawd-ed-lead-aside .mawd-ed-text-link { grid-column: 1 / -1; }
  body.mawd-editorial-mode .mawd-ed-lead-aside article { border-top: 0; }
  body.mawd-editorial-mode .mawd-ed-story-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.mawd-editorial-mode .mawd-ed-story-grid article:not(:nth-child(3n)) { border-right: 0; margin-right: 0; }
  body.mawd-editorial-mode .mawd-ed-story-grid article:nth-child(odd) { border-right: 1px solid #e1e4e6; margin-right: 16px; }
  body.mawd-editorial-mode .mawd-ed-analysis-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  body.mawd-editorial-mode .maw-preserved-header-inner, body.home.mawd-editorial-mode .maw-preserved-header-inner { min-height: 68px; padding: 10px 14px; justify-content: start; }
  body.mawd-editorial-mode .maw-preserved-logo, body.home.mawd-editorial-mode .maw-preserved-logo { flex: 0 0 auto; padding: 0 0 0 42px; }
  body.mawd-editorial-mode .mawd-brand-mark { font-size: 2rem; }
  body.mawd-editorial-mode .mawd-brand-name { font-size: .75rem; }
  body.mawd-editorial-mode .mawd-menu-toggle { top: 17px; left: 10px; }
  body.mawd-editorial-mode .mawd-header-write { top: 18px; right: 56px; min-width: 53px; font-size: .76rem; }
  body.mawd-editorial-mode .mawd-header-tools { top: 16px; right: 8px; }
  body.mawd-editorial-mode .mawd-header-tools .mawd-header-tool:not(.mawd-search-trigger) { display: none; }
  body.mawd-editorial-mode .maw-preserved-nav { display: none; order: 10; flex-basis: 100%; margin-top: 12px; border-top: 1px solid #d8dce0; }
  body.mawd-editorial-mode .maw-preserved-header-inner.is-menu-open .maw-preserved-nav { display: flex; flex-direction: column; gap: 0; }
  body.mawd-editorial-mode .mawd-ed-dateline { padding: 8px 17px; font-size: .7rem; }
  body.mawd-editorial-mode .mawd-ed-main { padding: 19px 17px 45px; }
  body.mawd-editorial-mode .mawd-ed-lead { display: block; }
  body.mawd-editorial-mode .mawd-ed-lead > * { padding: 18px 0; border-right: 0 !important; border-bottom: 1px solid #d8dce0; }
  body.mawd-editorial-mode .mawd-ed-lead-story { padding-top: 5px; }
  body.mawd-editorial-mode .mawd-ed-lead-story h1 { font-size: 2.3rem; }
  body.mawd-editorial-mode .mawd-ed-lead-visual img { height: 205px; }
  body.mawd-editorial-mode .mawd-ed-analysis-visual img, body.mawd-editorial-mode .mawd-ed-clinic-visual img { height: 190px; }
  body.mawd-editorial-mode .mawd-ed-lead-aside { display: block; }
  body.mawd-editorial-mode .mawd-ed-lead-aside article { border-top: 1px solid #d8dce0; }
  body.mawd-editorial-mode .mawd-ed-story-grid, body.mawd-editorial-mode .mawd-ed-analysis-grid, body.mawd-editorial-mode .mawd-ed-bottom { display: block; }
  body.mawd-editorial-mode .mawd-ed-story-grid article, body.mawd-editorial-mode .mawd-ed-analysis-grid article { margin: 0 !important; border-right: 0 !important; min-height: 0; }
  body.mawd-editorial-mode .mawd-ed-bottom > :first-child { margin-bottom: 25px; padding: 0 0 22px; border-right: 0; border-bottom: 1px solid #d8dce0; }
  body.mawd-editorial-mode .mawd-ed-footer { display: block; padding: 26px 17px; }
  body.mawd-editorial-mode .mawd-ed-footer nav { margin: 15px 0; }
}
