/*******************************Main container start***********************************/
/*    background: radial-gradient( 350px 100px at bottom left, var(--bg3), transparent 400px ), linear-gradient( to right, var(--bg1), var(--bg2) );*/
.container-main-body-articles{
    margin-top: 118px;
}
.featured{
    width: 100%;
    max-width: unset;
    border: none;
    grid-area: featured;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.cardArticles{
    min-width: 268px;
    box-sizing: border-box;
    animation: appear 800ms;
}
.news-box{
    display: block;
    grid-area: news-box;
    display: block;
    min-height: 326px;
    margin-top: 48px;
    height:auto ;
    background-color: #f4f4f4;
    animation: appear 400ms;
}
.articlesMain{
    padding: 0;
}
.articles-bod{
    grid-area: articles;
    display: block;
    background: white;
    padding-bottom: 80px;
    text-align: center;
}
@media (min-width: 600px){
    .featured {
        height: unset;
        max-width: unset;
        flex-direction: row;
        align-items: center;
        margin: 40px 0 0 0;
        text-align: left;
    }
}
@media (min-width: 1200px){
    .featured{
        margin: 40px auto 0 auto;
        border-radius: 0;
        width: calc(100% - 64px);
        max-width: 1200px;
    }
}
/********************Top container**********************/
.heroArticles{
    width: 100%;
    padding-bottom: 66.67%;
    position: relative;
    background-color: #eaeaea;
    height: 400px;
    border-radius: 0;
}
.hero-inner-articles-img{
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100% !important;
    margin: 0;
    border-radius: 0;
}
.content{
    position: relative;
    padding: 2rem;
    background-color: unset;
    text-align: center;
    width: 100%;
    padding-bottom: 0;
    border-radius: 0;
}
.topic{
    margin-bottom: 0.5rem;
    max-height: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #707070;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.topic a{
    color: #707070;
}
.content h2{
    margin: 0;
    font-size: 1.75rem;
    line-height: 2.2rem;
    font-weight: 700;
    color: #2c2c2c;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
    max-height: 6.6rem;
}

.teaser{
    margin-bottom: 0.5rem;
    color: #707070;
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 1.5;
    height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}
.date{
    color: #707070;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    display: block;
}
@media (min-width: 600px){
    .heroArticles {
        width: 40%;
        padding-bottom: 0;
    }
    .content{
        width: 60%;
        height: max-content;
        text-align: left;
        box-sizing: border-box;
        padding-top: 0;
        margin: auto 0;
    }
    .content h2{
        font-size: 2.25rem;
        line-height: 2.8rem;
        margin-bottom: 0.5rem;
        max-height: 8.4rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    .teaser{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
@media (min-width: 1200px){
    .heroArticles{
        width:60%;
    }
    .content{
        width: 40%;
    }
}
/***************End top container***************/
/*************Middle container*********************/
.contentArticles{
    margin: 0 auto;
    padding: 48px 32px 0 32px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    position: relative;
}
.contentArticles h3{
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.25em;
    margin: 0.25em 0;
    text-align: center;
}

.contentArticles p{
    color: #707070;
    font-weight: normal;
    font-size: 1.125rem;
    text-align: center;
}
.contentArticles p:first-child{
    font-size: 1rem;
    line-height: 1.5;
    margin: 0.5em 0;
}
.button{
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
}
.action{
    border: solid #505050 2px;
    color: #505050;
    width: fit-content;
    border-radius: 22px;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    padding: 5px 16px;
    cursor: pointer;
    outline: none;
}
.deck{
    margin: 0 auto;
    padding: 48px 32px 0 32px;
    max-width: 443px;
    display: flex;
    flex-flow: row wrap;
}
.news-box > .deck {
    padding-top: 32px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.news-box .deck {
    max-width: unset;
}
.card{
    width: 100%;
    min-width: 268px;
    max-width: 378px;
    margin-bottom: 24px;
    border-radius: 4px;
    border: solid 1px #eaeaea;
    box-sizing: border-box;
    text-align: left;
    display: inline-block;
    animation: appear 800ms;
}
.news-box .card {
    margin: 0 0 24px 0;
    width: 100%;
    max-width: unset;
    display: flex;
    flex-flow: row nowrap;
}
.news-box .card .hero {
    padding-bottom: 0;
    height: 130px;
    width: 30%;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
}
.card .hero {
    width: 100%;
    padding-bottom: 66.67%;
    position: relative;
    background-color: #eaeaea;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.news-box .card .hero img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
}
.card .hero img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.news-box .card .content {
    padding: 24px;
    height: 130px;
    width: 70%;
    box-sizing: border-box;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}
.card .content {
    position: relative;
    padding: 2rem;
    background-color: white;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.news-box .card p.topic {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.card p.topic {
    margin-bottom: 0.5rem;
    max-height: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card p.topic, .card p.date {
    color: #707070;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.card .content p {
    margin: 0;
    font-size: 0.875rem;
}
.news-box .card .content h2 {
    font-size: 1rem;
    line-height: 1.25rem;
    min-height: 1.25rem;
    max-height: 3.75rem;
    margin-bottom: 5px;
}
.card h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.75rem;
}
.news-box .card p.teaser{
    display: none;
}
.news-box .card p.date {
    display: none;
}

@media (min-width: 600px){
    .contentArticles{
        width: calc(100% - 64px);
        min-width: 568px;
        max-width: 790px;
        padding-left: 0;
        padding-right: 0;
    }
    .news-box > .deck {
        width: calc(100% - 64px);
        min-width: 568px;
        max-width: 790px;
        padding-left: 0;
        padding-right: 0;
    }
    .card {
        width: calc(100%/2 - 16px);
        margin-right: 32px;
        margin-bottom: 32px;
    }
    .news-box .card {
        width: 100%;
    }
    .card .content {
        box-sizing: content-box;
        height: 11.5rem;
    }
    .card h2 {
        font-size: 1.25rem;
        line-height: 1.5rem;
        margin-bottom: 0.5rem;
        max-height: unset;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}
@media (min-width: 1200px){
    .contentArticles{
        max-width: 1200px;
    }
    .contentArticles p:first-child{
        width: 80%;
    }
    .button{
        position: absolute;
        margin-top: 0;
        top: 80px;
        right: 32px; 
    }
    .news-box > .deck {
        max-width: 1000px;
    }
    .card {
        width: 60%;
    }   
}

/************************End middle contianer************/
/***************Start last contianer******************/
.deckArticles{
    margin: 0 auto;
    padding: 48px 32px 0 32px;
    max-width: 443px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;

}
.card .hero-card-title{
    width: 100%;
    padding-bottom: 66.67%;
    position: relative;
    background-color: #eaeaea;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.card .hero-card-title img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    max-height: 100%;
}
.card .hero-card-content{
    position: relative;
    padding: 2rem;
    background-color: white;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.card h2 a{
    color: #2c2c2c;
}
.card p.date {
    color: #707070;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
a.primary , a.add-new{
    border: solid #505050 2px;
    color: #505050;
}
a.load-more {
    margin: 0 auto 2rem auto;
}
a.add-new{
    margin-left:10px;
}
a.primary , a.add-new{
    width: fit-content;
    border-radius: 22px;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    padding: 5px 16px;
    cursor: pointer;
    outline: none;
}
a.primary:hover, a.add-new:hover{
    background-color: #505050;
    color: white;
}
/* a.primary::before {
    content: "Load more articles";
} */

@media (min-width: 600px){
    .deckArticles{
        padding-left: 0;
        padding-right: 0;
        width: calc(100% - 64px);
        min-width: 568px;
        max-width: 790px;
    }
    .card .hero-card-content{
        box-sizing: content-box;
        height: 11.5rem;
    }
    .card p.date {
        position: absolute;
        bottom: 2rem;
    }
}
@media (min-width: 1200px){
    .deckArticles{
        max-width: 1200px;
    }
}
/********************End las contianer**************/