/* =========================================================
   Rotstein Lab responsive coded website
   Avenir font stack, Wix-inspired spacing, fully responsive
   ========================================================= */
:root {
--color-page-bg: #FBF3E8;
  --color-surface: #FFFDF8;
  --color-surface-soft: #FFFCF6;
  --color-text-primary: #14262D;
  --color-text-secondary: #3C4A50;
  --color-text-muted: #5F6A6E;
  --color-border: #DED3C4;
  --color-border-soft: #E3D8C8;
  --color-accent: #B9413E;
  --color-accent-dark: #8F342F;
  --shadow-soft: 0 20px 45px rgba(38, 52, 57, 0.08);
  --cream: var(--color-page-bg);
  --cream-2: var(--color-page-bg);
  --ink: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --line: var(--color-border);
  --button: var(--color-text-primary);
  --button-hover: var(--color-accent-dark);
  --max: 1180px;
  --text-max: 760px;
  --pad: clamp(18px, 4vw, 64px);
  --section: clamp(42px, 7vw, 92px);
  --nav-height: 76px;
  --font: Avenir, "Avenir Next", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-weight: 400;
  overflow-x: hidden;
}
html.nav-open,
body.nav-open {
overflow: hidden;
}
img,
iframe,
svg,
video {
max-width: 100%;
}
img {
display: block;
}
a {
color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
font: inherit;
}
.skip-link {
position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 180ms ease;
}
.skip-link:focus {
transform: translateY(0);
}
/* Header */
.site-header {
position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-height);
  background: rgba(251, 243, 232, 0.96);
  backdrop-filter: blur(10px);
}
.nav-wrap {
min-height: var(--nav-height);
  width: min(100%, 1780px);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.primary-nav {
display: flex;
  align-items: center;
}
.nav-list {
list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 2.1vw, 38px);
  flex-wrap: wrap;
}
.nav-list a {
display: block;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.2;
  font-weight: 500;
  color: #0f1a1f;
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list a.active {
opacity: 0.6;
}
.nav-item {
position: relative;
}
.nav-parent {
position: relative;
}
.patient-dropdown {
position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 310px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  background: rgba(251, 250, 246, 0.98);
  border: 1px solid rgba(20, 36, 45, 0.12);
  box-shadow: 0 18px 40px rgba(20, 36, 45, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 150;
}
.patient-dropdown::before {
content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.has-dropdown:hover .patient-dropdown,
.has-dropdown:focus-within .patient-dropdown {
opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.patient-dropdown li {
margin: 0;
}
.patient-dropdown a {
display: block;
  padding: 11px 20px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-align: left;
  white-space: nowrap;
  color: var(--ink);
}
.patient-dropdown a:hover,
.patient-dropdown a.active {
background: rgba(20, 36, 45, 0.06);
  opacity: 1;
}
.nav-toggle {
display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-open .nav-toggle span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}
/* Shared page sections */
main {
min-height: 60vh;
}
.section-inner {
width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}
.title-block {
width: min(100%, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding-top: clamp(34px, 5vw, 66px);
  text-align: center;
}
.page-title,
.hero-title {
margin: 0;
  font-family: var(--font);
  font-size: clamp(42px, 4.5vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--ink);
}
.hero-title {
letter-spacing: 0.13em;
}
.title-rule {
width: min(100%, 1780px);
  height: 1px;
  margin: clamp(26px, 3vw, 34px) auto 0;
  background: var(--line);
  opacity: 0.86;
}
/* Home */
.home-hero {
background: var(--cream);
}
.hero-media-grid {
display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  margin-top: 0;
}
.hero-media {
min-width: 0;
  height: clamp(310px, 33vw, 640px);
  overflow: hidden;
}
.hero-media img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media:first-child img {
object-position: center center;
}
.hero-media:nth-child(2) img {
object-position: center center;
}
.text-section {
padding: clamp(40px, 6vw, 76px) var(--pad) 0;
  text-align: center;
}
.text-section.compact-top {
padding-top: clamp(18px, 3vw, 38px);
}
.section-heading {
margin: 0 0 clamp(20px, 2.4vw, 30px);
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.text-copy {
max-width: var(--text-max);
  margin: 0 auto;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.88;
  letter-spacing: 0.055em;
  color: #26343a;
}
.text-copy p {
margin: 0;
}
.btn {
display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 172px;
  min-height: 36px;
  margin-top: 24px;
  padding: 9px 22px;
  border-radius: 3px;
  border: 1px solid var(--button);
  background: var(--button);
  color: #f7f4ee;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: background 180ms ease, transform 180ms ease;
}
.btn:hover {
background: var(--button-hover);
  transform: translateY(-1px);
}
.location-section {
padding: clamp(38px, 5vw, 72px) var(--pad) clamp(64px, 8vw, 104px);
  text-align: center;
}
.map-wrap {
width: min(760px, 100%);
  margin: 20px auto 0;
  border: 0;
  overflow: hidden;
  background: #e9e7e1;
}
.map-wrap iframe {
display: block;
  width: 100%;
  height: clamp(260px, 25vw, 360px);
  border: 0;
  filter: none;
}
.address {
margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.04em;
}
/* Patient Resources */
.patient-title-section {
padding-bottom: clamp(18px, 3vw, 34px);
}
.patient-title-section .title-block {
padding-top: clamp(48px, 7vw, 98px);
}
.patient-title-section .page-title {
font-size: clamp(44px, 5.6vw, 86px);
  letter-spacing: clamp(0.04em, 1vw, 0.16em);
}
.patient-title-section .title-rule {
width: min(100%, 1780px);
  margin-top: clamp(28px, 4vw, 52px);
}
.resources-section {
padding: clamp(44px, 6vw, 86px) var(--pad) clamp(82px, 10vw, 142px);
}
.resources-grid {
width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 62px);
  align-items: stretch;
}
.resource-card {
min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.resource-card.is-visible,
.no-js .resource-card {
opacity: 1;
  transform: translateY(0);
}
.resource-title {
min-height: 112px;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.055em;
}
.resource-title a {
text-decoration: none;
}
.resource-title a:hover {
opacity: 0.68;
}
.resource-rule {
width: min(100%, 280px);
  height: 1px;
  background: var(--line);
  margin: 28px auto 34px;
  opacity: 0.86;
}
.resource-text {
margin: 0 auto;
  color: #26343a;
  font-size: clamp(16px, 1.28vw, 18px);
  line-height: 1.78;
  letter-spacing: 0.07em;
  max-width: 320px;
}
.read-toggle {
margin-top: 20px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.content-page {
padding: clamp(34px, 6vw, 70px) var(--pad) clamp(86px, 10vw, 144px);
}
.content-inner {
width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
}
.content-card {
background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(20, 36, 45, 0.14);
  padding: clamp(24px, 5vw, 54px);
}
.content-card p,
.content-card li {
font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.78;
  letter-spacing: 0.04em;
}
.content-card ul {
display: inline-block;
  text-align: left;
}
.link-button {
display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
}
/* Research Focus page */
.research-focus-section {
padding: clamp(42px, 6vw, 82px) var(--pad) clamp(44px, 7vw, 86px);
  scroll-margin-top: calc(var(--nav-height) + 20px);
}
.research-focus-inner {
width: min(1120px, 100%);
}
.research-page-title,
.research-details-title {
margin: 0 0 clamp(30px, 4vw, 48px);
  text-align: center;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.035em;
  color: var(--ink);
}
.research-page-title::after {
content: "";
  display: block;
  width: 38px;
  height: 1px;
  background: var(--line);
  margin: 10px auto 0;
  opacity: 0.85;
}
.research-card-grid {
display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 82px);
  align-items: stretch;
}
.research-card-item {
min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.research-card-title {
min-height: 82px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #26343a;
}
.research-card-rule {
width: 100%;
  height: 1px;
  margin: 18px 0 26px;
  background: var(--line);
  opacity: 0.75;
}
.research-card-media {
width: 100%;
  aspect-ratio: 1.12 / 1;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}
.research-card-media img {
width: 100%;
  height: 100%;
  object-fit: contain;
}
.research-card-text {
margin: 0;
  color: #26343a;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
  letter-spacing: 0.055em;
}
.research-read-more,
.back-link {
width: fit-content;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f1a1f;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.25px;
  transition: opacity 180ms ease, transform 180ms ease;
}
.research-read-more:hover,
.back-link:hover {
opacity: 0.62;
  transform: translateY(-1px);
}
.research-details-section {
padding: clamp(36px, 6vw, 74px) var(--pad) clamp(84px, 10vw, 132px);
  background: var(--cream);
}
.research-details-inner {
width: min(1120px, 100%);
}
.research-detail {
scroll-margin-top: calc(var(--nav-height) + 28px);
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px) 0;
  border-top: 1px solid rgba(20, 36, 45, 0.23);
}
.research-detail:last-child {
border-bottom: 0;
}
.research-detail-media {
margin: 0;
  min-width: 0;
  background: #fff;
  overflow: hidden;
}
.research-detail-media img {
width: 100%;
  height: auto;
  display: block;
}
.research-detail-copy {
min-width: 0;
}
.research-detail-copy h3 {
margin: 0 0 18px;
  font-size: clamp(25px, 2.25vw, 36px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: var(--ink);
}
.research-detail-copy p {
margin: 0 0 18px;
  color: #26343a;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.74;
  letter-spacing: 0.045em;
}
.collaborators {
margin-top: 26px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(20, 36, 45, 0.2);
  background: rgba(255, 255, 255, 0.32);
}
.collaborators h4 {
margin: 0 0 18px;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.collaborators-list {
margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.collaborators-list li {
position: relative;
  padding-left: 18px;
  color: #26343a;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.45;
  letter-spacing: 0.035em;
}
.collaborators-list li::before {
content: "•";
  position: absolute;
  left: 0;
  top: 0;
}
.resource-detail-page {
padding: clamp(16px, 4vw, 48px) var(--pad) clamp(82px, 10vw, 142px);
}
.resource-detail-inner {
width: min(820px, 100%);
  margin: 0 auto;
}
.resource-detail-panel {
padding: clamp(28px, 5vw, 58px);
  text-align: center;
  background: rgba(255, 255, 255, 0.36);
  border-top: 1px solid rgba(20, 36, 45, 0.32);
  border-bottom: 1px solid rgba(20, 36, 45, 0.22);
}
.resource-detail-panel .eyebrow {
margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3e4a50;
}
.resource-detail-panel h2 {
margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.resource-detail-panel p:not(.eyebrow) {
max-width: 660px;
  margin: 0 auto;
  color: #26343a;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.78;
  letter-spacing: 0.055em;
}
/* Footer */
.site-footer {
background: #fbfafa;
  padding: clamp(36px, 5vw, 72px) var(--pad) 22px;
  text-align: center;
  overflow: hidden;
}
.footer-wordmark {
width: min(100%, 1700px);
  margin: 0 auto;
  display: block;
  text-align: center;
  font-size: clamp(54px, 11.9vw, 210px);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  background-image: url("assets/footer-wordmark-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.97;
  white-space: nowrap;
}
.footer-copy {
margin: 30px 0 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #344148;
}
/* Responsive */
@media (max-width: 1120px) {
.nav-wrap {
gap: 16px;
}
.nav-list {
gap: 18px;
}
.nav-list a {
font-size: 16px;
}
}
@media (max-width: 900px) {
:root {
--nav-height: 70px;
}
.nav-toggle {
display: block;
}
.primary-nav {
position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-height));
    background: rgba(251, 243, 232, 0.98);
    padding: 24px var(--pad) 40px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
}
.nav-open .primary-nav {
opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-list {
width: min(520px, 100%);
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.nav-list a {
padding: 18px 0;
    border-bottom: 1px solid rgba(20, 36, 45, 0.18);
    text-align: center;
    font-size: 20px;
}
.nav-item {
width: 100%;
}
.patient-dropdown {
position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.patient-dropdown::before {
display: none;
}
.has-dropdown:hover .patient-dropdown,
.has-dropdown:focus-within .patient-dropdown {
transform: none;
}
.patient-dropdown a {
padding: 12px 0;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(20, 36, 45, 0.12);
    opacity: 0.78;
}
.hero-media-grid {
grid-template-columns: 1fr;
}
.hero-media {
height: clamp(260px, 58vw, 480px);
}
.resources-grid {
grid-template-columns: 1fr;
    max-width: 560px;
    gap: 58px;
}
.resource-title {
min-height: 0;
    align-items: center;
}
.resource-rule {
width: min(100%, 260px);
    margin: 24px auto 26px;
}
.footer-wordmark {
width: 100%;
    font-size: clamp(50px, 16vw, 128px);
    white-space: normal;
    line-height: 0.92;
}
}
@media (max-width: 640px) {
:root {
--pad: 18px;
}
.nav-wrap {
padding-inline: 22px;
}
.patient-subnav {
width: calc(100% - 24px);
    padding: 7px 10px;
}
.resource-detail-panel {
padding: 26px 18px;
}
.resource-detail-panel p:not(.eyebrow) {
font-size: 16px;
    line-height: 1.68;
    letter-spacing: 0.035em;
}
.page-title,
.hero-title {
font-size: clamp(34px, 10vw, 48px);
    letter-spacing: 0.055em;
}
.patient-title-section .page-title {
font-size: clamp(38px, 12vw, 56px);
    letter-spacing: 0.07em;
}
.title-block {
padding-top: 30px;
}
.title-rule {
margin-top: 22px;
}
.section-heading {
font-size: clamp(31px, 9vw, 42px);
    letter-spacing: 0.08em;
}
.text-copy {
font-size: 16px;
    line-height: 1.72;
    letter-spacing: 0.035em;
}
.map-wrap iframe {
height: 290px;
}
.resource-text {
max-width: 100%;
}
}
@media (max-width: 1080px) {
.research-card-grid {
gap: clamp(26px, 4vw, 44px);
}
.research-card-title {
min-height: 88px;
}
}
@media (max-width: 900px) {
.research-card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.research-card-item:last-child {
grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
}
.research-card-title {
min-height: 0;
}
.research-detail {
grid-template-columns: 1fr;
    gap: 26px;
}
.research-detail-media {
max-width: 520px;
    width: 100%;
}
}
@media (max-width: 640px) {
.research-focus-section {
padding-top: 34px;
}
.research-card-grid {
grid-template-columns: 1fr;
    gap: 54px;
}
.research-card-item:last-child {
max-width: none;
}
.research-card-title {
font-size: 19px;
}
.research-card-rule {
margin: 16px 0 22px;
}
.research-card-media {
margin-bottom: 20px;
}
.research-read-more,
.back-link {
min-height: 44px;
    padding: 10px 0;
}
.research-details-title {
margin-bottom: 14px;
}
.research-detail {
padding: 34px 0;
}
.collaborators-list {
grid-template-columns: 1fr;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
}
.resource-card {
opacity: 1;
    transform: none;
}
}
/* Patient Organizations directory */
.org-page-hero {
padding: clamp(48px, 7vw, 96px) var(--pad) 0;
}
.org-page-inner {
width: min(980px, calc(100vw - (var(--pad) * 2)));
  margin: 0 auto;
}
.org-page-title {
margin: 0;
  text-align: center;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: clamp(0.035em, 0.65vw, 0.115em);
  color: var(--ink);
}
.org-page-rule {
width: 100%;
  height: 1px;
  margin: clamp(24px, 3.5vw, 42px) auto 0;
  background: rgba(20, 36, 45, 0.28);
}
.org-directory {
padding: clamp(28px, 4vw, 48px) var(--pad) 0;
}
.org-directory--ms {
padding-bottom: clamp(72px, 10vw, 140px);
}
.org-section-title {
margin: 0 0 clamp(24px, 4vw, 42px);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: var(--ink);
}
.org-row {
display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  column-gap: clamp(34px, 5vw, 72px);
  row-gap: 28px;
  align-items: start;
  padding: clamp(34px, 4.6vw, 56px) 0;
  border-top: 1px solid rgba(20, 36, 45, 0.22);
}
.org-row:last-child {
border-bottom: 1px solid rgba(20, 36, 45, 0.22);
}
.org-row--image-right {
grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
}
.org-media-block,
.org-copy-block {
min-width: 0;
}
.org-media-block {
display: flex;
  flex-direction: column;
  gap: 18px;
}
.org-media-block h3,
.org-mobile-heading {
margin: 0;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: var(--ink);
}
.org-mobile-heading {
display: none;
}
.org-logo-frame {
width: 100%;
  min-height: clamp(132px, 13vw, 178px);
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 36, 45, 0.08);
  background: rgba(255, 255, 255, 0.56);
}
.org-logo-frame--white {
background: #ffffff;
}
.org-logo-frame--transparent {
background: rgba(255, 255, 255, 0.32);
}
.org-logo-frame img {
width: 100%;
  max-width: 92%;
  max-height: 150px;
  object-fit: contain;
}
#guthy-jackson-foundation .org-logo-frame img {
max-height: 108px;
}
#mog-project .org-logo-frame img {
max-height: 142px;
}
#cord .org-logo-frame img {
max-height: 172px;
}
#ms-canada .org-logo-frame img {
max-height: 132px;
}
.org-actions {
display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.org-actions:has(.org-link-button:only-child) {
grid-template-columns: minmax(170px, 220px);
  justify-content: center;
}
.org-link-button {
display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(20, 36, 45, 0.34);
  color: #3e4a50;
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.2;
  letter-spacing: 0.12em;
  background: transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.org-link-button span {
margin-left: 8px;
  font-size: 20px;
  line-height: 0;
}
.org-link-button:hover,
.org-link-button:focus-visible {
background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}
.org-copy-block {
padding-top: 3px;
}
.org-copy-block p {
margin: 0 0 18px;
  color: #26343a;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.75;
  letter-spacing: 0.045em;
}
.org-read-toggle {
margin: 2px 0 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(15px, 1vw, 16px);
  line-height: 1.25;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  letter-spacing: 0.015em;
}
.org-read-toggle:hover,
.org-read-toggle:focus-visible {
opacity: 0.72;
}
.org-row:not(.is-expanded) [data-org-extra] {
display: none;
}
.org-row:not(.is-expanded) .org-copy-block p:first-child {
display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.org-row.is-expanded .org-copy-block p:first-child {
display: block;
}
@media (max-width: 900px) {
.org-page-inner {
width: min(680px, calc(100vw - (var(--pad) * 2)));
}
.org-row,
.org-row--image-right {
grid-template-columns: 1fr;
    padding: clamp(30px, 6vw, 46px) 0;
}
.org-row--image-right .org-copy-block {
order: 2;
}
.org-row--image-right .org-media-block {
order: 1;
}
.org-media-block h3 {
display: block;
}
.org-mobile-heading {
display: none;
}
.org-copy-block p {
font-size: clamp(16px, 3.5vw, 19px);
    line-height: 1.72;
}
.org-logo-frame {
min-height: 150px;
}
}
@media (max-width: 560px) {
.org-page-hero {
padding-top: 40px;
}
.org-page-title {
font-size: clamp(34px, 10vw, 44px);
    letter-spacing: 0.055em;
}
.org-section-title {
font-size: clamp(25px, 7.5vw, 32px);
}
.org-actions,
.org-actions:has(.org-link-button:only-child) {
grid-template-columns: 1fr;
}
.org-link-button {
width: 100%;
}
.org-logo-frame {
min-height: 118px;
    padding: 16px;
}
.org-row:not(.is-expanded) .org-copy-block p:first-child {
-webkit-line-clamp: 6;
}
}
/* Publications page */
.publications-hero {
padding: clamp(36px, 5vw, 72px) var(--pad) 0;
}
.publications-inner {
width: min(1000px, calc(100vw - (var(--pad) * 2)));
  margin: 0 auto;
}
.publications-title {
margin: 0;
  text-align: center;
  font-size: clamp(44px, 4.25vw, 66px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: clamp(0.035em, 0.55vw, 0.095em);
  color: var(--ink);
}
.publications-section {
padding: clamp(22px, 3vw, 36px) var(--pad) clamp(84px, 10vw, 144px);
}
.publications-list {
margin: 0;
  padding: 0 0 0 1.15rem;
  color: #26343a;
  font-size: clamp(15.5px, 1.02vw, 17px);
  line-height: 1.58;
  letter-spacing: 0.025em;
}
.publications-list li {
margin: 0 0 10px;
  padding-left: 0.32rem;
}
.publications-list li::marker {
color: var(--ink);
  font-size: 0.78em;
}
.publications-list strong {
color: var(--ink);
  font-weight: 800;
}
.publications-list a {
color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
  transition: opacity 180ms ease;
}
.publication-title-link {
text-decoration-thickness: 1.1px;
}
.publication-doi-link {
text-decoration-color: rgba(20, 36, 45, 0.48);
  word-break: break-word;
}
.publications-list a:hover,
.publications-list a:focus-visible {
opacity: 0.65;
}
@media (min-width: 1280px) {
.publications-inner {
width: min(1030px, calc(100vw - 160px));
}
}
@media (max-width: 900px) {
.publications-hero {
padding-top: 42px;
}
.publications-inner {
width: min(760px, calc(100vw - (var(--pad) * 2)));
}
.publications-list {
font-size: 15.5px;
    line-height: 1.62;
}
}
@media (max-width: 640px) {
.publications-hero {
padding-top: 34px;
}
.publications-title {
font-size: clamp(36px, 11vw, 48px);
    letter-spacing: 0.06em;
}
.publications-section {
padding-top: 22px;
}
.publications-list {
font-size: 14.8px;
    line-height: 1.58;
    letter-spacing: 0.015em;
    padding-left: 1rem;
}
.publications-list li {
margin-bottom: 14px;
    padding-left: 0.18rem;
}
}
.visually-hidden {
position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* =========================================================
   RECENT EVENTS SHARED STAGE ALIGNMENT v61
   Aligns both decorative stages to the shared site container
   while keeping their media independently sized and uncropped.
   ========================================================= */
.events-page {
  --event-collage-max: 1200px;
  --event-single-image-max: 820px;
  --event-stage-padding-block: clamp(44px, 3.5vw, 64px);
  --event-stage-padding-inline: clamp(24px, 3.2vw, 56px);
  --event-title-stage-gap: clamp(48px, 3.75vw, 60px);
  background: var(--cream);
}
.events-hero {
padding: clamp(42px, 6vw, 82px) var(--pad) clamp(18px, 3vw, 34px);
  text-align: center;
}
.events-inner {
width: min(1180px, calc(100vw - (var(--pad) * 2)));
  margin-inline: auto;
}
.events-title {
margin: 0;
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: clamp(0.04em, 0.55vw, 0.1em);
  color: var(--ink);
}
.events-title-rule {
width: 42px;
  height: 1px;
  margin: clamp(18px, 2vw, 26px) auto 0;
  background: rgba(20, 36, 45, 0.72);
}
.events-list {
padding-bottom: clamp(70px, 9vw, 130px);
}
.event-showcase {
padding: clamp(38px, 5vw, 70px) 0 clamp(44px, 6vw, 82px);
  scroll-margin-top: calc(var(--nav-height) + clamp(20px, 2vw, 32px));
}
.event-showcase + .event-showcase {
padding-top: clamp(64px, 8vw, 110px);
}
.event-heading {
max-width: 1040px;
  margin: 0 auto var(--event-title-stage-gap);
  text-align: center;
  color: var(--ink);
  font-size: clamp(24px, 2.15vw, 38px);
  line-height: 1.24;
  font-weight: 400;
  letter-spacing: 0.055em;
}
.event-heading span {
display: block;
}
.event-visual {
position: relative;
  box-sizing: border-box;
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
  height: auto;
  min-height: 0;
  margin-inline: auto;
  padding: var(--event-stage-padding-block) var(--event-stage-padding-inline);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    linear-gradient(112deg, rgba(238, 238, 234, 0.96) 0 24%, rgba(42, 155, 194, 0.88) 24% 75%, rgba(234, 234, 231, 0.92) 75% 100%);
}
.event-visual::before {
content: "";
  position: absolute;
  width: 72%;
  height: 92%;
  left: -18%;
  bottom: -27%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  transform: rotate(4deg);
}
.event-visual::after {
content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background:
    linear-gradient(108deg, rgba(255,255,255,0.72) 0 28%, transparent 28% 100%),
    linear-gradient(101deg, rgba(210, 211, 209, 0.25), rgba(255,255,255,0.55));
  pointer-events: none;
}
.event-gallery,
.event-feature-photo {
position: relative;
  z-index: 1;
}
.event-gallery {
width: min(var(--event-collage-max), 100%);
  display: grid;
  grid-template-columns: 0.96fr 1.08fr 1.08fr;
  gap: clamp(8px, 0.8vw, 14px);
  align-items: center;
}
.event-photo,
.event-feature-photo {
margin: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 44px rgba(20, 36, 45, 0.14);
  overflow: visible;
}
.event-photo {
height: auto;
}
.event-photo img,
.event-feature-photo img {
width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.event-photo--portrait img {
object-position: center center;
}
.event-photo--wide img {
object-position: center center;
}
.event-visual--single {
  height: auto;
  min-height: 0;
}
.event-feature-photo {
width: min(var(--event-single-image-max), 100%);
  height: auto;
}
.event-feature-photo img {
object-position: center center;
}
@media (max-width: 1400px) {
.events-page {
  --event-stage-padding-block: clamp(32px, 3.25vw, 44px);
  --event-stage-padding-inline: clamp(24px, 3.2vw, 44px);
  --event-title-stage-gap: clamp(40px, 3.5vw, 48px);
}
}
@media (max-width: 980px) {
.events-page {
  --event-stage-padding-block: clamp(24px, 3.6vw, 34px);
  --event-stage-padding-inline: clamp(20px, 3.2vw, 30px);
  --event-title-stage-gap: clamp(32px, 4vw, 40px);
}
.event-visual {
    height: auto;
    min-height: 0;
}
.event-gallery {
width: min(900px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.event-gallery .event-photo:last-child {
    grid-column: 1 / -1;
    width: min(calc((100% - 14px) / 2), 420px);
    justify-self: center;
}
.event-photo {
height: auto;
}
.event-feature-photo {
width: min(var(--event-single-image-max), 100%);
    height: auto;
}
}
@media (max-width: 640px) {
.events-page {
  --event-stage-padding-block: clamp(20px, 6vw, 28px);
  --event-stage-padding-inline: clamp(16px, 5vw, 22px);
  --event-title-stage-gap: clamp(24px, 7vw, 32px);
}
.events-hero {
padding-top: 36px;
}
.events-title {
font-size: clamp(36px, 11vw, 48px);
    letter-spacing: 0.06em;
}
.event-heading {
font-size: clamp(21px, 6.2vw, 28px);
    line-height: 1.3;
    letter-spacing: 0.035em;
    margin-bottom: clamp(24px, 7vw, 32px);
}
.event-showcase,
.event-showcase + .event-showcase {
padding-top: 48px;
    padding-bottom: 42px;
}
.event-visual {
    height: auto;
    min-height: 0;
}
.event-gallery {
width: 100%;
    grid-template-columns: 1fr;
}
.event-gallery .event-photo:last-child {
    grid-column: auto;
    width: 100%;
}
.event-feature-photo {
width: 100%;
}
.event-photo {
height: auto;
}
.event-feature-photo {
height: auto;
}
}
/* =========================================================
   RECENT EVENTS EQUAL COLLAGE + KRSS v71
   Keeps ACTRIMS immutable while extending the shared stage.
   ========================================================= */
body[data-active="recent-events.html"] .event-showcase--patient-day .event-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body[data-active="recent-events.html"] .event-showcase--patient-day .event-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
body[data-active="recent-events.html"] .event-showcase--patient-day .event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body[data-active="recent-events.html"] .event-feature-photo--krss {
  width: min(100%, 880px);
  height: auto;
  margin-inline: auto;
}
body[data-active="recent-events.html"] .event-feature-photo--krss img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 980px) {
  body[data-active="recent-events.html"] .event-showcase--patient-day .event-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body[data-active="recent-events.html"] .event-showcase--patient-day .event-gallery {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Team page
   ========================================================= */
.team-page {
background: var(--cream);
}
.team-hero {
padding: clamp(48px, 6vw, 92px) var(--pad) clamp(28px, 4vw, 52px);
  text-align: center;
}
.team-hero-inner {
width: min(760px, 100%);
  margin: 0 auto;
}
.team-page-title {
margin: 0;
  font-size: clamp(44px, 4.8vw, 74px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.team-tagline {
margin: 18px 0 0;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #2b383e;
}
.team-intro {
margin: clamp(34px, 4.8vw, 58px) auto 0;
  max-width: 690px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.85;
  letter-spacing: 0.045em;
  color: #344148;
}
.team-feature {
padding: clamp(30px, 4vw, 54px) var(--pad) clamp(54px, 7vw, 92px);
}
.team-feature-card {
width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(20, 36, 45, 0.08);
  box-shadow: 0 18px 50px rgba(20, 36, 45, 0.055);
  overflow: hidden;
}
.team-feature-copy {
padding: clamp(42px, 6vw, 96px) clamp(28px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-feature-copy .eyebrow {
order: 2;
  margin: 20px 0 24px;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.5;
  letter-spacing: 0.055em;
  color: #405056;
}
.team-feature-copy h2 {
order: 1;
  margin: 0;
  font-size: clamp(38px, 4vw, 70px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0.065em;
  color: var(--ink);
}
.team-feature-copy p:not(.eyebrow) {
order: 3;
  margin: 0 0 26px;
  max-width: 650px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.72;
  letter-spacing: 0.045em;
  color: #2d3a40;
}
.team-feature-copy p:last-child {
margin-bottom: 0;
}
.team-feature-image {
min-height: 680px;
  background: #dcecf2;
}
.team-feature-image img {
width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% center;
}
.team-section {
padding: clamp(38px, 5vw, 76px) var(--pad);
}
.team-section-heading {
width: min(1120px, 100%);
  margin: 0 auto clamp(26px, 4vw, 44px);
  text-align: center;
}
.team-section-heading h2 {
margin: 0;
  font-size: clamp(31px, 3vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.team-heading-rule {
width: 64px;
  height: 1px;
  margin: 18px auto 0;
  background: rgba(20, 36, 45, 0.62);
}
.team-card-grid {
width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 42px);
}
.staff-grid {
width: min(560px, 100%);
  grid-template-columns: 1fr;
}
.team-person-card {
min-width: 0;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(20, 36, 45, 0.1);
  box-shadow: 0 14px 38px rgba(20, 36, 45, 0.055);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.team-person-card:hover {
transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(20, 36, 45, 0.08);
}
.team-person-photo {
aspect-ratio: 1 / 1.02;
  background: #e8e5df;
  overflow: hidden;
}
.team-person-photo img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-person-card:nth-child(1) .team-person-photo img {
object-position: center 30%;
}
.team-person-card:nth-child(2) .team-person-photo img {
object-position: center center;
}
.staff-grid .team-person-photo img {
object-position: center 30%;
}
.team-person-content {
padding: clamp(24px, 3vw, 34px);
  text-align: center;
}
.team-person-content h3 {
margin: 0;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.055em;
  color: var(--ink);
}
.team-person-content p {
margin: 14px auto 0;
  max-width: 430px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.62;
  letter-spacing: 0.045em;
  color: #39474d;
}
.past-students-section {
padding-bottom: clamp(76px, 10vw, 136px);
}
.past-students-card {
width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(20, 36, 45, 0.24);
  border-bottom: 1px solid rgba(20, 36, 45, 0.24);
}
.past-students-list {
list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.past-students-list li {
min-width: 0;
  padding: 18px 20px;
  background: rgba(251, 243, 232, 0.62);
  border: 1px solid rgba(20, 36, 45, 0.08);
  text-align: center;
}
.past-students-list span {
display: block;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: var(--ink);
}
.past-students-list small {
display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.035em;
  color: #445258;
}
@media (max-width: 1080px) {
.team-feature-card {
grid-template-columns: 1fr;
}
.team-feature-image {
min-height: auto;
    height: clamp(500px, 72vw, 760px);
    order: -1;
}
.team-feature-image img {
object-position: 45% center;
}
.team-feature-copy {
padding: clamp(36px, 7vw, 76px) clamp(24px, 7vw, 72px);
}
}
@media (max-width: 780px) {
.team-card-grid {
grid-template-columns: 1fr;
    width: min(560px, 100%);
}
.past-students-list {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.team-hero {
padding-top: 36px;
}
.team-page-title {
font-size: clamp(36px, 11vw, 50px);
    letter-spacing: 0.065em;
}
.team-tagline,
.team-intro,
.team-feature-copy p:not(.eyebrow),
.team-person-content p {
letter-spacing: 0.032em;
}
.team-feature {
padding-inline: 0;
}
.team-feature-card {
border-left: 0;
    border-right: 0;
}
.team-feature-image {
height: clamp(390px, 105vw, 560px);
}
.team-feature-copy h2 {
font-size: clamp(34px, 9vw, 48px);
    letter-spacing: 0.045em;
}
.team-section-heading h2 {
letter-spacing: 0.055em;
}
.team-person-content h3 {
letter-spacing: 0.045em;
}
}
/* Educational Webinars */
.webinars-hero {
padding: clamp(54px, 8vw, 112px) var(--pad) clamp(30px, 5vw, 56px);
  background: linear-gradient(180deg, var(--cream) 0%, rgba(248, 246, 242, 0.9) 100%);
  text-align: center;
}
.webinars-hero-inner {
width: min(1040px, 100%);
  margin: 0 auto;
}
.webinars-hero .page-title {
font-size: clamp(44px, 5.2vw, 82px);
  letter-spacing: 0.11em;
}
.small-title-rule {
width: 48px;
  height: 1px;
  margin: 28px auto 0;
  background: rgba(20, 36, 45, 0.72);
}
.webinars-intro {
width: min(760px, 100%);
  margin: 28px auto 0;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.72;
  letter-spacing: 0.045em;
  color: #354248;
}
.webinar-feature {
padding: clamp(22px, 4vw, 48px) var(--pad) clamp(36px, 6vw, 72px);
}
.webinar-feature-inner {
width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
}
.video-shell {
min-width: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.24), transparent 34%),
    #15272f;
  border: 1px solid rgba(20, 36, 45, 0.16);
  border-radius: 2px;
  box-shadow: 0 24px 58px rgba(20, 36, 45, 0.14);
}
.video-shell::before {
content: "";
  display: block;
  aspect-ratio: 16 / 9;
}
.video-shell iframe,
.video-facade {
position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade {
cursor: pointer;
  overflow: hidden;
  background: #15272f;
}
.video-facade img {
width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98);
  transform: scale(1.005);
  transition: transform 220ms ease, filter 220ms ease;
}
.video-facade:hover img {
transform: scale(1.035);
  filter: saturate(1.05) contrast(1.03);
}
.video-facade-overlay {
position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 36, 45, 0.52), rgba(20, 36, 45, 0.18)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 36%);
}
.video-play-button {
position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  background: rgba(20, 36, 45, 0.72);
  color: #fff;
  font: inherit;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: background 180ms ease, transform 180ms ease;
}
.video-play-button:hover,
.video-play-button:focus-visible {
background: rgba(20, 36, 45, 0.9);
  transform: translate(-50%, -50%) scale(1.025);
  outline: none;
}
.video-play-icon {
display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 15px;
  padding-left: 3px;
}
.video-info-card {
min-width: 0;
  padding: clamp(26px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(20, 36, 45, 0.12);
  box-shadow: 0 16px 40px rgba(20, 36, 45, 0.075);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #59656a;
}
.video-info-card h2 {
margin: 0;
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: var(--ink);
}
.video-info-card p:not(.eyebrow) {
margin: 20px 0 0;
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.72;
  letter-spacing: 0.04em;
  color: #354248;
}
.video-actions {
display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.video-actions .btn {
margin-top: 0;
}
.btn-outline {
background: transparent;
  color: var(--ink);
}
.btn-outline:hover {
background: rgba(20, 36, 45, 0.08);
}
.video-watch-link,
.video-load-link {
width: max-content;
}
.webinar-library {
padding: clamp(28px, 5vw, 70px) var(--pad) clamp(58px, 8vw, 106px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)),
    var(--cream);
}
.webinar-library-inner {
width: min(1320px, 100%);
  margin: 0 auto;
}
.library-heading-row {
display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(20, 36, 45, 0.2);
}
.library-heading-row h2 {
margin: 0;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--ink);
}
.library-heading-row > p {
max-width: 360px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #4c585e;
  text-align: right;
}
.webinar-grid {
margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.9vw, 26px);
}
.webinar-card {
min-width: 0;
  border: 1px solid rgba(20, 36, 45, 0.12);
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(20, 36, 45, 0.055);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.webinar-card:hover,
.webinar-card:focus-visible,
.webinar-card.is-selected {
transform: translateY(-4px);
  border-color: rgba(20, 36, 45, 0.34);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 42px rgba(20, 36, 45, 0.095);
}
.webinar-card:focus-visible {
outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.thumbnail-wrap {
position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9d6cf;
}
.thumbnail-wrap img {
width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}
.webinar-card:hover .thumbnail-wrap img,
.webinar-card.is-selected .thumbnail-wrap img {
transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}
.play-badge {
position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(20, 36, 45, 0.55);
  color: white;
  display: grid;
  place-items: center;
  font-size: 17px;
  padding-left: 3px;
  backdrop-filter: blur(4px);
}
.webinar-card-content {
display: block;
  padding: 18px 18px 20px;
}
.webinar-title {
display: block;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.035em;
  color: var(--ink);
}
.webinar-meta {
display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7478;
}
.resource-back-section {
padding: 0 var(--pad) clamp(66px, 8vw, 110px);
  text-align: center;
}
@media (max-width: 1180px) {
.webinar-feature-inner {
grid-template-columns: 1fr;
}
.video-info-card {
text-align: center;
    align-items: center;
}
.webinar-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 820px) {
.library-heading-row {
display: block;
    text-align: center;
}
.library-heading-row > p {
max-width: 560px;
    margin: 14px auto 0;
    text-align: center;
}
.webinar-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 560px) {
.webinars-hero .page-title {
font-size: clamp(38px, 12vw, 54px);
    letter-spacing: 0.065em;
}
.webinar-feature,
.webinar-library {
padding-inline: 16px;
}
.webinar-grid {
grid-template-columns: 1fr;
}
.video-info-card h2,
.library-heading-row h2 {
letter-spacing: 0.045em;
}
}
/* YouTube-safe webinar player: thumbnails open the video on YouTube, avoiding local-file embed errors. */
.video-facade {
cursor: pointer;
}
.video-play-button span:last-child::after {
content: "";
}
.video-watch-link,
.video-load-link {
cursor: pointer;
}
/* Final Educational Webinars fix: no iframe embed, no Error 153, fully responsive */
.no-embed-feature .webinar-feature-inner {
align-items: stretch;
}
.safe-video-poster {
position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(320px, 44vw, 560px);
  padding: clamp(28px, 5vw, 72px);
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(22, 38, 47, 0.12);
  box-shadow: 0 22px 70px rgba(22, 38, 47, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.safe-video-poster::before,
.safe-video-poster::after,
.mini-poster::before {
content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}
.safe-video-poster::after {
z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 26, 33, 0.84), rgba(13, 26, 33, 0.45) 52%, rgba(13, 26, 33, 0.25)),
    radial-gradient(circle at 78% 20%, rgba(255,255,255,0.22), transparent 30%);
}
.safe-video-poster:hover,
.safe-video-poster:focus-visible {
transform: translateY(-3px);
  box-shadow: 0 28px 84px rgba(22, 38, 47, 0.24);
}
.poster-topline {
margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.86;
}
.poster-title {
max-width: 680px;
  font-size: clamp(32px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.poster-subtitle {
display: block;
  max-width: 600px;
  margin-top: 14px;
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.poster-play {
display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-top: 34px;
  border: 2px solid rgba(255,255,255,0.92);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  font-size: 26px;
  text-indent: 4px;
}
.poster-cta {
display: inline-block;
  width: fit-content;
  margin-top: 18px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.1);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.poster-nmosd::before,
.mini-poster.poster-nmosd::before {
background:
    linear-gradient(135deg, rgba(48, 93, 115, 0.96), rgba(28, 45, 58, 0.96)),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 34%);
}
.poster-ebv::before,
.mini-poster.poster-ebv::before {
background:
    linear-gradient(135deg, #2b4851, #18272d),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 14px);
}
.poster-ms-onset::before,
.mini-poster.poster-ms-onset::before {
background:
    linear-gradient(135deg, #f8f7f0, #d7d2c7 52%, #2e667a 53%, #2e667a),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.75), transparent 28%);
}
.poster-french::before,
.mini-poster.poster-french::before {
background:
    linear-gradient(135deg, #f7f4ed, #d8d1c4 45%, #d14242 46%, #d14242 48%, #f7f4ed 49%),
    radial-gradient(circle at 30% 55%, rgba(27, 42, 48, 0.16), transparent 30%);
}
.poster-connect::before,
.mini-poster.poster-connect::before {
background:
    linear-gradient(135deg, #f8f7f0 0 45%, #d54a4a 45% 47%, #f8f7f0 47% 100%),
    radial-gradient(circle at 64% 48%, rgba(44, 91, 107, 0.26), transparent 24%);
}
.poster-ms-onset,
.poster-french,
.poster-connect {
color: #16262f;
}
.poster-ms-onset::after,
.poster-french::after,
.poster-connect::after {
background: linear-gradient(90deg, rgba(248,247,240,0.82), rgba(248,247,240,0.45), rgba(248,247,240,0.18));
}
.poster-ms-onset .poster-play,
.poster-ms-onset .poster-cta,
.poster-french .poster-play,
.poster-french .poster-cta,
.poster-connect .poster-play,
.poster-connect .poster-cta {
border-color: rgba(22,38,47,0.65);
  background: rgba(255,255,255,0.46);
}
.video-note {
margin-top: 18px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(22, 38, 47, 0.62) !important;
}
.webinar-card .thumbnail-wrap {
display: none !important;
}
.webinar-card {
display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
.mini-poster {
position: relative;
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 16px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.mini-poster.poster-ms-onset,
.mini-poster.poster-french,
.mini-poster.poster-connect {
color: #16262f;
}
.mini-poster .play-badge {
position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(22,38,47,0.82);
  color: #fff;
  font-size: 13px;
  text-indent: 2px;
}
@media (max-width: 980px) {
.webinar-card {
display: flex !important;
    flex-direction: column !important;
}
}
@media (max-width: 700px) {
.safe-video-poster {
min-height: 360px;
    padding: 28px 22px;
}
.webinar-card {
display: flex !important;
    flex-direction: column !important;
}
.mini-poster {
min-height: 140px;
}
.poster-play {
width: 62px;
    height: 62px;
    font-size: 22px;
}
}
/* =========================================================
   NMOSD and MOGAD (CANOPTICS) Newsletters - accessible PDF + audio library
   ========================================================= */
.newsletter-hero {
padding: clamp(48px, 8vw, 112px) var(--pad) clamp(38px, 6vw, 76px);
  background:
    radial-gradient(circle at 12% 16%, rgba(210, 35, 42, 0.08), transparent 26%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  text-align: center;
}
.newsletter-hero-inner {
width: min(1080px, 100%);
  margin: 0 auto;
}
.newsletter-hero .page-title {
margin: 8px 0 0;
  font-size: clamp(46px, 8.4vw, 104px);
  line-height: 0.95;
  letter-spacing: 0.1em;
}
.newsletter-intro {
max-width: 820px;
  margin: clamp(24px, 3vw, 34px) auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
  letter-spacing: 0.08em;
}
.newsletter-stats {
margin: clamp(28px, 4vw, 46px) auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.newsletter-stats span {
display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(20, 36, 45, 0.14);
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: rgba(20, 36, 45, 0.72);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.newsletter-stats strong {
color: var(--ink);
  font-size: 15px;
}
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section {
width: min(1500px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
}
.newsletter-feature-section {
padding: clamp(34px, 5vw, 76px) 0;
}
.newsletter-feature-grid {
display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(22px, 3.8vw, 58px);
  align-items: stretch;
}
.newsletter-feature-card {
display: grid;
  gap: 20px;
}
.newsletter-feature-copy,
.newsletter-audio-card,
.newsletter-pdf-preview,
.newsletter-access-card {
border: 1px solid rgba(20, 36, 45, 0.11);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 70px rgba(20, 36, 45, 0.08);
}
.newsletter-feature-copy {
padding: clamp(28px, 4.2vw, 54px);
}
.newsletter-feature-copy h2,
.newsletter-library-head h2,
.newsletter-access-card h2 {
margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0.04em;
}
.newsletter-feature-copy p {
margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.72;
  letter-spacing: 0.04em;
}
.newsletter-highlights {
margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.newsletter-highlights li {
position: relative;
  padding-left: 22px;
  color: rgba(20, 36, 45, 0.82);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.newsletter-highlights li::before {
content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}
.newsletter-action-row {
margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ghost-button {
display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(20, 36, 45, 0.42);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.ghost-button:hover,
.ghost-button:focus-visible {
background: rgba(20, 36, 45, 0.06);
  border-color: rgba(20, 36, 45, 0.72);
  transform: translateY(-2px);
}
.newsletter-audio-card {
padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 16px;
}
.newsletter-audio-card h3 {
margin: 8px 0 0;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.12;
  letter-spacing: 0.04em;
}
.newsletter-audio-card audio {
width: 100%;
  min-height: 44px;
}
.newsletter-audio-card.is-unavailable {
background: rgba(255, 255, 255, 0.38);
}
.newsletter-audio-card.is-unavailable audio {
display: none;
}
.newsletter-audio-unavailable {
margin: 0;
  color: rgba(20, 36, 45, 0.68);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}
.newsletter-pdf-preview {
overflow: hidden;
  min-height: 680px;
  display: grid;
  grid-template-rows: auto 1fr;
}
.pdf-preview-toolbar {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(20, 36, 45, 0.12);
  background: rgba(251, 243, 232, 0.82);
  color: rgba(20, 36, 45, 0.74);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pdf-preview-toolbar a {
color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.newsletter-pdf-preview iframe {
width: 100%;
  height: 100%;
  min-height: 630px;
  border: 0;
  background: white;
}
.newsletter-library-section {
padding: clamp(28px, 5vw, 78px) 0;
}
.newsletter-library-head {
display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 42px);
  padding-top: clamp(22px, 3vw, 38px);
  border-top: 1px solid rgba(20, 36, 45, 0.18);
}
.newsletter-tools {
display: grid;
  gap: 12px;
  justify-items: end;
}
.newsletter-search-label {
position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.newsletter-search {
width: min(100%, 540px);
  min-height: 48px;
  border: 1px solid rgba(20, 36, 45, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 16px;
  letter-spacing: 0.04em;
  outline: none;
}
.newsletter-search:focus {
border-color: rgba(20, 36, 45, 0.62);
  box-shadow: 0 0 0 4px rgba(20, 36, 45, 0.08);
}
.newsletter-filter-buttons {
display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.filter-button {
border: 1px solid rgba(20, 36, 45, 0.18);
  background: transparent;
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}
.newsletter-card-grid {
display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.newsletter-card {
min-width: 0;
}
.newsletter-card[hidden] {
display: none;
}
.newsletter-card-button {
width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(20, 36, 45, 0.11);
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 16px 48px rgba(20, 36, 45, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.newsletter-card-button:hover,
.newsletter-card-button:focus-visible,
.newsletter-card.is-selected .newsletter-card-button {
transform: translateY(-4px);
  border-color: rgba(185, 65, 62, 0.45);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 64px rgba(20, 36, 45, 0.12);
}
.cover-wrap {
display: block;
  overflow: hidden;
  border: 1px solid rgba(20, 36, 45, 0.09);
  background: #fff;
  aspect-ratio: 0.74;
}
.cover-wrap img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsletter-card-body {
min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}
.issue-title {
color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.045em;
}
.issue-copy {
color: rgba(20, 36, 45, 0.72);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.035em;
}
.issue-badges {
margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.issue-badges span {
display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(20, 36, 45, 0.14);
  border-radius: 999px;
  color: rgba(20, 36, 45, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.newsletter-no-results {
margin: 28px 0 0;
  padding: 18px;
  border: 1px solid rgba(20, 36, 45, 0.12);
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.newsletter-access-section {
padding: clamp(20px, 5vw, 72px) 0 clamp(48px, 7vw, 100px);
}
.newsletter-access-card {
padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
}
.access-options-grid {
display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.access-options-grid article {
padding: 18px;
  border: 1px solid rgba(20, 36, 45, 0.1);
  background: rgba(251, 243, 232, 0.72);
}
.access-options-grid h3 {
margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: 0.08em;
}
.access-options-grid p {
margin: 0;
  color: rgba(20, 36, 45, 0.68);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}
@media (max-width: 1180px) {
.newsletter-feature-grid {
grid-template-columns: 1fr;
}
.newsletter-pdf-preview {
min-height: 620px;
}
.newsletter-card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 860px) {
.newsletter-hero .page-title {
letter-spacing: 0.06em;
}
.newsletter-library-head,
.newsletter-access-card {
grid-template-columns: 1fr;
}
.newsletter-tools,
.newsletter-filter-buttons {
justify-items: stretch;
    justify-content: flex-start;
}
.newsletter-search {
width: 100%;
}
.access-options-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 680px) {
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section {
width: min(100%, calc(100% - 28px));
}
.newsletter-stats span {
width: 100%;
    justify-content: center;
}
.newsletter-feature-copy,
.newsletter-audio-card,
.newsletter-access-card {
padding: 22px;
}
.newsletter-pdf-preview {
min-height: 520px;
}
.newsletter-pdf-preview iframe {
min-height: 470px;
}
.pdf-preview-toolbar {
align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}
.newsletter-card-grid {
grid-template-columns: 1fr;
}
.newsletter-card-button {
grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 12px;
}
.newsletter-intro {
letter-spacing: 0.04em;
}
}
@media (max-width: 440px) {
.newsletter-card-button {
grid-template-columns: 1fr;
}
.cover-wrap {
max-width: 180px;
}
.newsletter-action-row a {
width: 100%;
}
}
/* Funding and Sponsors - fixed, responsive, accessible */
.funding-page {
background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 54%, var(--cream) 100%);
}
.funding-hero {
padding: clamp(54px, 7vw, 96px) var(--pad) clamp(18px, 3vw, 28px);
  text-align: center;
  background: transparent;
}
.funding-title-block {
width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0;
}
.funding-title-block .eyebrow {
margin: 0 0 14px;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(20, 36, 45, 0.7);
}
.funding-title {
margin: 0;
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: clamp(0.035em, 0.65vw, 0.1em);
  color: var(--ink);
}
.funding-title-rule {
width: 44px;
  height: 1px;
  margin: clamp(18px, 2vw, 28px) auto 0;
  background: var(--ink);
  opacity: 0.42;
}
.funding-intro {
width: min(760px, 100%);
  margin: clamp(22px, 3vw, 34px) auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.75;
  letter-spacing: 0.04em;
}
.sponsor-section {
padding: clamp(34px, 5vw, 62px) var(--pad) clamp(84px, 10vw, 132px);
}
.sponsor-inner {
width: min(1120px, 100%);
  margin: 0 auto;
}
.sponsor-helper {
margin: 0 auto clamp(26px, 3.5vw, 44px);
  text-align: center;
  color: rgba(20, 36, 45, 0.72);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.sponsor-grid {
display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  align-items: stretch;
}
.sponsor-card {
min-width: 0;
  min-height: 248px;
  padding: clamp(22px, 2.4vw, 30px) 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(20, 36, 45, 0.1);
  box-shadow: 0 18px 42px rgba(20, 36, 45, 0.08);
  outline-offset: 7px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.sponsor-logo-wrap {
width: clamp(106px, 8vw, 132px);
  height: clamp(106px, 8vw, 132px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(20, 36, 45, 0.12);
  box-shadow: 0 9px 24px rgba(20, 36, 45, 0.14);
  overflow: hidden;
}
.sponsor-logo-wrap img {
width: 76%;
  height: 76%;
  display: block;
  object-fit: contain;
}
.sponsor-logo-wrap--blue img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
.sponsor-name {
max-width: 190px;
  min-height: 2.55em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c2b31;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.055em;
}
.sponsor-action {
color: rgba(20, 36, 45, 0.72);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(20, 36, 45, 0.36);
  padding-bottom: 4px;
}
.sponsor-card:hover,
.sponsor-card:focus-visible {
transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(20, 36, 45, 0.22);
  box-shadow: 0 24px 55px rgba(20, 36, 45, 0.14);
}
.sponsor-card:hover .sponsor-action,
.sponsor-card:focus-visible .sponsor-action {
color: var(--ink);
  border-bottom-color: var(--ink);
}
@media (max-width: 1120px) {
.sponsor-grid {
grid-template-columns: repeat(3, minmax(170px, 1fr));
    width: min(780px, 100%);
    margin: 0 auto;
}
}
@media (max-width: 720px) {
.funding-hero {
padding-top: 42px;
}
.funding-title {
font-size: clamp(34px, 10vw, 52px);
    letter-spacing: 0.05em;
}
.funding-intro {
font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.03em;
}
.sponsor-grid {
grid-template-columns: repeat(2, minmax(132px, 1fr));
    gap: 18px;
}
.sponsor-card {
min-height: 222px;
    padding: 22px 12px;
}
.sponsor-logo-wrap {
width: 104px;
    height: 104px;
}
.sponsor-name {
min-height: auto;
    font-size: 13px;
}
}
@media (max-width: 420px) {
.sponsor-grid {
grid-template-columns: 1fr;
    width: min(280px, 100%);
}
}
/* =========================================================
   FINAL POLISH OVERRIDES - Patient Resources, Organizations,
   NMOSD and MOGAD (CANOPTICS) Newsletters, and Netlify-safe responsive pages
   ========================================================= */
html {
overflow-x: hidden;
}
body {
overflow-x: hidden;
}
.site-header {
backdrop-filter: blur(10px);
}
.nav-list a {
font-size: clamp(16px, 1.35vw, 20px);
}
.patient-dropdown a {
font-size: 14px;
}
.pr-modern-page,
.org-modern-page,
.newsletter-page {
background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 46%, var(--cream) 100%);
}
.pr-modern-hero,
.org-modern-hero {
padding: clamp(54px, 7vw, 104px) var(--pad) clamp(24px, 4vw, 54px);
  text-align: center;
}
.pr-modern-title,
.org-modern-title {
margin: 0;
  font-size: clamp(44px, 6.7vw, 94px);
  line-height: .96;
  font-weight: 900;
  letter-spacing: clamp(.06em, 1vw, .16em);
  color: var(--ink);
}
.pr-modern-intro,
.org-modern-intro {
width: min(820px, 100%);
  margin: clamp(26px, 3vw, 36px) auto 0;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.78;
  letter-spacing: .055em;
  color: var(--muted);
}
.pr-modern-section {
padding: clamp(26px, 4vw, 54px) var(--pad) clamp(82px, 10vw, 142px);
}
.pr-modern-grid {
width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 34px);
}
.pr-modern-card {
min-width: 0;
  min-height: 100%;
  padding: clamp(28px, 3.5vw, 46px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(20,36,45,.12);
  background: rgba(255,255,255,.62);
  box-shadow: 0 24px 70px rgba(20,36,45,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pr-modern-card:hover,
.pr-modern-card:focus-within {
transform: translateY(-4px);
  border-color: rgba(20,36,45,.26);
  box-shadow: 0 28px 80px rgba(20,36,45,.11);
}
.pr-card-number {
color: var(--color-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}
.pr-modern-card h2 {
min-height: 88px;
  margin: 18px 0 0;
  display: flex;
  align-items: flex-end;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: .045em;
}
.pr-modern-card h2 a {
text-decoration: none;
}
.pr-modern-card h2 a:hover {
opacity: .72;
}
.pr-card-rule {
width: 100%;
  height: 1px;
  margin: 26px 0 24px;
  background: rgba(20,36,45,.26);
}
.pr-modern-card p {
margin: 0;
  color: #334349;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.72;
  letter-spacing: .045em;
}
.pr-card-link {
margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
}
.pr-card-link:hover {
text-decoration: underline; text-underline-offset: 5px;
}
.org-modern-section {
padding: clamp(22px, 4vw, 52px) var(--pad) 0;
}
.org-modern-section--last {
padding-bottom: clamp(84px, 10vw, 142px);
}
.org-modern-inner {
width: min(1140px, 100%);
  margin: 0 auto;
}
.org-section-kicker {
margin-bottom: 10px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.org-modern-section-title {
margin: 0 0 clamp(22px, 3vw, 38px);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: .045em;
  color: var(--ink);
}
.org-modern-card {
margin: 0 0 clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(280px,.88fr) minmax(0,1.12fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(20,36,45,.12);
  background: rgba(255,255,255,.62);
  box-shadow: 0 24px 80px rgba(20,36,45,.07);
}
.org-modern-card--reverse .org-modern-logo-panel {
order: 2;
}
.org-modern-card--reverse .org-modern-copy {
order: 1;
}
.org-modern-logo-panel {
min-width: 0;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(251, 243, 232, 0.8);
  border: 1px solid rgba(20,36,45,.09);
}
.org-modern-logo-panel--white {
background: #fff;
}
.org-modern-logo-panel img {
width: 100%;
  max-width: 390px;
  max-height: 185px;
  object-fit: contain;
  display: block;
}
#cord .org-modern-logo-panel img {
max-height: 230px;
}
#ms-canada .org-modern-logo-panel img {
max-height: 155px;
}
#guthy-jackson-foundation .org-modern-logo-panel img {
max-height: 130px;
}
.org-modern-actions {
width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.org-modern-actions a {
min-width: 150px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20,36,45,.28);
  padding: 10px 18px;
  background: rgba(255,255,255,.45);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.org-modern-actions a:hover,
.org-modern-actions a:focus-visible {
background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.org-modern-copy {
min-width: 0;
}
.org-modern-copy h3 {
margin: 10px 0 18px;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ink);
}
.org-modern-copy p:not(.eyebrow) {
margin: 0 0 16px;
  color: #2e3d43;
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.75;
  letter-spacing: .042em;
}
.org-modern-card:not(.is-expanded) [data-org-extra] {
display: none;
}
.org-modern-card:not(.is-expanded) .org-modern-copy p:not(.eyebrow):first-of-type {
display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.org-read-toggle {
min-height: 40px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* Make newsletter cards and previews more stable on Netlify */
.newsletter-page .newsletter-feature-section,
.newsletter-page .newsletter-library-section,
.newsletter-page .newsletter-access-section {
display: block;
}
.newsletter-page .newsletter-card-grid {
align-items: stretch;
}
.newsletter-page .newsletter-card-button {
min-height: 240px;
}
.newsletter-page .cover-wrap img {
display:block;
}
.newsletter-page .newsletter-pdf-preview iframe {
display: block;
}
@media (max-width: 1120px) {
.pr-modern-grid {
grid-template-columns: 1fr; width: min(720px,100%);
}
.pr-modern-card h2 {
min-height: 0;
}
.org-modern-card,
.org-modern-card--reverse {
grid-template-columns: 1fr;
}
.org-modern-card--reverse .org-modern-logo-panel,
.org-modern-card--reverse .org-modern-copy {
order: initial;
}
}
@media (max-width: 720px) {
.pr-modern-title,
.org-modern-title,
.newsletter-hero .page-title {
font-size: clamp(38px, 12vw, 58px);
    letter-spacing: .065em;
}
.pr-modern-card,
.org-modern-card {
padding: 22px;
}
.org-modern-logo-panel {
padding: 18px;
}
.org-modern-actions {
flex-direction: column;
}
.org-modern-actions a {
width: 100%;
}
.newsletter-page .newsletter-card-button {
min-height: 0;
}
}
@media (max-width: 520px) {
.pr-modern-hero,
.org-modern-hero,
.newsletter-hero {
padding-top: 38px;
}
.pr-modern-intro,
.org-modern-intro,
.newsletter-intro {
letter-spacing: .035em;
}
.pr-modern-card h2 {
font-size: clamp(28px, 9vw, 38px);
}
.org-modern-copy h3 {
font-size: clamp(24px, 8vw, 34px);
}
}
/* =========================================================
   FUNDING AND SPONSORS PAGE - NETLIFY-SAFE FINAL PATCH
   This keeps the sponsor content visible as normal HTML.
   It does not rely on JavaScript, animations, or lazy loading.
   ========================================================= */
body[data-active="funding-and-sponsors.html"] .funding-page--netlify-safe {
min-height: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.7), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.45), transparent 26%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 58%, var(--cream) 100%);
}
body[data-active="funding-and-sponsors.html"] .funding-hero {
padding: clamp(48px, 6vw, 86px) var(--pad) clamp(16px, 2.5vw, 26px);
  text-align: center;
}
body[data-active="funding-and-sponsors.html"] .funding-title-block {
width: min(1120px, 100%);
  margin-inline: auto;
}
body[data-active="funding-and-sponsors.html"] .funding-title-block .eyebrow {
margin: 0 0 14px;
  color: rgba(20, 36, 45, 0.68);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
}
body[data-active="funding-and-sponsors.html"] .funding-title {
margin: 0;
  color: var(--ink);
  font-size: var(--title-size);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.05;
}
body[data-active="funding-and-sponsors.html"] .funding-title-rule {
width: 44px;
  height: 1px;
  margin: clamp(18px, 2vw, 28px) auto 0;
  background: rgba(20, 36, 45, 0.42);
}
body[data-active="funding-and-sponsors.html"] .funding-intro {
width: min(760px, 100%);
  margin: clamp(22px, 3vw, 34px) auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  letter-spacing: 0.04em;
  line-height: 1.75;
}
body[data-active="funding-and-sponsors.html"] .sponsor-section {
display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  padding: clamp(24px, 3.8vw, 46px) 0 clamp(8px, 1.25vw, 16px);
}
body[data-active="funding-and-sponsors.html"] .sponsor-inner {
width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}
body[data-active="funding-and-sponsors.html"] .sponsor-helper {
margin: 0 auto clamp(22px, 3vw, 36px);
  color: rgba(20, 36, 45, 0.72);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
}
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
display: grid !important;
  grid-template-columns: repeat(5, minmax(148px, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
}
body[data-active="funding-and-sponsors.html"] .sponsor-card {
min-width: 0;
  min-height: 0;
  padding: clamp(22px, 2.3vw, 30px) 14px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(20, 36, 45, 0.11);
  border-radius: 2px;
  box-shadow: 0 18px 42px rgba(20, 36, 45, 0.08);
  outline-offset: 7px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
body[data-active="funding-and-sponsors.html"] .sponsor-logo-wrap {
width: clamp(104px, 7.5vw, 130px);
  height: clamp(104px, 7.5vw, 130px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 36, 45, 0.12);
  border-radius: 999px;
  box-shadow: 0 9px 24px rgba(20, 36, 45, 0.13);
}
body[data-active="funding-and-sponsors.html"] .sponsor-logo-wrap img {
width: 76%;
  height: 76%;
  display: block;
  object-fit: contain;
}
body[data-active="funding-and-sponsors.html"] .sponsor-logo-wrap--blue img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-active="funding-and-sponsors.html"] .sponsor-name {
max-width: 192px;
  min-height: 2.55em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c2b31;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.3;
}
body[data-active="funding-and-sponsors.html"] .sponsor-action {
padding-bottom: 4px;
  color: rgba(20, 36, 45, 0.72);
  border-bottom: 1px solid rgba(20, 36, 45, 0.36);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
body[data-active="funding-and-sponsors.html"] .sponsor-card:hover,
body[data-active="funding-and-sponsors.html"] .sponsor-card:focus-visible {
transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 36, 45, 0.22);
  box-shadow: 0 24px 55px rgba(20, 36, 45, 0.14);
}
body[data-active="funding-and-sponsors.html"] .sponsor-card:hover .sponsor-action,
body[data-active="funding-and-sponsors.html"] .sponsor-card:focus-visible .sponsor-action {
color: var(--ink);
  border-bottom-color: var(--ink);
}
@media (max-width: 1120px) {
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
grid-template-columns: repeat(3, minmax(170px, 1fr));
    width: min(800px, 100%);
}
}
@media (max-width: 820px) {
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 18px;
}
body[data-active="funding-and-sponsors.html"] .sponsor-grid > :last-child {
grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
}
}
@media (max-width: 720px) {
body[data-active="funding-and-sponsors.html"] .funding-hero {
padding-top: 42px;
}
body[data-active="funding-and-sponsors.html"] .funding-title {
font-size: clamp(34px, 10vw, 52px);
    letter-spacing: 0.05em;
}
body[data-active="funding-and-sponsors.html"] .funding-intro {
font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 1.65;
}
body[data-active="funding-and-sponsors.html"] .sponsor-section {
padding-top: 22px;
}
body[data-active="funding-and-sponsors.html"] .sponsor-card {
min-height: 0;
    padding: 22px 12px;
}
body[data-active="funding-and-sponsors.html"] .sponsor-logo-wrap {
width: 102px;
    height: 102px;
}
body[data-active="funding-and-sponsors.html"] .sponsor-name {
min-height: auto;
    font-size: 13px;
}
}
@media (max-width: 640px) {
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
grid-template-columns: 1fr;
    width: min(340px, 100%);
}
body[data-active="funding-and-sponsors.html"] .sponsor-grid > :last-child {
grid-column: auto;
    width: 100%;
}
}
/* =========================================================
   EMERGENCY FUNDING PAGE VISIBILITY PATCH v3
   Sponsor cards remain visible on Netlify even if older CSS is cached.
   ========================================================= */
body[data-active="funding-and-sponsors.html"] .sponsor-section,
body[data-active="funding-and-sponsors.html"] .sponsor-inner,
body[data-active="funding-and-sponsors.html"] .sponsor-grid,
body[data-active="funding-and-sponsors.html"] .sponsor-card {
visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}
body[data-active="funding-and-sponsors.html"] .sponsor-section {
display: block !important;
  padding-top: clamp(18px, 2.6vw, 34px) !important;
}
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
display: grid !important;
  grid-template-columns: repeat(5, minmax(148px, 1fr)) !important;
  gap: clamp(16px, 2.2vw, 28px) !important;
}
body[data-active="funding-and-sponsors.html"] .sponsor-card {
display: flex !important;
}
@media (max-width: 1120px) {
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
grid-template-columns: repeat(3, minmax(170px, 1fr)) !important;
}
}
@media (max-width: 820px) {
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}
}
@media (max-width: 640px) {
body[data-active="funding-and-sponsors.html"] .sponsor-grid {
grid-template-columns: 1fr !important;
}
}
/* =========================================================
   HOME PAGE BEAUTY UPDATE + PATIENT RESOURCES SPACING FIX
   Added for Netlify-ready v4.
   ========================================================= */
/* Patient Resources: make all three boxes line up cleanly */
body[data-active="patient-resources.html"] .pr-modern-grid {
align-items: stretch;
}
body[data-active="patient-resources.html"] .pr-modern-card {
display: grid;
  grid-template-rows: auto minmax(104px, auto) auto 1fr auto;
  row-gap: 0;
  height: 100%;
  padding: clamp(30px, 3vw, 44px);
}
body[data-active="patient-resources.html"] .pr-modern-card h2 {
min-height: 104px;
  margin: 18px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
body[data-active="patient-resources.html"] .pr-card-rule {
margin: 22px 0 24px;
}
body[data-active="patient-resources.html"] .pr-modern-card p {
align-self: start;
}
body[data-active="patient-resources.html"] .pr-card-link {
align-self: start;
  margin-top: 0;
  padding-top: 30px;
}
/* Modern Home */
body[data-active="index.html"] .home-modern-page {
background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.78), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.58), transparent 26%),
    linear-gradient(180deg, var(--cream) 0%, var(--color-page-bg) 42%, var(--cream) 100%);
}
body[data-active="index.html"] .home-modern-hero {
padding: clamp(42px, 6.5vw, 104px) var(--pad) clamp(56px, 7vw, 110px);
  position: relative;
  overflow: hidden;
}
body[data-active="index.html"] .home-modern-hero::before {
content: "";
  position: absolute;
  inset: auto -18vw -22vw auto;
  width: clamp(360px, 46vw, 760px);
  height: clamp(360px, 46vw, 760px);
  border-radius: 999px;
  background: rgba(20, 36, 45, 0.045);
  pointer-events: none;
}
body[data-active="index.html"] .home-hero-inner {
width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  position: relative;
  z-index: 1;
}
body[data-active="index.html"] .home-hero-copy {
min-width: 0;
}
body[data-active="index.html"] .home-kicker {
margin: 0 0 16px;
  color: rgba(20, 36, 45, 0.66);
  font-size: clamp(12px, 0.92vw, 14px);
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}
body[data-active="index.html"] .home-modern-title {
margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(42px, 5.25vw, 82px);
  font-weight: 900;
  letter-spacing: clamp(0.025em, 0.36vw, 0.075em);
  line-height: 1.02;
}
body[data-active="index.html"] .home-modern-lede {
width: min(720px, 100%);
  margin: clamp(20px, 2.2vw, 30px) 0 0;
  color: #2f3d43;
  font-size: clamp(17px, 1.25vw, 20px);
  letter-spacing: 0.045em;
  line-height: 1.75;
}
body[data-active="index.html"] .home-hero-actions {
display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 3vw, 40px);
}
body[data-active="index.html"] .home-primary-btn,
body[data-active="index.html"] .home-secondary-btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(20, 36, 45, 0.72);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
body[data-active="index.html"] .home-primary-btn {
background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 36, 45, 0.16);
}
body[data-active="index.html"] .home-secondary-btn {
background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
}
body[data-active="index.html"] .home-primary-btn:hover,
body[data-active="index.html"] .home-secondary-btn:hover,
body[data-active="index.html"] .home-primary-btn:focus-visible,
body[data-active="index.html"] .home-secondary-btn:focus-visible {
transform: translateY(-2px);
  background: #23333b;
  border-color: #23333b;
  color: #fff;
}
body[data-active="index.html"] .home-affiliation-strip {
display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 3vw, 38px);
}
body[data-active="index.html"] .home-affiliation-strip span {
display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 36, 45, 0.11);
  color: rgba(20, 36, 45, 0.76);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
body[data-active="index.html"] .home-hero-visual {
min-width: 0;
  position: relative;
  min-height: clamp(480px, 43vw, 620px);
}
body[data-active="index.html"] .home-image-card {
margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 36, 45, 0.12);
  box-shadow: 0 28px 70px rgba(20, 36, 45, 0.16);
}
body[data-active="index.html"] .home-image-card img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-active="index.html"] .home-image-card--large {
position: absolute;
  top: 0;
  right: 0;
  width: min(88%, 520px);
  height: clamp(360px, 34vw, 520px);
  border-radius: 34px 34px 8px 34px;
}
body[data-active="index.html"] .home-image-card--small {
position: absolute;
  left: 0;
  bottom: 0;
  width: min(58%, 330px);
  height: clamp(220px, 18vw, 300px);
  border-radius: 26px 8px 26px 26px;
}
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-section,
body[data-active="index.html"] .home-location-section {
padding-inline: var(--pad);
}
body[data-active="index.html"] .home-intro-section {
width: min(1240px, 100%);
  margin: 0 auto;
  padding-top: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(54px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
body[data-active="index.html"] .home-section-heading-block h2 {
margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0.045em;
}
body[data-active="index.html"] .home-section-heading-block--centered {
width: min(900px, 100%);
  margin: 0 auto clamp(30px, 4vw, 52px);
  text-align: center;
}
body[data-active="index.html"] .home-about-card {
min-width: 0;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 36, 45, 0.12);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(20, 36, 45, 0.075);
}
body[data-active="index.html"] .home-about-card p {
margin: 0;
  color: #2f3d43;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.82;
  letter-spacing: 0.045em;
}
body[data-active="index.html"] .home-about-card p + p {
margin-top: 18px;
}
body[data-active="index.html"] .home-pathways-section {
padding-top: clamp(62px, 7vw, 100px);
  padding-bottom: clamp(52px, 7vw, 92px);
}
body[data-active="index.html"] .home-pathways-inner {
width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
body[data-active="index.html"] .home-pathways-grid {
display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body[data-active="index.html"] .home-pathway-card {
min-height: 172px;
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 36, 45, 0.12);
  border-radius: 24px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
body[data-active="index.html"] .home-pathway-card span {
color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
body[data-active="index.html"] .home-pathway-card strong {
color: var(--ink);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.035em;
}
body[data-active="index.html"] .home-pathway-card:hover,
body[data-active="index.html"] .home-pathway-card:focus-visible {
transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 36, 45, 0.24);
  box-shadow: 0 22px 54px rgba(20, 36, 45, 0.1);
}
body[data-active="index.html"] .home-location-section {
padding-top: 0;
  padding-bottom: clamp(72px, 9vw, 126px);
}
body[data-active="index.html"] .home-location-inner {
width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(20, 36, 45, 0.055);
  border: 1px solid rgba(20, 36, 45, 0.1);
  border-radius: 32px;
}
body[data-active="index.html"] .home-location-copy {
padding: clamp(20px, 2.8vw, 34px);
}
body[data-active="index.html"] .home-location-copy h2 {
margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.045em;
}
body[data-active="index.html"] .home-map-wrap {
min-height: 340px;
  overflow: hidden;
  border-radius: 24px;
  background: #e9e7e1;
}
body[data-active="index.html"] .home-map-wrap iframe {
display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}
@media (max-width: 1120px) {
body[data-active="index.html"] .home-hero-inner {
grid-template-columns: 1fr;
}
body[data-active="index.html"] .home-hero-visual {
width: min(780px, 100%);
    margin: 0 auto;
}
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-inner,
body[data-active="index.html"] .home-location-inner {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
body[data-active="patient-resources.html"] .pr-modern-card {
grid-template-rows: auto auto auto 1fr auto;
}
body[data-active="patient-resources.html"] .pr-modern-card h2 {
min-height: 0;
}
body[data-active="index.html"] .home-modern-hero {
padding-top: 38px;
}
body[data-active="index.html"] .home-modern-title {
font-size: clamp(36px, 10.5vw, 56px);
    letter-spacing: 0.04em;
}
body[data-active="index.html"] .home-modern-lede,
body[data-active="index.html"] .home-about-card p {
font-size: 16px;
    line-height: 1.68;
    letter-spacing: 0.035em;
}
body[data-active="index.html"] .home-hero-actions,
body[data-active="index.html"] .home-affiliation-strip {
align-items: stretch;
}
body[data-active="index.html"] .home-primary-btn,
body[data-active="index.html"] .home-secondary-btn {
width: 100%;
}
body[data-active="index.html"] .home-affiliation-strip span {
flex: 1 1 100%;
    justify-content: center;
}
body[data-active="index.html"] .home-hero-visual {
min-height: auto;
    display: grid;
    gap: 16px;
}
body[data-active="index.html"] .home-image-card--large,
body[data-active="index.html"] .home-image-card--small {
position: static;
    width: 100%;
}
body[data-active="index.html"] .home-image-card--large,
body[data-active="index.html"] .home-image-card--small {
height: auto;
    aspect-ratio: 1.34 / 1;
    border-radius: 24px;
}
body[data-active="index.html"] .home-section-heading-block h2,
body[data-active="index.html"] .home-location-copy h2 {
font-size: clamp(28px, 8vw, 38px);
    letter-spacing: 0.035em;
}
body[data-active="index.html"] .home-pathways-grid {
grid-template-columns: 1fr;
}
body[data-active="index.html"] .home-location-inner {
padding: 16px;
    border-radius: 24px;
}
body[data-active="index.html"] .home-location-copy {
padding: 18px 10px 8px;
}
body[data-active="index.html"] .home-map-wrap,
body[data-active="index.html"] .home-map-wrap iframe {
min-height: 300px;
}
}
@media (max-width: 420px) {
body[data-active="index.html"] .home-modern-title {
font-size: clamp(33px, 11vw, 44px);
}
body[data-active="index.html"] .home-pathway-card,
body[data-active="index.html"] .home-about-card {
padding: 22px;
}
}
/* =========================================================
   PATIENT RESOURCES CARD BALANCE FIX v6
   Keeps the three cards consistent while giving longer titles
   enough breathing room on Netlify, desktop, tablet, and mobile.
   ========================================================= */
body[data-active="patient-resources.html"] .pr-modern-section {
padding-inline: var(--pad);
}
body[data-active="patient-resources.html"] .pr-modern-grid {
width: min(1260px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 36px);
  align-items: stretch;
}
body[data-active="patient-resources.html"] .pr-modern-card {
width: 100%;
  min-width: 0;
  height: 100%;
  padding: clamp(34px, 3.1vw, 48px);
  display: grid;
  grid-template-rows: auto minmax(112px, auto) auto 1fr auto;
  align-content: start;
  row-gap: 0;
}
body[data-active="patient-resources.html"] .pr-modern-card h2 {
width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 112px;
  margin: 18px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--ink);
  font-size: clamp(34px, 2.78vw, 46px);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.12;
  text-wrap: balance;
}
body[data-active="patient-resources.html"] .pr-modern-card h2 a {
display: inline-block;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
body[data-active="patient-resources.html"] .pr-modern-card--long-title h2 {
font-size: clamp(32px, 2.55vw, 42px);
  letter-spacing: 0.022em;
  line-height: 1.14;
  max-width: min(100%, 430px);
}
body[data-active="patient-resources.html"] .pr-card-rule {
width: 100%;
  margin: 22px 0 24px;
}
body[data-active="patient-resources.html"] .pr-modern-card p {
align-self: start;
  width: 100%;
}
body[data-active="patient-resources.html"] .pr-card-link {
align-self: start;
  margin-top: 0;
  padding-top: 30px;
}
@media (max-width: 1240px) {
body[data-active="patient-resources.html"] .pr-modern-grid {
width: min(1120px, 100%);
    gap: clamp(18px, 2vw, 28px);
}
body[data-active="patient-resources.html"] .pr-modern-card {
padding: clamp(30px, 2.6vw, 40px);
}
body[data-active="patient-resources.html"] .pr-modern-card h2 {
font-size: clamp(30px, 2.55vw, 40px);
    letter-spacing: 0.03em;
}
body[data-active="patient-resources.html"] .pr-modern-card--long-title h2 {
font-size: clamp(29px, 2.35vw, 37px);
    letter-spacing: 0.018em;
}
}
@media (max-width: 1120px) {
body[data-active="patient-resources.html"] .pr-modern-grid {
grid-template-columns: 1fr;
    width: min(720px, 100%);
}
body[data-active="patient-resources.html"] .pr-modern-card {
grid-template-rows: auto auto auto 1fr auto;
    padding: clamp(30px, 5vw, 42px);
}
body[data-active="patient-resources.html"] .pr-modern-card h2,
body[data-active="patient-resources.html"] .pr-modern-card--long-title h2 {
min-height: 0;
    max-width: 100%;
    font-size: clamp(34px, 6vw, 46px);
    letter-spacing: 0.035em;
    line-height: 1.12;
}
}
@media (max-width: 720px) {
body[data-active="patient-resources.html"] .pr-modern-grid {
width: min(560px, 100%);
}
body[data-active="patient-resources.html"] .pr-modern-card {
padding: 28px;
}
body[data-active="patient-resources.html"] .pr-modern-card h2,
body[data-active="patient-resources.html"] .pr-modern-card--long-title h2 {
font-size: clamp(30px, 8.4vw, 42px);
    letter-spacing: 0.028em;
    line-height: 1.12;
}
}
@media (max-width: 420px) {
body[data-active="patient-resources.html"] .pr-modern-card {
padding: 24px;
}
body[data-active="patient-resources.html"] .pr-modern-card h2,
body[data-active="patient-resources.html"] .pr-modern-card--long-title h2 {
font-size: clamp(27px, 8.8vw, 36px);
    letter-spacing: 0.02em;
    line-height: 1.14;
}
}
/* =========================================================
   FINAL PATCH v7 - Newsletter archive cards + team headshot
   ========================================================= */
/* Keep newsletter cards stable on Netlify and stop cover/text overlap. */
.newsletter-page .newsletter-card-grid {
display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2.4vw, 34px) !important;
  align-items: stretch !important;
}
.newsletter-page .newsletter-card,
.newsletter-page .newsletter-card-button,
.newsletter-page .newsletter-card-body,
.newsletter-page .cover-wrap {
min-width: 0 !important;
  box-sizing: border-box !important;
}
.newsletter-page .newsletter-card-button {
width: 100% !important;
  height: 100% !important;
  min-height: 238px !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: clamp(16px, 1.6vw, 22px) !important;
  padding: clamp(16px, 1.65vw, 24px) !important;
  overflow: hidden !important;
  text-align: left !important;
}
.newsletter-page .cover-wrap {
flex: 0 0 clamp(104px, 7.2vw, 132px) !important;
  width: clamp(104px, 7.2vw, 132px) !important;
  max-width: clamp(104px, 7.2vw, 132px) !important;
  height: auto !important;
  aspect-ratio: 398 / 515 !important;
  display: block !important;
  align-self: stretch !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(20, 36, 45, 0.1) !important;
}
.newsletter-page .cover-wrap img {
width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: top center !important;
}
.newsletter-page .newsletter-card-body {
flex: 1 1 auto !important;
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(7px, 0.8vw, 10px) !important;
  padding: 2px 0 !important;
  overflow: hidden !important;
}
.newsletter-page .issue-title {
display: block !important;
  max-width: 100% !important;
  color: var(--ink) !important;
  font-size: clamp(18px, 1.32vw, 24px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0.035em !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}
.newsletter-page .issue-copy {
display: block !important;
  max-width: 100% !important;
  color: rgba(20, 36, 45, 0.72) !important;
  font-size: clamp(13px, 0.9vw, 15px) !important;
  line-height: 1.5 !important;
  letter-spacing: 0.028em !important;
  overflow-wrap: anywhere !important;
}
.newsletter-page .issue-badges {
margin-top: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: center !important;
}
.newsletter-page .issue-badges span {
white-space: nowrap !important;
}
/* Keep Patient Resources card headings balanced and consistent. */
.patient-resources-page .resource-card,
.patient-resources-page .pr-modern-card {
padding-left: clamp(24px, 3.4vw, 54px) !important;
  padding-right: clamp(24px, 3.4vw, 54px) !important;
}
.patient-resources-page .resource-card h2,
.patient-resources-page .pr-modern-card h2 {
max-width: 100% !important;
  font-size: clamp(36px, 3.1vw, 58px) !important;
  line-height: 1.1 !important;
  letter-spacing: clamp(0.045em, 0.45vw, 0.08em) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
.patient-resources-page .resource-card:nth-child(2) h2,
.patient-resources-page .pr-modern-card:nth-child(2) h2 {
font-size: clamp(34px, 2.75vw, 52px) !important;
  letter-spacing: clamp(0.035em, 0.34vw, 0.062em) !important;
  max-width: 12.5ch !important;
}
/* Make the updated Nandita headshot crop cleanly across devices. */
.team-page .team-roster-card--staff .team-person-photo img[src*="team-nandita-vas-new"] {
object-fit: cover !important;
  object-position: center 24% !important;
}
@media (max-width: 1240px) {
.newsletter-page .newsletter-card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
@media (max-width: 760px) {
.newsletter-page .newsletter-card-grid {
grid-template-columns: 1fr !important;
    width: min(620px, 100%) !important;
    margin-inline: auto !important;
}
.newsletter-page .newsletter-card-button {
min-height: 0 !important;
    gap: 16px !important;
    padding: 16px !important;
}
.newsletter-page .cover-wrap {
flex-basis: 112px !important;
    width: 112px !important;
    max-width: 112px !important;
}
.newsletter-page .issue-title {
font-size: clamp(19px, 5vw, 26px) !important;
    letter-spacing: 0.035em !important;
}
}
@media (max-width: 520px) {
.newsletter-page .newsletter-card-button {
flex-direction: column !important;
}
.newsletter-page .cover-wrap {
width: min(190px, 62vw) !important;
    max-width: min(190px, 62vw) !important;
    flex: 0 0 auto !important;
    align-self: center !important;
}
.newsletter-page .newsletter-card-body {
text-align: left !important;
    overflow: visible !important;
}
.patient-resources-page .resource-card,
.patient-resources-page .pr-modern-card {
padding-left: 24px !important;
    padding-right: 24px !important;
}
.patient-resources-page .resource-card h2,
.patient-resources-page .pr-modern-card h2,
.patient-resources-page .resource-card:nth-child(2) h2,
.patient-resources-page .pr-modern-card:nth-child(2) h2 {
max-width: 100% !important;
    font-size: clamp(30px, 9vw, 40px) !important;
    letter-spacing: 0.045em !important;
}
}
/* =========================================================
   FINAL RESPONSIVE / WINDOWS ZOOM PATCH v8
   Fixes high browser zoom, Windows font metrics, nav wrapping,
   footer wordmark clipping, and accidental horizontal overflow.
   ========================================================= */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
@supports not (overflow: clip) {
html,
body {
overflow-x: hidden;
}
}
main,
section,
header,
footer,
nav,
article,
aside,
figure,
div,
ul,
ol,
li {
max-width: 100%;
}
img,
picture,
video,
canvas,
svg,
iframe,
embed,
object {
max-width: 100%;
}
img,
picture,
video,
canvas,
svg {
height: auto;
}
iframe,
embed,
object {
display: block;
  width: 100%;
}
.site-header {
width: 100%;
  max-width: 100%;
}
.nav-wrap {
width: 100%;
  max-width: 1780px;
  min-width: 0;
  padding-inline: clamp(16px, 3vw, 58px);
  gap: clamp(12px, 1.5vw, 28px);
  box-sizing: border-box;
}
.brand {
flex: 0 0 auto;
  min-width: max-content;
  font-size: clamp(18px, 1.18vw, 23px);
  line-height: 1.15;
}
.primary-nav {
flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
.nav-list {
min-width: 0;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(12px, 1.35vw, 32px);
}
.nav-list li {
min-width: 0;
  flex: 0 1 auto;
}
.nav-list a {
font-size: clamp(14px, 0.98vw, 19px);
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.patient-dropdown {
max-width: min(330px, calc(100vw - 32px));
}
.patient-dropdown a {
white-space: normal;
}
.nav-submenu-toggle {
display: none;
}
.nav-submenu-toggle[hidden] {
display: none;
}
@media (max-width: 1380px) {
.nav-wrap {
padding-inline: clamp(16px, 2.4vw, 42px);
    gap: clamp(10px, 1.2vw, 20px);
}
.nav-list {
gap: clamp(10px, 1.05vw, 22px);
}
.nav-list a {
font-size: clamp(13.5px, 0.94vw, 17px);
}
}
@media (max-width: 1200px) {
.nav-wrap {
padding-inline: clamp(14px, 2vw, 28px);
}
.nav-list {
gap: clamp(8px, 0.85vw, 16px);
}
.nav-list a {
font-size: clamp(13px, 0.9vw, 15.5px);
}
}
/* Switch earlier than the original mobile breakpoint so Windows 150% zoom never creates a cramped two-line desktop nav. */
@media (max-width: 1100px) {
:root {
--nav-height: 70px;
}
body.nav-open .site-header {
position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background: var(--color-page-bg);
    backdrop-filter: none;
}
.nav-wrap {
min-height: var(--nav-height);
    padding-inline: clamp(18px, 4vw, 30px);
}
.brand {
min-width: 0;
    max-width: calc(100% - 58px);
    overflow-wrap: anywhere;
}
.nav-toggle {
display: block;
    flex: 0 0 auto;
}
.primary-nav {
position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    background: var(--color-page-bg);
    padding: 24px var(--pad) 40px;
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
}
.primary-nav::-webkit-scrollbar {
width: 0;
    height: 0;
}
.nav-open .primary-nav {
opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-list {
width: min(610px, 100%);
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
}
.nav-list li {
width: 100%;
}
.nav-list a {
padding: 17px 0;
    border-bottom: 1px solid rgba(20, 36, 45, 0.18);
    text-align: center;
    font-size: clamp(18px, 4.4vw, 21px);
    white-space: normal;
}
.nav-list a.active,
.nav-list a[aria-current="page"] {
color: var(--color-accent-dark);
    opacity: 1;
}
.nav-item {
width: 100%;
}
.has-dropdown {
display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    border-bottom: 1px solid rgba(20, 36, 45, 0.18);
}
.has-dropdown::after {
display: none;
}
.has-dropdown > .nav-parent {
grid-column: 2;
    grid-row: 1;
    border-bottom: 0;
}
.nav-submenu-toggle {
grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-submenu-toggle::after {
content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
}
.nav-submenu-toggle[aria-expanded="true"]::after {
transform: translateY(2px) rotate(225deg);
}
.patient-dropdown {
position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    grid-column: 1 / -1;
    padding: 8px 12px;
    background: var(--color-surface-soft);
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.patient-dropdown::before {
display: none;
}
.has-dropdown:hover .patient-dropdown,
.has-dropdown:focus-within .patient-dropdown {
transform: none;
}
.patient-dropdown a {
padding: 14px 18px;
    font-size: clamp(14px, 3.6vw, 16px);
    text-align: left;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(20, 36, 45, 0.12);
    opacity: 0.78;
}
}
/* Make all large titles scale and wrap cleanly under browser zoom. */
.page-title,
.hero-title,
.pr-modern-title,
.org-modern-title,
.newsletter-hero .page-title,
.webinars-hero .page-title,
.team-title,
.funding-title,
body[data-active="index.html"] .home-modern-title,
body[data-active="index.html"] .home-section-heading-block h2 {
max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}
body[data-active="index.html"] .home-modern-hero {
padding: clamp(36px, 5.4vw, 92px) var(--pad) clamp(48px, 6.2vw, 96px);
  overflow: clip;
}
body[data-active="index.html"] .home-modern-hero::before {
right: max(-18vw, -220px);
  bottom: max(-22vw, -260px);
  max-width: 100%;
}
body[data-active="index.html"] .home-hero-inner,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-inner,
body[data-active="index.html"] .home-location-inner {
width: min(1240px, 100%);
  max-width: 100%;
  min-width: 0;
}
body[data-active="index.html"] .home-hero-inner {
grid-template-columns: minmax(0, 1.02fr) minmax(min(340px, 100%), 0.88fr);
  gap: clamp(28px, 4.4vw, 70px);
}
body[data-active="index.html"] .home-hero-copy,
body[data-active="index.html"] .home-hero-visual,
body[data-active="index.html"] .home-location-copy,
body[data-active="index.html"] .home-map-wrap,
body[data-active="index.html"] .home-about-card,
body[data-active="index.html"] .home-pathways-grid {
min-width: 0;
}
body[data-active="index.html"] .home-modern-title {
max-width: 14ch;
  font-size: clamp(40px, 4.85vw, 76px);
  line-height: 1.04;
  letter-spacing: clamp(0.015em, 0.28vw, 0.06em);
}
body[data-active="index.html"] .home-modern-lede {
max-width: 68ch;
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.72;
  letter-spacing: 0.035em;
}
body[data-active="index.html"] .home-primary-btn,
body[data-active="index.html"] .home-secondary-btn,
body[data-active="index.html"] .home-affiliation-strip span {
min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
body[data-active="index.html"] .home-map-wrap iframe {
width: 100%;
  max-width: 100%;
}
@media (max-width: 1180px) {
body[data-active="index.html"] .home-hero-inner,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-inner,
body[data-active="index.html"] .home-location-inner {
grid-template-columns: 1fr;
}
body[data-active="index.html"] .home-hero-visual {
width: min(780px, 100%);
    margin: 0 auto;
}
}
@media (max-width: 720px) {
body[data-active="index.html"] .home-modern-title {
max-width: 100%;
    font-size: clamp(36px, 10.2vw, 54px);
    letter-spacing: 0.035em;
}
body[data-active="index.html"] .home-modern-lede {
font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.025em;
}
}
/* Footer wordmark: no fixed oversized line that can be clipped at Windows 150% zoom. */
.site-footer {
width: 100%;
  max-width: 100%;
  padding-inline: clamp(14px, 3vw, 48px);
  overflow: visible;
}
.footer-wordmark {
width: 100%;
  max-width: 100%;
  inline-size: 100%;
  max-inline-size: 100%;
  margin-inline: auto;
  overflow: visible;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: keep-all;
  font-size: clamp(40px, 9.35vw, 166px);
  line-height: 0.9;
  letter-spacing: clamp(-0.045em, 0.035vw, 0.002em);
}
@media (max-width: 900px) {
.footer-wordmark {
font-size: clamp(42px, 13vw, 112px);
    line-height: 0.92;
    letter-spacing: -0.025em;
}
}
@media (max-width: 520px) {
.footer-wordmark {
font-size: clamp(34px, 15.8vw, 64px);
    line-height: 0.96;
    letter-spacing: -0.015em;
}
}
/* Safer fluid page containers used by multiple pages. */
.section-inner,
.title-block,
.pr-modern-hero,
.pr-modern-section,
.org-modern-hero,
.org-modern-section,
.newsletter-hero,
.newsletter-archive,
.webinars-hero,
.webinars-section,
.team-hero,
.team-section,
.publications-hero,
.events-hero,
.funding-hero,
.sponsor-section {
max-width: 100%;
  min-width: 0;
}
/* Newsletter cards also need to hold up when zoomed on Windows. */
.newsletter-page .newsletter-card-grid,
.newsletter-page .newsletter-card,
.newsletter-page .newsletter-card-button,
.newsletter-page .newsletter-card-body,
.newsletter-page .cover-wrap {
max-width: 100% !important;
  min-width: 0 !important;
}
.newsletter-page .newsletter-card-button {
gap: clamp(14px, 1.35vw, 22px) !important;
}
.newsletter-page .issue-title,
.newsletter-page .issue-copy {
max-width: 100% !important;
  overflow-wrap: anywhere !important;
}
/* Patient Resources card balance kept from v6, with extra zoom safety. */
body[data-active="patient-resources.html"] .pr-modern-grid {
max-width: 100%;
}
body[data-active="patient-resources.html"] .pr-modern-card {
min-width: 0;
  overflow: visible;
}
body[data-active="patient-resources.html"] .pr-modern-card h2,
body[data-active="patient-resources.html"] .pr-modern-card h2 a {
min-width: 0;
  max-width: 100%;
  text-wrap: balance;
}
body[data-active="patient-resources.html"] .pr-modern-card--long-title h2 {
max-width: min(100%, 13.5ch) !important;
  font-size: clamp(30px, 2.42vw, 40px) !important;
  letter-spacing: 0.018em !important;
  line-height: 1.14 !important;
}
@media (max-width: 1120px) {
body[data-active="patient-resources.html"] .pr-modern-card--long-title h2 {
max-width: 100% !important;
    font-size: clamp(34px, 6vw, 46px) !important;
    letter-spacing: 0.032em !important;
}
}
/* =========================================================
   HOMEPAGE CLEANUP v9
   Changes only affect index.html:
   - Removed hero eyebrow in HTML
   - Removed hero three-item list card in HTML
   - Removed Research Focus section in HTML
   - Removed visible street address line in HTML
   - Made both hero buttons use the same outlined pill style
   ========================================================= */
body[data-active="index.html"] .home-modern-hero {
padding-top: clamp(52px, 7vw, 112px);
  padding-bottom: clamp(52px, 6.5vw, 102px);
}
body[data-active="index.html"] .home-hero-inner {
align-items: center;
}
body[data-active="index.html"] .home-modern-title {
margin-top: 0;
}
body[data-active="index.html"] .home-hero-actions {
margin-top: clamp(24px, 2.8vw, 38px);
}
body[data-active="index.html"] .home-primary-btn,
body[data-active="index.html"] .home-secondary-btn {
min-height: 46px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  border: 1px solid rgba(20, 36, 45, 0.72);
  border-radius: 999px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
body[data-active="index.html"] .home-primary-btn:hover,
body[data-active="index.html"] .home-secondary-btn:hover,
body[data-active="index.html"] .home-primary-btn:focus-visible,
body[data-active="index.html"] .home-secondary-btn:focus-visible {
transform: translateY(-2px);
  background: #23333b;
  border-color: #23333b;
  color: #fff;
}
body[data-active="index.html"] .home-intro-section {
padding-bottom: clamp(48px, 6vw, 82px);
}
body[data-active="index.html"] .home-pathways-section {
padding-top: clamp(54px, 6.5vw, 92px);
}
body[data-active="index.html"] .home-location-copy p:not(.home-kicker) {
margin: 18px 0 0;
  color: #334349;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.72;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
body[data-active="index.html"] .home-modern-hero {
padding-top: 42px;
}
}

/* =========================================================
   HOMEPAGE DESKTOP ZOOM PATCH v10
   Keeps the homepage hero cohesive on desktop browsers at
   roughly 150%+ zoom without changing the wide 100% desktop view.
   ========================================================= */
@media (min-width: 820px) and (max-width: 1180px) {
body[data-active="index.html"] .home-modern-hero {
padding-top: clamp(40px, 5vw, 66px);
    padding-bottom: clamp(42px, 5.2vw, 70px);
}
body[data-active="index.html"] .home-hero-inner {
grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
}
body[data-active="index.html"] .home-modern-title {
max-width: 13.5ch;
    font-size: clamp(38px, 4.75vw, 56px);
    line-height: 1.04;
    letter-spacing: clamp(0.012em, 0.2vw, 0.038em);
}
body[data-active="index.html"] .home-modern-lede {
max-width: 58ch;
    margin-top: clamp(14px, 1.8vw, 20px);
    font-size: clamp(15px, 1.55vw, 17px);
    line-height: 1.58;
    letter-spacing: 0.025em;
}
body[data-active="index.html"] .home-hero-actions {
gap: 10px;
    margin-top: clamp(18px, 2.2vw, 26px);
}
body[data-active="index.html"] .home-primary-btn,
body[data-active="index.html"] .home-secondary-btn {
min-height: 42px;
    padding: 10px 16px;
    font-size: 12.5px;
    letter-spacing: 0.1em;
}
body[data-active="index.html"] .home-affiliation-strip {
gap: 8px;
    margin-top: clamp(18px, 2.2vw, 26px);
}
body[data-active="index.html"] .home-affiliation-strip span {
min-height: 30px;
    padding: 7px 10px;
    font-size: 11px;
    letter-spacing: 0.06em;
}
body[data-active="index.html"] .home-hero-visual {
width: 100%;
    min-height: clamp(326px, 37vw, 430px);
    margin: 0;
}
body[data-active="index.html"] .home-image-card--large {
width: min(88%, 390px);
    height: clamp(250px, 30vw, 350px);
    border-radius: 28px 28px 8px 28px;
}
body[data-active="index.html"] .home-image-card--small {
width: min(56%, 238px);
    height: clamp(152px, 16.5vw, 210px);
    border-radius: 22px 8px 22px 22px;
}
body[data-active="index.html"] .home-pathways-section {
padding-top: clamp(42px, 5vw, 66px);
    padding-bottom: clamp(42px, 5.4vw, 70px);
}
body[data-active="index.html"] .home-pathways-inner {
grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 34px);
}
body[data-active="index.html"] .home-section-heading-block h2 {
font-size: clamp(26px, 3.15vw, 36px);
    line-height: 1.12;
    letter-spacing: 0.035em;
}
body[data-active="index.html"] .home-pathways-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body[data-active="index.html"] .home-pathway-card {
min-height: 132px;
    padding: clamp(16px, 1.8vw, 22px);
    gap: 12px;
    border-radius: 20px;
}
body[data-active="index.html"] .home-pathway-card span {
font-size: 11px;
    letter-spacing: 0.12em;
}
body[data-active="index.html"] .home-pathway-card strong {
font-size: clamp(15px, 1.45vw, 17px);
    line-height: 1.38;
    letter-spacing: 0.025em;
}
}

/* =========================================================
   FONT SIZE TUNING v11
   Enlarges the header/navigation text and homepage hero title
   while preserving the zoom-responsive layout from v10.
   ========================================================= */
.brand {
font-size: clamp(22px, 1.42vw, 27px);
}
.nav-list a {
font-size: clamp(17px, 1.06vw, 21px);
}
@media (max-width: 1380px) {
.brand {
font-size: clamp(20px, 1.34vw, 24px);
}
.nav-list a {
font-size: clamp(15.5px, 0.98vw, 18px);
}
}
@media (max-width: 1200px) {
.brand {
font-size: clamp(19px, 1.26vw, 23px);
}
.nav-list a {
font-size: clamp(14.5px, 0.92vw, 16.5px);
}
}
@media (max-width: 1100px) {
.brand {
font-size: clamp(20px, 4.2vw, 24px);
}
.nav-list a {
font-size: clamp(18px, 4.4vw, 21px);
}
}
@media (min-width: 721px) {
body[data-active="index.html"] .home-modern-title {
font-size: clamp(50px, 5.9vw, 94px);
    line-height: 1.02;
    letter-spacing: clamp(0.012em, 0.26vw, 0.052em);
}
}
@media (min-width: 820px) and (max-width: 1180px) {
body[data-active="index.html"] .home-modern-title {
font-size: clamp(44px, 5.2vw, 64px);
    line-height: 1.03;
}
}

/* =========================================================
   HOMEPAGE TEXT CONTRAST v12
   Darkens and enlarges the hero paragraph and affiliation pills.
   ========================================================= */
body[data-active="index.html"] .home-modern-lede {
color: #18252c;
  font-size: clamp(19px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.04em;
}
body[data-active="index.html"] .home-affiliation-strip span {
color: #1a272e;
  font-size: clamp(13.5px, 0.92vw, 16px);
  font-weight: 900;
  letter-spacing: 0.095em;
}
@media (min-width: 820px) and (max-width: 1180px) {
body[data-active="index.html"] .home-modern-lede {
font-size: clamp(17px, 1.75vw, 19px);
    line-height: 1.62;
    letter-spacing: 0.032em;
}
body[data-active="index.html"] .home-affiliation-strip span {
font-size: clamp(12px, 1.18vw, 13.5px);
    letter-spacing: 0.075em;
}
}
@media (max-width: 720px) {
body[data-active="index.html"] .home-modern-lede {
font-size: 17px;
    line-height: 1.66;
    letter-spacing: 0.028em;
}
body[data-active="index.html"] .home-affiliation-strip span {
font-size: 13px;
}
}

/* =========================================================
   HOMEPAGE SECTION ALIGNMENT v13
   Uses one shared outer content margin for all homepage sections.
   ========================================================= */
body[data-active="index.html"] .home-modern-hero,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-section,
body[data-active="index.html"] .home-location-section {
padding-left: 0;
  padding-right: 0;
}
body[data-active="index.html"] .home-hero-inner,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-inner,
body[data-active="index.html"] .home-location-inner {
width: min(1240px, calc(100% - (var(--pad) * 2)));
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
body[data-active="index.html"] .home-hero-inner,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-inner,
body[data-active="index.html"] .home-location-inner {
width: min(100% - 36px, 620px);
}
}

/* =========================================================
   HOMEPAGE ABOUT TEXT WEIGHT v14
   Makes the About section body copy slightly thicker.
   ========================================================= */
body[data-active="index.html"] .home-about-card p {
font-weight: 500;
}

/* =========================================================
   FINAL RESPONSIVE TYPOGRAPHY + CONTAINER PASS v15
   Shared spacing, homepage type tuning, card label balance,
   and high-zoom desktop safeguards across the site.
   ========================================================= */
:root {
  --page-max-width: 1280px;
  --page-padding-desktop: clamp(24px, 3.15vw, 54px);
  --page-padding-tablet: clamp(20px, 4vw, 38px);
  --page-padding-mobile: 18px;
  --max: var(--page-max-width);
  --pad: var(--page-padding-desktop);
}

@media (max-width: 900px) {
  :root {
    --pad: var(--page-padding-tablet);
  }
}

@media (max-width: 560px) {
  :root {
    --pad: var(--page-padding-mobile);
  }
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

.section-inner,
.title-block,
.home-hero-inner,
.home-intro-section,
.home-pathways-inner,
.home-location-inner,
.publications-inner,
.events-inner,
.team-hero-inner,
.team-section-heading,
.team-card-grid,
.pr-modern-grid,
.org-modern-inner,
.newsletter-hero-inner,
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section,
.webinars-hero-inner,
.webinar-feature-inner,
.webinar-library-inner,
.funding-title-block,
.sponsor-inner {
  max-width: var(--page-max-width);
  min-width: 0;
}

.section-inner,
.title-block {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
}

.nav-wrap {
  width: min(100%, var(--page-max-width));
  padding-inline: var(--pad);
  gap: clamp(12px, 1.35vw, 24px);
}

.brand {
  font-size: clamp(22px, 1.34vw, 26px);
  line-height: 1.12;
}

.nav-list {
  gap: clamp(12px, 1.12vw, 25px);
}

.nav-list a {
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.18;
  font-weight: 600;
}

@media (max-width: 1380px) {
  .brand {
    font-size: clamp(20px, 1.24vw, 24px);
  }

  .nav-list {
    gap: clamp(9px, 0.82vw, 16px);
  }

  .nav-list a {
    font-size: clamp(14.5px, 0.92vw, 16.5px);
  }
}

@media (max-width: 1100px) {
  .brand {
    font-size: clamp(20px, 4.2vw, 24px);
  }

  .nav-list a {
    font-size: clamp(18px, 4.4vw, 21px);
  }
}

body[data-active="index.html"] .home-modern-hero,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-section,
body[data-active="index.html"] .home-location-section {
  padding-left: 0;
  padding-right: 0;
}

body[data-active="index.html"] .home-hero-inner,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-inner,
body[data-active="index.html"] .home-location-inner {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

body[data-active="index.html"] .home-modern-title {
  max-width: 14ch;
  font-size: clamp(52px, 5.45vw, 90px);
  line-height: 1.02;
  letter-spacing: clamp(0.012em, 0.22vw, 0.05em);
}

body[data-active="index.html"] .home-modern-lede,
body[data-active="index.html"] .home-about-card p {
  font-weight: 500;
}

body[data-active="index.html"] .home-kicker {
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.3;
}

body[data-active="index.html"] .home-pathway-card {
  min-height: 176px;
  gap: 16px;
  padding: clamp(24px, 2.35vw, 32px);
}

body[data-active="index.html"] .home-pathway-card span {
  color: var(--color-accent);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.35;
  letter-spacing: 0.14em;
}

body[data-active="index.html"] .home-pathway-card strong {
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.43;
}

.research-focus-section,
.research-details-section,
.publications-hero,
.publications-section,
.events-hero,
.team-hero,
.team-feature,
.team-section,
.pr-modern-hero,
.pr-modern-section,
.org-modern-hero,
.org-modern-section,
.newsletter-hero,
.webinars-hero,
.webinar-feature,
.webinar-library,
.resource-back-section,
.funding-hero,
.sponsor-section {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.publications-inner,
.events-inner,
.team-feature-card,
.team-card-grid,
.past-students-card,
.pr-modern-grid,
.org-modern-inner,
.newsletter-hero-inner,
.webinar-feature-inner,
.webinar-library-inner,
.funding-title-block,
.sponsor-inner {
  width: min(var(--page-max-width), 100%);
  margin-inline: auto;
}

.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
}

.page-title,
.hero-title,
.publications-title,
.events-title,
.team-page-title,
.funding-title,
.pr-modern-title,
.org-modern-title,
.newsletter-hero .page-title,
.webinars-hero .page-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

@media (min-width: 820px) and (max-width: 1180px) {
  body[data-active="index.html"] .home-modern-title {
    font-size: clamp(42px, 4.75vw, 58px);
    line-height: 1.03;
  }

  body[data-active="index.html"] .home-pathway-card {
    min-height: 146px;
    padding: clamp(18px, 1.8vw, 24px);
  }

  body[data-active="index.html"] .home-pathway-card span {
    font-size: clamp(14.5px, 1.35vw, 16px);
    letter-spacing: 0.12em;
  }
}

@media (max-width: 720px) {
  body[data-active="index.html"] .home-hero-inner,
  body[data-active="index.html"] .home-intro-section,
  body[data-active="index.html"] .home-pathways-inner,
  body[data-active="index.html"] .home-location-inner {
    width: min(100% - (var(--pad) * 2), 620px);
  }

  body[data-active="index.html"] .home-modern-title {
    max-width: 100%;
    font-size: clamp(36px, 10.2vw, 54px);
  }

  body[data-active="index.html"] .home-kicker {
    font-size: 14px;
  }

  body[data-active="index.html"] .home-pathway-card {
    min-height: 136px;
  }

  body[data-active="index.html"] .home-pathway-card span {
    font-size: 16px;
  }

  .newsletter-feature-section,
  .newsletter-library-section,
  .newsletter-access-section {
    width: min(100%, calc(100% - (var(--pad) * 2)));
  }
}

@media (max-width: 430px) {
  body[data-active="index.html"] .home-pathway-card {
    min-height: 188px;
  }
}

/* =========================================================
   SITE ALIGNMENT + PAGE TITLE CONSISTENCY v16
   Aligns the header with the shared page container and makes
   page titles follow the Research Focus title style.
   ========================================================= */
:root {
  --page-max-width: 1340px;
  --page-padding-desktop: clamp(20px, 2.4vw, 42px);
  --page-padding-tablet: clamp(18px, 3.2vw, 32px);
  --page-padding-mobile: 18px;
  --title-top-space: clamp(42px, 6vw, 82px);
  --title-bottom-space: clamp(24px, 4vw, 48px);
  --title-size: clamp(38px, 4.2vw, 62px);
}

.nav-wrap,
.section-inner,
.title-block,
body[data-active="index.html"] .home-hero-inner,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-inner,
body[data-active="index.html"] .home-location-inner,
.research-focus-inner,
.research-details-inner,
.pr-modern-hero,
.pr-modern-section,
.org-modern-hero,
.org-modern-section,
.newsletter-hero-inner,
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section,
.webinars-hero-inner,
.webinar-feature-inner,
.webinar-library-inner,
.publications-inner,
.events-inner,
.team-hero-inner,
.team-feature-card,
.team-section,
.funding-title-block,
.sponsor-inner {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.nav-wrap {
  max-width: none;
  padding-inline: 0;
  gap: clamp(14px, 1.45vw, 26px);
}

.brand {
  font-size: clamp(22px, 1.36vw, 27px);
}

.nav-list {
  gap: clamp(10px, 1.12vw, 24px);
}

.nav-list a {
  font-size: clamp(16.25px, 1.02vw, 20px);
}

.patient-dropdown a {
  font-size: clamp(14px, 0.86vw, 15.5px);
}

body[data-active="index.html"] .home-modern-hero,
body[data-active="index.html"] .home-intro-section,
body[data-active="index.html"] .home-pathways-section,
body[data-active="index.html"] .home-location-section,
.research-focus-section,
.research-details-section,
.pr-modern-hero,
.pr-modern-section,
.org-modern-hero,
.org-modern-section,
.newsletter-hero,
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section,
.webinars-hero,
.webinar-feature,
.webinar-library,
.publications-hero,
.publications-section,
.events-hero,
.team-hero,
.team-feature,
.team-section,
.funding-hero,
.sponsor-section {
  padding-left: 0;
  padding-right: 0;
}

.research-focus-section,
.pr-modern-hero,
.org-modern-hero,
.newsletter-hero,
.webinars-hero,
.publications-hero,
.events-hero,
.team-hero,
.funding-hero {
  padding-top: var(--title-top-space);
  padding-bottom: var(--title-bottom-space);
  text-align: center;
}

.research-page-title,
.pr-modern-title,
.org-modern-title,
.newsletter-hero .page-title,
.webinars-hero .page-title,
.publications-title,
.events-title,
.team-page-title,
.funding-title {
  margin: 0 0 clamp(30px, 4vw, 48px);
  max-width: 100%;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--title-size);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: normal;
}

.research-page-title::after,
.pr-modern-title::after,
.org-modern-title::after,
.newsletter-hero .page-title::after,
.webinars-hero .page-title::after,
.publications-title::after,
.events-title::after,
.team-page-title::after,
.funding-title::after {
  content: "";
  display: block;
  width: 38px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--line);
  opacity: 0.85;
}

.small-title-rule,
.events-title-rule,
.funding-rule,
.funding-title-rule {
  display: none;
}

.pr-modern-intro,
.org-modern-intro,
.newsletter-intro,
.webinars-intro,
.team-tagline {
  margin-top: 0;
}

@media (max-width: 1380px) {
  .brand {
    font-size: clamp(21px, 1.34vw, 25px);
  }

  .nav-list {
    gap: clamp(9px, 0.92vw, 18px);
  }

  .nav-list a {
    font-size: clamp(15.75px, 0.98vw, 18px);
  }
}

@media (max-width: 1200px) {
  .brand {
    font-size: clamp(20px, 1.24vw, 23px);
  }

  .nav-list {
    gap: clamp(8px, 0.72vw, 13px);
  }

  .nav-list a {
    font-size: clamp(14.75px, 0.9vw, 16.5px);
  }
}

@media (max-width: 1100px) {
  .nav-wrap {
    width: auto;
    margin-left: max(var(--pad), env(safe-area-inset-left));
    margin-right: max(var(--pad), env(safe-area-inset-right));
  }

  .brand {
    font-size: clamp(20px, 4.2vw, 24px);
  }

  .primary-nav {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
  }

  .nav-list a {
    font-size: clamp(18px, 4.4vw, 21px);
  }
}

@media (max-width: 560px) {
  :root {
    --title-size: clamp(34px, 9.4vw, 44px);
    --title-top-space: 38px;
    --title-bottom-space: 26px;
  }

  .research-page-title,
  .pr-modern-title,
  .org-modern-title,
  .newsletter-hero .page-title,
  .webinars-hero .page-title,
  .publications-title,
  .events-title,
  .team-page-title,
  .funding-title {
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   RESEARCH FOCUS + COLLABORATOR ICON DIRECTORY v24
   Polishes research headings and keeps collaborators compact with city icons.
   ========================================================= */
body[data-active="research.html"] .research-page-title {
  margin-bottom: clamp(48px, 4vw, 68px);
}

body[data-active="research.html"] .research-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px);
  align-items: stretch;
}

body[data-active="research.html"] .research-card-item {
  display: flex;
  flex-direction: column;
}

body[data-active="research.html"] .research-card-title {
  min-height: clamp(112px, 8vw, 130px);
  margin: 0;
  margin-bottom: clamp(14px, 1.4vw, 20px);
  padding-block: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #26343a;
  font-size: clamp(21px, 1.6vw, 26px);
  font-weight: 800;
  letter-spacing: 0.018em;
  line-height: 1.22;
  text-align: center;
  text-wrap: balance;
}

body[data-active="research.html"] .research-card-media {
  aspect-ratio: auto;
  margin-bottom: clamp(16px, 1.5vw, 20px);
  background: transparent;
  overflow: visible;
}

body[data-active="research.html"] .research-card-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

body[data-active="research.html"] .research-card-media img[src$="research-womens-health.png"] {
  object-fit: contain;
}

body[data-active="research.html"] .research-card-text {
  margin-bottom: clamp(16px, 1.7vw, 20px);
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.62;
  letter-spacing: 0.04em;
}

body[data-active="research.html"] .research-read-more {
  margin-top: auto;
}

body[data-active="research.html"] .research-details-section {
  padding-top: clamp(32px, 5vw, 68px);
}

body[data-active="research.html"] .research-detail {
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.38fr);
  gap: clamp(28px, 4.4vw, 58px);
  padding: clamp(34px, 5vw, 62px) 0;
}

body[data-active="research.html"] .research-detail-media {
  background: transparent;
}

body[data-active="research.html"] .research-detail-media img {
  width: 100%;
  height: auto;
  object-position: center;
}

body[data-active="research.html"] .research-detail-media img[src$="research-womens-health.png"] {
  aspect-ratio: 1.12 / 1;
  height: auto;
  object-fit: cover;
}

body[data-active="research.html"] .research-detail-copy h3 {
  margin-bottom: clamp(16px, 1.8vw, 22px);
  font-size: clamp(24px, 2.08vw, 34px);
  line-height: 1.18;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

body[data-active="research.html"] .research-detail-copy p {
  max-width: 760px;
  margin-bottom: 18px;
  line-height: 1.72;
  letter-spacing: 0.035em;
}

body[data-active="research.html"] #canoptics-study .collaborators {
  width: 100%;
  max-width: 780px;
  min-width: 0;
  margin: clamp(16px, 2vw, 22px) 0 0;
  padding: clamp(14px, 1.7vw, 20px);
  border: 1px solid rgba(20, 36, 45, 0.18);
  background: rgba(255, 255, 255, 0.34);
}

body[data-active="research.html"] #canoptics-study .collaborators h2 {
  scroll-margin-top: calc(var(--nav-height) + 20px);
  margin: 0 0 clamp(10px, 1.15vw, 14px);
  color: var(--ink);
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: left;
  text-wrap: balance;
}

body[data-active="research.html"] #canoptics-study .collaborators-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 28px);
  row-gap: clamp(10px, 1.2vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-active="research.html"] #canoptics-study .collaborator-item {
  display: grid;
  grid-template-columns: clamp(36px, 3.4vw, 44px) minmax(0, 1fr);
  gap: clamp(9px, 1.1vw, 12px);
  align-items: center;
  min-width: 0;
  padding: clamp(4px, 0.7vw, 7px) 0;
  color: #26343a;
  font-size: clamp(14.5px, 1vw, 16.5px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

body[data-active="research.html"] #canoptics-study .collaborator-item::before {
  content: none;
}

body[data-active="research.html"] #canoptics-study .collaborator-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 3.4vw, 44px);
  height: clamp(36px, 3.4vw, 44px);
  border-radius: 50%;
  color: #26343a;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(20, 36, 45, 0.08);
}

body[data-active="research.html"] #canoptics-study .collaborator-icon svg {
  display: block;
  width: 68%;
  height: 68%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body[data-active="research.html"] #canoptics-study .collaborator-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body[data-active="research.html"] #canoptics-study .collaborator-name {
  display: block;
  color: var(--ink);
  font-size: clamp(14.5px, 1vw, 16.5px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

body[data-active="research.html"] #canoptics-study .collaborator-location {
  display: block;
  color: #4c575c;
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

body[data-active="research.html"] #canoptics-study .collaborators + .back-link {
  margin-top: clamp(14px, 1.7vw, 20px);
}

@media (max-width: 900px) {
  body[data-active="research.html"] .research-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 44px);
  }

  body[data-active="research.html"] .research-card-item:last-child {
    max-width: 560px;
  }

  body[data-active="research.html"] .research-card-title {
    min-height: 0;
  }

  body[data-active="research.html"] .research-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body[data-active="research.html"] .research-detail-media {
    max-width: 560px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  body[data-active="research.html"] .research-card-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  body[data-active="research.html"] .research-card-title {
    font-size: clamp(20px, 5.6vw, 23px);
    line-height: 1.24;
  }

  body[data-active="research.html"] .research-detail {
    padding: 32px 0;
  }

  body[data-active="research.html"] .research-detail-copy h3 {
    font-size: clamp(23px, 6.4vw, 31px);
  }

  body[data-active="research.html"] #canoptics-study .collaborators-list {
    grid-template-columns: 1fr;
  }

  body[data-active="research.html"] #canoptics-study .collaborator-item {
    grid-template-columns: clamp(34px, 10vw, 40px) minmax(0, 1fr);
  }

  body[data-active="research.html"] #canoptics-study .collaborator-icon {
    width: clamp(34px, 10vw, 40px);
    height: clamp(34px, 10vw, 40px);
  }
}

.pr-modern-hero--compact {
  padding-bottom: clamp(10px, 1.8vw, 22px);
}

.pr-modern-hero--compact .pr-modern-title {
  margin-bottom: 0;
}

.pr-modern-hero--compact + .pr-modern-section {
  padding-top: clamp(18px, 2.5vw, 34px);
}

body[data-active="funding-and-sponsors.html"] .funding-intro {
  margin-top: 0;
}

@media (max-width: 900px) {
  body[data-active="research.html"] .research-card-title {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body[data-active="research.html"] .research-card-title {
    font-size: clamp(20px, 5.6vw, 22px);
  }
}

/* =========================================================
   GLOBAL CREAM + PATIENT RESOURCES CARD UPDATE v25
   Warms the site background and locks Patient Resources titles to two lines.
   ========================================================= */
body,
main {
  background: var(--color-page-bg);
}

.pr-modern-page,
.org-modern-page,
.newsletter-page,
.events-page,
.team-page,
.funding-page,
.resource-detail-page {
  background: var(--color-page-bg);
}

.research-focus-section,
.research-details-section,
.pr-modern-hero,
.pr-modern-section,
.org-modern-hero,
.org-modern-section,
.newsletter-hero,
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section,
.webinars-hero,
.webinar-feature,
.webinar-library,
.publications-hero,
.publications-section,
.events-hero,
.team-hero,
.team-feature,
.team-section,
.funding-hero,
.sponsor-section {
  background-color: var(--color-page-bg);
}

.site-header {
  background: rgba(251, 243, 232, 0.96);
}

.patient-dropdown {
  background: rgba(255, 252, 247, 0.98);
}

body[data-active="patient-resources.html"] .pr-modern-page {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.54), transparent 28%),
    linear-gradient(180deg, var(--color-page-bg) 0%, var(--cream-2) 48%, var(--color-page-bg) 100%);
}

body[data-active="patient-resources.html"] .pr-modern-section {
  padding-top: clamp(18px, 2.5vw, 34px);
}

body[data-active="patient-resources.html"] .pr-modern-grid {
  width: min(1260px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 36px);
  align-items: stretch;
}

body[data-active="patient-resources.html"] .pr-modern-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 100%;
  padding: clamp(32px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.7);
}

body[data-active="patient-resources.html"] .pr-card-number {
  color: var(--color-accent);
  font-size: clamp(0.95rem, 0.9vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
}

body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
  width: 100%;
  min-width: 0;
  min-height: clamp(54px, 4.8vw, 64px);
  margin: 18px 0 0;
  padding-block: 3px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.55vw, 1.52rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title a {
  display: block;
  max-width: 100%;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title span {
  display: block;
}

body[data-active="patient-resources.html"] .pr-card-rule {
  width: 100%;
  margin: 22px 0 24px;
}

body[data-active="patient-resources.html"] .pr-modern-card p {
  width: 100%;
  margin: 0;
  color: #334349;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.68;
  letter-spacing: 0.034em;
}

body[data-active="patient-resources.html"] .pr-card-link {
  margin-top: auto;
  padding-top: clamp(24px, 2.2vw, 30px);
}

@media (max-width: 1120px) {
  body[data-active="patient-resources.html"] .pr-modern-grid {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
  }

  body[data-active="patient-resources.html"] .pr-modern-card {
    padding: clamp(30px, 5vw, 42px);
  }

  body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
    min-height: 0;
    font-size: clamp(1.1rem, 4.8vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: 0;
  }
}

@media (max-width: 640px) {
  body[data-active="patient-resources.html"] .pr-modern-grid {
    width: min(560px, 100%);
  }

  body[data-active="patient-resources.html"] .pr-modern-card {
    padding: 28px;
  }

  body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
    font-size: clamp(1.08rem, 4.8vw, 1.55rem);
    line-height: 1.12;
    letter-spacing: 0;
  }
}

@media (max-width: 420px) {
  body[data-active="patient-resources.html"] .pr-modern-section {
    margin-inline: 12px;
    padding-inline: 0;
  }

  body[data-active="patient-resources.html"] .pr-modern-card {
    padding: 22px;
  }

body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
    font-size: clamp(1.04rem, 5.2vw, 1.32rem);
  }
}

/* =========================================================
   GLOBAL BACKGROUND FIX v26
   Keeps every page on one warm cream canvas.
   ========================================================= */
html,
body,
#root,
.app,
.site,
.site-shell,
.page,
.page-wrapper,
main {
  background: var(--color-page-bg);
}

body > main,
body > main > section,
.home-modern-page,
.home-modern-hero,
.home-about-section,
.home-pathways-section,
.home-location-section,
.research-focus-section,
.research-details-section,
.pr-modern-page,
.pr-modern-hero,
.pr-modern-section,
.org-modern-page,
.org-modern-hero,
.org-modern-section,
.newsletter-page,
.newsletter-hero,
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section,
.webinars-page,
.webinars-hero,
.webinar-feature,
.webinar-library,
.publications-page,
.publications-hero,
.publications-section,
.events-page,
.events-hero,
.events-section,
.team-page,
.team-hero,
.team-feature,
.team-section,
.funding-page,
.funding-hero,
.sponsor-section,
.resource-detail-page,
.site-footer {
  background-color: var(--color-page-bg);
}

.site-header {
  background: rgba(251, 243, 232, 0.96);
}

.patient-dropdown {
  background: rgba(251, 243, 232, 0.98);
}

/* =========================================================
   COLOUR CONSISTENCY PASS v27
   Aligns surfaces, borders, accents, and page edges with the cream canvas.
   ========================================================= */
html,
body,
main,
body > main,
body > main > section,
.home-modern-page,
.home-modern-hero,
.home-about-section,
.home-pathways-section,
.home-location-section,
.research-focus-section,
.research-details-section,
.pr-modern-page,
.pr-modern-hero,
.pr-modern-section,
.org-modern-page,
.org-modern-hero,
.org-modern-section,
.newsletter-page,
.newsletter-hero,
.newsletter-feature-section,
.newsletter-library-section,
.newsletter-access-section,
.webinars-page,
.webinars-hero,
.webinar-feature,
.webinar-library,
.publications-page,
.publications-hero,
.publications-section,
.events-page,
.events-hero,
.events-section,
.team-page,
.team-hero,
.team-feature,
.team-section,
.funding-page,
.funding-hero,
.sponsor-section,
.resource-detail-page,
.site-footer {
  background-color: var(--color-page-bg);
}

body[data-active="patient-resources.html"] .pr-modern-page {
  background: var(--color-page-bg);
}

body[data-active="patient-resources.html"] .pr-modern-section {
  background: var(--color-page-bg);
  background-color: var(--color-page-bg);
}

.site-header {
  background: rgba(251, 243, 232, 0.96);
  border-bottom-color: var(--color-border-soft);
}

.patient-dropdown {
  background: rgba(255, 253, 248, 0.98);
  border-color: var(--color-border-soft);
  box-shadow: var(--shadow-soft);
}

body,
.nav-list a,
.brand,
.home-modern-title,
.home-about-title,
.home-section-title,
.research-page-title,
.research-details-title,
.research-card-title,
.research-detail-copy h3,
.pr-modern-title,
.pr-card-title,
.org-modern-title,
.newsletter-title,
.webinar-title,
.publications-title,
.events-title,
.team-page-title,
.funding-title {
  color: var(--color-text-primary);
}

p,
.research-card-text,
.research-detail-copy p,
.pr-modern-card p,
.org-copy-block p,
.newsletter-intro,
.webinar-meta,
.team-intro,
.funding-intro,
.footer-copy {
  color: var(--color-text-secondary);
}

.home-kicker,
.eyebrow,
.issue-copy,
.sponsor-helper,
.team-tagline,
.collaborator-location {
  color: var(--color-text-muted);
}

.home-pathway-card,
.research-card-item,
.resource-detail-panel,
.collaborators,
.pr-modern-card,
.org-logo-frame,
.newsletter-feature-card,
.newsletter-audio-card,
.newsletter-pdf-preview,
.newsletter-card-button,
.newsletter-access-card,
.webinar-card,
.publications-list li,
.team-feature-card,
.team-person-card,
.sponsor-card,
body[data-active="funding-and-sponsors.html"] .sponsor-card,
body[data-active="research.html"] #canoptics-study .collaborator-item {
  background: var(--color-surface);
  background-color: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.research-card-media,
.research-detail-media,
.org-logo-frame--white,
.org-logo-frame--transparent,
.cover-wrap,
.sponsor-logo-wrap,
body[data-active="funding-and-sponsors.html"] .sponsor-logo-wrap {
  background: var(--color-surface-soft);
  border-color: var(--color-border-soft);
}

.small-title-rule,
.home-title-rule,
.home-section-rule,
.research-card-rule,
.funding-title-rule,
.title-rule,
.team-heading-rule,
.pr-card-rule {
  background: var(--color-border);
}

.home-pathway-card span,
.pr-card-number,
.newsletter-card-button:hover .issue-title,
.newsletter-card-button:focus-visible .issue-title {
  color: var(--color-accent);
}

.research-read-more:hover,
.back-link:hover,
.pr-card-link:hover,
.home-pathway-card:hover span,
.home-pathway-card:focus-visible span,
.publications-list a:hover,
.publications-list a:focus-visible,
.sponsor-card:hover .sponsor-action,
.sponsor-card:focus-visible .sponsor-action {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.btn,
.ghost-button:hover,
.ghost-button:focus-visible,
.filter-button.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* =========================================================
   TARGETED RESEARCH SPACING + COLLABORATOR SURFACE v28
   Adds breathing room to Research Focus card copy without changing content.
   ========================================================= */
body[data-active="research.html"] .research-card-item {
  box-sizing: border-box;
  padding-bottom: clamp(1.5rem, 2vw, 2.25rem);
}

body[data-active="research.html"] .research-card-text {
  box-sizing: border-box;
  padding-inline: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: clamp(1.15rem, 1.7vw, 1.45rem);
}

body[data-active="research.html"] .research-read-more {
  margin-inline: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: 0;
}

body[data-active="research.html"] #canoptics-study .collaborators {
  background: #FFFDF8;
  background-color: #FFFDF8;
}

body[data-active="research.html"] #canoptics-study .collaborator-item {
  background: #FFFDF8;
  background-color: #FFFDF8;
}

@media (max-width: 640px) {
  body[data-active="research.html"] .research-card-item {
    padding-bottom: clamp(1.35rem, 6vw, 1.75rem);
  }

  body[data-active="research.html"] .research-card-text,
  body[data-active="research.html"] .research-read-more {
    padding-inline: clamp(1.05rem, 5vw, 1.35rem);
  }

  body[data-active="research.html"] .research-read-more {
    margin-inline: 0;
  }
}

/* =========================================================
   PATIENT RESOURCES LAYOUT REFINEMENT v29
   Widens and tightens the three main Patient Resources cards.
   ========================================================= */
body[data-active="patient-resources.html"] .pr-modern-section {
  margin-inline: auto;
  padding-inline: 0;
}

body[data-active="patient-resources.html"] .pr-modern-grid {
  width: min(1780px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.125rem, 2vw, 1.875rem);
  align-items: stretch;
}

body[data-active="patient-resources.html"] .pr-modern-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: clamp(30px, 2.2vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  background-color: var(--color-surface);
}

body[data-active="patient-resources.html"] .pr-card-number {
  color: var(--color-accent);
  font-size: clamp(0.9rem, 0.82vw, 1rem);
  line-height: 1;
}

body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  margin-top: clamp(0.75rem, 1vw, 0.95rem);
  margin-bottom: 0;
  padding-block: 0;
  display: block;
  color: var(--color-text-primary);
  font-family: var(--font);
  font-size: clamp(1.34rem, 1.72vw, 1.72rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title a {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title span {
  display: block;
  white-space: normal;
}

body[data-active="patient-resources.html"] .pr-card-rule {
  width: 100%;
  margin: clamp(0.95rem, 1.3vw, 1.15rem) 0 clamp(1rem, 1.35vw, 1.2rem);
}

body[data-active="patient-resources.html"] .pr-modern-card p {
  width: 100%;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.6;
  letter-spacing: 0.028em;
}

body[data-active="patient-resources.html"] .pr-card-link {
  margin-top: auto;
  padding-top: clamp(22px, 2vw, 30px);
  align-self: flex-start;
}

@media (max-width: 1080px) {
  body[data-active="patient-resources.html"] .pr-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(920px, 100%);
  }

  body[data-active="patient-resources.html"] .pr-modern-card {
    padding: clamp(28px, 3.5vw, 34px);
  }

  body[data-active="patient-resources.html"] .pr-modern-grid > :last-child {
    grid-column: 1 / -1;
    width: calc((100% - clamp(1.125rem, 2vw, 1.875rem)) / 2);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
    font-size: clamp(1.22rem, 3vw, 1.55rem);
  }
}

@media (max-width: 640px) {
  body[data-active="patient-resources.html"] .pr-modern-section {
    margin-inline: auto;
    padding-inline: 0;
  }

  body[data-active="patient-resources.html"] .pr-modern-grid {
    grid-template-columns: 1fr;
    width: min(36rem, 100%);
  }

  body[data-active="patient-resources.html"] .pr-modern-card {
    height: auto;
    min-height: 0;
    padding: clamp(26px, 6vw, 30px);
  }

  body[data-active="patient-resources.html"] .pr-modern-grid > :last-child {
    grid-column: auto;
    width: 100%;
  }

  body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
    font-size: clamp(1.05rem, 4.8vw, 1.28rem);
  }
}

@media (max-width: 420px) {
  body[data-active="patient-resources.html"] .pr-modern-card .pr-card-title {
    font-size: clamp(0.92rem, 4.4vw, 1.08rem);
  }
}

/* =========================================================
   PATIENT RESOURCES TYPOGRAPHY REFINEMENT v30
   Slightly improves number, description, and link readability.
   ========================================================= */
body[data-active="patient-resources.html"] .pr-card-number {
  color: var(--color-accent);
  font-size: clamp(0.95rem, 0.9vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
}

body[data-active="patient-resources.html"] .pr-modern-card p {
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 0.95vw, 1.12rem);
  line-height: 1.6;
  letter-spacing: 0.026em;
}

body[data-active="patient-resources.html"] .pr-card-link {
  font-size: clamp(0.9rem, 0.85vw, 1rem);
  font-weight: 850;
  line-height: 1.2;
}

/* =========================================================
   HEADER TYPOGRAPHY + RESEARCH TITLE ALIGNMENT v31
   Improves header readability and top-aligns Research Focus headings.
   ========================================================= */
.nav-wrap {
  gap: clamp(18px, 2vw, 30px);
}

.brand {
  font-size: clamp(19px, 1.45vw, 25px);
  white-space: nowrap;
}

.nav-list {
  gap: clamp(18px, 1.8vw, 32px);
}

.nav-list a {
  font-size: clamp(18px, 1.24vw, 21px);
  white-space: nowrap;
}

body[data-active="research.html"] .research-focus-inner {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
}

body[data-active="research.html"] .research-card-grid {
  width: min(1240px, 100%);
  margin-inline: auto;
  gap: clamp(1.25rem, 2vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body[data-active="research.html"] .research-card-item {
  min-width: 0;
}

body[data-active="research.html"] .research-card-title {
  min-height: clamp(8.75rem, 10vw, 10.25rem);
  margin: 0 0 clamp(1rem, 1.6vw, 1.35rem);
  margin-bottom: clamp(1rem, 1.6vw, 1.35rem);
  padding: clamp(1.2rem, 1.8vw, 1.65rem) clamp(0.85rem, 1.6vw, 1.35rem) clamp(1.05rem, 1.5vw, 1.4rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1120px) {
  .nav-wrap {
    gap: clamp(14px, 1.6vw, 22px);
  }

  .nav-list {
    gap: clamp(14px, 1.5vw, 20px);
  }

  .nav-list a {
    font-size: clamp(16.5px, 1.45vw, 18px);
  }
}

@media (max-width: 900px) {
  .nav-list a {
    font-size: 21px;
  }

  body[data-active="research.html"] .research-card-grid {
    width: min(820px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-active="research.html"] .research-card-title {
    min-height: clamp(7.25rem, 16vw, 8.75rem);
  }
}

@media (max-width: 640px) {
  body[data-active="research.html"] .research-card-grid {
    width: min(34rem, 100%);
    grid-template-columns: 1fr;
  }

  body[data-active="research.html"] .research-card-title {
    min-height: 0;
    padding: 0 0 clamp(0.85rem, 4vw, 1.15rem);
  }
}

/* =========================================================
   MULTI-PAGE LAYOUT CLEANUP v32
   Stabilizes the dropdown, cleans Publications, and centers Research titles.
   ========================================================= */
.has-dropdown {
  position: relative;
}

.has-dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 12px;
}

.patient-dropdown {
  top: calc(100% + 8px);
  left: 50%;
  min-width: min(22rem, calc(100vw - 2rem));
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
}

.patient-dropdown::before {
  top: -12px;
  height: 12px;
}

.has-dropdown:hover .patient-dropdown,
.has-dropdown:focus-within .patient-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

body[data-active="publications.html"] .publications-title {
  margin-bottom: clamp(14px, 1.8vw, 22px);
}

body[data-active="publications.html"] .publications-section {
  padding-top: clamp(8px, 1.2vw, 16px);
}

body[data-active="publications.html"] .publications-list li {
  margin-bottom: clamp(10px, 1.2vw, 14px);
  padding-left: 0.32rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-active="publications.html"] .publications-list li *,
body[data-active="publications.html"] .publications-list a,
body[data-active="publications.html"] .publications-list strong {
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================================================
   PUBLICATIONS HEADING-TO-LIST SPACING v36
   Reduces only the Publications page gap above the first entry.
   ========================================================= */
body[data-active="publications.html"] .publications-hero {
  padding-bottom: clamp(22px, 3vw, 36px);
}

body[data-active="publications.html"] .publications-section {
  padding-top: 0;
}

body[data-active="research.html"] .research-card-grid {
  width: min(1320px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1rem, 1.8vw, 1.75rem);
  row-gap: clamp(32px, 3vw, 48px);
  align-items: stretch;
}

body[data-active="research.html"] .research-card-item {
  min-width: 0;
}

body[data-active="research.html"] .research-card-title {
  min-height: clamp(6.625rem, 7.4vw, 6.75rem);
  margin: 0;
  padding: clamp(0.45rem, 0.62vw, 0.5625rem) clamp(1rem, 1.8vw, 1.55rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1120px) {
  body[data-active="research.html"] .research-card-grid {
    width: min(1280px, 100%);
    column-gap: clamp(0.875rem, 1.4vw, 1.25rem);
  }

  body[data-active="research.html"] .research-card-title {
    min-height: clamp(9.75rem, 14vw, 11.25rem);
    padding-inline: clamp(0.8rem, 1.3vw, 1.1rem);
  }
}

@media (max-width: 900px) {
  .has-dropdown::after {
    display: none;
  }

  .patient-dropdown {
    top: auto;
    left: auto;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    z-index: auto;
    pointer-events: auto;
    transform: none;
  }

  body[data-active="research.html"] .research-card-grid {
    width: min(820px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(28px, 4vw, 40px);
  }

  body[data-active="research.html"] .research-page-title {
    margin-bottom: clamp(40px, 5vw, 56px);
  }
}

@media (max-width: 640px) {
  body[data-active="research.html"] .research-card-grid {
    width: min(34rem, 100%);
    grid-template-columns: 1fr;
    row-gap: clamp(24px, 5vw, 36px);
  }

  body[data-active="research.html"] .research-page-title {
    margin-bottom: clamp(30px, 8vw, 44px);
  }

  body[data-active="research.html"] .research-card-title {
    min-height: 0;
    padding: clamp(24px, 6vw, 30px) clamp(20px, 5vw, 26px) clamp(20px, 5vw, 26px);
  }
}

/* =========================================================
   INTERIOR PAGE TITLE-TO-CONTENT SPACING v40
   Tightens only the gap below title rules on requested interior pages.
   ========================================================= */
body[data-active="patient-resources.html"] .pr-modern-hero--compact + .pr-modern-section {
  padding-top: clamp(16px, 1.6vw, 24px);
}

body[data-active="publications.html"] .publications-hero {
  padding-bottom: clamp(16px, 2.2vw, 24px);
}

body[data-active="funding-and-sponsors.html"] .funding-title {
  margin-bottom: clamp(18px, 1.6vw, 24px) !important;
}

body[data-active="funding-and-sponsors.html"] .funding-hero {
  padding-bottom: clamp(12px, 1.4vw, 18px);
}

body[data-active="funding-and-sponsors.html"] .sponsor-section {
  padding-top: clamp(16px, 1.6vw, 22px) !important;
}

body[data-active="recent-events.html"] .events-title {
  margin-bottom: clamp(16px, 1.5vw, 20px);
}

body[data-active="recent-events.html"] .events-hero {
  padding-bottom: clamp(12px, 1.4vw, 16px);
}

body[data-active="recent-events.html"] .event-showcase:first-child {
  padding-top: clamp(14px, 1.4vw, 18px);
}

.team-page-title,
.newsletter-hero .page-title,
.org-modern-title,
.webinars-hero .page-title {
  margin-bottom: clamp(30px, 3.2vw, 40px);
}

/* =========================================================
   NEWSLETTER CONTENT + VIEWER CLEANUP v41
   Scopes the CANOPTICS newsletter archive refinements to this page only.
   ========================================================= */
body[data-active="patient-resources.html"] .newsletter-page .newsletter-hero .page-title {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-stats {
  margin-top: clamp(28px, 3vw, 40px);
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-feature-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-feature-copy h2 {
  overflow-wrap: anywhere;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-action-row {
  margin-top: clamp(22px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-action-row a {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  box-sizing: border-box;
  margin-top: 0;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-pdf-preview {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  min-height: clamp(620px, 64vw, 820px);
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-pdf-preview iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: clamp(560px, 58vw, 760px);
  border: 0;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-library-section {
  padding-bottom: clamp(48px, 7vw, 96px);
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-card-grid {
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-card,
body[data-active="patient-resources.html"] .newsletter-page .newsletter-card-button,
body[data-active="patient-resources.html"] .newsletter-page .newsletter-card-body,
body[data-active="patient-resources.html"] .newsletter-page .cover-wrap {
  min-width: 0;
}

body[data-active="patient-resources.html"] .newsletter-page .cover-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body[data-active="patient-resources.html"] .newsletter-page .cover-wrap img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center top !important;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-no-results {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1240px) {
  body[data-active="patient-resources.html"] .newsletter-page .newsletter-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  body[data-active="patient-resources.html"] .newsletter-page .newsletter-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-active="patient-resources.html"] .newsletter-page .newsletter-card-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body[data-active="patient-resources.html"] .newsletter-page .newsletter-action-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body[data-active="patient-resources.html"] .newsletter-page .newsletter-pdf-preview {
    min-height: 520px;
  }

  body[data-active="patient-resources.html"] .newsletter-page .newsletter-pdf-preview iframe {
    min-height: 468px;
  }
}

/* =========================================================
   NEWSLETTER HERO + ARCHIVE CARD ALIGNMENT v42
   Aligns the hero title container and lets archive thumbnails keep page ratio.
   ========================================================= */
body[data-active="patient-resources.html"] .newsletter-page .newsletter-hero-inner {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-hero .page-title {
  max-width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-audio-card .eyebrow,
body[data-active="patient-resources.html"] .newsletter-page .newsletter-library-head .eyebrow {
  font-size: clamp(14px, 0.86rem + 0.16vw, 16px);
  line-height: 1.25;
  letter-spacing: 0.12em;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-library-head .eyebrow {
  margin-bottom: clamp(8px, 0.8vw, 12px);
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-card-button {
  align-items: flex-start !important;
}

body[data-active="patient-resources.html"] .newsletter-page .cover-wrap {
  flex: 0 0 clamp(115px, 8vw, 140px) !important;
  width: clamp(115px, 8vw, 140px) !important;
  max-width: clamp(115px, 8vw, 140px) !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 398 / 515 !important;
  align-self: flex-start !important;
}

body[data-active="patient-resources.html"] .newsletter-page .cover-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center top !important;
}

@media (max-width: 520px) {
  body[data-active="patient-resources.html"] .newsletter-page .cover-wrap {
    flex: 0 0 auto !important;
    width: min(190px, 62vw) !important;
    max-width: min(190px, 62vw) !important;
    align-self: center !important;
  }
}

/* =========================================================
   PATIENT ORGANIZATIONS CONTENT CLEANUP v44-v46
   Removes label-reserved space and tightly controls the first-section approach.
   ========================================================= */
.org-modern-page .org-modern-hero {
  padding-bottom: 0;
}

.org-modern-page .org-modern-section:first-of-type {
  padding-top: 0;
}

.org-modern-page .org-modern-section + .org-modern-section {
  padding-top: clamp(48px, 5.8vw, 82px);
}

.org-modern-page .org-modern-section--last {
  padding-bottom: clamp(46px, 5vw, 70px);
}

.org-modern-page .org-modern-section-title {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.org-modern-page .org-modern-copy h3 {
  margin-top: 0;
}

.org-modern-page .org-modern-actions {
  justify-content: center;
}

/* =========================================================
   EDUCATIONAL WEBINARS CLEANUP v48
   Page-scoped background and vertical card layout correction.
   ========================================================= */
body[data-active="patient-resources.html"] .webinars-page,
body[data-active="patient-resources.html"] .webinars-hero,
body[data-active="patient-resources.html"] .webinar-feature,
body[data-active="patient-resources.html"] .webinar-library,
body[data-active="patient-resources.html"] .webinars-page .resource-back-section {
  background: #FBF3E8;
  background-color: #FBF3E8;
}

body[data-active="patient-resources.html"] .webinars-hero {
  padding-bottom: clamp(8px, 1.6vw, 24px);
}

body[data-active="patient-resources.html"] .webinar-feature {
  padding-top: clamp(20px, 2.5vw, 34px);
}

body[data-active="patient-resources.html"] .video-info-card {
  background: rgba(255, 255, 255, 0.58);
  background-color: rgba(255, 255, 255, 0.58);
  border-color: rgba(20, 36, 45, 0.16);
}

body[data-active="patient-resources.html"] .webinar-library .eyebrow {
  font-size: clamp(0.875rem, 0.84rem + 0.12vw, 1rem);
  line-height: 1.25;
}

body[data-active="patient-resources.html"] .library-heading-row {
  display: block;
  text-align: left;
}

body[data-active="patient-resources.html"] .webinar-grid {
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

body[data-active="patient-resources.html"] .webinar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  text-decoration: none;
}

body[data-active="patient-resources.html"] .webinar-card:visited {
  color: inherit;
}

body[data-active="patient-resources.html"] .mini-poster {
  width: 100%;
  min-height: clamp(150px, 11vw, 180px);
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
}

body[data-active="patient-resources.html"] .webinar-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  padding: 18px 18px 20px;
}

body[data-active="patient-resources.html"] .webinar-title {
  overflow-wrap: normal;
  word-break: normal;
}

body[data-active="patient-resources.html"] .webinar-meta {
  margin-top: auto;
  padding-top: 14px;
}

body[data-active="patient-resources.html"] .webinars-page .resource-back-section {
  padding-bottom: clamp(12px, 3vw, 30px);
}

@media (max-width: 1399px) {
  body[data-active="patient-resources.html"] .webinar-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }
}

@media (max-width: 1150px) {
  body[data-active="patient-resources.html"] .webinar-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 850px) {
  body[data-active="patient-resources.html"] .webinar-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 540px) {
  body[data-active="patient-resources.html"] .webinar-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TEAM PAGE UNIFIED ROSTER + LOCKED EXPANDED PORTRAIT SIZE v70
   Shares broad content boundaries while preserving controlled card widths.
   ========================================================= */
body[data-active="team.html"] .team-page {
  --team-content-width: 1200px;
  --team-feature-photo-width: 440px;
  --team-feature-photo-min-width: 380px;
  --team-feature-photo-focal-x: 45.75%;
  --team-feature-photo-focal-y: 10%;
  --team-profile-photo-ratio: 4 / 5;
  --team-profile-image-inset: 14px;
  --team-roster-card-width: 320px;
  --team-card-width: var(--team-roster-card-width);
  --team-roster-inset: 48px;
  --team-roster-gap: 32px;
  --team-heading-card-gap: 34px;
  --team-section-transition-gap: 88px;
  --team-past-card-width: 300px;
}

body[data-active="team.html"] .team-hero {
  padding-bottom: 0;
}

body[data-active="team.html"] .team-page-title {
  margin-bottom: 0;
}

body[data-active="team.html"] .team-feature {
  padding-top: clamp(30px, 4vw, 44px);
  padding-bottom: clamp(32px, 3.5vw, 48px);
}

body[data-active="team.html"] .team-feature-card {
  width: min(1200px, calc(100% - (var(--pad) * 2)));
  grid-template-columns: minmax(0, 1fr) minmax(var(--team-feature-photo-min-width), var(--team-feature-photo-width));
  gap: clamp(32px, 2vw, 36px);
  align-items: stretch;
  padding: clamp(32px, 4vw, 52px);
  overflow: visible;
}

body[data-active="team.html"] .team-feature-copy {
  min-width: 0;
  padding: 0;
  justify-content: flex-start;
}

body[data-active="team.html"] .team-feature-copy .eyebrow {
  order: 1;
  margin: 0 0 16px;
}

body[data-active="team.html"] .team-feature-copy h2 {
  order: 2;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
}

body[data-active="team.html"] .team-feature-bio {
  order: 3;
  margin-top: clamp(22px, 2.4vw, 30px);
}

body[data-active="team.html"] .team-feature-bio p {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.72;
  letter-spacing: 0.045em;
  color: #2d3a40;
}

body[data-active="team.html"] .team-feature-bio p:last-child {
  margin-bottom: 0;
}

body[data-active="team.html"] .team-bio-toggle {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

body[data-active="team.html"] .team-bio-toggle:hover,
body[data-active="team.html"] .team-bio-toggle:focus-visible {
  color: var(--ink);
}

body[data-active="team.html"] .team-bio-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

body[data-active="team.html"] .team-feature-image {
  width: min(100%, var(--team-feature-photo-width));
  aspect-ratio: auto;
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: transparent;
}

body[data-active="team.html"] .team-feature-image {
  justify-self: end;
}

@media (min-width: 1121px) {
  body[data-active="team.html"] .team-feature-card--bio-expanded .team-feature-image {
    align-self: start;
    height: var(--team-feature-collapsed-photo-height);
  }
}

body[data-active="team.html"] .team-person-photo {
  width: 100%;
  aspect-ratio: var(--team-profile-photo-ratio);
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #e8e5df;
}

body[data-active="team.html"] .team-feature-image img,
body[data-active="team.html"] .team-person-photo img,
body[data-active="team.html"] .team-profile-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body[data-active="team.html"] .team-feature-image img {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: var(--team-feature-photo-focal-x) var(--team-feature-photo-focal-y);
}

body[data-active="team.html"] .team-roster-card--staff .team-person-photo img[src*="team-nandita-vas-new"] {
  object-position: center 24% !important;
}

body[data-active="team.html"] .team-roster-section {
  box-sizing: border-box;
  width: min(var(--team-content-width), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
  padding: clamp(16px, 2vw, 28px) var(--team-roster-inset) calc(var(--team-section-transition-gap) / 2);
  display: grid;
  grid-template-columns: repeat(3, var(--team-roster-card-width));
  justify-content: space-between;
  column-gap: var(--team-roster-gap);
  row-gap: var(--team-heading-card-gap);
  align-items: stretch;
}

body[data-active="team.html"] .team-roster__group-heading {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
}

body[data-active="team.html"] .team-roster__group-heading h2 {
  font-size: clamp(28px, 2.4vw, 36px);
  letter-spacing: 0.06em;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

body[data-active="team.html"] .team-roster__group-heading--staff {
  grid-column: 1;
  grid-row: 1;
}

body[data-active="team.html"] .team-roster__group-heading--students {
  grid-column: 2 / 4;
  grid-row: 1;
}

body[data-active="team.html"] .team-roster-card {
  width: 100%;
  max-width: var(--team-roster-card-width);
  grid-row: 2;
}

body[data-active="team.html"] .team-roster-card--staff {
  grid-column: 1;
}

body[data-active="team.html"] .team-roster-card--student-first {
  grid-column: 2;
}

body[data-active="team.html"] .team-roster-card--student-second {
  grid-column: 3;
}

body[data-active="team.html"] .team-person-card,
body[data-active="team.html"] .team-profile-card {
  width: var(--team-card-width);
  max-width: 100%;
  margin-inline: auto;
  justify-self: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #d7cec2;
  box-shadow: 0 10px 28px rgba(25, 39, 44, 0.08);
  overflow: hidden;
  transition: box-shadow 180ms ease;
}

body[data-active="team.html"] .team-person-card:hover,
body[data-active="team.html"] .team-profile-card:hover {
  transform: none;
  box-shadow: 0 10px 28px rgba(25, 39, 44, 0.08);
}

body[data-active="team.html"] .team-person-photo {
  margin-inline: 0;
}

body[data-active="team.html"] .team-profile-card__image {
  width: calc(100% - (var(--team-profile-image-inset) * 2));
  margin: var(--team-profile-image-inset) var(--team-profile-image-inset) 0;
}

body[data-active="team.html"] .team-person-content,
body[data-active="team.html"] .team-profile-card__content {
  padding: 22px 20px 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  text-align: center;
}

body[data-active="team.html"] .team-person-content h3 {
  font-size: clamp(22px, 1.7vw, 28px);
}

body[data-active="team.html"] .team-person-content p {
  margin-top: 10px;
  font-size: clamp(14px, 1vw, 16px);
}

body[data-active="team.html"] .team-section {
  padding-top: calc(var(--team-section-transition-gap) / 2);
  padding-bottom: calc(var(--team-section-transition-gap) / 2);
}

body[data-active="team.html"] .team-section-heading {
  margin-bottom: var(--team-heading-card-gap);
}

body[data-active="team.html"] .team-roster__group-heading {
  margin-bottom: 0;
}

body[data-active="team.html"] .past-students-section {
  padding-bottom: var(--page-end-section-space);
}

body[data-active="team.html"] .past-students-section .team-section-heading {
  width: min(var(--team-content-width), 100%);
}

body[data-active="team.html"] .past-students-card {
  box-sizing: border-box;
  width: min(var(--team-content-width), 100%);
  padding: 0 var(--team-roster-inset);
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-active="team.html"] .past-students-list,
body[data-active="team.html"] .past-students-grid {
  grid-template-columns: repeat(3, var(--team-roster-card-width));
  justify-content: space-between;
  gap: var(--team-roster-gap);
}

body[data-active="team.html"] .past-students-list li,
body[data-active="team.html"] .past-student-card {
  box-sizing: border-box;
  width: var(--team-past-card-width);
  min-height: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fffdf8;
  border: 1px solid #cfc3b3;
  box-shadow: 0 8px 20px rgba(25, 39, 44, 0.09);
  text-align: center;
}

body[data-active="team.html"] .past-students-list span,
body[data-active="team.html"] .past-student-card__name {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
}

body[data-active="team.html"] .team-page + .site-footer {
  padding-top: var(--page-end-footer-space);
}

@media (max-width: 1200px) {
  body[data-active="team.html"] .team-page {
    --team-feature-photo-width: 400px;
    --team-roster-card-width: 300px;
    --team-roster-inset: clamp(24px, 3vw, 36px);
    --team-past-card-width: 280px;
  }
}

@media (max-width: 1120px) {
  body[data-active="team.html"] .team-feature-card {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - (var(--pad) * 2)));
  }

  body[data-active="team.html"] .team-feature-image {
    order: -1;
    align-self: auto;
    justify-self: center;
    width: min(100%, var(--team-feature-photo-width));
    aspect-ratio: auto;
  }

  body[data-active="team.html"] .team-feature-image img {
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 1080px) {
  body[data-active="team.html"] .team-page {
    --team-roster-card-width: 294px;
    --team-roster-inset: 0px;
    --team-roster-gap: 14px;
    --team-past-card-width: 274px;
  }
}

@media (max-width: 980px) {
  body[data-active="team.html"] .team-page {
    --team-heading-card-gap: 34px;
    --team-section-transition-gap: 72px;
  }

  body[data-active="team.html"] .team-roster-section {
    width: min(616px, calc(100% - (var(--pad) * 2)));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  body[data-active="team.html"] .team-roster__group-heading--staff {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  body[data-active="team.html"] .team-roster-card--staff {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  body[data-active="team.html"] .team-roster__group-heading--students {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: calc(var(--team-section-transition-gap) / 2);
  }

  body[data-active="team.html"] .team-roster-card--student-first {
    grid-column: 1;
    grid-row: 4;
  }

  body[data-active="team.html"] .team-roster-card--student-second {
    grid-column: 2;
    grid-row: 4;
  }
}

@media (max-width: 900px) {

  body[data-active="team.html"] .past-students-card {
    width: min(578px, 100%);
  }

  body[data-active="team.html"] .past-students-list,
  body[data-active="team.html"] .past-students-grid {
    grid-template-columns: repeat(2, minmax(0, var(--team-past-card-width)));
    justify-content: center;
  }

  body[data-active="team.html"] .past-students-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: var(--team-past-card-width);
  }
}

@media (max-width: 620px) {
  body[data-active="team.html"] .team-roster-section {
    width: min(var(--team-roster-card-width), calc(100% - (var(--pad) * 2)));
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 30px;
  }

  body[data-active="team.html"] .team-roster__group-heading--staff,
  body[data-active="team.html"] .team-roster-card--staff,
  body[data-active="team.html"] .team-roster__group-heading--students,
  body[data-active="team.html"] .team-roster-card--student-first,
  body[data-active="team.html"] .team-roster-card--student-second {
    grid-column: 1;
  }

  body[data-active="team.html"] .team-roster-card--student-second {
    grid-row: 5;
  }
}

@media (max-width: 560px) {
  body[data-active="team.html"] .team-page {
    --team-feature-photo-width: 360px;
    --team-roster-card-width: min(300px, calc(100vw - 36px));
    --team-card-width: var(--team-roster-card-width);
    --team-heading-card-gap: 30px;
    --team-section-transition-gap: 56px;
    --team-past-card-width: min(274px, calc(100vw - 36px));
  }

  body[data-active="team.html"] .team-feature-card {
    padding: clamp(26px, 7vw, 34px);
  }

  body[data-active="team.html"] .team-feature-image {
    width: min(100%, var(--team-feature-photo-width));
  }

  body[data-active="team.html"] .past-students-card {
    width: min(var(--team-past-card-width), 100%);
  }

  body[data-active="team.html"] .past-students-list,
  body[data-active="team.html"] .past-students-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body[data-active="team.html"] .past-students-list li,
  body[data-active="team.html"] .past-student-card {
    width: min(100%, var(--team-past-card-width));
    min-height: 96px;
    height: 96px;
    padding: 24px 20px;
  }

  body[data-active="team.html"] .past-students-list li:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}

/* =========================================================
   PATIENT RESOURCES FLOATING DROPDOWN v35
   Traditional compact overlay menu for the longer newsletter label.
   ========================================================= */
.patient-dropdown {
  width: max-content;
  min-width: 26.25rem;
  max-width: min(29.375rem, calc(100vw - 24px));
  top: calc(100% + 8px);
  left: 50%;
  padding: 6px 0;
  background: rgb(255, 253, 248);
  border: 1px solid rgba(38, 52, 57, 0.12);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(38, 52, 57, 0.1);
  z-index: 1200;
  transform: translateX(-50%) translateY(6px);
}

.patient-dropdown::before {
  top: -8px;
  height: 8px;
}

.has-dropdown::after {
  height: 8px;
}

.patient-dropdown a {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 20px;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
}

.has-dropdown:hover .patient-dropdown,
.has-dropdown:focus-within .patient-dropdown {
  transform: translateX(-50%) translateY(0);
}

.patient-dropdown a:hover,
.patient-dropdown a:focus-visible,
.patient-dropdown a.active {
  background: rgba(38, 52, 57, 0.05);
  opacity: 1;
}

@media (max-width: 1100px) {
  .patient-dropdown {
    position: static;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .patient-dropdown a {
    padding: 16px clamp(18px, 4vw, 26px);
    color: var(--color-text-primary);
    text-align: left;
    opacity: 1;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    border-bottom: 0;
  }

  .patient-dropdown li:not(:last-child) a {
    border-bottom: 1px solid rgba(20, 36, 45, 0.12);
  }

  .patient-dropdown li:last-child a {
    border-bottom: 0;
  }

  .has-dropdown:hover .patient-dropdown,
  .has-dropdown:focus-within .patient-dropdown {
    transform: none;
  }
}

/* =========================================================
   COLLABORATOR ROW + FINAL-SECTION FOOTER SPACING v50
   Keeps site-lead icons inside their rows and reduces the
   affected final-section gap before the shared footer.
   ========================================================= */
body[data-active="research.html"] #canoptics-study .collaborator-item {
  box-sizing: border-box;
  grid-template-columns: clamp(36px, 3.4vw, 44px) minmax(0, 1fr);
  column-gap: clamp(12px, 1.2vw, 16px);
  row-gap: 0;
  padding: clamp(10px, 1vw, 12px) clamp(14px, 1.4vw, 20px);
  overflow-wrap: normal;
}

body[data-active="research.html"] #canoptics-study .collaborator-text,
body[data-active="research.html"] #canoptics-study .collaborator-name,
body[data-active="research.html"] #canoptics-study .collaborator-location {
  min-width: 0;
}

body[data-active="research.html"] #canoptics-study .collaborator-name {
  overflow-wrap: normal;
  word-break: normal;
}

body[data-active="research.html"] .research-details-section {
  padding-bottom: clamp(6px, 1.2vw, 12px);
}

body[data-active="index.html"] .home-location-section,
body[data-active="patient-resources.html"] .pr-modern-section {
  padding-bottom: clamp(20px, 3vw, 36px);
}

@media (max-width: 900px) {
  body[data-active="research.html"] .research-details-section {
    padding-bottom: clamp(18px, 2.5vw, 24px);
  }
}

@media (max-width: 640px) {
  body[data-active="research.html"] #canoptics-study .collaborator-item {
    grid-template-columns: clamp(34px, 10vw, 40px) minmax(0, 1fr);
    column-gap: 12px;
    padding: 10px 14px;
  }
}

/* =========================================================
   PATIENT ORGANIZATIONS + WEBINARS + EVENTS CLEANUP v51
   Controls only the requested page-specific spacing/alignment.
   ========================================================= */
.org-modern-page .org-modern-title,
body[data-active="patient-resources.html"] .webinars-page .webinars-hero .page-title {
  margin-bottom: 0;
}

.org-modern-page .org-modern-hero + .org-modern-section {
  padding-top: clamp(44px, 3vw, 52px);
}

.org-modern-page .org-modern-hero + .org-modern-section .org-modern-card {
  margin-bottom: 0;
}

.org-modern-page .org-modern-section + .org-modern-section {
  padding-top: clamp(72px, 6vw, 88px);
  border-top: 0;
  background-image: none;
}

.org-modern-page .org-modern-section + .org-modern-section::before {
  content: none;
  display: none;
}

body[data-active="patient-resources.html"] .webinars-page .webinars-hero {
  padding-bottom: 0;
}

body[data-active="patient-resources.html"] .webinars-page .webinar-feature {
  padding-top: clamp(44px, 4vw, 56px);
}

body[data-active="recent-events.html"] .event-showcase > .events-inner {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

body[data-active="recent-events.html"] .event-heading {
  max-width: min(1100px, 100%);
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 900px) {
  .org-modern-page .org-modern-hero + .org-modern-section {
    padding-top: clamp(36px, 5vw, 52px);
  }

  .org-modern-page .org-modern-section + .org-modern-section {
    padding-top: clamp(56px, 7vw, 76px);
  }

  body[data-active="patient-resources.html"] .webinars-page .webinar-feature {
    padding-top: clamp(36px, 5vw, 52px);
  }
}

@media (max-width: 560px) {
  .org-modern-page .org-modern-hero + .org-modern-section {
    padding-top: clamp(28px, 8vw, 44px);
  }

  .org-modern-page .org-modern-section + .org-modern-section {
    padding-top: clamp(44px, 10vw, 64px);
  }

  body[data-active="patient-resources.html"] .webinars-page .webinar-feature {
    padding-top: clamp(28px, 8vw, 44px);
  }
}

/* =========================================================
   NEWSLETTER GAP + RECENT EVENTS TITLE CONTAINER v52
   Targets only the pill-to-content gap and event-title wrapper.
   ========================================================= */
body[data-active="patient-resources.html"] .newsletter-page .newsletter-hero {
  min-height: 0;
  height: auto;
  padding-bottom: 0;
  margin-bottom: 0;
}

body[data-active="patient-resources.html"] .newsletter-page .newsletter-feature-section {
  padding-top: clamp(52px, 5vw, 64px);
}

body[data-active="recent-events.html"] .event-showcase > .events-inner {
  width: min(var(--page-max-width), calc(100% - (var(--pad) * 2)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

body[data-active="recent-events.html"] .event-title-container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

body[data-active="recent-events.html"] .event-title-container .event-heading {
  max-width: min(1100px, 100%);
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 900px) {
  body[data-active="patient-resources.html"] .newsletter-page .newsletter-feature-section {
    padding-top: clamp(40px, 5vw, 56px);
  }
}

@media (max-width: 560px) {
  body[data-active="patient-resources.html"] .newsletter-page .newsletter-feature-section {
    padding-top: clamp(28px, 8vw, 44px);
  }
}

/* =========================================================
   PAGE-END SPACING + TEAM ALIGNMENT v59
   Uses one responsive end-spacing pair while accounting for
   spacing already owned by each affected page's final element.
   ========================================================= */
body[data-active="research.html"],
body[data-active="publications.html"],
body[data-active="recent-events.html"],
body[data-active="team.html"] {
  --page-end-section-space: clamp(30px, 2.25vw, 32px);
  --page-end-footer-space: clamp(18px, 1.7vw, 24px);
}

body[data-active="research.html"] .research-detail:last-child {
  padding-bottom: var(--page-end-section-space);
}

body[data-active="research.html"] .research-details-section {
  padding-bottom: 0;
}

body[data-active="research.html"] .site-footer,
body[data-active="publications.html"] .site-footer,
body[data-active="recent-events.html"] .site-footer {
  padding-top: var(--page-end-footer-space);
}

body[data-active="patient-resources.html"] .org-modern-page + .site-footer {
  --page-end-footer-space: clamp(18px, 1.7vw, 24px);
  padding-top: var(--page-end-footer-space);
}

.org-modern-page .org-modern-section--last {
  padding-bottom: clamp(8px, 1vw, 12px);
}

body[data-active="publications.html"] .publications-section {
  padding-bottom: var(--page-end-section-space);
}

body[data-active="recent-events.html"] .events-list {
  padding-bottom: clamp(12px, 1.4vw, 20px);
}

body[data-active="recent-events.html"] .event-showcase {
  padding-bottom: clamp(24px, 2.2vw, 32px);
}

body[data-active="recent-events.html"] .event-showcase + .event-showcase {
  padding-top: clamp(32px, 3.2vw, 48px);
}

@media (max-width: 900px) {
  body[data-active="research.html"],
  body[data-active="publications.html"],
  body[data-active="recent-events.html"],
  body[data-active="team.html"] {
    --page-end-section-space: clamp(29px, 3vw, 30px);
    --page-end-footer-space: clamp(18px, 2.5vw, 22px);
  }

  body[data-active="patient-resources.html"] .org-modern-page + .site-footer {
    --page-end-footer-space: clamp(18px, 2.5vw, 22px);
  }
}

@media (max-width: 560px) {
  body[data-active="research.html"],
  body[data-active="publications.html"],
  body[data-active="recent-events.html"],
  body[data-active="team.html"] {
    --page-end-section-space: 20px;
    --page-end-footer-space: 18px;
  }

  body[data-active="patient-resources.html"] .org-modern-page + .site-footer {
    --page-end-footer-space: 18px;
  }

  .org-modern-page .org-modern-section--last {
    padding-bottom: 8px;
  }
}
