﻿/* NEXTTRIP SECTION (Optimized & Minified) */
.nexttrip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 10px;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1
}

.nexttrip-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: transform .3s ease,box-shadow .3s ease;
    height: 100%;
    will-change: transform
}

    .nexttrip-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,.15)
    }

.nexttrip-image {
    height: 220px;
    position: relative;
    background-size: cover;
    background-position: center
}

.nexttrip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,.7)0%,transparent 50%);
    z-index: 1
}

.nexttrip-badge, .nexttrip-duration, .nexttrip-rating {
    position: absolute;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 2
}

.nexttrip-badge {
    top: 16px;
    left: 16px;
    background: linear-gradient(45deg,#ff5722,#ff9800);
    box-shadow: 0 4px 10px rgba(255,87,34,.3)
}

.nexttrip-duration {
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,.7);
    font-weight: 500
}

.nexttrip-rating {
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,.7);
    font-weight: 500
}

    .nexttrip-rating::before {
        content: "★";
        color: #ffd700;
        margin-right: 4px
    }

.nexttrip-content {
    padding: 14px
}

    .nexttrip-content h4 {
        font-size: 1.4rem;
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.3
    }

.nexttrip-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px
}

.nexttrip-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: #07553b
}

.nexttrip-discount {
    background: linear-gradient(45deg,#ff5722,#ff9800);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 700
}

.nexttrip-link {
    text-decoration: none;
    color: inherit;
    display: block
}

.nexttrip-section-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px 20px;
    position: relative
}

@media(max-width:768px) {
    .nexttrip-grid {
        grid-template-columns: 1fr;
        max-width: 500px
    }

    .nexttrip-content h4 {
        font-size: 1.2rem
    }
}
