﻿* {
    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: -5;
}

.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;
    z-index: -4;
}

.container1 {
    padding-top: 215px;
    z-index: -3;
}

    .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% */
        z-index: -2;
    }

.container2 {
    display: block;
    width: 95%;
    margin: auto;
    height: 350px;
    flex-shrink: 0;
    background-image: url(../../img/articles/cmms.png);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    z-index: -1;
}

.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;
}

.articleDetail {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
    margin-top: 170px;
    flex-direction: column;
    max-width: 980px;
}

.containerArticle {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    display: inline-flex;
}

.left-column {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    display: flex;
}

.title {
    align-self: stretch;
    color: #061E00;
    font-size: 30px;
    font-family: Switzer;
    font-weight: 500;
    word-wrap: break-word;
    width: auto;
}

.contentCAMMS {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    display: flex;
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
}

.definition {
    align-self: stretch;
    color: #061E00;
    font-size: 22px;
    font-family: Switzer;
    font-weight: 500;
    word-wrap: break-word;
}

.details {
    align-self: stretch;
}

.description,
.benefits {
    color: #061E00;
    font-size: 18px;
    font-family: Switzer;
    font-weight: 300;
    line-height: 29px;
    word-wrap: break-word;
}

    .description p {
        margin-left: 0 !important;
        max-width: 100%;
        text-wrap: wrap !important;
    }

.benefits {
    font-weight: 500;
}

.benefits-list {
    list-style-type: disc;
    margin-left: 20px;
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
}

.tags {
    display: flex;
    align-self: baseline;
    margin-top: 4%;
}

.tag {
    margin-right: 7px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
    background: #EAEAEA;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    display: flex;
    color: #061E00;
    font-size: 17px;
    font-family: Switzer;
    font-weight: 400;
    word-wrap: break-word;
    margin-top: 10px;
}

@media (max-width: 1100px) {
    .tags {
        display: table;
    }

    .tag {
        display: table;
    }
}

.articleContainer {
    margin-top: 6%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    display: inline-flex;
}

    .articleContainer .title {
        color: #061E00;
        font-size: 30px;
        font-family: Switzer;
        font-weight: 500;
        word-wrap: break-word;
    }

.articles {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    display: inline-flex;
}

.article {
    width: 300px;
    padding: 20px;
    background: white;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    display: inline-flex;
}

    .article img {
        align-self: stretch;
        height: 160px;
        border-radius: 4px;
        border: 0.50px #E4E4E4 solid;
    }

.articleContent {
    align-self: stretch;
    height: 122px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    display: flex;
}

.articleTitle {
    align-self: stretch;
    color: #061E00;
    font-size: 20px;
    font-family: Switzer;
    font-weight: 500;
    line-height: 27px;
    word-wrap: break-word;
}

.articleDescription {
    align-self: stretch;
    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: 3;
}

.read-button {
    display: none;
    background: black;
    color: white;
    border-radius: 140px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: auto;
    padding: 10px;
    font-size: 18px;
    font-family: Switzer;
    font-weight: 500;
}

    .read-button > div {
        color: white;
        font-size: 18px;
        font-family: Switzer;
        font-weight: 500;
        word-wrap: break-word;
    }




@media (max-width: 992px) {
    /*    .containerArticle {
        margin-top: 10%;
    }*/

    .articles {
        flex-direction: column;
    }

    .articleContainer {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        display: inline-flex;
    }
}

/*@media (max-width: 821px) {

    .articleDetail {
        margin-top: 100px;
    }
}*/

/*@media (max-width: 769px) {

    .containerArticle {
        margin-top: 22%;
    }
}*/

@media (max-width: 415px) {

    /*    .containerArticle {
        margin-top: 40%;
    }*/

    /*    .articleDetail {
        margin-top: 14%;
    }*/

    .read-button {
        display: flex;
        width: 90%;
    }

    .container2 {
        background-image: url(../../img/articles/cmmsS3.png);
        background-repeat: no-repeat;
        background-position: center;
    }

    .section1 {
        margin-top: 20px;
    }
}

@media (max-width: 281px) {

    .articleDetail {
        margin-top: 220px;
    }
}
