/* Adelphos Healthcare: shared styles. Page sections carry their own inline styles. */
:root {
  --color-ink: #1E2A28; --color-ink-soft: #414B47; --color-muted: #51635F;
  --color-bg-alt: #EFEAE1; --color-border: #E5DFD5; --color-cream: #FFFFFF;
  --color-clay: #9A4A30; --color-pine: #175E57;
  --font-display: 'Fraunces', Georgia, serif; --radius-lg: 14px;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #F7F5F0; }
img { max-width: 100%; }
a { color: #175E57; }
a:hover { color: #123F3A; }
summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #D6A24A; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: #FFFFFF; color: #175E57; padding: 12px 18px; font: 700 16px 'Figtree', system-ui, sans-serif; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header and menu */
.site-header { background: #F7F5F0; border-bottom: 1px solid #E5DFD5; }
.site-header-inner { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 72px; width: auto; margin: -9px 0 -9px -10px; display: block; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px 15px; font-size: 15px; font-weight: 600; }
.site-nav a { color: #1E2A28; text-decoration: none; padding: 10px 0; white-space: nowrap; }
.site-nav a:hover { color: #175E57; }
.site-nav a[aria-current="page"] { color: #175E57; box-shadow: inset 0 -2px 0 #D6A24A; }
.site-nav a.nav-portal { border: 1.5px solid #175E57; color: #175E57; padding: 9px 14px; border-radius: 999px; font-weight: 700; }
.site-nav a.nav-book { background: #B25A3D; color: #FFFFFF; padding: 10.5px 16px; border-radius: 999px; font-weight: 700; }
.site-nav a.nav-book:hover { background: #9A4A30; color: #FFFFFF; }
.nav-toggle { display: none; min-height: 46px; padding: 10px 20px; border: 1.5px solid #175E57; border-radius: 999px; background: transparent; color: #175E57; font: 700 16px 'Figtree', system-ui, sans-serif; cursor: pointer; }
@media (max-width: 1239px) {
  .site-header-inner { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 10px; font-size: 17px; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-top: 1px solid #E5DFD5; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav a.nav-portal, .site-nav a.nav-book { text-align: center; margin-top: 12px; padding: 14px 18px; border-top-width: 1.5px; }
  .site-nav a.nav-book { border: 0; }
}
@media (max-width: 480px) { .brand img { height: 64px; } }

/* Self-assessment questions (built by assessment.js) */
.quiz-q { border: 0; border-top: 1px solid #E5DFD5; margin: 0; padding: 20px 0 10px; min-width: 0; }
.quiz-q legend { padding: 0; float: left; width: 100%; margin: 0 0 12px; font-weight: 600; color: #1E2A28; }
.quiz-q .quiz-opts { clear: both; }
.quiz-opt { min-height: 46px; margin: 0 10px 10px 0; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; background: #FFFFFF; color: #1E2A28; border: 1.5px solid #6E827E; }
.quiz-opt:hover { border-color: #175E57; }
.quiz-opt[aria-pressed="true"] { background: #175E57; color: #FFFFFF; border-color: #175E57; }

/* Articles and policy pages */
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.08rem; line-height: 1.75; color: #414B47; }
.article-body h2, .article-body h3, .article-body h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; color: #1E2A28; }
.article-body h2 { font-size: 1.85rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.article-body p { margin: 0 0 1rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: .45rem; }
.article-body blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid #D6A24A; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.25rem; color: #175E57; }
.article-body svg { max-width: 100%; height: auto; }
.article-body figure { margin: 2rem 0; }
.article-body figcaption { font-size: .9rem; color: #51635F; margin-top: .5rem; }
.article-body .btn, .btn { display: inline-block; background: #B25A3D; color: #FFFFFF; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 700; }
.btn:hover { background: #9A4A30; color: #FFFFFF; }

/* Fee table and note box on the legal pages */
.fee-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; background: #FFFFFF; border-radius: 14px; overflow: hidden; }
.fee-table th, .fee-table td { padding: 14px 18px; border-top: 1px solid #E5DFD5; text-align: left; font-weight: 500; }
.fee-table tr:first-child th, .fee-table tr:first-child td { border-top: 0; }
.fee-table td { text-align: right; font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; color: #175E57; white-space: nowrap; }
.note-box { background: #E3EDEA; border-left: 5px solid #175E57; border-radius: 14px; padding: 18px 22px; margin: 1.25rem 0; color: #1E2A28; }
.note-box p:last-child, .note-box ol:last-child { margin-bottom: 0; }
