:root {
  color-scheme: light;
  --bg-main: #F8FAFC;
  --bg-dark: #0D2035;
  --bg-surface: #F1F5F9;
  --text-primary: #0D2035;
  --text-body: #334155;
  --accent-primary: #EAB308;
  --accent-secondary: #0284C7;
  --border-subtle: #E2E8F0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
}

sup {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
  font-size: 0.75em;
}

main {
  width: 100%;
  margin: 0;
  padding: 0 0 48px;
}

.headline {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: 32px 0 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.headline-inner {
  max-width: 900px;
  width: calc(100% - 48px);
  margin: 0 auto;
  position: relative;
}

.nav-toggle {
  display: none;
}

.nav-overlay {
  display: none;
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
}

.subtitle {
  margin: 0 0 16px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #E2E8F0;
  font-weight: 500;
}

.nav-buttons {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 6px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background-color: transparent;
  color: #F8FAFC;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-button + .nav-button {
  border-left: none;
}

.nav-button:hover,
.nav-button:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-button.active {
  background-color: var(--accent-primary);
  color: var(--bg-dark);
  border-color: var(--accent-primary);
}

.hero-image {
  position: relative;
  max-width: 900px;
  width: calc(100% - 48px);
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 6px 8px;
  font-size: 0.78rem;
  line-height: 1.2;
  color: rgba(248, 250, 252, 0.85);
  background-color: rgba(13, 32, 53, 0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(90%, 420px);
}

.photo-credit a {
  color: var(--accent-primary);
  text-decoration: none;
}

.content {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  max-width: 900px;
  width: calc(100% - 48px);
  margin: 0 auto 20px;
  background-color: var(--bg-surface);
  padding: 20px 24px;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.gallery {
  position: relative;
  margin: 0 0 16px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-main);
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
}

.gallery-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 12px;
  font-size: 0.85rem;
  text-align: center;
  color: #FFFFFF;
  background-color: rgba(13, 32, 53, 0.55);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background-color: rgba(13, 32, 53, 0.55);
  color: #FFFFFF;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background-color: var(--accent-primary);
  color: var(--bg-dark);
}

.gallery-prev {
  left: 8px;
}

.gallery-next {
  right: 8px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--border-subtle);
  cursor: pointer;
}

.gallery-dot.active {
  background-color: var(--accent-secondary);
}

.content p:first-child {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
}

.content p {
  margin: 0 0 14px;
}

.content strong {
  color: var(--text-primary);
}

.content a {
  color: var(--accent-secondary);
}

.content ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.content li {
  margin-bottom: 4px;
}

.content li:last-child {
  margin-bottom: 0;
}

.map-embed {
  margin: 0 0 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  max-width: 900px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 16px 0 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-body);
}

.site-footer a {
  color: var(--accent-secondary);
  text-decoration: none;
}

@media (max-width: 480px) {
  main {
    padding: 24px 16px 36px;
  }

  .headline {
    padding: 24px 0 16px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    cursor: pointer;
  }

  .nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #F8FAFC;
  }

  .nav-buttons {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    max-width: 80vw;
    height: 100vh;
    flex-direction: column;
    background-color: var(--bg-dark);
    padding: 64px 16px 16px;
    transform: translateX(-100%);
    transition: transform 220ms ease;
    z-index: 1000;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.3);
  }

  .nav-buttons.open {
    transform: translateX(0);
  }

  .nav-button {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }

  .nav-button + .nav-button {
    border-left: none;
    border-top: none;
    margin-top: 8px;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 999;
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}