/* ================================================================
 * Editorial pages — Industry Updates (/industry-updates, its category
 * and article pages) and the case-studies index (/case-studies).
 *
 * Loaded only by those templates (@push('styles')). Hand-written for the
 * same reason as site.css: main.css is pre-built and emits nothing for
 * utilities its original template never used. Built on the site tokens
 * from site.css — --mm-navy, --mm-eyebrow, --mm-display — so the section
 * reads as part of the site, not a bolted-on news theme.
 *
 * Sections after the page hero already get their padding and alternating
 * soft backgrounds from site.css ("Soft brand section backgrounds"); this
 * file only styles what sits inside them.
 *
 *  1. Toolbar — search, industry chips, content-type filter
 *  2. Shared bits — kicker, meta row, category tag, content-type label
 *  3. Front page — lead story, secondary stories, latest list
 *  4. Industry index tiles
 *  5. Article cards + grid, results head, empty state, pager
 *  6. Article page — intro, figure, prose, source, share, aside
 *  7. Responsive + reduced motion
 * ================================================================ */

/* ---------------------------------------------------------------
 * 1. Toolbar
 * --------------------------------------------------------------- */
.ed-tools { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }

.ed-search {
  display: flex; align-items: center; gap: 10px; max-width: 680px;
  padding: 6px 6px 6px 18px; border-radius: 99px; background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 26, 47, .08), 0 18px 40px -30px rgba(7, 26, 47, .45);
  transition: box-shadow .3s;
}
.ed-search:focus-within { box-shadow: 0 0 0 2px var(--mm-eyebrow), 0 18px 40px -30px rgba(11, 99, 206, .5); }
.ed-search > svg { flex: none; width: 18px; height: 18px; color: #8A9AB0; }
.ed-search input {
  flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent;
  font: 500 .95rem/1.4 Inter, system-ui, sans-serif; color: var(--mm-navy);
}
.ed-search input::placeholder { color: #8A9AB0; }
.ed-search .mm-btn { min-height: 44px; padding: 0 22px; }

.ed-chips {
  display: flex; gap: 8px; margin: 0; padding: 0 0 4px; list-style: none;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.ed-chips::-webkit-scrollbar { display: none; }
.ed-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 99px; border: 1px solid rgba(7, 26, 47, .1); background: #fff;
  font: 500 .88rem/1 Inter, system-ui, sans-serif; color: #33445A; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s;
}
.ed-chip:hover { border-color: var(--mm-eyebrow); color: var(--mm-eyebrow); }
.ed-chip:focus-visible { outline: 2px solid var(--mm-eyebrow); outline-offset: 2px; }
.ed-chip.is-active { background: var(--mm-navy); border-color: var(--mm-navy); color: #fff; }
.ed-chip__count {
  padding: 3px 7px; border-radius: 99px; font-size: .72rem; font-weight: 600;
  color: var(--mm-eyebrow); background: rgba(11, 99, 206, .08);
}
.ed-chip.is-active .ed-chip__count { color: #fff; background: rgba(255, 255, 255, .16); }

.ed-types { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.ed-types__label { font: 600 .72rem/1 var(--mm-display); letter-spacing: .14em; text-transform: uppercase; color: #6B7C93; }
.ed-types a {
  display: inline-block; padding: 6px 0; border-bottom: 2px solid transparent;
  font-size: .88rem; font-weight: 500; color: #4A5D74; text-decoration: none; transition: color .25s, border-color .25s;
}
.ed-types a:hover { color: var(--mm-eyebrow); }
.ed-types a.is-active { border-color: var(--mm-eyebrow); font-weight: 600; color: var(--mm-navy); }
.ed-types a:focus-visible { outline: 2px solid var(--mm-eyebrow); outline-offset: 3px; border-radius: 2px; }

/* ---------------------------------------------------------------
 * 2. Shared bits
 * --------------------------------------------------------------- */
.ed-kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font: 600 .74rem/1.2 var(--mm-display); letter-spacing: .16em; text-transform: uppercase; color: var(--mm-eyebrow);
}
.ed-kicker::before { content: ''; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.ed-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8rem; color: #5B6B80; }

.ed-tag {
  position: relative; z-index: 2; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px;
  font: 600 .68rem/1 var(--mm-display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--mm-eyebrow); background: rgba(11, 99, 206, .08); text-decoration: none; transition: background-color .25s;
}
a.ed-tag:hover { background: rgba(11, 99, 206, .15); }
a.ed-tag:focus-visible { outline: 2px solid var(--mm-eyebrow); outline-offset: 2px; }

.ed-type { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ed-type::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ed-type--industry-news     { color: #B4410B; }
.ed-type--technology-update { color: #0B63CE; }
.ed-type--expert-article    { color: #5B3FD9; }

/* On the dark lead story */
.ed-lead .ed-tag { color: #fff; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ed-lead a.ed-tag:hover { background: rgba(255, 255, 255, .26); }
.ed-lead .ed-meta { color: rgba(234, 242, 255, .78); }
.ed-lead .ed-type { color: #9FD8FF; }

/* ---------------------------------------------------------------
 * 3. Front page
 * --------------------------------------------------------------- */
.ed-front { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }

.ed-lead {
  position: relative; isolation: isolate; overflow: hidden; display: flex; min-height: 460px;
  border-radius: 24px; background: linear-gradient(150deg, #0B2340 0%, #071A2F 60%, #030B17 100%);
  box-shadow: 0 40px 80px -45px rgba(7, 26, 47, .65);
}
.ed-lead__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.ed-lead::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 11, 23, .1) 15%, rgba(3, 11, 23, .55) 50%, rgba(3, 11, 23, .92) 100%); }
.ed-lead:hover .ed-lead__img { transform: scale(1.04); }
.ed-lead__body { align-self: flex-end; width: 100%; padding: clamp(24px, 3vw, 40px); }
.ed-lead__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 12px; border-radius: 99px;
  font: 600 .7rem/1 var(--mm-display); letter-spacing: .14em; text-transform: uppercase; color: #071A2F; background: #36D1DC;
}
.ed-lead__title { margin: 14px 0 0; max-width: 28ch; font: 600 clamp(1.5rem, 2.6vw, 2.3rem)/1.15 var(--mm-display); letter-spacing: -.03em; color: #fff; }
.ed-lead__title a { color: inherit; text-decoration: none; }
/* Stretched link: the whole story is one target, the category tag stays its own. */
.ed-lead__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ed-lead:focus-within { outline: 2px solid #36D1DC; outline-offset: 3px; }
.ed-lead__title a:focus-visible { outline: none; }
.ed-lead__excerpt {
  margin: 12px 0 0; max-width: 62ch; font-size: .98rem; line-height: 1.65; color: rgba(234, 242, 255, .8);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.ed-front__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.ed-mini {
  position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 12px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 26, 47, .06), 0 20px 44px -36px rgba(7, 26, 47, .5);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s;
}
.ed-mini:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(11, 99, 206, .18), 0 26px 50px -34px rgba(11, 99, 206, .4); }
.ed-mini:focus-within { outline: 2px solid var(--mm-eyebrow); outline-offset: 3px; }
.ed-mini__media { overflow: hidden; margin: 0; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, #0B2340, #071A2F); }
.ed-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.ed-mini__title { margin: 8px 0 0; font: 600 .98rem/1.35 var(--mm-display); letter-spacing: -.01em; }
.ed-mini__title a { color: var(--mm-navy); text-decoration: none; }
.ed-mini__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ed-mini__title a:focus-visible { outline: none; }
.ed-mini:hover .ed-mini__title a { color: var(--mm-eyebrow); }

.ed-side {
  padding: 26px 26px 10px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 26, 47, .06), 0 28px 56px -40px rgba(7, 26, 47, .5);
}
.ed-side__title { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 600 1.15rem/1.3 var(--mm-display); letter-spacing: -.015em; color: var(--mm-navy); }
.ed-pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }
.ed-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #16A34A; animation: ed-pulse 2.2s cubic-bezier(.22, .61, .36, 1) infinite; }
@keyframes ed-pulse { 0% { opacity: .8; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.6); } }

.ed-latest { margin: 0; padding: 0; list-style: none; counter-reset: ed-latest; }
.ed-latest li {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px;
  padding: 16px 0; border-top: 1px solid rgba(7, 26, 47, .08); counter-increment: ed-latest;
}
.ed-latest li::before { content: counter(ed-latest, decimal-leading-zero); font: 600 .82rem/1.55 var(--mm-display); color: var(--mm-eyebrow); }
.ed-latest a { font: 600 .98rem/1.4 var(--mm-display); letter-spacing: -.01em; color: var(--mm-navy); text-decoration: none; transition: color .25s; }
.ed-latest a:hover { color: var(--mm-eyebrow); }
.ed-latest a:focus-visible { outline: 2px solid var(--mm-eyebrow); outline-offset: 2px; border-radius: 4px; }
.ed-latest .ed-meta { margin-top: 6px; font-size: .76rem; }

/* ---------------------------------------------------------------
 * 4. Industry index tiles
 * --------------------------------------------------------------- */
.ed-industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ed-industry {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 24px 24px 22px; border-radius: 20px; background: #fff; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(7, 26, 47, .06), 0 24px 50px -40px rgba(7, 26, 47, .45);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s;
}
.ed-industry::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #2d8cff, #36D1DC); transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.ed-industry:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(11, 99, 206, .18), 0 30px 56px -34px rgba(11, 99, 206, .4); }
.ed-industry:hover::before { transform: scaleX(1); }
.ed-industry:focus-visible { outline: 2px solid var(--mm-eyebrow); outline-offset: 3px; }
.ed-industry__count { font: 600 .7rem/1 var(--mm-display); letter-spacing: .12em; text-transform: uppercase; color: var(--mm-eyebrow); }
.ed-industry__name { margin: 0; font: 600 1.1rem/1.3 var(--mm-display); letter-spacing: -.015em; color: var(--mm-navy); }
.ed-industry__desc { margin: 0; flex: 1; font-size: .9rem; line-height: 1.6; color: #4A5D74; }
.ed-industry__go { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--mm-eyebrow); }
.ed-industry__go svg { width: 15px; height: 15px; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.ed-industry:hover .ed-industry__go svg { transform: translateX(4px); }

/* ---------------------------------------------------------------
 * 5. Cards, grid, results, empty state, pager
 * --------------------------------------------------------------- */
.ed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }

.ed-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 26, 47, .06), 0 24px 50px -38px rgba(7, 26, 47, .5);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s;
}
.ed-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(11, 99, 206, .18), 0 34px 60px -34px rgba(11, 99, 206, .4); }
.ed-card:focus-within { outline: 2px solid var(--mm-eyebrow); outline-offset: 3px; }
.ed-card__media { position: relative; overflow: hidden; margin: 0; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0B2340 0%, #071A2F 70%); }
.ed-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.ed-card:hover .ed-card__media img { transform: scale(1.05); }
/* Portfolio shots are full-page screenshots: keep the top of the page. */
.ed-card__media--top img { object-position: top center; }
.ed-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(54, 209, 220, .45); }
.ed-card__placeholder svg { width: 44px; height: 44px; }
.ed-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 22px 22px; }
.ed-card__title { margin: 0; font: 600 1.1rem/1.35 var(--mm-display); letter-spacing: -.015em; }
.ed-card__title a { color: var(--mm-navy); text-decoration: none; transition: color .25s; }
.ed-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ed-card__title a:focus-visible { outline: none; }
.ed-card:hover .ed-card__title a { color: var(--mm-eyebrow); }
.ed-card__excerpt {
  margin: 0; font-size: .92rem; line-height: 1.65; color: #4A5D74;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ed-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px;
  border-top: 1px solid rgba(7, 26, 47, .08); font-size: .8rem; color: #5B6B80;
}
.ed-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--mm-eyebrow); }
.ed-card__more svg { width: 15px; height: 15px; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.ed-card:hover .ed-card__more svg { transform: translateX(4px); }

/* Pager links jump to #articles; clear the fixed glass header. */
.ed-results { scroll-margin-top: calc(var(--mm-bar-h, 64px) + 32px); }
.ed-results { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: clamp(22px, 3vw, 32px); }
.ed-results__title { margin: 0; font: 600 clamp(1.4rem, 2.3vw, 2rem)/1.2 var(--mm-display); letter-spacing: -.03em; color: var(--mm-navy); }
.ed-results__note { margin: 6px 0 0; font-size: .92rem; color: #4A5D74; }
.ed-results__clear { font-size: .88rem; font-weight: 600; color: var(--mm-eyebrow); text-decoration: none; }
.ed-results__clear:hover { text-decoration: underline; text-underline-offset: 3px; }

.ed-empty {
  max-width: 640px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) clamp(22px, 4vw, 48px); border-radius: 24px; text-align: center; background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 26, 47, .06), 0 28px 56px -40px rgba(7, 26, 47, .5);
}
.ed-empty__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 18px; color: var(--mm-eyebrow); background: rgba(11, 99, 206, .08); }
.ed-empty__icon svg { width: 28px; height: 28px; }
.ed-empty h2 { margin: 0; font: 600 1.4rem/1.25 var(--mm-display); color: var(--mm-navy); }
.ed-empty p { margin: 12px auto 0; max-width: 46ch; line-height: 1.7; color: #4A5D74; }
.ed-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

.ed-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(36px, 4vw, 52px); }
/* Direct children only: the links contain spans of their own (the arrow and
   the screen-reader "Page" text), which must not become pills too. */
.ed-pager > a,
.ed-pager > span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 99px;
  border: 1px solid rgba(7, 26, 47, .12); background: #fff; font: 600 .9rem/1 Inter, system-ui, sans-serif;
  color: var(--mm-navy); text-decoration: none; transition: border-color .25s, color .25s, background-color .25s;
}
.ed-pager > a:hover { border-color: var(--mm-eyebrow); color: var(--mm-eyebrow); }
.ed-pager > a:focus-visible { outline: 2px solid var(--mm-eyebrow); outline-offset: 2px; }
.ed-pager > [aria-current="page"] { border-color: var(--mm-navy); background: var(--mm-navy); color: #fff; }
.ed-pager > .ed-pager__gap { min-width: 24px; padding: 0; border-color: transparent; background: none; }
/* Prev / next: same circle as the numbers, arrow centred. */
.ed-pager__arrow { width: 44px; padding: 0 !important; }
.ed-pager__arrow svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.ed-pager__arrow[rel="next"]:hover svg { transform: translateX(2px); }
.ed-pager__arrow[rel="prev"]:hover svg { transform: translateX(-2px); }
@media (prefers-reduced-motion: reduce) { .ed-pager__arrow svg { transition: none; } }

/* ---------------------------------------------------------------
 * 6. Article page
 * --------------------------------------------------------------- */
.ed-preview {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 14px 18px; border-radius: 14px;
  font-size: .92rem; font-weight: 600; color: #7C2D12; background: #FEF3C7; border: 1px solid #FCD34D;
}

.ed-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ed-article__main { min-width: 0; }
.ed-article__intro {
  margin: 20px 0 30px; padding-left: 18px; border-left: 3px solid var(--mm-eyebrow);
  font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.7; color: var(--mm-navy);
}
.ed-figure { margin: 0 0 34px; }
.ed-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(7, 26, 47, .55); }
.ed-figure figcaption { margin-top: 10px; font-size: .82rem; color: #5B6B80; }

/* Article body. Editors write it in the CMS rich-text editor, so every tag
   it can emit is styled here rather than left to browser defaults. */
.ed-prose { max-width: 72ch; font-size: 1.04rem; line-height: 1.8; color: #33445A; overflow-wrap: break-word; }
.ed-prose > * { margin: 0; }
.ed-prose > * + * { margin-top: 1.1em; }
.ed-prose h2 { margin-top: 2em; font: 600 clamp(1.35rem, 2vw, 1.7rem)/1.25 var(--mm-display); letter-spacing: -.025em; color: var(--mm-navy); scroll-margin-top: 110px; }
.ed-prose h3 { margin-top: 1.7em; font: 600 1.18rem/1.35 var(--mm-display); letter-spacing: -.015em; color: var(--mm-navy); scroll-margin-top: 110px; }
.ed-prose h4 { margin-top: 1.5em; font: 600 1.02rem/1.4 var(--mm-display); color: var(--mm-navy); }
.ed-prose .lead { font-size: 1.1rem; color: var(--mm-navy); }
.ed-prose strong, .ed-prose b { font-weight: 600; color: var(--mm-navy); }
.ed-prose a { color: var(--mm-eyebrow); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ed-prose a:hover { text-decoration-thickness: 2px; }
.ed-prose ul, .ed-prose ol { padding-left: 1.35em; }
.ed-prose ul { list-style: disc; }
.ed-prose ol { list-style: decimal; }
.ed-prose li + li { margin-top: .45em; }
.ed-prose li::marker { color: var(--mm-eyebrow); }
.ed-prose blockquote {
  margin-block: 1.6em; padding: 18px 22px; border-left: 3px solid #36D1DC; border-radius: 0 14px 14px 0;
  font-style: italic; color: var(--mm-navy); background: #F4F8FD;
}
.ed-prose img, .ed-prose video, .ed-prose iframe { max-width: 100%; height: auto; border-radius: 14px; }
.ed-prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .94rem; }
.ed-prose th, .ed-prose td { padding: 10px 12px; border: 1px solid rgba(7, 26, 47, .12); text-align: left; vertical-align: top; }
.ed-prose th { font-weight: 600; color: var(--mm-navy); background: #F4F8FD; }
.ed-prose code { padding: 2px 6px; border-radius: 6px; font-size: .9em; background: #EEF3FA; }
.ed-prose pre { overflow-x: auto; padding: 16px 18px; border-radius: 14px; font-size: .9rem; line-height: 1.6; color: #EAF2FF; background: #071A2F; }
.ed-prose pre code { padding: 0; background: none; color: inherit; }
.ed-prose hr { height: 1px; margin-block: 2em; border: 0; background: rgba(7, 26, 47, .12); }

.ed-source {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 20px 22px; border-radius: 18px;
  background: #F4F8FD; border: 1px solid rgba(11, 99, 206, .14);
}
.ed-source__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--mm-eyebrow); background: rgba(11, 99, 206, .1); }
.ed-source__icon svg { width: 20px; height: 20px; }
.ed-source p { margin: 0; font-size: .93rem; line-height: 1.65; color: #4A5D74; }
.ed-source strong { display: block; margin-bottom: 4px; font: 600 .74rem/1.2 var(--mm-display); letter-spacing: .14em; text-transform: uppercase; color: var(--mm-eyebrow); }
.ed-source a { font-weight: 600; color: var(--mm-navy); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.ed-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(7, 26, 47, .1); }
.ed-share__label { margin-right: 6px; font: 600 .74rem/1 var(--mm-display); letter-spacing: .14em; text-transform: uppercase; color: #6B7C93; }
.ed-share a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(7, 26, 47, .12); color: var(--mm-navy); background: #fff;
  transition: background-color .25s, color .25s, border-color .25s, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.ed-share a:hover { transform: translateY(-2px); border-color: var(--mm-navy); color: #fff; background: var(--mm-navy); }
.ed-share a:focus-visible { outline: 2px solid var(--mm-eyebrow); outline-offset: 2px; }
.ed-share svg { width: 17px; height: 17px; }

.ed-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.ed-box { padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(7, 26, 47, .06), 0 24px 50px -40px rgba(7, 26, 47, .5); }
.ed-box__title { margin: 0 0 12px; font: 600 1rem/1.3 var(--mm-display); letter-spacing: -.01em; color: var(--mm-navy); }
.ed-facts { margin: 0; }
.ed-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(7, 26, 47, .08); font-size: .88rem; }
.ed-facts dt { color: #5B6B80; }
.ed-facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--mm-navy); }
.ed-facts a { color: var(--mm-eyebrow); text-decoration: none; }
.ed-facts a:hover { text-decoration: underline; }
.ed-links { margin: 0; padding: 0; list-style: none; }
.ed-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0;
  border-top: 1px solid rgba(7, 26, 47, .08); font-size: .9rem; font-weight: 500; color: var(--mm-navy); text-decoration: none; transition: color .25s;
}
.ed-links a:hover, .ed-links a[aria-current="page"] { color: var(--mm-eyebrow); }
.ed-links span { font-size: .76rem; font-weight: 600; color: #8A9AB0; }
.ed-box--navy {
  color: #EAF2FF; box-shadow: 0 40px 80px -45px rgba(7, 26, 47, .7);
  background: radial-gradient(90% 80% at 100% 0%, rgba(54, 209, 220, .2), transparent 60%), linear-gradient(150deg, #0B2340 0%, #071A2F 60%, #030B17 100%);
}
.ed-box--navy .ed-box__title { font-size: 1.15rem; color: #fff; }
.ed-box--navy p { margin: 0 0 18px; font-size: .92rem; line-height: 1.65; color: rgba(234, 242, 255, .74); }
.ed-box--navy .mm-btn { width: 100%; }

/* ---------------------------------------------------------------
 * 7. Responsive + reduced motion
 * --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .ed-front, .ed-article { grid-template-columns: minmax(0, 1fr); }
  .ed-aside { position: static; }
  .ed-lead { min-height: 400px; }
}
@media (max-width: 640px) {
  .ed-grid, .ed-front__more { grid-template-columns: minmax(0, 1fr); }
  .ed-lead { min-height: 360px; border-radius: 18px; }
  .ed-mini { grid-template-columns: 88px minmax(0, 1fr); }
  .ed-search { padding-left: 14px; }
  .ed-search .mm-btn { padding: 0 16px; }
  .ed-side { padding: 22px 20px 6px; }
  .ed-source { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-lead__img, .ed-card, .ed-card__media img, .ed-mini, .ed-industry, .ed-industry::before,
  .ed-industry__go svg, .ed-card__more svg, .ed-share a { transition: none; }
  .ed-lead:hover .ed-lead__img, .ed-card:hover .ed-card__media img { transform: none; }
  .ed-card:hover, .ed-mini:hover, .ed-industry:hover, .ed-share a:hover { transform: none; }
  .ed-pulse::after { animation: none; }
}
