:root {
  color-scheme: light;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ink: #192b38;
  --body: #344650;
  --muted: #546572;
  --link: #175572;
  --rule: #dbe2e6;
  --tint: #f3f6f8;
  --ug-header-height: 3.5rem;
  --ug-reading-offset: calc(var(--ug-header-height) + 1rem);
}
* { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); font: 400 1rem/1.6 var(--font); }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #407d97;
  outline-offset: 3px;
}
button { font: inherit; }
.ug-topline { height: 0; }
.ug-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.ug-head, .ug-hero-inner, .ug-wrap, .ug-footer-inner {
  width: min(100% - 3rem, 71rem);
  margin-inline: auto;
}
.ug-head {
  min-height: var(--ug-header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ug-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
}
.ug-mark {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  background: #223d4e;
  color: white;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
}
.ug-brand strong { font-size: 1rem; font-weight: 650; letter-spacing: -.025em; }
.ug-menu { display: none; position: relative; }
.ug-menu summary, .ug-copy {
  background: white;
  color: var(--ink);
  border: 1px solid #b9c6cd;
  border-radius: .2rem;
  font-size: .875rem;
  font-weight: 550;
  cursor: pointer;
}
.ug-menu summary { padding: .55rem .8rem; min-height: 44px; }
.ug-mobile-panel {
  position: absolute;
  z-index: 3;
  right: 0;
  top: calc(100% + .35rem);
  min-width: min(18rem, calc(100vw - 2rem));
  max-height: calc(100dvh - var(--ug-header-height) - 1.5rem);
  overflow: auto;
  padding: .375rem;
  background: white;
  border: 1px solid var(--rule);
}
.ug-mobile-panel a, .ug-side a {
  display: block;
  font-size: .875rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--muted);
}
.ug-mobile-panel a { padding: .75rem; }
.ug-side a { padding: .36rem .8rem; border-left: 2px solid transparent; }
.ug-side a:hover, .ug-mobile-panel a:hover { color: var(--ink); background: var(--tint); }
.ug-side [aria-current="page"], .ug-mobile-panel [aria-current="page"] {
  border-color: var(--link);
  background: #edf3f6;
  color: var(--ink);
  font-weight: 600;
}
.ug-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #183449 url("algarve-cliffs.jpg") center 52% / cover no-repeat;
}
.ug-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13,35,49,.88), rgba(13,35,49,.72) 50%, rgba(13,35,49,.27));
}
.ug-hero-inner { padding-block: 3.5rem 3.75rem; }
.ug-eyebrow { display: block; color: #f1c3ab; font-size: .6875rem; letter-spacing: .15em; font-weight: 700; text-transform: uppercase; }
.ug-hero h1 {
  max-width: 56.25rem;
  margin: .9375rem 0;
  font: 400 clamp(2.625rem, 5.7vw, 4.375rem)/1.03 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}
.ug-content .ug-topic-title {
  margin: 0 0 .55rem;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.025em;
}
.ug-hero p { max-width: 46.25rem; margin: 0; color: #edf2f4; font-size: 1.0625rem; }
.ug-body {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: 2.25rem 4.5rem;
}
.ug-side { position: sticky; top: var(--ug-reading-offset); max-height: calc(100dvh - var(--ug-reading-offset) - 1rem); overflow: auto; }
.ug-side strong { display: block; padding: 0 .8rem .5rem; font-size: .875rem; font-weight: 600; }
.ug-side nav { border-left: 1px solid var(--rule); }
.ug-content { min-width: 0; max-width: 70ch; color: var(--body); }
#guide-content { scroll-margin-top: var(--ug-reading-offset); }
#guide-content:focus { outline: none; }
.ug-topic-title { display: none; }
#guide-content:target .ug-topic-title { display: block; }
.ug-content h2 {
  margin: 2rem 0 .55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.015em;
}
.ug-content .ug-topic-title { padding: 0; border: 0; color: var(--ink); }
.ug-content h3, .ug-content h4 {
  margin: 1.25rem 0 .375rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}
.ug-content p { margin: 0 0 .9rem; }
.ug-content .ug-lead { font: inherit; margin: 0 0 1.25rem; }
.ug-content :is(ul, ol) { padding-left: 1.45rem; }
.ug-content li { padding: .15rem 0 .3rem; }
.ug-list-check li::marker { content: "□  "; color: var(--muted); }
.ug-callout { margin: 1.25rem 0; padding: .85rem 1rem; border-left: 2px solid #7994a4; background: var(--tint); }
.ug-callout > :last-child { margin-bottom: 0; }
.ug-alert { border-left-color: #92714b; }
.ug-grid, .chapter-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; }
.ug-grid { margin-block: 1rem; }
.ug-card, .chapter-link { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.ug-card-label { display: block; color: var(--muted); font-size: .8125rem; margin-bottom: .25rem; }
.ug-card h3, .chapter-group h3 { margin-top: 0; }
.ug-card p { font-size: .9375rem; margin: 0; }
.ug-table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: .9375rem; line-height: 1.5; }
.ug-table caption { text-align: left; font-weight: 600; padding-bottom: .5rem; }
.ug-table th, .ug-table td { border-bottom: 1px solid var(--rule); padding: .65rem .55rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.ug-table th { color: var(--ink); font-weight: 600; }
.ug-table thead, .ug-table tfoot { background: var(--tint); }
.chapter-group { margin: 1.35rem 0 2rem; }
.chapter-group h3 { margin-bottom: 0; }
.chapter-link { text-decoration: none; }
.chapter-link strong { font-weight: 600; }
.chapter-link:hover strong, .chapter-link:focus-visible strong { text-decoration: underline; }
.chapter-link span { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.5; margin-top: .2rem; }
.ug-prompt { border: 1px solid var(--rule); margin: 1rem 0; }
.ug-prompt-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem 1rem; background: var(--tint); }
.ug-prompt-head h3 { margin: 0; }
.ug-copy { padding: .35rem .55rem; white-space: nowrap; }
.ug-copy:hover, .ug-menu summary:hover { border-color: var(--link); }
.ug-prompt pre { margin: 0; padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .9375rem/1.6 var(--font); }
.ug-source-list { margin-top: 2rem; padding-top: .95rem; border-top: 1px solid var(--rule); font-size: .875rem; }
.ug-source-list a { display: inline-block; margin: .25rem .8rem .25rem 0; }
.ug-content .ug-note { color: var(--muted); font-size: .8125rem; margin-top: 1.25rem; }
.ug-related, .ug-footer-inner { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; }
.ug-related { margin-top: 1.5rem; font-size: .9375rem; }
.ug-footer { background: var(--tint); border-top: 1px solid var(--rule); }
.ug-footer-inner { padding-block: 1rem; justify-content: space-between; color: var(--muted); font-size: .875rem; }
.country-home .ug-hero { display: grid; align-items: center; min-height: calc(100svh - var(--ug-header-height) - 1px); }
.country-home .ug-hero-inner { padding-block: 3rem; }
.country-home h1 { max-width: 48.75rem; font-size: clamp(3.125rem, 6.5vw, 4.875rem); }
.country-home .ug-hero p { max-width: 53ch; }
.country-label { display: block; margin: 1.75rem 0 .5rem; font-size: .875rem; font-weight: 600; }
.country-choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.country-choices a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1.05rem;
  border: 1px solid #c5d1d7;
  border-radius: .2rem;
  background: #213e50;
  color: white;
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: none;
}
.country-choices a:hover, .country-choices a:focus-visible { background: white; color: var(--ink); }
@media (max-width: 820px) {
  .ug-head, .ug-hero-inner, .ug-wrap, .ug-footer-inner { width: min(100% - 2.25rem, 44rem); }
  .ug-menu { display: block; }
  .ug-side { display: none; }
  .ug-body { display: block; padding-block: 1.5rem 3rem; }
  .ug-hero-inner { padding-block: 2.625rem 2.8125rem; }
  .ug-content { max-width: 100%; }
}
@media (max-width: 600px) {
  .ug-content .ug-topic-title { font-size: 1.375rem; }
  .ug-hero p { font-size: .9375rem; }
  .ug-grid, .chapter-links { grid-template-columns: 1fr; }
  .ug-table { font-size: .875rem; }
  .ug-table th, .ug-table td { padding: .5rem .35rem; }
  .country-home h1 { max-width: 25rem; font-size: 3.25rem; }
  .country-choices { align-items: start; flex-direction: column; }
  .country-choices a { min-width: 11.5rem; }
}
