/* JMST v1.7.4 — Integrated editorial notice.
   A small, high-signal feature within the discovery section, not a full-width
   announcement band. Never fabricates an active call or deadline. */
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice {
  display:grid;
  grid-template-columns:minmax(135px, 165px) minmax(0, 1fr) auto;
  gap: clamp(15px,2vw,26px);
  align-items:center;
  min-width:0;
  margin: 0 0 22px;
  padding: 17px 20px;
  border: 1px solid #dce9ed;
  border-left: 3px solid #18798a;
  border-radius: 7px;
  background: #f6fafb;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-label {display:flex;flex-direction:column;gap:5px;min-width:0;}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-label span {
  color:#176678; font:700 11px/1.45 var(--dmi-sans);
  letter-spacing:.09em;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-label time {
  font:400 13px/1.4 var(--dmi-sans); color:#617983;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-body {min-width:0;}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-body h2 {
  font:600 clamp(18px,1.45vw,21px)/1.25 var(--dmi-serif);
  letter-spacing:-.012em; margin:0 0 4px;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-body h2 a {
  color:#102f4a; text-decoration:none;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-body h2 a:hover {
  color:#146582;text-decoration:underline;text-underline-offset:3px;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-excerpt {
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;max-height:3em;min-width:0;
  color:#516b78;font:400 14px/1.5 var(--dmi-sans);
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-excerpt > :is(p,div) {margin:0;display:inline;}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-actions {
  display:flex;flex-direction:column;align-items:flex-end;gap:4px;white-space:nowrap;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-read {
  color:#126582;font:700 14px/1.5 var(--dmi-sans);
  text-decoration:none;display:inline-flex;align-items:center;gap:8px;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-read:hover {color:#0b253a;text-decoration:underline;text-underline-offset:3px;}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-all {
  color:#647985;font:500 12px/1.5 var(--dmi-sans);text-decoration:underline;text-underline-offset:2px;
}
body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-all:hover {color:#146582;}
/* Keep the search -> notice -> quick links as one coherent content sequence. */
body.dmi-theme.dmi-header-fixed .dmi-home-surface-discovery .dmi-search-band {margin-bottom:20px;}
body.dmi-theme.dmi-header-fixed .dmi-home-surface-discovery .dmi-quick-links {margin-top:0;}
@media(max-width:1050px) {
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice {
    grid-template-columns:minmax(125px,155px) minmax(0,1fr);
    row-gap:9px;
  }
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-actions {
    grid-column:2;align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:14px;
  }
}
@media(max-width:680px) {
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice {
    display:flex; flex-direction:column;align-items:stretch;
    gap:8px; padding:15px 16px;margin-bottom:17px;
  }
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-label {flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;}
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-label span {font-size:10px;}
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-label time {font-size:12px;}
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-body h2 {font-size:19px;}
  body.dmi-theme.dmi-header-fixed .dmi-editorial-notice-actions {align-items:center;gap:15px;justify-content:space-between;}
  body.dmi-theme.dmi-header-fixed .dmi-home-surface-discovery .dmi-search-band {margin-bottom:16px;}
}
