.tripoffers-quick-flights {
    padding: clamp(44px, 6vw, 78px) 0;
    background: linear-gradient(180deg, var(--surface, #fff) 0%, var(--surface-soft, #f8fafc) 100%);
}

.tripoffers-quick-flights-heading {
    max-width: 760px;
    margin: 0 auto clamp(24px, 3.5vw, 40px);
    text-align: center;
}

.tripoffers-quick-flights-heading .tripoffers-section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--royal, #1f5bb5);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tripoffers-quick-flights-heading h2 {
    margin: 0;
    color: var(--navy, #0b2f5b);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.tripoffers-quick-flights-heading p {
    margin: 10px auto 0;
    color: var(--text-2, #64748b);
    font-size: clamp(.92rem, 1.3vw, 1.02rem);
    line-height: 1.7;
}

.tripoffers-quick-flight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 22px);
}

.tripoffers-quick-flight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(15, 47, 91, .10);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 47, 91, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tripoffers-quick-flight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 180, 0, .42);
    box-shadow: 0 18px 42px rgba(15, 47, 91, .13);
}

.tripoffers-quick-flight-card-top,
.tripoffers-quick-flight-route,
.tripoffers-quick-flight-dates {
    display: flex;
    align-items: center;
}

.tripoffers-quick-flight-card-top {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.tripoffers-quick-flight-type,
.tripoffers-quick-flight-cabin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
}

.tripoffers-quick-flight-type {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(31, 91, 181, .08);
    color: var(--royal, #1f5bb5);
}

.tripoffers-quick-flight-cabin {
    color: var(--text-2, #64748b);
}

.tripoffers-quick-flight-route {
    gap: 10px;
    justify-content: space-between;
}

.tripoffers-quick-flight-airport {
    flex: 0 0 auto;
    min-width: 62px;
}

.tripoffers-quick-flight-airport strong {
    display: block;
    color: var(--navy, #0b2f5b);
    font-size: clamp(1.45rem, 2vw, 1.75rem);
    font-weight: 850;
    line-height: 1;
}

.tripoffers-quick-flight-airport span {
    display: block;
    max-width: 92px;
    margin-top: 5px;
    overflow: hidden;
    color: var(--text-2, #64748b);
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tripoffers-quick-flight-airport-end {
    text-align: right;
}

.tripoffers-quick-flight-route-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    flex: 1 1 auto;
    min-width: 46px;
    color: var(--gold, #f5b400);
}

.tripoffers-quick-flight-route-line span {
    height: 1px;
    background: rgba(15, 47, 91, .18);
}

.tripoffers-quick-flight-route-line i {
    padding: 0 6px;
    font-size: 14px;
    transform: rotate(45deg);
}

.tripoffers-quick-flight-dates {
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(15, 47, 91, .16);
}

.tripoffers-quick-flight-dates > div {
    min-width: 0;
}

.tripoffers-quick-flight-dates > div:last-child {
    text-align: right;
}

.tripoffers-quick-flight-dates span,
.tripoffers-quick-flight-dates strong {
    display: block;
}

.tripoffers-quick-flight-dates span {
    margin-bottom: 4px;
    color: var(--text-2, #64748b);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.tripoffers-quick-flight-dates strong {
    color: var(--navy, #0b2f5b);
    font-size: 12px;
    font-weight: 800;
}

.tripoffers-quick-flight-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 11px 10px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--navy, #0b2f5b);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.tripoffers-quick-flight-search-btn i {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: var(--gold, #f5b400);
    color: var(--navy, #0b2f5b);
    font-size: 14px;
}

.tripoffers-quick-flight-search-btn:hover {
    background: var(--navy-700, #123f73);
    transform: translateY(-1px);
}

.tripoffers-quick-flight-search-btn:disabled {
    cursor: wait;
    opacity: .72;
}

@media (max-width: 1199px) {
    .tripoffers-quick-flight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .tripoffers-quick-flights {
        padding: 130px 0;
    }

    .tripoffers-quick-flight-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tripoffers-quick-flight-card {
        padding: 17px;
        border-radius: 16px;
    }
}
