body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.news-header {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.news-header h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}
.news-header a {
    align-content: center;
}
.news-header a span:hover {
    text-decoration: underline;
}

.nav-buttons {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
}

.nav-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    margin-left: 5px;
}

.nav-buttons button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.news-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 10px; /* Space for header */
	margin-right: 25px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-in {
    display: flex;
    transition: transform 0.5s ease;
}

.news-item {
    flex: 0 0 auto;
    width: 25%; /* Width of each news item */
    min-height: 300px; /* Height of each news item to accommodate text */
    max-height: 400px; /* Height of each news item to accommodate text */
    margin-right: 5px; /* Space between items */
}

.news-item img {
    width: 100%;
    height: 150px; /* Height of the image */
}

.news-info {
    padding: 10px;
    background: #fff;
    box-sizing: border-box;
}

.news-date {
    display: block;
    font-size: 12px;
    color: #919191;
}

.news-headline {
    margin: 5px 0;
}

.news-headline a {
    color: #148521;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.news-headline a:hover {
    text-decoration: underline;
}

.news-excerpt {
    font-size: 14px;
    color: #333;
}

.news-buttons {
    display: flex;
    gap: 15px;
}
.news-button {
    height: 30px;
    cursor: pointer;
}

.main__content__news__list {
    overflow: auto;
    max-height:800px;
    margin: 20px 0;
}

.news__content {
    display: flex;
    margin: 30px 0;
}

.main__content__body__news {
    float: left;
    width: 75%;
}

.right__content__body__news {
    float: left;
    width: 25%;
}

.news__row {
    display: flex;
    /*background-color: rgba(88, 101, 219, 0.13);*/
    margin-bottom: 20px;
    /*border-radius: 10px;*/
}

.news__body {
    padding: 20px 10px 10px 10px;
}

.news__image {
    display: flex;
}

.news__date {
    font-family: Arial;
    font-size: 18px;
    color: #AEA7A7;
    margin: 0px 0px 9px 0px;
}

.news__title {
    font-family: Arial;
    font-weight: bold;
    font-size: 20px;
    color: #085c98;
    margin: 0px 0px 15px 0px;
}

.news__row .news__body .news__title {
    font-size: 18px;
}

.news__title a {
    color: #085c98 !important;
}

.news__text {
}

.news__text__short {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow-y: hidden;
}

header.news-header {
    color: #085c98;
    font-weight: bold;
    font-size: 22px;
    line-height: 24px;
}

@media only screen and (max-device-width: 480px) {
    .right__content__body__news {
        display: none;
    }

    .main__content__body__news {
        width: 100%;
    }

    .news__title {
        font-size: 30px;
    }
    .slider-in {
        display: grid;
    }
    .news-item {
        width: 100%;
        height: auto;
    }
        .news-item img {
            display:none;
        }
}