*{
    --img-height: 150px;
}

#blog-title{
    font-size: 84px;
    margin: 100px auto 50px auto;
    text-align: center;
    font-family: 'Amatic Sc';
    font-weight: bold;
}

#blog-description{
    text-align: center;
    margin: auto;
    max-width: 40%;
    font-size: 16px;
}

#blog-items-container{
    max-width: 60%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (min-width: 800px){
    #blog-items-container{
        justify-content: space-between;
    }
} 

@media screen and (min-width: 2000px){
    #blog-items-container{
        max-width: 1400px;
    }
} 

.blog-item{
    padding: 20px;
    background-color: #fafafa;
    border-radius: 10px;
    max-width: 75%;
    margin: 0 auto;
    margin-right: 0px !important;
    margin-bottom: 50px;
    min-width: 350px;
}

@media screen and (min-width: 1200px){
    .blog-item{
        max-width: 45%;
        margin: 0;
        margin-bottom: 50px;
    }
} 

.blog-item > a{
    width: 100%;
    height: var(--img-height);
    display: block;
    position: relative;
    overflow: hidden;
}

.blog-item img{
    width: 100%;
    height: auto;
    position: absolute;
}

.blog-item .blog-item-infos{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: calc( 100% - var(--img-height));
}

.blog-item .blog-item-infos .blog-item-infos-left span{
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0px 20px 0px;
    display: block;
    color: black;
}

.blog-item .blog-item-infos .blog-item-infos-left p{
    margin-bottom: 5px;
    font-size: 14px;
    max-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-item .blog-item-infos .blog-item-infos-right{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-item .blog-item-infos .blog-item-infos-right span{
    font-size: 14px;
    margin: 10px;
}

.blog-item .blog-item-infos .blog-item-infos-right .read-article{
    font-size: 14px;
    padding: 5px 20px;
    border-radius: 50px;
    border: 2px solid #bdd748;
    color: #bdd748; 
    margin-top: 10px;
}

.blog-item .blog-item-infos .blog-item-infos-right .read-article:hover{
    color: white;
    background-color: #bdd748;
}

/*---------------*/

:is(.blog-item:first-child, .blog-item.dual){
    margin-top: 50px;
    min-width: 150%;
}

@media screen and (min-width: 800px){

    :is(.blog-item:first-child, .blog-item.dual){
        max-width: 100%;
        min-width: 0%;
        width: 100%;
        margin: auto;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    
    :is(.blog-item:first-child, .blog-item.dual) > a{
        height: 200px;
    }
    
    :is(.blog-item:first-child, .blog-item.dual) img{
        top: -40%;
        left: 0px;
    }
    
    :is(.blog-item:first-child, .blog-item.dual) .blog-item-infos{
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        height: unset;
    }
    
    :is(.blog-item:first-child, .blog-item.dual) .blog-item-infos :is(.blog-item-infos-left, .blog-item-infos-right){
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    
    :is(.blog-item:first-child, .blog-item.dual) .blog-item-infos .blog-item-infos-left{
        max-width: 65%;
    }
    
    :is(.blog-item:first-child, .blog-item.dual) .blog-item-infos .blog-item-infos-left span{
        margin: 10px 0px;
        font-weight: bold;
        font-size: 16px;
    }
    
    :is(.blog-item:first-child, .blog-item.dual) .blog-item-infos .blog-item-infos-right{
        align-items: flex-end;
        max-width: 35%;
    }
    
    :is(.blog-item:first-child, .blog-item.dual)-child .blog-item-infos .blog-item-infos-right .read-article{
        margin-right: 20px;
    }
}

@media screen and (min-width: 1160px){
    :is(.blog-item:first-child, .blog-item.dual) > a{
        height: 300px;
    }

    :is(.blog-item:first-child, .blog-item.dual) img{
        top: -50%;
    }
} 

.frame-type-text h2{
    background: #fafafa;
    margin-bottom: 40px;
}

.frame-type-menu_sitemap_pages{
    margin-bottom: 100px;
}

.frame-type-text{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #fafafa;
    margin-bottom: 25px;
}

.frame-type-text div{
    max-width: 300px;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
    padding: 10px;
}

@media only screen and (min-width: 1024px) {
    .frame-type-text div{
        width: 22%;
        padding: 30px;
    }
}

.frame-type-text header{
    width: 100%;
    text-align: center;
    margin-top: 50px;

    font-family: 'Amatic Sc';
    font-size: 50px;
    line-height: 50px;
}

.frame-type-text div strong{
    font-family: 'kgprimarydots';
    font-size: 200px;
    line-height: 150px;
}

.frame-type-text div p{
    font-size: 12px;
}