* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-family: 'Roboto', system-ui, sans-serif;
  background: #f8f9fa;
  color: #2d2d2d;
}

main {
  text-align: left;
  padding: 3.5rem 2rem 2rem 6rem;
  max-width: 42rem;
}

main h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  padding-left: 1.5rem;
}

main ul {
  padding-left: 1.5rem;
}

main li {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  main {
    padding: 2rem 1.25rem 2rem 1.25rem;
  }
  main h1 {
    padding-left: 0;
  }
  main ul {
    padding-left: 1.25rem;
  }
}

.tagline {
  color: #2d2d2d;
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
}

.intro {
  max-width: 360px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
  color: #2d2d2d;
}

nav a {
  color: #2d2d2d;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main a {
  color: #2d2d2d;
  text-decoration: underline;
}

main a:hover {
  text-decoration: none;
}

/* Beyond Oceans slideshow modal */
.slideshow-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.slideshow-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.slideshow-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.slideshow-container {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slideshow-slides {
  position: relative;
  width: 800px;
  max-width: 85vw;
  height: 600px;
  max-height: 80vh;
}

.slideshow-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.slideshow-img.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow-close,
.slideshow-prev,
.slideshow-next {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.slideshow-close:hover,
.slideshow-prev:hover,
.slideshow-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slideshow-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  font-size: 2rem;
  line-height: 1;
}

.slideshow-prev {
  flex-shrink: 0;
}

.slideshow-next {
  flex-shrink: 0;
}
