/* RedOwl Newsroom: index, article template. Uses site tokens; hero uses the editorial off-white. */
.nr-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF0000; margin: 0 0 1rem; }
.nr-hero { background: #F8FAFC; color: #161C16; padding: 72px 0 64px; position: relative; overflow: hidden; border-bottom: 1px solid #AAC1BF; }
.nr-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#AAC1BF 1px, transparent 1px); background-size: 100% 64px; opacity: .22; mask-image: linear-gradient(90deg, transparent 40%, #161C16); }
.nr-hero .container { position: relative; z-index: 1; }
.nr-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 15ch; margin: 0 0 1.25rem; color: #161C16; }
.nr-lede { font-size: 1.15rem; line-height: 1.6; max-width: 56ch; color: #232B22; margin: 0; }
[data-theme="dark"] .nr-hero { background: var(--bg-surface-elevated); color: var(--text-primary); border-color: var(--border-strong); }
[data-theme="dark"] .nr-hero h1 { color: var(--text-primary); }
[data-theme="dark"] .nr-lede { color: var(--text-secondary); }

.nr-frame { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--bg-surface-inset); border: 1px solid var(--border-subtle); border-radius: 0.125rem; overflow: hidden; }
.nr-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.nr-frame.nr-broken img { display: none; }
.nr-frame.nr-broken::after { content: "RedOwl Newsroom"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; color: var(--text-muted); }
.nr-meta { display: flex; gap: .75rem; align-items: center; font-size: .78rem; color: var(--text-muted); font-variant-numeric: tabular-nums; margin: 0; }
.nr-cat { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-primary); }
.nr-cat::after { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #FF0000; margin-left: .75rem; vertical-align: middle; }

.nr-lead-wrap { padding: 56px 0 24px; }
.nr-lead-link { display: grid; grid-template-columns: 60fr 40fr; gap: 40px; align-items: center; color: inherit; text-decoration: none; }
.nr-lead h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; margin: .9rem 0; }
.nr-lead p { color: var(--text-secondary); line-height: 1.6; margin: 0 0 1.5rem; }
.nr-lead-btn { display: inline-flex; gap: .5rem; align-items: center; border-radius: 0.125rem; }
.nr-lead-link:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nr-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-subtle); }

.nr-archive, .nr-related { padding: 56px 0 72px; }
.nr-arch-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 20px; }
.nr-arch-head h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0; }
.nr-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.nr-chip { font: inherit; font-size: .82rem; padding: .45rem .8rem; border-radius: 0.125rem; border: 1px solid var(--border-strong); background: transparent; color: var(--text-secondary); cursor: pointer; }
.nr-chip:hover { color: var(--text-primary); border-color: var(--text-muted); }
.nr-chip[aria-pressed="true"] { background: var(--text-primary); color: var(--bg-main); border-color: var(--text-primary); }
.nr-chip:focus-visible, .nr-card-link:focus-visible, .nr-lead-link:focus-visible, .nr-share-btn:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; }
.nr-count { font-size: .82rem; color: var(--text-muted); margin: 0 0 20px; }
.nr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.nr-card { transition: opacity .25s ease, transform .25s ease; }
.nr-card.is-out { opacity: 0; transform: translateY(6px); }
.nr-card-link { display: flex; flex-direction: column; gap: .75rem; height: 100%; color: inherit; text-decoration: none; border-radius: 0.125rem; }
.nr-card-title { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.nr-card-sum { font-size: .9rem; line-height: 1.55; color: var(--text-secondary); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nr-more { margin-top: auto; display: inline-flex; gap: .4rem; align-items: center; font-size: .85rem; font-weight: 600; color: var(--text-primary); }
.nr-card-link:hover .nr-card-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.nr-card-link:hover .nr-more svg { color: #FF0000; transform: translateX(2px); }
.nr-more svg { transition: transform .2s; }
.nr-empty { padding: 48px 0; text-align: center; color: var(--text-secondary); }
.nr-reset { font: inherit; background: none; border: 0; color: var(--text-primary); text-decoration: underline; cursor: pointer; }

.nr-press { background: #161C16; color: #F5F5ED; padding: 64px 0; position: relative; overflow: hidden; }
.nr-press::before { content: ""; position: absolute; inset: 0; background: url(/assets/newsroom/grid-white.png) center / cover; opacity: .05; pointer-events: none; }
.nr-press-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; }
.nr-press h2 { font-size: 1.8rem; letter-spacing: -.02em; margin: 0 0 .5rem; color: #F5F5ED; }
.nr-press p:not(.nr-eyebrow) { color: rgba(248, 250, 252,.75); max-width: 52ch; margin: 0; line-height: 1.6; }
.nr-press .btn { border-radius: 0.125rem; }

/* Article */
.nr-art-head { max-width: 880px; padding-top: 48px; }
.nr-crumbs { display: flex; gap: .5rem; font-size: .82rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.nr-crumbs a { color: var(--text-secondary); text-decoration: none; }
.nr-crumbs a:hover { color: var(--text-primary); text-decoration: underline; }
.nr-art-head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 1rem 0 2rem; }
.nr-art-hero { max-width: 1000px; margin-bottom: 48px; }
.nr-body { max-width: 720px; margin: 0 auto; padding: 0 20px; font-size: 1.06rem; line-height: 1.75; color: var(--text-primary); }
.nr-body p { margin: 0 0 1.1rem; }
.nr-body h2 { font-size: 1.5rem; margin: 2rem 0 1rem; letter-spacing: -.01em; }
.nr-body h3 { font-size: 1.2rem; margin: 1.75rem 0 .75rem; }
.nr-body ul, .nr-body ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
.nr-body li { margin-bottom: .4rem; }
.nr-body a { color: var(--text-primary); text-decoration: underline; text-decoration-color: #FF0000; text-underline-offset: 3px; }
.nr-body blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 2px solid #FF0000; color: var(--text-secondary); font-style: italic; }
.nr-body figure { margin: 1.5rem 0; }
.nr-body img { max-width: 100%; height: auto; border-radius: 0.125rem; display: block; }
.nr-art-foot { box-sizing: border-box; width: calc(100% - 40px); max-width: 680px; margin: 40px auto 0; padding: 24px 0 8px; background: transparent !important; background-image: none !important; border-top: 1px solid var(--border-subtle); display: flex; justify-content: flex-start; gap: 16px; flex-wrap: wrap; align-items: center; }
.nr-art-foot .nr-share > span { margin-right: 4px; font-weight: 500; }
.nr-source { margin: 0; font-size: .88rem; color: var(--text-secondary); }
.nr-share { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--text-muted); }
.nr-share-btn { font: inherit; font-size: .82rem; padding: .4rem .7rem; border: 1px solid var(--border-strong); border-radius: 0.125rem; background: transparent; color: var(--text-primary); text-decoration: none; cursor: pointer; }
.nr-share-btn:hover { border-color: var(--text-muted); }
.nr-all { display: inline-flex; gap: .4rem; align-items: center; font-size: .88rem; font-weight: 600; color: var(--text-primary); text-decoration: none; }
.nr-related { margin-top: 56px; background: var(--bg-surface-elevated); }

@media (max-width: 900px) { .nr-lead-link { grid-template-columns: 1fr; gap: 24px; } .nr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .nr-hero { padding: 48px 0; } .nr-rail, .nr-grid { grid-template-columns: 1fr; } .nr-archive, .nr-related { padding: 40px 0 48px; } }
@media (prefers-reduced-motion: reduce) { .nr-card, .nr-more svg { transition: none; } }
.nr-article-page, #main { position: relative; z-index: 1; } /* sit above the fixed ambient glow layer */
.nr-share-icon { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.nr-share-icon:hover { color: var(--brand-red, #FF0000); border-color: currentColor; }
.nr-share-icon.is-copied { color: #10B981; border-color: currentColor; }
.nr-press .nr-eyebrow { margin-bottom: 0; }
html:not([data-theme="dark"]) footer.nr-art-foot { background: transparent !important; background-image: none !important; }
