@media (max-width: 1180px) {
  .single-layout.site-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .single-layout.site-shell .site-sidebar { position: static; }
}

@media (max-width: 760px) {
  .site-shell { width: min(var(--pc-shell-width), calc(100% - var(--pc-shell-gutter-mobile))); }
}

@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .site-sidebar { position: static; }
  .post-grid, .post-grid.cols-2, .post-grid.cols-3, .post-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__widgets { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .post-grid, .post-grid.cols-2, .post-grid.cols-3, .post-grid.cols-4 { grid-template-columns: 1fr; }
  .single-post, .page-content { padding: 20px; }
  .spm-post-gallery-grid, .spm-post-gallery-grid[data-columns] { --spm-gallery-columns: 1; }
  .spm-lightbox { padding: 68px 18px 40px; }
  .spm-lightbox-prev, .spm-lightbox-next { width: 42px; height: 42px; font-size: 34px; }
}

/* 1.6.80: ograniczenie ruchu zgodnie z preferencją systemową użytkownika. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .spm-post-gallery-item:hover img,
  .spm-post-gallery-item:focus-visible img,
  .school-home-tile:hover,
  .school-home-tile:focus-within,
  .header-action:hover,
  .header-action:focus-visible,
  .spmalaslonca2026-feature-widget:hover,
  .post-card:hover {
    transform: none !important;
  }
}


/* v1.6.87 centered single title */
.single-post .entry-header{
    text-align:center;
}
.single-post .entry-title{
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    max-width:24ch;
}
.single-post .entry-meta{
    justify-content:center;
    text-align:center;
}
