.selecting_a_div {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.selecting_a_div .text-center{
    margin: 0 30px 15px 0;
    font-size: 28px;
    font-weight: bold;
}

.selecting_a_div .text-center a{
    color: #80B5DB;
}

.selecting_a_div .text-center.active a{
    color: #006CB7;
}

.selecting_a_div .text-center a:hover{
    color: #4091C9;
}

.selecting_a_div .text-center.active a:hover{
    text-decoration: underline;
    color: #006CB7;
}

.module-index-news-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    grid-auto-rows: 1fr 1fr auto;
    margin-bottom: 40px;
}

.module-index-news-new.module-index-news-3 {
    grid-auto-rows: 1fr 1fr auto;
}

.module-index-news-new.module-index-news-4 {
    grid-auto-rows: 1fr 1fr 1fr auto;
}

.module-index-news-new.module-index-news-2 {
    grid-auto-rows: 1fr auto;
}

.item-new_new {
    border: 1px solid rgba(0, 108, 183, 0.3);
    border-radius: 25px;
    padding-bottom: 10px;
    transition: ease-in-out 0.5s;
}

.item-new_new:hover,
.more-new:hover {
    box-shadow: 0 10px 10px rgb(0 61 98 / 10%);
    transition: ease-in-out 0.5s;
}

.date-img {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
}

.date-img img {
    width: 100%;
    border-radius: 25px 25px 0 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
}

.new-date_time {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: #ffffff;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    border-radius: 15px;
    color: #2F353A;
    height: 27px;
    display: flex;
    align-items: center;
}



.new-title_new {
    padding: 0 5px;
    font-style: normal;
    font-size: 16px;
    font-weight: 600;
    color: #2F353A;
    display: block;
    min-height: 150px;
}

.type_link {
    margin: 10px;
    padding: 5px 10px;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    border-radius: 15px;
    color: #ffffff;
}

.module-index-news-new .item-new_new .type_link:hover {
    font-weight: 400;
    color: #ffffff;
}

.new-link {
    margin-bottom: 10px;
    display: block;
}

.text-left-new {
    grid-column-end: span 4;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.more-new {
    padding: 5px 10px;
    border: 1px solid #006CB7;
    border-radius: 15px;
    margin-right: 20px;
    color: #006CB7;
    font-size: 14px;
    font-weight: 700;
    transition: ease-in-out 0.5s;
}

.more-new-rss .more,  .more-new-rss .more:hover {
    font-weight: 600;
    color: #2f353a;
}

.text-left-new-1 .more-new {
    margin: 0;
}

h2.news_abitur{
    margin: 20px 0;
    grid-column-end: span 4;
}



@media screen and (max-width: 1279px) and (min-width: 500px) {
    .module-index-news-new {
        grid-template-columns: repeat(2, 1fr);
    }

    h2.news_abitur{
        margin: 20px 0;
        grid-column-end: span 2;
    }

    .text-left-new {
        grid-column-end: span 2;
    }

    .selecting_a_div .text-center.active a:hover{
        text-decoration: none;
    }

}

@media screen and (max-width: 500px) {
    .module-index-news-new {
        grid-template-columns: repeat(1, 1fr);
    }

    h2.news_abitur{
        margin: 20px 0;
        grid-column-end: span 1;
    }

    .selecting_a_div .text-center.active a:hover{
        text-decoration: none;
    }

    .text-left-new {
        grid-column-end: span 1;
    }
}

@media screen and (max-width: 328px) {
    .text-left-new {
        flex-direction: column;
        align-items: flex-start;
    }

    .more-new {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .text-left-new-1 .more-new {
        margin: 0;
    }
}
