/* ─── Resource Guide ──────────────────────────────────────── */

/* Hero */
.rg-hero {
  background: var(--navy);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.rg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(42,122,122,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245,124,32,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.rg-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rg-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-muted);
  margin-bottom: 16px;
}

.rg-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 700px;
}

.rg-hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin-bottom: 16px;
}

.rg-hero-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}

.rg-hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rg-meta-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(42,122,122,0.2);
  border: 1px solid rgba(42,122,122,0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-muted);
}

/* Jump Nav */
.rg-jump-nav {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  position: sticky;
  top: 57px;
  z-index: 50;
}

.rg-jump-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rg-jump-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-right: 8px;
}

.rg-jump-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--teal);
  transition: background 0.15s, color 0.15s;
}

.rg-jump-link:hover {
  background: var(--teal);
  color: #fff;
}

/* Sections */
.rg-section {
  padding: 72px 24px;
  background: var(--surface);
}

.rg-section--alt {
  background: var(--bg-warm);
}

.rg-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.rg-section-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.rg-section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.rg-section-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 12px;
}

.rg-section-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* Subsections */
.rg-subsection {
  margin-bottom: 56px;
}

.rg-subsection:last-child {
  margin-bottom: 0;
}

.rg-subsection-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Card grids */
.rg-card-grid {
  display: grid;
  gap: 20px;
}

.rg-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rg-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rg-card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.rg-resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rg-section--alt .rg-resource-card {
  background: #fff;
}

.rg-resource-card--highlight {
  border-color: var(--teal);
  background: rgba(42,122,122,0.05);
}

.rg-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.rg-card-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(42,122,122,0.1);
  padding: 3px 10px;
  border-radius: 100px;
}

.rg-card-cost {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

.rg-card-cost--insurance {
  color: var(--teal);
}

.rg-card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-top: 4px;
}

.rg-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  flex: 1;
}

.rg-card-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.15s;
}

.rg-card-link:hover {
  color: var(--teal-dark);
}

/* Tags inline */
.rg-card-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.rg-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-warm);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.rg-tag--teal {
  color: var(--teal);
  background: rgba(42,122,122,0.08);
  border-color: rgba(42,122,122,0.2);
}

/* List items */
.rg-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rg-list-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.rg-section--alt .rg-list-item {
  background: #fff;
}

.rg-list-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rg-list-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.rg-list-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(42,122,122,0.1);
  padding: 3px 10px;
  border-radius: 100px;
}

.rg-list-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

/* Book grid */
.rg-book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rg-book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rg-section--alt .rg-book-card {
  background: #fff;
}

.rg-book-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.rg-book-meta {
  font-size: 13px;
  color: var(--fg-muted);
}

.rg-book-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rg-book-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-top: auto;
}

/* Comparison table */
.rg-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.rg-comparison-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.rg-section--alt .rg-comparison-col {
  background: #fff;
}

.rg-comparison-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.rg-comparison-title {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.rg-comparison-sub {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.rg-comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rg-comparison-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}

.rg-comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.rg-comparison-note {
  font-size: 14px;
  color: var(--fg-muted);
  background: rgba(42,122,122,0.07);
  border-left: 4px solid var(--teal);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  line-height: 1.65;
}

/* Crisis grid */
.rg-crisis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.rg-crisis-card {
  background: var(--navy);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}

.rg-crisis-number {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.rg-crisis-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.rg-crisis-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
}

/* Insurance note */
.rg-insurance-note {
  font-size: 14px;
  color: var(--fg-muted);
  background: rgba(245,124,32,0.08);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  line-height: 1.65;
  margin-top: 32px;
}

.rg-insurance-note strong {
  color: var(--navy);
}

/* Breadcrumb bar */
.nd-links-bar {
  background: var(--bg-warm);
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.nd-links-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nd-breadcrumb-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.15s;
}

.nd-breadcrumb-link:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.nd-breadcrumb-sep {
  color: var(--border);
  font-size: 16px;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .rg-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rg-book-grid { grid-template-columns: repeat(3, 1fr); }
  .rg-crisis-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .rg-card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .rg-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rg-comparison { grid-template-columns: 1fr; }
  .rg-book-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-crisis-grid { grid-template-columns: 1fr; }
  .rg-jump-nav { top: 49px; }
}

@media (max-width: 480px) {
  .rg-hero { padding: 56px 20px; }
  .rg-section { padding: 56px 20px; }
  .rg-card-grid--2,
  .rg-card-grid--3,
  .rg-card-grid--4 { grid-template-columns: 1fr; }
  .rg-book-grid { grid-template-columns: 1fr 1fr; }
  .rg-crisis-grid { grid-template-columns: 1fr; }
  .rg-crisis-card { padding: 20px; }
}