* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #3F4A5A;
  color: #000;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.5;
}

.site-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  background-color: #ffffff;
  min-height: 100vh;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
}

header.banner {
  width: 100%;
  aspect-ratio: 8 / 1;
  background-image: url('images/bannerdefault.webp');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  display: flex;
  align-items: center;
  padding-left: 40px;
  border-bottom: 3px solid #000;
  position: relative;
}

header.banner h1 {
  color: #ffffff;
  font-size: 3.2em;
  font-style: italic;
  font-family: Georgia, serif;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
  margin: 0;
  position: relative;
  z-index: 1;
}

.page-layout {
  display: flex;
  padding: 30px 20px;
  gap: 30px;
  align-items: flex-start;
  background-color: #ffffff;
}

nav.sidebar {
  flex: 0 1 220px;
  min-width: 160px;
  max-width: 260px;
  border: 1px solid #999;
  background-color: #f5f5f5;
  padding: 15px;
}

nav.sidebar .nav-title {
  font-style: italic;
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 1px solid #999;
  padding-bottom: 8px;
  margin-bottom: 10px;
  color: #000;
}

nav.sidebar a {
  display: block;
  color: #0000cc;
  text-decoration: underline;
  padding: 5px 0;
  font-size: 1em;
}

nav.sidebar a:hover {
  color: #cc0000;
}

main {
  flex: 1;
  min-width: 0;
  background-color: #ffffff;
}

h2.section-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: bold;
  font-size: 2.2em;
  color: #222;
  border-bottom: 2px solid #000;
  padding-bottom: 8px;
  margin-top: 0;
  margin-bottom: 25px;
}

.thumb-placeholder {
  width: 70px;
  height: 70px;
  background-color: #e0e0e0;
  border: 1px solid #999;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7em;
  color: #999;
  text-align: center;
}

/* Card grid - videos, same pattern as Idora's update-grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
}

.video-card {
  text-align: center;
}

.video-card .thumb-placeholder {
  width: 100%;
  height: 220px;
  margin-bottom: 12px;
}

.video-card .thumb-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card h3 {
  margin: 0 0 4px 0;
}

.video-card h3 a {
  color: #0000cc;
  text-decoration: underline;
  font-size: 1.4em;
}

.video-card h3 a:hover {
  color: #cc0000;
}

.video-card p {
  text-align: left;
  margin: 0;
  font-size: 1em;
}

.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid #000;
  margin-bottom: 25px;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.book-trip {
  border: 1px solid #999;
  background-color: #f5f5f5;
  padding: 20px;
  margin-bottom: 30px;
}

.book-trip h3 {
  margin-top: 0;
  font-style: italic;
}

.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid #000;
  display: block;
}

.intro-text {
  font-size: 1.15em;
  max-width: 650px;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.85em;
  color: #777;
  border-top: 1px solid #ccc;
  background-color: #ffffff;
}

@media (max-width: 700px) {
  .page-layout {
    flex-direction: column;
    align-items: stretch;
  }

  nav.sidebar {
    flex: none;
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 15px;
  }

  nav.sidebar .nav-title {
    grid-column: 1 / -1;
  }

  header.banner {
    aspect-ratio: 3 / 1;
    padding-left: 20px;
  }

  header.banner h1 {
    font-size: 1.8em;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
