/* ------- Aktuality ------- */

#aktuality .content {
    padding: 12rem 14.6rem 12rem 14.6rem;
}

#aktuality .firstLine {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

#aktuality .h1 {
    margin-bottom: 0;
    font-size: 7.5rem;
    font-weight: 900;
    text-transform: uppercase;
}


/* ------- Filter ------- */

#aktuality .filter {
    display: flex;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 2.4rem;
    font-size: 2.0rem;
    font-weight: 300;
}

#aktuality .filter .item.active {
    text-decoration: underline;
}


/* ------- Items ------- */

#aktuality .actuality {
    display: flex;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.6rem;
}

#aktuality .actuality a {
    color: var(--clr-white);
    flex: 0 0 calc(50% - 1.86rem);
    max-width: calc(50% - 1.86rem);
}

#aktuality .actuality .postItem {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.8rem 3.4rem;;
    height: 30.0rem;
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: #2196F3;
    box-shadow: 0 1.8rem 4.0rem 0 #0000001A,
        0 7.3rem 7.3rem 0 #00000017,
        0 1.65rem 9.9rem 0 #0000000D,
        0 2.94rem 1.18rem 0 #00000003,
        0 4.59rem 1.29rem 0 #00000000;
}

#aktuality .actuality .postItem .background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    transition: transform 0.5s;
}

#aktuality .actuality .postItem:hover .background {
    transform: scale(1.04);
}

#aktuality .actuality .postItem .mist {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12.5rem;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #003DA5aa 100.1%);

}

#aktuality .actuality .postItem .h2 {
    font-size: 2.2rem;
    line-height: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
}




@media only screen and ((max-width: 1000px) or (orientation: portrait)) {

    /* ------- Aktuality ------- */

    #aktuality .content {
        padding: 8.6rem 6.0rem 6.0rem 6.0rem;
    }

    #aktuality .firstLine {
        align-items: flex-start;
        margin-bottom: 3.4rem;
        flex-direction: column;
        align-content: flex-start;
    }

    #aktuality .h1 {
        margin-bottom: 3.4rem;
        font-size: 6.0rem;
        line-height: 6.8rem;
    }


    /* ------- Filter ------- */

    #aktuality .filter {
        display: flex;
        margin-bottom: 3rem;
        justify-content: flex-start;
        align-items: center;
        gap: 0.4rem 2.4rem;
        font-size: 2.0rem;
        flex-wrap: wrap;
    }

    #aktuality .filter .item {
        width: max-content;
    }


    /* ------- Items ------- */

    #aktuality .actuality {
        gap: 2.8rem;
    }

    #aktuality .actuality a {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #aktuality .actuality .postItem {
        padding: 1.4rem 2.4rem;;
        height: 18.0rem;
    }

    #aktuality .actuality .postItem .mist {
        height: 14.5rem;
        background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #003DA5bb 110.1%);

    }

    #aktuality .actuality .postItem .h2 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
    
}


/* ----------------- Mobile 360px ----------------- */
@media only screen and (max-width: 500px) {

    /* ------- Aktuality ------- */

    #aktuality .content {
        padding: 7.6rem 2.6rem 2.6rem 2.6rem;
    }

    #aktuality .firstLine {
        align-items: flex-start;
        margin-bottom: 3rem;
        flex-direction: column;
        align-content: flex-start;
    }

    #aktuality .h1 {
        margin-bottom: 2.1rem;
        font-size: 4.2rem;
        line-height: 4.8rem;
    }


    /* ------- Filter ------- */

    #aktuality .filter {
        display: flex;
        margin-bottom: 3rem;
        justify-content: flex-start;
        align-items: center;
        gap: 0.4rem 2.4rem;
        font-size: 1.8rem;
        flex-wrap: wrap;
    }

    #aktuality .filter .item {
        width: max-content;
    }


    /* ------- Items ------- */

    #aktuality .actuality {
        gap: 2.6rem;
    }

    #aktuality .actuality a {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #aktuality .actuality .postItem {
        padding: 1.4rem 2.4rem;;
        height: 18.0rem;
    }

    #aktuality .actuality .postItem .mist {
        height: 14.5rem;
        background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #003DA5bb 110.1%);

    }

    #aktuality .actuality .postItem .h2 {
        font-size: 1.6rem;
        line-height: 2.0rem;
    }
    
    
}