/* AGS Newsroom. Built on the site tokens in site.css; dark editorial hero and wire, light story grid. */
.nr-hero h1 em { color: var(--gold); font-style: italic; }
.nr-updated { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }

.nr-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.nr-meta time { letter-spacing: 0.04em; text-transform: none; color: var(--text-muted); font-weight: 400; }
.nr-tag { color: var(--gold); }
.nr-badge { background: var(--gold); color: #0a0a0a; padding: 4px 10px; letter-spacing: 0.14em; }

.nr-lead-row { max-width: calc(var(--max-width) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); }
.nr-lead { border-top: 2px solid var(--gold-dim); padding-top: 28px; }
.nr-lead h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; margin-bottom: 20px; }
.nr-lead h2 a:hover { color: var(--gold-bright); }
.nr-dek { font-size: 18px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 24px; }
.nr-agsview { border-left: 2px solid var(--gold); background: var(--bg-elevated); padding: 22px 26px; margin: 8px 0 22px; }
.nr-agsview-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.nr-agsview-text { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--text); }
.nr-datadesk { border-top: 2px solid var(--gold-dim); padding-top: 28px; }
.nr-datadesk dl { margin: 0; }
.nr-dd-row { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--border); }
.nr-dd-row:first-child { border-top: 0; }
.nr-dd-row dt { font-family: var(--serif); font-size: 34px; color: var(--gold); min-width: 104px; line-height: 1.1; }
.nr-dd-row dd { margin: 0; font-size: 15px; color: var(--text-secondary); }

.nr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.nr-head .h2 { margin-bottom: 0; }
.nr-count { font-size: 14px; color: var(--text-muted); }
.nr-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.nr-filters button { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0.04em; padding: 10px 16px; min-height: 44px; cursor: pointer; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); }
.nr-filters button:hover { border-color: var(--gold); }
.nr-filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.nr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.nr-card { background: var(--bg-card); border: 1px solid var(--border); border-top: 2px solid var(--gold-dim); padding: 28px; display: flex; flex-direction: column; }
.nr-card[hidden] { display: none; }
.nr-card h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; margin-bottom: 12px; }
.nr-card h3 a:hover { color: var(--gold); }
.nr-card p { font-size: 15.5px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 14px; }
.nr-card .nr-view { font-size: 14.5px; border-left: 2px solid var(--gold); padding-left: 12px; color: var(--text); }
.nr-card .nr-view strong { display: block; font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.nr-source { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--gold); }
.nr-source:hover { text-decoration: underline; }

.nr-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #d33a2c; margin-right: 10px; box-shadow: 0 0 0 0 rgba(211, 58, 44, 0.6); animation: nr-pulse 2s infinite; }
@keyframes nr-pulse { 0% { box-shadow: 0 0 0 0 rgba(211, 58, 44, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(211, 58, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(211, 58, 44, 0); } }
@media (prefers-reduced-motion: reduce) { .nr-live { animation: none; } }
.nr-wire { list-style: none; margin: 28px 0 0; border-top: 1px solid var(--border); }
.nr-wire li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.nr-wire li[hidden] { display: none; }
.nr-wire-time { font-size: 13px; color: var(--text-muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.nr-wire-tag { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.nr-wire-tag .nr-badge { margin-right: 8px; font-size: 10.5px; padding: 2px 7px; }
.nr-wire a.nr-wire-h { font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--text); }
.nr-wire a.nr-wire-h:hover { color: var(--gold-bright); }
.nr-wire-src { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.nr-wire-dek { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 6px 0 0; max-width: 68ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nr-keypoints { background: var(--bg-elevated); border-top: 2px solid var(--gold); padding: 20px 26px 8px; margin: 0 0 30px; }
.nr-keypoints-label { font-family: var(--sans, inherit); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; font-weight: 600; }
.nr-keypoints ul { margin: 0; padding-left: 20px; }
.nr-keypoints li { margin: 0 0 12px; line-height: 1.55; }
.nr-wire-loading { display: block !important; padding: 18px 0; }
.nr-more { margin-top: 24px; }

.nr-sub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.nr-form fieldset { border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.nr-form legend { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.nr-letter { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; padding: 16px; border: 1px solid var(--border-strong); background: var(--bg-card); cursor: pointer; }
.nr-letter input { grid-row: span 3; margin-top: 4px; accent-color: #7d5f2a; }
.nr-letter-name { font-family: var(--serif); font-size: 17px; }
.nr-letter-freq { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.nr-letter-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-top: 4px; }
.nr-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.nr-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.nr-fields input, .nr-fields select { font: 15px var(--sans); padding: 12px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); min-height: 46px; text-transform: none; letter-spacing: 0; }
.nr-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.nr-consent input { margin-top: 4px; accent-color: #7d5f2a; }
.nr-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 16px; }
.nr-status { font-size: 14.5px; color: var(--text-secondary); }
.nr-status.err { color: #a50e0e; }
.nr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nr-sub-done { border-left: 2px solid var(--gold); padding: 18px 22px; background: var(--bg-card); }

.nr-panels .grid-2 { background: var(--border); }

.nr-narrow { max-width: 760px; margin: 0 auto; }
.nr-article-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.nr-crumbs { color: var(--text-muted); margin-bottom: 22px; }
.nr-crumbs a { color: var(--gold); }
.nr-byline { color: var(--text-muted); margin-top: 18px; }
.nr-article-body .prose p { color: var(--text); }
.nr-article-body .nr-agsview { margin: 36px 0; }
.nr-sources { list-style: none; margin: 8px 0 24px; }
.nr-sources li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.nr-correction { border-left: 2px solid #b06000; background: rgba(176, 96, 0, 0.08); padding: 14px 18px; margin-bottom: 28px; font-size: 15.5px; }
.nr-correction strong { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }

@media (max-width: 900px) {
  .nr-lead-row, .nr-sub-grid { grid-template-columns: 1fr; }
  .nr-fields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nr-form fieldset { grid-template-columns: 1fr; }
  .nr-wire li { grid-template-columns: 1fr; gap: 4px; }
  .nr-card { padding: 22px; }
}

/* ─── Editorial layout (after the Newsroom prototype) ─── */
/* Live desk ticker under the fixed nav; the hero then needs only its own top space. */
.nr-ticker { margin-top: var(--nav-height); background: #050505; border-bottom: 1px solid var(--border); font-size: 13px; }
.nr-ticker-inner { max-width: calc(var(--max-width) + 2 * var(--gutter)); margin: 0 auto; padding: 11px var(--gutter); display: flex; gap: 16px; align-items: center; min-width: 0; }
.nr-ticker-label { flex: none; display: inline-flex; align-items: center; color: var(--gold); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; }
.nr-ticker-text { color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nr-ticker-text a { color: var(--text-secondary); }
.nr-ticker-text a:hover { color: var(--gold-bright); }
.newsroom .nr-hero { padding-top: clamp(56px, 7vw, 96px); }
.nr-hero h1 { font-weight: 500; }

/* Paper section: the AGS desk's cards with the live wire as a rail. */
.nr-paper { --bg: #f7f6f2; --bg-elevated: #ffffff; --bg-card: #ffffff; --text: #111111; --text-secondary: #3a3a3a; --text-muted: #5c5c5c;
  --border: #e4e0d5; --border-strong: #bdb6a3; --gold: #7d5f2a; --gold-dim: #9e7b3f; --gold-bright: #6a4f20;
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: clamp(56px, 7vw, 96px) var(--gutter); }
.nr-paper-inner { max-width: var(--max-width); margin: 0 auto; }
.nr-paper .nr-filters button { background: #ffffff; }
.nr-paper .nr-filters button[aria-pressed="true"] { background: #0a0a0a; color: #c9a96e; border-color: #0a0a0a; }
.nr-desk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.nr-paper .nr-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.nr-paper .nr-card { border-top: 3px solid #c9a96e; }
.nr-paper .nr-card h3 { font-weight: 600; font-size: 22px; }
.nr-paper .nr-card .nr-view { background: #0a0a0a; color: #f2f2f2; border-left: 0; padding: 14px 16px; }
.nr-paper .nr-card .nr-view strong { color: #c9a96e; }
.nr-empty { background: #ffffff; border: 1px solid var(--border); border-top: 3px solid #c9a96e; padding: 28px; font-size: 16px; line-height: 1.7; color: var(--text-secondary); }

.nr-rail { background: #0a0a0a; color: #e8e4df; border-top: 3px solid #c9a96e; padding: 24px 22px; position: sticky; top: calc(var(--nav-height) + 16px); max-height: calc(100vh - var(--nav-height) - 32px); overflow: auto; }
.nr-rail-head { display: flex; align-items: center; }
.nr-rail-head h2 { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #c9a96e; }
.nr-rail-sub { font-size: 13px; color: #9d9486; margin-top: 6px; }
.nr-rail-note { font-size: 12.5px; line-height: 1.6; color: #9d9486; margin-top: 16px; }
.nr-rail .nr-wire { margin-top: 14px; border-top: 1px solid #23201d; }
.nr-rail .nr-wire li { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid #23201d; }
.nr-rail .nr-wire-time { padding: 0; font-size: 12px; color: #9d9486; }
.nr-rail .nr-wire-tag { font-size: 10.5px; color: #c9a96e; }
.nr-rail .nr-wire a.nr-wire-h { font-size: 16.5px; line-height: 1.35; color: #f2efe9; }
.nr-rail .nr-wire a.nr-wire-h:hover { color: #d4b88a; }
.nr-rail .nr-wire-src { font-size: 12px; color: #9d9486; }
.nr-wire-dek-label { font-weight: 600; color: var(--text); }
.nr-rail .nr-wire-dek-label { color: #e6e1d8; }
.nr-rail .nr-wire-dek { font-size: 13.5px; color: #b9b1a4; -webkit-line-clamp: 2; }
.nr-rail .nr-more { margin-top: 16px; }
.nr-rail .nr-more .btn { width: 100%; padding: 12px; font-size: 12px; color: #c9a96e; border-color: #9e845b; }
.nr-rail .nr-wire-loading { color: #9d9486; font-size: 14px; }

/* What the desk covers */
.nr-pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 12px; }
.nr-pillar { border-top: 2px solid var(--gold-dim); padding-top: 18px; }
.nr-pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; margin-bottom: 8px; }
.nr-pillar p { font-size: 15.5px; line-height: 1.7; color: var(--text-secondary); }

/* Dark subscribe band with gold rules */
.nr-subscribe { background: #050505; border-top: 3px solid #c9a96e; border-bottom: 3px solid #c9a96e; padding: clamp(64px, 8vw, 104px) var(--gutter); }
.nr-subscribe .nr-sub-grid { max-width: var(--max-width); margin: 0 auto; }
.nr-subscribe .h2 { font-size: clamp(30px, 3.6vw, 46px); }
.nr-sub-lede { font-size: 17px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 24px; }
.nr-sub-points { list-style: none; display: grid; gap: 12px; font-size: 15px; color: var(--text); }
.nr-sub-points li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.nr-sub-points li::before { content: ''; width: 18px; height: 1px; background: #c9a96e; flex: none; margin-top: 0.8em; } /* centred on the first line */
.nr-subscribe .nr-letter { display: block; position: relative; padding: 18px; background: #121212; border: 1px solid #3a3a3a; transition: border-color .2s, background .2s; }
.nr-subscribe .nr-letter:hover { border-color: #9e845b; }
.nr-subscribe .nr-letter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nr-subscribe .nr-letter:has(input:checked) { background: #1a1712; border-color: #c9a96e; }
.nr-subscribe .nr-letter:has(input:focus-visible) { outline: 2px solid #c9a96e; outline-offset: 2px; }
.nr-letter-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.nr-letter-box { flex: none; width: 22px; height: 22px; border: 1px solid #c9a96e; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #0a0a0a; }
.nr-letter:has(input:checked) .nr-letter-box { background: #c9a96e; }
.nr-letter:has(input:checked) .nr-letter-box::after { content: '\2713'; }
.nr-subscribe .nr-letter-name { font-size: 18px; }
.nr-subscribe .nr-letter-freq { display: block; margin-top: 6px; color: #c9a96e; }
.nr-subscribe .nr-letter-desc { display: block; margin-top: 6px; color: #cfcfcf; }
.nr-subscribe .nr-fields input, .nr-subscribe .nr-fields select { background: #161616; border-color: #4a4a4a; color: #ffffff; }
.nr-subscribe .nr-consent input { accent-color: #c9a96e; }
.nr-btn-gold { font-family: var(--sans); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; background: #c9a96e; color: #0a0a0a; border: 0; padding: 16px 36px; min-height: 52px; cursor: pointer; transition: background .2s; }
.nr-btn-gold:hover { background: #d4b88a; }
.nr-btn-gold:disabled { opacity: .6; cursor: default; }
.nr-subscribe .nr-status.err { color: #f28b82; }
.nr-subscribe .nr-sub-done { background: transparent; border: 1px solid #c9a96e; padding: 36px; text-align: center; }

@media (max-width: 1080px) {
  .nr-desk-layout { grid-template-columns: 1fr; }
  .nr-rail { position: static; max-height: none; }
  .nr-pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nr-pillar-grid { grid-template-columns: 1fr; }
  .nr-ticker-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Before the first desk story is approved, the live wire takes the full width. */
.nr-desk-empty { grid-template-columns: 1fr; }
.nr-desk-empty .nr-empty { margin-bottom: 24px; }
.nr-desk-empty .nr-rail { position: static; max-height: none; padding: 28px clamp(22px, 3vw, 40px); }
.nr-desk-empty .nr-rail .nr-wire li { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 18px 0; }
.nr-desk-empty .nr-rail .nr-wire a.nr-wire-h { font-size: 19px; }
@media (max-width: 560px) { .nr-desk-empty .nr-rail .nr-wire li { grid-template-columns: 1fr; gap: 4px; } }
