.trip-search-hero {
    background-image: var(--gradient-navy);

    padding: 50px 6%;
}

.trip-route-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.trip-route-info p {
    /* Fixed: was `font-size: 7.875px` with a leftover "Epilogue" font
       stack from a design-tool export — nearly invisible and off-brand. */
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .8);
    margin-top: 8px;
}

.booking-box {
    width: 100%;
    max-width: 100%;
}

/* =========================
   AVAILABLE TRIPS
========================= */

.available-trips {
    padding: 60px 6%;
    background: var(--color-bg-soft);
}

.trips-header {
    margin-bottom: 25px;
}

.trips-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.trips-header p {
    color: var(--color-text-muted);
    margin-top: 5px;
}

/* CARD */

.trip-card {
    background: white;

    border-radius: var(--radius-xl);

    border: 1px solid var(--color-border-light);

    padding: 25px;

    margin-bottom: 20px;

    box-shadow: 0 3px 12px rgba(0,0,0,.04);

    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.trip-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.trip-top {
    display: grid;

    grid-template-columns:
    120px
    1fr
    120px
    180px;

    gap: 20px;

    align-items: center;
}

.trip-time h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.trip-time span {
    color: var(--color-text-muted);
    font-size: .95rem;
}

.trip-duration {
    text-align: center;
}

.trip-duration span {
    color: var(--color-text-muted);
    font-size: .9rem;
}

.trip-line {
    height: 2px;

    background: var(--color-cyan);

    margin: 10px 0;
}

.trip-type {
    display: inline-block;

    background: var(--color-cyan-light);

    color: var(--color-cyan);

    padding: 6px 12px;

    border-radius: 999px;

    font-size: .85rem;

    font-weight: 600;
}

.trip-price {
    text-align: right;
}

.trip-price small {
    color: var(--color-text-muted);
}

.trip-price h3 {
    font-size: 1.8rem;
    color: var(--color-text-dark);

    margin: 5px 0 15px;
}

.seat-btn {
    display: inline-block;

    background: var(--color-navy-deep);

    color: white;

    text-decoration: none;

    padding: 12px 22px;

    border-radius: 50px;

    font-weight: 600;

    transition: background var(--transition-base);
}

.seat-btn:hover {
    background: var(--color-cyan);
}

/* BOTTOM */

.trip-bottom {
    margin-top: 20px;

    padding-top: 18px;

    border-top: 1px solid var(--color-border-light);

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.trip-bottom span {
    background: var(--color-field-bg);

    padding: 8px 12px;

    border-radius: 999px;

    font-size: .85rem;

    color: var(--color-text-muted);
}

@media (max-width: 992px) {

    .trip-top {
        grid-template-columns: 1fr 1fr;
    }

    .trip-price {
        text-align: left;
    }
}

@media (max-width: 768px) {

    .trip-card {
        padding: 20px;
    }

    .trip-top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .trip-duration {
        width: 100%;
        text-align: left;
    }

    .trip-price {
        width: 100%;
    }

    .seat-btn {
        width: 100%;
        text-align: center;
    }

    .trip-time h3 {
        font-size: 1.7rem;
    }
}
