.listado_cards_wrap .tns-slider {
    display: flex;
    align-items: stretch;
}

.listado_cards_wrap .titulo_card_link {
    font-size: 18px;
    font-weight: 600;
    margin: 7px 0;
}

.listado_cards_wrap .card-link.fake-a {
    cursor: pointer
}

.listado_cards_wrap .card-link {
    width: 100%;
    border-radius: 20px !important;
    padding: 2rem;
    min-height: 100%;
    background-color: #d0e5da;
}

.listado_cards_wrap .card-link.centrada {
    background-color: #ffedce;
}

.listado_cards_wrap .card-link.shadow-sm:hover {
    box-shadow: none !important;
}

.listado_cards_wrap .card-link:hover {
    background-color: #ffedce;
}

.listado_cards_wrap .card-link .img_card_link {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    margin-bottom: 10px;
}

 .listado_cards_wrap .card_list_wrap {
    /* display: flex;
    align-items: stretch;
    flex: 1 0 auto; */
    /* width: auto;  */
} 

.listado_cards_wrap .antetitulo_card {
    margin: 7px 0;
}

.listado_cards_wrap .texto_card_link {
    font-size: 14px;
}

.listado_cards_wrap .link_wrap {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
}

.listado_cards_wrap .tns-nav {
    display: flex !important;
    max-width: 1000px;
    margin: 20px auto;
    height: 10px;
    position: relative;
}

.listado_cards_wrap .tns-nav:before {
    position: absolute;
    top: 50%;
    content: "";
    height: 1px;
    background-color: grey;
    left: 0;
    right: 0;
}

.listado_cards_wrap .tns-nav button {
    flex: 1;
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
}

.listado_cards_wrap .tns-nav button.tns-nav-active {
    background-color: #c3c3c3;
    border-radius: 20px;
    z-index: 10;
}

.listado_cards_wrap .arrow_box {
    margin: 0 2%;
    text-align: right;
}

.listado_cards_wrap .arrow_box button {
    border: 1px solid #c3c3c3;
    background-color: transparent;
    border-radius: 180px;
    width: 50px;
    height: 50px;
}

.listado_cards_wrap .posicion-izquierda {
    flex-direction: row;
    align-items: center;
    gap: 3em;
}

.listado_cards_wrap .posicion-derecha {
    flex-direction: row-reverse;
    align-items: center;
    gap: 3em;
}

.listado_cards_wrap.tipo-img-izquierda .card-link {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.listado_cards_wrap.tipo-img-fondo {
    position: relative;
}

.listado_cards_wrap.tipo-img-fondo .tns-ovh {
    overflow-y: clip;
}

.listado_cards_wrap.tipo-img-fondo .card_list_wrap {
    padding: 0 15px !important;
}

.listado_cards_wrap.tipo-img-fondo .card_list_wrap .card-link {
    padding: 0 !important;
    background-color: transparent !important;
    margin-bottom: 0 !important;
    min-height: auto;
}

.listado_cards_wrap.tipo-img-fondo .card_list_wrap .card-link .content_card {
    position: absolute;
    z-index: 1;
    width: 100%;
    padding: 40px 50px 50px;
    border-radius: 20px;
    bottom: 0;
}

.listado_cards_wrap.tipo-img-fondo .card_list_wrap .card-link .content_card .titulo_card_link {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 15px;
}

.listado_cards_wrap.tipo-img-fondo .posicion-fondo .img_card_link {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.listado_cards_wrap.tipo-img-fondo .posicion-fondo .img_card_link::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 70%;
    bottom: 0;
    background: linear-gradient(0deg, rgba(90, 90, 90, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.listado_cards_wrap.tipo-img-fondo .posicion-fondo .img_card_link img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: none;
}

.listado_cards_wrap.tipo-img-fondo .arrow_box {
    position: absolute;
    top: calc(50% - 25px);
    width: 96%;
    margin: 0 2%;
}

.listado_cards_wrap.tipo-img-fondo .arrow_box button {
    position: absolute;
}

.listado_cards_wrap.tipo-img-fondo .arrow_box button.tiny_prev {
    left: 0;
}

.listado_cards_wrap.tipo-img-fondo .arrow_box button.tiny_next {
    right: 0;
}

.listado_cards_wrap.tipo-img-fondo .arrow_box button i {
    color: #fff;
}

.listado_cards_wrap .lottie-circular {
    border-radius: 50%;
    overflow: hidden;
    border: 30px solid #FDB839;
}

@media (max-width: 679px) {
    .listado_cards_wrap .posicion-derecha {
        flex-direction: column;
    }
}

@media (max-width: 599px) {
    .listado_cards_wrap.tipo-img-fondo .arrow_box {
        top: calc(50% - 100px);
        width: 98%;
        margin: 0 1%;
    }

    .listado_cards_wrap.tipo-img-fondo .arrow_box button {
        width: 35px;
        height: 35px;
    }

    .listado_cards_wrap.tipo-img-fondo .arrow_box button i {
        font-size: 13px;
    }
}

@media (max-width: 499px) {
    .anim-lottie {
        height: auto !important;
    }
}


/***Table***/
.table-cards {
    border-collapse: collapse;
    border: none;
    width: 100%;
    table-layout: fixed;
}

/* Encabezado */
.table-cards thead tr th {
    border-bottom: 1px solid rgba(0, 148, 187, 1) ! important;
    text-align: left;
    padding: 10px 15px;
}
/* Ancho */
.table-cards th:first-child,
.table-cards td:first-child {
    width: 50%;
}

.table-cards th:nth-child(2),
.table-cards td:nth-child(2),
.table-cards th:nth-child(3),
.table-cards td:nth-child(3) {
    width: 25%;
}


/* Efecto hover sobre las filas */
.table-cards tbody tr:hover {
    background-color: rgba(0, 107, 187, 1);
    color: #fff;
    transition: background-color 0.3s ease;
}

/* Enlaces dentro de las celdas por defecto en negro */
.table-cards tbody td a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    text-decoration: underline;

}

/* Efecto hover sobre la fila */
.table-cards tbody tr:hover {
    background-color: rgba(0, 107, 187, 1);
    transition: background-color 0.3s ease;
    position: relative;
}

/* Enlaces de la fila en blanco al hacer hover */
.table-cards tbody tr:hover td a {
    color: #fff;
}

/* "Columna extra" Con "More info" y flecha */
.table-cards tbody tr:hover::after {
    content: "More info ➔";
    color: #fff;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
}

.table-cards thead th {
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.table-cards tbody tr td {
    border-bottom: 1px solid rgba(0, 148, 187, 0.2) !important;
}
.table-cards tbody tr:last-child td {
    border-bottom: none !important;
}

.grey_wrapper{
    background-color: rgba(238, 238, 238, 1);
    padding-top: 5dvh;
    padding-bottom: 5dvh;
    margin-top: 5dvh;
}

/* Cards Users */
.card.teacher-card {
    background: transparent; 
    border: none; 
}

.card.teacher-card .card-image {
    width: 238px;
    height: 298px;
    position: relative;
    overflow: hidden; 
}
@media (max-width: 768px) {
  .card.teacher-card .card-image {
    /*width: 100%;
    height: auto;*/
  }
}


.card.teacher-card .card-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.card.teacher-card .card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 107, 187, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card.teacher-card .card-image::before {
    content: "More info ➔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none; 
}

.card.teacher-card .card-image:hover::after {
    opacity: 1;
}

.card.teacher-card .card-image:hover::before {
    opacity: 1;
}

.card.teacher-card .card-image:hover img {
    transform: scale(1.05);
}

.card.teacher-card .telefono,
.card.teacher-card .email {
    color: rgba(0, 148, 187, 1);
}

/* Icono de teléfono */
.card.teacher-card .telefono::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('/wp-content/uploads/2025/10/phone-icon.svg') no-repeat center;
    background-size: contain;
    margin-right: 1dvh;
}

/* Icono de correo */
.card.teacher-card .email::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('/wp-content/uploads/2025/10/email-icon.svg') no-repeat center;
    background-size: contain;
    margin-right: 1dvh;
}

.card.teacher-card .telefono,
.card.teacher-card .email {
    margin-bottom: 1dvh; 
}
.card.teacher-card .categoria {
    margin-bottom: 1dvh; 
}

@media (max-width: 767.98px) {
  #cards_block_eab44cfc714a4633e2d705ee0f40e7ee {
    justify-content: center;
  }
}
