/*
 * Stellen: Connectoor-Jobkarten ([lh_connectoor_jobs]) und Bewerben-Box ([lh_bewerbung])
 * Hinweis: keine Klassen mit "@" im HTML verwenden (E-Mail-Schutz-Plugin), daher eigene Breakpoints hier.
 */

/* ---------- Jobkarten ---------- */

.lh-jobs .lh-jobs-row {
    display: flex;
    flex-direction: column;
}

.lh-jobs .lh-jobs-media {
    position: relative;
    flex: none;
    overflow: hidden;
    aspect-ratio: 7 / 2;
    background: #e8eef2;
}

/* Connectoor-Bilder sind Collagen aus drei Fotos (7:2). Mobil ganze Collage, ab 960px genau ein Foto */
.lh-jobs .lh-jobs-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.lh-jobs .lh-jobs-media-left img {
    object-position: 0% 50%;
}

.lh-jobs .lh-jobs-media-right img {
    object-position: 100% 50%;
}

.lh-jobs .lh-jobs-body {
    flex: 1;
    align-self: center;
    padding: 30px;
}

.lh-jobs .el-title {
    font-size: 1.35rem;
    line-height: 1.4;
}

.lh-jobs .el-item:hover .uk-button-primary {
    opacity: 0.85;
}

@media (min-width: 960px) {
    .lh-jobs .lh-jobs-row {
        flex-direction: row;
        min-height: 260px;
    }

    /* 280 x mind. 260 px: schmaler als ein Foto der Collage, so bleibt der Ausschnitt in einem Foto */
    .lh-jobs .lh-jobs-media {
        width: 280px;
        aspect-ratio: auto;
    }

    .lh-jobs .lh-jobs-body {
        padding: 35px 40px;
    }

    .lh-jobs .el-title {
        font-size: 1.5rem;
    }
}

/* ---------- Bewerben-Box ---------- */

.lh-apply {
    margin-top: 20px;
    padding: 40px;
    background: #f2f7fb;
    border-top: 4px solid #007bbe;
}

.lh-apply-title {
    margin: 0;
    color: #007bbe;
    font-size: 1.75rem;
    line-height: 1.3;
}

.lh-apply-lead {
    margin: 8px 0 0;
    color: #555;
}

.lh-apply-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.lh-apply-item p {
    margin: 0;
}

.lh-apply-item p + p {
    margin-top: 10px;
}

.lh-apply-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #007bbe;
}

.lh-apply-small {
    font-size: 15px;
    color: #555;
}

.lh-apply-item a:not(.uk-button) {
    color: #007bbe;
    word-break: break-word;
}

.lh-apply-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #d5e3ee;
}

.lh-apply-note {
    display: flex;
    gap: 10px;
    margin: 0;
    flex: 1 1 400px;
    font-size: 15px;
    color: #555;
}

.lh-apply-note .uk-icon {
    flex: none;
    color: #007bbe;
}

.lh-apply-video {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bbe;
    font-weight: 600;
}

/* Online-Button in der Box kräftig, damit er sich vom hellen Hintergrund abhebt */
.lh-apply .lh-apply-online .uk-button-primary {
    background: #007bbe;
    color: #fff;
}

.lh-apply .lh-apply-online .uk-button-primary:hover {
    background: #00669e;
    color: #fff;
}

@media (min-width: 960px) {
    .lh-apply {
        padding: 45px 50px;
    }

    .lh-apply-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .lh-apply-grid > .lh-apply-item + .lh-apply-item {
        padding-left: 40px;
        border-left: 1px solid #d5e3ee;
    }
}

@media (max-width: 639px) {
    .lh-apply {
        padding: 30px 20px;
    }

    .lh-apply-online .uk-button {
        width: 100%;
    }
}

/* ---------- Live-Jobs statt Box (z. B. Ausbildung) ---------- */

.lh-apply-jobs-title {
    margin: 20px 0 25px;
    color: #007bbe;
}

.lh-apply-jobs-hint {
    margin-top: 30px;
    padding: 20px 25px;
    background: #f2f7fb;
    border-left: 4px solid #007bbe;
    font-size: 15px;
    color: #555;
}

.lh-apply-jobs-hint a {
    color: #007bbe;
}
