/*
    Theme Name: Meatza
    Theme URI: 
    Author: CBT Comunicación y multimedia
    Author URI: https://cbt.es
    Description: Theme Diseñado para la plataforma de Tierras Altas
    Version: 1.4
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: meatzaldea
*/

:root {
    --primary:#9D432C !important; /* Marron */
    --bs-primary-rgb:rgba(157, 67, 44, 1) !important;
    --secondary:#423C38 !important; /* Gris */
	--bs-secondary-bg-subtle:#423C38;
    --primaryHover : rgba(0, 114, 206,0.9);
    --GrisFondos : #f6f6f6;
    --Negro : #333;
    --GrisLetras : #2D2926;
  }

*{
    font-family:"itc-avant-garde-gothic-pro";
	font-weight:300;
	color: #2D2926;
    font-size: 18px;
    line-height: 1.9em !important;
}

h1{
    font-size: 144px !important;
    font-weight:500;
    line-height: 1.2 !important;
}
.rutas h1{
    font-size: 100px !important;
}

h2{
    font-size: 48px !important;
    font-weight:400;
    line-height: 60px !important;
}
h3{
    font-size: 32px !important;
    font-weight:600 !important;
    line-height: 1.2 !important;
}

h3.f24 i{
    font-size: 24px !important;
    margin-right: 5px;
}


.f24{
    font-size: 24px !important;
}

#info-practica p{
    font-size: 16px !important;
    margin-bottom: 0.5rem !important;
}

.f40{
    font-size: 40px !important;
}
a{
	color:#9D432C !important;
    overflow-wrap: break-word;
    word-wrap: break-word;   /* compatibilidad */
    word-break: break-word;
}
b, strong {
    font-weight: 700 !important;
}

footer .menu li{
    margin-bottom: .5rem !important;
}
footer a{
	text-decoration:none;
	color: #2D2926 !important;
	font-size:18px;
}


footer a:hover{
	color:#9D432C !important;
}

.htotalmax{
   height: 100vh !important;
}

.bg-marron{
    background-color: #9D432C;
}
.marron{
    color: #9D432C;
}


.bg-gris{
    background-color: #423C38;
}

.bg-beige{
    background-color: #EFE4CE;
}

.ocultar-scroll{
    overflow: auto;           /* o scroll, si prefieres */
  scrollbar-width: none;    /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.accordion-button:not(.collapsed) {
  background-color: transparent !important; /* Elimina el color gris */
  box-shadow: none !important; /* Elimina sombra si la hay */
  color: inherit !important; /* Mantiene el color del texto original */
}


.cuadricula {
    overflow:hidden;
    border-radius: 10px;
    display: block;
    height: 100%;
    aspect-ratio: 136 / 147;
    position: relative;
}

.cuadricula img{
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease,  opacity 0.5s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Muy recomendable */
    
}
.cuadricula:hover img {
    transform: scale(1.05);
    opacity: 0.5;
}

.boton, .boton-rut:hover, .boton-rut.active{
    background-color: #9D432C !important;
    color: white;
    border: none;
    padding: 10px 30px;
     border: 2px solid #9D432C !important;
}
.boton-rut{
    background-color: white !important;
    border: 2px solid #2D2926 !important;
    border: none;
    padding: 10px 30px;
}
.card-body a:hover{
    text-decoration: underline !important;
}


section {
  scroll-margin-top: 220px;
}



/*//////////// Menu  */

nav ul{
    list-style: none;
}
nav .menu ul li:hover a{
    /*color: #B318CE !important;*/
}
nav .menu:hover div > a:hover {
    background-color: #F2DFF6 !important;

}
nav .menu:hover > div{
display: block !important;
}

.nav-fijo{
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: white;
    transition: 0.5s all;
}

.nav-fijo .text-light,
.nav-fijo .logo path,
.nav-fijo2 .text-light,
.nav-fijo2 .logo path{
    color: black !important;
    fill: black !important;
}


/*#nav-desktop:hover {
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: white;
    transition: 0.5s all;
}
#nav-desktop:hover .text-light,
#nav-desktop:hover .logo path{
    color: black !important;
    fill: black !important;
}*/

#busquedaModal *{
    font-size: 18px !important;
    font-weight: 100;
}

/*#busquedaModal #nav-desktop,
#ModalMaps #nav-desktop {
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: white;
    transition: 0.5s all;
}*/

#busquedaModal .text-light, 
#busquedaModal .logo path,
#ModalMaps .text-light, 
#ModalMaps .logo path{
    color: black !important;
    fill: black !important;
}

#busquedaModal .menu,
#ModalMaps .menu{
    display: none;
}

#busquedaModal input{
    border: none !important;
}

#busquedaModal input:focus{
    box-shadow: none !important;
}

.busqueda{
    border-bottom: solid 1px #ddd;
}

#busquedaModal h2{
    color: #272627;
    font-size: 42px !important;
    font-weight: 600 !important;
    letter-spacing: 1.1 !important;

}

#busquedaModal h6{
    color: #272627;
    font-size: 32px !important;
    font-weight: 500 !important;
    letter-spacing: 1.1 !important;
    text-transform: none !important;
}

.imagen-busqueda{
    min-width:200px; 
    min-height: 200px; 
    border-radius: 20px;
    background-size: cover;
}

.cerrar-busqueda{
    display: none;
    cursor: pointer;
}

#busquedaModal .icono-busqueda{
    display: none;
}

#busquedaModal .cerrar-busqueda{
    display: block;
}


.imagen-mapa{
    min-width:200px; 
    min-height: 200px; 
    border-radius: 20px;
    background-size: cover;
}

.cerrar-mapa{
    display: none;
    cursor: pointer;
}

#ModalMaps .icono-mapa{
    display: none;
}

#ModalMaps .cerrar-mapa{
    display: block;
}

#busquedaModal .modal-body{
    scrollbar-width: none;
}

.marcador p:hover, .marcador .icono svg:hover path{
    color: #FE4E6E !important;
    fill: #FE4E6E !important;
    cursor: pointer;
}
.marcador p:hover ~ .marcador .icono svg:hover path{
    color: #FE4E6E !important;
    fill: #FE4E6E !important;
    cursor: pointer;
}


.desplegable a:hover{
    background-color: rgba(157, 67, 44, 0.5) ;
}


.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: #EFE4CE; /* Color de fondo */
    color: #666 !important; /* Color de la flecha */
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}


/* Contenedor de la imagen que forzará la forma cuadrada */
.img-container {
    position: relative;
    width: 90%;            /* Toma el 100% del ancho del contenedor */
    padding-top: 80%;      /* Esto hará que el contenedor sea cuadrado */
    overflow: hidden;       /* Asegura que nada se desborde si la imagen es más grande */
}

/* Estilo para la imagen dentro del contenedor */
.img-cuadrada {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;            /* La imagen ocupa el 100% del ancho */
    height: 100%;           /* La imagen ocupa el 100% de la altura */
    object-fit: cover;      /* Asegura que la imagen cubra el área sin distorsionarse */
}


.menu-wordpress-items ul{
    padding-top: 3rem;
    padding-bottom: 3rem;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    margin-left: -0.75rem;
    margin-right: -0.75rem;


}

.menu-wordpress-items ul li{
    flex: 0 0 auto;
    width: 33.333%; /* row-cols-3 */
    padding: 0.5rem;
}
.menu-wordpress-items ul li a{
    white-space: nowrap;          /* text-nowrap */
    padding-top: 0.5rem;          /* py-2 */
    padding-bottom: 0.5rem;
    padding-left: 1.5rem;         /* px-4 */
    padding-right: 1.5rem;
    text-decoration: none;        /* text-decoration-none */
    color: #212529 !important;               /* text-dark */
    text-align: center;           /* text-center */

    display: inline-block;
}

.dormir a.activo svg path, .dormir a:hover svg path{
    color: #9D432C !important;
    fill: #9D432C !important;
    
}

.dormir a:hover{
    cursor: pointer;
}


.imprescindibles h3{
    font-size: 20px !important;
}
.imprescindibles p{
    font-size: 16px !important;
}


.bloque-inicio{
    transform: translateY(-300px) !important; margin-bottom: -200px;
}

  .dormir > a p{
        white-space: normal;        /* permite salto de línea */
        word-break: normal !important;         /* NO parte palabras */
        /*overflow-wrap: break-word;  /* solo rompe si es imposible */
        text-align: center;

    }

    .pildora{
        white-space: nowrap;        /* permite salto de línea */
        word-break: normal !important;         /* NO parte palabras */
    }


    #menuresposive .menu-wordpress-items ul{
        display: block;
        padding: 0;

    }

    .video-header video{
         width: 100%;
        max-height: 100vh;
        min-width: 100vw;
    }


    .logos img {
        max-height: 130px !important;
        max-width: 250px;
        height: auto;
        width: auto;
        margin: 0 20px;
    }



/* ////////////////////////////////////////////////////////  */



@media (max-width: 1500px) {

    h1{
        font-size: 90px !important;
        line-height: 1.2 !important;
        margin-bottom: 0;
       
    }
    .rutas h1{
        font-size: 80px !important;
    }

    h2{
        font-size: 34px !important;
        
        line-height: 40px !important;
    }
    h3{
        font-size: 28px !important;
        
    }

     .dormir > a p{
        font-size: 16px !important;

    }

     .bloque-inicio {
        transform: translateY(-200px) !important;
     }



}


@media (max-width: 1200px) {

    h1{
        font-size: 70px !important;
       
    }
    .f24{
        font-size: 20px !important;
        line-height: 1.5em !important;
    }



    .intro div {
        position: static !important;
       /* transform: translate(0px, 0px) !important;*/
        margin: auto auto auto;
    }
    /*.intro div::first-child {
        
        margin-bottom: -30px;
    }*/

    .bloque-inicio, .intro div:nth-child(2) {
        transform: translateY(-100px) !important;
        margin-bottom: -100px !important;
    }

    .intro{
         margin-bottom: -200px !important;
    }
    .dormir{
        overflow: auto;
    }


    .video-header video{
        max-height: initial !important;
        min-width: initial !important;
        min-height: 110%;
    }
    .fondo div div{
        justify-content: center !important;
    }
}


@media (max-height: 600px) {

    h1{
        font-size: 30px !important;
        line-height: 1.2 !important;
        margin-bottom: 0;
       
    }
}

@media (max-width: 900px) {

    h1{
        font-size: 50px !important;
       
    }
    .rutas h1{
        font-size: 40px !important;
    }

    h2{
        font-size: 30px !important;
        
        line-height: 40px !important;
    }
    h3{
        font-size: 28px !important;
        
    }
    .f24{
        font-size: 18px !important;
        line-height: 1.9em !important;
    }


}

.modal-backdrop.show {
    z-index: 9 !important;
}

/************  Idiomas  **************/
.minimal-lang-dropdown{
    position:relative;
    display:inline-block;
    /*margin-top: -7px;*/
}

/* Botón */
.lang-toggle{
    display:flex;
    align-items:center;
    gap:6px;

    height:40px;
    padding:0 14px;

    border:none;
    border-radius:999px;

    background:#fff;
    color:#111;

    font-size:14px;
    font-weight:400;
    letter-spacing:.12em;
    text-transform:uppercase;

    cursor:pointer;

    transition:all .25s ease;
}

/* Hover */
.lang-toggle:hover{
    transform:translateY(-1px);
    /*box-shadow:0 8px 24px rgba(0,0,0,.08);*/
}

/* Flecha */
.arrow{
    font-size:10px;
    opacity:.6;
}

/* Dropdown */
.lang-menu{
    position:absolute;
    top:calc(100% + 5px);
    right:0;

    min-width:72px;

    padding:8px;

    background:#fff;

    border-radius:18px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    opacity:0;
    visibility:hidden;

    transform:translateY(6px);

    transition:all .22s ease;

    z-index:999;
}

/* Mostrar */
.minimal-lang-dropdown:hover .lang-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* Links */
.lang-menu a{
    display:flex;
    align-items:center;
    justify-content:center;

    height:38px;

    border-radius:12px;

    color:#111;
    text-decoration:none;

    font-size:12px;
    font-weight:400;
    letter-spacing:.12em;
    text-transform:uppercase;

    transition:all .2s ease;
}

/* Hover links */
.lang-menu a:hover{
    background:#f5f5f5;
}


/* 360 */
.icono-360{
        max-width: 40px;
        margin-right: 15px;
        height: 100%;
}

#boton-360{
    cursor: pointer !important;
}


.imagen-busqueda {
    min-width: 150px;
    min-height: 150px;
    border-radius: 20px;
    background-size: cover;
}

.texto-busqueda p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}