/* NursingRidge theme — v1.1 layout fixes
   Loads at weight 80, before the legacy bridge. */

/* ---------- footer logo ---------- */
.nr-footer__brand { display: inline-block; margin-bottom: 34px; text-decoration: none; }
.nr-footer__brand svg { height: 34px; width: auto; display: block; }
@media (max-width: 560px) { .nr-footer__brand svg { height: 28px; } }

/* ---------- editorial pages render full-bleed ---------- */
.region-content--editorial { padding: 0; }
.region-content--editorial > * { margin: 0; }

/* Drupal wraps controller output in block markup; strip its spacing so the
   page's own first section sits flush under the header. */
.region-content--editorial .nr-block,
.region-content--editorial .nr-block--nr-pages { margin: 0; padding: 0; }
.region-content--editorial .nr-block__title { display: none; }

/* Belt and braces: on an editorial route, no leftover page-head prints. */
.nr-route--nr-pages-home .nr-page-head,
.nr-route--nr-pages-students .nr-page-head { display: none; }

/* ---------- nav breathing room now that Home + Students are in it ---------- */
@media (min-width: 881px) and (max-width: 1180px) {
  .nr-nav ul { gap: 18px; }
  .nr-nav a { font-size: 14px; }
  .nr-header__inner { gap: 18px; }
}

/* ---------- width ---------- */
/* Editorial and marketing stay at the reading measure (1160px).
   Product and app pages — readers, tables, tools — get more room.
   Add the body class or use .nr-wrap--wide inside a module template. */
.nr-area--rn-review-v2 .nr-wrap,
.nr-area--rn-review-program .nr-wrap,
.nr-area--icu-library .nr-wrap,
.nr-area--learn .nr-wrap,
.nr-area--nursing .nr-wrap,
.nr-area--medical .nr-wrap,
.nr-area--tools .nr-wrap { max-width: 1360px; }

/* ---------- hero rhythm ---------- */
/* The hero already carries its own top padding; nothing above it should add
   more. This keeps the first line of the page a consistent distance from
   the header on every editorial page. */
.region-content--editorial .nrf-hero { padding-top: clamp(40px, 4.5vw, 64px); }

/* ---------- ICU access gate (nr_icu_library) ---------- */
/* A public page rendered through the theme — no chrome of its own. */
.nr-icu-gate{max-width:var(--nr-max);margin:0 auto}
.nr-icu-gate__hero{background:var(--nr-navy-900);color:var(--nr-on-navy);border-top:5px solid var(--nr-teal);border-radius:4px;padding:clamp(28px,4vw,46px) clamp(22px,3.4vw,40px);margin-bottom:20px}
.nr-icu-gate__hero .nr-eyebrow{color:var(--nr-teal)}
.nr-icu-gate__hero .nr-eyebrow::before{background:var(--nr-teal)}
.nr-icu-gate__title{font-family:var(--nr-display);font-weight:400;letter-spacing:.012em;font-size:clamp(2.2rem,4.6vw,3.9rem);line-height:.98;color:var(--nr-on-navy);margin:.3rem 0 1rem}
.nr-icu-gate__hero .nr-lede{color:var(--nr-on-navy-soft)}
.nr-icu-gate__pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.nr-icu-gate__pills .nr-chip{background:rgba(15,167,157,.12);border-color:var(--nr-line-dark);color:var(--nr-on-navy)}
.nr-icu-gate__pills .nr-chip b{color:var(--nr-teal)}
.nr-icu-gate__card{margin-bottom:16px;padding:clamp(24px,3vw,34px)}
.nr-icu-gate__card--support{border-left-color:var(--nr-gold-600)}
.nr-icu-gate__h2{font-family:var(--nr-display);font-weight:400;letter-spacing:.02em;font-size:clamp(1.7rem,2.6vw,2.3rem);line-height:1.04;color:var(--nr-head);margin:.2rem 0 .9rem}
.nr-icu-gate__card p{color:var(--nr-muted);line-height:1.62;margin:0 0 .9rem}
.nr-icu-gate__actions{margin-top:20px}
