/* Tour cards in shortcode grids and carousels */
.post-trip-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 .5rem;
    margin-top: 1.5rem;
}

.post-trip-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    margin-bottom: 1.5rem;
    text-align: left;
}

.post-trip-card > a,
.post-trip-card h3 a {
    text-decoration: none;
}

.post-trip-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin-top: .5rem;
    padding-top: .5rem;
}

.post-trip-card h3 {
    margin: .25rem 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.post-trip-card h3 a { color: var(--ttv-text); }
.post-trip-card h3 a:hover { color: var(--ttv-primary); }

.post-trip-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: .5rem;
    color: var(--ttv-secondary-color);
    font-size: .95rem;
    line-height: 1.35;
}

.post-trip-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-trip-meta .post-trip-days { font-weight: 300; }
.post-trip-meta .post-trip-meta-date { gap: 6px; }
.post-trip-meta i { color: currentColor; font-size: 1.1em; line-height: 1; }

.post-trip-price-status {
    margin-top: .5rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-trip-price {
    color: #6c757d;
    font-weight: 500;
    line-height: 1.25;
}

.post-shortcode-swiper { margin-top: 1.5rem; }
.post-shortcode-swiper .post-trip-card { margin-bottom: 0; background: transparent; }
.post-shortcode-swiper .post-trip-body { margin-top: 0; }

.post-shortcode-swiper .post-swiper-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: var(--carousel-controls-width, 80%);
    margin: 14px auto 30px;
}

@media (min-width: 768px) {
    .post-trip-grid--2,
    .post-trip-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-trip-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .post-trip-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.post-shortcode-unavailable { color: #ffc107; text-align: left; }
.post-shortcode-empty { text-align: left; }
