/* news_tgn_0016 — CLIMATE DESK (CNN Climate inspired)
   Section title + 3-col hero (lead + thumb list | video + stack | rail)
   + 4-col Solutions/Features + split list/video grid + triple pillar columns. */
:root {
  --n16-paper: #ffffff;
  --n16-soft: #f0f0f0;
  --n16-ink: #0c0c0c;
  --n16-muted: #5c5c5c;
  --n16-accent: #cc0000;
  --n16-deep: #990000;
  --n16-panel: #ffffff;
  --n16-rule: #e6e6e6;
  --n16-line: rgba(12,12,12,.12);
  --n16-font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --n16-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --n16-max: 1280px;
  --navbar-h: 110px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--n16-font-body);
  color: var(--n16-ink);
  background: var(--n16-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 56px;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.n16-container,
.container {
  width: min(100% - 2rem, var(--n16-max));
  margin-inline: auto;
}

/* —— Salmon Mast (wordmark + double rules) —— */
.n16-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--n16-panel);
}

.n16-mast.is-scrolled {
  box-shadow: 0 4px 16px rgba(13, 13, 13, 0.08);
}

.n16-mast__rules {
  height: 5px;
  border-top: 1px solid var(--n16-rule);
  border-bottom: 3px solid var(--n16-rule);
  background: transparent;
}

.n16-mast__rules--bot {
  border-top: 3px solid var(--n16-rule);
  border-bottom: 1px solid var(--n16-rule);
}

.n16-mast__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand actions"
    "menu menu";
  align-items: center;
  gap: 0.45rem 1.25rem;
  padding: 0.85rem 0;
}

.n16-mast__brandblock {
  grid-area: brand;
  justify-self: start;
  max-width: min(72vw, 24rem);
}

.n16-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--n16-font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--n16-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.n16-nav-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  max-height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.n16-nav-logo[hidden] {
  display: none;
}
.n16-nav-brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n16-mast__tag {
  display: none;
}

.n16-mast__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
  align-self: center;
  min-height: 40px;
  flex-shrink: 0;
  z-index: 1;
}

.n16-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.1rem;
  flex-wrap: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  width: max-content;
}

.n16-menu a {
  display: inline-block;
  position: relative;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--n16-ink);
  padding: 0.35rem 0;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.n16-menu a:hover,
.n16-menu a.is-active {
  color: var(--n16-accent);
  box-shadow: inset 0 -2px 0 var(--n16-accent);
}

.n16-nav-menus {
  display: none;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 1.1rem;
  min-width: 0;
  height: 100%;
  grid-area: menu;
}
@media (min-width: 900px) {
  .n16-nav-menus {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 0 1.5rem;
  }
  .n16-nav-menus.n16-nav-menus--pending {
    visibility: hidden;
  }
}
.n16-menu.is-measuring {
  overflow: visible;
}
.n16-menu > li.is-overflow {
  display: none !important;
}
.n16-menu > li {
  flex: 0 0 auto;
  white-space: nowrap;
}
.n16-nav-more {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}
.n16-nav-more[hidden] {
  display: none !important;
}
.n16-nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--n16-muted);
  white-space: nowrap;
  cursor: pointer;
}
.n16-nav-more-btn i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.n16-nav-more.is-open .n16-nav-more-btn,
.n16-nav-more-btn:hover,
.n16-nav-more-btn:focus-visible {
  color: var(--n16-accent);
}
.n16-nav-more.has-active .n16-nav-more-btn {
  color: var(--n16-ink);
}
.n16-nav-more.is-open .n16-nav-more-btn i {
  transform: rotate(180deg);
}
.n16-nav-more-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 70;
  min-width: 12rem;
  max-width: min(18rem, 70vw);
  max-height: min(60vh, 22rem);
  overflow-y: auto;
  padding: 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid var(--n16-line);
  background: var(--n16-panel);
  box-shadow: 0 12px 28px rgba(12, 18, 34, 0.14);
}
.n16-nav-more-panel[hidden] {
  display: none !important;
}
.n16-nav-more-panel .nav-menu-item {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--n16-muted);
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.n16-nav-more-panel .nav-menu-item:hover,
.n16-nav-more-panel .nav-menu-item:focus-visible {
  background: rgba(13, 13, 13, 0.06);
  color: var(--n16-accent);
}
.n16-nav-more-panel .nav-menu-item.is-active {
  color: var(--n16-ink);
  background: rgba(13, 13, 13, 0.08);
}

.n1-nav-signin {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--n16-ink);
  border: 1px solid var(--n16-line);
  background: transparent;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}

.n1-nav-signin:hover {
  border-color: var(--n16-accent);
  color: var(--n16-accent);
}

.n1-nav-user {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.n1-nav-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
}

.n1-nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--n16-soft);
  color: var(--n16-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  overflow: hidden;
}

.n1-nav-user-name {
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.n1-nav-user-divider {
  width: 1px;
  height: 18px;
  background: var(--n16-line);
}

.n1-nav-logout {
  border: 0;
  background: transparent;
  color: var(--n16-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0.25rem 0.4rem;
  font-size: 0.75rem;
}

.n1-nav-logout:hover {
  color: var(--n16-accent);
}

.n16-icon-btn {
  border: 1px solid var(--n16-line);
  background: transparent;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--n16-ink);
}

.n16-icon-btn:hover {
  border-color: var(--n16-accent);
  color: var(--n16-accent);
}

@media (min-width: 900px) {
  .n16-mast__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand menu actions";
    align-items: center;
  }
}

/* —— Section chrome —— */
.n16-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.1rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.n16-section-head__title,
.n16-section-head h2 {
  margin: 0;
  font-family: var(--n16-font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.n16-section-head--page {
  margin: 0.35rem 0 1.35rem;
}

.n16-page-title {
  margin: 0;
  font-family: var(--n16-font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.n16-section-head--pillar {
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--n16-ink);
}

.n16-section-head--pillar .n16-kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n16-ink);
}

.n16-view-all {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--n16-accent);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

.n16-view-all:hover {
  color: var(--n16-deep);
}

.n16-flag {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--n16-accent);
}

.n16-flag--on-ink {
  color: #f5c4d4;
}

.n16-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--n16-muted);
}

.n16-thumb-item__body .n16-meta,
.n16-stack-card .n16-meta,
.n16-video-card .n16-meta,
.n16-quad-card .n16-meta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.n16-meta .cat {
  color: var(--n16-accent);
  font-weight: 650;
}

.n16-link-title {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  transition: background-size 0.28s ease, color 0.2s ease;
}

a:hover .n16-link-title,
.n16-link-title:hover {
  color: var(--n16-accent);
  background-size: 100% 1.5px;
}

/* —— Climate desk: 3-col hero —— */
.n16-climate {
  padding: 0.35rem 0 2rem;
}

.n16-climate-swipe {
  display: none;
}

.n16-climate__grid {
  display: grid;
  gap: 1.75rem;
}

.n16-climate__grid > article,
.n16-thumb-list > article,
.n16-stack-list > article,
.n16-quad__grid > article,
.n16-split__videos > article {
  display: contents;
}

.n16-hero-lead {
  display: block;
  margin-bottom: 1.15rem;
}

.n16-hero-lead__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--n16-soft);
  margin: 0 0 0.85rem;
}

.n16-hero-lead__media img,
.n16-stack-card__media img,
.n16-video-card__media img,
.n16-quad-card__media img,
.n16-thumb-item__media img,
.n16-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

a:hover .n16-hero-lead__media img,
a:hover .n16-stack-card__media img,
a:hover .n16-video-card__media img,
a:hover .n16-quad-card__media img,
a:hover .n16-thumb-item__media img,
a:hover .n16-col__media img {
  transform: scale(1.04);
}

.n16-hero-lead__title {
  margin: 0;
  font-family: var(--n16-font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.n16-hero-lead__dek {
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--n16-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n16-dek,
.n16-col__dek {
  margin: 0.32rem 0 0;
  font-size: 0.86rem;
  line-height: 1.42;
  color: var(--n16-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n16-thumb-list {
  display: flex;
  flex-direction: column;
}

.n16-thumb-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.5rem 0;
  border-top: 1px solid var(--n16-rule);
}

.n16-thumb-item__media {
  width: 72px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--n16-soft);
}

.n16-thumb-item__body {
  min-width: 0;
}

.n16-thumb-item__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n16-thumb-list--compact .n16-thumb-item {
  grid-template-columns: 88px 1fr;
  padding: 0.65rem 0;
}

.n16-thumb-list--compact .n16-thumb-item__media {
  width: 88px;
  aspect-ratio: 4 / 3;
}

.n16-thumb-list--compact .n16-thumb-item__title {
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
}

.n16-thumb-list--compact .n16-dek {
  font-size: 0.8rem;
}

.n16-climate__mid,
.n16-climate__rail,
.n16-stack-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.n16-climate__mid .n16-stack-list,
.n16-climate__rail .n16-stack-list {
  display: contents;
}

.n16-climate__mid .n16-video-card__title,
.n16-climate__mid .n16-stack-card__title,
.n16-climate__rail .n16-stack-card__title {
  -webkit-line-clamp: 2;
  min-height: calc(1.28em * 2);
}

.n16-climate__mid .n16-dek,
.n16-climate__rail .n16-dek {
  min-height: calc(1.42em * 2);
}

.n16-stack-card,
.n16-video-card,
.n16-quad-card {
  display: block;
}

.n16-stack-card__media,
.n16-video-card__media,
.n16-quad-card__media,
.n16-col__media {
  overflow: hidden;
  background: var(--n16-soft);
}

.n16-stack-card__media,
.n16-video-card__media {
  aspect-ratio: 16 / 9;
  margin: 0 0 0.55rem;
}

.n16-stack-card__title,
.n16-video-card__title,
.n16-quad-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n16-video-card__media {
  position: relative;
}

@media (min-width: 700px) and (max-width: 899px) {
  .n16-climate__grid {
    grid-template-columns: 1fr 1fr;
  }

  .n16-climate__main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 699px) {
  .n16-container,
  .container {
    width: min(100% - 1.1rem, var(--n16-max));
  }

  .n16-section-head {
    margin: 0 0 0.5rem;
    gap: 0.5rem;
  }

  .n16-section-head__title,
  .n16-section-head h2 {
    font-size: 1.15rem;
  }

  .n16-view-all {
    font-size: 0.72rem;
  }

  .n16-section-head--page {
    margin: 0.1rem 0 0.5rem;
  }

  .n16-page-title {
    font-size: clamp(1.35rem, 6.5vw, 1.7rem);
  }

  .n16-meta {
    font-size: 0.68rem;
    gap: 0.2rem 0.5rem;
  }

  .n16-climate {
    padding: 0.1rem 0 0.85rem;
  }

  /* Keep Climate Desk structure: lead + thumbs, then 2-col mid/rail — not a 1-up carousel */
  .n16-climate-swipe {
    display: none;
  }

  .n16-climate__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 0.55rem;
    align-items: start;
  }

  .n16-climate__main {
    grid-column: 1 / -1;
  }

  .n16-hero-lead {
    margin-bottom: 0.45rem;
  }

  .n16-hero-lead__media {
    margin-bottom: 0.35rem;
  }

  .n16-hero-lead__title {
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
    line-height: 1.2;
  }

  .n16-hero-lead__dek {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  .n16-climate__main .n16-thumb-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--n16-rule);
  }

  .n16-climate__main .n16-thumb-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.45rem 0.4rem 0.45rem 0;
    border-top: 0;
    border-bottom: 1px solid var(--n16-rule);
    align-items: start;
    min-width: 0;
  }

  .n16-climate__main .n16-thumb-list > article:nth-child(odd) .n16-thumb-item {
    padding-right: 0.4rem;
    border-right: 1px solid var(--n16-rule);
  }

  .n16-climate__main .n16-thumb-list > article:nth-child(even) .n16-thumb-item {
    padding-left: 0.4rem;
    padding-right: 0;
  }

  .n16-climate__main .n16-thumb-item__media {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .n16-climate__main .n16-thumb-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .n16-climate__main .n16-thumb-item__title {
    font-size: 0.78rem;
    line-height: 1.25;
    -webkit-line-clamp: 3;
    min-height: 0;
  }

  .n16-climate__main .n16-dek,
  .n16-climate__main .n16-meta {
    display: none;
  }

  .n16-climate__mid,
  .n16-climate__rail {
    gap: 0.6rem;
    min-width: 0;
  }

  .n16-climate__mid {
    padding-right: 0.4rem;
    border-right: 1px solid var(--n16-rule);
  }

  .n16-climate__rail {
    padding-left: 0.1rem;
  }

  .n16-climate__mid .n16-video-card__media,
  .n16-climate__mid .n16-stack-card__media,
  .n16-climate__rail .n16-stack-card__media {
    aspect-ratio: 16 / 10;
    margin-bottom: 0.25rem;
  }

  .n16-climate__mid .n16-video-card__title,
  .n16-climate__mid .n16-stack-card__title,
  .n16-climate__rail .n16-stack-card__title {
    font-size: 0.74rem;
    line-height: 1.22;
    -webkit-line-clamp: 3;
    min-height: 0;
  }

  .n16-climate__mid .n16-dek,
  .n16-climate__rail .n16-dek,
  .n16-climate__mid .n16-meta,
  .n16-climate__rail .n16-meta {
    display: none;
  }

  .n16-quad,
  .n16-quad--tall {
    padding: 0.1rem 0 0.9rem;
  }

  .n16-quad__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 0.55rem;
  }

  /* Featured opener: full-bleed first card, then dense 2-up */
  .n16-quad__grid > article:first-child .n16-quad-card {
    grid-column: 1 / -1;
  }

  .n16-quad__grid > article:first-child .n16-quad-card__media {
    aspect-ratio: 16 / 9;
    margin-bottom: 0.3rem;
  }

  .n16-quad__grid > article:first-child .n16-quad-card__title {
    font-size: 0.98rem;
    -webkit-line-clamp: 3;
  }

  .n16-quad__grid > article:first-child .n16-dek {
    display: -webkit-box;
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }

  .n16-quad-card__media {
    margin-bottom: 0.25rem;
  }

  .n16-quad-card__title {
    font-size: 0.8rem;
    line-height: 1.25;
    -webkit-line-clamp: 3;
  }

  .n16-quad__grid > article:not(:first-child) .n16-dek,
  .n16-quad__grid > article:not(:first-child) .n16-meta {
    display: none;
  }

  .n16-split {
    padding: 0.1rem 0 0.9rem;
  }

  .n16-split__grid {
    gap: 0.75rem;
  }

  .n16-thumb-list--split .n16-thumb-item {
    grid-template-columns: 60px 1fr;
    gap: 0.45rem;
    padding: 0.4rem 0;
  }

  .n16-thumb-list--split .n16-thumb-item__media {
    width: 60px;
  }

  .n16-thumb-list--split .n16-thumb-item__title {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .n16-thumb-list--split .n16-dek {
    display: none;
  }

  .n16-split__videos {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.5rem;
  }

  .n16-split__videos .n16-video-card__media {
    aspect-ratio: 16 / 10;
    margin-bottom: 0.22rem;
  }

  .n16-split__videos .n16-video-card__title {
    font-size: 0.76rem;
    line-height: 1.22;
    -webkit-line-clamp: 3;
  }

  .n16-split__videos .n16-dek,
  .n16-split__videos .n16-meta {
    display: none;
  }

  .n16-pillars {
    padding: 0.1rem 0 0.9rem;
  }

  /* Swipeable category pillars — signature mobile rhythm */
  .n16-pillars__grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    margin-inline: -0.55rem;
    padding-inline: 0.55rem;
  }

  .n16-pillars__grid::-webkit-scrollbar {
    display: none;
  }

  .n16-pillar {
    flex: 0 0 min(76%, 17rem);
    scroll-snap-align: start;
    padding-right: 0.75rem;
    margin-right: 0.55rem;
    border-right: 1px solid var(--n16-rule);
  }

  .n16-pillar:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0.2rem;
  }

  .n16-section-head--pillar {
    margin-bottom: 0.3rem;
    padding-bottom: 0.25rem;
  }

  .n16-kicker {
    font-size: 0.78rem;
  }

  .n16-thumb-list--compact .n16-thumb-item {
    grid-template-columns: 56px 1fr;
    gap: 0.4rem;
    padding: 0.35rem 0;
  }

  .n16-thumb-list--compact .n16-thumb-item__media {
    width: 56px;
  }

  .n16-thumb-list--compact .n16-thumb-item__title {
    font-size: 0.78rem;
  }

  .n16-thumb-list--compact .n16-dek,
  .n16-thumb-list--compact .n16-meta {
    display: none;
  }

  .n16-columns__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 0.55rem;
  }

  .n16-columns__grid > article:first-child .n16-col {
    grid-column: 1 / -1;
  }

  .n16-columns__grid > article:first-child .n16-col__media {
    aspect-ratio: 16 / 9;
  }

  .n16-columns__grid > article:first-child .n16-col__title {
    font-size: 0.98rem;
  }

  .n16-col__title {
    font-size: 0.8rem;
  }

  .n16-col__dek,
  .n16-columns .n16-dek,
  .n16-columns .n16-meta {
    display: none;
  }

  .n16-desk-mast {
    margin-bottom: 0.7rem;
    padding-bottom: 0.6rem;
  }

  .n16-desk-mast__title {
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }

  .n16-desk-mast__desc {
    font-size: 0.82rem;
    margin-top: 0.25rem;
  }

  .n16-desk-lead {
    margin-bottom: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .n16-desk-lead__title {
    font-size: clamp(1.1rem, 4.8vw, 1.3rem);
  }

  .n16-desk-lead__dek {
    -webkit-line-clamp: 2;
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }

  .n16-desk-row__link {
    grid-template-columns: auto 1fr 4.5rem;
    gap: 0.4rem 0.5rem;
    padding: 0.55rem 0;
    align-items: center;
  }

  .n16-desk-row__index {
    font-size: 0.8rem;
    min-width: 1.35rem;
  }

  .n16-desk-row__media {
    display: block;
    width: 4.5rem;
    aspect-ratio: 4 / 3;
  }

  .n16-desk-row__title {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
  }

  .n16-desk-row__dek {
    display: none;
  }

  .n16-news {
    padding: 1rem 0;
  }

  .n16-news__title {
    font-size: 1.15rem;
  }

  .n16-news__text {
    font-size: 0.82rem;
  }

  .n16-news__inner {
    gap: 0.65rem;
  }

  .n16-article__title {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
  }

  .n16-article__body {
    font-size: 0.95rem;
  }
}

@media (min-width: 900px) {
  .n16-climate__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 1.35rem;
    align-items: start;
  }

  .n16-climate__grid--sparse {
    grid-template-columns: minmax(0, 1fr);
  }

  .n16-climate__main {
    display: flex;
    flex-direction: column;
    padding-right: 1.15rem;
    border-right: 1px solid var(--n16-rule);
  }

  .n16-climate__main .n16-thumb-list {
    flex: 0 0 auto;
  }

  .n16-climate__main .n16-thumb-item {
    flex: 0 0 auto;
    grid-template-columns: 88px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding-block: 0.48rem;
  }

  .n16-climate__main .n16-thumb-item__media {
    width: 88px;
  }

  .n16-climate__main .n16-thumb-item__title {
    font-size: 0.98rem;
    -webkit-line-clamp: 2;
  }

  .n16-climate__main .n16-dek {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    -webkit-line-clamp: 1;
  }

  .n16-climate__main .n16-thumb-list article:first-child .n16-thumb-item,
  .n16-climate__main .n16-thumb-list > .n16-thumb-item:first-child {
    padding-top: 0.55rem;
  }

  .n16-climate__main .n16-thumb-list article:last-child .n16-thumb-item,
  .n16-climate__main .n16-thumb-list > .n16-thumb-item:last-child {
    padding-bottom: 0;
  }

  .n16-climate__mid {
    padding-right: 0.75rem;
    border-right: 1px solid var(--n16-rule);
  }

  .n16-climate__rail {
    padding-left: 0.75rem;
  }
}

/* —— 4-col Solutions / Features —— */
.n16-quad {
  padding: 0.35rem 0 2.15rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.n16-quad__grid {
  display: grid;
  gap: 1.25rem 1.1rem;
}

.n16-quad-card__media {
  aspect-ratio: 16 / 10;
  margin: 0 0 0.6rem;
}

.n16-quad--tall .n16-quad-card__media {
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .n16-quad__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .n16-quad__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— Split: thumb list + 2x2 videos —— */
.n16-split {
  padding: 0.25rem 0 2.15rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.n16-split__grid {
  display: grid;
  gap: 1.5rem;
}

.n16-thumb-list--split .n16-thumb-item {
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  padding: 0.9rem 0;
}

.n16-thumb-list--split .n16-thumb-item__media {
  width: 88px;
}

.n16-thumb-list--split .n16-thumb-item__title {
  font-size: 1.02rem;
}

.n16-thumb-list--split article:first-child .n16-thumb-item {
  border-top: 0;
  padding-top: 0;
}

.n16-thumb-list--split article:last-child .n16-thumb-item {
  padding-bottom: 0;
}

.n16-split__videos {
  display: grid;
  gap: 0.95rem 1rem;
}

.n16-split__videos .n16-video-card__media {
  aspect-ratio: 2 / 1;
  margin-bottom: 0.4rem;
}

.n16-split__videos .n16-video-card__title {
  font-size: 0.98rem;
  -webkit-line-clamp: 2;
}

@media (min-width: 700px) {
  .n16-split__videos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .n16-split__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
    gap: 1.75rem;
    align-items: stretch;
  }

  .n16-thumb-list--split {
    height: 100%;
  }

  .n16-thumb-list--split .n16-thumb-item {
    flex: 1 1 0;
    grid-template-columns: 108px 1fr;
    gap: 1rem;
    padding-block: 1.05rem;
  }

  .n16-thumb-list--split .n16-thumb-item__media {
    width: 108px;
  }

  .n16-thumb-list--split .n16-thumb-item__title {
    font-size: 1.08rem;
  }

  .n16-thumb-list--split article:first-child .n16-thumb-item {
    padding-top: 0;
  }

  .n16-thumb-list--split article:last-child .n16-thumb-item {
    padding-bottom: 0;
  }
}

/* —— Triple category pillars —— */
.n16-pillars {
  padding: 0.25rem 0 2.25rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 560px;
}

.n16-pillars__grid {
  display: grid;
  gap: 1.75rem;
}

.n16-thumb-list--compact .n16-thumb-item:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

@media (min-width: 768px) {
  .n16-pillars__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.75rem;
  }
}

/* —— Category / related card river (same as Solutions) —— */
.n16-columns {
  padding: 0.5rem 0 2rem;
}

.n16-columns__grid {
  display: grid;
  gap: 1.25rem 1.1rem;
}

.n16-columns__grid > article {
  display: contents;
}

.n16-col {
  display: flex;
  flex-direction: column;
}

.n16-col__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.n16-col__media {
  order: -1;
  margin: 0 0 0.6rem;
  aspect-ratio: 16 / 10;
}

@media (min-width: 640px) {
  .n16-columns__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .n16-columns__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— Newsletter —— */
.n16-news {
  padding: 2.25rem 0;
  background: #1a1a1a;
  color: #f3f3f3;
}

.n16-news__inner {
  display: grid;
  gap: 1.25rem;
}

.n16-news__title {
  margin: 0 0 0.45rem;
  font-family: var(--n16-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.n16-news__text {
  margin: 0;
  color: rgba(243, 243, 243, 0.72);
  max-width: 32rem;
}

.n16-news__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.n16-news__form input[type="email"] {
  flex: 1 1 12rem;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #fff;
  color: var(--n16-ink);
  padding: 0.5rem 0.85rem;
}

.n16-news__form input[type="email"]::placeholder {
  color: var(--n16-muted);
}

.n16-news__form button {
  min-height: 44px;
  border: 0;
  background: var(--n16-accent);
  color: #fff;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
}

.n16-news__form button:hover {
  background: var(--n16-deep);
}

.n16-news__form .newsletter-status {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.85rem;
  color: #f5c4c4;
}

@media (min-width: 768px) {
  .n16-news__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
  }
}

/* —— Footer —— */
.n16-footer {
  padding: 2.5rem 0 2rem;
  background: #1a1a1a;
  color: #f3f3f3;
  border-top: 0;
}

.n16-footer__grid {
  display: grid;
  gap: 1.75rem;
}

.n16-footer__brand {
  display: inline-block;
  font-family: var(--n16-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: #fff;
}

.n16-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.n16-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f3f3f3;
}

.n16-footer__social a:hover {
  border-color: var(--n16-accent);
  color: var(--n16-accent);
}

.n16-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.n16-footer__links a {
  font-size: 0.88rem;
  color: rgba(243, 243, 243, 0.72);
}

.n16-footer__links a:hover {
  color: var(--n16-accent);
}

.n16-footer__copy {
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(243, 243, 243, 0.55);
}

@media (min-width: 768px) {
  .n16-footer__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* —— Detail —— */
.n16-article {
  padding: 1.5rem 0 2.5rem;
}

.breadcrumb-nav {
  margin: 0 0 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a,
.breadcrumb-item span[aria-current="page"] {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--n16-muted);
}

.breadcrumb-item a:hover {
  color: var(--n16-accent);
}

.breadcrumb-separator {
  font-size: 0.8rem;
  color: var(--n16-muted);
  user-select: none;
}

.n16-article__cat {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--n16-accent);
}

.n16-article__title {
  margin: 0 0 0.75rem;
  font-family: var(--n16-font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.n16-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--n16-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--n16-rule);
}

.n16-share {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.n16-share a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--n16-line);
}

.n16-share a:hover {
  border-color: var(--n16-accent);
  color: var(--n16-accent);
}

.n16-article__cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--n16-soft);
  margin: 0 0 1.75rem;
  max-width: 100%;
}

.n16-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n16-article__body {
  max-width: none;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.75;
}

.n16-article__body p {
  margin: 0 0 1.1rem;
}

.n16-article__body img {
  margin: 1.25rem 0;
}

.n16-related {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--n16-rule);
}

.n16-related h2 {
  margin: 0 0 1.15rem;
  font-family: var(--n16-font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

/* —— Category desk (magazine split) —— */
.n16-desk {
  padding: 1.25rem 0 3rem;
}

.n16-desk-mast {
  display: block;
  margin: 0 0 1.35rem;
  padding: 0 0 1.1rem;
  border-bottom: 3px solid var(--n16-ink);
}

.n16-desk-mast__title {
  margin: 0;
  font-family: var(--n16-font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.n16-desk-mast__desc {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  color: var(--n16-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.n16-desk-shell {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.n16-desk-rail {
  display: none;
}

.n16-desk-rail__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--n16-ink);
}

.n16-desk-rail__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.15rem;
  border-bottom: 1px solid var(--n16-rule);
  color: var(--n16-ink);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.25;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.n16-desk-rail__link:hover {
  color: var(--n16-accent);
  padding-left: 0.35rem;
}

.n16-desk-rail__link.is-active {
  color: var(--n16-accent);
  box-shadow: inset 3px 0 0 var(--n16-accent);
  padding-left: 0.55rem;
  font-weight: 800;
}

.n16-desk-rail__name {
  min-width: 0;
}

.n16-desk-stream {
  min-width: 0;
}

.n16-desk-lead {
  margin: 0 0 1.35rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid var(--n16-rule);
}

.n16-desk-lead__link {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.n16-desk-lead__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--n16-soft);
}

.n16-desk-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n16-desk-lead__title {
  margin: 0;
  font-family: var(--n16-font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.n16-desk-lead__dek {
  margin: 0.7rem 0 0;
  color: var(--n16-muted);
  font-size: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n16-desk-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: desk-row 1;
}

.n16-desk-row {
  border-bottom: 1px solid var(--n16-rule);
}

.n16-desk-row__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1rem 0;
}

.n16-desk-row__index {
  font-family: var(--n16-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--n16-accent);
  line-height: 1.2;
  min-width: 1.6rem;
}

.n16-desk-row__body {
  min-width: 0;
}

.n16-desk-row__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n16-desk-row__dek {
  margin: 0.35rem 0 0;
  color: var(--n16-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n16-desk-row__media {
  display: none;
  width: 7.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--n16-soft);
}

.n16-desk-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n16-empty {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--n16-muted);
}

.n16-empty--desk {
  text-align: left;
  padding: 2rem 0;
  border-top: 1px solid var(--n16-rule);
}

.n16-empty h2 {
  font-family: var(--n16-font-display);
  color: var(--n16-ink);
}

/* —— Category button + drawer (mobile) —— */
.n16-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--n16-ink);
  background: var(--n16-panel);
  color: var(--n16-ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.n16-cat-btn__chev {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--n16-muted);
}

.n16-cat-btn i:first-child {
  color: var(--n16-accent);
}

.n16-cat-btn:hover {
  border-color: var(--n16-accent);
  color: var(--n16-deep);
}

.n16-cat-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(13, 13, 13, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.n16-cat-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.n16-cat-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1201;
  width: min(100%, 18.5rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--n16-panel);
  border-right: 1px solid var(--n16-line);
  transform: translateX(-100%);
  transition: transform 0.22s ease;
}

.n16-cat-drawer.is-open {
  transform: translateX(0);
}

.n16-cat-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 3px solid var(--n16-ink);
}

.n16-cat-drawer__head h2 {
  margin: 0;
  font-family: var(--n16-font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.n16-cat-drawer__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--n16-line);
  background: var(--n16-soft);
  color: var(--n16-ink);
  cursor: pointer;
}

.n16-cat-drawer__list {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 0.85rem 1.25rem;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.n16-cat-drawer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--n16-rule);
  color: var(--n16-ink);
  font-weight: 600;
}

.n16-cat-drawer__link:hover,
.n16-cat-drawer__link.is-active {
  color: var(--n16-deep);
  background: rgba(204, 0, 0, 0.08);
}

.n16-cat-drawer__link.is-active {
  box-shadow: inset 3px 0 0 var(--n16-accent);
}

body.n16-cat-drawer-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .n16-desk-lead__link {
    grid-template-columns: 1.15fr 1fr;
    gap: 1.35rem;
  }

  .n16-desk-row__link {
    grid-template-columns: auto 1fr auto;
  }

  .n16-desk-row__media {
    display: block;
  }
}

@media (min-width: 960px) {
  .n16-desk-shell {
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 2rem;
  }

  .n16-desk-rail {
    display: block;
    position: sticky;
    top: calc(var(--navbar-h, 110px) + 0.75rem);
  }

  .n16-cat-btn {
    display: none;
  }

  .n16-desk-lead__link {
    grid-template-columns: 1.25fr 1fr;
    gap: 1.6rem;
  }

  .n16-desk-row__title {
    font-size: 1.12rem;
    -webkit-line-clamp: 2;
  }
}

/* Legacy page shell (legal / contact still use n16-page) */
.n16-page {
  padding: 1.5rem 0 2.5rem;
}

.n16-page__title {
  margin: 0 0 0.45rem;
  font-family: var(--n16-font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.n16-page__desc {
  margin: 0 0 1.15rem;
  color: var(--n16-muted);
  max-width: 40rem;
}

/* —— Motion —— */
[data-n16-tile].is-pending {
  opacity: 0;
  transform: translateY(10px);
}

[data-n16-tile].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Never delay LCP hero with entrance opacity */
.n16-hero-lead.is-pending,
.n16-hero-lead[data-n16-tile].is-pending,
.n16-hero-lead.is-pending .n16-hero-lead__title {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-n16-tile].is-pending,
  [data-n16-tile].is-in,
  .n16-hero-lead__media img,
  .n16-col__media img,
  .n16-thumb-item__media img,
  .n16-stack-card__media img,
  .n16-video-card__media img,
  .n16-quad-card__media img,
  .n16-link-title {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    background-size: 0 1.5px;
  }
}

/* —— Mobile nav / search / back-to-top —— */
.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--n16-panel);
  border-top: 1px solid var(--n16-line);
  display: none;
}

.mobile-nav-menu {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  margin: 0;
  padding: 0.2rem 0 calc(0.2rem + env(safe-area-inset-bottom, 0));
  list-style: none;
}

.mobile-nav-menu.is-logged-in {
  grid-template-columns: repeat(6, 1fr);
}

.mobile-nav-user-pair {
  display: contents;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 56px;
  min-height: 52px;
  font-size: 0.65rem;
  font-weight: 650;
  color: var(--n16-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-nav-link i {
  font-size: 1.05rem;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link.is-active {
  color: var(--n16-accent);
}

@media (max-width: 899px) {
  .mobile-nav {
    display: block;
  }

  /* Compact sticky mast — brand only; actions live in bottom bar */
  .n16-mast {
    border-top-width: 3px;
  }

  .n16-mast__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions";
    gap: 0;
    padding: 0.4rem 0;
    min-height: 0;
  }

  .n16-mast__brandblock {
    max-width: min(70vw, 18rem);
  }

  .n16-brand {
    font-size: 1.02rem;
  }

  .n16-nav-logo {
    height: 22px;
    max-height: 22px;
    max-width: 96px;
  }

  .n16-mast__actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.3rem;
  }

  .n16-mast__actions .n1-nav-signin {
    min-height: 34px;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
  }

  .n16-mast__actions .n16-icon-btn {
    width: 34px;
    height: 34px;
  }

  .n16-nav-menus {
    display: none !important;
  }

  .mobile-nav-link {
    min-height: 48px;
    font-size: 0.6rem;
  }

  .mobile-nav-link i {
    font-size: 0.95rem;
  }

  .mobile-nav-menu {
    padding: 0.1rem 0 calc(0.1rem + env(safe-area-inset-bottom, 0));
  }
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 13, 13, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.search-overlay.active {
  display: flex;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.search-form {
  width: min(100%, 36rem);
}

.search-input-wrapper {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 0.5rem;
}

.search-input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  min-height: 48px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search-submit {
  border: 0;
  background: transparent;
  color: #fff;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Back to top — self-contained (header does not load ads.css) */
.n16-back-to-top.back-to-top {
  position: fixed !important;
  right: 1rem !important;
  bottom: 5.5rem !important;
  z-index: 55 !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--n16-line) !important;
  border-radius: 0 !important;
  background: var(--n16-ink) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(13, 13, 13, 0.22) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: grid !important;
  place-items: center;
  cursor: pointer;
  backdrop-filter: none !important;
  font-size: inherit !important;
  outline: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease, transform 0.2s ease !important;
}

.n16-back-to-top.back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transform: none !important;
}

.n16-back-to-top.back-to-top:not(.show) {
  transform: none !important;
}

.n16-back-to-top.back-to-top:hover {
  background: var(--n16-accent) !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: 0 8px 20px rgba(204, 0, 0, 0.35) !important;
}

.n16-back-to-top.back-to-top:active {
  transform: none !important;
}

.n16-back-to-top.back-to-top::before {
  display: none !important;
  animation: none !important;
}

@media (min-width: 900px) {
  .n16-back-to-top.back-to-top {
    bottom: 1.5rem !important;
  }
}

body.cookie-banner-visible .n16-back-to-top.back-to-top {
  bottom: calc(0.75rem + var(--cookie-banner-h, 140px)) !important;
  z-index: 10001 !important;
}

@media (min-width: 900px) {
  body.cookie-banner-visible .n16-back-to-top.back-to-top {
    bottom: calc(1rem + var(--cookie-banner-h, 140px)) !important;
  }
}

/* —— Legal / static pages —— */
.n16-legal,
.legal-content {
  width: min(100% - 2rem, 42rem);
  margin: 2rem auto 3rem;
  line-height: 1.7;
}

.n16-legal h1,
.legal-content h1 {
  font-family: var(--n16-font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.n16-legal a,
.legal-content a {
  color: var(--n16-accent);
}

/* Detail favorite button skin */
.detail-favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  border: 1px solid var(--n16-line);
  background: transparent;
  color: var(--n16-ink);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
}

.detail-favorite-btn:hover {
  border-color: var(--n16-accent);
  color: var(--n16-accent);
}

.detail-favorite-btn__icon {
  width: 16px;
  height: 16px;
}

.detail-favorite-btn[aria-pressed="true"] {
  border-color: var(--n16-accent);
  color: var(--n16-accent);
}

/* —— Generated layout modifiers —— */
/* layout=climate-desk mast=kick */

.n16-mast { border-top: 4px solid var(--n16-accent); }
.n16-mast__rules { display: none; }

@media (max-width: 899px) {
  .n16-mast {
    border-top-width: 3px;
  }
}


/* content-link-marker */
.n16-article__body a {
  color: #aa0e0e;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 1px;
  text-decoration-thickness: 1px;
  background-image: linear-gradient(transparent 54%, #fad6c6 54%);
  background-repeat: no-repeat;
  padding: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  cursor: pointer;
}
.n16-article__body a:hover {
  color: #880707;
  background-image: linear-gradient(transparent 54%, #f6c0ac 54%);
}
/* /content-link-marker */
