/* ==========================================================================
   CGB Çalışma Grubu — hasta ve aile bilgilendirme sitesi
   ========================================================================== */

:root {
  --primary: #204b65;
  --accent: #f1584c;
  --sky: #22c1df;
  --primary-dark: color-mix(in srgb, var(--primary) 80%, #000);
  --primary-tint: color-mix(in srgb, var(--primary) 7%, #fff);
  --primary-soft: color-mix(in srgb, var(--primary) 16%, #fff);
  --accent-tint: color-mix(in srgb, var(--accent) 9%, #fff);
  --accent-line: color-mix(in srgb, var(--accent) 30%, #fff);
  --ink: #13222d;
  --text: #24323c;
  --muted: #55636e;
  --line: #dce2e6;
  --line-strong: #b9c4cb;
  --wash: #f5f3ee;
  --focus: #ffcf3f;
  --footer: #10202b;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--primary-dark);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  box-shadow: 0 0 0 6px var(--ink);
}

a:focus-visible {
  outline: none;
  background-color: var(--focus);
  color: var(--ink) !important;
  box-shadow: 0 -2px var(--focus), 0 4px var(--ink);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon--sm {
  width: 1em;
  height: 1em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--focus);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* ---- Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn .icon {
  transition: transform 0.2s;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--primary);
}

.btn--light:hover {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  background: var(--ink);
  color: #fff;
}

/* ---- Header ---------------------------------------------------------- */

.topbar {
  background: var(--footer);
  color: #c4d0d8;
  font-size: 0.9rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__text {
  margin: 0;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.topbar__link:hover {
  color: #fff;
  text-decoration: underline;
}

.masthead {
  background: #fff;
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand__logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__org {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  filter: saturate(1.1) brightness(0.88);
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand__tagline {
  font-size: 0.98rem;
  color: var(--muted);
  margin-top: 2px;
}

.search {
  display: flex;
  margin-left: auto;
  flex: 0 1 340px;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 2px solid var(--line-strong);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}

.search input::placeholder {
  color: #78858f;
}

.search input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 3px var(--focus);
}

.search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 52px;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.search button:hover {
  background: var(--primary-dark);
}

.search--mobile {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 14px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__close {
  display: inline;
}

.mainnav {
  background: var(--primary);
}

.mainnav__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -18px;
  padding: 0;
  list-style: none;
}

.mainnav__list a {
  position: relative;
  display: block;
  padding: 15px 18px;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.mainnav__list a:hover {
  background: var(--primary-dark);
  color: #fff;
}

.mainnav__list a[aria-current='page'] {
  background: var(--primary-dark);
}

.mainnav__list a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 4px;
  background: var(--accent);
}

.announcement {
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

.announcement--info {
  background: var(--primary-tint);
}

.announcement--important {
  background: var(--accent-tint);
  border-bottom-color: var(--accent-line);
}

.announcement__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 12px;
}

.announcement__inner .icon {
  margin-top: 3px;
  color: var(--primary);
}

.announcement--important .icon {
  color: var(--accent);
}

.announcement p {
  margin: 0;
}

.announcement a {
  font-weight: 650;
  margin-left: 6px;
}

/* ---- Shared ---------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--accent);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.55;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.empty {
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff1dc;
  color: #7a4300;
  font-size: 0.82rem;
  font-weight: 650;
  vertical-align: 1px;
}

/* ---- Home ------------------------------------------------------------ */

.home-hero {
  background: var(--primary);
  color: #fff;
  padding-block: clamp(48px, 7vw, 88px);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.home-hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.home-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
  line-height: 1.1;
  max-width: 20ch;
}

.home-hero .lead {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.start-panel {
  background: #fff;
  color: var(--text);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 28px 14px;
  box-shadow: 0 28px 48px -30px rgba(4, 18, 28, 0.6);
}

.start-panel h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.start-panel > p {
  margin: 0 0 14px;
  color: var(--muted);
}

.start-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-steps li + li {
  border-top: 1px solid var(--line);
}

.start-steps a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  color: var(--primary);
  font-weight: 650;
  text-decoration: none;
}

.start-steps__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-tint);
  border: 1px solid var(--primary-soft);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.start-steps a .icon {
  margin-left: auto;
  opacity: 0.55;
  transition: transform 0.2s, opacity 0.2s;
}

.start-steps a:hover .start-steps__label {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.start-steps a:hover .icon {
  opacity: 1;
  transform: translateX(3px);
}

.home-notice {
  background: var(--accent-tint);
  border-bottom: 1px solid var(--accent-line);
}

.home-notice__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px 24px;
  align-items: center;
  padding-block: 26px;
}

.home-notice__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.home-notice__icon .icon {
  width: 26px;
  height: 26px;
}

.home-notice h2 {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.home-notice .prose {
  max-width: 78ch;
}

.home-notice .prose p {
  margin: 0;
}

.home-index {
  padding-block: clamp(56px, 7vw, 88px);
}

.index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.index-list li {
  border-top: 1px solid var(--line);
}

.index-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  padding: 22px 0 24px;
  color: inherit;
  text-decoration: none;
}

.index-item:hover {
  color: inherit;
}

.index-item__title {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
}

.index-item__summary {
  grid-column: 1;
  margin-top: 6px;
  color: var(--muted);
  font-size: 1.04rem;
}

.index-item__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--primary);
  transition: transform 0.2s;
}

.index-item:hover .index-item__title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.index-item:hover .index-item__arrow {
  transform: translateX(4px);
}

.more {
  margin: 26px 0 0;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.home-about {
  background: var(--wash);
  padding-block: clamp(56px, 7vw, 88px);
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.home-about h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.2rem);
}

.home-about .prose {
  margin-bottom: 26px;
}

.home-about__figure {
  margin: 0;
}

.home-about__figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.org-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.org-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.org-card__head img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.org-card__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.org-card__name {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
}

.contact-list .icon {
  margin-top: 3px;
}

.contact-list--dark li {
  border-top: 1px solid var(--line);
}

.contact-list--dark .icon {
  color: var(--primary);
}

.contact-band {
  padding-block: clamp(48px, 6vw, 72px);
}

.contact-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}

.contact-band__inner > div {
  border-left: 5px solid var(--accent);
  padding-left: 24px;
}

.contact-band h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
}

.contact-band p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.contact-band .btn {
  flex-shrink: 0;
}

/* ---- Inner pages ----------------------------------------------------- */

.preview-bar {
  background: #fff3c4;
  border-bottom: 1px solid #ecd27a;
  color: #4d3a00;
  font-weight: 600;
}

.preview-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding-block: 28px clamp(36px, 5vw, 56px);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero h1 {
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  max-width: 24ch;
}

.page-hero .lead {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 64ch;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin: 0 12px 0 10px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  border-right: 1.5px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
}

.breadcrumb a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.breadcrumb [aria-current] {
  color: rgba(255, 255, 255, 0.82);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(40px, 6vw, 88px);
  padding-block: clamp(40px, 5vw, 60px) clamp(56px, 7vw, 96px);
}

.page-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.page-layout--single .page-main {
  max-width: 860px;
}

.page-aside {
  align-self: start;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding-bottom: 8px;
}

.aside-block {
  border-top: 4px solid var(--primary);
  padding-top: 14px;
  margin-bottom: 36px;
}

.aside-block h2 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  border-left-color: var(--primary);
  color: var(--primary);
}

.toc a.is-active {
  border-left-color: var(--accent);
  color: var(--primary);
  font-weight: 650;
}

.sidenav__root {
  margin: 0 0 6px;
  font-weight: 700;
}

.sidenav__root a {
  color: var(--ink);
  text-decoration: none;
}

.sidenav__root a:hover {
  text-decoration: underline;
}

.sidenav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidenav li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
}

.sidenav li a:hover {
  text-decoration: underline;
}

.sidenav li a[aria-current='page'] {
  padding-left: 14px;
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 4px 0 0 var(--accent);
}

/* ---- Prose (editor output) ------------------------------------------- */

.prose {
  max-width: 70ch;
  font-size: 1.125rem;
  line-height: 1.7;
}

.prose > :first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose h2 {
  margin: 2em 0 0.6em;
  font-size: 1.7rem;
  scroll-margin-top: 24px;
}

.prose h3 {
  margin: 1.7em 0 0.5em;
  font-size: 1.3rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 650;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.prose li {
  margin: 0.45em 0;
  padding-left: 0.25em;
}

.prose li > p {
  margin: 0;
}

.prose ul li::marker {
  color: var(--accent);
}

.prose ol li::marker {
  color: var(--primary);
  font-weight: 700;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 2px 0 2px 22px;
  border-left: 4px solid var(--sky);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose img {
  display: block;
  margin: 1.8em 0;
  border-radius: var(--radius);
}

.prose img[data-size='small'] {
  width: 50%;
}

.prose img[data-size='medium'] {
  width: 75%;
}

.prose img[data-size='full'] {
  width: 100%;
}

.prose .video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.8em 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.prose .video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.callout {
  --callout: var(--primary);
  position: relative;
  margin: 1.7em 0;
  padding: 18px 22px 18px 58px;
  border-left: 5px solid var(--callout);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--primary-tint);
}

.callout::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 21px;
  width: 22px;
  height: 22px;
  background: var(--callout);
  -webkit-mask: var(--callout-icon) center / contain no-repeat;
  mask: var(--callout-icon) center / contain no-repeat;
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout--info {
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 16.5v-5M12 7.6v.1'/%3E%3C/svg%3E");
}

.callout--important {
  --callout: var(--accent);
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5M12 16.4v.1'/%3E%3C/svg%3E");
  background: var(--accent-tint);
}

.callout--warning {
  --callout: #c98a00;
  --callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17v.1'/%3E%3C/svg%3E");
  background: #fff7e2;
}

.prose--intro {
  font-size: 1.2rem;
  margin-bottom: 36px;
}

.prose--compact {
  font-size: 1.06rem;
  line-height: 1.6;
}

.prose--compact p {
  margin: 0 0 0.7em;
}

/* ---- Article footer & pager ------------------------------------------ */

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-meta dl {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0;
}

.page-meta dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-meta dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.print-btn:hover {
  background: var(--primary-tint);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.pager a:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.pager__next {
  grid-column: 2;
  text-align: right;
  align-items: flex-end;
}

.pager__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--muted);
}

.pager__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}

/* ---- Documents, links, FAQ ------------------------------------------- */

.list-group {
  margin-top: 48px;
}

.list-group > h2 {
  margin: 0;
  padding-bottom: 12px;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--ink);
}

.doc-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.doc:target {
  background: #fffbe6;
  box-shadow: 0 0 0 12px #fffbe6;
}

.doc__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 62px;
  border-radius: 3px;
  background: var(--primary-tint);
  border: 1px solid var(--primary-soft);
  color: var(--primary);
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}

.doc__type span {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc__title {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.16rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
}

.doc__desc {
  margin: 6px 0 0;
}

.doc__meta {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.doc__action {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.doc__action:hover {
  background: var(--primary);
  color: #fff;
}

.ext-link {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.ext-link a {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.ext-link__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.16rem;
  font-weight: 650;
}

.ext-link a:hover .ext-link__title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.ext-link__host {
  font-size: 0.92rem;
  color: var(--muted);
}

.ext-link p {
  margin: 6px 0 0;
  max-width: 70ch;
}

.faq {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--primary);
}

.faq__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s, background-color 0.2s;
}

.faq[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--primary-tint);
}

.faq__answer {
  padding: 0 52px 18px 0;
}

.contact-details {
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 6px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: var(--ink);
}

.contact-details dt .icon {
  color: var(--primary);
}

.contact-details dd {
  margin: 0;
}

/* ---- Search ---------------------------------------------------------- */

.search--hero {
  margin: 24px 0 0;
  max-width: 640px;
}

.search--hero input {
  height: 56px;
  border: 0;
  font-size: 1.1rem;
}

.search--hero input:focus {
  box-shadow: inset 0 0 0 3px var(--focus);
}

.search--hero button {
  height: 56px;
  padding: 0 22px;
  background: var(--footer);
}

.search--hero button:hover {
  background: #000;
}

.search-summary {
  margin: 0 0 8px;
  font-weight: 650;
  color: var(--ink);
}

.results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.results li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.results__kind {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.results a {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.results p {
  margin: 6px 0 0;
}

.results mark {
  background: #ffe68a;
  color: inherit;
  padding: 0 1px;
}

/* ---- Footer ---------------------------------------------------------- */

.site-footer {
  background: var(--footer);
  color: #c4d0d8;
  font-size: 1rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 56px;
  padding-block: 56px 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.footer-brand:hover {
  color: #fff;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.footer-brand > span {
  display: flex;
  flex-direction: column;
}

.footer-brand__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93a6b3;
}

.footer-brand__name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
}

.site-footer__about p {
  margin: 20px 0 0;
  max-width: 46ch;
  line-height: 1.6;
}

.site-footer__col h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93a6b3;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__col > ul > li > a {
  display: inline-block;
  padding: 5px 0;
}

.site-footer .contact-list li {
  padding: 6px 0;
}

.site-footer .contact-list .icon {
  color: #93a6b3;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 16px !important;
}

.site-footer .social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.site-footer .social a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.social .icon {
  width: 20px;
  height: 20px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 24px 32px;
}

.site-footer__disclaimer {
  margin: 0 0 18px;
  max-width: 90ch;
  color: #a7b6c0;
  font-size: 0.95rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 0.95rem;
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a {
  color: #dbe3e8;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer__legal p {
  margin: 0;
  color: #a7b6c0;
}

/* ---- Responsive ------------------------------------------------------ */

@media (max-width: 1020px) {
  .home-hero__grid,
  .home-about__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .start-panel {
    max-width: 560px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-aside {
    position: static;
    max-height: none;
    overflow: visible;
    order: -1;
  }

  .page-aside .sidenav {
    display: none;
  }

  .page-aside .toc {
    margin-bottom: 0;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .masthead .search {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mainnav {
    display: none;
  }

  .mainnav.is-open {
    display: flow-root;
  }

  .mainnav__list {
    flex-direction: column;
    margin: 0 calc(var(--gutter) * -1);
    padding-top: 6px;
  }

  .mainnav__list a {
    padding: 14px var(--gutter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mainnav__list a[aria-current='page']::after {
    left: 0;
    right: auto;
    top: 0;
    width: 5px;
    height: 100%;
  }

  .search--mobile {
    display: flex;
    margin: 16px 0 20px;
  }

  .search--mobile input {
    border: 0;
  }

  .search--mobile button {
    background: var(--footer);
  }

  .index-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-notice__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-notice__inner .btn {
    grid-column: 2;
    justify-self: start;
  }

  .contact-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1.0625rem;
  }

  .topbar__text {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-end;
  }

  .masthead__inner {
    padding-block: 14px;
    gap: 12px;
  }

  .brand {
    gap: 12px;
  }

  .brand__logo {
    width: 50px;
    height: 50px;
  }

  .brand__name {
    font-size: 1.12rem;
  }

  .brand__tagline {
    display: none;
  }

  .menu-toggle__label {
    display: none;
  }

  .home-notice__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-notice__inner .btn {
    grid-column: 1;
  }

  .doc {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .doc__type {
    height: 52px;
  }

  .doc__action {
    grid-column: 2;
    justify-self: start;
    margin-top: 10px;
  }

  .contact-details > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager__next {
    grid-column: 1;
  }

  .faq__answer {
    padding-right: 0;
  }

  .prose img[data-size='small'],
  .prose img[data-size='medium'] {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

@media print {
  .topbar,
  .mainnav,
  .search,
  .menu-toggle,
  .announcement,
  .page-aside,
  .pager,
  .print-btn,
  .site-footer__grid,
  .site-footer__legal ul,
  .preview-bar {
    display: none !important;
  }

  body {
    font-size: 11pt;
  }

  .page-hero {
    background: none;
    color: #000;
    padding: 0;
  }

  .page-hero h1,
  .page-hero .lead,
  .breadcrumb a,
  .breadcrumb [aria-current] {
    color: #000;
  }

  .page-layout {
    display: block;
    padding: 16pt 0 0;
  }

  .site-footer {
    background: none;
    color: #000;
  }

  .site-footer__disclaimer,
  .site-footer__legal p {
    color: #000;
  }
}
