/* Patient education uses the clinic's existing type, blue, and warm neutrals. */
.education-page { color: #2c2c2c; }
.education-page [hidden] { display: none !important; }
.education-container { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.education-skip { position: fixed; z-index: 100; left: 16px; top: -100px; background: #fff; padding: 12px 20px; color: #095476; }
.education-skip:focus { top: 12px; }
.education-page a:focus-visible, .education-page button:focus-visible, .education-page summary:focus-visible, .education-page input:focus-visible { outline: 3px solid #118dc3; outline-offset: 4px; }
.education-page .btn-primary { display: inline-flex; align-items: center; justify-content: center; text-align: center; color: white; }
.education-page .btn-primary:hover { color: white; }
.education-page header .group:focus-within > div { opacity: 1; visibility: visible; }
.education-hero { background: #faf7f2; padding: 32px 0 68px; border-bottom: 1px solid #e8e3dc; }
.education-breadcrumb { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; color: #62666a; font-size: 14px; }
.education-breadcrumb a { color: #095476; }
.education-eyebrow { color: #0d6a96; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; }
.education-hero h1 { font-size: clamp(40px, 5vw, 70px); max-width: 900px; margin-top: 16px; }
.education-intro { font-size: 20px; line-height: 1.65; max-width: 690px; margin-top: 24px; color: #53585d; }
.education-text-link { display: inline-block; color: #095476; margin-top: 28px; font-weight: 600; border-bottom: 1px solid #0d6a96; padding-bottom: 3px; }
.education-library { padding-top: 64px; padding-bottom: 64px; scroll-margin-top: 110px; }
.education-library-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.education-library h2, .education-help h2 { font-size: 38px; margin-top: 10px; }
.education-search { min-width: 280px; }
.education-search label { display: block; font-size: 14px; color: #53585d; margin-bottom: 6px; }
.education-search input { border: 1px solid #b8c6cc; border-radius: 4px; padding: 12px 14px; width: 100%; font-size: 16px; background: #fff; color: #2c2c2c; }
.education-count { color: #62666a; margin-top: 24px; font-size: 14px; }
.education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 12px; }
.education-card { padding: 32px 0; border-top: 1px solid #d9e0e3; display: flex; flex-direction: column; align-items: start; }
.education-card h2 { font-size: 32px; margin: 14px 0; }
.education-card h2 a { color: #2c2c2c; }
.education-card h2 a:hover { color: #0d6a96; text-decoration: underline; text-underline-offset: 5px; }
.education-card p { color: #53585d; margin-bottom: 24px; }
.education-read { color: #095476; margin-top: auto; font-weight: 600; }
.education-read span { margin-left: 6px; }
.education-empty { padding: 36px 0; }
.education-empty button { color: #095476; text-decoration: underline; }
.education-help { border-top: 1px solid #d9e0e3; padding-top: 40px; padding-bottom: 64px; display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.education-help p { max-width: 660px; margin-top: 14px; color: #53585d; }
.education-help .btn-primary { flex-shrink: 0; }
.education-article-hero h1 { font-size: clamp(38px, 4.7vw, 62px); max-width: 940px; }
.education-byline { color: #62666a; font-size: 14px; margin-top: 18px; }
.education-byline + .education-byline { margin-top: 4px; }
.education-byline a { text-decoration: underline; text-underline-offset: 3px; color: #095476; }
.education-article-layout { display: grid; grid-template-columns: 230px minmax(0, 750px); gap: 64px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.education-toc { position: sticky; top: 110px; font-size: 14px; }
.education-toc summary { font-weight: 600; color: #095476; cursor: pointer; padding: 6px 0; }
.education-toc ol { padding-left: 0; list-style: none; margin-top: 14px; }
.education-toc li { margin-bottom: 12px; line-height: 1.5; }
.education-toc a:hover { text-decoration: underline; }
.education-back { display: block; margin-top: 28px; padding-top: 22px; border-top: 1px solid #d9e0e3; color: #095476; }
.guide-copy { min-width: 0; font-size: 18px; line-height: 1.8; }
.guide-copy h2 { font-size: 34px; margin: 42px 0 18px; scroll-margin-top: 115px; }
.guide-copy h3 { font-size: 26px; margin: 28px 0 12px; }
.guide-copy p { margin: 0 0 20px; }
.guide-copy > p:first-child { background: #e6f4fc; border-left: 3px solid #118dc3; padding: 24px 28px; margin-bottom: 32px; }
.guide-copy ul, .guide-copy ol { margin: 16px 0 24px; padding-left: 24px; list-style: disc; }
.guide-copy ol { list-style: decimal; }
.guide-copy li { padding-left: 5px; margin: 8px 0; }
.guide-copy a { color: #095476; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.guide-copy a:hover { color: #0d6a96; }
.guide-copy .btn-primary { text-decoration: none; color: #fff; }
.guide-copy sup { font-size: 12px; }
.guide-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; line-height: 1.65; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid #d9e0e3; overflow-wrap: anywhere; }
.guide-table thead { background: #e6f4fc; }
.guide-table th { font-weight: 600; }
.guide-table tbody th { width: 35%; }
.education-sources { border-top: 1px solid #d9e0e3; margin-top: 42px; font-size: 15px; }
.education-sources li { scroll-margin-top: 115px; }
.guide-copy .education-note { color: #62666a; font-size: 15px; }
.education-treatment { background: #faf7f2; padding: 30px; margin-top: 36px; }
.guide-copy .education-treatment h2 { margin-top: 12px; }
.education-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 16px; }
.education-related { margin-top: 36px; border-top: 1px solid #d9e0e3; }
.education-mobile-cta { display: none; }
@media (max-width: 1023px) {
  .education-article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 36px; }
  .education-help { display: block; }
  .education-help .btn-primary { margin-top: 24px; }
}
@media (max-width: 767px) {
  .education-container { padding-left: 24px; padding-right: 24px; }
  .education-hero { padding: 24px 0 40px; }
  .education-breadcrumb { margin-bottom: 28px; font-size: 13px; }
  .education-desktop-break { display: none; }
  .education-intro { font-size: 18px; }
  .education-library { padding-top: 40px; padding-bottom: 32px; }
  .education-library-heading { display: block; }
  .education-library h2, .education-help h2 { font-size: 32px; }
  .education-search { min-width: 0; margin-top: 24px; }
  .education-grid { grid-template-columns: 1fr; }
  .education-card h2 { font-size: 30px; }
  .education-article-layout { display: block; padding-top: 28px; padding-bottom: 40px; }
  .education-toc { position: static; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid #d9e0e3; }
  .education-back { margin-top: 18px; padding-top: 14px; }
  .guide-copy { font-size: 17px; }
  .guide-copy h2 { font-size: 30px; }
  .guide-table { font-size: 16px; }
  .guide-table th, .guide-table td { padding: 12px 8px; }
  .guide-copy > p:first-child { padding: 20px; }
  .education-treatment { padding: 24px; }
  .education-actions { align-items: stretch; flex-direction: column; }
  .education-page { padding-bottom: 82px; }
  .education-mobile-cta { display: block; position: fixed; inset: auto 0 0; z-index: 60; background: #fff; border-top: 1px solid #d9e0e3; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
  .education-mobile-cta a { display: flex; width: 100%; padding: 12px; }
  .education-page #mobileMenu { max-height: calc(100dvh - 180px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .education-page *, .education-page *::before, .education-page *::after { scroll-behavior: auto !important; transition: none !important; }
  html:has(.education-page) { scroll-behavior: auto; }
}
