/* ==========================================
   ARTICLE PAGE
   All content sits in .container (max-width 1280 + 24px), so its edges
   line up with the header logo (left) and the Buy Tickets button (right).
   ========================================== */

.article-main {
  background: #E6E5DF;
  color: #171715;
  padding-top: 64px;                 /* clear the fixed navbar */
  padding-bottom: clamp(64px, 10vh, 120px);
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 5vh, 48px);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: #171715;
  text-decoration: none;
  transition: opacity 0.15s;
}
.article__back:hover { opacity: 0.55; }

.article__header {
  padding-top: clamp(24px, 4vh, 40px);
}

.article__cat {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 23, 21, 0.5);
}

.article__title {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: rgba(23, 23, 21, 0.5);
}

.article__media {
  margin: clamp(28px, 5vh, 56px) auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141414;
}
.article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body spans the full container; text sits in a readable 720px column
   (left-aligned to the logo) while figures can break out to full width. */
.article__body {
  margin-top: clamp(32px, 5vh, 56px);
  font-family: var(--font-main);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.75;
  color: rgba(23, 23, 21, 0.82);
}
.article__body > p,
.article__body > h2,
.article__body > h3,
.article__body > ul,
.article__body > ol,
.article__body > blockquote {
  max-width: 720px;
}
.article__body p { margin-bottom: 1.4em; }
.article__body p:last-child { margin-bottom: 0; }
.article__body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #171715;
  margin: 1.7em 0 0.5em;
}

@media (max-width: 768px) {
  .article__media { aspect-ratio: 16 / 10; }
}

/* Rich-text (Portable Text) output inside the body */
.article__body h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #171715;
  margin: 1.5em 0 0.4em;
}
.article__body a {
  color: #171715;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article__body ul,
.article__body ol {
  margin: 0 0 1.4em 1.2em;
}
.article__body li { margin-bottom: 0.4em; }
.article__body blockquote {
  margin: 1.4em 0;
  padding-left: 20px;
  border-left: 2px solid rgba(23, 23, 21, 0.25);
  font-style: italic;
  color: rgba(23, 23, 21, 0.7);
}
/* Inline images — full container width by default, or "Text width" (inset) */
.article__figure {
  margin: clamp(28px, 5vh, 52px) 0;
  width: 100%;
}
.article__figure--inset {
  max-width: 720px;
}
.article__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article__figure figcaption {
  max-width: 720px;
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(23, 23, 21, 0.5);
}
.article__missing {
  padding: clamp(48px, 12vh, 120px) 0;
  font-family: var(--font-main);
  color: rgba(23, 23, 21, 0.5);
}

/* ==========================================
   BACK-TO-TOP (article) — black square, cream arrow
   ========================================== */
.article-top {
  position: fixed;
  right: 24px;
  top: 50%;                          /* mid-page, right side */
  z-index: 900;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #171715;               /* black square */
  color: #E6E5DF;                    /* light arrow — same as the page background */
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.article-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.article-top:hover { background: #000; }

@media (max-width: 768px) {
  .article-top { right: 16px; width: 44px; height: 44px; }
}

/* Center the reading column (and figures/captions) horizontally on the page,
   keeping the 720px text width. */
.article__body > p,
.article__body > h2,
.article__body > h3,
.article__body > ul,
.article__body > ol,
.article__body > blockquote,
.article__figure,
.article__figure figcaption {
  margin-inline: auto;
}
