/* ==========================================================================
   Escuela Bíblica - Estilos del Plugin
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* --- 1. Variables y Estilos Globales --- */
/* -------------------------------------------------------------------------- */

:root {
    --ebib-primary-color: #1da1f2;
    --ebib-primary-hover-color: #44c0e8;
    --ebib-text-color-dark: #303030;
    --ebib-text-color-light: #6E6E6E;
    --ebib-border-color: #cccccc;
    --ebib-bg-light: #fafafa;
    --ebib-bg-white: #ffffff;
    --ebib-transition: all 300ms ease-in-out;
}

.slide_clase_serie {
    text-align: center;
    padding: 100px 0px 40px 0px; 
    color: #303030;
}

header.archive-header-clase {
    padding: 2em;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .slide_clase_serie {
        padding: 50px 30px;
    }
}

article.clases {
    text-align: center;
    margin: 0 auto;
} 

span.tema_clase {
    padding: 2px 10px;
    border: 1px solid rgba(128, 128, 128, 0.39);
    margin-right: 6px;
    border-radius: 3px;
    opacity: 0.7;
}

span.tema_clase:hover {
opacity: 1;
}

/* Estilo para los textos en negrita (strong) */
.meta_clase strong,
.last_clase_data strong {
    color: var(--ebib-primary-color);
}

/* Asegurarse de que los enlaces dentro de strong también tomen el color */
.meta_clase strong a {
    color: inherit; /* Hereda el color de su padre (strong) */
}


/* -------------------------------------------------------------------------- */
/* --- 2. Componentes Comunes (Botones, Reproductores) --- */
/* -------------------------------------------------------------------------- */

a.button_clase {
    padding: 15px;
    border: 1px solid var(--ebib-border-color);
    margin: 0 2px;
    border-radius: 10px;
}
@media (max-width: 600px) {
    a.button_clase {
        padding: 10px 10px;
        margin: 0px 5px;
    }
    a.button_clase i {
        margin-right: 10px;
    } 
}

a.button_clase:hover {
    background: var(--ebib-primary-color);
    color: white;
}

.video_player_clase div#mep_0 {
    height: 359px !important;
    width: 640px !important;
}

.video_player_clase .mejs-overlay-button {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto !important;
}

.video_player_clase .mejs-overlay.mejs-layer.mejs-overlay-play {
    height: 359px !important;
}

.options_clase {
    height: 200px;
    padding: 30px 20px 20px 20px;
}

.audio_player_clase span {
    text-align: left;
    display: block;
}
@media (max-width: 600px) {
    .audio_player_clase span {
        text-align: center;
        display: block;
        margin: 5px 0px;
    }
}

.audio_player_clase {
    padding: 20px;
    border: 1px solid var(--ebib-border-color);
    margin-top: 10px;
    color: var(--ebib-primary-color);
    border-radius: 10px;
}

@media (max-width: 600px) {
    .audio_player_clase {
        margin: 10px;
    }
}

/* -------------------------------------------------------------------------- */
/* --- 3. Plantillas de Archivo (Series, Maestros) --- */
/* -------------------------------------------------------------------------- */

ul.contenedor_clases:after {
content: " ";
clear: both;
display: block;
}

ul.contenedor_clases {
    padding: 0;
    margin: 0px;
    counter-reset: my-badass-counter;
    clear: both;
}

ul.contenedor_clases li {
    list-style: none;
    margin-bottom: 0px;
    position: relative;
}

ul.contenedor_clases li a {
    font-weight: bold;
}

ul.contenedor_clases h2 {
    font-size: 24px;
    color: #413d3e;
    font-weight: inherit;
    text-transform: uppercase;
    margin-left: -27px;
}

/* --- 3.1 Grid de Series (Shortcode y Plantilla) --- */
.serie_container {
    margin-bottom: 30px;
}

.serie {
    height: 195px;
    background-size: cover !important;
    margin-bottom: 20px;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 5px;
    overflow: hidden;
}

.data_serie h3 {
    margin-bottom: 10px;
    padding-bottom: 0px;
    font-family: 'Montserrat';
    font-weight: 500;
    text-align: left;
}
.data_serie span {
    background: var(--ebib-primary-color);
    font-size: 18px;
    border: none;
    padding: 5px 15px;
    border-radius: 65px;
    font-weight: 400;
    color: white;
    float: right;
    margin-left: 40px;
}

/* --- 3.2 Listado de Clases (en Archivos) --- */

.single-item-clase-container {
    border: 0px solid #6987B5;
    color: var(--ebib-text-color-light);
    transition: var(--ebib-transition);
    outline: none !important;
    position: relative;
    font-size: 16px;
}
.single-item-clase-container:hover {
    transition: var(--ebib-transition);
    outline: none !important;
    color: rgb(105, 135, 181);
}

a.enlace-clase {
    text-transform: none;
    font-weight: 400;
    font-size: 1em;
}

a.enlace-clase:hover {
    text-decoration: none;
    border:none;
}

.single-item-clase-container:hover a.enlace-clase {
    color: rgb(38, 63, 80);
    text-decoration: none;
    border:none;
}

.single-item-clase:before {
    content: counter(my-badass-counter);
    counter-increment: my-badass-counter;
    position: absolute;
    color: #909090;
    font-weight: bold;
    padding: 10px 0 0 0;
    border-radius: 0;
    font-size: 1em;
    background: #ffffff00;
    text-align: center;
    border-right: thin solid #d0d0d0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
}

p.maestro_listado,
.single-item-clase-container p {
    text-align: left;
    display: block;
    margin: 0;
    padding: 0;
}

ul.contenedor_clases li a {
    font-weight: 400;
    display: inline-block;
    margin: 0;
    text-align: left;
    color: var(--ebib-text-color-dark);
    line-height: 1.4;
    font-size: 16px;
}

.archive-meta-clase {
margin-bottom: 3em;
border-left: 5px solid rgb(200, 200, 200);
padding-left: 3em;
margin-left: 1em;
box-sizing: border-box;
}

.serie-home {
  width: 100%;
  height: 360px;
  background-size: cover !important;
  background-position: center center !important;
  border-radius: 5px;
}
@media (max-width: 600px) {
    .serie-home {
      width: 100%;
      height: 220px;
      background-size: cover !important;
      background-position: center center !important;
      border-radius: 5px;
    }
}


/* -------------------------------------------------------------------------- */
/* --- 4. Shortcode: Última Clase --- */
/* -------------------------------------------------------------------------- */

.last_clase_container {
overflow: hidden;
}

.last_clase_container, .last_clase_container h6, .last_clase_container h5, .last_clase_container h4, .last_clase_container h3, .last_clase_container h2, .last_clase_container a {color: var(--ebib-text-color-dark) !important;}

span.last_clase_serie {
display: inline-block;
color: inherit;
}

.last_clase_data h3 {
font-size: 2em !important;
line-height: 1.1em;
}

span.last_clase_maestro {
text-transform: capitalize;
}

.last_clase_container {
    padding: 0em 0;
    background: rgba(255, 255, 255, 0.77);
    /*margin-top: 11em;*/
    border-radius: 15px;
    box-shadow: 0px 5px 27px 1px #22222230;
}


.last_clase_background_1 {
    height: auto;
    background-size: cover !important;
    background-position: center !important;
    margin: 0;
    width: 40%;
    border-radius: 15px;
}


@media (max-width: 600px) {
    .last_clase_background_1 {
        width:100%;
    }
}

a.last_clase_title:hover {
    transition: var(--ebib-transition);
    color: var(--ebib-primary-hover-color) !important;
}

a.last_clase_title {
    font-weight: bold;
    transition: var(--ebib-transition);
}

.last_clase_data {
    padding: 0px 0px 0px 40px !important;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    z-index: 1;
    position: relative;
    margin-bottom: 0em;
    text-align: left;
}

.slide_clase_serie .day {
text-transform: capitalize;
}

a.boton-vermas {
    clear: both;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 15px;
    margin-right: 7px;
    border-radius: 3px;
    font-weight: 400;
    color: var(--ebib-text-color-dark) !important;
    z-index: 1;
    font-size: 16px;
    position: relative;
    transition: var(--ebib-transition);
    line-height: 2.5em;
    border: 1px solid #cccccc;
}


@media (max-width: 600px) {
    a.boton-vermas {
        display:block;
        margin-top: 10px;
    }
}


.botones-lastclase {margin-top: 2em;}

.content-last-clase {
    display: flex;
    width: 100%;
    padding: 30px;
    margin: 0 auto;
    text-align: center;
}

a.boton-vermas:hover {
    background: #eaeaea; /* A specific hover color, kept as is */
    color: var(--ebib-text-color-dark) !important;
    transition: var(--ebib-transition);
}

.last_clase_container h6 {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 600px) {
    .content-last-clase {
      flex-direction:column;
    }
    .last_clase_background_1 {
        height: 230px;
    }
    .last_clase_data {
        padding: 0px 0px 0px 0px !important;
    }
  }

/* -------------------------------------------------------------------------- */
/* --- 5. Plantilla: Single Clase --- */
/* -------------------------------------------------------------------------- */

  h1.entry-title-clase {
    font-size: 3em;
    font-family: 'Montserrat';
    font-weight: 600;
    width: 600px;
    text-align: center;
    margin: 20px auto 30px auto;
    line-height: 1.2em;
    word-break: break-word;
}

/* -------------------------------------------------------------------------- */
/* --- 6. Estilos del Panel de Administración --- */
/* -------------------------------------------------------------------------- */
.subir-imagen-serie input {
    width: 100%;
    margin-bottom: 10px;
}

.subir-imagen-serie p {
    margin-top: 10px;
}

.subir-imagen-serie img.image-preview {
    width: 100%;
    margin-top: 20px;
}

/* --- 6.1 Archivo de Maestro --- */

h3.maestro-name {
    padding: 0px;
    margin: 0 0 40px 0px;
}

.maestro-header {
    background: white;
    box-shadow: 0px 0px 21px -10px #bbbbbb;
    padding: 2em 3em !important;
    border-radius: 10px;
}

ul.contenedor_maestros {
    padding: 0;
    margin: 0px;
    counter-reset: my-badass-counter;
    clear: both;
}

a.enlace-clase {
    font-size: 16px;
    color: var(--ebib-text-color-dark);
    font-weight: 500;
}
p.maestro_listado {font-size: 1em;color: #0a3380;} /* A specific color, kept as is */

li.single-item-clase {
    background: white;
    margin-bottom: 0px;
    border-radius: 0;
    width: 100%;
    list-style: none;
    padding: 10px 10px 10px 60px;
    border-top: thin solid #d0d0d0;
    border-left: thin solid #d0d0d0;
    border-right: thin solid #d0d0d0;
}

.maestros {
    padding: 100px 0px;
}

@media only screen and (max-width: 600px) {

    .maestros {
        padding: 60px 20px;
    }

  }

.maestro-clases {
    padding: 50px 0px;
}

li.single-item-clase:nth-child(odd) {
    background: var(--ebib-bg-light);
}

.single-item-clase:nth-child(odd):before {border-right: thin solid #d0d0d0 !important;}

li.single-item-clase:last-child {
    border-bottom: thin solid #d0d0d0;
}

/* --- 6.2 Archivo de Serie --- */
.taxonomy-series-clases {
    padding: 5em 0;
}

.post_title_area p {
    font-size: 1.2em;
}

p.fecha-clase {
    text-transform: capitalize;
}

/* --- 6.3 Lista de Maestros (Shortcode) --- */

ul.maestros-listado li a {
    font-size: 1.1em;
    color: #051c38;
    font-weight: 500;
}

ul.maestros-listado li {
    padding: 3px;
}

/* --- 6.4 Shortcode Clases Alternativas --- */

.alternate-clase {
    padding: 0 0 0 20px;
    margin: 0px 0 20px 0;
}

.alternate-clase h4 {
    text-align: left;
    margin: 0;
    font-size: 20px !important;
}

.alternate-clase p {
    text-align: left;
    padding: 0 0px 0 0px;
    margin: 0px;
    font-size: 14px;
    display: inline-block;
    color: #999;
}

.alternate-clase h4 a:hover {
    color: var(--ebib-primary-hover-color) !important;
}
.alternate-clase h4 a {
    color: var(--ebib-text-color-dark) !important;
}

.alternate-clases-container {
    padding: 30px;
    background: var(--ebib-bg-light);
}