/* Shared newsroom theme. The header/container and the top strips (air quality,
   breaking news, news briefs) plus the card components apply site-wide, while
   .nr-home keeps the homepage-only editorial layout. Components deliberately
   avoid legacy .post-content/.title selectors used by article detail. */
.nr-theme {
  --nr-red: #b21f2f;
  --nr-brown: #4e342e;
  --nr-tan: #8d6e63;
  --nr-gap: 20px;
  background: var(--pm-surface-soft, #f7f7f7);
}
/* The top strips render outside .nr-home on every page, so these shared
   components carry their own minimal reset instead of inheriting .nr-home's. */
.nr-air-strip, .nr-air-strip *, .nr-air-strip *::before, .nr-air-strip *::after,
.nr-breaking, .nr-breaking *, .nr-breaking *::before, .nr-breaking *::after,
.nr-briefs, .nr-briefs *, .nr-briefs *::before, .nr-briefs *::after,
.nr-card, .nr-card *, .nr-card *::before, .nr-card *::after { box-sizing: border-box; }
.nr-air-strip [hidden], .nr-breaking [hidden], .nr-briefs [hidden], .nr-card [hidden] { display: none !important; }
.nr-air-strip a, .nr-breaking a, .nr-briefs a, .nr-card a { text-decoration: none; }
.nr-air-strip img, .nr-breaking img, .nr-briefs img, .nr-card img { display: block; max-width: 100%; }
.nr-card h2, .nr-card h3, .nr-card p { margin: 0; }
.nr-theme .container,
.nr-theme .nr-container {
  width: calc(100% - 40px);
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 0;
}
.nr-theme .nr-skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1100;
  background: #fff; color: #b21f2f; padding: 12px 18px; border-radius: 5px;
}
.nr-theme .nr-skip-link:focus { top: 10px; }
/* Site-wide top region between the header and the page content. */
.nr-top { clear: both; padding: 18px 0 20px; }
.nr-top > .nr-container > :last-child { margin-bottom: 0; }
.nr-top .nr-air-strip { margin-bottom: 14px; }
/* .nr-home already carries its own top padding on the homepage. */
.nr-top + .nr-home { padding-top: 0; }
.nr-theme #header { box-shadow: none; }
.nr-theme #header .top-bar {
  background: #8c1724 !important;
  font-size: 12px;
}
.nr-theme .top-bar .dropdown-menu a { color: var(--pm-text) !important; }
.nr-theme #header .logo-banner { padding-block: 10px !important; }
.nr-theme .logo-banner .left,
.nr-theme .logo-banner .right { height: auto; min-height: 72px; line-height: 72px; }
.nr-theme .logo-banner .logo { max-width: 240px; object-fit: contain; }
.nr-theme #header .main-menu {
  border-bottom: 3px solid var(--nr-red) !important;
  background: var(--pm-surface) !important;
  min-height: 48px; box-shadow: 0 2px 8px #221a1a09;
}
.nr-theme .main-menu .navbar-nav > li > a {
  padding: 15px 13px !important; color: var(--pm-text) !important;
  text-transform: none !important; letter-spacing: 0; font-size: 14px !important;
}
.nr-theme .main-menu .navbar-nav > li.active > a,
.nr-theme .main-menu .navbar-nav > li > a:hover,
.nr-theme .main-menu .navbar-nav > li > a:focus {
  color: var(--nr-red) !important; background: var(--pm-red-soft) !important;
  box-shadow: inset 0 -3px var(--nr-red);
}
.nr-theme .main-menu .navbar-nav > li > a::after { background: var(--nr-red); }
.nr-theme .main-menu .search-form { z-index: 1050; }
.nr-theme .main-menu .search-icon { cursor: pointer; }
.nr-theme #header .main-menu.nr-nav-stuck { position: fixed; top: 0; inset-inline: 0; z-index: 1030; }
.nr-theme .pm-drawer-close { background: var(--nr-red); margin: 12px; }

.nr-home { clear: both; padding-block: 22px 10px; color: var(--pm-text); }
.nr-home *, .nr-home *::before, .nr-home *::after { box-sizing: border-box; }
.nr-home [hidden] { display: none !important; }
.nr-home a { text-decoration: none; }
.nr-home a:hover { color: var(--nr-red); }
.nr-home button { font: inherit; }
.nr-home :focus-visible { outline: 2px solid #b21f2f !important; outline-offset: 4px; }
.nr-home img { display: block; max-width: 100%; }
.nr-home h1, .nr-home h2, .nr-home h3, .nr-home p { margin: 0; }
.nr-home .nr-masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.nr-home .nr-eyebrow {
  color: var(--nr-red); font-size: 10px; text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 800; display: block; margin-bottom: 4px;
}
.nr-home .nr-masthead h1 { font-size: 22px; font-weight: 800; line-height: 1.25; }
.nr-home .nr-masthead > time { color: var(--pm-muted); font-size: 12px; white-space: nowrap; }
.nr-home .nr-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* Public air-quality ribbon: the clock is outside the horizontally scrolling list. */
.nr-air-strip {
  border: 1px solid var(--pm-border); border-top: 2px solid var(--nr-red);
  background: var(--pm-surface); border-radius: 6px; margin-bottom: 18px; min-width: 0;
}
.nr-air-strip__main {
  direction: ltr; /* Jambi place names and WIB clock stay left-to-right, even in RTL UI. */
  display: grid; grid-template-columns: 132px minmax(0, 1fr) 190px;
  grid-template-areas: 'brand cities clock'; align-items: center; gap: 12px; padding: 10px 12px;
}
.nr-air-brand { grid-area: brand; display: flex; gap: 9px; align-items: center; min-width: 0; }
.nr-air-brand > svg { color: var(--nr-red); flex: 0 0 auto; }
.nr-air-brand strong { display: block; font-size: 13px; line-height: 1.3; }
.nr-air-brand span { display: block; color: var(--pm-muted); font-size: 10px; margin-top: 4px; }
.nr-air-carousel { grid-area: cities; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; align-items: center; min-width: 0; }
.nr-air-arrow {
  width: 36px; min-height: 44px; border: 1px solid var(--pm-border); border-radius: 4px;
  color: var(--nr-red); background: var(--pm-surface); cursor: pointer; font-size: 24px;
}
.nr-air-arrow:hover:not(:disabled) { color: #fff; background: var(--nr-red); }
.nr-air-arrow:disabled { opacity: .35; cursor: default; }
[data-air-prev] { grid-column: 1; grid-row: 1; }
[data-air-next] { grid-column: 3; grid-row: 1; }
.nr-air-track {
  grid-column: 2; grid-row: 1;
  display: flex; gap: 8px; align-items: stretch; min-width: 0;
  overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  scrollbar-width: thin; padding: 2px 1px 5px;
}
.nr-air-city {
  --aq-ink: #58606c; --aq-bg: #f0f2f4;
  display: flex; gap: 9px; align-items: center; flex: 0 0 min(260px, 100%);
  min-width: 0; min-height: 70px; padding: 9px 11px; border: 1px solid var(--pm-border);
  border-radius: 4px; background: var(--pm-surface-soft); scroll-snap-align: start;
}
.nr-air-city[data-air-category='good'] { --aq-ink: #145c32; --aq-bg: #eaf7ee; }
.nr-air-city[data-air-category='moderate'] { --aq-ink: #745400; --aq-bg: #fff3c4; }
.nr-air-city[data-air-category='sensitive'] { --aq-ink: #943e06; --aq-bg: #ffead5; }
.nr-air-city[data-air-category='unhealthy'] { --aq-ink: #a91e31; --aq-bg: #ffe5e9; }
.nr-air-city[data-air-category='very-unhealthy'] { --aq-ink: #6b2993; --aq-bg: #f1e4ff; }
.nr-air-city[data-air-category='hazardous'] { --aq-ink: #851238; --aq-bg: #ffdaea; }
.nr-air-city__icon { flex: 0 0 auto; color: var(--aq-ink); background: var(--aq-bg); padding: 3px; border-radius: 50%; }
.nr-air-city__body { min-width: 0; }
.nr-air-city__name { display: block; font-size: 12px; line-height: 1.35; margin-bottom: 5px; }
.nr-air-city__reading { display: flex; gap: 3px 6px; flex-wrap: wrap; align-items: center; }
.nr-air-city__reading b { font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.nr-air-city__unit { font-size: 9px; color: var(--pm-muted); }
.nr-air-badge { color: var(--aq-ink); background: var(--aq-bg); border-radius: 3px; font-size: 10px; font-weight: 650; line-height: 1.3; padding: 3px 6px; max-width: 100%; }
.nr-air-city__stale { display: block; color: var(--pm-muted); font-size: 9px; margin-top: 3px; }
.nr-air-clock {
  grid-area: clock; text-align: end; border-inline-start: 1px solid var(--pm-border);
  padding-inline-start: 14px; min-width: 0;
}
.nr-air-clock > span { display: block; font-size: 11px; color: var(--pm-muted); line-height: 1.5; }
.nr-air-clock time { display: block; color: var(--nr-red); font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: nowrap; }
.nr-air-clock small { font-size: 11px; }
.nr-air-caption {
  display: flex; justify-content: space-between; gap: 5px 14px; flex-wrap: wrap;
  border-top: 1px solid var(--pm-border); padding: 6px 12px;
  font-size: 10px; color: var(--pm-muted); line-height: 1.5;
}
.nr-air-caption a { color: var(--nr-red); text-decoration: underline; }
@media (max-width: 991px) {
  .nr-air-strip__main { grid-template-columns: 112px minmax(0, 1fr) 170px; gap: 8px; }
}
@media (max-width: 767px) {
  .nr-air-strip__main { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'brand clock' 'cities cities'; }
  .nr-air-carousel { width: 100%; }
  .nr-air-clock { padding-inline-start: 10px; }
  .nr-air-clock > span { font-size: 10px; }
  .nr-air-clock time { font-size: 16px; }
  .nr-air-caption { flex-direction: column; font-size: 10px; }
  .nr-air-city { min-height: 76px; }
}
.nr-breaking {
  display: flex; align-items: stretch; background: var(--pm-surface);
  border: 1px solid var(--pm-border); margin-bottom: 16px; min-width: 0;
}
.nr-breaking__label {
  flex: 0 0 auto; background: var(--nr-red); color: #fff;
  padding: 10px 14px; display: flex; align-items: center;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
}
.nr-breaking__links {
  display: flex; gap: 24px; overflow: auto; align-items: center;
  min-width: 0; padding: 9px 14px; scrollbar-width: thin;
}
.nr-breaking__links a {
  color: var(--pm-text); font-size: 12px; white-space: nowrap;
  padding-inline-start: 12px; border-inline-start: 2px solid var(--nr-tan);
}
.nr-briefs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px; margin-bottom: 20px;
}
.nr-home .nr-headline {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: var(--nr-gap); margin-bottom: 28px; align-items: stretch;
}
.nr-home .nr-hero { position: relative; min-width: 0; overflow: hidden; border-radius: 8px; }
.nr-home .nr-hero__slide { height: 100%; }
.nr-home .nr-hero__controls {
  display: flex; gap: 8px; position: absolute; inset-inline-end: 16px;
  bottom: 14px; align-items: center; z-index: 4; color: #fff;
}
.nr-home .nr-hero__controls button {
  width: 38px; height: 38px; border: 1px solid #ffffff60;
  background: #2a1618c7; border-radius: 50%; color: #fff; cursor: pointer;
}
.nr-home .nr-hero__controls button:hover { background: var(--nr-red); }
.nr-home .nr-hero__counter { font-size: 12px; font-variant-numeric: tabular-nums; }
.nr-home .nr-tabbed { background: var(--pm-surface); border: 1px solid var(--pm-border); border-radius: 6px; min-width: 0; }
.nr-home .nr-tabbed__tabs { display: flex; border-bottom: 1px solid var(--pm-border); }
.nr-home .nr-tabbed__tabs button {
  flex: 1; min-width: 0; border: 0; padding: 12px 8px; background: transparent;
  color: var(--pm-muted); font-size: 12px; font-weight: 800; cursor: pointer;
}
.nr-home .nr-tabbed__tabs button[aria-selected="true"] {
  box-shadow: inset 0 -3px var(--nr-red); color: var(--nr-red);
}
.nr-home .nr-tabbed__panel { padding: 4px 16px; }
.nr-home .nr-tabbed__panel .nr-card--compact {
  border: 0; border-bottom: 1px solid var(--pm-border); border-radius: 0; padding: 8px 0;
}
.nr-home .nr-tabbed__panel .nr-card--compact:last-child { border-bottom: 0; }
.nr-home .nr-tabbed__panel .nr-card--compact .nr-card__image { width: 68px; height: 54px; }
.nr-home .nr-tabbed__panel .nr-card--compact { grid-template-columns: 68px minmax(0, 1fr); }
.nr-home .nr-tabbed__panel .nr-card__title { -webkit-line-clamp: 2; margin-bottom: 5px; }
.nr-briefs .nr-card--compact { grid-template-columns: 80px minmax(0, 1fr); padding: 10px; }
.nr-briefs .nr-card--compact .nr-card__image { width: 80px; height: 62px; }

/* Isolated cards: body wrapper actually exists, so spacing is predictable. */
.nr-card {
  min-width: 0; background: var(--pm-surface); border: 1px solid var(--pm-border);
  border-radius: 6px; overflow: hidden;
}
.nr-card__image {
  display: block; position: relative; aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--pm-border);
}
.nr-card__image img {
  width: 100%; height: 100%; object-fit: cover; margin: 0;
  transition: transform 180ms ease;
}
.nr-card:hover .nr-card__image img { transform: scale(1.025); }
.nr-card__body { padding: 15px 17px 17px; min-width: 0; }
.nr-card__category {
  display: inline-block; color: var(--nr-red); font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px;
}
.nr-card__title {
  font-size: 17px; font-weight: 750; line-height: 1.4;
  overflow-wrap: anywhere; margin: 0 0 9px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.nr-card__title a { color: var(--pm-text); }
.nr-card__title a:hover { color: var(--nr-red); }
.nr-card__summary {
  color: var(--pm-muted); font-size: 13px; line-height: 1.65; margin-bottom: 12px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.nr-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; font-size: 11px; line-height: 1.5; color: var(--pm-muted); }
.nr-card__meta a { color: inherit; }
.nr-card__format { color: var(--nr-tan); font-size: 9px; font-weight: 800; letter-spacing: .5px; }
.nr-card--compact {
  display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 12px;
  align-items: center; padding: 12px;
}
.nr-card--compact .nr-card__image { width: 94px; height: 76px; aspect-ratio: auto; border-radius: 4px; }
.nr-card--compact .nr-card__body { padding: 0; }
.nr-card--compact .nr-card__title {
  font-size: 13px; line-height: 1.5; margin-bottom: 7px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.nr-card--compact.nr-card--no-image,
.nr-home .nr-tabbed__panel .nr-card--compact.nr-card--no-image { grid-template-columns: minmax(0, 1fr); }
.nr-card--hero, .nr-card--overlay {
  position: relative; min-height: 280px; isolation: isolate; background: var(--nr-brown);
}
.nr-card--hero { height: 100%; min-height: 420px; }
.nr-card--hero .nr-card__image,
.nr-card--overlay .nr-card__image,
.nr-card__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.nr-card__placeholder { background: radial-gradient(at top right, #8d6e63, transparent), linear-gradient(135deg, #71121e, #38221c); }
.nr-card--hero::after, .nr-card--overlay::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #1910110a 5%, #19101130 25%, #191011e8 100%);
  z-index: 1;
}
.nr-card--hero .nr-card__body,
.nr-card--overlay .nr-card__body {
  position: relative; z-index: 2; padding: 120px 24px 24px; pointer-events: none;
}
.nr-card--hero .nr-card__body { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 68px; }
.nr-card--hero .nr-card__body a,
.nr-card--overlay .nr-card__body a { pointer-events: auto; }
.nr-card--hero .nr-card__title { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.23; -webkit-line-clamp: 4; }
.nr-card--overlay .nr-card__title { font-size: 20px; }
.nr-card--hero .nr-card__title a,
.nr-card--overlay .nr-card__title a { color: #fff; text-shadow: 0 1px 4px #0005; }
.nr-card--hero .nr-card__category,
.nr-card--overlay .nr-card__category {
  align-self: flex-start; color: #fff; background: #b21f2f;
  padding: 5px 9px; border-radius: 3px; width: fit-content;
}
.nr-card--hero .nr-card__meta,
.nr-card--overlay .nr-card__meta,
.nr-card--hero .nr-card__summary { color: #eee5e3; }
.nr-card--hero .nr-card__format,
.nr-card--overlay .nr-card__format { color: #e5c5b7; }
.nr-card--lead .nr-card__title { font-size: 21px; }
.nr-card--horizontal { display: grid; grid-template-columns: minmax(180px, 30%) minmax(0, 1fr); }
.nr-card--horizontal .nr-card__image { height: 100%; min-height: 150px; }
.nr-card--horizontal.nr-card--no-image { grid-template-columns: minmax(0, 1fr); }

.nr-home .nr-section { min-width: 0; margin-bottom: 28px; }
.nr-home .nr-section-heading {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  border-bottom: 1px solid var(--pm-border-strong); margin-bottom: 16px; padding-bottom: 11px;
}
.nr-home .nr-section-heading h2 {
  font-size: 21px; font-weight: 800; line-height: 1.3; position: relative;
  padding-inline-start: 12px; border-inline-start: 4px solid var(--nr-red);
}
.nr-home .nr-section-heading > a { flex: 0 0 auto; color: var(--nr-red); font-size: 11px; font-weight: 700; }
.nr-card-grid { display: grid; gap: var(--nr-gap); align-items: stretch; }
.nr-card-grid--four { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.nr-home .nr-editorial-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 28px; align-items: start;
  margin-bottom: 28px;
}
.nr-home .nr-editorial-main, .nr-home .nr-sidebar { min-width: 0; }
.nr-home .nr-editorial-main { display: flex; flex-direction: column; }
.nr-home .nr-editorial-main > :last-child { margin-bottom: 0; }
.nr-home .nr-category__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nr-home .nr-category--split .nr-card--lead,
.nr-home .nr-category--spotlight .nr-card--overlay { grid-row: span var(--nr-category-rows, 4); }
.nr-home .nr-category--split .nr-card--compact,
.nr-home .nr-category--spotlight .nr-card--compact { border: 0; border-bottom: 1px solid var(--pm-border); border-radius: 0; }
.nr-home .nr-category--split .nr-card--lead:only-child,
.nr-home .nr-category--spotlight .nr-card--overlay:only-child { grid-column: 1 / -1; grid-row: auto; }
.nr-home .nr-category--trio .nr-category__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nr-home .nr-category--trio .nr-card--compact { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 8px; }
.nr-home .nr-category--trio .nr-card--compact .nr-card__image { width: 64px; height: 64px; }
.nr-home .nr-category--grid .nr-card__title { font-size: 16px; }
.nr-home .nr-category-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nr-home .nr-category-pair .nr-category--trio .nr-category__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nr-home .nr-category-pair .nr-card--compact { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
.nr-home .nr-category-pair .nr-card--compact .nr-card__image { width: 64px; height: 64px; }

/* Full-width media breaks up the editorial column rhythm. */
.nr-home .nr-videos {
  padding: 24px; border-radius: 8px; background: #30201d; color: #fff;
  --pm-surface: #3d2b26; --pm-text: #fff; --pm-muted: #dbcac4; --pm-border: #5d4841;
}
.nr-home .nr-videos .nr-section-heading { border-bottom-color: #ffffff30; }
.nr-home .nr-media-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px 20px; }
.nr-home .nr-media-grid > :first-child { grid-row: span var(--nr-media-rows, 4); }
.nr-home .nr-media-grid > :only-child { grid-column: 1 / -1; grid-row: auto; }
.nr-home .nr-media-grid .nr-card--compact { border: 0; border-bottom: 1px solid var(--pm-border); border-radius: 0; }
.nr-home .nr-media-grid .nr-card--overlay { min-height: 340px; display: flex; align-items: flex-end; }
.nr-home .nr-media-grid .nr-card__format { color: #e5c5b7; }
.nr-home .nr-media-grid .nr-card__title a:hover { color: #ffbbb9; }
.nr-home .nr-photo-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.nr-home .nr-photo-grid > :first-child { grid-row: span var(--nr-photo-rows, 2); }
.nr-home .nr-photo-grid > :only-child { grid-column: 1 / -1; grid-row: auto; }
.nr-home .nr-photo-grid .nr-card--overlay { min-height: 220px; display: flex; align-items: flex-end; }
.nr-home .nr-photo-grid .nr-card__title { font-size: 17px; }
.nr-home .nr-feed {
  --nr-feed-thumbnail-width: 192px;
  --nr-feed-thumbnail-height: 136px;
  display: grid; gap: 16px; min-width: 0;
}
/* Keep every feed thumbnail in the same frame, regardless of image ratio,
   headline length, sidebar height, or whether the item was appended by AJAX. */
.nr-home .nr-feed .nr-card--horizontal {
  grid-template-columns: var(--nr-feed-thumbnail-width) minmax(0, 1fr);
  align-items: start; gap: 16px; padding: 14px;
}
.nr-home .nr-feed .nr-card--horizontal .nr-card__image {
  width: var(--nr-feed-thumbnail-width); max-width: 100%; min-width: 0;
  height: var(--nr-feed-thumbnail-height); min-height: 0;
  aspect-ratio: auto; align-self: start; border-radius: 4px;
}
.nr-home .nr-feed .nr-card--horizontal .nr-card__image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.nr-home .nr-feed .nr-card--horizontal .nr-card__body { padding: 0; }
.nr-home .nr-feed .nr-card--horizontal.nr-card--no-image { grid-template-columns: minmax(0, 1fr); }
.nr-home .nr-button {
  display: block; width: 100%; min-height: 44px; border: 1px solid var(--nr-red);
  border-radius: 4px; padding: 12px 18px; color: var(--nr-red); background: var(--pm-surface);
  font-size: 13px; font-weight: 750; cursor: pointer; margin-top: 18px;
}
.nr-home .nr-button:hover { background: var(--nr-red); color: #fff; }
.nr-home .nr-button:disabled { opacity: .6; cursor: wait; }
.nr-home .nr-feed-status { margin-top: 12px; color: var(--pm-muted); font-size: 12px; }
.nr-home .nr-feed-status:empty { display: none; }
.nr-home .nr-archive-link { display: inline-block; color: var(--nr-red); font-size: 12px; font-weight: 700; margin-top: 16px; }
.nr-home .nr-topic-index {
  border: 1px solid var(--pm-border); border-top: 3px solid var(--nr-tan);
  background: var(--pm-surface); padding: 20px; border-radius: 6px;
}
.nr-home .nr-topic-index > a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--pm-border); color: var(--pm-text); font-weight: 650; }
.nr-home .nr-empty { background: var(--pm-surface); border: 1px dashed var(--pm-border); padding: 24px; border-radius: 6px; }
.nr-home .nr-ad:empty { display: none; }
.nr-home .nr-ad { display: flow-root; max-width: 100%; overflow: hidden; }
.nr-home .nr-ad > section { margin-bottom: 24px; }
.nr-home .nr-ad iframe { max-width: 100%; }
.nr-home .nr-ad .row { margin-inline: 0; }
.nr-home .nr-mobile-ad { display: none; }

/* Adapt existing CMS widgets only inside the homepage sidebar. */
.nr-home .nr-sidebar .row { margin: 0; padding: 0 !important; }
.nr-home .nr-sidebar > .row > .col-sm-12 { padding: 0; width: 100%; float: none; }
.nr-home .nr-sidebar .sidebar-widget { border-radius: 6px; margin-bottom: 20px !important; box-shadow: none; }
.nr-home .nr-sidebar .widget-head { background: var(--pm-surface) !important; border-bottom: 1px solid var(--pm-border); }
.nr-home .nr-sidebar .widget-head .title { color: var(--pm-text) !important; text-transform: none; padding: 14px 16px !important; }
.nr-home .nr-sidebar .widget-head .title::after { background: var(--nr-red); }
.nr-home .nr-sidebar .widget-body { padding: 16px; }
.nr-home .nr-sidebar .post-item-small { min-width: 0; }
.nr-home .nr-sidebar .post-item-small .title { font-size: 13px !important; }
.nr-home .nr-sidebar .sidebar-widget .widget-content { padding: 16px !important; }
.nr-home .nr-sidebar .bn-lg-sidebar { width: 100%; padding-inline: 0; }

@media (max-width: 1199px) {
  .nr-home .nr-feed { --nr-feed-thumbnail-width: 176px; --nr-feed-thumbnail-height: 124px; }
  .nr-home .nr-headline, .nr-home .nr-editorial-grid { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 20px; }
  .nr-card--hero, .nr-card--hero .nr-card__body { min-height: 440px; }
  .nr-card--hero .nr-card__body { padding-inline: 20px; }
  .nr-home .nr-category--trio .nr-category__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .nr-theme .container, .nr-theme .nr-container { width: calc(100% - 32px); }
  .nr-home .nr-headline { grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr); }
  .nr-home .nr-editorial-grid { grid-template-columns: minmax(0, 1fr); }
  .nr-home .nr-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .nr-home .nr-sidebar > .row { min-width: 0; }
  .nr-home .nr-category-pair { grid-template-columns: minmax(0, 1fr); }
  .nr-home .nr-sidebar .sidebar-widget { margin-bottom: 0 !important; }
  .nr-home .nr-mobile-ad { display: flow-root; }
  .nr-home .nr-media-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .nr-home .nr-feed { --nr-feed-thumbnail-width: 120px; --nr-feed-thumbnail-height: 90px; }
  .nr-home { padding-top: 14px; }
  .nr-home .nr-masthead h1 { font-size: 19px; }
  .nr-home .nr-masthead > time { display: none; }
  .nr-home .nr-headline { grid-template-columns: minmax(0, 1fr); }
  .nr-card--hero, .nr-card--hero .nr-card__body { min-height: 420px; }
  .nr-briefs { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
  .nr-briefs > .nr-card { flex: 0 0 85%; scroll-snap-align: start; }
  .nr-briefs > .nr-card:only-child { flex-basis: 100%; }
  .nr-home .nr-tabbed__panel { padding-inline: 14px; }
  .nr-home .nr-tabbed__panel .nr-card--compact .nr-card__image { width: 94px; height: 72px; }
  .nr-home .nr-tabbed__panel .nr-card--compact { grid-template-columns: 94px minmax(0, 1fr); }
  .nr-card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .nr-home .nr-section-heading h2 { font-size: 19px; }
  .nr-home .nr-section { margin-bottom: 24px; }
  .nr-card__title { font-size: 15px; }
  .nr-home .nr-category--split .nr-card--lead,
  .nr-home .nr-category--spotlight .nr-card--overlay { grid-column: 1 / -1; grid-row: auto; }
  .nr-home .nr-category--split .nr-card--compact,
  .nr-home .nr-category--spotlight .nr-card--compact { grid-column: 1 / -1; }
  .nr-home .nr-media-grid { grid-template-columns: minmax(0, 1fr); }
  .nr-home .nr-media-grid > :first-child { grid-row: auto; }
  .nr-home .nr-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .nr-home .nr-photo-grid > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .nr-home .nr-photo-grid .nr-card__title { font-size: 15px; }
  .nr-card--horizontal { grid-template-columns: 120px minmax(0, 1fr); }
  .nr-card--horizontal .nr-card__body { padding: 13px; }
  .nr-card--horizontal .nr-card__summary { display: none; }
}
@media (max-width: 479px) {
  .nr-home .nr-feed { --nr-feed-thumbnail-width: 96px; --nr-feed-thumbnail-height: 76px; }
  .nr-home .nr-feed .nr-card--horizontal { gap: 12px; padding: 12px; }
  .nr-theme .container, .nr-theme .nr-container { width: calc(100% - 24px); }
  .nr-breaking__label { padding-inline: 9px; font-size: 10px; }
  .nr-card__body { padding: 14px; }
  .nr-card--hero .nr-card__body { padding: 100px 18px 68px; }
  .nr-card--hero, .nr-card--hero .nr-card__body { min-height: 390px; }
  .nr-card--hero .nr-card__title { font-size: 25px; }
  .nr-card-grid--four, .nr-home .nr-category__grid,
  .nr-home .nr-category--trio .nr-category__grid,
  .nr-home .nr-category-pair .nr-category--trio .nr-category__grid { grid-template-columns: minmax(0, 1fr); }
  .nr-home .nr-sidebar { grid-template-columns: minmax(0, 1fr); }
  .nr-home .nr-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .nr-home .nr-videos { padding: 18px 14px; }
  .nr-card--horizontal { grid-template-columns: 96px minmax(0, 1fr); }
  .nr-card--horizontal .nr-card__category { font-size: 9px; }
  .nr-card--horizontal .nr-card__meta a { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nr-card__image img { transition: none; }
}
