.news-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    margin: 0;
}

.news-list-item {
    margin-bottom: 0.75rem;
    padding-top: 0.25rem;
    background-color: #ffffff;
    border-top: 1px solid var(--color-secondary);
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-grid-slider .news-list-item {
    height: 100%;
}

.news-list-item:nth-child(even) .news-list-item-link {
    flex-direction: row-reverse;
}

.news-list-item-link:focus {
    outline-color: var(--color-primary-1);
}

.news-list-item a:focus .news-list-item-content-desc-title,
.news-list-item a:hover .news-list-item-content-desc-title {
    color: var(--color-primary-1);
}

.news-list-teaser {
    width: 40%;
    display: block;
    aspect-ratio: 4 / 2;
}
.news-list-teaser-img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.news-list-item-content {
    width: 60%;
    padding: 1.5rem 0.5rem 0 0.5rem;
    position: relative;
}
.news-grid-slider .news-list-item-content {
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
}

.news-list-item-content-label {
    width: fit-content;
    margin: 0;
    padding: 0.25rem 1rem;
    background-color: var(--color-primary-2);
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
    font-size: var(--font-size-14);
    font-family: var(--secondary-font-family);
}

.news-list-item-content-desc-title {
    margin-top: 1rem;
    hyphens: auto;
    -ms-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-lines: 2;
    hyphenate-limit-lines: 2;
    font-size: var(--font-size-28);
    font-weight: 500;
}

.news-list-item-content-desc-title::after {
    width: 16px;
    height: 16px;
    background-color: var(--color-primary-1);
}

.news-list-item-content-desc-title svg {
    vertical-align: middle;
    fill: var(--color-primary-1);
}
.news-list-item-content-desc-place {
    margin-top: 0.75rem;
    display: block;
    font-size: 0.75rem;
}

.news-list-item-content-desc p {
    margin-bottom: 0;
    line-height: 1.2;
    font-size: var(--font-size-16);
    display: none;
}

.news-item-tags {
    margin: 1.5rem 0.5rem 0 0.5rem;
    padding: 0 0 1rem 1rem;
    display: inline-flex;
    gap: 0.5rem;
    width: 100%;
}

.news-item-tags li {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 0.5rem;
    max-width: 33%;
}
.news-item-tags li:last-child {
    max-width: 100%;
}

.news-item-tags li a {
    color: var(--color-primary-1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-item-tags li a:hover,
.news-item-tags li a:active {
    color: var(--color-secondary-80);
}

.news-item-tags li::after {
    content: '|';
    color: var(--color-primary-1);
}

.news-item-tags li:last-child::after {
    content: '';
}

/*
    News-Slider
*/

.news-grid-slider {
    padding: 0 0 4rem 0;
}

.news-grid-slider .news-item-tags {
    padding: 0 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.news-grid-slider .splide__slide {
    margin-right: 1rem;
}
.news-grid-slider .news-list-item-content-desc-title {
    margin-bottom: 0;
}

.load-more-wrapper {
    text-align: center;
    margin: 2rem 0 3rem 0;
}
.load-more-wrapper span {
    padding: 0 2rem 0 0;
}
.load-more-wrapper .btn::after {
    content: url('../../Svg/icon-reload.svg');
    position: absolute;
    right: 0;
    top: 0;
    background: var(--color-secondary-60);
    padding: 0.6rem 0.8rem 0.25rem 0.8rem;
    border-radius: 100%;
    height: 100%;
}
.load-more-wrapper .btn:hover::after,
.load-more-wrapper .btn:focus::after {
    background: var(--color-secondary);
}
.load-more-wrapper .btn {
    padding: 0.85rem 1rem;
    font-size: small;
    appearance: button;
    text-transform: uppercase;
}
.news-list-item-content-desc-title {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 700;
}
.news-list-item.no-image .news-list-item-content {
    width: 100%;
}
/* For Desktop */

@container (min-width: 356px) {
    .news-list-item-link {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
        height: 100%;
    }
    .news-list-teaser {
        aspect-ratio: 1 / 1;
    }
}
@container (min-width: 504px) {
    .load-more-wrapper .btn {
        padding: 0.75rem 4rem;
        font-size: initial;
    }
    .news-list-item-content {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    .news-grid-slider .news-list-item-content {
        padding: 1.5rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: flex-end;
    }
}
@container (min-width: 684px) {
    .news-grid-slider .news-list-item-content-desc p,
    .news-list .news-list-item-content-desc p {
        display: block;
    }
    .news-list-item-content-desc-title {
        font-weight: 500;
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }
}
@container (min-width: 736px) {
    .load-more-wrapper span {
        padding: 0;
    }
}
@container (max-width: 935px) {
    .news-list-item-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: flex-end;
    }
}
@container (min-width: 936px) {
    .news-list .news-list-teaser {
        aspect-ratio: 6 / 8;
    }
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-list-item {
        margin-bottom: 1.5rem;
    }
    .news-grid-slider .news-list-item {
        height: 100%;
    }
    .news-grid-slider .news-list-item-content-desc p {
        display: none;
    }
}
@container (min-width: 1116px) {
    .news-grid-slider .news-list-item-content-desc p {
        display: block;
    }
}
