/*
 * RN Design System 3.14 — Situation Pathways Canon
 * Applies only to the seven RN Core need-routing pages.
 */

:root {
  --rn-path-bg: #f5f0e6;
  --rn-path-paper: #fbf8f2;
  --rn-path-ink: #171318;
  --rn-path-muted: #70685f;
  --rn-path-dark: #0b0910;
  --rn-path-plum: #24112c;
  --rn-path-gold: #c8a55b;
  --rn-path-gold-soft: #e2c98f;
  --rn-path-line: rgba(30, 20, 25, .13);
  --rn-path-shell: min(1180px, calc(100vw - 48px));
}

.page-id-41973,
.page-id-41974,
.page-id-41975,
.page-id-41976,
.page-id-41977,
.page-id-41978,
.page-id-41979 {
  background: var(--rn-path-bg);
}

.page-id-41973 .rn-pathway,
.page-id-41974 .rn-pathway,
.page-id-41975 .rn-pathway,
.page-id-41976 .rn-pathway,
.page-id-41977 .rn-pathway,
.page-id-41978 .rn-pathway,
.page-id-41979 .rn-pathway {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--rn-path-ink);
  background: var(--rn-path-bg);
  overflow: hidden;
}

.rn-pathway--need .rn-pathway-shell {
  width: var(--rn-path-shell);
  margin-inline: auto;
}

.rn-pathway--need .rn-pathway-narrow {
  max-width: 760px;
}

.rn-pathway--need .rn-pathway-eyebrow,
.rn-pathway--need .rn-pathway-card-type {
  margin: 0 0 14px;
  color: var(--rn-path-gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Hero */
.rn-pathway--need .rn-pathway-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: grid;
  align-items: center;
  color: #f8f3ea;
  background:
    linear-gradient(110deg, rgba(7,6,8,.99) 0%, rgba(12,8,15,.98) 44%, rgba(31,13,38,.96) 100%);
  border-bottom: 1px solid rgba(200,165,91,.35);
}

.rn-pathway--need .rn-pathway-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(38vw, 560px);
  opacity: .95;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(200,165,91,.05) 30%, rgba(200,165,91,.12) 100%),
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(226,201,143,.05) 34px 35px);
  border-left: 1px solid rgba(200,165,91,.18);
}

.rn-pathway--need .rn-pathway-hero::after {
  position: absolute;
  right: max(24px, calc((100vw - 1180px)/2));
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  color: rgba(248,243,234,.60);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: pre-line;
  text-align: right;
}

.page-id-41973 .rn-pathway-hero::after { content: "PATH 01\A DECISION CLARITY\A Separate urgency from priority."; }
.page-id-41974 .rn-pathway-hero::after { content: "PATH 02\A CONFLICT CLARITY\A See the loop before repeating it."; }
.page-id-41975 .rn-pathway-hero::after { content: "PATH 03\A DIFFICULT CONVERSATIONS\A Prepare before pressure speaks."; }
.page-id-41976 .rn-pathway-hero::after { content: "PATH 04\A PERSPECTIVE PRACTICE\A Widen the view without losing yourself."; }
.page-id-41977 .rn-pathway-hero::after { content: "PATH 05\A EMOTIONAL CLARITY\A Regulate enough to choose."; }
.page-id-41978 .rn-pathway-hero::after { content: "PATH 06\A UNCERTAINTY\A Keep missing information from becoming certainty."; }
.page-id-41979 .rn-pathway-hero::after { content: "PATH 07\A SUPPORTIVE COMMUNICATION\A Be present without taking over."; }

.rn-pathway--need .rn-pathway-hero .rn-pathway-shell {
  position: relative;
  z-index: 1;
  margin-inline: max(24px, calc((100vw - 1180px)/2)) auto;
  width: min(720px, calc(100vw - 48px));
  padding: 92px 0;
}

.rn-pathway--need .rn-pathway-hero h2 {
  margin: 0 0 20px;
  max-width: 720px;
  color: #fbf7ef;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.rn-pathway--need .rn-pathway-lead {
  margin: 0 0 28px;
  max-width: 650px;
  color: rgba(248,243,234,.78);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.72;
}

.rn-pathway--need .rn-pathway-button,
.rn-pathway--need .rn-pathway-card a {
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.rn-pathway--need .rn-pathway-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid var(--rn-path-gold);
  background: var(--rn-path-gold);
  color: #17110b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
}

.rn-pathway--need .rn-pathway-button:hover {
  transform: translateY(-2px);
  background: #d7b66d;
}

/* Main recommendation section */
.rn-pathway--need .rn-pathway-section {
  position: relative;
  padding: 96px 0;
  background: var(--rn-path-bg);
}

.rn-pathway--need .rn-pathway-section > .rn-pathway-shell > h2 {
  margin: 0 0 42px;
  max-width: 760px;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--rn-path-ink);
}

.rn-pathway--need .rn-pathway-grid--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.rn-pathway--need .rn-pathway-card--recommendation {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 28px 28px 25px;
  background: var(--rn-path-paper);
  border: 1px solid rgba(45,27,34,.16);
  box-shadow: 0 18px 45px rgba(29,18,23,.06);
}

.rn-pathway--need .rn-pathway-card--recommendation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rn-path-gold);
}

.rn-pathway--need .rn-pathway-card--recommendation:nth-child(2)::before { background: #8f6f93; }
.rn-pathway--need .rn-pathway-card--recommendation:nth-child(3)::before { background: #2c1834; }

.rn-pathway--need .rn-pathway-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 28px;
  border: 1px solid rgba(45,27,34,.18);
  color: var(--rn-path-gold);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 24px;
  line-height: 1;
  background: rgba(255,255,255,.36);
}

.rn-pathway--need .rn-pathway-card h3 {
  margin: 0 0 15px;
  color: var(--rn-path-ink);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.07;
  font-weight: 500;
  letter-spacing: -.025em;
}

.rn-pathway--need .rn-pathway-card > p:not(.rn-pathway-card-type) {
  margin: 0 0 18px;
  color: var(--rn-path-muted);
  font-size: 15px;
  line-height: 1.68;
}

.rn-pathway--need .rn-pathway-card a {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(45,27,34,.12);
  color: #2a172d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
}

.rn-pathway--need .rn-pathway-card a:hover {
  color: #8b661b;
}

/* Assessment fallback */
.rn-pathway--need .rn-pathway-section--light {
  padding: 84px 0;
  background: linear-gradient(120deg, #171019 0%, #28152f 100%);
  color: #f8f3ea;
  border-top: 1px solid rgba(200,165,91,.28);
}

.rn-pathway--need .rn-pathway-section--light .rn-pathway-shell {
  text-align: center;
}

.rn-pathway--need .rn-pathway-section--light h2 {
  margin-inline: auto;
  max-width: 790px;
  color: #fbf7ef;
  font-size: clamp(31px, 3.4vw, 46px);
}

.rn-pathway--need .rn-pathway-section--light .rn-pathway-eyebrow {
  color: var(--rn-path-gold-soft);
}

.rn-pathway--need .rn-pathway-section--light .rn-pathway-button {
  margin-right: 12px;
}

.rn-pathway--need .rn-pathway-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 6px;
  color: rgba(248,243,234,.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(248,243,234,.30);
}

.rn-pathway--need .rn-pathway-text-link:hover {
  color: #fff;
  border-color: var(--rn-path-gold);
}

@media (max-width: 1024px) {
  .rn-pathway--need .rn-pathway-hero::after {
    display: none;
  }

  .rn-pathway--need .rn-pathway-hero::before {
    width: 35%;
  }

  .rn-pathway--need .rn-pathway-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-pathway--need .rn-pathway-card--recommendation:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 310px;
  }
}

@media (max-width: 767px) {
  :root { --rn-path-shell: min(100% - 32px, 1180px); }

  .rn-pathway--need .rn-pathway-hero {
    min-height: auto;
  }

  .rn-pathway--need .rn-pathway-hero::before {
    width: 28%;
  }

  .rn-pathway--need .rn-pathway-hero .rn-pathway-shell {
    width: var(--rn-path-shell);
    margin-inline: auto;
    padding: 68px 0 72px;
  }

  .rn-pathway--need .rn-pathway-hero h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .rn-pathway--need .rn-pathway-section {
    padding: 68px 0;
  }

  .rn-pathway--need .rn-pathway-section > .rn-pathway-shell > h2 {
    margin-bottom: 30px;
    font-size: clamp(31px, 9vw, 42px);
  }

  .rn-pathway--need .rn-pathway-grid--three {
    grid-template-columns: 1fr;
  }

  .rn-pathway--need .rn-pathway-card--recommendation,
  .rn-pathway--need .rn-pathway-card--recommendation:nth-child(3) {
    grid-column: auto;
    min-height: 0;
    padding: 24px;
  }

  .rn-pathway--need .rn-pathway-number {
    margin-bottom: 20px;
  }

  .rn-pathway--need .rn-pathway-section--light .rn-pathway-button,
  .rn-pathway--need .rn-pathway-text-link {
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  .rn-pathway--need .rn-pathway-text-link {
    margin-top: 10px;
    border: 1px solid rgba(248,243,234,.26);
    padding-inline: 16px;
  }
}

/* Dark fallback must override the general section-heading color. */
.rn-pathway--need .rn-pathway-section.rn-pathway-section--light > .rn-pathway-shell > h2 {
  color: #fbf7ef;
}
