:root {
  --text-color: #1a1a1a;
  --muted: #666;
  --background: #ffffff;
  --quote-border: #e5e5e5;
}

/* =========================
   Base Page
========================= */
body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text-color);

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================
   Page Shell (outer wrapper only)
   NOTE: no width control here
========================= */
.page {
  padding: 40px 24px;
}

/* =========================
   Main Reading Container (EXHIBIT CORE)
   This is the ONLY width authority
========================= */
article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* =========================
   Title System
========================= */
h1 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* =========================
   Paragraph
========================= */
p {
  font-size: 18px;
  margin: 16px 0;
}

/* Optional lead paragraph */
.lead {
  font-size: 20px;
  color: var(--muted);
}

/* =========================
   Blockquote (museum identity layer)
========================= */
blockquote {
  margin: 24px 0;
  padding: 12px 18px;

  border-left: 3px solid var(--quote-border);
  color: var(--muted);

  font-style: italic;
}

/* =========================
   Images
========================= */
img {
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  display: block;
}

/* =========================
   Links
========================= */
a {
  color: #111;
  text-decoration: underline;
  text-decoration-color: #ccc;
}

a:hover {
  text-decoration-color: #000;
}

/* =========================
   Homepage Grid (index only)
========================= */
.museum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding: 40px;
}

/* =========================
   Exhibit Cards
========================= */
.exhibit-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumbnail {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.meta .title {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #111;
}

.meta .description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.museum-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* LEFT SIDE */
.museum-main {
  min-width: 0;
}

/* RIGHT SIDE PANEL */
.museum-identity {
  position: sticky;
  top: 40px;
  align-self: start;

  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);

  padding-left: 16px;
  border-left: 1px solid #eee;
}

.museum-identity h2 {
  font-size: 16px;
  color: var(--text-color);
  margin-top: 0;
}

.museum-identity h3 {
  font-size: 14px;
  margin-top: 20px;
  color: var(--text-color);
}

.museum-identity p {
  margin: 10px 0;
}

.museum-identity hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.muted {
  color: #888;
  font-size: 13px;
}

.signature {
  margin-top: 16px;
  font-size: 12px;
  color: #999;
}

@media (max-width: 900px) {
  .museum-layout {
    grid-template-columns: 1fr;
  }

  .museum-identity {
    position: static;
    border-left: none;
    padding-left: 0;
    margin-top: 48px;
  }
}

.museum-main,
.museum-identity {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  article {
    padding: 32px 16px;
  }
}

@media (max-width: 480px) {
  img {
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  p {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  article {
    padding: 32px 14px;
  }

  img {
    margin: 20px auto;
  }
}
