main.nr-page[data-news-gazette][data-news-reference-match] {
  --nrm-ink: #080f34;
  --nrm-blue: #0067ed;
  --nrm-link: #0050c3;
  --nrm-line: #d4ddeb;
  --nrm-paper: #f5f8fc;
  --nrm-sans: Arial, Helvetica, sans-serif;
  --nrm-serif: Georgia, 'Times New Roman', serif;
  --ng-ink: var(--nrm-ink);
  --ng-blue: var(--nrm-blue);
  --ng-line: var(--nrm-line);
  --ng-paper: var(--nrm-paper);
  --nr-muted: #405573;
  color: var(--nrm-ink) !important;
  background: linear-gradient(125deg, #fff 0%, var(--nrm-paper) 100%) !important;
  font: 15px/1.36 var(--nrm-sans) !important;

  & a { text-underline-offset: .16em; }
  & :is(button, a, input, select, summary):focus-visible { outline: 2px solid #9a5200; outline-offset: 3px; }
  & [id] { scroll-margin-top: 85px; }

  & .nrm-hero {
    background-image: linear-gradient(98deg, #fffdf8 0%, #fffdf8f5 26%, #fffdf892 39%, #fffdf800 58%), var(--nrm-hero, linear-gradient(140deg, #e2ecf9, #aac7ec));
    background-position: center, right 48%;
    background-size: cover;
    background-color: #e8f0fb;
  }

  & :is(.nrm-hero-inner, .nrm-grid, .nrm-extras, .nr-wrap) {
    width: min(calc(100% - 36px), 1500px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  & .nrm-hero-inner {
    display: flex;
    align-items: center;
    min-height: clamp(136px, 13.7vw, 211px);
    padding: clamp(6px, .6vw, 12px) 10px 6px;
  }

  & .nrm-hero-copy { width: fit-content; max-width: min(100%, 650px); }
  & .nrm-hero h1 {
    margin: 0;
    color: #071430 !important;
    font: 800 clamp(46px, 5.15vw, 78px)/.98 var(--nrm-serif) !important;
    letter-spacing: -.05em !important;
  }

  & .nrm-hero-copy > p:not(.nrm-meta) { margin: 0 0 4px; font: 500 clamp(16px, 1.6vw, 22px)/1.16 var(--nrm-serif); }
  & .nrm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 3px 0 6px; color: #263f60; font-size: 13px; }
  & .nrm-meta svg { width: 17px; height: 17px; color: var(--nrm-blue); }
  & .nrm-hero-actions, & .nrm-lead-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
  & :is(.nrm-hero-actions, .nrm-lead-footer) > a,
  & .nrm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 33px;
    padding: 5px 14px;
    border: 1px solid var(--nrm-blue);
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(180deg, #087afa 0%, #0055d2 100%);
    font: 700 13px/1.22 var(--nrm-sans);
    text-decoration: none;
    cursor: pointer;
  }
  & .nrm-hero-actions > a { min-width: 165px; min-height: 31px; padding-block: 3px; }
  & .nrm-hero-actions > a svg, & .nrm-button svg { flex: 0 0 17px; width: 17px; height: 17px; }
  & .nrm-button[hidden] { display: none; }
  & .nrm-button.nrm-outline { color: var(--nrm-link); background: #fff; }
  & :is(.nrm-hero-actions, .nrm-lead-footer) a:hover, & .nrm-button:hover { text-decoration: underline; }

  & .nrm-grid { padding-block: 9px 8px; }
  & .nrm-main { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
  & .nrm-main :is(.nr-wrap, .nr-content) { width: auto; padding-inline: 0; }
  & .nrm-main :is(.nr-section, .nrm-lead) { min-width: 0; }

  & .nrm-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
    gap: 9px 12px;
    align-items: stretch;
    padding: clamp(8px, .9vw, 15px);
    border: 1px solid var(--nrm-line);
    border-radius: 11px;
    background: linear-gradient(160deg, #fff 0%, #f4f8fd 100%);
    box-shadow: 0 1px 1px #17365b0c;
  }
  & .nrm-lead-copy { min-width: 0; }
  & .nrm-lead h2 {
    margin: 6px 0;
    font: 800 clamp(24px, 2.5vw, 42px)/1.03 var(--nrm-serif) !important;
    letter-spacing: -.035em !important;
  }
  & .nrm-lead h2 a { color: inherit; text-decoration: none; }
  & .nrm-lead h2 a:hover { text-decoration: underline; }
  & .nrm-lead-copy p { margin: 4px 0; }
  & .nrm-lead-copy > p:not(.nrm-lead-meta) { font-size: 13px; line-height: 1.25; }
  & .nrm-lead-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    color: #fff;
    background: #bd1920;
    font: 700 11px/1.3 var(--nrm-sans);
  }
  & .nrm-lead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; color: #344c6d; font-size: 12px; }
  & .nrm-lead-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
  & .nrm-lead-notes > * { min-width: 0; padding: 5px 6px; border-radius: 7px; background: #edf5ff; font-size: 11.5px; line-height: 1.25; }
  & .nrm-lead-notes h3 { display: flex; align-items: center; gap: 4px; margin: 0 0 3px; font-size: 12px !important; line-height: 1.12 !important; }
  & .nrm-lead-notes h3 svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--nrm-blue); }
  & .nrm-lead-notes :is(ul, p) { margin: 2px 0 0; }
  & .nrm-lead-notes ul { padding-left: 13px; list-style: disc; }
  & .nrm-lead-image {
    position: relative;
    display: block;
    align-self: stretch;
    min-width: 0;
    min-height: 164px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #dceafe;
    background-position: center;
    background-size: cover;
  }
  & .nrm-lead-image:is(img), & .nrm-lead-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
  & .nrm-lead-image:has(img) > :is(a, img) { position: absolute; inset: 0; }
  & .nrm-lead-image:has(img) > a img { display: block; width: 100%; height: 100%; }
  & .nrm-lead-image figcaption { position: absolute; inset: auto 0 0; padding: 3px 7px; background: #031a36cb; color: #fff; font-size: 10px; }
  & .nrm-lead-footer { grid-column: 1 / -1; justify-content: space-between; gap: 4px 8px; padding-top: 5px; border-top: 1px solid var(--nrm-line); }
  & .nrm-lead-actions { display: flex; flex-wrap: wrap; gap: 5px; }
  & .nrm-lead-actions :is(.nrm-button, .nr-save) { min-height: 28px; }

  & .nrm-main :is(h2, h3, h4):not(.nrm-lead h2) { font-family: var(--nrm-sans) !important; letter-spacing: -.025em !important; }
  & .nrm-main .nr-heading h2 { font-size: clamp(17px, 1.65vw, 24px) !important; line-height: 1.12 !important; }
  & .nrm-main .nr-heading { margin-bottom: 5px; }
  & .nrm-main .nr-heading > a { color: var(--nrm-link); font: 700 12px/1.2 var(--nrm-sans); text-decoration: none; }
  & .nrm-main .nr-heading > a:hover { text-decoration: underline; }
  & .nrm-main .nr-heading .nr-icon { width: 21px; height: 21px; flex: 0 0 21px; padding: 0; color: var(--nrm-blue); background: transparent; }
  & .nrm-main .nr-section { padding-block: 4px 6px; border: 0; }

  & .nrm-main :is(.nr-headlines-top .hn-cards, .nr-recent-grid) {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    padding: 0;
    margin: 0;
    border: 0;
  }
  & .nrm-main .nr-headlines-top { margin-bottom: 0; border-bottom: 0; }
  & .nrm-main :is(.nr-headlines-top, #nr-recent) > .nr-meta { margin: 0 0 4px; font-size: 11px; line-height: 1.15; }
  & .nrm-main .nr-headlines-top :is(.hn-item, .hn-item + .hn-item) { min-width: 0; border: 0; }
  & .nrm-main .nr-headlines-top .hn-item:last-child:nth-child(odd) { grid-column: auto; }
  & .nrm-main :is(.nr-headlines-top .hn-story, .nr-recent-card) {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    min-width: 0;
    padding: 5px;
    border: 1px solid var(--nrm-line);
    border-radius: 9px;
    background: linear-gradient(153deg, #fff 37%, #f5f8fd);
    overflow-wrap: anywhere;
  }
  & .nrm-main :is(.hn-story, .nr-recent-card) h3 { margin: 0; font-size: clamp(13px, 1.17vw, 16px) !important; line-height: 1.13 !important; }
  & .nrm-main :is(.hn-summary, .nr-recent-summary) { margin: 0; color: #192b44; font-size: 11px; line-height: 1.2; }
  & .nrm-main :is(.hn-story:hover, .nr-recent-card:focus-within) { border-color: #7db3ff; }
  & .nrm-main .hn-source { order: 3; margin: auto 0 0; padding-top: 1px; }
  & .nrm-main :is(.hn-source, .hn-story-bottom, .nr-recent-meta, .nr-recent-source) { font-size: 10px; line-height: 1.28; }
  & .nrm-main .hn-story-bottom { order: 4; gap: 2px; padding-top: 0; flex-wrap: wrap; }
  & .nrm-main :is(.hn-read, .nr-recent-source > a) { display: none; }
  & .nrm-main :is(.hn-story:hover h3, .nr-recent-card h3 a:hover) { text-decoration: underline; }
  & .nrm-main .hn-number { display: none; }
  & .nrm-main .nrm-photo {
    display: block;
    order: -1;
    width: 100%;
    aspect-ratio: 2.25;
    min-height: 46px;
    overflow: hidden;
    margin: 0;
    border-radius: 6px;
    background-color: #e5efff;
  }
  & .nrm-main :is(img.nrm-photo, .nrm-photo img) { display: block; width: 100%; height: 100%; object-fit: cover; }
  & .nrm-main img.nrm-photo { height: auto; }
  & .nrm-main .nr-recent-meta { order: 3; margin: auto 0 0; }
  & .nrm-main .nr-recent-meta > span:first-child, & .nrm-main .nrm-story-status {
    display: inline-block;
    padding: 1px 6px;
    border: 1px solid #a1c7ff;
    border-radius: 6px;
    background: #0062e2;
    color: #fff;
    font-weight: 700;
  }
  & .nrm-main .nrm-story-status { order: -1; align-self: start; font: 700 10px/1.2 var(--nrm-sans); }
  & .nrm-main .hn-story:has(.nrm-photo) .nrm-story-status { position: absolute; inset: 8px auto auto 8px; border-color: #fff; box-shadow: 0 0 3px #091b3b66; }
  & .nrm-main .nrm-story-status.nrm-scheduled { border-color: #ffc670; background: #9d4900; }
  & .nrm-main .nr-recent-card:has(.nrm-photo) .nr-recent-meta > span:first-child { position: absolute; inset: 8px auto auto 8px; border-color: #fff; box-shadow: 0 0 3px #091b3b66; }
  & .nrm-main .nr-recent-source { order: 4; margin: 0; }

  & .nrm-main .nr-pair { gap: 8px; border: 0; }
  & .nrm-main .nr-pair > .nr-section { margin: 0; padding: 4px 0; border: 0; }
  & .nrm-main .nr-pair:has(.nr-timeline) { grid-template-columns: minmax(0, 1fr); margin: 0; }
  & .nrm-main .nr-timeline { grid-template-columns: repeat(4,minmax(0, 1fr)); gap: 5px; padding: 0; }
  & .nrm-main .nr-timeline::before, & .nrm-main .nr-timeline article::after { display: none; }
  & .nrm-main .nr-timeline article {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--nrm-line);
    border-radius: 8px;
    background: #fff;
  }
  & .nrm-main .nr-timeline article:last-child { border-bottom: 1px solid var(--nrm-line); }
  & .nrm-main .nr-timeline .nr-status { order: -1; }
  & .nrm-main .nr-timeline :is(h3, p) { margin: 0; }
  & .nrm-main .nr-timeline .nr-status[data-status="current"] { color: #0a6425; background: #eaf7e8; }
  & .nrm-main .nr-timeline .nr-status[data-status="scheduled"] { color: #004aaf; background: #e9f2ff; }
  & .nrm-main .nr-timeline .nr-status[data-status="conditional"] { color: #904600; background: #fff0dc; }
  & .nrm-main .nr-timeline .nr-status[data-status="future"] { color: #55239c; background: #f2eafe; }
  & .nrm-extras > details { min-width: 0; margin: 0; padding: 5px 8px; border: 1px solid var(--nrm-line); border-radius: 7px; background: #fff; font-size: 12px; }
  & .nrm-extras > details > summary { color: var(--nrm-link); font-weight: 700; cursor: pointer; }
  & .nrm-extras { display: flex; flex-wrap: wrap; gap: 5px; margin-block: 0 7px; }
  & .nrm-extras > details[open] { flex: 0 0 100%; }
  & .nrm-credits { color: #3d5270; font-size: 12px; }
  & .nrm-credits summary { cursor: pointer; }

  & .nr-newsletter-band { border-top: 0; background: transparent; padding: 0 0 8px; }
  & .nr-newsletter-band .newsletter-signup { --signup-accent: #fff; --signup-muted: #eef6ff; width: min(calc(100% - 24px), 1500px); margin: 0 auto; border: 0; border-radius: 9px; background: linear-gradient(110deg, #0d5ec7, #073a92 58%, #082f7a); color: #fff; }
  & .nr-newsletter-band .newsletter-signup__inner { grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr); gap: 6px 14px; padding: 7px 14px; }
  & .nr-newsletter-band .newsletter-signup__copy h2 { margin: 0; font-size: clamp(20px, 2vw, 28px) !important; color: #fff !important; }
  & .nr-newsletter-band .newsletter-signup__copy > p:last-child { margin: 2px 0 0; line-height: 1.3; font-size: 12px; }
  & .nr-newsletter-band .newsletter-signup__field { gap: 3px 6px; }
  & .nr-newsletter-band .newsletter-signup__input { min-height: 31px; padding-inline: 9px; }
  & .nr-newsletter-band .newsletter-signup__button { min-height: 31px; padding-inline: 10px; border-color: #8dbfff; background: linear-gradient(180deg, #087afa, #0055d2); color: #fff; }
  & .nr-newsletter-band .newsletter-signup__meta { margin-top: 3px; }
  & .nr-newsletter-band .newsletter-signup__status:empty { display: none; }
  & .nr-newsletter-band .newsletter-signup__eyebrow { display: none; }
}

@media (max-width: 680px) {
  main.nr-page[data-news-gazette][data-news-reference-match] {
    & :is(.nrm-hero-inner, .nrm-grid, .nrm-extras, .nr-wrap) { width: calc(100% - 24px); }
    & .nrm-hero {
      background-image: linear-gradient(93deg, #fffffff7 0%, #ffffffeb 48%, #ffffff62 100%), var(--nrm-hero, linear-gradient(140deg, #e2ecf9, #aac7ec));
      background-position: center, 66% center;
    }
    & .nrm-hero-inner { min-height: 154px; padding-inline: 0; }
    & .nrm-hero h1 { font-size: clamp(38px, 9.7vw, 58px) !important; }
    & .nrm-hero-actions > a { min-width: 0; }
    & .nrm-main :is(.nr-headlines-top .hn-cards, .nr-recent-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & .nrm-main .nr-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & .nrm-lead { grid-template-columns: minmax(0, 1fr); }
    & .nrm-lead-image { min-height: 0; aspect-ratio: 2; }
    & .nrm-lead-footer { align-items: start; }
    & .nr-newsletter-band .newsletter-signup__inner { grid-template-columns: minmax(0, 1fr); }
    & .nr-newsletter-band .newsletter-signup__field { grid-template-columns: minmax(0, 1fr) auto; }
  }
}

@media (max-width: 370px) {
  main.nr-page[data-news-gazette][data-news-reference-match] {
    & .nrm-hero-actions > a { flex: 1 0 125px; }
    & .nrm-lead-notes { grid-template-columns: minmax(0, 1fr); }
  }
}
