/* Interne Empfehlung im Magazin */
aside.jets-empfehlung {
    container-type: inline-size;
    box-sizing: border-box;
    width: min(730px, calc(100% - 40px));
    margin: 2rem auto;
}

.jets-empfehlung__karte {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--awb-color3, #d5d8dc);
    background: var(--awb-color1, #fff);
}

.jets-empfehlung__bild {
    position: relative;
    flex: 0 0 20%;
}

.jets-empfehlung .jets-empfehlung__foto {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jets-empfehlung__inhalt {
    flex: 1;
    min-width: 0;
    padding: 1.25rem;
    overflow-wrap: anywhere;
}

.jets-empfehlung .jets-empfehlung__titel {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.2;
    margin: 0 0 .65rem;
}

.jets-empfehlung .jets-empfehlung__inhalt > p {
    margin: 0 0 1rem;
    font-size: calc(1em - 2px);
    line-height: 1.5;
}

.jets-empfehlung a.jets-empfehlung__link {
    display: inline-block;
    position: relative;
    max-width: 100%;
    padding-bottom: .35em;
    color: #1785c4;
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.jets-empfehlung__link::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(.5);
    transform-origin: left;
    transition: transform .25s ease;
}

.jets-empfehlung__link:is(:hover, :focus-visible)::after {
    transform: scaleX(1);
}

.jets-empfehlung__link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@container (max-width: 36rem) {
    .jets-empfehlung__karte {
        display: block;
    }

    .jets-empfehlung__bild {
        aspect-ratio: 3 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jets-empfehlung__link::after {
        transition: none;
    }
}
