/* Schoolep component architecture: global shell, wrappers, overlays, stability locks. */
.main-wrapper {
  display: flex;
  gap: 25px;
  margin: 30px auto 0 auto;
  width: 95%;
  max-width: 1400px;
  flex: 1;
  align-items: flex-start;
}

.content-area {
  flex: 1;
  min-width: 0;
  width: 100%;
  transition: width 0.3s;
  position: relative;
  z-index: 1;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;

  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.16s ease;
}

@media (max-width: 992px) {
.main-wrapper {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
.main-wrapper,
  .content-area {
    max-width: 100%;
  }
}

html.schoolep-stable-page,
html.schoolep-stable-page body {
  scroll-behavior: auto;
  overflow-anchor: none;
}
