/*
 Theme Name:   Eduma Child
 Theme URI:    https://educationwp.thimpress.com/
 Description: Child theme for Eduma
 Author:       ThimPress
 Template:     eduma
 Version:      1.0
*/

/* =========================
   LEARNPRESS / CURSOS
========================= */

/* Ocultar botón COMPRAR AHORA */
.lp-course-buttons,
.buy-course,
.purchase-course,
.lp-button,
button.lp-button {
    display: none !important;
}

/* Ocultar bloque de compartir */
.course-share,
.thim-social-share,
.thim-course-share,
.share,
.entry-share,
.course-share-social,
.course-share-socials,
.course-share-wrapper,
.single-lp_course .share,
.single-lp_course .thim-social,
.single-lp_course .social-share {
    display: none !important;
}

/* =========================
   EVENTS MANAGER
========================= */

/* Ocultar cupón y botón "Aplicar" */
.em-coupon,
.em-booking-form .em-coupon-code,
.em-booking-form .em-coupon-submit,
.em-booking-form .em-coupon-wrapper,
.em-booking-form .em-coupon-link,
.em-booking-form a {
    display: none !important;
}

/* Formato de precio */
.em-booking-form .em-price {
    font-weight: bold;
    color: #7abf2a;
}

/* Mantener saltos de línea en extractos */
.em-event .em-event-excerpt,
.em-event-content,
.event-excerpt,
.event-description {
    white-space: pre-line !important;
}

/* =========================
   PESTAÑAS DE EVENTOS
========================= */

/* Desactivar enlaces solo en "Actualmente" */
.event-tab-ongoing .title a {
    pointer-events: none;
    cursor: default;
    color: #000 !important;
}

.event-tab-ongoing .title a:hover {
    color: #000 !important;
    text-decoration: none;
}

/* =========================
   FICHA DEL EVENTO
========================= */

/* Ajustes de espaciado en bloques de información */
.tp-event-info .tp-info-box {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-bottom: 4px !important;
}

.tp-event-info .tp-info-box .heading {
    margin-bottom: 2px !important;
}

.tp-event-info .tp-info-box p {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
}

/* Quitar línea entre Fecha inicio y Fecha fin */
.tp-event-info .tp-info-box:nth-child(1) {
    border-bottom: none !important;
    margin-bottom: 3px !important;
    padding-bottom: 3px !important;
}

.tp-event-info .tp-info-box:nth-child(2) {
    margin-top: 2px !important;
    padding-top: 2px !important;
}

/* Ocultar ciudad (último bloque) */
.tp-event-info .tp-info-box:last-child {
    display: none !important;
}

/* =====================================================
   BLOQUEAR CLICK Y HOVER - CALENDARIO ACADÉMICO (HOME)
   Widget: thim-ekits-event-style / thim-list-event
===================================================== */

/* Bloquear totalmente los enlaces */
.home .thim-list-event a {
    pointer-events: none !important;
    cursor: default !important;
}

/* Quitar efecto hover de texto */
.home .thim-list-event a:hover,
.home .thim-list-event h3:hover,
.home .thim-list-event .title:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* Quitar hover del bloque completo */
.home .thim-ekits-event-style:hover,
.home .thim-list-event .event-item:hover {
    box-shadow: none !important;
    transform: none !important;
    background: inherit !important;
}


.event-status-started{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #7bc043;
    margin-bottom: 4px;
    text-align: center;
}

