/* Painting SEO landing pages + gallery. Builds on styles.css tokens. */

.crumbs {
  font-size: 0.85rem;
  color: var(--ivory-soft);
  margin: 1.4rem 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.crumbs a { text-decoration: none; opacity: 0.85; }
.crumbs a:hover { color: var(--old-gold); opacity: 1; }
.crumbs span[aria-hidden] { opacity: 0.4; }

.painting {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.painting-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.4rem;
  align-items: center;
  margin-top: 1rem;
}
.painting-hero figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px var(--shadow);
  background: var(--panel);
}
.painting-hero figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.painting-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0.3rem 0 0.5rem;
}
.painting-intro .byline {
  font-size: 1.1rem;
  color: var(--old-gold);
  margin: 0;
  font-weight: 600;
}
.painting-intro .museum {
  color: var(--ivory-soft);
  font-size: 0.9rem;
  margin: 0.15rem 0 1rem;
}

.painting-story,
.painting-how {
  margin-top: 3rem;
  max-width: 46rem;
}
.painting-story h2,
.painting-how h2,
.related h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.8rem;
}
.painting-story p { font-size: 1.08rem; color: var(--ivory); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.6rem;
}
.feature-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ivory-soft);
}
.feature-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--old-gold);
  font-size: 0.75rem;
  top: 0.28rem;
}

/* related + gallery grids */
.related { margin-top: 3.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.related-card {
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: block;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--old-gold); }
.related-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.related-card span {
  display: block;
  padding: 0.55rem 0.7rem 0.7rem;
}
.related-card strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.related-card em { color: var(--ivory-soft); font-size: 0.78rem; font-style: normal; }

.gallery-hero { padding-bottom: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
}
.gallery-card {
  text-decoration: none;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--old-gold);
  box-shadow: 0 24px 44px -28px var(--shadow);
}
.gallery-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery-meta { display: block; padding: 0.8rem 1rem 1rem; }
.gallery-meta strong { display: block; font-size: 1.02rem; }
.gallery-meta em { color: var(--ivory-soft); font-style: normal; font-size: 0.85rem; }

@media (max-width: 720px) {
  .painting-hero { grid-template-columns: 1fr; gap: 1.4rem; }
}
