.bee-calendar-wrapper .bee-calendar-filters-form{
text-align:center;
	margin-bottom:50px;
}
.bee-calendar-wrapper .bee-calendar-filters-form .bee-filter{
	padding:0 10px;
	text-align:cemter;
}
.bee-calendar-wrapper .bee-calendar-filters-form .bee-filter span{
	padding-bottom:5px;
	display:block;
}
.bee-calendar-wrapper .bee-calendar-filters-form .bee-filter select{
	background:#800ad3;
	color:#fff;
	text-align:left;
	border-radius:10px;
	border:0px;
	padding:8px 15px;
}
.bee-calendar-wrapper .bee-calendar-filters-form .bee-filter.month select{
	background:#b8bb0e;
}
.bee-calendar-wrapper .bee-calendar-filters-form .bee-filter.category select{
	background:#259f1a;
}
.bee-calendar-wrapper .bee-calendar-filters-form .bee-btn{
	background: #8a8a8a;
  padding: 20px 20px;
  border-radius: 15px;
  color: #fff;
  font-weight: 700;
  border: 0;
  font-size: 16px;
  text-transform: uppercase;
}
.bee-calendar-wrapper .bee-calendar-filters-form .bee-btn:hover{
	background:#a2ebfe;
	color:#000;
}
.bee-calendar-table{
	text-align:center;
}
.bee-calendar-table thead>tr>th{
	background:#a2ebfe;
	font-size:16px;
}
.bee-calendar-table tbody>tr td.bee-week-label{
	background:#7ecce0;
	text-align:center;
}
.bee-calendar-table td.bee-calendar-cell .bee-no-activity{
	color:#aeaeae;
}
.bee-calendar-table td.bee-calendar-cell .bee-activity-pill{
	background:#fac826;
	padding:10px;
	border-radius:50px;
	color:#393939;
	font-weight:600;
	margin: 5px 0;
	font-size: 0.85em;
	display:block;
}
.bee-calendar-table td.bee-calendar-cell .bee-activity-pill:hover{
	background:#b08701;
	color:#fff;
}
.bee-calendar-table td.bee-calendar-cell .bee-activity-link{
  font-size: 12px;
  color: #4f4f4f;
  text-decoration: underline;
  font-weight: 500;
  padding-left: 5px;
}
.bee-calendar-table td.bee-calendar-cell .bee-activity-pill:hover .bee-activity-link{
	background:#b08701;
	color:#fff;
}
.title_calen h2{
	text-align:center;
	font-size:28px;
	padding-bottom:10px;
	color:#000;
	font-weight:600;
}
/***details***/
/* CONTENEDOR GENERAL DE LA ACTIVIDAD */
.bee-activity-wrapper {
    max-width: 85%;
    margin: 60px auto;
    padding: 60px 80px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* CABECERA */
.bee-activity-header {
    text-align: center;
}

/* TÍTULO "EXPLORANDO COLORES" */
.bee-activity-header h1 {
    margin: 0 0 18px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

/* PILLS ROJO: "Infantes | Semana 1 | Lunes" */
.bee-activity-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 999px;
    background: #ff2a24;      /* rojo principal del diseño */
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
}

/* TEXTO INTRODUCTORIO */
.bee-activity-intro {
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: #444444;
    text-align: left;
}

/* BODY: DOS COLUMNAS */
.bee-activity-body {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1.05fr 1.3fr;  /* izquierda más angosta que derecha */
    column-gap: 50px;
    align-items: flex-start;
}

/* COLUMNA IZQUIERDA (PDF + DOCUMENTOS) */
.bee-activity-col-left {
    background: #f7f7f7;
    padding: 40px 48px;
    border-radius: 10px;
}

.bee-activity-col-left .bee-block + .bee-block {
    margin-top: 40px;
}

/* TÍTULOS "PDF" / "DOCUMENTOS" / "IMÁGENES" / "VIDEOS" */
.bee-block h3 {
    margin: 0;
    font-size: 17px;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
}

/* LISTAS DE ARCHIVOS */
.bee-file-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    /* para simular las 3 columnas de "Archivo 1 / Archivo 2 / Archivo 3" */
    column-count: 3;
    column-gap: 32px;
}

.bee-file-list li {
    font-size: 14px;
    margin-bottom: 8px;
}

.bee-file-list a {
    color: #222222;
    text-decoration: none;
}

.bee-file-list a:hover {
    text-decoration: underline;
}

/* COLUMNA DERECHA (IMÁGENES + VIDEOS) */
.bee-activity-col-right .bee-block {
    margin-bottom: 38px;
}

/* GALERÍA DE IMÁGENES */
.bee-gallery {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bee-gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

.bee-gallery-item img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: contain;
}

/* GRID DE VIDEOS */
.bee-videos {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bee-video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* El <video> o el embed ocupan toda la tarjeta */
.bee-video-item video,
.bee-video-item .bee-video-embed {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
}

/* RESPONSIVE */

@media (max-width: 1400px){
    .bee-calendar-table td.bee-calendar-cell .bee-activity-pill{
    font-size:0.8em;}
}
@media (max-width: 1024px) {
    .bee-activity-wrapper {
        padding: 40px 24px;
        margin: 30px auto;
    }

    .bee-activity-body {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

}

@media (max-width: 768px) {
    .bee-file-list {
        column-count: 1;
    }

    .bee-gallery,
    .bee-videos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .bee-videos {
        grid-template-columns:repeat(1, minmax(0, 1fr))!important;
    }
}

/* Grid de videos (se mantiene igual) */
.bee-videos {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bee-video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* Video o iframe ocupan el bloque y son clickeables */
.bee-video-item video,
.bee-video-item .bee-video-embed iframe {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* IMPORTANTE: permitir clics para que reproduzca */
    pointer-events: auto;
}

.bee-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.bee-lightbox-overlay.is-visible {
    display: flex;
}

.bee-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.bee-lightbox-content img,
.bee-lightbox-content video,
.bee-lightbox-content iframe {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 12px;
    background: #fff;
}

/* Botón cerrar */
.bee-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: #222;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

/* Barra superior del header de la actividad */
.bee-activity-header-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

/* Botón "Volver al calendario" */
.bee-back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    background: #f7f7f7;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.bee-back-button:hover {
    background: #eeeeee;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}
.bee-lightbox-close{
    background-color: #fff;
  border: 2px solid #040404;
  border-radius: 3px;
  color: #000;
  display: inline-block;
  font-size: 2rem;
}

/* CONTENEDOR GENERAL: CENTRAR CARD */
.bee-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD BLANCA */
.bee-login-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 40px 36px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    max-width: 360px;
    width: 100%;
}

/* LOGO SUPERIOR */
.bee-login-logo {
    display: block;
    margin: 0 auto 10px;
    width: 110px;          /* ajusta si lo quieres más grande */
    height: auto;
}

/* TÍTULO */
.bee-login-card h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 18px;
}

/* FORMULARIO DE WP */
#loginform {
    margin: 0;
    padding: 0;
}

/* Ocultar el texto de los labels (siguen estando para accesibilidad) */
#loginform p label {
    font-size: 14px;
  font-weight: 600;
  color: #686868;
}

/* Párrafos del formulario */
#loginform p {
    margin: 0 0 12px;
}

/* INPUTS USUARIO / CONTRASEÑA */
#loginform .input {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    background: #89e7ff;
    color: #222;
    outline: none;
    box-shadow: none;
}

/* Estilo del placeholder */
#loginform .input::placeholder {
    color: #555;
    opacity: 0.9;
}

/* Quitar borde azul y poner sombrita suave */
#loginform .input:focus {
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* BOTÓN ENVIAR */
#loginform p.submit {
    margin-top: 20px;
}

#wp-submit {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 700;
    background: #ff2a24;       
    color: #ffffff;
    cursor: pointer;
    text-transform: none;
    box-shadow: none;
}

#wp-submit:hover {
    background: #e6201b;
}

.bee-login-lost {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    text-align: left;
    color: #444;
    text-decoration: none;
}

.bee-login-lost:hover {
    text-decoration: underline;
}

@media (max-width: 779px) {
    .bee-login-card {
        max-width: 100%;
        margin: 24px;
        padding: 24px 22px 28px;
    }
    .bee-calendar-wrapper .bee-calendar-filters-form .bee-filter {
          padding: 0;
          text-align: left;
          width: 31%;
        }
        .bee-calendar-table thead > tr > th {
          font-size: 12px;
          padding: 5px;
        }
    table td, table th{
        line-height:1em!important;
    }
    .bee-calendar-table td.bee-calendar-cell .bee-activity-pill {
      background: transparent;
      padding: 5px;
      border-radius: 5px;
      font-size: 12px;
      text-align: center;
    display: block;
    margin: 0;
    }
    .title_calen h2{
        font-size:23px;
    }
    .bee-calendar-wrapper .bee-calendar-filters-form .bee-filter select, .bee-activity-breadcrumb, .bee-calendar-wrapper .bee-calendar-filters-form .bee-filter span, .bee-calendar-table tbody > tr td.bee-week-label, .bee-calendar-table td.bee-calendar-cell .bee-no-activity{
        font-size:13px;
    }
    .bee-calendar-wrapper .bee-calendar-filters-form .bee-btn {
          padding: 15px 20px;
          font-size: 13px;
        }
        .bee-calendar-table-wrapper {
            width: 100%;
            overflow-x: auto;           /* scroll horizontal en móviles */
            -webkit-overflow-scrolling: touch;
            }
    
    /* Tabla base */
    .bee-calendar-table {
        width: 100%;
        border-collapse: collapse;
        min-width: 900px;           /* fuerza scroll si la pantalla es muy estrecha */
    }
    .bee-activity-header h1{
        font-size: 25px;
    }
    .bee-activity-col-left{
        padding:20px;
    }
    .bee-activity-wrapper{
        padding: 20px;
        max-width: 90%;
        background:transparent;
        box-shadow:0 8px 30px rgba(0,0,0,0.0);
        
    }
    .bee-audio-player {
          width: 100%;
        }
}

@media (max-width: 1400px) {
    .bee-activity-wrapper{
        padding:0px;
    }
}    