* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Serif SC", "宋体", serif;
  background: #fafafa;
  color: #333;
  line-height: 1.8;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header h1 {
  font-size: 28px;
  letter-spacing: 4px;
}

.site-header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}

.site-header nav a:hover {
  color: #8b2f2f;
}

.hero {
  height: 60vh;
  background: url("images/banner.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 40px;
}

.hero-text {
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  max-width: 520px;
}

.hero-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.content {
  max-width: 1000px;
  margin: 70px auto;
  padding: 0 20px;
}

.content h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.caption {
  margin-top: 18px;
  color: #555;
  font-size: 14px;
}

.media-grid-vertical {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.media-grid-vertical .media-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #eaeaea;
  border-radius: 6px;
  overflow: hidden;
}

.media-stack-horizontal {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.media-stack-horizontal .media-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eaeaea;
  border-radius: 6px;
  overflow: hidden;
}

.media-box img,
.media-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-link {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.gallery-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 200ms ease;
}

.gallery-link:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 200ms ease;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
}

.gallery-link:hover .gallery-overlay {
  opacity: 1;
}

.content.light {
  background: #f2f2f2;
  padding: 60px 20px;
}

.site-footer {
  background: #222;
  color: #eee;
  text-align: center;
  padding: 30px;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
  }

  .media-grid-vertical {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
  }
}
