/* Informational programmes stay separate from available-offer card JS and counters. */
.tour-alternative-notice {
    margin: 0 0 1.25rem;
    padding: 1rem;
    border: 1px solid #dce7ed;
    border-radius: .25rem;
    background: #edf5fa;
    color: #334b5b;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.tour-alternative-notice h2,
.tour-alternative-notice h3 {
    margin: 0 0 .5rem;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 600;
}

.tour-alternative-notice > :last-child {
    margin-bottom: 0;
}

.tour-alternative-cards {
    column-gap: 1.5rem;
}

.tour-alternative-cards > .c-tour-card {
    min-width: 0;
    width: calc((100% - 3rem) / 3);
    border: 1px solid #e7e8ea;
}

.tour-alternative-cards::after {
    content: "";
    width: calc((100% - 3rem) / 3);
}

.tour-program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tour-program-card {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e7e8ea;
}

.tour-program-card__photo-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: #edf3f6;
}

.tour-program-card__photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-program-card__body,
.tour-program-card__title,
.tour-program-card__preview,
.tour-program-card__facts {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tour-program-card__status {
    padding: .5rem .625rem;
    border-radius: .25rem;
    background: #f1f4f6;
    color: #405366;
    font-size: .875rem;
    line-height: 1.4;
    font-weight: 500;
}

.tour-program-card__facts dt,
.tour-program-card__facts dd {
    display: inline;
    margin: 0;
}

.tour-program-card__facts dt {
    font-weight: 500;
}

.tour-program-card__facts > div + div {
    margin-top: .375rem;
}

.tour-program-card__notice {
    padding-top: .75rem;
    border-top: 1px solid #e7e8ea;
    color: #596675;
    font-size: .875rem;
    line-height: 1.45;
}

@media (max-width: 1199.98px) {
    .tour-alternative-cards {
        column-gap: 1rem;
    }

    .tour-alternative-cards > .c-tour-card,
    .tour-alternative-cards::after {
        width: calc((100% - 1rem) / 2);
    }

    .tour-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .tour-alternative-cards > .c-tour-card {
        width: 100%;
    }

    .tour-alternative-cards::after {
        display: none;
    }

    .tour-program-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
