/* header-slider */
#inicio-top #inicio-top-slider {
    min-height: 460px;
    background-image: url('../../images/inicioFront/top-slider-bgr.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    line-height: 1.0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

#inicio-top #inicio-top-slider .slide {
    width: 100%;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 15px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 100%;
}

#inicio-top #inicio-top-slider .slideAct {
    left: 0;
}

#inicio-top #inicio-top-slider .slide .container {
    position: relative;
    z-index: 1;
    /* Fondo oscuro rock con transparencia para PC - EXPANDIDO */
    background-image: url('../images/rock_overlay_bg.png');
    background-size: cover;
    /* Cubrir todo el espacio */
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.65);
    padding: 40px 50px;
    /* Más padding para expandir el área */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    min-height: 400px;
    /* Altura mínima para cubrir más espacio */
    width: 100%;
    /* Ancho completo */
}

/* Mejorar legibilidad del texto sobre el fondo oscuro */
#inicio-top #inicio-top-slider .slide .container * {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

#inicio-top #inicio-top-slider h2 {
    /*margin-top: 40px;*/
    margin-bottom: 5px;
    font-size: 42px;
    line-height: 0.9;
}

#inicio-top #inicio-top-slider h2 .text-engagement {
    font-size: 72px;
}

#inicio-top #inicio-top-slider .horario {
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
}

#inicio-top #inicio-top-slider .texto {
    max-width: 280px;
    font-size: 13px;
    line-height: 1.2;
    text-align: justify;
}

#inicio-top #inicio-top-slider .texto a {
    text-decoration: underline;
    color: white;
}

#inicio-top #inicio-top-slider .texto a:hover {
    color: #7CB342;
}

#inicio-top #inicio-top-slider .iconos-redes a,
#inicio-top #inicio-top-slider .iconos-reproductores a {
    display: inline-block;
    vertical-align: middle;
    color: white;
}

#inicio-top #inicio-top-slider .iconos-redes a:hover {
    color: #7CB342;
}

#inicio-top #inicio-top-slider .iconos-redes a+a {
    margin-left: 15px;
}

#inicio-top #inicio-top-slider .iconos-reproductores a+a {
    margin-left: 10px;
}

#inicio-top #inicio-top-slider .iconos-redes a .fa {
    font-size: 28px;
}

#inicio-top #inicio-top-slider .iconos-redes a .fa-whatsapp {
    color: #25D366;
}

#inicio-top #inicio-top-slider .btn {
    height: 50px;
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #7CB342;
    background: -webkit-linear-gradient(#9CCC65, #7CB342);
    background: -o-linear-gradient(#9CCC65, #7CB342);
    background: -moz-linear-gradient(#9CCC65, #7CB342);
    background: linear-gradient(#9CCC65, #7CB342);
    font-size: 20px;
    line-height: 1.0;
    text-align: left;
}

#inicio-top #inicio-top-slider .btn:hover {
    background-color: #9CCC65;
    background: -webkit-linear-gradient(#7CB342, #9CCC65);
    background: -o-linear-gradient(#7CB342, #9CCC65);
    background: -moz-linear-gradient(#7CB342, #9CCC65);
    background: linear-gradient(#7CB342, #9CCC65);
}

#inicio-top #inicio-top-slider .btn img,
#inicio-top #inicio-top-slider .btn div {
    margin-top: -18px;
    display: inline-block;
    vertical-align: middle;
}

#inicio-top #inicio-top-slider .btn img {
    margin-left: -30px;
}

#inicio-top #inicio-top-slider .sliderTop {
    /* OCULTAR imagen flotante - solo usar fondo rock */
    display: none !important;
}

/* header-pager */
#inicio-top #inicio-top-pager {}

#inicio-top #inicio-top-pager>.row {
    margin-left: 0;
    margin-right: 0;
}

#inicio-top #inicio-top-pager button {
    width: 100%;
    height: 60px;
    background-color: white;
    color: #2B2D2E;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}

#inicio-top #inicio-top-pager button:hover {
    color: #7CB342;
}

#inicio-top #inicio-top-pager button>span {
    display: inline-block;
}

#inicio-top #inicio-top-pager .horario {
    padding-right: 5px;
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
}

#inicio-top #inicio-top-pager .text-engagement {
    font-size: 28px;
}

section .post .post-img {
    position: relative;
    display: block;
}

section .post .post-img .post-video {
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}

section .post .post-img .post-video .fa {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    color: white;
}

section .post .post-txt {
    line-height: 1.2;
}

section .post-grd {
    font-size: 13px;
}

section .post-grd .post-img,
section .post-grd h2,
section .post-grd p {
    margin-bottom: 10px;
}

section .post-grd .post-img .post-video .fa {
    width: 88px;
    line-height: 88px;
    font-size: 100px;
}

section .post-grd h2 {
    font-size: 22px;
}

section .post-peq {
    font-size: 10px;
}

section .post-peq .post-img,
section .post-peq h2,
section .post-peq p {
    margin-bottom: 3px;
}

section .post-peq .post-img .post-video .fa {
    width: 44px;
    line-height: 44px;
    font-size: 50px;
}

section .post-peq h2 {
    font-size: 18px;
}

section #confidencial,
section #noticias {
    padding-top: 30px;
}

section #confidencial .titulos,
section #noticias .titulos {
    margin-bottom: 15px;
}

section #confidencial>.row,
section #noticias>.row+.row {
    margin-left: -7.5px;
    margin-right: -7.5px;
}

section #confidencial>.row>div,
section #noticias>.row+.row>div {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

section #confidencial {
    padding-bottom: 15px;
    background-image: url('../../images/inicioFront/inicio-confidencialFondo.jpg');
    background-size: cover;
    background-position: center center;
}

section #confidencial .post-grd .post-cont {
    background-color: #2B2D2E;
    color: white;
}

section #confidencial .post-grd .post-txt {
    padding: 0 15px 15px;
}

section #confidencial .post-grd .post-titulo a,
section #confidencial .post-grd .post-sharer a,
section #confidencial .post-grd .lnk-corp:hover {
    color: white;
}

section #confidencial .post-grd .post-titulo a:hover,
section #confidencial .post-grd .post-sharer a:hover {
    color: #7CB342;
}

section #confidencial .post-grd .post-sharer {
    margin-top: 5px;
    font-size: 20px;
}

section #noticias .titulo-engagement {
    margin-bottom: 0;
}

section #noticias .titulos>div:first-of-type {
    line-height: 1.2;
}

section #noticias .titulos>div:last-of-type {
    line-height: 1.8;
    font-size: 16px;
}

section #toplider {
    padding-top: 30px;
}

section #toplider .titulo-columna>div {
    padding-left: 0;
    /*line-height: 1.0;*/
}

section #toplider .btn,
section #noticias .btn {
    padding: 0 15px;
    border-radius: 0;
    background-color: #37aadc;
    color: white;
    font-size: 11px;
    font-style: italic;
    text-transform: uppercase;
}

section #toplider .btn:hover,
section #noticias .btn:hover {
    background-color: black;
}

section #toplider .row {
    margin-top: 20px;
}

section #toplider .toplider {
    margin-bottom: 20px;
    font-size: 12px;
    text-align: left;
}

section #toplider .toplider .toplider-cont {
    position: relative;
    padding-top: 8px;
    padding-left: 12px;
}

section #toplider .toplider .ranking {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 13px;
    line-height: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

section #toplider .toplider .toplider-img,
section #toplider .toplider .toplider-info {
    display: inline-block;
    vertical-align: top;
}

section #toplider .toplider .toplider-img {
    width: 50px;
    margin-right: 10px;
}

section #toplider .toplider .toplider-info {
    width: calc(100% - 60px);
    margin-top: -1px;
    line-height: 1.1;
}

section #toplider .toplider .toplider-info>div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

section #toplider .toplider .toplider-info .cancion {
    font-weight: bold;
}

section #toplider .toplider .toplider-info .disco {
    font-style: italic;
    /*font-weight: 300;*/
}

@media (min-width: 1366px),
(max-width: 479px) {
    section .toplider {
        width: 100%;
    }

    section .toplider .clearfix {
        display: none;
    }
}

@media (min-width: 1366px) {
    section #inicio-izda {
        width: 75%;
    }

    section #inicio-dcha {
        width: 25%;
    }

    section #toplider .toplider {
        width: 100%;
    }

    section #toplider .toplider {
        font-size: 12px;
    }

    section #toplider .toplider .toplider-cont {
        padding-top: 6px;
        padding-left: 9px;
    }

    section #toplider .toplider .ranking {
        width: 18px;
        height: 18px;
        font-size: 12px;
        line-height: 16px;
    }

    section #toplider .toplider .toplider-img {
        width: 32px;
    }

    section #toplider .toplider .toplider-info {
        width: calc(100% - 42px);
    }
}

@media (max-width: 767px),
(min-width: 1200px) {
    section #noticias .post-peq {
        margin-top: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    section #noticias .post-peq+.post-peq .post-cont {
        padding-top: 10px;
        border-top: 8px solid;
        margin-top: 10px;
    }

    section #toplider .toplider:nth-of-type(3n + 1) {
        clear: both;
    }
}

@media (min-width: 768px) {
    #inicio-top #inicio-top-pager .row>div+div {
        border-left: 1px solid black;
    }

    section #confidencial .post-peq+.post-peq .post-cont {
        padding-top: 10px;
        border-top: 8px solid;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    #inicio-top #inicio-top-pager .row>div+div {
        border-top: 1px solid black;
    }

    section #confidencial .post-peq {
        margin-top: 15px;
    }

    section #toplider .toplider:nth-of-type(2n + 1) {
        clear: both;
    }
}


/* Estilos para Tarjetas de Turismo (Destination Cards) */
.destination-grid {
    display: grid;
    /* Ajustado para que se comporte mejor en el contexto de index.html si no usamos grid nativo de bootstrap */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

/* En index.html ya hay una estructura de col-sm-*, así que las tarjetas deben ser fluidas */
.destination-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    /* Separación vertical en caso de colapso en móvil */
    height: 100%;
    /* Para que tengan la misma altura si usamos flex */
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(242, 82, 42, 0.2);
}

.destination-image {
    width: 100%;
    height: 200px;
    /* Reducido un poco para que encaje mejor en la home */
    background: linear-gradient(135deg, #243049 0%, #7CB342 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.destination-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #7CB342;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.destination-content {
    padding: 20px;
}

.destination-title {
    font-family: 'Engagement', cursive;
    font-size: 28px;
    font-weight: 400;
    color: #243049;
    margin: 0 0 10px 0;
}

.destination-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destination-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background: #f9f9f9;
    color: #243049;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid #eee;
}

.destination-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.stars {
    color: #7CB342;
    font-size: 14px;
}

/* Estilos para Tarjetas de Noticias (News Cards) */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 82, 42, 0.2);
}

.news-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #243049 0%, #7CB342 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    background-size: cover;
    background-position: center;
}

.news-card-content {
    padding: 15px;
}

.news-card-category {
    display: inline-block;
    background: #7CB342;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card-title {
    font-family: 'Engagement', cursive;
    font-size: 26px;
    font-weight: 400;
    color: #243049;
    margin: 8px 0;
    line-height: 1.3;
}

.news-card-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}

/* Estilos para interactividad (Estrellas y Votos) */
.star-btn {
    cursor: pointer;
    transition: color 0.2s;
}

.star-btn:hover {
    color: #9CCC65;
    /* Naranja más claro al pasar el mouse */
}

.star-btn.active {
    color: #7CB342;
}

.toplider-vote {
    margin-top: 5px;
    font-size: 11px;
    color: #666;
    display: inline-block;
    vertical-align: middle;
}

.btn-vote {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 0 5px 0 0;
    font-size: 14px;
    transition: color 0.2s;
    outline: none;
}

.btn-vote:hover,
.btn-vote.voted {
    color: #7CB342;
    /* Color corporativo al votar */
}

.btn-vote .fa-heart {
    vertical-align: middle;
}

.vote-count {
    vertical-align: middle;
    font-weight: 600;
}


h1,
h2,
h3 {
    font-family: 'Engagement', cursive;
    font-weight: 400;
}

/* =========================================
   MEJORAS RESPONSIVE (Móvil y Tablet)
   ========================================= */

@media (max-width: 767px) {

    /* Ajustes Generales Móvil */
    section #confidencial,
    section #noticias,
    section #toplider {
        padding-top: 20px;
    }

    /* Tarjetas Turismo en Móvil */
    .destination-card {
        margin-bottom: 25px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .destination-image {
        height: 180px;
        /* Un poco más bajo en móvil */
    }

    .destination-title {
        font-size: 24px;
        /* Título un poco más pequeño */
    }

    .destination-content {
        padding: 15px;
    }

    /* Tarjetas Noticias en Móvil */
    .news-card {
        margin-bottom: 25px;
    }

    .news-card-image {
        height: 160px;
    }

    .news-card-title {
        font-size: 22px;
    }

    /* Ajuste de columnas en Bootstrap 3 para que no peguen */
    #home-turismo-container>div,
    #home-noticias-container>div {
        margin-bottom: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    /* Ajustes Tablet (Portrait) */
    .destination-image {
        height: 160px;
    }

    .destination-title {
        font-size: 22px;
    }

    .news-card-title {
        font-size: 20px;
    }
}