.home-featured {
    margin-bottom: 50px;
    position: relative;
}

.home-featured,
.home-featured .three-four,
.home-featured .three-four-five {
    display: flex;
    justify-content: space-between;
    gap: 2px;
}

.magazin .header-container .home-featured {
    gap: 30px;
}

.home-featured .three-four-five {
    flex-direction: column;
}

.home-featured>div {
    flex-grow: 0;
    flex-shrink: 0;
}

.home-featured.popupal .item {
    width: calc(33.333% - 2px);
}

.home-featured .one {
    width: calc(40% - 2px);
}

.home-featured .two,
.home-featured .three-four-five {
    width: calc(30% - 1px);
}

.home-featured .three-four-five>div {
    height: 50%;
}

.home-featured .three-four>div {
    width: 50%;
}

.magazin .header-container .item {
    width: calc(50% - 15px);
}

.home-featured .item {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.home-featured .title {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    bottom: 0;
    left: 1px;
    width: 100%;
    height: 83px;
    display: flex;
    align-items: center;
}

.magazin .header-container .home-featured .title {
    background: var(--mag_dark_green);
    width: calc(100% - 50px);
    bottom: 25px;
    left: 25px;
    height: auto;
    font-family: 'Roboto Slab';
}

.home-featured .title .inner {
    padding: 20px 10px;
    float: left;
}

.home-featured .title a {
    color: #fff;
    padding-left: 10px;
    display: block;
    position: relative;
    max-height: 44px;
    overflow: hidden;
}

.magazin .header-container .home-featured .title a {
    font-size: 38px;
    font-weight: bold;
    max-height: none;
    padding: 10px 17px !important;
}

body:not(.magazin) .home-featured .title a:before {
    background: #eb4735;
    height: 80%;
    width: 2px;
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
}


.home-featured .title a {


    font-weight: 700;

    font-size: 18px;



    line-height: 1.2;

}

.home-featured .three-four .title {
    height: 70px;
}

.home-featured .three-four .title a {

    /* Schriftart auf Open Sans setzen */
    font-weight: 700;
    /* Schriftstärke auf Bold 700 setzen */
    font-size: 15px;
    /* Schriftgröße auf 15px setzen */

    /* Keine Versalien (Großbuchstaben) */
    line-height: 1.2;
    /* Zeilenhöhe auf 1.2 setzen */
    max-height: 36px;
}

.home-featured .picture {
    width: 100%;
    height: 100%;

}

.home-featured .picture a {
    display: flex;
    width: 100%;
    height: 100%;
}
.home-featured .edit {
    position: absolute;
    top: 10px;
    text-align: center;
    font-weight: bold;
    left: calc(50% - 40px);
}


@media only screen and (max-width: 991px) {
    .magazin .header-container .home-featured {
        gap: 10px;
    }

    .magazin .header-container .home-featured .item {
        width: calc(50% - 5px);
    }

    .magazin .header-container .home-featured .title a {
        font-size: 25px;
    }
}

@media only screen and (max-width: 767px) {
    .home-featured.popupal {
        flex-direction: column;
    }

    .home-featured.popupal .item {
        width: 100%;
        margin: 0 0 2px 0;
    }

    .home-featured.popupal .picture,
    .home-featured.popupal .views-field-field-category {
        display: none;
    }

    .home-featured.popupal .title {
        /*position: relative;*/
    }

    .home-featured.popupal .item:last-child {
        margin: 0;
    }

    .magazin .header-container .home-featured .title a {
        font-size: 18px;
    }
}

@media only screen and (max-width: 520px) {
    .magazin .header-container .home-featured .title {
        width: calc(100% - 20px);
        left: 10px;
        bottom: 10px;
    }
}

@media only screen and (max-width: 440px) {
    .magazin .header-container .home-featured {
        flex-direction: column;
    }

    .magazin .header-container .home-featured .item {
        width: 100%;
    }
}
