.recommendation {
    background: #fff;
    border: 1px solid var(--theme--form--border-color);
    height: 100%;
}

.recommendation .recommendation__image,
.recommendation .recommendation__images {
    position: relative;
}

.recommendation .recommendation__image .wp-block-image,
.recommendation .recommendation__images .wp-block-image {
    margin-bottom: 0;
    line-height: 1;
}

.recommendation .recommendation__image img,
.recommendation .recommendation__images img {
    min-width: 100%;
}

.recommendation .images-slider {
    background: #DEE2E6;
    padding: 10px;
}

@media (min-width: 768px) {
    .recommendation .images-slider {
        padding: 15px;
    }
}

.recommendation .images-slider figcaption {
    text-align: left;
    margin-bottom: 0;
}

.recommendation .thumbs-slider {
    --swiper-navigation-size: 32px;

    padding: 6px;
}

@media (min-width: 768px) {
    .recommendation .thumbs-slider {
        padding: 10px;
    }
}

.recommendation .thumbs-slider::before,
.recommendation .thumbs-slider::after {
    content: '';
    width: 34px;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 3;
    background: #fff;
}

.recommendation .thumbs-slider::before {
    left: 0;
}

.recommendation .thumbs-slider:has(.swiper-button-prev.swiper-button-disabled)::before {
    content: none;
}

.recommendation .thumbs-slider::after {
    right: 0;
}

.recommendation .thumbs-slider:has(.swiper-button-next.swiper-button-disabled)::after {
    content: none;
}

.recommendation .thumbs-slider .swiper-slide {
    width: 48px;
    height: 100%;
    opacity: 0.25;
    cursor: pointer;
}

@media (min-width: 768px) {
    .recommendation .thumbs-slider .swiper-slide {
        width: 80px;
    }
}

.recommendation .thumbs-slider:has(.swiper-button-lock) .swiper-wrapper {
    justify-content: center;
}

.recommendation .thumbs-slider .swiper-slide:hover {
    opacity: 1;
}

.recommendation .thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
    position: relative;
}

.recommendation .thumbs-slider .swiper-slide-thumb-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 2px;
    background: #000;
}

.recommendation .thumbs-slider .swiper-button-prev,
.recommendation .thumbs-slider .swiper-button-next {
    background: #fff;
    color: #000;
    width: var(--swiper-navigation-size);
    height: var(--swiper-navigation-size);
    border-radius: 999px;
}

.recommendation .thumbs-slider .swiper-button-prev {
    left: 5px;
}

.recommendation .thumbs-slider .swiper-button-next {
    right: 5px;
}

.recommendation .thumbs-slider:hover .swiper-button-next.swiper-button-disabled,
.recommendation .thumbs-slider:hover .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.recommendation .thumbs-slider .swiper-button-prev:hover,
.recommendation .thumbs-slider .swiper-button-next:hover {
    color: #fff;
    background: #000;
}

.recommendation .thumbs-slider .swiper-button-prev::after,
.recommendation .thumbs-slider .swiper-button-next::after {
    font-size: 16px;
}

.recommendation .recommendation__images .recommendation__search-select {
    position: absolute;
    top: var(--theme--gap--small);
    z-index: 1;
    left: var(--theme--gap--large);
}

/* Nicht mehr benötigt */
.recommendation .recommendation__score {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3em;
    height: 3em;
    border-radius: 99px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    background: var(--theme--color--primary);
    font-weight: 700;
    font-size: 21px;
    margin-top: 0;
}

/* Nicht mehr benötigt */
.recommendation .recommendation__score .score__of {
    font-size: 12px;
    font-weight: 400;
    margin-top: 6px;
}

.recommendation .recommendation__badge img {
    border-radius: 50%;
    background-color: #fff;
    padding: 2px;
}

.recommendation .recommendation__content {
    padding: var(--theme--gap--normal);
    position: relative;
}

.recommendation .recommendation__meta {
    font-size: 15px;
    color: var(--theme--color--darker);
    margin-bottom: var(--theme--gap--medium);
}

.recommendation__badge_title {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: var(--theme--gap--small);
}

.recommendation .recommendation__title .wp-block-heading {
    margin-bottom: 0;
}

.recommendation .recommendation__stars {
    display: flex;
    margin-bottom: var(--theme--gap--xsmall);
    gap: 4px;
}

.recommendation .recommendation__stars i {
    color: #F5BD02;
}

.recommendation .recommendation__summary {
    font-size: var(--theme--font-size--medium);
}

.recommendation .recommendation__summary p:last-of-type {
    margin-bottom: 0;
}

.recommendation .recommendation__hoteldescription i,
.recommendation .recommendation__googlemaps i {
    margin-right: 10px;
}

.recommendation .recommendation__location {
    font-size: 15px;
    color: var(--theme--color--darker);
    margin-top: 0;
}

.recommendation .recommendation__tags {
    display: flex;
    gap: var(--theme--gap--small);
    flex-direction: column;
    justify-content: flex-start;
}

.recommendation .recommendation__tags > * {
    margin-block-start: 0;
}

.recommendation .recommendation__target-groups_tags,
.recommendation .recommendation__activities_tags {
    display: flex;
    gap: var(--theme--gap--xsmall);
    flex-wrap: wrap;
    width: 100%;
}

.recommendation .recommendation__target-group,
.recommendation .recommendation__activity {
    padding: 2px 8px;
    border-radius: 99px;
    border: 1px solid #000;
    font-size: 14px;
}

.recommendation .contact_files__file i {
    margin-right: 10px;
}

.recommendation .contact_files__file .file__type {
    font-size: var(--theme--font-size--xsmall);
    margin-left: 6px;
    text-transform: uppercase;
}

/* Evaluations */

.recommendation .recommendation__evaluations {
    margin-bottom: 0;
}

.recommendation .recommendation__evaluations h3 {
    margin-bottom: 0;
    font-size: var(--theme--font-size--large);
}

.recommendation .recommendation__evaluation:not(:last-child) {
    margin-bottom: var(--theme--gap--large);
}

.recommendation .recommendation__evaluation .evaluation__content {
    position: relative;
    margin: var(--theme--gap--normal);
}

.recommendation .recommendation__evaluation .evaluation__summary {
    padding: 30px;
    background-color: rgba(246, 156, 45, 0.15);
    border-radius: 4px;
}

.recommendation .recommendation__evaluation .evaluation__summary:before {
    content: '';
    position: absolute;
    top: -12px;
    width: 0;
    height: 0;
    border-bottom: 12px solid rgba(246, 156, 45, 0.15);
    ;
    border-left: 12px solid transparent;
}

.recommendation .recommendation__evaluation .evaluation__summary p:last-of-type {
    margin-bottom: 0;
}

.recommendation .recommendation__evaluation .evaluation__score {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 99px;
    background: var(--theme--color--primary);
    font-weight: 700;
    position: absolute;
    right: 30px;
    top: -15px;
}

.recommendation .recommendation__evaluation .evaluation__score .score__of {
    font-size: 10px;
    font-weight: 400;
    margin-top: 4px;
}

.recommendation .recommendation__evaluation .meta__expedient {
    display: flex;
    gap: 0.5em;
    align-items: flex-start;
    line-height: 1.25em;
    color: var(--theme--color--text);
}

.recommendation .recommendation__evaluation .expedient.offline .expedient__image {
    box-shadow: 0 0 0 2px var(--theme--form--lighter);
}

.recommendation .recommendation__evaluation .expedient__image {
    width: 42px;
    height: 42px;
    border-radius: 99px;
    overflow: hidden;
}

.recommendation .recommendation__evaluation .expedient__info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.recommendation .recommendation__evaluation .expedient__branch {
    font-size: var(--theme--font-size--small);
}

.recommendation .recommendation__evaluation .evaluation__location,
.recommendation .recommendation__evaluation .evaluation__insidertipps,
.recommendation .recommendation__evaluation .evaluation__roomtype_additionaltext {
    padding: 22px 30px 0 30px;
}

.recommendation .recommendation__evaluation .evaluation__location p:last-of-type,
.recommendation .recommendation__evaluation .evaluation__insidertipps p:last-of-type,
.recommendation .recommendation__evaluation .evaluation__roomtype_additionaltext p:last-of-type {
    margin-bottom: 0;
}

.recommendation .recommendation__evaluation .location__text,
.recommendation .recommendation__evaluation .insidertipps__text,
.recommendation .recommendation__evaluation .roomtype_additionaltext__text {
    color: var(--theme--color--darker);
    font-size: var(--theme--font-size--small);
}

/* Teaser only */
.recommendation-teaser {
    cursor: zoom-in;
}

.recommendation-teaser .recommendation__badge {
    position: absolute;
    top: var(--theme--gap--small);
    right: var(--theme--gap--small);
    z-index: 1;
    height: auto;
    width: auto;
}

/* Details only */
.recommendation-details {
    border: none;
}

.recommendation-details .recommendation__content {
    padding: var(--theme--gap--normal) var(--theme--gap--large) var(--theme--gap--xlarge) var(--theme--gap--large);
}

.recommendation-details .recommendation__title .wp-block-heading {
    font-size: var(--theme--font-size--xlarge);
}

.recommendation-details .recommendation__tags {
    gap: var(--theme--gap--normal);
}

.recommendation-details h4 {
    font-size: var(--theme--font-size--small);
    margin-bottom: 0;
}

.recommendation-details .wp-block-separator {
    margin-left: calc(var(--theme--gap--large) * -1);
    margin-right: calc(var(--theme--gap--large) * -1);
}

.recommendation-details .recommendation__content .recommendation__search-select {
    position: absolute;
    bottom: 15px;
    z-index: 1;
}