.tour-sec {
    padding: 50px 0;
    background: #ffffff;
}

.tour-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* ================= Background ================= */
.tour-banner {
    border-radius: 50px;
    overflow: hidden;
    padding: 40px 24px;

    background-image: url("../bucket/video-background.png");
    background-size: cover;
    background-position: center;
}

/* ================= Grid (NO OVERLAP) ================= */
.tour-grid {
    display: grid;
    gap: 24px;

    /* mobile default */
    grid-template-columns: 1fr;
}

/* ================= Card ================= */
.tour-card {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 24px;
    border-radius: 30px;

    background: linear-gradient(135deg,
            rgba(120, 130, 135, 0.55),
            rgba(90, 100, 105, 0.45));

    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition: transform 0.3s ease;

    /* ✅ important to prevent overflow in grid cells */
    width: 100%;
    min-width: 0;
}

.tour-card:hover {
    transform: translateY(-6px);
}

/* ================= Thumbnail ================= */
.tour-thumb {
    position: relative;

    /* ✅ responsive thumb so it can shrink */
    width: clamp(110px, 12vw, 150px);
    height: clamp(86px, 9vw, 115px);

    flex: 0 0 auto;
    border-radius: 22px;
    overflow: hidden;
}

.tour-thumb img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= Play Icon ================= */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: clamp(44px, 4.2vw, 60px);
    height: clamp(44px, 4.2vw, 60px);
    object-fit: contain;

    transition: transform 0.3s ease;
}

.tour-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.08);
}

/* ================= Text ================= */
.tour-content {
    /* ✅ allow text area to shrink inside flex */
    min-width: 0;
}

.tour-content h3 {
    margin: 0 0 8px;
    font-family: SatoshiBlack;
    font-size: 22px;
    line-height: 1.1;
    color: #ffffff;
}

.tour-content p {
    margin: 0;
    font-family: SatoshiRegular;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.85;
    color: #ffffff;

    /* ✅ remove fixed max-width that causes overflow */
    max-width: none;

    /* ✅ prevent long text breaking layout */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ================= Responsive (min-width only) ================= */

/* ✅ auto-fit prevents overlap at any in-between widths */
@media (min-width: 768px) {
    .tour-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
}

/* adjust paddings for larger screens */
@media (min-width: 1000px) {
    .tour-banner {
        padding: 60px 40px;
    }

    .tour-wrap {
        width: min(1024px, calc(100% - 32px));
    }
}

@media (min-width: 1400px) {
    .tour-wrap {
        width: min(1260px, calc(100% - 32px));
    }
}