.moodle-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; color: var(--muted); font-size: 14px; list-style: none; }
.moodle-breadcrumbs a, .moodle-page .solution-reading a { color: var(--accent); text-underline-offset: 3px; }
.moodle-breadcrumbs [aria-hidden] { margin-right: 4px; }
.moodle-hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(28px, 5vw, 70px); padding-bottom: 46px; }
.moodle-hero h1 { font-size: clamp(38px, 4vw, 58px); line-height: 1.07; }
.moodle-hero .lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.62; margin: 22px 0; }
.city-feature { margin: 0; min-width: 0; }
.city-feature figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.city-preview { display: block; position: relative; overflow: hidden; border-radius: 12px; color: white; background: #132e31; text-decoration: none; }
.city-preview img { width: 100%; height: auto; }
.city-caption { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 48px 24px 20px; background: linear-gradient(transparent, rgba(9,25,29,.92) 65%); }
.city-caption > span { font-size: 14px; }
.city-caption strong { font-size: clamp(21px,2.1vw,29px); line-height: 1.18; }
.moodle-scope, .lesson-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,2vw,26px); }
.moodle-scope article { padding: 24px 26px; border-left: 3px solid #5d8977; background: #edf3ee; }
.moodle-scope p, .moodle-routes p { margin: 12px 0 0; color: var(--muted); }
.moodle-routes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.moodle-routes article { min-width: 0; }
.moodle-routes a, .lesson-pair a { display: block; text-decoration: none; }
.moodle-routes img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.moodle-routes h3 { margin: 16px 0 0; font-size: 22px; }
.moodle-routes h3 span, .lesson-pair b { color: var(--accent); }
.moodle-routes a:hover h3, .lesson-pair a:hover span, .city-preview:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.moodle-detail { max-width: 920px; margin: 26px 0 0; color: var(--muted); }
.moodle-detail a { color: var(--accent); text-underline-offset: 3px; }
.lesson-pair a { overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: white; }
.lesson-pair span { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 750; }
.lesson-pair img { width: 100%; height: auto; background: #081411; padding: 12px; }
.moodle-page a:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
@media (max-width: 860px) {
  .moodle-hero { grid-template-columns: 1fr; }
  .moodle-routes { gap: 16px; }
}
@media (max-width: 680px) {
  .moodle-routes, .moodle-scope, .lesson-pair { grid-template-columns: 1fr; }
  .moodle-routes { gap: 32px; }
  .moodle-hero .hero-actions .button { width: 100%; }
  .city-caption { padding: 32px 16px 14px; }
}
