/* =========================================================
   PÁGINA PROTEGIDA CON CONTRASEÑA
   ========================================================= */

/* Contenedor ocupa toda la pantalla */
.page-id-10036 .password-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Fondo */
.page-id-10036 .password-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.mapradiocr.com/wp-content/uploads/2025/09/tallerliterarioalajuelense4-1.webp') no-repeat center center;
  background-size: cover;
  z-index: 0;
}

/* Overlay oscuro (muy suave para no tapar rostros) */
.page-id-10036 .password-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* ajusta opacidad */
  z-index: 1;
}

/* Contenido centrado */
.page-id-10036 .password-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  width: 90%;
  padding: 10px;
  box-sizing: border-box;
  margin-top: -40px; /* sube la caja sobre la imagen */
}

.page-id-10036 .password-content h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

/* Formulario */
.page-id-10036 .post-password-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-id-10036 .post-password-form label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

.page-id-10036 .post-password-form input[type="password"] {
  width: 100%;
  max-width: 250px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
  text-align: center;
  font-size: 1em;
}

/* Botón */
.page-id-10036 .post-password-form input[type="submit"] {
  padding: 10px 24px;
  font-size: 1em;
  font-weight: bold;
  background: rgba(230, 0, 35, 0.465); /* rojo con leve transparencia */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-id-10036 .post-password-form input[type="submit"]:hover {
  background: rgba(184, 0, 26, 0.9); /* tono más oscuro */
}

/* Ajustes en móviles */
@media (max-width: 768px) {
  .page-id-10036 .password-content {
    max-width: 90%;
    padding: 15px;
    margin-top: -40px; /* sube menos en móvil */
  }
  .page-id-10036 .password-content h2 {
    font-size: 1.4em;
  }
  .page-id-10036 .post-password-form input[type="password"] {
    max-width: 100%;
  }
}
