/* static the-swag.eu replica */
:root { --swag-accent: #BDD706; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
main#tm-main { min-height: 55vh; }
.tm-header .uk-logo img, .tm-header-mobile .uk-logo img {
  display: block; width: 100px; height: 100px; object-fit: contain;
}
.swag-skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  padding: .75rem 1rem; background: #fff; color: #000;
}
.swag-skip:focus { left: 1rem; top: 1rem; }
.el-nav.uk-thumbnav img { width: 100px; height: 75px; object-fit: cover; }
.uk-article { overflow-wrap: anywhere; }
.uk-article img, .uk-panel img { height: auto; }
footer .uk-subnav { flex-wrap: wrap; }
/* Tutor only reveals attachment downloads on hover; touch users never see them. */
.tutor-attachment-card-actions { opacity: 1 !important; }
.tutor-attachment-card-actions .tutor-btn-icon { color: #41454f; }
/* Tutor opens the lesson sidebar as a JS offcanvas on small screens; keep the
   curriculum in the page flow so it stays reachable without scripts. */
@media (max-width: 992px) {
  .tutor-learning-area.tutor-has-site-shell .tutor-learning-area-body {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline-start: 0 !important;
  }
  .tutor-learning-area.tutor-has-site-shell .tutor-learning-area-content {
    grid-column: 1 !important;
    padding-top: 8px !important;
  }
  .tutor-learning-area .tutor-learning-sidebar {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    margin-bottom: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
