/* ============================================================
   Enhancements: body figures, homepage intro/cover, operator
   logos + games dropdown, slots-archive outro.
   ============================================================ */

/* ---------- editorial body figure ---------- */
.sr-body-figure {
  margin: 28px 0;
  border: 1px solid #e6dccd;
  border-radius: 2px;
  overflow: hidden;
  background: #fbf7f2;
}
.sr-body-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.sr-body-figure figcaption {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #7a6b6e;
  padding: 10px 16px;
  border-top: 1px solid #e6dccd;
  background: #f3ebe1;
}
/* Index templates centre their header; keep figures aligned to the column */
.hub-index .sr-body-figure,
.best-index .sr-body-figure { max-width: 960px; margin-left: auto; margin-right: auto; }
/* Providers index: image matches the 720px content column */
.providers-index .sr-body-figure { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- homepage intro (H1 + lede) ---------- */
.home-magazine .home-intro {
  padding: 8px 0 28px;
  border-bottom: 2px solid #5a1a2b;
  margin-bottom: 28px;
}
.home-magazine .home-intro-title {
  font-size: 46px;
  line-height: 1.05;
  margin: 0 0 16px;
  max-width: 20ch;
}
.home-magazine .home-intro-lede p {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  line-height: 1.6;
  color: #3d1019;
  margin: 0;
  max-width: 68ch;
}
.home-magazine .home-intro-lede a { color: #5a1a2b; text-decoration: underline; text-underline-offset: 3px; }

/* cover title is now plain text (not a link) per spec */
.home-magazine .home-cover-title { margin: 0 0 8px; }
.home-magazine .home-cover-readmore { margin: 14px 0 0; }
.home-magazine .home-cover-readmore a {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #5a1a2b;
  text-decoration: none;
  border-bottom: 1px solid #d4a574;
  padding-bottom: 1px;
}
.home-magazine .home-cover-readmore a:hover { color: #3d1019; }

@media (max-width: 600px) {
  .home-magazine .home-intro-title { font-size: 34px; }
  .home-magazine .home-intro-lede p { font-size: 18px; }
}

/* ---------- operator logo tile (uniform across baked-in backplates) ---------- */
.hub-page .hub-operator-logo-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e6dccd;
  border-radius: 4px;
  padding: 8px 10px;
  max-width: 130px;
  min-height: 52px;
}
.hub-page .hub-operator-logo-img img {
  max-height: 40px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- per-operator "slots you can play here" dropdown ---------- */
.hub-page .hub-operator-games {
  grid-column: 1 / -1;
  margin-top: 14px;
  border-top: 1px solid #e6dccd;
  padding-top: 12px;
}
.hub-page .hub-operator-games-summary {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #5a1a2b;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hub-page .hub-operator-games-summary::-webkit-details-marker { display: none; }
.hub-page .hub-operator-games-summary::before {
  content: "▸";
  color: #b48450;
  transition: transform 0.15s ease;
  display: inline-block;
}
.hub-page .hub-operator-games[open] .hub-operator-games-summary::before { transform: rotate(90deg); }
.hub-page .hub-operator-games-count { color: #7a6b6e; font-weight: 400; }
.hub-page .hub-operator-games-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.hub-page .hub-operator-games-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  background: #f3ebe1;
  border-radius: 2px;
  text-decoration: none;
  color: #1a1418;
}
.hub-page .hub-operator-games-list a:hover { background: #ebe1d1; }
.hub-page .hub-operator-games-title { font-family: 'EB Garamond', serif; font-weight: 600; font-size: 16px; }
.hub-page .hub-operator-games-prov { font-family: 'Hanken Grotesk', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #b48450; margin-left: auto; }
.hub-page .hub-operator-games-score { font-family: 'EB Garamond', serif; font-weight: 700; font-size: 14px; color: #5a1a2b; }

@media (min-width: 640px) {
  .hub-page .hub-operator-games-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- slots archive outro ---------- */
.archive-slot .archive-slot-outro { max-width: 60ch; margin: 48px auto 0; text-align: left; }
.archive-slot .archive-slot-outro h2 { font-size: 28px; margin: 32px 0 12px; }
.archive-slot .archive-slot-outro p { font-family: 'EB Garamond', serif; font-size: 17px; line-height: 1.65; color: #1a1418; margin: 0 0 14px; }
.archive-slot .archive-slot-outro a { color: #5a1a2b; text-decoration: underline; text-underline-offset: 3px; }
