/* Geografie inside the site's frame (menu + footer from include.js), on top of the shared
   learning-tools.css. Only this page loads it, so the other Învață quizzes are untouched.
   The quiz keeps its own palette: --paper/--ink/... from learning-tools.css, which already
   switches on body.dark-theme, the class the site's theme switch (the moon) toggles. */

/* The page's paper behind the frame (styles.css paints body#page-top with --bg-color). */
html:has(body.dark-theme) { background: #0f1420; }
body#page-top.geo-body { background: var(--paper); color: var(--ink); }

/* The quiz keeps its own type; the menu and footer keep the site's. */
.geo-body .learn-shell { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; }

/* Bootstrap's reboot and styles.css, put back to what the quiz was designed with. */
.geo-body .learn-shell h1,
.geo-body .learn-shell h2,
.geo-body .learn-shell h3 { font-family: inherit; font-weight: 700; }
.geo-body .learn-shell .learn-end p { margin: 1em 0; }
.geo-body .learn-shell .learn-progress span { white-space: nowrap; }
.geo-body .learn-shell a.source-link { text-decoration: underline; }
.geo-body .learn-shell a.source-link:hover { color: var(--accent); }

/* The site's menu is fixed on top: the skip link shows below it. */
.geo-body .skip-link:focus { top: 84px; z-index: 1060; }
