/*
Theme Name: MexicoCurrent Newsroom
Theme URI: https://mexicocurrent.com/
Author: MexicoCurrent
Description: Premium Mexico-focused bilingual editorial theme for MexicoCurrent, with news SEO foundations, structured data, efficient media handling, strong navigation and performance-focused defaults.
Version: 2.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: newsroom-edge-mexico
*/

:root {
  --nr-bg: #ffffff;
  --nr-surface: #f5f6f8;
  --nr-text: #15171a;
  --nr-muted: #69707a;
  --nr-line: #dfe3e8;
  --nr-accent: #c5161d;
  --nr-accent-dark: #931017;
  --nr-max: 1240px;
  --nr-reading: 760px;
  --nr-radius: 12px;
  --nr-shadow: 0 8px 30px rgba(20, 24, 30, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nr-bg);
  color: var(--nr-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--nr-accent); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000; }

.nr-container { width: min(calc(100% - 32px), var(--nr-max)); margin-inline: auto; }
.nr-reading { width: min(calc(100% - 32px), var(--nr-reading)); margin-inline: auto; }
.nr-section { padding: 34px 0; border-top: 1px solid var(--nr-line); }
.nr-section:first-child { border-top: 0; }
.nr-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.nr-section-title { margin: 0; font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.1; letter-spacing: -.025em; }
.nr-kicker { color: var(--nr-accent); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nr-muted { color: var(--nr-muted); }

.nr-topbar { background: #111318; color: #fff; font-size: .78rem; }
.nr-topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nr-topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nr-breaking { display: flex; align-items: center; min-width: 0; overflow: hidden; gap: 10px; }
.nr-breaking-label { flex: 0 0 auto; background: var(--nr-accent); padding: 3px 8px; border-radius: 999px; font-weight: 800; }
.nr-breaking a { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.nr-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--nr-line); backdrop-filter: blur(10px); }
.nr-header-main { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.nr-brand { font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 900; letter-spacing: -.045em; min-width: 0; }
.nr-brand-mark { color: var(--nr-accent); }
.nr-brand .custom-logo-link { display: flex; align-items: center; }
.nr-brand .custom-logo { width: auto; height: auto; max-width: 260px; max-height: 54px; object-fit: contain; }
.nr-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 22px; align-items: center; justify-content: center; }
.nr-nav a { font-size: .92rem; font-weight: 700; }
.nr-header-actions { display: flex; align-items: center; gap: 10px; }
.nr-icon-btn { border: 1px solid var(--nr-line); background: #fff; min-width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; }
.nr-menu-toggle { display: none; }
.nr-search-panel { display: none; padding: 12px 0 18px; }
.nr-search-panel.is-open { display: block; }
.nr-search-form { display: flex; max-width: 620px; margin: 0 auto; }
.nr-search-form input { flex: 1; min-width: 0; border: 1px solid var(--nr-line); border-radius: 10px 0 0 10px; padding: 11px 13px; }
.nr-search-form button { border: 0; background: var(--nr-accent); color: #fff; padding: 0 18px; border-radius: 0 10px 10px 0; font-weight: 800; }

.nr-ad { margin: 24px auto; min-height: 90px; display: grid; place-items: center; overflow: hidden; }
.nr-ad[data-size="rectangle"] { min-height: 250px; }
.nr-ad-label { font-size: .64rem; color: #8a8f96; text-transform: uppercase; letter-spacing: .12em; text-align: center; margin-bottom: 5px; }
.nr-ad-placeholder { width: 100%; min-height: inherit; border: 1px dashed #ccd1d8; background: #fafbfc; color: #969da5; display: grid; place-items: center; font-size: .78rem; }

.nr-hero { padding: 26px 0 36px; }
.nr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .8fr); gap: 24px; }
.nr-lead { position: relative; overflow: hidden; border-radius: var(--nr-radius); background: #111; min-height: 520px; }
.nr-lead img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .82; }
.nr-lead:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.78) 100%); }
.nr-lead-content { position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(22px, 4vw, 42px); color: #fff; }
.nr-lead h1, .nr-lead h2 { margin: 7px 0 10px; line-height: 1.02; font-size: clamp(2rem, 4.1vw, 4.4rem); letter-spacing: -.045em; max-width: 920px; }
.nr-lead-excerpt { max-width: 720px; color: rgba(255,255,255,.88); font-size: 1rem; }
.nr-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--nr-muted); font-size: .78rem; }
.nr-article-dates { gap: 8px; font-size: .82rem; line-height: 1.45; }
.nr-article-dates .nr-date-item strong { color: var(--nr-text); font-weight: 700; }
.nr-article-dates time { white-space: nowrap; }
.nr-article-dates .nr-meta-separator { color: #a3a8af; }
.nr-lead .nr-meta { color: rgba(255,255,255,.76); }
.nr-side-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.nr-story-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 15px; padding-bottom: 16px; border-bottom: 1px solid var(--nr-line); }
.nr-story-card:last-child { border-bottom: 0; }
.nr-story-card img { width: 140px; aspect-ratio: 16/10; object-fit: cover; border-radius: 9px; }
.nr-story-card h3 { margin: 4px 0 8px; font-size: 1.06rem; line-height: 1.22; letter-spacing: -.015em; }
.nr-story-card--stack { display: block; padding: 0; border: 0; }
.nr-story-card--stack img { width: 100%; aspect-ratio: 16/9; margin-bottom: 10px; }
.nr-story-card--stack h3 { font-size: 1.2rem; }

.nr-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nr-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nr-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.nr-list { display: grid; gap: 18px; }
.nr-home-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.nr-sidebar { position: sticky; top: 106px; }
.nr-sidebar-box { border-top: 4px solid var(--nr-text); padding-top: 14px; margin-bottom: 30px; }
.nr-sidebar-title {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.02em;
}
.nr-sidebar-box > h3 { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.15; }
.nr-rank-list { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.nr-rank-list li { counter-increment: rank; display: grid; grid-template-columns: 34px 1fr; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--nr-line); }
.nr-rank-list li:before { content: counter(rank); color: var(--nr-accent); font-weight: 900; font-size: 1.35rem; line-height: 1; }

.nr-currency { background: #111318; color: #fff; border-radius: var(--nr-radius); overflow: hidden; box-shadow: var(--nr-shadow); }
.nr-currency-head { padding: 16px 18px 10px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.nr-currency-head h2 { margin: 0; font-size: 1rem; }
.nr-currency-base { color: #aeb5bf; font-size: .75rem; }
.nr-currency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.nr-currency-item { padding: 15px 18px; border-top: 1px solid rgba(255,255,255,.11); border-right: 1px solid rgba(255,255,255,.11); }
.nr-currency-code { display: block; color: #aeb5bf; font-size: .7rem; letter-spacing: .08em; font-weight: 800; }
.nr-currency-rate { display: block; font-size: 1.15rem; font-weight: 800; margin-top: 3px; }

.nr-archive-head { padding: 34px 0 18px; border-bottom: 1px solid var(--nr-line); }
.nr-archive-head h1 { margin: 0 0 8px; font-size: clamp(2.1rem, 4vw, 4rem); letter-spacing: -.05em; }
.nr-pagination { margin: 34px 0; }
.nr-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nr-pagination a, .nr-pagination span { border: 1px solid var(--nr-line); border-radius: 8px; padding: 8px 12px; }
.nr-pagination .current { background: var(--nr-text); color: #fff; }

.nr-article { padding: 30px 0 60px; }
.nr-article-head { width: min(calc(100% - 32px), 980px); margin: 0 auto 22px; }
.nr-article-title { margin: 7px 0 14px; font-size: clamp(2.45rem, 5vw, 4.9rem); line-height: 1.01; letter-spacing: -.05em; font-weight: 900; }
.nr-article-deck { margin: 0 0 16px; max-width: 820px; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.45; color: #474c53; }
.nr-author-row { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.nr-author-row img { width: 42px; height: 42px; border-radius: 50%; }
.nr-author-name { font-weight: 800; }
.nr-article-hero { width: min(calc(100% - 32px), 1120px); margin: 22px auto 30px; }
.nr-article-hero img { width: 100%; max-height: 700px; object-fit: cover; border-radius: var(--nr-radius); }
.nr-caption { margin-top: 7px; font-size: .76rem; color: var(--nr-muted); }
.nr-article-layout { width: min(calc(100% - 32px), 1120px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 760px) minmax(280px, 320px); gap: 40px; align-items: start; justify-content: space-between; }
.nr-article-main { min-width: 0; }
.nr-article-layout--wide { display: block; width: min(calc(100% - 32px), var(--nr-reading)); }
.nr-article-main .nr-content, .nr-article-main .nr-summary, .nr-article-main .nr-share { width: 100%; margin-left: 0; margin-right: 0; }
.nr-article-sidebar { position: sticky; top: 106px; min-width: 0; }
.nr-article-sidebar .nr-sidebar-box { margin-bottom: 26px; }
.nr-sidebar-story-list { display: grid; gap: 0; }
.nr-sidebar-story { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--nr-line); align-items: start; }
.nr-sidebar-story:first-child { padding-top: 0; }
.nr-sidebar-story:last-child { border-bottom: 0; padding-bottom: 0; }
.nr-sidebar-thumb { display: block; overflow: hidden; border-radius: 8px; background: #eef1f4; }
.nr-sidebar-thumb img { width: 104px; height: 68px; aspect-ratio: 16/10; object-fit: cover; transition: transform .2s ease; }
.nr-sidebar-story:hover .nr-sidebar-thumb img { transform: scale(1.025); }
.nr-sidebar-story-copy { min-width: 0; }
.nr-sidebar-story-kicker { margin-bottom: 4px; color: var(--nr-accent); font-size: .63rem; line-height: 1.2; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.nr-sidebar-story-title { margin: 0 0 6px; font-size: .94rem; line-height: 1.27; font-weight: 800; letter-spacing: -.015em; }
.nr-sidebar-story-title a { display: block; }
.nr-sidebar-story-meta { color: var(--nr-muted); font-size: .67rem; line-height: 1.35; }
.nr-sidebar-link { display: inline-flex; margin-top: 12px; font-size: .76rem; font-weight: 900; color: var(--nr-accent); }
.nr-sidebar-widget-area > .widget { margin-bottom: 28px; }
.nr-sidebar-widget-area .widget { border-top: 4px solid var(--nr-text); padding-top: 14px; }
.nr-sidebar-widget-area .widget + .widget { margin-top: 28px; }
.nr-sidebar-widget-area .widget-title,
.nr-sidebar-widget-area .wp-block-heading { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.15; font-weight: 900; letter-spacing: -.02em; }
.nr-sidebar-widget-area .widget ul { margin: 0; padding: 0; list-style: none; }
.nr-sidebar-widget-area .widget li { padding: 10px 0; border-bottom: 1px solid var(--nr-line); }
.nr-sidebar-widget-area .widget li:last-child { border-bottom: 0; }
.nr-sidebar-widget-area .widget a { font-weight: 700; line-height: 1.35; }
.nr-sidebar-widget-area .nr-search-form { max-width: none; margin: 0; }
.nr-sidebar-widget-area .nr-search-form input { min-width: 0; border-radius: 8px 0 0 8px; background: #fff; }
.nr-sidebar-widget-area .nr-search-form button { border-radius: 0 8px 8px 0; background: var(--nr-text); padding-inline: 15px; }
.nr-sidebar-box--recent { margin-top: 2px; }
.nr-content { width: min(calc(100% - 32px), var(--nr-reading)); margin: 0 auto; font-family: Georgia, Cambria, "Times New Roman", serif; font-size: 1.1rem; }
.nr-content > * { max-width: 100%; }
.nr-content p { margin: 0 0 1.35em; }
.nr-content h2, .nr-content h3, .nr-content h4 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--nr-text);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.nr-content h2 { margin: 1.9em 0 .62em; font-size: clamp(1.75rem, 2.6vw, 2.05rem); }
.nr-content h3 { margin: 1.7em 0 .55em; font-size: clamp(1.4rem, 2vw, 1.58rem); }
.nr-content h4 { margin: 1.55em 0 .5em; font-size: clamp(1.15rem, 1.6vw, 1.25rem); }
.nr-content h2 + h3, .nr-content h3 + h4 { margin-top: .9em; }
.nr-content a { color: #075ab4; text-decoration: underline; text-underline-offset: 3px; }
.nr-content blockquote { margin: 1.6em 0; padding: 0 0 0 20px; border-left: 4px solid var(--nr-accent); font-size: 1.22em; }
.nr-content figure { margin: 1.8em 0; }
.nr-content ul, .nr-content ol { padding-left: 1.25em; }

.nr-summary { width: min(calc(100% - 32px), var(--nr-reading)); margin: 0 auto 28px; border: 1px solid var(--nr-line); border-radius: var(--nr-radius); padding: 18px; background: #fbfbfc; }
.nr-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nr-summary-title { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.nr-summary-badge { background: #e8eefc; color: #234887; font-size: .67rem; padding: 3px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.nr-summary p { margin: 10px 0 0; color: #3e444b; }
.nr-listen { border: 1px solid #cfd5dc; background: #fff; border-radius: 999px; padding: 8px 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
.nr-listen:hover { border-color: var(--nr-accent); color: var(--nr-accent); }
.nr-listen[aria-pressed="true"] { background: #111318; color: #fff; border-color: #111318; }

.nr-share { width: min(calc(100% - 32px), var(--nr-reading)); margin: 26px auto; padding-top: 18px; border-top: 1px solid var(--nr-line); display: flex; gap: 10px; flex-wrap: wrap; }
.nr-share a { border: 1px solid var(--nr-line); border-radius: 999px; padding: 7px 11px; font-size: .8rem; font-weight: 800; }
.nr-related { width: min(calc(100% - 32px), 1120px); margin: 44px auto 0; }

.nr-newsletter { background: #f1f3f6; border-radius: var(--nr-radius); padding: 22px; }
.nr-newsletter h3 { margin-top: 0; }
.nr-newsletter-form { display: flex; gap: 8px; }
.nr-newsletter input { min-width: 0; width: 100%; border: 1px solid #ccd2d9; border-radius: 8px; padding: 10px 11px; }
.nr-newsletter button { border: 0; border-radius: 8px; background: var(--nr-text); color: #fff; font-weight: 800; padding: 10px 13px; }

.nr-footer { margin-top: 54px; background: #111318; color: #e8ebef; }
.nr-footer-main { padding: 42px 0; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.nr-footer h3, .nr-footer h4 { color: #fff; }
.nr-footer ul { list-style: none; padding: 0; margin: 0; }
.nr-footer li { margin: 8px 0; }
.nr-footer a { color: #cbd0d7; }
.nr-footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; color: #aab0b9; font-size: .78rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .nr-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--nr-line); padding: 16px; }
  .nr-nav.is-open { display: block; }
  .nr-nav ul { display: grid; justify-content: start; gap: 12px; }
  .nr-menu-toggle { display: grid; }
  .nr-header-main { grid-template-columns: 1fr auto; }
  .nr-header-actions { grid-column: 2; }
  .nr-hero-grid, .nr-home-main, .nr-article-layout { grid-template-columns: 1fr; }
  .nr-side-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .nr-sidebar, .nr-article-sidebar { position: static; }
  .nr-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nr-footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nr-container, .nr-reading, .nr-content, .nr-summary, .nr-article-head, .nr-article-hero, .nr-article-layout, .nr-related { width: min(calc(100% - 24px), var(--nr-max)); }
  .nr-topbar-links { display: none; }
  .nr-header-main { min-height: 64px; }
  .nr-nav { top: 64px; }
  .nr-brand { font-size: 1.32rem; }
  .nr-brand .custom-logo { max-width: 210px; max-height: 44px; }
  .nr-lead { min-height: 430px; }
  .nr-lead h1, .nr-lead h2 { font-size: 2.35rem; }
  .nr-side-stack, .nr-grid-4, .nr-grid-3, .nr-grid-2 { grid-template-columns: 1fr; }
  .nr-story-card { grid-template-columns: 112px 1fr; }
  .nr-story-card img { width: 112px; }
  .nr-article-title { font-size: 2.45rem; line-height: 1.04; }
  .nr-content { font-size: 1.04rem; }
  .nr-content h2 { font-size: 1.65rem; }
  .nr-content h3 { font-size: 1.34rem; }
  .nr-content h4 { font-size: 1.13rem; }
  .nr-sidebar-story { grid-template-columns: 96px minmax(0, 1fr); }
  .nr-sidebar-thumb img { width: 96px; height: 62px; }
  .nr-summary-top { align-items: flex-start; flex-direction: column; }
  .nr-footer-main { grid-template-columns: 1fr; }
  .nr-ad { min-height: 100px; }
}

/* Mexico-first multilingual navigation */
.nr-topbar-right { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nr-language-switcher { display: inline-flex; align-items: center; gap: 3px; padding: 2px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; flex: 0 0 auto; }
.nr-language-link { min-width: 32px; padding: 3px 8px; border-radius: 999px; text-align: center; font-size: .69rem; line-height: 1.35; font-weight: 850; letter-spacing: .04em; color: rgba(255,255,255,.76); }
.nr-language-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.nr-language-link.is-current { background: #fff; color: #111318; pointer-events: none; }

@media (max-width: 760px) {
  .nr-topbar-links { display: none; }
  .nr-topbar-inner { min-height: 38px; }
  .nr-topbar-right { margin-left: auto; }
  .nr-language-link { min-width: 30px; padding-inline: 7px; }
}


/* MexicoCurrent premium editorial skin — v2.1 */
:root {
  --nr-bg: #ffffff;
  --nr-surface: #f5f7f6;
  --nr-text: #102126;
  --nr-muted: #647178;
  --nr-line: #dce4e2;
  --nr-accent: #006847;
  --nr-accent-dark: #004f39;
  --nr-navy: #062832;
  --nr-nav: #073c38;
  --nr-radius: 5px;
  --nr-shadow: 0 10px 28px rgba(4, 35, 39, .07);
}
body { color: var(--nr-text); background: #fff; }
a { transition: color .16s ease, opacity .16s ease, border-color .16s ease; }
a:hover { color: var(--nr-accent); }
.nr-topbar { background: #041d24; color: #e8f1ef; }
.nr-topbar a:hover { color: #fff; }
.nr-breaking-label { background: #b51622; border-radius: 2px; }
.nr-header { background: #fff; border-bottom: 0; box-shadow: 0 1px 0 rgba(8,37,42,.08); backdrop-filter: none; }
.nr-masthead { background: #fff; }
.nr-header-main { min-height: 88px; grid-template-columns: minmax(220px, 330px) 1fr auto; gap: 28px; }
.nr-brand { display: flex; align-items: center; }
.nr-brand .custom-logo, .nr-default-logo img { width: auto; max-width: 318px; max-height: 66px; height: auto; object-fit: contain; }
.nr-default-logo { display: inline-flex; align-items: center; }
.nr-masthead-note { justify-self: end; color: #637178; font-size: .71rem; letter-spacing: .095em; text-transform: uppercase; font-weight: 750; white-space: nowrap; }
.nr-header-actions { margin-left: 4px; }
.nr-icon-btn { border: 1px solid #ccd8d5; background: #fff; color: var(--nr-navy); min-width: 40px; height: 40px; border-radius: 50%; font-size: 1.08rem; }
.nr-icon-btn:hover { border-color: var(--nr-accent); color: var(--nr-accent); }
.nr-nav-shell { background: var(--nr-nav); border-top: 1px solid rgba(255,255,255,.04); }
.nr-nav-row { min-height: 46px; display: flex; align-items: center; }
.nr-nav { width: 100%; }
.nr-nav ul { justify-content: flex-start; gap: 0; }
.nr-nav li { position: relative; }
.nr-nav a { display: flex; align-items: center; min-height: 46px; padding: 0 17px; color: rgba(255,255,255,.92); font-size: .86rem; font-weight: 760; letter-spacing: .005em; }
.nr-nav a:hover, .nr-nav .current-menu-item > a, .nr-nav .current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,.075); }
.nr-nav .current-menu-item > a:after, .nr-nav .current-menu-ancestor > a:after { content:""; position:absolute; left:17px; right:17px; bottom:0; height:3px; background:#27a878; }
.nr-search-panel { background: #fff; padding-top: 16px; padding-bottom: 18px; }
.nr-search-form { margin-left: auto; margin-right: 0; }
.nr-search-form input { border-radius: 4px 0 0 4px; }
.nr-search-form button { border-radius: 0 4px 4px 0; background: var(--nr-accent); }

.nr-section { padding: 38px 0; }
.nr-section-head { align-items: center; border-bottom: 2px solid var(--nr-navy); padding-bottom: 10px; margin-bottom: 22px; }
.nr-section-title { font-size: clamp(1.32rem, 2vw, 1.82rem); letter-spacing: -.03em; font-weight: 850; }
.nr-section-title a:hover { color: var(--nr-accent); }
.nr-section-link { color: var(--nr-accent); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.nr-kicker { color: var(--nr-accent); font-size: .69rem; font-weight: 900; letter-spacing: .09em; }
.nr-kicker:hover { color: var(--nr-accent-dark); }

.nr-hero { padding: 26px 0 38px; }
.nr-hero-grid { grid-template-columns: minmax(0, 1.72fr) minmax(310px, .78fr); gap: 22px; }
.nr-lead { min-height: 555px; border-radius: 4px; box-shadow: var(--nr-shadow); }
.nr-lead img { opacity: .92; }
.nr-lead:after { background: linear-gradient(180deg, rgba(2,14,18,.02) 18%, rgba(3,20,24,.25) 48%, rgba(3,17,21,.94) 100%); }
.nr-lead-content { padding: clamp(24px, 4vw, 44px); }
.nr-lead h2 { margin: 8px 0 11px; line-height: 1.02; font-size: clamp(2.15rem, 4vw, 4.15rem); letter-spacing: -.045em; max-width: 850px; }
.nr-lead h2 a:hover { color: #fff; opacity: .9; }
.nr-lead .nr-kicker { display: inline-flex; background: #087754; color: #fff; padding: 4px 8px; border-radius: 2px; }
.nr-lead-excerpt { max-width: 720px; margin: 0 0 12px; font-size: 1.02rem; line-height: 1.48; }
.nr-side-stack { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--nr-navy); }
.nr-story-card--side { grid-template-columns: 132px minmax(0,1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--nr-line); align-items: start; }
.nr-story-card--side .nr-story-image img { width: 132px; height: 86px; aspect-ratio: auto; border-radius: 3px; }
.nr-story-card--side .nr-story-title { margin: 4px 0 6px; font-size: 1.03rem; line-height: 1.18; }
.nr-story-card--side .nr-meta { font-size: .7rem; }
.nr-story-card { border-color: var(--nr-line); }
.nr-story-card img { border-radius: 4px; }
.nr-story-card .nr-story-title { margin: 4px 0 7px; font-size: 1.08rem; line-height: 1.22; letter-spacing: -.018em; }
.nr-story-card .nr-story-title a:hover { color: var(--nr-accent); }
.nr-story-excerpt { margin: 0 0 8px; color: #536168; font-size: .88rem; line-height: 1.48; }
.nr-story-card--stack .nr-story-title { font-size: 1.16rem; }
.nr-story-card--stack .nr-story-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 10px; }
.nr-topic-section .nr-grid-4 { gap: 22px; }

.nr-sidebar-box { border-top: 3px solid var(--nr-navy); }
.nr-sidebar-title { color: var(--nr-navy); }
.nr-rank-list li:before { color: var(--nr-accent); }
.nr-newsletter { background: #eef4f2; border-left: 3px solid var(--nr-accent); border-radius: 3px; }

.nr-archive-head { padding: 40px 0 22px; background: #f8faf9; border-bottom: 1px solid var(--nr-line); }
.nr-archive-head h1 { font-size: clamp(2rem, 4vw, 3.8rem); color: var(--nr-navy); }
.nr-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; color: #718087; font-size: .76rem; font-weight: 700; }
.nr-breadcrumb a:hover { color: var(--nr-accent); }
.nr-article-head { max-width: 960px; }
.nr-article-title { color: var(--nr-navy); font-size: clamp(2.35rem, 5vw, 4.65rem); }
.nr-content { font-size: 1.08rem; }
.nr-content h2, .nr-content h3, .nr-content h4 { color: var(--nr-navy); }
.nr-content a { color: #006847; text-decoration-thickness: 1px; }
.nr-article-hero img { border-radius: 4px; }
.nr-summary { border-radius: 4px; background: #f8faf9; }
.nr-post-nav { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--nr-line); }
.nr-post-nav .nav-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.nr-post-nav .nav-previous, .nr-post-nav .nav-next { min-width: 0; }
.nr-post-nav .nav-next { text-align: right; }
.nr-post-nav a { display: grid; gap: 4px; font-weight: 800; line-height: 1.3; }
.nr-post-nav-label { color: var(--nr-accent); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.nr-footer { background: #041d24; }
.nr-footer-main { padding: 46px 0 40px; }
.nr-footer-brand-link { display: inline-flex; align-items: center; gap: 11px; color: #fff !important; font-size: 1.35rem; letter-spacing: -.03em; }
.nr-footer-brand-link img { width: 42px; height: 42px; object-fit: contain; }
.nr-footer-brand p { max-width: 360px; color: #aebcba; }
.nr-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.nr-footer a:hover { color: #fff; }
.nr-footer-bottom { border-top-color: rgba(255,255,255,.11); }

@media (min-width: 981px) {
  .nr-menu-toggle { display: none !important; }
}
@media (max-width: 1100px) {
  .nr-masthead-note { display: none; }
  .nr-header-main { grid-template-columns: 1fr auto; }
}
@media (max-width: 980px) {
  .nr-header-main { min-height: 74px; }
  .nr-brand .custom-logo, .nr-default-logo img { max-width: 270px; max-height: 56px; }
  .nr-nav-row { min-height: 0; }
  .nr-nav-shell { background: transparent; }
  .nr-nav { display: none; position: absolute; z-index: 1001; left: 0; right: 0; top: 74px; background: var(--nr-nav); border-bottom: 1px solid rgba(255,255,255,.12); padding: 10px 16px 14px; box-shadow: 0 18px 28px rgba(3,23,28,.18); }
  .nr-nav.is-open { display: block; }
  .nr-nav ul { display: grid; gap: 0; }
  .nr-nav a { min-height: 43px; padding-inline: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nr-nav .current-menu-item > a:after, .nr-nav .current-menu-ancestor > a:after { display: none; }
  .nr-menu-toggle { display: grid; }
  .nr-hero-grid { grid-template-columns: 1fr; }
  .nr-side-stack { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: none; gap: 18px; border-top: 0; }
  .nr-story-card--side { display: block; padding: 0; border-bottom: 0; }
  .nr-story-card--side .nr-story-image img { width: 100%; height: auto; aspect-ratio: 16/9; margin-bottom: 9px; }
}
@media (max-width: 700px) {
  .nr-brand .custom-logo, .nr-default-logo img { max-width: 238px; max-height: 50px; }
  .nr-header-main { min-height: 68px; gap: 12px; }
  .nr-nav { top: 68px; }
  .nr-hero { padding-top: 14px; }
  .nr-lead { min-height: 430px; }
  .nr-lead h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .nr-lead-excerpt { font-size: .92rem; }
  .nr-side-stack { grid-template-columns: 1fr; }
  .nr-story-card--side { display: grid; grid-template-columns: 112px minmax(0,1fr); padding: 13px 0; border-bottom: 1px solid var(--nr-line); }
  .nr-story-card--side .nr-story-image img { width: 112px; height: 74px; margin: 0; }
  .nr-story-excerpt { display: none; }
  .nr-post-nav .nav-links { grid-template-columns: 1fr; }
  .nr-post-nav .nav-next { text-align: left; }
}


/* Desktop dropdowns and keyboard-friendly nested navigation. */
@media (min-width: 981px) {
  .nr-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1002;
    min-width: 230px;
    padding: 7px 0;
    background: #fff;
    border: 1px solid var(--nr-line);
    border-top: 3px solid var(--nr-accent);
    box-shadow: 0 14px 28px rgba(3,30,34,.14);
  }
  .nr-nav li:hover > .sub-menu,
  .nr-nav li:focus-within > .sub-menu { display: block; }
  .nr-nav .sub-menu li { width: 100%; }
  .nr-nav .sub-menu a {
    min-height: 0;
    padding: 10px 14px;
    color: var(--nr-text);
    line-height: 1.3;
    background: #fff;
  }
  .nr-nav .sub-menu a:hover,
  .nr-nav .sub-menu .current-menu-item > a { color: var(--nr-accent); background: #f4f8f6; }
  .nr-nav .sub-menu .current-menu-item > a:after { display: none; }
  .nr-nav .menu-item-has-children > a:after { content: "⌄"; position: static; width: auto; height: auto; margin-left: 6px; background: none; font-size: .72rem; }
}
@media (max-width: 980px) {
  .nr-nav .sub-menu { display: block; position: static; padding: 0 0 0 14px; background: transparent; }
  .nr-nav .sub-menu a { min-height: 38px; color: rgba(255,255,255,.78); font-size: .81rem; }
}

/* v2.2 author trust, first-run navigation and editorial demo mode */
.nr-author-byline-copy { display: grid; gap: 2px; }
.nr-author-role { display: inline-flex; width: fit-content; color: #496068; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nr-author-role--compact { margin-top: -1px; }
.nr-author-socials { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.nr-author-socials a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #d5dfdc; border-radius: 50%; color: var(--nr-navy); background: #fff; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.nr-author-socials a:hover, .nr-author-socials a:focus-visible { border-color: var(--nr-accent); color: var(--nr-accent); background: #f6faf8; }
.nr-author-box { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 18px; margin: 34px 0 8px; padding: 22px; border-top: 3px solid var(--nr-navy); background: #f6f9f8; }
.nr-author-box-avatar img { width: 76px; height: 76px; border-radius: 50%; }
.nr-author-box-eyebrow { color: var(--nr-accent); font-size: .67rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.nr-author-box h2 { margin: 2px 0 0; color: var(--nr-navy); font-size: 1.25rem; line-height: 1.2; }
.nr-author-box p { margin: 8px 0 0; color: #526269; font-size: .9rem; line-height: 1.55; }
.nr-footer-brand-name { color: #fff; font-size: 1.4rem; font-weight: 900; letter-spacing: -.035em; }
.nr-footer-brand-link img { flex: 0 0 42px; }
.nr-fallback-menu { min-width: 100%; }

.nr-demo-notice { background: #eef7f3; border-bottom: 1px solid #d3e5de; color: #27473f; font-size: .78rem; }
.nr-demo-notice .nr-container { min-height: 38px; display: flex; align-items: center; gap: 10px; }
.nr-demo-notice strong { color: #006847; text-transform: uppercase; letter-spacing: .06em; font-size: .67rem; }
.nr-demo-lead .nr-demo-media { position: absolute; inset: 0; }
.nr-demo-media { min-height: 100%; overflow: hidden; position: relative; background: #0b3940; }
.nr-demo-media:before, .nr-demo-media:after { content:""; position:absolute; border-radius:50%; filter: blur(1px); opacity:.7; }
.nr-demo-media:before { width: 65%; height: 120%; left: -10%; top: -10%; background: linear-gradient(140deg, rgba(0,104,71,.95), rgba(0,104,71,.15)); transform: rotate(-9deg); }
.nr-demo-media:after { width: 52%; height: 105%; right: -11%; bottom: -25%; background: linear-gradient(145deg, rgba(206,17,38,.92), rgba(206,17,38,.1)); transform: rotate(18deg); }
.nr-demo-media span { position:absolute; z-index:2; left:50%; top:50%; transform:translate(-50%,-50%); color:rgba(255,255,255,.92); font-size:clamp(2.5rem,8vw,7rem); line-height:1; font-weight:950; letter-spacing:-.08em; }
.nr-demo-media--business { background: linear-gradient(145deg,#092d37,#286e70); }
.nr-demo-media--technology { background: linear-gradient(145deg,#10294a,#0b6b73); }
.nr-demo-media--travel { background: linear-gradient(145deg,#355e44,#c79545); }
.nr-demo-card .nr-story-image { display:block; min-height:86px; overflow:hidden; }
.nr-demo-card .nr-demo-media { width:132px; height:86px; min-height:86px; border-radius:3px; }
.nr-demo-card .nr-demo-media span { font-size:2rem; }
.nr-demo-topic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.nr-demo-topic { border:1px solid var(--nr-line); border-top:3px solid var(--nr-navy); padding:18px; min-height:100px; background:#fff; }
.nr-demo-topic span { display:block; color:var(--nr-navy); font-weight:900; font-size:1.05rem; }
.nr-demo-topic small { display:block; margin-top:4px; color:var(--nr-muted); font-size:.78rem; }
@media (max-width: 980px) {
  .nr-demo-card .nr-demo-media { width:100%; height:auto; aspect-ratio:16/9; }
  .nr-demo-topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .nr-author-box { grid-template-columns:56px minmax(0,1fr); padding:18px; gap:14px; }
  .nr-author-box-avatar img { width:56px; height:56px; }
  .nr-demo-notice .nr-container { align-items:flex-start; flex-direction:column; gap:1px; padding-top:8px; padding-bottom:8px; }
  .nr-demo-card .nr-demo-media { width:112px; height:74px; aspect-ratio:auto; }
  .nr-demo-topic-grid { grid-template-columns:1fr; }
}
.nr-author-archive { display:grid; grid-template-columns:96px minmax(0,1fr); gap:22px; align-items:start; max-width:820px; }
.nr-author-archive-avatar img { width:96px; height:96px; border-radius:50%; }
.nr-author-archive h1 { margin:2px 0 2px; }
.nr-author-archive-bio { margin:10px 0 0; max-width:680px; color:#536168; }
@media (max-width: 700px) {
  .nr-author-archive { grid-template-columns:64px minmax(0,1fr); gap:14px; }
  .nr-author-archive-avatar img { width:64px; height:64px; }
}
