/* Classeto v7.7 – public teacher sites ONLY.
   Native touch scrolling is preserved (no wheel hijacking or JS smoothing).
   Smooth anchored scrolling, subtler navigation/interaction, reduced motion safe. */
html.classeto-public-page {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
html.classeto-public-page body { overscroll-behavior-x: none; }
html.classeto-public-page .public { overflow-x: clip; }
html.classeto-public-page .public .site-media-card,
html.classeto-public-page .public .site-contact-card,
html.classeto-public-page .public .accent-btn,
html.classeto-public-page .public .soft-btn {
  transition: transform .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
}
@media (hover: hover) and (pointer: fine) {
  html.classeto-public-page .public .site-media-card:hover,
  html.classeto-public-page .public .site-contact-card:hover {
    transform: translateY(-3px);
  }
}
/* Progressive enhancement for same-origin page navigation on supported browsers. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 110ms; animation-timing-function: ease-out; }
::view-transition-new(root) { animation-duration: 140ms; animation-timing-function: ease-out; }
@media (prefers-reduced-motion: reduce) {
  html.classeto-public-page { scroll-behavior: auto; }
  html.classeto-public-page .public .site-media-card,
  html.classeto-public-page .public .site-contact-card,
  html.classeto-public-page .public .accent-btn,
  html.classeto-public-page .public .soft-btn { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .01ms !important; }
}
