header {
    margin-bottom: 0;
}
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 60vh;
    margin-top: 0 !important;
}
.hero-track {
    display: flex;
    transition: transform 1s ease;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}
.hero-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.hero-slide:nth-child(1) { background-image: url("../tagsa-imagen/hero/jjo-mob.jpg"); }
.hero-slide:nth-child(2) { background-image: url("../tagsa-imagen/hero/sunflower-mob.jpg"); background-position: 30%; }
.hero-slide:nth-child(3) { background-image: url("../tagsa-imagen/hero/asq-mob.jpg"); }
.overlay {
    position: absolute;
    left: 5%;
    bottom: 5%;
    width: 80%;
    background-color: rgba(51, 51, 51, 0.87);
    color: #fff;
    border-radius: 12px;
    padding: .5em 1em .8em 1em;
    font-family: var(--fontsans);
}
.overlay h1 { font-family: var(--fontserif); font-size: 1.1em; }
.overlay p { margin: .7em 0 .7em 0; font-size: .8em; }
.overlay a {
    background-color: var(--coltagsa); 
    color: #fff;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    padding: .4em 1em;
    font-size: .8em;
}
.timer-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: rgba(255,255,255,0.9);
    transition: width linear;
}
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.carousel-dots button {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.carousel-dots button.active { background: white; }
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: .3em .5em;
    font-size: 2rem;
    cursor: pointer;
}
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

/* Lista de vuelos */
.vuelos-home-block ul {
    padding-left: 0 !important;
    list-style-type: none;
}
.arrival-item.header {
    display: none;
}
.arrivals-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75em;
    width: 100%;
}
.arrival-item {
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0 !important;
    font-size: .85em;
}
.arrival-item:nth-child(5) {
    display: none;
}
.arrival-item span {
    display: block;
    text-align: center;
}
.arrival-item span:nth-child(5) {
    display: none;
}
.imgcol img {
    margin-bottom: 0 !important;
}
.vuelo {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--coltagsa);
}
.desde, .destino, .estado {
    background-color: #f9f9f9;
}

section {
    margin-top: 4em;
    margin-bottom: 4em;
}
.bigblock {
    position: relative;
    height: 400px;
    padding-top: 18em;
    background-image: url(../tagsa-imagen/article/bigboxmob.jpg);
    background-position: top center;
    border-radius: 10px;
}
.bigblocktxt {
    width: 90%;
    position: absolute;
    bottom: 1.5em;
    right: 0;
    background-color: #fff;
    border-radius: 15px 0 0 15px;
    padding: 1em;
}
.bigblocktxt h3 {
    font-size: 1em;
    padding-bottom: .5em;
}
.bigblocktxt p {
    font-size: .9em;
    line-height: 1.2em;
    margin-bottom: 0;
}
#home-varios {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /*align-items: stretch;*/
    gap: 1em;
    background-color:rgb(243, 243, 243);
    border-radius: 10px;
    padding-top: 1em;
    padding-bottom: 1em;
}
.smallblock {
    width: 90%;
    margin: 0 auto;
}
.smallblockicon {
    height: 150px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 125px;
    border-radius: 10px 10px 0 0;
}
.smallblocktxt {
    background-color: #fff;
    padding: 1em 1.5em;
    border-radius: 0 0 10px 10px;
}
.smallblocktxt h3 {
    font-size: 1em;
    padding-bottom: .5em;
}
.smallblocktxt p {
    font-size: .9em;
    line-height: 1.2em;
    margin-bottom: 0;
}
.smallblock:nth-child(1) .smallblockicon {
    background-color: var(--coltagsa);
    background-image: url(../tagsa-imagen/article/minibox-1.svg);
}
.smallblock:nth-child(2) .smallblockicon {
    background-color: var(--colamarillo);
    background-image: url(../tagsa-imagen/article/minibox-2.svg);
}
.smallblock:nth-child(3) .smallblockicon {
    background-color: var(--coltagsa);
    background-image: url(../tagsa-imagen/article/minibox-3.svg);
}
.bbnoti {
    background-image: url(../tagsa-imagen/article/bigboxnotimob.jpg);
}
.bbtxtnoti {
    left: 0;
    border-radius: 0 15px 15px 0;
}
article h2 {
    margin-top: 0;
}


/* MARK: 768
*/

@media screen and (min-width: 768px) {
    article.singlecol {
        width: 720px;
    }

    .hero-carousel {
    height: 50vh;
    }
    .hero-slide:nth-child(1) { background-image: url(../tagsa-imagen/hero/jjo.jpg); }
    .hero-slide:nth-child(2) { background-image: url(../tagsa-imagen/hero/sunflower.jpg); background-position: 50%; }
    .hero-slide:nth-child(3) { background-image: url(../tagsa-imagen/hero/asq.jpg); }
    .overlay {
    width: 70%;
    }

    .bigblock {
    background-image: url(../tagsa-imagen/article/bigboxpc.jpg);
    background-position: 50%;
    }
    .bigblocktxt {
    width: 80%;
    }
    #home-varios h3 {
    line-height: 1em;
    }
    #home-varios {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 1em;
    padding-left: 1em;
    padding-right: 1em;
    }
    .smallblock {
    width: 100%;
    }
    .smallblockicon {
    background-size: 110px;
}
    .smallblocktxt {
    height: 110px;
    }
    .smallblock:nth-of-type(1) {
    background-position: 65% 0;
    }
    .smallblock:nth-of-type(2) {
    background-position: 50% -5;
    }
    .smallblock:nth-of-type(3) {
    background-position: 53%;
    }
    .bbnoti {
    background-image: url(../tagsa-imagen/article/bigboxnotipc.jpg);
    background-position: center;
    }
}

/* MARK: 1000
*/

@media screen and (min-width: 1000px) {
    .hero-carousel {
    height: 60vh;
    }
    .overlay { width: 50%; left: calc((100% - 720px) / 2); padding: 1em; }
    .overlay h1 { font-size: 1.3em; }
    .overlay p { font-size: .9em; }
    .overlay a { font-size: .9em; }
}

/* MARK: 1100
*/

@media screen and (min-width: 1100px) {
    article.singlecol {
        width: 1080px;
    }

    .overlay { width: 30%; left: calc((100% - 1080px) / 2);}
    .overlay h1 { font-size: 1.5em; }
    .overlay p { font-size: 1em; }
    .overlay a { font-size: 1em; }

    #vuelos-home {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    }
    .vuelos-home-block {
    width: 48%;
    }

    .arrivals-list {
    grid-template-columns: repeat(4, 1fr);
    }
    .arrival-item {
    font-size: .9em;
    }
    .arrival-item:nth-child(5) {
    display: block;
    }

    #home-varios {
    gap: 2em;
    padding: 2em
    }
    .bigblocktxt {
    width: 70%;
    }
    .smallblocktxt {
    height: auto;
    }
    .smallblock:nth-of-type(3) {
    background-position: 53% 0;
    }
}
