/* Classroom password splash for mrs-mandeville.com homepage */
html.mm-content-gate-locked,
body.mm-content-gate-locked {
  overflow: hidden;
  height: 100%;
}
body.mm-content-gate-locked .skip,
body.mm-content-gate-locked .site-header,
body.mm-content-gate-locked main,
body.mm-content-gate-locked .site-footer {
  visibility: hidden !important;
  pointer-events: none !important;
}
.mm-content-gate {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(248, 186, 71, 0.16), transparent 55%),
    linear-gradient(165deg, #35113c 0%, #581c64 48%, #461650 100%);
}
.mm-content-gate-card {
  width: min(100%, 28rem);
  margin: auto;
  background: transparent;
  color: #fff;
  border-radius: 0;
  padding: 0.25rem 0 0.5rem;
  box-shadow: none;
  display: grid;
  gap: 0.75rem;
  justify-items: stretch;
  text-align: center;
}
.mm-content-gate-photo {
  display: block;
  width: min(100%, 24rem);
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 32rem);
  margin: 0 auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.mm-content-gate-card h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 4.2vw, 1.65rem);
  font-weight: 650;
  color: #fff;
  line-height: 1.25;
  padding: 0 0.25rem;
}
.mm-content-gate-card label.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mm-content-gate-card input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 16px; /* keeps iOS from zooming on focus */
  color: #242424;
  background: #fff;
  caret-color: #581c64;
  text-align: center;
}
.mm-content-gate-card input:focus {
  outline: 3px solid rgba(248, 186, 71, 0.7);
  outline-offset: 2px;
  border-color: #fff;
}
.mm-content-gate-error {
  margin: 0;
  color: #ffd7d7;
  font-size: 0.95rem;
}
.mm-content-gate-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #027538;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mm-content-gate-btn:hover,
.mm-content-gate-btn:focus-visible {
  background: #015f2d;
}

@media (max-height: 700px) {
  .mm-content-gate-photo {
    max-height: min(34vh, 16rem);
    width: min(100%, 14rem);
  }
  .mm-content-gate-card {
    gap: 0.6rem;
  }
}

@media (max-width: 380px) {
  .mm-content-gate-card {
    width: 100%;
  }
  .mm-content-gate-photo {
    width: min(100%, 12.5rem);
    max-height: min(32vh, 14rem);
  }
}

@media (min-width: 900px) {
  .mm-content-gate-card {
    width: min(100%, 34rem);
    gap: 1rem;
  }
  .mm-content-gate-photo {
    width: min(100%, 30rem);
    max-height: min(68vh, 40rem);
  }
  .mm-content-gate-card h1 {
    font-size: clamp(1.45rem, 2vw, 1.85rem);
  }
}