/* Guides share the games' palette and the site's accessibility preferences. */
.guides-page {
  --guides-gold: #f3a64a;
  --guides-teal: #79d4c8;
  --wd-page-bg: #18131f;
  --wd-surface: #251d30;
  --wd-surface-raised: #342741;
  --wd-border: #594467;
  --wd-text-muted: #c9b9d2;
  background: linear-gradient(160deg, var(--wd-page-bg), var(--wd-surface));
  color: var(--wd-text);
}
.guides-shell { width: min(960px, calc(100% - 32px)); }
.guides-page .info-header { padding-block: 22px; gap: 16px; }
.guides-page .info-logo { width: min(280px, 46vw); height: auto; }
.guides-page .info-back { color: var(--wd-text); white-space: nowrap; }
.guides-hero { padding: clamp(26px, 6vw, 58px); }
.guides-page .info-kicker { color: var(--guides-teal); }
.guides-hero h1 { margin: 18px 0 22px; font-size: clamp(3.3rem, 9vw, 6rem); }
.guides-page .guides-intro { max-width: 600px; font-size: clamp(1.05rem, 2.5vw, 1.3rem); line-height: 1.55; color: var(--wd-text-muted); }
.guides-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.guides-topics span { border: 1px solid var(--wd-border); border-radius: 999px; padding: 8px 13px; color: var(--wd-text-muted); font-size: .85rem; }
.guides-coming { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 20px; }
.guides-coming-icon { display: grid; place-items: center; width: 64px; height: 72px; border: 2px solid var(--guides-teal); border-radius: 12px; background: var(--wd-surface-raised); color: var(--guides-gold); font-size: 1.4rem; font-weight: 900; transform: rotate(-5deg); }
.guides-coming h2 { margin: 10px 0; font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.25; }
.guides-coming p { max-width: 650px; line-height: 1.65; }
.guides-play { padding: 36px 0 10px; }
.guides-play h2 { margin: 0; font-size: 1.65rem; }
.guides-play > p { margin: 8px 0 20px; color: var(--wd-text-muted); }
.guides-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guides-game { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; border: 1px solid var(--wd-border); border-radius: 20px; background: var(--wd-surface); color: var(--wd-text); text-decoration: none; }
.guides-game img { width: min(100%, 300px); height: auto; }
.guides-game > span { color: var(--wd-text-muted); font-size: .95rem; line-height: 1.5; }
.guides-game strong { color: var(--guides-gold); line-height: 1.5; }
.guides-game:hover { border-color: var(--guides-gold); }
.guides-page a:focus-visible { outline: 3px solid var(--wd-focus); outline-offset: 5px; }
html[data-wd-theme="light"] .guides-page {
  --guides-gold: #934b00; --guides-teal: #23675e;
  --wd-page-bg: #f5eef8; --wd-surface: #fffaf2; --wd-surface-raised: #f1e4d4;
  --wd-border: #cbb6ce; --wd-text: #281b25; --wd-text-muted: #625068;
}
html[data-wd-theme="high_contrast"] .guides-page {
  --guides-gold: #ffff00; --guides-teal: #00ffff;
  --wd-page-bg: #000; --wd-surface: #000; --wd-surface-raised: #000;
  --wd-border: #fff; --wd-text: #fff; --wd-text-muted: #fff;
}
@media (max-width: 620px) {
  .guides-games { grid-template-columns: 1fr; }
  .guides-coming { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .guides-page .info-back { padding: 10px; font-size: .85rem; }
}

/* Article listing and long-form reading layout. */
.guides-latest { margin-top: 28px; }
.guides-latest > h2 { margin: 0 0 16px; font-size: 1.65rem; }
.guides-article-card { display: block; text-decoration: none; color: var(--wd-text); }
.guides-article-card:hover { border-color: var(--guides-gold); }
.guides-article-card h3 { margin: 12px 0; font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.2; }
.guides-article-card p { max-width: 640px; color: var(--wd-text-muted); }
.article-card-meta { margin: 16px 0; color: var(--wd-text-muted); font-size: .85rem; }
.guides-article-card > strong { color: var(--guides-gold); }
.article-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; font-size: .85rem; color: var(--wd-text-muted); }
.article-breadcrumb a, .article-end-nav a { color: var(--wd-text); }
.wd-article { padding: clamp(24px, 5vw, 54px); }
.wd-article .article-header { max-width: 750px; margin: 0 auto 28px; padding-bottom: 24px; border-bottom: 1px solid var(--wd-border); }
.wd-article h1 { margin: 16px 0 20px; font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.wd-article .article-standfirst { font-size: clamp(1.15rem, 3vw, 1.35rem); line-height: 1.55; color: var(--wd-text-muted); }
.wd-article .article-meta { margin-top: 20px; font-size: .85rem; color: var(--wd-text-muted); }
.article-copy { max-width: 680px; margin: 0 auto; }
.wd-article .article-copy p { margin: 0 0 20px; font-size: 1.08rem; line-height: 1.8; }
.wd-article .article-copy h2 { margin: 36px 0 18px; font-size: clamp(1.4rem, 4vw, 1.8rem); line-height: 1.3; }
.wd-article .article-lead { font-weight: 650; }
.article-copy a { color: var(--guides-teal); overflow-wrap: anywhere; }
.article-cta { max-width: 680px; margin: 36px auto 0; padding: 24px; border: 1px solid var(--guides-teal); border-radius: 16px; background: var(--wd-surface-raised); }
.wd-article .article-cta h2 { margin: 0 0 12px; font-size: 1.5rem; }
.article-play-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; margin-top: 12px; padding: 12px 20px; border: 1px solid var(--guides-gold); border-radius: 12px; color: var(--wd-text); font-weight: 850; text-decoration: none; }
.article-play-link:hover { background: var(--wd-surface); }
.article-end-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 24px 0; }
.article-end-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }

.guides-article-card + .guides-article-card { margin-top: 16px; }

/* Category filters stay hidden until enhanced; articles remain readable without JS. */
.guides-topics[hidden],
.guides-article-card[hidden],
.guides-filter-empty[hidden],
.guides-filter-status[hidden] { display: none !important; }
.guides-topics button {
  min-height: 44px; padding: 9px 15px; border: 1px solid var(--wd-border);
  border-radius: 999px; background: transparent; color: var(--wd-text-muted);
  font: inherit; font-size: .9rem; cursor: pointer;
}
.guides-topics button[aria-pressed="true"] {
  background: var(--guides-gold); border-color: var(--guides-gold); color: #18131f;
  font-weight: 850;
}
.guides-topics button:hover { border-color: var(--guides-teal); }
.guides-filter-status { margin: 0 0 16px; color: var(--wd-text-muted); font-size: .9rem; }
.guides-filter-empty h3 { margin-top: 0; }
.guides-filter-empty button { font: inherit; cursor: pointer; margin-top: 12px; }
html[data-wd-theme="light"] .guides-topics button[aria-pressed="true"] { color: #fff; }
html[data-wd-theme="high_contrast"] .guides-topics button[aria-pressed="true"] { color: #000; }
