/*
Theme Name: Visitasojuela
Template: astra
Author: SDi
Version: 1.0.0.1771505659
Updated: 2026-02-19 12:54:19

*/

/* GLOBAL */
p {
    margin-bottom: 1em;
}
.btn-primario {
    background-color: #80A230;
    font-family: "Public Sans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1em;
    color: #FFFFFF;
    border: 2px solid #80A230;
    border-radius: 5px;
    padding: 8px 12px;
}
.btn-primario:hover, .btn-primario:active, .btn-primario:focus {
    color: #80A230;
    background-color: transparent;
}
.btn-primario::after,
.btn-secundario::after {
    content: '\f061';
    font-family: 'Font Awesome 7 Pro';
    font-weight: 400;
    font-style: normal;
    margin-left: 8px;
}
.btn-secundario {
    background-color: transparent;
    font-family: "Public Sans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1em;
    color: #80A230;
    border: 2px solid #80A230;
    border-radius: 5px;
    padding: 8px 12px;
}
.btn-secundario:hover, .btn-secundario:active, .btn-secundario:focus {
    color: #ffffff;
    background-color: #80A230;
}
/* GLOBAL END */

/* HEADER HOME SCROLL */
.page-id-21 #header-top:not(.scrollheader){
    background-color: transparent !important;
}
.page-id-21 #header-top:not(.scrollheader) .elementor-nav-menu--main a.elementor-item.menu-link{
    color: #FFFFFF !important;
}
.page-id-21 #header-top:not(.scrollheader) .elementor-nav-menu--main a.elementor-item.menu-link .sub-arrow:hover svg path{
    fill: #80A230 !important;
}

.page-id-21 #header-top:not(.scrollheader) .elementor-nav-menu--main a.elementor-item.menu-link:hover{
    color: #80A230 !important;
    text-decoration: underline !important;
}

.page-id-21 #header-top:not(.scrollheader) .elementor-nav-menu--main svg{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(26deg) brightness(105%) contrast(104%);
}

.page-id-21 #header-top:not(.scrollheader) .elementor-widget-theme-site-logo img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(26deg) brightness(105%) contrast(104%);
}

.section-banners-with-text .elementor-column .float-title {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 90%;
    z-index: 99;
}

.subrayado{
    text-decoration: underline;
    text-underline-offset: 4px;
}
.gal-home-item-img:not(#gal-home-item-img-1){
    display: none;
}

.gal-home-item a{
    text-decoration: none !important;
}

/* ELEMENTO GALERIA */

.vj-galeria-custom {
    overflow: hidden;
}
.vj-galeria-custom .swiper{
    max-width: 1783px;
    overflow: visible;
}

.vj-galeria-custom .swiper-scrollbar {
    height: 6px;
    background: transparent;
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 30px;
}

.vj-galeria-custom .swiper-scrollbar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: #000000;
    margin-bottom: 30px;
}

.vj-galeria-custom .swiper-scrollbar-drag{
    height: 6px;
    border-radius: 0;
    background: #80A230;
    position: relative;
    z-index: 1;
}

.gallery-item .gallery-icon img {
    height: 530px;
    width: 100%;
    object-fit: cover;
    padding-bottom: 59px;
}

/*  ELEMENTO GALERIA DE NOTICIAS */

.vj-noticias-custom {
    overflow-x: clip;
    overflow-y: visible;
}

.vj-noticias-custom .swiper{
    max-width: 1783px;
    overflow: visible;
}

.vj-noticias-custom .swiper-scrollbar {
    height: 6px;
    background: transparent;
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 30px;
}

.vj-noticias-custom .swiper-scrollbar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: #000000;
    margin-bottom: 30px;
}

.vj-noticias-custom .swiper-scrollbar-drag {
    height: 6px;
    border-radius: 0;
    background: #80A230;
    position: relative;
    z-index: 1;
}

.swiper-slide .elementor-post__thumbnail {
    height: 530px;
 }

.vj-noticias-custom .attachment-full img {
    object-fit: contain;
 }

.swiper article {
    height: 750px;
}

.swiper-button-prev, .swiper-button-next {
    background-image: none !important;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 57px;
    height: 57px;
    color: transparent !important;
    position: absolute !important;
    top: auto !important;
    bottom: -60px !important;
    margin: 0 !important;
    transform: none !important;
}

.swiper-button-prev {
    left: 70% !important;
    margin-right: 5px !important;
    transform: translateX(calc(-100% - 5px + 400px)) !important;
}

.swiper-button-next {
    left: 70% !important;
    margin-left: 5px !important;
    transform: translateX(calc(5px + 400px)) !important;
}

.swiper-button-prev::before, .swiper-button-next::before {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 21px auto;
    background-position: center;
    filter: brightness(0) invert(1);
}

.swiper-button-prev::before {
    background-image: url(/wp-content/uploads/2026/03/arrow-left-solid-full.svg);
}

.swiper-button-next::before {
    background-image: url(/wp-content/uploads/2026/03/arrow-right-solid-full.svg);
}

.swiper-button-next::after, .swiper-button-prev::after {
    display: none !important;
    content: none !important;
    font-size: 0 !important;
}

.swiper-button-next svg, .swiper-button-prev svg {
    display: none !important;
}

/* NOTICIAS - scroll horizontal en móvil */
@media (max-width: 767px) {
    .vj-noticias-custom {
        overflow: hidden;
    }

    .vj-noticias-custom .swiper {
        overflow: hidden;
        padding: 0 !important;
    }

    /* Cada slide ocupa exactamente el ancho del contenedor */
    .vj-noticias-custom .swiper-slide,
    .vj-noticias-custom .elementor-post.swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
    }

    /* Ocultar botones prev/next en móvil (navegación por swipe) */
    .vj-noticias-custom .swiper-button-prev,
    .vj-noticias-custom .swiper-button-next {
        display: none !important;
    }

    /* Fuerza layout horizontal en swiper-wrapper aunque Elementor lo pise */
    .vj-noticias-custom .swiper-wrapper,
    .vj-noticias-custom .elementor-posts-container.swiper-wrapper,
    .vj-noticias-custom .elementor-posts--skin-classic .elementor-posts-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
    }

    .vj-noticias-custom .swiper-scrollbar {
        position: relative !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px !important;
        height: 40px !important;
        bottom: -62px !important;
    }

    .swiper-button-prev::before,
    .swiper-button-next::before {
        background-size: 15px auto;
    }

    .swiper-button-prev {
        left: 70% !important;
        transform: translateX(calc(-100% - 5px + 30px)) !important;
    }

    .swiper-button-next {
        left: 70% !important;
        transform: translateX(calc(5px + 30px)) !important;
    }
}

/* Eventos */
@media (min-width: 768px) {
    .eventos-template-default.single-eventos .event-col-sticky {
        position: sticky !important;
        top: -5%;
        align-self: flex-start !important;
    }
}
.eventos-template-default.single-eventos .event-fecha-inicio, .eventos-template-default.single-eventos .event-fecha-inicio-fin,
.eventos-template-default.single-eventos .event-horario, .eventos-template-default.single-eventos .event-ubicacion,
.eventos-template-default.single-eventos .event-organizador, .eventos-template-default.single-eventos .event-aforo,
.eventos-template-default.single-eventos .event-precio {
    display: flex;
    align-items: center !important;
    gap: 10px !important;
}
.eventos-template-default.single-eventos .event-fechas i,
.eventos-template-default.single-eventos .event-fecha-inicio i, .eventos-template-default.single-eventos .event-fecha-inicio-fin i,
.eventos-template-default.single-eventos .event-horario i, .eventos-template-default.single-eventos .event-ubicacion i,
.eventos-template-default.single-eventos .event-organizador i, .eventos-template-default.single-eventos .event-aforo i,
.eventos-template-default.single-eventos .event-precio i {
    color: #80A230;
}
.eventos-template-default.single-eventos .event-fechas {
    margin-block-end: 14px !important;
}
.eventos-template-default.single-eventos .event-fechas-txt {
    font-family: 'Public Sans';
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin-left: 10px;
}
.eventos-template-default.single-eventos .sojuela-evento-btn-citylok {
    font-family: 'Public Sans';
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background-color: #80A230;
    padding: 8px 18px;
    border: 1px solid #80A230;
    border-radius: 8px;
}
.eventos-template-default.single-eventos .sojuela-evento-btn-citylok:hover,
.eventos-template-default.single-eventos .sojuela-evento-btn-citylok:active,
.eventos-template-default.single-eventos .sojuela-evento-btn-citylok:focus {
    color: #80A230;
    background-color: transparent;
}
.eventos-template-default.single-eventos .evento-excerpt-fechas,
.post-type-archive-eventos .evento-excerpt-fechas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px !important;
}
.eventos-template-default.single-eventos .evento-excerpt-fecha,
.post-type-archive-eventos .evento-excerpt-fecha {
    font-family: 'Public Sans';
    font-size: 16px;
    font-weight: 600;
    color: #80A230;
}
.post-type-archive-eventos .elementor-post__text {
    text-align: center;
}
/* Filtro de fechas en archivo de eventos */
.evento-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    font-family: "Playfair Display", Sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1em;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .evento-filtros {
        gap: 30px;
        font-size: 24px;
    }
}
@media (max-width: 767px) {
    .evento-filtros {
        gap: 20px;
        font-size: 20px;
    }
}
.evento-filtro {
    color: #000000;
    white-space: nowrap;
    cursor: pointer;
    opacity: 0.5;
}
.evento-filtro:hover {
    opacity: 1;
    color: #80A230;
}
.evento-filtro.is-active {
    opacity: 1;
}
/* Paginación */
.events-icon-prev, .events-icon-next {
    font-size: 14px;
    color: #000000;
    bottom: 2px;
    position: relative;
}
.page-numbers.current {
    background-color: #80A230;
    border-radius: 15px;
    padding: 1px 9px !important;
}
.events-icon-prev {
    padding-right: 10px;
}
.events-icon-next {
    padding-left: 10px;
}
/* Eventos End */
/* RUTAS FICHA */
.ruta_ver-ruta-btn {
    bottom: 84px;
    right: 20px;
}
.ruta-acf-desnivel, .ruta-acf-recorrido, .ruta-acf-tiempo, .ruta-acf-direccion, .ruta-acf-lugares, .ruta-acf-estaciones {
    display: flex;
    margin-block-end: 14px !important;
}
.ruta-acf-desnivel i, .ruta-acf-recorrido i, .ruta-acf-tiempo i, .ruta-acf-direccion i, .ruta-acf-lugares i, .ruta-acf-estaciones i {
    color: #80A230;
    font-size: 20px;
    margin-right: 20px;
}
.ruta-flora-titulo {
    margin-block-end: 0px !important;
}
.ruta-flora-descripcion ul {
    margin: 0 0 0 1.2em;
}
.ruta_otros-senderos .elementor-post__read-more {
    border: 2px solid #80A230;
    padding: 8px 12px;
    border-radius: 5px;
}
.ruta_otros-senderos .elementor-post__read-more:hover {
    background-color: #80A230;
    color: #FFFFFF !important;
}
@media screen and (min-width: 1367px) and (max-width: 1610px) {
    .ruta_header .elementor-widget-wrap, .ruta_seccion-fauna .elementor-widget-wrap,
    .ruta_seccion-flora .elementor-widget-wrap, .ruta_seccion-otros .elementor-widget-wrap {
        margin: 0px !important;
    }
    .ruta_header .ruta_titulo h1 {
        font-size: 60px !important;
    }
    .ruta_seccion-descripcion {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
    .ruta_descripcion {
        margin: 0% 20% 0% 20% !important;
    }
}
/* RUTAS FICHA END */

.dialog-lightbox-message .elementor-slideshow__counter{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


@media (max-width: 768px) {
    .elementor-nav-menu--dropdown {
        width: 100vw;
        position: absolute;
        text-align: center;
        right: 0px;
        top: 32px;
    }

    .elementor-menu-toggle {
        background-color: transparent !important;
    }

    .page-id-21 #header-top:not(.scrollheader) .elementor-menu-toggle svg{
        fill: #FFFFFF !important;
    }
}

.page-id-21 #header-top:not(.scrollheader){
    border-style: none !important;
    border-width: 0px !important;
}