/**
 * Travel Search Safe v1.6
 * Related-tour card clipping repair.
 *
 * Scope: single-post "Das könnte Sie interessieren" carousel only.
 * No visual redesign: widths, images, colours, shadows and navigation remain
 * controlled by the parent Travel theme.
 */

/* Let every related-tour card grow with translated / multi-line content. */
body.single-post section.tur.pag-tur .bl-tur a.on-tur {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

body.single-post section.tur.pag-tur .bl-tur a.on-tur .top-kart-tur {
    flex: 0 0 auto !important;
}

body.single-post section.tur.pag-tur .bl-tur a.on-tur .niz-kart-tur {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

body.single-post section.tur.pag-tur .bl-tur a.on-tur .loc,
body.single-post section.tur.pag-tur .bl-tur a.on-tur .nazv-tur,
body.single-post section.tur.pag-tur .bl-tur a.on-tur .cena {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

body.single-post section.tur.pag-tur .bl-tur a.on-tur .nazv-tur {
    white-space: normal !important;
}

/* Keep the price in normal flow and at the bottom of an equal-height card. */
body.single-post section.tur.pag-tur .bl-tur a.on-tur .cena {
    position: static !important;
    margin-top: auto !important;
}

/*
 * Slick's legacy slide height can remain based on a shorter card.  Stretch the
 * track to the tallest slide so overflow:hidden on .slick-list does not cut the
 * price from a longer translated title.
 */
body.single-post section.tur.pag-tur .bl-tur.slick-initialized .slick-track {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
}

body.single-post section.tur.pag-tur .bl-tur.slick-initialized .slick-slide {
    float: none !important;
    height: auto !important;
    min-height: 0;
}

body.single-post section.tur.pag-tur .bl-tur.slick-initialized .slick-list {
    height: auto !important;
}
