:root {
  --navy: #0b2340;
  --mid-blue: #1e5a8a;
  --pale: #d9e8f4;
  --paper: #f4f8fb;
  --white: #ffffff;
  --ink: #0b2340;
  --background: #d9e8f4;
  --foreground: #0b2340;
  --card: #f4f8fb;
  --card-foreground: #0b2340;
  --primary: #1e5a8a;
  --primary-foreground: #ffffff;
  --muted: #d9e8f4;
  --muted-foreground: #0b2340;
  --accent: #1e5a8a;
  --accent-foreground: #ffffff;
  --border: #0b2340;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--pale);
}

.layout-content {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1rem;
}

.layout-content h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
}

.jdug-tagline,
.layout-content > .font-body:first-of-type,
.jdug-header-text {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
}

.jdug-figure--logo {
  display: block;
  width: min(22rem, 100%);
  height: auto;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.jdug-figure--logo img,
.jdug-figure--logo .jdug-figure__image {
  display: block;
  width: 100%;
  height: auto;
}

.jdug-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 auto 1.75rem;
  padding: 0.4rem 0.9rem;
  background: var(--mid-blue);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jdug-badge__icon {
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
}

a.jdug-badge,
a.jdug-badge:hover,
a.jdug-badge:focus-visible,
.layout-content article a.jdug-badge,
.layout-content article a.jdug-badge:hover,
.layout-content article a.jdug-badge:focus-visible {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

a.jdug-badge:focus-visible,
.layout-content article a.jdug-badge:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

@media (forced-colors: active) {
  .jdug-badge:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

.jdug-panel {
  background: var(--paper);
  border: 2px solid var(--navy);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.jdug-panel__heading {
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.7rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jdug-panel__body p,
.jdug-panel__body li {
  margin: 0;
  line-height: 1.55;
}

.jdug-panel__body p + p,
.jdug-panel__body p + ul,
.jdug-panel__body ul + p {
  margin-top: 0.65rem;
}

.jdug-panel__body ul {
  margin: 0;
  padding-left: 1.2rem;
}

.jdug-panel__body li + li {
  margin-top: 0.4rem;
}

.layout-content article a {
  color: var(--mid-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.jdug-panel__body a {
  color: var(--mid-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.jdug-figure--map {
  margin: 0.9rem 0 0;
}

.jdug-figure--map a {
  display: block;
}

.jdug-figure--map img,
.jdug-figure--map .jdug-figure__image {
  display: block;
  width: 100%;
  height: auto;
}

.jdug-figure__caption {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}

.jdug-figure--band {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1.75rem;
}

.jdug-figure--band img,
.jdug-figure--band .jdug-figure__image {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer.container,
footer[role="contentinfo"] .site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

footer[role="contentinfo"] {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

footer[role="contentinfo"] .site-footer > div > div:first-child {
  display: none;
}

footer[role="contentinfo"] .border-t {
  border-color: transparent;
}
