.th-slider-wrapper {
    width: 100%;
}

.th-slider-main {
    width: 100%;
    height: 500px;
    margin-bottom: 10px;
}

.th-slider-main .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

.th-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.th-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.swiper-slide:hover .th-slide-bg {
    transform: scale(1.1);
}

.th-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.th-slide-content h2 {
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
}

.th-slide-content p {
    font-size: 1.2rem;
    margin: 0;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Thumbnails */
.th-slider-thumbs {
    height: 100px;
    box-sizing: border-box;
    padding: 0;
}

.th-slider-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.th-slider-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid #007aff;
}

.th-thumb-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.th-thumb-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px;
    text-align: center;
    font-size: 12px;
}

.th-thumb-content h4, .th-thumb-content span {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.th-slider-thumbs .th-thumb-link {
    display: block; /* Hace que el enlace ocupe todo el espacio del thumbnail */
    width: 100%;
    height: 100%;
    text-decoration: none; /* Elimina el subrayado por defecto de los enlaces */
    color: inherit;
    position: relative; /* Es necesario para que el contenido dentro se posicione correctamente */
}