.highlight-listing-container {
    margin-bottom: 16px;
    position: relative;
}

.highlight-listing-top-content123 {
    margin-bottom: 2rem;
}

.highlight-listing-title {
    padding-right: 7rem;
}

.highlight-listing-container .swiper {
    position: static;
}

.highlight-listing-container .swiper-wrapper .swiper-slide {
    flex: 0 0 auto;
    display: flex;
    height: auto;
}

.highlight {
    background-color: var(--backgrounds-card-secondary);
    border-radius: var(--border-radius);
    box-shadow: none;
    transition: box-shadow 0.2s ease-in-out;
}

.highlight:hover {
    box-shadow: 0 0 0 4px var(--backgrounds-card-secondary);
}

.highlight a {
    color: var(--text-secondary);
    text-decoration: none !important;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
    padding: 24px;
}

.layout-vertical .highlight a {
    flex-direction: column;
    padding: 16px;
}

.highlight .link {
    color: var(--text-link-primary);
}

.highlight a:hover .link .btn-label {
    text-decoration: underline;
}

.highlight-image {
    flex: 0 0 264px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.layout-vertical .highlight-image {
    flex: unset;
}

.highlight-image .highlight-image-img {
    position: relative;
    z-index: 1;
    width: 100%;
}

.highlight-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.highlight.has-overlay-image:hover .highlight-image::after {
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(60, 60, 60, 0.9);
}

.highlight.has-overlay-image:hover .highlight-image-overlay {
    z-index: 2;
    display: flex;
}

.highlight.has-overlay-image:hover .highlight-image-overlay svg {
    max-width: 80%;
    margin: auto;
    z-index: 2;
}

.highlight-text {
    font-size: 14px;
}

.highlight-title {
    display: flex;
    gap: 8px;
}

.highlight-title h3 {
    margin-bottom: 8px;
    padding: 0;
}

.highlight-title-image {
    width: 19px;
    line-height: 1.7;
}

.highlight-title-image svg {
    width: 100%;
    height: auto;
}

.highlight-title-image svg .st0 {
    fill: var(--text-primary);
}

.highlight-listing-container .swiper-button-container {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.highlight-listing-container .swiper-button-next,
.highlight-listing-container .swiper-button-prev {
    position: relative;
    left: 0;
    right: 0;
    color: var(--text-primary);
    background-color: var(--backgrounds-card-primary);
    margin: 0 4px;
    width: 40px;
    height: 40px;
}

.highlight-listing-container .swiper-button-next::after,
.highlight-listing-container .swiper-button-prev::after {
    font-family: "Font Awesome 6 Pro", sans-serif;
    font-weight: 300;
    font-size: 20px;
    padding: 0.5rem;
}

.highlight-listing-container .swiper-button-next::after {
    content: '\f061';
}

.highlight-listing-container .swiper-button-prev::after {
    content: '\f060';
}

@media (min-width: 1499px) {

    .highlight-listing-container.layout-vertical .swiper-wrapper .swiper-slide {
        flex: 0 0 calc((100% - 72px) / 3);
    }
}

@media (min-width: 1200px) {
    .highlight-listing-container .swiper {
        overflow: visible;
        height: auto !important;
    }

    .highlight-listing-container .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 24px;
        transform: none !important;
    }

    .highlight-listing-container .swiper-wrapper .swiper-slide {
        /* 2 columns with a 12px gap between them */
        flex: 0 0 calc((100% - 24px) / 2);
        display: flex !important;
        height: auto !important;
    }

    .highlight-listing-container .swiper-wrapper .swiper-slide .highlight {
        display: flex;
        flex-direction: row;
        flex: 1 1 auto;
        margin: 0;
        /*width: 100%;*/
    }

    /* Global: keine extra Lücke unten, das zerstört den "gleich hoch" Eindruck */
    .highlight a {
        margin-bottom: 0;
    }

    .highlight-listing-container .swiper-button-container {
        display: none;
    }
}

@media (max-width: 1199px) {
    .highlight a {
        display: block;
        padding: 16px;
        width: 100%;
        margin-bottom: 0;
    }

    .highlight .highlight-image {
        margin-bottom: 16px;
    }

    .highlight-title-image {
        width: 15px;
        line-height: 1.4;
    }
}

@media (max-width: 639px) {
    .highlight-title {
        gap: 6px;
    }

    .highlight-title-image {
        width: 13px;
        line-height: 1;
    }

    .highlight-listing-container .swiper-button-container {
        display: none !important;
    }
}