/* ==========================================
   NEWS & INSIGHTS PAGE — /news
   ni- prefix for all news-insights classes
========================================== */

/* ── PAGE HERO ─────────────────────────── */
.ni-page-hero {
  --ni-shadow: 0 14px 30px rgba(31, 23, 38, 0.08);
}

.ni-page-hero .page-heading .page-header-left {
  max-width: 62%;
}

.ni-page-hero .page-heading h1 {
  max-width: 680px;
}

.ni-page-hero .page-heading .breadcrumb-description {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
}

.ni-page-hero .breadcrumb-cta-group {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ni-page-hero .breadcrumb-cta-group .breadcrumb-cta {
  margin-top: 0;
  border-radius: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ni-page-hero .breadcrumb-cta-group .breadcrumb-cta::before {
  background-color: var(--theme2);
}

.ni-page-hero .breadcrumb-image {
  width: 36%;
  min-width: 290px;
  max-width: 380px;
  height: 270px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(31, 23, 38, 0.12);
  backdrop-filter: blur(4px);
}

.ni-page-hero .breadcrumb-image img {
  display: none;
}

/* ── HERO VISUAL — Insights Flow Diagram ── */
.ni-flow-diagram {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
}

.ni-flow-diagram__title {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* 2 × 2 grid: Ideas → Strategy ↓ ↑ Growth ← Execution */
.ni-flow-cycle {
  display: grid;
  grid-template-columns: 1fr 26px 1fr;
  grid-template-rows: auto 32px auto;
  gap: 0;
  width: 100%;
  max-width: 256px;
  align-items: center;
  justify-items: center;
}

.ni-flow-step {
  width: 100%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 8px;
  text-align: center;
  letter-spacing: 0.02em;
}

.ni-flow-step--accent {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.46);
}

.ni-flow-arr {
  color: rgba(255, 255, 255, 0.44);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── FILTER SECTION ─────────────────────── */
.ni-filter-section {
  padding: 40px 0 0;
  background: var(--white);
}

.ni-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ni-filter__btn {
  min-height: 40px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.22);
  background: rgba(var(--theme-color-rgb), 0.05);
  color: var(--header);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.ni-filter__btn:hover {
  border-color: rgba(var(--theme-color-rgb), 0.4);
  background: rgba(var(--theme-color-rgb), 0.1);
  color: var(--theme);
}

.ni-filter__btn.is-active {
  border-color: var(--theme);
  background: var(--theme);
  color: var(--white);
}

.ni-filter__btn:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
}

/* ── FEATURED ARTICLE SECTION ───────────── */
.ni-featured-section {
  padding: 64px 0 96px;
  background: linear-gradient(180deg, rgba(var(--theme-color-rgb), 0.05) 0%, var(--white) 100%);
}

.ni-featured-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.22);
  background: rgba(var(--theme-color-rgb), 0.08);
  color: var(--theme);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 13px;
  margin-bottom: 22px;
}

.ni-featured-split {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 56px;
  align-items: start;
}

.ni-featured__aside {
  position: sticky;
  top: 110px;
}

/* Featured article */
.ni-featured__cat {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ni-featured__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--header);
}

.ni-featured__date {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 22px;
}

.ni-featured__date i {
  color: var(--theme);
  font-size: 12px;
}

.ni-featured__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.76;
  color: var(--text);
}

.ni-featured__body p:last-of-type {
  margin-bottom: 0;
}

.ni-featured__sublabel {
  display: block;
  margin: 22px 0 12px;
  color: var(--header);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ni-featured__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.ni-featured__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.ni-featured__list li::before {
  content: "";
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--theme);
  margin-top: 9px;
}

.ni-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  margin-top: 24px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ni-featured__link:hover {
  gap: 12px;
  color: var(--header);
}

.ni-featured__link:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
}

/* Growth loop diagram (featured aside) */
.ni-growth-diagram {
  border-radius: 16px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.14);
  background: linear-gradient(145deg, rgba(var(--theme-color-rgb), 0.06) 0%, var(--white) 100%);
  box-shadow: 0 8px 24px rgba(31, 23, 38, 0.06);
  padding: 20px 18px;
}

.ni-growth-diagram__title {
  margin: 0 0 16px;
  color: var(--header);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ni-growth-loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ni-growth-loop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ni-growth-loop__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.18);
  background: rgba(var(--theme-color-rgb), 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ni-growth-loop__icon i {
  color: var(--theme);
  font-size: 17px;
}

.ni-growth-loop__label {
  margin-top: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.ni-growth-loop__arrow {
  color: rgba(var(--theme-color-rgb), 0.34);
  font-size: 13px;
  line-height: 1.5;
  margin: 2px 0;
}

/* ── ARTICLE GRID ────────────────────────── */
.ni-grid-section {
  padding: 96px 0;
  background: var(--white);
}

.ni-grid-header {
  margin-bottom: 44px;
}

.ni-section-eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.22);
  background: rgba(var(--theme-color-rgb), 0.08);
  color: var(--theme);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  margin-bottom: 16px;
}

.ni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Article card */
.ni-article {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.12);
  background: var(--white);
  padding: 28px 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ni-article:hover {
  border-color: rgba(var(--theme-color-rgb), 0.28);
  box-shadow: 0 8px 28px rgba(31, 23, 38, 0.08);
  transform: translateY(-2px);
}

.ni-article__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.ni-article__cat {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Category colour variants */
.ni-cat--thought {
  background: rgba(var(--theme-color-rgb), 0.1);
  color: var(--theme);
  border: 1px solid rgba(var(--theme-color-rgb), 0.2);
}

.ni-cat--growth {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.ni-cat--ai {
  background: rgba(47, 128, 237, 0.08);
  color: #2f80ed;
  border: 1px solid rgba(47, 128, 237, 0.2);
}

.ni-article__date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ni-article__date i {
  color: var(--theme);
  font-size: 11px;
}

.ni-article__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--header);
  transition: color 0.2s ease;
}

.ni-article:hover .ni-article__title {
  color: var(--theme);
}

.ni-article__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ni-article__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 18px;
  min-height: 44px;
  transition: gap 0.2s ease;
}

.ni-article__link:hover {
  gap: 12px;
}

.ni-article__link:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1199px) {
  .ni-featured-split {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .ni-page-hero .page-heading .page-header-left {
    max-width: 100%;
  }

  .ni-page-hero .breadcrumb-image {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    height: 200px;
  }

  .ni-featured-section {
    padding: 56px 0 72px;
  }

  .ni-grid-section {
    padding: 72px 0;
  }

  .ni-featured-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ni-featured__aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .ni-filter-section {
    padding: 32px 0 0;
  }

  .ni-featured-section {
    padding: 48px 0 64px;
  }

  .ni-grid-section {
    padding: 60px 0;
  }

  .ni-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ni-featured__title {
    font-size: 22px;
  }

  .ni-article__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 575px) {
  .ni-page-hero .breadcrumb-cta-group .breadcrumb-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

  .ni-filter__btn {
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* ── NO RESULTS ─────────────────────────── */
.ni-no-results {
  padding: 48px 0;
  color: var(--text);
  font-size: 15px;
  text-align: center;
}

/* ==========================================
   ARTICLE PAGE — /news/[slug]
   na- prefix for all news-article classes
========================================== */

/* ── BACK BAR ───────────────────────────── */
.na-back-bar {
  padding: 20px 0;
  padding-top: 130px; /* Account for absolute header */
  background: rgba(var(--theme-color-rgb), 0.04);
  border-bottom: 1px solid rgba(var(--theme-color-rgb), 0.1);
}

.na-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--theme);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.na-back-link:hover {
  gap: 13px;
  color: var(--header);
}

.na-back-link i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.na-back-link:hover i {
  transform: translateX(-3px);
}

.na-back-link:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── ARTICLE HERO ───────────────────────── */
.na-hero {
  padding: 60px 0 52px;
  background: linear-gradient(180deg, rgba(var(--theme-color-rgb), 0.05) 0%, var(--white) 100%);
}

.na-hero__inner {
  max-width: 760px;
}

.na-hero__title {
  margin: 14px 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--header);
}

.na-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 22px;
}

.na-date i {
  color: var(--theme);
  font-size: 12px;
}

.na-intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
}

/* ── ARTICLE BODY ───────────────────────── */
.na-body {
  padding: 56px 0 80px;
  background: var(--white);
}

.na-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 40px;
  align-items: start;
}

.na-content {
  min-width: 0;
}

.na-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}

.na-sidebar-card {
  border-radius: 14px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.12);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(31, 23, 38, 0.06);
  padding: 18px;
}

.na-sidebar-title,
.na-sidebar-subtitle {
  margin: 0 0 14px;
  color: var(--header);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.na-sidebar-image-wrap {
  border-radius: 12px;
  overflow: hidden;
}

.na-sidebar-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.na-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.na-sidebar-item {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--theme-color-rgb), 0.1);
}

.na-sidebar-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.na-sidebar-link {
  display: inline-flex;
  color: var(--header);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.na-sidebar-link:hover {
  color: var(--theme);
}

.na-sidebar-link:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
  border-radius: 4px;
}

.na-sidebar-date {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 12px;
}

.na-sidebar-back-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--theme);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.na-sidebar-back-link:hover {
  gap: 11px;
  color: var(--header);
}

.na-sidebar-back-link:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Key Takeaways callout */
.na-takeaways {
  margin-bottom: 48px;
  padding: 24px 28px;
  border-radius: 14px;
  border-left: 4px solid var(--theme);
  background: rgba(var(--theme-color-rgb), 0.05);
}

.na-takeaways__label {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme);
}

.na-takeaways__label i {
  font-size: 14px;
}

/* Body sections */
.na-section {
  margin-bottom: 40px;
}

.na-section:last-of-type {
  margin-bottom: 0;
}

.na-section h2 {
  margin: 0 0 14px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--header);
}

.na-section p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
}

.na-section p:last-child {
  margin-bottom: 0;
}

/* Lists */
.na-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.na-list li {
  font-size: 15px;
  line-height: 1.68;
  color: var(--text);
}

/* Unordered — filled dot */
.na-list.is-unordered li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.na-list.is-unordered li::before {
  content: "";
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--theme);
  margin-top: 9px;
}

/* Ordered — counter numbers */
.na-list.is-ordered {
  counter-reset: na-counter;
}

.na-list.is-ordered li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  counter-increment: na-counter;
}

.na-list.is-ordered li::before {
  content: counter(na-counter);
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--theme-color-rgb), 0.1);
  border: 1px solid rgba(var(--theme-color-rgb), 0.2);
  color: var(--theme);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── ARTICLE RESPONSIVE ─────────────────── */
@media (max-width: 991px) {
  .na-hero {
    padding: 48px 0 44px;
  }

  .na-body {
    padding: 48px 0 64px;
  }

  .na-body__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .na-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .na-hero {
    padding: 40px 0 36px;
  }

  .na-hero__title {
    font-size: 26px;
  }

  .na-intro {
    font-size: 16px;
  }

  .na-body {
    padding: 40px 0 56px;
  }

  .na-takeaways {
    padding: 20px 20px;
  }

  .na-sidebar-card {
    padding: 16px;
  }
}

@media (max-width: 575px) {
  .na-hero {
    padding: 32px 0 28px;
  }

  .na-body {
    padding: 32px 0 48px;
  }
}
