﻿* {
    font-family: 'Switzer', sans-serif;
}

.allContent {
    margin-right: 0%;
}

.header {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="590" viewBox="0 0 1920 590" fill="none"><path d="M0 0H1920V410L0 590V0Z" fill="url(%23paint0_linear_247_939)"/><defs><linearGradient id="paint0_linear_247_939" x1="182.5" y1="-201.774" x2="461.007" y2="673.856" gradientUnits="userSpaceOnUse"><stop stop-color="%23A9FBFF"/><stop offset="0.5" stop-color="%23C3D3FF"/><stop offset="1" stop-color="%23F6FBFE"/></linearGradient></defs></svg>');
    background-size: cover;
    background-position: top center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 590px;
    z-index: -3;
}

.company-name, .company-description {
    font-family: 'Switzer', sans-serif;
}

.h3 {
    color: #061E00;
    text-align: center;
    font-family: 'Switzer', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.6px;
}

.h1 {
    color: #061E00;
    text-align: center;
    font-family: 'Switzer', sans-serif;
    font-size: 60px;
    margin: auto;
    margin-bottom: 2%;
    font-style: normal;
    font-weight: 600;
    line-height: 64px; /* 106.667% */
    letter-spacing: -1.2px;
}

.container1 {
    /*    padding-top: 215px;*/
    z-index: -2;
    margin-top: 150px;
}

    .container1 .p {
        color: #061E00;
        text-align: center;
        font-family: 'Switzer', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 300;
        line-height: 29px; /* 145% */
    }

.section1 {
    position: relative;
    width: 100%;
    /*    height: 590px;*/
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: -2;
}

.container2 {
    display: block;
    width: 95%;
    margin: auto;
    height: 350px;
    flex-shrink: 0;
    background-image: url(../../img/articles/articles.png);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    z-index: -1;
}

.article {
    margin: auto;
    width: 69%;
    padding: 20px;
    background: white;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-bottom: 20px;
    margin-top: 20px;
    max-width: 900px;
}

.article-image {
    width: 190px;
    height: 160px;
    border-radius: 4px;
    border: 0.50px #E4E4E4 solid;
}

.article-content {
    flex: 1 1 0;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
}

.article-title {
    color: #061E00;
    font-size: 22px;
    font-family: Switzer;
    font-weight: 500;
    line-height: 29px;
    word-wrap: break-word;
}

.article-description {
    color: #061E00;
    font-size: 16px;
    font-family: Switzer;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden !important;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.article-details {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.author, .publish-date {
    color: #686868;
    font-size: 16px;
    font-family: Switzer;
    font-weight: 400;
    line-height: 29px;
    word-wrap: break-word;
}

.read-button {
    width: 94px;
    padding: 10px;
    background: black;
    color: white;
    border-radius: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .read-button a {
        text-decoration: none;
        color: #fff;
    }

    .read-button > div {
        color: white;
        font-size: 18px;
        font-family: Switzer;
        font-weight: 500;
        word-wrap: break-word;
    }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #383838;
    padding: 10px 0;
    border-radius: 6px;
    /*margin-top: 80px;*/
}

    .pagination ul {
        margin: 10px;
        padding-left: 0;
        display: flex;
    }

        .pagination ul li, .curPage, .numPages {
            display: flex;
            width: 48px;
            height: 46px;
            /*padding: 15px;*/
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 0 5px;
            text-align: center;
            cursor: pointer;
            border-radius: 8px;
            background: #E8E8E8;
            color: #000000;
            font-size: 22px;
            font-style: normal;
            font-weight: 600;
            line-height: 29px;
        }

            .pagination ul li.active {
                color: #fff;
                background: #4173CD;
            }

.btn1, .btn2 {
    display: flex;
    width: 48px;
    height: 46px;
    padding: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: #E8E8E8;
    color: #000000;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 29px;
}


. {
    padding-top: 150px;
}

    .pageNavButtons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .page_numbers {
        display: flex;
        align-items: center;
    }




@media (max-width: 992px) {
    .article {
        flex-direction: column;
    }
}

@media (max-width: 769px) {

    .pagination ul li {
        margin: 0 5px;
        padding: 5px;
    }

    .pagination ul {
        margin: 5px;
    }

        .pagination ul li, .btn1, .btn2 {
            width: 36px;
            height: 38px;
        }

    .article {
        width: 83%;
    }
}

@media (max-width: 768px) {
    .container1 {
        margin-top: 105px;
    }
}

@media (max-width: 415px) {
    /*.allContent {
        margin-right: 6%;
    }*/

    .read-button {
        width: 90%;
    }

    .container2 {
        background-image: url(../../img/articles/articlesS.png);
        background-repeat: no-repeat;
        background-position: center;
    }
}

@media (max-width: 281px) {
    .h3 {
        max-width: 98%;
    }

    .h1 {
        font-size: 44px;
    }

    .container1 {
        width: 95%;
    }

    .container2 {
        width: 90%;
    }
}
