/* The game guide pages (6.33.0): /guide/, the three class pages and the dungeon list. Generated by
   src/server/tools/gen_site_guide.js; built on site.css (stone windows, gold rims, cream outlined text). */

.guide { padding-top: 28px; }
.guide > .crumbs + * { margin-top: 18px; }

/* where you are: Home › Guide › Mage guide */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font: 800 14px/1.3 var(--body); color: var(--muted); }
.crumbs a { color: var(--label); text-decoration: none; text-shadow: var(--outline-sm); }
.crumbs a:hover { color: var(--rim-hi); }
.crumbs [aria-current] { color: var(--cream-dim); }

/* the page title window: the class (or map / tome) icon beside the headline */
.guide-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: center; }
.guide-hero > .class-icon { width: auto; height: clamp(72px, 9vw, 112px); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.guide-hero > div { display: grid; gap: 14px; justify-items: start; }
.guide-hero .lede { max-width: 66ch; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font: 800 14px/1 var(--body); }
.jump a { padding: 7px 12px 8px; color: var(--cream); text-decoration: none; text-shadow: var(--outline-sm); background: linear-gradient(180deg, #555665, #33343e 70%, #2b2c35); border: 2px solid var(--rim-lo); border-radius: 999px; box-shadow: 0 0 0 1.5px var(--keyline); }
.jump a:hover { border-color: var(--rim-hi); }

.section-intro, .discipline-intro { max-width: 70ch; margin-bottom: 18px; color: var(--cream-dim); font-size: 17px; line-height: 1.6; }
.discipline-intro q { font-style: italic; quotes: "\201C" "\201D"; }
#powers h3 { margin: 26px 0 12px; color: var(--rim); }
#powers h3:first-of-type { margin-top: 6px; }

/* powers: one dark well per power, the game's text under its name */
.powers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.powers li { padding: 14px 16px 15px; background: var(--inset-2); border: 2px solid var(--stone-lo); border-radius: 12px; box-shadow: 0 0 0 1.5px var(--keyline), inset 0 2px 6px rgba(0, 0, 0, .45); }
.powers h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; font: 900 18px/1.25 var(--body); color: var(--cream); text-shadow: var(--outline-sm); }
.powers p { color: var(--cream-dim); font-size: 15px; line-height: 1.5; }
.tag { padding: 3px 9px 4px; font: 800 12px/1 var(--body); color: var(--label); text-shadow: none; background: rgba(51, 170, 255, .1); border: 1px solid rgba(51, 170, 255, .45); border-radius: 999px; }

/* hub: the getting-started steps use site.css .steps (the download page's numbered rows), with an h3 for the <b> */
.steps li { padding-block: 10px; border-radius: 34px; }
.steps h3 { font: 900 17px/1.2 var(--body); align-self: end; }
.steps p { max-width: 74ch; }

/* hub: the three classes, each in its ring colour */
.class-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.class-cards li { --ring: var(--rim); display: grid; gap: 10px; align-content: start; padding: 18px; background: var(--inset-2); border: 2px solid var(--ring); border-radius: 14px; box-shadow: 0 0 0 1.5px var(--keyline), inset 0 2px 8px rgba(0, 0, 0, .5); }
.class-cards .class-paladin { --ring: var(--paladin); }
.class-cards .class-mage { --ring: var(--mage); }
.class-cards .class-rogue { --ring: var(--rogue); }
.class-cards li > a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.class-cards li > a:hover h3 { color: var(--rim-hi); }
.class-cards .class-icon { height: 72px; width: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.class-cards h3 { font: 700 28px/1.1 var(--display); text-shadow: var(--outline); }
.class-cards p { color: var(--cream-dim); }
.disciplines { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 800; }

.zone-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.zone-list li { display: grid; gap: 2px; padding: 12px 16px; background: var(--inset-2); border: 2px solid var(--stone-lo); border-radius: 12px; box-shadow: 0 0 0 1.5px var(--keyline); }
.zone-list a { font: 900 18px/1.2 var(--body); text-decoration: none; text-shadow: var(--outline-sm); }
.zone-list span { color: var(--muted); font-size: 14px; font-weight: 700; }

/* class pages: links to the other guides */
.guide-links { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.guide-links a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; font: 900 17px/1 var(--body); color: var(--cream); text-decoration: none; text-shadow: var(--outline-sm); background: var(--inset-2); border: 2px solid var(--rim-lo); border-radius: 999px; box-shadow: 0 0 0 1.5px var(--keyline); }
.guide-links a:hover { border-color: var(--rim-hi); color: var(--rim-hi); }
.guide-links .class-icon { height: 40px; width: auto; }

/* dungeons: the zone's world-map cut-out, then its dungeons in game order */
.zone-art { display: block; width: auto; max-width: 100%; height: auto; max-height: 240px; margin: 0 auto 20px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
.dungeons { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.dungeons li { display: grid; gap: 8px; align-content: start; padding: 14px 16px 15px; background: var(--inset-2); border: 2px solid var(--stone-lo); border-radius: 12px; box-shadow: 0 0 0 1.5px var(--keyline), inset 0 2px 6px rgba(0, 0, 0, .45); scroll-margin-top: 110px; }
.dungeons li:target { border-color: var(--select); }
.dungeons p { color: var(--cream-dim); font-size: 15px; line-height: 1.5; }
.levels { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.levels span { padding: 3px 9px 4px; font: 800 13px/1 var(--body); color: var(--rim); border: 1px solid var(--rim-lo); border-radius: 999px; background: rgba(240, 203, 12, .08); }
.levels .dread { color: var(--dread); border-color: rgba(255, 91, 61, .6); background: rgba(255, 91, 61, .08); }
.boards { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 800; font-size: 14px; }
.zone { scroll-margin-top: 90px; }

.guide-cta { display: grid; gap: 16px; justify-items: center; text-align: center; }
.guide-cta p { max-width: 60ch; font-size: 18px; color: var(--cream); }

@media (max-width: 560px) {
  .guide-hero { grid-template-columns: minmax(0, 1fr); }
  .guide-hero > .class-icon { height: 72px; }
  .steps li { border-radius: 24px; }
}
