/* 1. Recuperar el efecto de la letra gigante de la demo */
footer .letter-background {
    color: rgba(255, 255, 255, 0.08) !important; 
    display: block !important;
    font-family: var(--font-header);
    z-index: 1;
}

/* 2. Forzar que los títulos de los widgets sean blancos */
footer .footer-tittle h4, 
footer .widget-title {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

/* 3. Forzar que el resto de textos sean gris clarito/blanco (INCLUYE PUNTOS Y TÍTULOS DE POSTS) */
footer .footer-area p, 
footer .footer-area li, 
footer .footer-area a, 
footer .footer-area span,
footer .trand-right-cap h4 a,
footer .trand-right-cap span {
    color: rgba(255, 255, 255, 0.85) !important;
}

footer .footer-area a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* 4. Tu diseño original de etiquetas (tags) que te gustaba */
footer .tag-cloud-link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}


body{margin-top:20px;}
.history-wrapper {
    position: relative;
    padding: 50px 0 50px;
}
.history-wrapper:after {
    content: "";
    width: 3px;
    height: 100%;
    background: #ededed;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}
.history-wrapper .title-wrap {
    opacity: 0.2;
    padding: 100px 0 0 45px;
}
.history-wrapper .timeline-box {
    position: relative;
}
.one-of-two {
    width: 50%;
    float: left;
}
.history-wrapper .timeline-box:not(:last-child) {
    margin-bottom: 140px;
}
.timeline-box:nth-child(2n) {
    padding: 0 0 0 140px;
}
.history-wrapper .timeline-box:nth-child(2n) {
    margin-bottom: 140px;
}
.history-wrapper .timeline-box:nth-child(2n + 1) {
    margin-top: -24%;
    text-align: right;
}
.timeline-box:nth-child(2n + 1) {
    padding: 0 140px 0 0;
}
.year {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    background: #fff;
    top: 30%;
    color: #3b3b3b;
    transform: translateY(-50%);
    border: 1px solid #dbdbdb;
    line-height: 100px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}
.timeline-box:nth-child(2n) .year {
    left: 25px;
}
.timeline-box:nth-child(2n + 1) .year {
    right: 32px;
}
.year:before {
    content: "";
    width: 15px;
    height: 15px;
    border-left: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    background: #ffffff;
    position: absolute;
    top: 50%;
    margin-top: -7.5px;
}
.timeline-box:nth-child(2n) .year:before {
    left: -8px;
    transform: rotate(45deg);
}
.timeline-box:nth-child(2n + 1) .year:before {
    right: -8px;
    transform: rotate(-135deg);
}
.timeline-box:after {
    content: "";
    width: 3px;
    height: 0;
    background: #ffa200;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    z-index: 1;
    transition: all 0.3s ease-in-out;
}
.timeline-box:nth-child(2n):after {
    left: -1.5px;
}
.timeline-box:nth-child(2n + 1):after {
    right: -1.5px;
}
.timeline-box:hover:after {
    height: 97px;
}
.timeline-box:before {
    content: "";
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 5px solid #ededed;
    position: absolute;
    background: #fff;
    z-index: 2;
    top: 30%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}
.timeline-box:nth-child(2n):before {
    left: -10.5px;
}
.timeline-box:nth-child(2n + 1):before {
    right: -10.5px;
}
.timeline-box:hover:before {
    border: 5px solid #ffa200;
}
@media screen and (max-width: 1199px) {
    .year {
        width: 90px;
        height: 90px;
        line-height: 90px;
        font-size: 22px;
    }
}
@media screen and (max-width: 991px) {
    .history-wrapper {
        padding: 30px 0 30px;
    }
    .history-wrapper .title-wrap {
        padding: 0;
        margin-bottom: 30px;
    }
    .title-wrap.one-of-two {
        width: 100%;
    }
    .history-wrapper:after {
        left: 0;
    }
    .history-wrapper .timeline-box:nth-child(2n) {
        padding: 0 0 0 140px;
    }
    .history-wrapper .timeline-box:not(:last-child) {
        margin-bottom: 40px;
    }
    .timeline-box.one-of-two,
    .timeline-box .img img {
        width: 100%;
    }
    .history-wrapper .timeline-box:nth-child(2n + 1) {
        margin-top: 0;
        text-align: left;
    }
    .timeline-box:nth-child(2n + 1) .year {
        left: 32px;
    }
    .timeline-box:nth-child(2n + 1):before {
        left: -10.5px;
    }
    .timeline-box:nth-child(2n + 1) .year:before {
        left: -8px;
        transform: rotate(45deg);
    }
    .timeline-box:nth-child(2n + 1):after {
        left: -1.5px;
    }
    .history-wrapper .timeline-box:nth-child(2n + 1) {
        margin-top: 0;
        text-align: left;
    }
    .timeline-box:nth-child(2n + 1) {
        padding: 0 0 0 140px;
    }
}
@media screen and (max-width: 767px) {
    .history-wrapper:after,
    .year,
    .timeline-box:before {
        display: none;
    }
    .history-wrapper {
        padding: 0;
    }
    .history-wrapper .timeline-box:nth-child(2n),
    .history-wrapper .timeline-box:nth-child(2n + 1) {
        padding: 0 15px;
    }
    .history-wrapper .timeline-box:not(:last-child) {
        margin-bottom: 30px;
    }
    .timeline-box .content {
        text-align: center;
    }
    .timeline-box:nth-child(2n):after,
    .timeline-box:nth-child(2n + 1):after {
        display: none;
    }
}

.mb-1-6, .my-1-6 {
    margin-bottom: 1.6rem;
}


/* WIDGET COLABORA REPARADO TOTAL */
.colabora_simple_widget {
    max-width: 400px;
    margin: 20px auto;
    position: relative;
}

.contenedor_bandera {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #a00050;
    line-height: 0;
}

.contenedor_bandera img {
    width: 100%;
    height: auto;
    filter: brightness(0.7); /* Oscurece un poco la bandera */
}

/* TEXTO BLANCO SOBRE LA IMAGEN */
.texto_encima {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 5;
}

.blanco_puro {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 2px 2px 8px #000000, 0 0 10px #000000 !important; /* Sombra negra fuerte para resaltar */
    margin: 0 !important;
    line-height: 1.2 !important;
}

h3.blanco_puro { font-size: 2rem !important; }
p.blanco_puro { font-size: 1rem !important; margin-top: 5px !important; }

/* ESTRELLITAS SUELTAS */
.estrella {
    position: absolute;
    color: #ffffff;
    font-size: 15px;
    animation: brilla_simple 2s infinite;
    z-index: 4;
    text-shadow: 0 0 10px #fff;
}

.e1 { top: 10%; left: 10%; }
.e2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.e3 { bottom: 20%; left: 15%; animation-delay: 1s; }
.e4 { bottom: 10%; right: 10%; animation-delay: 1.5s; }

@keyframes brilla_simple {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Efecto vibrar al pasar el ratón */
.contenedor_bandera:hover {
    animation: vibrar_leon 0.1s infinite;
}

@keyframes vibrar_leon {
    0% { transform: translate(0); }
    50% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}


/* ============================================================
   GUÍA VERDE: AISLAMIENTO TOTAL (PROTECCIÓN DE HEADER E ICONOS)
   ============================================================ */

/* 1. Botón de navegación (Estrictamente dentro del contenedor) */
#guia-verde-leon .btn-naturaleza {
    display: inline-block !important;
    background-color: #14532d !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important; /* Peso fuerte pero seguro */
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: none !important;
}

#guia-verde-leon .btn-naturaleza:hover {
    background-color: #911046 !important; /* Tu color de marca empresarial */
    transform: scale(1.05) !important;
    color: #ffffff !important;
}

/* 2. Rejilla de fichas */
#guia-verde-leon .ficha-zoom-leonesa {
    display: block !important;
    text-decoration: none !important;
    background: transparent !important;
    margin-bottom: 25px !important;
    border: none !important;
}

/* 3. Marco de la foto (Estilo Icono de App - Sin bordes) */
#guia-verde-leon .marco-foto {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    background: transparent !important;
    box-shadow: 0 8px 15px rgba(0,0,0,0.15) !important;
    border: none !important;
}

/* 4. La imagen y su efecto zoom */
#guia-verde-leon .marco-foto img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease-in-out !important;
    display: block !important;
    border: none !important;
}

#guia-verde-leon .ficha-zoom-leonesa:hover .marco-foto img {
    transform: scale(1.15) !important;
}

/* 5. Títulos de las fichas */
#guia-verde-leon .titulo-ficha {
    padding: 15px 5px !important;
    text-align: center !important;
    font-weight: 800 !important;
    color: #14532d !important;
    text-transform: uppercase !important;
    font-size: 1.1rem !important;
}

/* 6. ESCUDO PARA ICONOS (Evita que la negrita rompa los 'ti ti') */
#guia-verde-leon i[class^="ti-"], 
#guia-verde-leon i[class*=" ti-"] {
    font-weight: normal !important; /* Obligatorio para que no desaparezcan */
    font-family: 'themify' !important; /* Asegura que usen su fuente nativa */
    display: inline-block !important;
}