:root {
  --bg: #f4f4f1;
  --text: #1e1e1e;
  --muted: #5a5a5a;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px 48px;
}
.hero {
  text-align: center;
  margin-bottom: 28px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
}
.hero .byline {
  margin: 8px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
}
.intro-box {
  max-width: 760px;
  margin: 20px auto 28px;
  background: rgba(255,255,255,0.82);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: var(--shadow);
}
.intro-box p {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}
.intro-box p + p { margin-top: 14px; }
.carousel-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}
.carousel-image,
.theme-image {
  display: block;
  width: 100%;
  height: auto;
}
.hotspot {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255,255,255,0.001);
  outline: none;
}
.hotspot:hover,
.hotspot:focus-visible {
  box-shadow: 0 0 0 4px rgba(255,255,255,0.95), 0 0 0 8px rgba(0,0,0,0.28);
}
.theme-page .page { max-width: 1360px; }
.theme-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.theme-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}
.back-link {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #2d2d2d;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.back-link:hover,
.back-link:focus-visible { opacity: 0.9; }
.image-card {
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.theme-note {
  max-width: 880px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .page { padding: 22px 12px 28px; }
  .intro-box { padding: 18px 16px; }
  .theme-top { flex-direction: column; align-items: flex-start; }
}
