/* Guide pages (/guides/ and /guides/<slug>). Builds on assets/css/styles.css and games/games.css:
   same tokens, header, hero band and footer. Copied into next/guides/ by guides/build.py. */

.gd .nav__links a[href="/guides/"] { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.gd .nav__links a[href="/games/"] { text-decoration: none; }

/* a shorter band than a game page: no screenshot, just the title and the opening paragraph */
.hero--guide { min-height: 0; }
.hero--guide .hero__copy { width: 100%; max-width: 1100px; padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(48px, 6vw, 96px); padding-right: var(--gut); }
.hero--guide .ghero__h { max-width: 14em; }
.hero--guide .hero__sub { max-width: 32em; }

/* the article: one readable column */
.guide { padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 80px); }
.guide__body { max-width: 42em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--ink); }
.guide__body h2 { margin: clamp(36px, 3.6vw, 56px) 0 14px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; text-wrap: balance; }
.guide__body h2:first-child { margin-top: 0; }
.guide__body p { margin: 0 0 1em; text-wrap: pretty; }
.guide__body ul { margin: 0 0 1.1em; display: grid; gap: .55em; }
.guide__body li { position: relative; padding-left: 1.4em; }
.guide__body li::before { content: ""; position: absolute; left: .25em; top: .68em; width: .42em; height: .42em; border-radius: 50%; background: var(--pink); }
.guide__body a, .guide__games a, .glist a { color: var(--ink); font-weight: 700; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide__body a:hover, .guide__games a:hover, .glist a:hover { text-decoration-color: currentColor; }
.guide__end { margin-top: clamp(28px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink2); }
.guide__updated { margin-top: 10px; font-size: 14.5px; color: var(--ink2); }

/* game pages and other guides under the article */
.guide__more { padding: 0 0 clamp(56px, 6vw, 96px); }
.guide__more .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); }
.guide__more h2 { font-size: clamp(22px, 2vw, 30px); line-height: 1.1; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; margin-bottom: 14px; }
.guide__games, .glist { display: grid; gap: 10px; font-size: clamp(16px, 1.25vw, 18px); }

/* the hub: one card per guide */
.glist--hub { padding: clamp(48px, 6vw, 96px) 0; }
.gcards--guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.gguide { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 34px); border-radius: 22px; background: var(--tint); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease); }
.gguide:hover { transform: translateY(-3px); }
.gguide b { font-size: clamp(22px, 2vw, 30px); line-height: 1.1; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.gguide span { color: var(--ink2); line-height: 1.5; }

@media (max-width: 900px) {
  .guide__more .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero--guide .hero__copy { padding-left: var(--gut); }
}
@media (prefers-reduced-motion: reduce) { .gguide { transition: none; } }
