/* Patient education — a quiet editorial layer within the established Sentra identity. */
.education-page {
  --edu-paper: #f3f8f7;
  --edu-line: #d7e7e5;
  --edu-ink: #17364b;
  color: var(--edu-ink);
}
.education-hero {
  position: relative;
  overflow: hidden;
  color: #e7f1f3;
  background:
    radial-gradient(ellipse at 83% 36%, rgba(66,184,170,.2), transparent 31%),
    linear-gradient(118deg, var(--navy), var(--navy-2) 70%, var(--navy-3));
  padding: 22px 0 clamp(54px, 7vw, 90px);
}
.education-hero::after {
  content: "";
  position: absolute;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  right: -14vw;
  top: -46%;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 78px rgba(66,184,170,.035);
  pointer-events: none;
}
.education-hero > .container { position: relative; z-index: 1; }
.education-page .education-hero .breadcrumbs,
.education-page .education-hero .breadcrumbs a { color: #c4d9e3; }
.education-page .education-hero .breadcrumbs a:hover { color: #fff; }
.education-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding-top: clamp(36px, 6vw, 70px);
}
.education-hero-copy { max-width: 720px; }
.education-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 19px;
  color: #83d5c8;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.education-kicker::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.education-page .education-hero h1 {
  max-width: 14ch;
  margin-bottom: 17px;
  color: #fff;
  font-size: clamp(2.55rem, 5.8vw, 4.8rem);
  letter-spacing: -.035em;
  line-height: 1.04;
}
.education-hero-copy > p {
  max-width: 59ch;
  margin: 0;
  color: #cce0e6;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.75;
}
.education-hero-art { position: relative; margin: 0; min-width: 0; }
.education-art-frame {
  position: relative;
  overflow: hidden;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 42% 42% 18px 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 26px 60px rgba(0,25,42,.25);
  transform: rotate(1deg);
}
.education-art-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  border-radius: 38% 38% 10px 10px;
}
.education-hero-art figcaption {
  max-width: 42ch;
  margin: 13px auto 0;
  color: #c4d9e3;
  font-size: .73rem;
  line-height: 1.5;
  text-align: center;
}
.education-page .section { position: relative; }
.education-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.education-intro h2 { margin: 0; }
.education-intro p { max-width: 56ch; margin: 0; color: var(--muted); }
.education-topic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.education-topic {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid var(--edu-line);
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(8,61,98,.045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.education-topic:hover { color: inherit; border-color: #a9d3ce; box-shadow: 0 14px 30px rgba(8,61,98,.1); transform: translateY(-4px); }
.education-topic img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; background: var(--edu-paper); }
.education-topic-copy { display: flex; flex: 1; flex-direction: column; padding: 19px 20px 20px; }
.education-topic h3 { margin: 0 0 8px; font-size: 1.17rem; }
.education-topic p { flex: 1; margin: 0 0 15px; color: var(--muted); font-size: .89rem; line-height: 1.6; }
.education-topic .card-link { font-size: .86rem; font-weight: 700; }
.education-feature-row {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(26px,5vw,62px);
  align-items: center;
}
.education-feature-art { position: relative; margin: 0; }
.education-feature-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(8,61,98,.13);
}
.education-feature-art figcaption { margin-top: 10px; color: var(--muted); font-size: .73rem; text-align: center; }
.education-pathways { display: grid; gap: 12px; margin-top: 22px; }
.education-pathway {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--edu-line);
  border-radius: 13px;
  transition: border-color .2s ease, transform .2s ease;
}
.education-pathway:hover { color: var(--navy); border-color: var(--cyan); transform: translateX(3px); }
.education-pathway .path-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--blue); background: var(--cyan-soft); font-size: .76rem; font-weight: 800; }
.education-pathway strong { display: block; color: var(--navy); font-size: .95rem; }
.education-pathway small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.education-page .education-section-label { margin: 0 0 10px; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.education-page .education-page-intro { max-width: 64ch; margin: 0 0 25px; color: var(--muted); }
.education-page .education-filter-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.education-page .education-filter-bar .filter-pills { margin: 20px 0 30px; }
.education-empty {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(180px,.55fr);
  gap: 25px;
  align-items: center;
  max-width: 920px;
  margin: 34px auto 0;
  padding: clamp(23px,4vw,42px);
  background: #fff;
  border: 1px solid var(--edu-line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.education-empty h2 { margin-bottom: 10px; }
.education-empty p { margin: 0; color: var(--muted); }
.education-empty img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 16px; }
.education-empty .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.education-page .education-content-section { background: var(--edu-paper); }
.education-page .education-content-section .container { max-width: 1150px; }
.education-page .education-faq-illustration {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(190px,.48fr);
  gap: 32px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.education-faq-illustration img { display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-md); }
.education-page .faq-list { max-width: 890px; }
.education-page .faq-item { border-color: var(--edu-line); border-radius: 13px; box-shadow: 0 3px 14px rgba(8,61,98,.035); }
.education-page .faq-q { min-height: 72px; color: var(--navy); }
.education-page .faq-q:focus-visible { position: relative; z-index: 1; }
.education-page .faq-q .faq-icon { color: var(--blue); }
.education-page .faq-item.open .faq-icon { color: #fff; background: var(--blue); }
.education-page .faq-a-inner { line-height: 1.75; }
.education-page .post-card { height: 100%; }
.education-page .post-card .post-thumb { display: block; }
.education-page .post-card .post-body { min-height: 255px; }
.education-page .post-card h3 { line-height: 1.34; }
.education-page .education-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.education-page .education-pagination a,
.education-page .education-pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--edu-line);
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
}
.education-page .education-pagination .current { color: #fff; background: var(--navy); border-color: var(--navy); }
.education-reading { padding: clamp(34px,5vw,68px) 0 clamp(54px,7vw,90px); background: var(--edu-paper); }
.education-reading .article-body { max-width: 900px; margin-inline: auto; padding: clamp(23px,5vw,58px); background: #fff; border: 1px solid var(--edu-line); border-radius: 6px 22px 22px 22px; box-shadow: 0 12px 36px rgba(20,58,59,.055); }
.education-article-cover { margin: 0 0 34px; }
.education-article-cover img { display: block; width: 100%; max-height: 520px; aspect-ratio: 1.65; object-fit: cover; border-radius: 14px; }
.education-article-cover figcaption { margin-top: 10px; color: var(--muted); font-size: .74rem; text-align: center; }
.education-article-content { color: var(--edu-ink); font-size: 1.02rem; line-height: 1.86; overflow-wrap: anywhere; }
.education-article-content h2,
.education-article-content h3 { scroll-margin-top: calc(var(--header-h) + 20px); }
.education-article-content h2 { margin: 1.7em 0 .55em; padding-top: .25em; font-size: clamp(1.55rem,2.7vw,2rem); }
.education-article-content h2::after { content: ""; display: block; width: 42px; height: 2px; margin-top: 12px; background: var(--cyan); }
.education-article-content h3 { margin-top: 1.45em; }
.education-article-content a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--edu-line); text-underline-offset: 3px; }
.education-article-content li::marker { color: var(--cyan); }
.education-reading .byline { border-top: 1px solid var(--edu-line); padding-top: 23px; margin-top: 30px; }
.education-reading .disclaimer-box { margin-top: 30px; border-color: var(--edu-line); background: var(--edu-paper); }
.education-media-column { max-width: 960px; margin: 0 auto; }
.education-media-column .media-frame { margin-inline: auto; border-radius: 18px; background: #082e4b; }
.education-video-detail-art { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(220px,.58fr); gap: 28px; align-items: center; }
.education-video-detail-art figure { margin: 0; }
.education-video-detail-art figure img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 17px; }
.education-video-detail-art figcaption { margin-top: 8px; color: var(--muted); font-size: .73rem; text-align: center; }
.education-video-supporting-art { max-width: 680px; margin: 28px auto 0; }
.education-video-supporting-art img { display: block; width: 100%; aspect-ratio: 1.7; object-fit: cover; border-radius: 16px; }
.education-video-supporting-art figcaption { margin-top: 8px; color: var(--muted); font-size: .73rem; text-align: center; }
.education-video-text { max-width: 800px; margin: 38px auto 0; }
.education-video-text h2 { margin: 1.65em 0 .55em; }
.education-video-text > div { line-height: 1.8; overflow-wrap: anywhere; }
.education-video-text .disclaimer-box { margin-top: 34px; }
.education-page .tag { display: inline-flex; padding: 6px 13px; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.education-page .education-hero .tag { color: var(--navy); background: #9de1d4; }
.education-page .education-hero .hero-meta { margin: 16px 0 0; color: #c4d9e3; font-size: .88rem; }
.education-page .section-navy .video-card { height: 100%; }
.education-page .video-grid { align-items: stretch; }
.education-page .not-found { min-height: 36vh; padding-block: 70px; }
.education-page :target { scroll-margin-top: calc(var(--header-h) + 20px); }
.education-page a:focus-visible,
.education-page button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 980px) {
  .education-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .education-hero-grid { grid-template-columns: minmax(0,1fr) minmax(230px,.72fr); gap: 28px; }
  .education-page .post-card .post-body { min-height: 230px; }
}
@media (max-width: 680px) {
  .education-hero { padding-top: 18px; }
  .education-hero-grid { grid-template-columns: minmax(0,1fr); padding-top: 31px; gap: 25px; }
  .education-page .education-hero h1 { max-width: 16ch; font-size: clamp(2.45rem,11.5vw,3.8rem); }
  .education-hero-art { width: min(100%,500px); margin-inline: auto; }
  .education-art-frame { width: 90%; margin-inline: auto; }
  .education-intro { display: block; }
  .education-intro p { margin-top: 12px; }
  .education-feature-row,
  .education-video-detail-art { grid-template-columns: minmax(0,1fr); }
  .education-feature-art { max-width: 500px; margin-inline: auto; }
  .education-pathway { grid-template-columns: 38px minmax(0,1fr) auto; gap: 11px; padding: 14px; }
  .education-page .education-faq-illustration { grid-template-columns: minmax(0,1fr); }
  .education-faq-illustration img { max-width: 450px; margin-inline: auto; }
  .education-empty { grid-template-columns: minmax(0,1fr); }
  .education-empty img { max-width: 400px; margin-inline: auto; }
  .education-page .post-card .post-body { min-height: 0; }
  .education-reading .article-body { padding: 22px 19px; }
  .education-article-content { font-size: .97rem; }
  .education-article-cover img { aspect-ratio: 1.25; }
}
@media (max-width: 400px) {
  .education-topic-grid { gap: 12px; }
  .education-topic-copy { padding: 15px 14px 16px; }
  .education-topic h3 { font-size: 1.04rem; }
  .education-topic p { font-size: .82rem; }
  .education-page .filter-pills { gap: 7px; }
  .education-page .filter-pill { padding: 8px 13px; font-size: .78rem; }
  .education-page .faq-q { padding: 17px 16px; font-size: .93rem; }
  .education-page .faq-a-inner { padding: 0 16px 19px; }
  .education-empty .btn-row { flex-direction: column; }
  .education-empty .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .education-page *,
  .education-page *::before,
  .education-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
