/* ============================================================================
   Cloud Native Pulse — Broadcast
   Poster-style editorial design system.

   Rules that hold everywhere in this file:
     - border-radius is 0. There are no shadows.
     - Colours come from the tokens below; nothing is invented inline.
     - Every size that changes across breakpoints is a custom property,
       redefined in the two media queries at the top. Change it once there.
   ========================================================================= */

/* ---------------------------------------------------------------- tokens - */
:root {
  /* Surfaces */
  --cnp-navy: #0e2437;
  --cnp-orange: #ef7b21;
  --cnp-blue: #14468c;
  --cnp-bg: #f2f4f7;
  --cnp-search-bg: #0b1f33;
  --cnp-chip-bg: #e4eaf1;
  --cnp-row-hover: #e9edf3;
  --cnp-warn-bg: #fdf0e4;

  /* Lines */
  --cnp-divider: #d2d9e2;
  --cnp-dark-border: #2c4a66;
  --cnp-hairline: #16324b;
  --cnp-hairline-2: #1e3b54;

  /* Type colours */
  --cnp-text: #0e2437;
  --cnp-body: #52616f;
  --cnp-on-orange: #3c2609;
  --cnp-italic: #37475a;
  --cnp-meta: #7a8a9b;
  --cnp-num-idle: #a9b6c4;
  --cnp-muted-1: #93a6b8;
  --cnp-muted-2: #7e93a8;
  --cnp-muted-3: #6e8195;
  --cnp-light-blue: #8fc4ec;
  --cnp-filter-idle: #c7ddf1;
  --cnp-warn-label: #c25c0b;
  --cnp-code-text: #e4ebf2;

  /* Families */
  --cnp-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --cnp-sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --cnp-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --cnp-max: 1240px;
  --cnp-article-max: 900px;

  /* Responsive scale — mobile first (< 700px) */
  --cnp-hero-size: 40px;
  --cnp-ghost-size: 150px;
  --cnp-page-title: 30px;
  --cnp-detail-size: 32px;
  --cnp-h2-size: 26px;
  --cnp-cta-size: 25px;
  --cnp-h2-article: 25px;
  --cnp-h3-article: 19px;
  --cnp-section-pad: 26px 20px;
  --cnp-head-pad: 24px 20px;
  --cnp-hero-pad: 28px 20px;
  --cnp-radar-pad: 24px 20px;
  --cnp-cta-pad: 26px 20px;
  --cnp-code-pad: 16px;
  --cnp-body-max: none;
  --cnp-hero-cols: 1fr;
  --cnp-detail-cols: 1fr;
  --cnp-recent-cols: 1fr;
  --cnp-article-cols: 1fr;
  --cnp-cta-cols: 1fr;
}

/* Tablet: 700–1023px */
@media (min-width: 700px) {
  :root {
    --cnp-hero-size: 54px;
    --cnp-ghost-size: 200px;
    --cnp-page-title: 42px;
    --cnp-detail-size: 44px;
    --cnp-cta-size: 30px;
    --cnp-section-pad: 36px 28px;
    --cnp-head-pad: 34px 28px;
    --cnp-hero-pad: 40px 32px;
    --cnp-radar-pad: 32px 32px;
    --cnp-recent-cols: 1fr 1fr;
    --cnp-article-cols: 110px 1fr;
  }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  :root {
    --cnp-hero-size: 68px;
    --cnp-ghost-size: 260px;
    --cnp-page-title: 54px;
    --cnp-detail-size: 58px;
    --cnp-h2-size: 34px;
    --cnp-cta-size: 38px;
    --cnp-h2-article: 32px;
    --cnp-h3-article: 22px;
    --cnp-section-pad: 48px 40px;
    --cnp-head-pad: 44px 40px;
    --cnp-hero-pad: 52px 44px;
    --cnp-radar-pad: 52px 36px;
    --cnp-cta-pad: 40px;
    --cnp-code-pad: 20px 22px;
    --cnp-body-max: 74ch;
    --cnp-hero-cols: 1.15fr 1fr;
    --cnp-detail-cols: 1.6fr 1fr;
    --cnp-recent-cols: 1fr 1fr 1fr;
    --cnp-cta-cols: 1fr 420px;
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--cnp-bg);
  font-family: var(--cnp-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--cnp-body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--cnp-blue); text-decoration: none; }
a:hover { color: var(--cnp-orange); }

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
input::placeholder { color: var(--cnp-meta); }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

.cnp-main { flex: 1 0 auto; }

.cnp-shell {
  max-width: var(--cnp-max);
  margin: 0 auto;
  width: 100%;
}

.cnp-shell--article { max-width: var(--cnp-article-max); }

.cnp-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--cnp-orange);
  color: var(--cnp-navy);
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 18px;
}
.cnp-skip-link:focus { left: 0; color: var(--cnp-navy); }

:focus-visible {
  outline: 3px solid var(--cnp-orange);
  outline-offset: 2px;
}

.cnp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------- keyframes ----- */
@keyframes cnpEcgSweep {
  0%   { clip-path: inset(0 100% 0 0); }
  10%  { clip-path: inset(0 66% 0 0); }
  38%  { clip-path: inset(0 33% 0 0); }
  48%, 52% { clip-path: inset(0 0 0 0); }
  62%  { clip-path: inset(0 0 0 33%); }
  90%  { clip-path: inset(0 0 0 66%); }
  100% { clip-path: inset(0 0 0 100%); }
}
@keyframes cnpBar   { 0%, 100% { transform: scaleY(.42); } 50% { transform: scaleY(1); } }
@keyframes cnpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes cnpNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes cnpFade  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cnpSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }

.cnp-page { animation: cnpFade .3s ease; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ============================================================== header === */
.cnp-header {
  background: var(--cnp-navy);
  position: sticky;
  top: 0;
  z-index: 40;
}

.cnp-header__inner {
  max-width: var(--cnp-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.cnp-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #fff;
}
.cnp-brand:hover { color: #fff; }

.cnp-brand__back {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--cnp-orange);
  flex: none;
  display: none;
}

.cnp-brand__name {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

/* ECG heartbeat — the brand mark */
.cnp-ecg {
  position: relative;
  flex: none;
  width: 46px;
  height: 24px;
  overflow: hidden;
}
.cnp-ecg__base {
  position: absolute;
  left: 1px;
  right: 1px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(239, 123, 33, .28);
}
.cnp-ecg__line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  animation: cnpEcgSweep 2.4s linear infinite;
}

@media (min-width: 700px) {
  .cnp-brand { gap: 12px; }
  .cnp-brand__name { font-size: 15px; }
  .cnp-ecg { width: 70px; height: 30px; }
  .cnp-brand--sub .cnp-brand__back { display: block; }
}

/* Desktop nav */
.cnp-nav {
  display: none;
  align-items: center;
  gap: 26px;
}
@media (min-width: 700px) { .cnp-nav { display: flex; } }

.cnp-nav__link {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cnp-muted-1);
}
.cnp-nav__link:hover,
.cnp-nav__link.is-active { color: var(--cnp-orange); }

.cnp-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--cnp-dark-border);
  background: transparent;
  padding: 9px 13px;
  cursor: pointer;
}
.cnp-search-btn:hover { border-color: var(--cnp-orange); }
.cnp-search-btn__label {
  font-family: var(--cnp-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cnp-muted-1);
}

/* Mobile controls */
.cnp-mobile-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
@media (min-width: 700px) { .cnp-mobile-controls { display: none; } }

.cnp-icon-btn {
  padding: 8px;
  display: flex;
  background: none;
  border: 0;
  cursor: pointer;
}

.cnp-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.cnp-burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}
.cnp-burger span:first-child { background: var(--cnp-orange); }

/* Inline search bar */
.cnp-searchbar {
  border-top: 1px solid var(--cnp-hairline);
  background: var(--cnp-search-bg);
}
.cnp-searchbar[hidden] { display: none; }
.cnp-searchbar__inner {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cnp-searchbar__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-family: var(--cnp-sans);
  font-size: 17px;
  color: #fff;
  outline: none;
}
.cnp-searchbar__clear {
  font-family: var(--cnp-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cnp-muted-2);
  background: none;
  border: 0;
  cursor: pointer;
  flex: none;
}
.cnp-searchbar__close {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  flex: none;
  line-height: 1;
}

/* ========================================================= mobile menu === */
.cnp-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 36, 55, .55);
}
.cnp-menu[hidden] { display: none; }

.cnp-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 84vw;
  background: var(--cnp-navy);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: cnpSlide .22s ease;
}
.cnp-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}
.cnp-menu__label {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-orange);
}
.cnp-menu__close {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
}
.cnp-menu__link {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.cnp-menu__link:hover { color: var(--cnp-orange); }
.cnp-menu__search {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--cnp-dark-border);
  background: none;
  padding: 14px;
  cursor: pointer;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.cnp-menu__platforms {
  margin-top: auto;
  display: flex;
  gap: 16px;
  font-family: var(--cnp-mono);
  font-size: 12px;
  color: var(--cnp-muted-2);
}
.cnp-menu__platforms a { color: var(--cnp-muted-2); }
.cnp-menu__platforms a:hover { color: var(--cnp-orange); }

/* =========================================================== page band === */
.cnp-band {
  background: var(--cnp-navy);
  position: relative;
  overflow: hidden;
}
.cnp-band__inner {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: var(--cnp-head-pad);
  position: relative;
}
.cnp-band__inner--split {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
}
.cnp-band__inner--stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cnp-band__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-page-title);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
}
.cnp-band__title--sentence { text-transform: none; }
.cnp-band__count {
  flex: none;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-page-title);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--cnp-orange);
}
.cnp-band__meta {
  flex: none;
  font-family: var(--cnp-mono);
  font-size: 13px;
  color: var(--cnp-orange);
}
.cnp-band__kicker {
  font-family: var(--cnp-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-orange);
}

/* Oversized ghost numeral behind a band */
.cnp-ghost {
  position: absolute;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-ghost-size);
  line-height: .78;
  letter-spacing: -.06em;
  animation: cnpFloat 11s ease-in-out infinite;
  pointer-events: none;
  color: rgba(239, 123, 33, .14);
  left: 10px;
  bottom: -50px;
}

/* ================================================================= home == */
.cnp-hero {
  max-width: var(--cnp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--cnp-hero-cols);
}

.cnp-hero__feature {
  background: var(--cnp-orange);
  padding: var(--cnp-hero-pad);
  position: relative;
  overflow: hidden;
}
.cnp-hero__ghost {
  position: absolute;
  right: -22px;
  bottom: -46px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-ghost-size);
  line-height: .75;
  color: rgba(14, 36, 55, .13);
  letter-spacing: -.07em;
  animation: cnpFloat 12s ease-in-out infinite;
  pointer-events: none;
}
.cnp-hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cnp-hero__label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cnp-navy);
}
.cnp-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cnp-navy);
  display: block;
  animation: cnpBar 2.4s ease-in-out infinite;
}
.cnp-hero__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-hero-size);
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: var(--cnp-navy);
}
.cnp-hero__title a { color: var(--cnp-navy); }
.cnp-hero__title a:hover { color: var(--cnp-navy); }
.cnp-hero__standfirst {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--cnp-on-orange);
  max-width: 42ch;
  text-wrap: pretty;
}
.cnp-hero__notes {
  align-self: flex-start;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cnp-navy);
  border-bottom: 2px solid var(--cnp-navy);
  padding-bottom: 3px;
}
.cnp-hero__notes:hover { color: var(--cnp-navy); }

/* Release Radar panel */
.cnp-radar {
  background: var(--cnp-blue);
  padding: var(--cnp-radar-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cnp-radar__label {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cnp-light-blue);
}
.cnp-radar__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.cnp-radar__version {
  font-family: var(--cnp-mono);
  font-size: 12px;
  color: var(--cnp-orange);
}
.cnp-radar__title {
  font-family: var(--cnp-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: #fff;
}
.cnp-radar__item:hover .cnp-radar__title { color: var(--cnp-orange); }
.cnp-radar__all {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--cnp-orange);
  padding: 14px 16px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cnp-navy);
}
.cnp-radar__all:hover { color: var(--cnp-navy); }
.cnp-radar__arrow {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 16px;
  animation: cnpNudge 2.6s ease-in-out infinite;
}

/* Section head + earlier grid */
.cnp-section {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: var(--cnp-section-pad);
}
.cnp-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.cnp-section__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-h2-size);
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--cnp-text);
}
.cnp-section__more {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cnp-blue);
  white-space: nowrap;
}

/* At mobile widths the section title wraps, and a baseline-aligned link
   beside it collides with the second line. Stack them instead. */
@media (max-width: 699px) {
  .cnp-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.cnp-recent {
  display: grid;
  grid-template-columns: var(--cnp-recent-cols);
  border-top: 3px solid var(--cnp-navy);
}
.cnp-recent__item {
  padding: 20px 22px 20px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 2px solid var(--cnp-divider);
  transition: transform .25s ease;
}
.cnp-recent__item:hover { transform: translateY(-4px); }
.cnp-recent__num {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 40px;
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--cnp-orange);
  flex: none;
}
.cnp-recent__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cnp-recent__title {
  font-family: var(--cnp-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  color: var(--cnp-text);
}
.cnp-recent__item:hover .cnp-recent__title { color: var(--cnp-blue); }
.cnp-recent__meta {
  font-family: var(--cnp-mono);
  font-size: 11px;
  color: var(--cnp-body);
}

/* Listen CTA */
.cnp-cta { background: var(--cnp-navy); }
.cnp-cta__inner {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: var(--cnp-cta-pad);
  display: grid;
  grid-template-columns: var(--cnp-cta-cols);
  gap: 28px;
  align-items: center;
}
.cnp-cta__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-cta-size);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: #fff;
}
.cnp-cta__title em { font-style: normal; color: var(--cnp-orange); }
.cnp-cta__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cnp-outline-btn {
  border: 1px solid var(--cnp-dark-border);
  padding: 14px 18px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: none;
  cursor: pointer;
}
.cnp-outline-btn:hover { border-color: var(--cnp-orange); color: #fff; }

/* ================================================================ rows === */
.cnp-list { max-width: var(--cnp-max); margin: 0 auto; padding: 0 20px 40px; }

.cnp-row {
  padding: 20px 0;
  border-bottom: 2px solid var(--cnp-divider);
  display: flex;
  gap: 18px;
  align-items: center;
}
.cnp-row:hover { background: var(--cnp-row-hover); }
.cnp-row__num {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 38px;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--cnp-num-idle);
  flex: none;
  width: 62px;
}
.cnp-row__num--latest { color: var(--cnp-orange); }
.cnp-row__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.cnp-row__title {
  font-family: var(--cnp-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  color: var(--cnp-text);
}
.cnp-row:hover .cnp-row__title { color: var(--cnp-blue); }
.cnp-row__meta {
  font-family: var(--cnp-mono);
  font-size: 11px;
  color: var(--cnp-body);
}
.cnp-row__play {
  width: 40px;
  height: 40px;
  background: var(--cnp-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.cnp-tri {
  width: 0;
  height: 0;
  border-left: 12px solid var(--cnp-orange);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
  display: block;
}

/* Release Radar rows */
.cnp-relrow {
  padding: 22px 0;
  border-bottom: 2px solid var(--cnp-divider);
  display: grid;
  grid-template-columns: var(--cnp-article-cols);
  gap: 18px;
  align-items: baseline;
}
.cnp-relrow:hover { background: var(--cnp-row-hover); }
.cnp-relrow__version {
  font-family: var(--cnp-mono);
  font-size: 12px;
  color: var(--cnp-orange);
}
.cnp-relrow__text { display: flex; flex-direction: column; gap: 8px; }
.cnp-relrow__title {
  font-family: var(--cnp-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  color: var(--cnp-text);
}
.cnp-relrow:hover .cnp-relrow__title { color: var(--cnp-blue); }
.cnp-relrow__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--cnp-body);
  max-width: 72ch;
  text-wrap: pretty;
}
.cnp-relrow__meta {
  font-family: var(--cnp-mono);
  font-size: 11px;
  color: var(--cnp-meta);
}

/* Filter bar */
.cnp-filters { background: var(--cnp-blue); }
.cnp-filters__inner {
  max-width: var(--cnp-max);
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.cnp-filters__inner::-webkit-scrollbar { display: none; }
@media (min-width: 700px) {
  .cnp-filters__inner { overflow-x: visible; }
}
.cnp-filter {
  flex: none;
  white-space: nowrap;
  text-align: center;
  padding: 13px 14px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cnp-filter-idle);
  background: transparent;
  border: 0;
  cursor: pointer;
}
@media (min-width: 700px) {
  .cnp-filter { flex: 1; padding: 14px 8px; }
}
.cnp-filter:hover { color: #fff; }
.cnp-filter.is-active {
  color: var(--cnp-navy);
  background: var(--cnp-orange);
}

/* Load more */
.cnp-loadmore {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 3px solid var(--cnp-navy);
  background: none;
  padding: 16px;
  cursor: pointer;
  width: 100%;
  color: var(--cnp-navy);
}
.cnp-loadmore:hover { background: var(--cnp-navy); color: #fff; }
.cnp-loadmore__label {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: inherit;
}
.cnp-loadmore__arrow {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 15px;
  color: var(--cnp-orange);
}
.cnp-loadmore[hidden] { display: none; }

.cnp-listend {
  margin-top: 24px;
  text-align: center;
  font-family: var(--cnp-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cnp-meta);
}
.cnp-listend[hidden] { display: none; }

/* ==================================================== episode detail ===== */
.cnp-epdetail__head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cnp-epdetail__kicker {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cnp-orange);
}
.cnp-epdetail__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-detail-size);
  line-height: .96;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
  max-width: 18ch;
}

/* Player */
.cnp-player {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 620px;
}
.cnp-playbtn {
  width: 60px;
  height: 60px;
  background: var(--cnp-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.cnp-playbtn--navy { background: var(--cnp-navy); }
.cnp-playbtn__tri {
  width: 0;
  height: 0;
  border-left: 19px solid var(--cnp-navy);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
  display: block;
}
.cnp-playbtn--navy .cnp-playbtn__tri { border-left-color: var(--cnp-orange); }
.cnp-playbtn__pause { display: none; gap: 5px; }
.cnp-playbtn__pause span {
  width: 5px;
  height: 22px;
  background: var(--cnp-navy);
  display: block;
}
.cnp-playbtn--navy .cnp-playbtn__pause span { background: var(--cnp-orange); }
.cnp-playbtn.is-playing .cnp-playbtn__tri { display: none; }
.cnp-playbtn.is-playing .cnp-playbtn__pause { display: flex; }

.cnp-player__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cnp-scrub {
  height: 6px;
  background: var(--cnp-dark-border);
  display: block;
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
}
.cnp-scrub__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--cnp-orange);
  display: block;
}
.cnp-player__times {
  display: flex;
  justify-content: space-between;
  font-family: var(--cnp-mono);
  font-size: 11px;
  color: var(--cnp-muted-1);
}

/* Waveform (home hero) */
.cnp-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 44px;
  flex: 1;
  max-width: 260px;
}
.cnp-wave span {
  width: 5px;
  background: rgba(14, 36, 55, .35);
  transform-origin: bottom;
  display: block;
}
.cnp-wave span:nth-child(-n+5) { background: var(--cnp-navy); }
.cnp-wave.is-playing span:nth-child(1) { animation: cnpBar 1.5s ease-in-out 0s infinite; }
.cnp-wave.is-playing span:nth-child(2) { animation: cnpBar 1.9s ease-in-out .18s infinite; }
.cnp-wave.is-playing span:nth-child(3) { animation: cnpBar 1.3s ease-in-out .35s infinite; }
.cnp-wave.is-playing span:nth-child(4) { animation: cnpBar 1.7s ease-in-out .1s infinite; }
.cnp-wave.is-playing span:nth-child(5) { animation: cnpBar 2.1s ease-in-out .42s infinite; }

.cnp-hero__player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

/* Orange sub-band */
.cnp-subband { background: var(--cnp-orange); }
.cnp-subband__inner {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.cnp-subband__item {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cnp-navy);
}

/* Two-column detail grid */
.cnp-split {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: var(--cnp-section-pad);
  display: grid;
  grid-template-columns: var(--cnp-detail-cols);
  gap: 40px;
  align-items: start;
}
.cnp-lead {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--cnp-text);
  margin-bottom: 20px;
  text-wrap: pretty;
}
/* Show notes: the same voice as an article body, one step quieter. */
.cnp-prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--cnp-body);
  max-width: 68ch;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.cnp-prose > p:first-child {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--cnp-text);
}
.cnp-prose h2,
.cnp-prose h3,
.cnp-prose h4 {
  font-family: var(--cnp-display);
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--cnp-text);
  margin: 32px 0 12px;
  text-wrap: pretty;
}
.cnp-prose h2 { font-size: 22px; line-height: 1; padding-top: 18px; border-top: 3px solid var(--cnp-navy); }
.cnp-prose h3 { font-size: 18px; line-height: 1.1; }
.cnp-prose h4 { font-size: 15px; letter-spacing: .04em; }

.cnp-prose ul,
.cnp-prose ol { margin: 0 0 22px; padding: 0; list-style: none; }
.cnp-prose li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 2px solid var(--cnp-divider);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--cnp-body);
  max-width: 68ch;
}
.cnp-prose li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cnp-orange);
}
.cnp-prose strong { font-weight: 700; color: var(--cnp-text); }
.cnp-prose em { font-style: italic; color: var(--cnp-italic); }
.cnp-prose a { color: var(--cnp-blue); border-bottom: 2px solid var(--cnp-orange); }
.cnp-prose a:hover { color: var(--cnp-orange); }
.cnp-prose img { margin: 0 0 22px; }
.cnp-prose :not(pre) > code {
  font-family: var(--cnp-mono);
  font-size: .88em;
  color: var(--cnp-blue);
  background: var(--cnp-chip-bg);
  padding: 2px 5px;
}
.cnp-prose pre {
  background: var(--cnp-navy);
  border-left: 4px solid var(--cnp-orange);
  padding: var(--cnp-code-pad);
  overflow-x: auto;
  margin: 0 0 22px;
  font-family: var(--cnp-mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cnp-code-text);
}
.cnp-prose pre code { background: none; color: inherit; padding: 0; }

.cnp-subhead {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--cnp-text);
  margin-bottom: 4px;
}

.cnp-chapter {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 2px solid var(--cnp-divider);
  cursor: pointer;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
  text-align: left;
}
.cnp-chapter:hover { background: var(--cnp-row-hover); }
.cnp-chapter__time {
  font-family: var(--cnp-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cnp-orange);
  flex: none;
}
.cnp-chapter__title {
  font-family: var(--cnp-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--cnp-text);
}

/* Right rail */
.cnp-rail {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cnp-rail__head {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-text);
  border-bottom: 3px solid var(--cnp-navy);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.cnp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cnp-tag {
  font-family: var(--cnp-mono);
  font-size: 12px;
  padding: 8px 11px;
  background: var(--cnp-chip-bg);
  color: var(--cnp-blue);
}
.cnp-tag:hover { background: var(--cnp-navy); color: #fff; }

.cnp-upnext {
  background: var(--cnp-blue);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cnp-upnext__label {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-light-blue);
}
.cnp-upnext__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.cnp-upnext__arrow {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--cnp-orange);
}
.cnp-upnext:hover .cnp-upnext__title { color: var(--cnp-orange); }

/* ==================================================== release article === */
.cnp-artband {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cnp-artband__badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cnp-chip {
  background: var(--cnp-orange);
  padding: 5px 10px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cnp-navy);
}
.cnp-artband__version {
  font-family: var(--cnp-mono);
  font-size: 12px;
  color: var(--cnp-orange);
}
.cnp-artband__meta {
  font-family: var(--cnp-mono);
  font-size: 12px;
  color: var(--cnp-muted-1);
}
.cnp-artband__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-detail-size);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: pretty;
}
.cnp-artband__tagline {
  font-family: var(--cnp-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cnp-muted-3);
}

.cnp-rule { height: 8px; background: var(--cnp-orange); }

/* The article body. Styles target plain HTML so WordPress core blocks land
   correctly without per-block classes. */
.cnp-article {
  max-width: var(--cnp-article-max);
  margin: 0 auto;
  padding: var(--cnp-section-pad);
}

.cnp-article > p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--cnp-body);
  max-width: var(--cnp-body-max);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.cnp-article > p.cnp-article__lead,
.cnp-article > p.has-large-font-size,
.cnp-article > p.is-style-lead {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--cnp-text);
  margin-bottom: 24px;
}

.cnp-article h2 {
  margin: 40px 0 16px;
  padding-top: 18px;
  border-top: 3px solid var(--cnp-navy);
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: var(--cnp-h2-article);
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--cnp-text);
  text-wrap: pretty;
}

/* Same reasoning as the list arrow: the orange dash is positioned, not a flex
   child, so headings containing <code> or <strong> stay on one line. */
.cnp-article h3 {
  position: relative;
  margin: 30px 0 12px;
  padding-left: 26px;
  font-family: var(--cnp-display);
  font-weight: 800;
  font-size: var(--cnp-h3-article);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--cnp-text);
  text-wrap: pretty;
}
.cnp-article h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 4px;
  background: var(--cnp-orange);
}

.cnp-article h4 {
  margin: 24px 0 10px;
  font-family: var(--cnp-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--cnp-text);
}

.cnp-article strong { font-weight: 700; color: var(--cnp-text); }
.cnp-article em { font-style: italic; color: var(--cnp-italic); }

.cnp-article a {
  color: var(--cnp-blue);
  border-bottom: 2px solid var(--cnp-orange);
}
.cnp-article a:hover { color: var(--cnp-orange); }

/* Project logos are stored with inline styles from the previous dark theme
   (navy plate, rounded corners). Strip that chrome so they sit clean on the
   light page — the inline styles need !important to override. */
.cnp-article img.alignright,
.cnp-article img.alignleft {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.cnp-article img.alignright { float: right; margin: 4px 0 20px 24px !important; }
.cnp-article img.alignleft { float: left; margin: 4px 24px 20px 0 !important; }

@media (max-width: 699px) {
  .cnp-article img.alignright,
  .cnp-article img.alignleft { float: none; margin: 0 0 18px !important; }
}

.cnp-article :not(pre) > code {
  font-family: var(--cnp-mono);
  font-size: .88em;
  color: var(--cnp-blue);
  background: var(--cnp-chip-bg);
  padding: 2px 5px;
}

/* Code block */
.cnp-code {
  margin: 0 0 24px;
  background: var(--cnp-navy);
  border-left: 4px solid var(--cnp-orange);
}
.cnp-code__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--cnp-hairline-2);
}
.cnp-code__lang {
  font-family: var(--cnp-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cnp-orange);
}
.cnp-code__copy {
  font-family: var(--cnp-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cnp-muted-3);
  background: none;
  border: 0;
  cursor: pointer;
}
.cnp-code__copy:hover { color: var(--cnp-orange); }
.cnp-code pre {
  margin: 0;
  padding: var(--cnp-code-pad);
  overflow-x: auto;
}
.cnp-code code {
  font-family: var(--cnp-mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cnp-code-text);
  white-space: pre;
  background: none;
  padding: 0;
}
.cnp-code .cnp-comment { color: var(--cnp-muted-3); }

/* Bare core code/preformatted blocks get the same shell */
.cnp-article > pre {
  margin: 0 0 24px;
  background: var(--cnp-navy);
  border-left: 4px solid var(--cnp-orange);
  padding: var(--cnp-code-pad);
  overflow-x: auto;
  font-family: var(--cnp-mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cnp-code-text);
}
.cnp-article > pre code {
  background: none;
  color: inherit;
  font-size: inherit;
  padding: 0;
}

/* Lists — rows with an orange arrow */
.cnp-article ul,
.cnp-article ol {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
/* The arrow is positioned rather than laid out as a grid column: list items
   carry inline markup (<strong>, <a>, <code>), and each of those would become
   its own grid item — one word per line. */
.cnp-article li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 2px solid var(--cnp-divider);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cnp-body);
  max-width: var(--cnp-body-max);
}
.cnp-article li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cnp-orange);
}

/* Blockquote */
.cnp-article blockquote {
  background: var(--cnp-navy);
  padding: 26px;
  margin: 8px 0 24px;
  border: 0;
}
.cnp-article blockquote p {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  max-width: none;
}
.cnp-article blockquote strong { color: var(--cnp-orange); }
/* The body's italic colour is far too dark to sit on navy. */
.cnp-article blockquote em { color: inherit; font-style: italic; }
.cnp-article blockquote code { background: none; color: var(--cnp-orange); }
.cnp-article blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--cnp-mono);
  font-size: 12px;
  font-style: normal;
  color: var(--cnp-muted-1);
}

/* Upgrade warning */
.cnp-note {
  background: var(--cnp-warn-bg);
  border-left: 4px solid var(--cnp-orange);
  padding: 18px 20px;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cnp-note__label {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-warn-label);
}
.cnp-note__body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cnp-on-orange);
}
.cnp-note__body p { margin: 0 0 8px; font-size: inherit; line-height: inherit; color: inherit; }
.cnp-note__body p:last-child { margin-bottom: 0; }
.cnp-note__body code { background: #fff; color: var(--cnp-blue); }

/* Cross-promo footer */
.cnp-crosspromo {
  border-top: 3px solid var(--cnp-navy);
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.cnp-crosspromo__label {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-orange);
}
.cnp-crosspromo__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--cnp-text);
}
.cnp-crosspromo__btn {
  padding: 12px 16px;
  background: var(--cnp-orange);
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cnp-navy);
}
.cnp-crosspromo__btn:hover { color: var(--cnp-navy); background: #f58f42; }

/* ============================================================== search === */
.cnp-results { max-width: var(--cnp-max); margin: 0 auto; padding: 0 20px 44px; }
.cnp-results__head {
  padding: 26px 0 6px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--cnp-text);
}
.cnp-empty {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cnp-empty__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--cnp-text);
}
.cnp-empty__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cnp-body);
}

/* Search result rows reuse .cnp-row / .cnp-relrow with a compact numeral */
.cnp-row--compact .cnp-row__num { font-size: 34px; width: 58px; }
.cnp-row--compact .cnp-row__title { font-size: 18px; line-height: 1.2; }
.cnp-row--compact { padding: 18px 0; }

.cnp-searchrow {
  padding: 18px 0;
  border-bottom: 2px solid var(--cnp-divider);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cnp-searchrow:hover { background: var(--cnp-row-hover); }
.cnp-searchrow__version {
  font-family: var(--cnp-mono);
  font-size: 12px;
  color: var(--cnp-orange);
}
.cnp-searchrow__title {
  font-family: var(--cnp-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--cnp-text);
}
.cnp-searchrow:hover .cnp-searchrow__title { color: var(--cnp-blue); }
.cnp-searchrow__meta {
  font-family: var(--cnp-mono);
  font-size: 11px;
  color: var(--cnp-meta);
}

/* ============================================================ about ===== */
.cnp-stats {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--cnp-navy);
}
.cnp-stats__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 2px solid var(--cnp-divider);
}
.cnp-stats__label {
  font-family: var(--cnp-mono);
  font-size: 13px;
  color: var(--cnp-body);
}
.cnp-stats__value {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 15px;
  color: var(--cnp-text);
}

/* ============================================== generic page content ==== */
.cnp-pagebody {
  max-width: var(--cnp-article-max);
  margin: 0 auto;
  padding: var(--cnp-section-pad);
}
.cnp-pagebody > * { max-width: var(--cnp-body-max); }
.cnp-pagebody > .alignwide,
.cnp-pagebody > .alignfull { max-width: none; }

/* Forms — used by contact / subscribe pages */
.cnp-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
}
.cnp-field { display: flex; flex-direction: column; gap: 8px; }
.cnp-label {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-text);
}
.cnp-input,
.cnp-textarea,
.cnp-select {
  font-family: var(--cnp-sans);
  font-size: 16px;
  padding: 13px 14px;
  border: 2px solid var(--cnp-navy);
  background: #fff;
  color: var(--cnp-text);
  outline: none;
  width: 100%;
}
.cnp-input:focus,
.cnp-textarea:focus,
.cnp-select:focus { border-color: var(--cnp-orange); }
.cnp-textarea { min-height: 160px; resize: vertical; }

.cnp-btn {
  align-self: flex-start;
  background: var(--cnp-orange);
  border: 0;
  padding: 15px 22px;
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cnp-navy);
  cursor: pointer;
}
.cnp-btn:hover { background: var(--cnp-navy); color: #fff; }

.cnp-btn--ghost {
  background: none;
  border: 3px solid var(--cnp-navy);
  color: var(--cnp-navy);
}
.cnp-btn--ghost:hover { background: var(--cnp-navy); color: #fff; }

/* Card grid for sponsor tiers / subscribe options */
.cnp-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 3px solid var(--cnp-navy);
}
@media (min-width: 700px) { .cnp-cards--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cnp-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.cnp-card {
  padding: 24px 24px 26px 0;
  border-bottom: 2px solid var(--cnp-divider);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cnp-card__label {
  font-family: var(--cnp-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cnp-orange);
}
.cnp-card__title {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--cnp-text);
}
.cnp-card__price {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--cnp-orange);
}
.cnp-card__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--cnp-body);
  text-wrap: pretty;
}

/* ============================================================== footer === */
.cnp-footer {
  background: var(--cnp-navy);
  margin-top: auto;
}
.cnp-footer__inner {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.cnp-footer__brand {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
}
.cnp-footer__links {
  display: flex;
  gap: 20px;
  font-family: var(--cnp-mono);
  font-size: 12px;
  color: var(--cnp-muted-2);
  flex-wrap: wrap;
}
.cnp-footer__links a { color: var(--cnp-muted-2); }
.cnp-footer__links a:hover { color: var(--cnp-orange); }
.cnp-footer__legal {
  font-family: var(--cnp-mono);
  font-size: 11px;
  /* --cnp-body is a light-background colour; on navy it fails contrast. */
  color: var(--cnp-muted-2);
}

/* =============================================================== 404 ==== */
.cnp-404 {
  max-width: var(--cnp-max);
  margin: 0 auto;
  padding: var(--cnp-section-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ====================================================== pagination ====== */
.cnp-pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cnp-pagination .page-numbers {
  font-family: var(--cnp-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 15px;
  border: 2px solid var(--cnp-navy);
  color: var(--cnp-navy);
}
.cnp-pagination .page-numbers:hover,
.cnp-pagination .page-numbers.current {
  background: var(--cnp-navy);
  color: #fff;
}

/* WordPress admin bar keeps the sticky header below it */
body.admin-bar .cnp-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .cnp-header { top: 46px; }
}
