/*
 Theme Name:   PRIORISE
 Theme URI:    https://priorise.com
 Description:  Thème PRIORISE
 Author:       STUDIO WBM
 Author URI:   https://priorise.com
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light
 Text Domain:  priorise_theme
*/


/**************************
          BLOCK POSTS
***************************/

section.block-posts {
    width: 100%;
}
section.block-posts button{
    width: fit-content;
}
.block-post-forward {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 70%;
    padding: 0;
}
.block-post-side{
    display: flex;
    flex-direction: column;
    display: flex;
    width: 27%;
}
.block-post-side > article:first-of-type{
    border-bottom: solid 1px rgba(99, 53, 241, 0.20);
    padding-bottom: 40px;
}
.block-post-side > article:last-of-type{
    padding-top: 40px;
}
.block-post-side ul.post-blog-loop-cat{
    display: flex;
    flex-wrap: wrap;
    max-width: 85%;
    grid-gap: 5px;
    margin: 0;
    padding: 0;
}
.block-post-side ul.post-blog-loop-cat.col-auto li{
    list-style-type: none;
}
section.block-posts .post-blog-meta-infos{
    display: flex;
    justify-content: space-between;
}
section.block-posts .post-blog-meta-infos span{
    color: var(--themeMarinePurple);
    text-align: center;
    font-weight: 400;
    line-height: 105%;
}
.row-block-posts{
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 100px;
    border-bottom: solid 1px rgba(99, 53, 241, 0.20);
}
/* Content side  */
section.block-posts .block-post-side .entry-content{
    margin-top: 0px;
}


section.block-posts .block-post-side .post-blog-meta-infos span{
    font-size: 13px;
}
section.block-posts .block-post-side .post-blog-excerpt{
    margin-bottom: 20px;
}
section.block-posts .block-post-side p{
    color: var(--themeFontColor);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
section.block-posts .block-post-side h3{
    color: var(--themeMarinePurple);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-top: 0.5rem;
    margin-bottom: 10px;
}

/* Content forward  */
section.block-posts .block-post-forward article:hover img{
    transform: scale(1.1);
}
section.block-posts .block-post-forward h2{
    color: var(--themeMarinePurple);
    font-size: 32px;
    font-weight: 500;
    line-height: 130%;
    margin-top: 0.5rem;
    margin-bottom: 20px;
}
section.block-posts .block-post-forward p{
    color: var(--themeFontColor);
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
section.block-posts .block-post-forward .col-forward-content{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}
section.block-posts .block-post-forward .col-forward-content > div:last-of-type{
    margin-top: auto;
}   
section.block-posts .block-post-forward ul{
    display: flex;
    flex-wrap: wrap;
    max-width: 85%;
    grid-gap: 8px;
    margin: 0;
    padding: 0;
}
section.block-posts .block-post-forward ul li{
    list-style-type: none;
}
section.block-posts .block-post-forward .post-blog-meta-infos span{
    font-size: 15px;
}
section.block-posts article.post-blog.forward .entry-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
}
section.block-posts article.post-blog.forward .entry-content > div:first-of-type{
    border-radius: 15px;
    box-shadow: -30px -30px 94px 80px rgba(1, 108, 82, 0.05), 0px 3px 7px 0px rgba(33, 26, 29, 0.05);
    max-width: 45%;
    overflow: hidden;
}
section.block-posts article.post-blog.forward img {
    aspect-ratio: 4/3;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/****************/

.row.row-last-posts-title {
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
section.block-posts .block-post-forward h3{
    color: var(--themeMarinePurple);
    font-size: 56px;
    font-style: normal;
    font-weight: 400;
    margin-top: 0.5rem;
    line-height: 100%; 
    margin-bottom: 0px;
}   

.block-post-side article.post-blog{
    width: 100%;
}
section.block-posts article span.material-symbols-outlined{
    font-size: 28px;
    color: var(--themeBluePurple);
}
section.block-posts article img{
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

section.block-posts .block-post-side article.post-blog h2 {
    font-size: 22px;
    margin: 5px 0 10px;
}
.block-post-side article.post-blog .post-blog-excerpt{
    margin-bottom: 20px;
}
.row-last-post-forward, .row-last-post-forward > article{
    height: 100%;
}

/* Responsive */

@media only screen and (max-width: 1600px) {
    section.block-posts .block-post-forward h3{
        font-size: 52px;
    }
    .block-post-side {
        width: 30%;
    }
    .block-post-forward {
        width: 65%;
    }
    section.block-posts .block-post-forward h2 {
        font-size: 28px;
    }
    section.block-posts .block-post-side h3 {
        font-size: 20px;
    }
    section.block-posts .block-post-forward p {
        font-size: 15px;
    }
}
@media only screen and (max-width: 1280px) {
    article.post-blog.forward h2{
        font-size: 24px;
    }
    section.block-posts .block-post-forward h3 {
        font-size: 44px;
    }
    section.block-posts .block-post-forward .col-forward-content .post-blog-excerpt{
        margin-bottom: 50px;
    }
}
@media only screen and (max-width: 1200px) {
    section.block-posts .block-post-forward h3 {
        font-size: 36px;
    }
    .block-post-forward {
        width: 50%;
        gap: 40px;
    }
    .block-post-side {
        width: 45%;
    }
    section.block-posts article.post-blog.forward .entry-content > div:first-of-type{
        max-width: 100%;
        height: 200px;
    }
    section.block-posts article.post-blog.forward img{
        width: 100%;
    }
    section.block-posts article.post-blog.forward .entry-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 0;
    }
    section.block-posts .block-post-side p {
        font-size: 14px;
    }
    section.block-posts .block-post-forward .col-forward-content .post-blog-excerpt {
        margin-bottom: 30px;
    }
    .block-post-side article:first-of-type{
        padding-bottom: 40px;
    }
    .block-post-side article:last-of-type{
        padding-top: 40px;
    }
}
@media only screen and (max-width: 992px) {
    section.block-posts .block-post-forward h3 {
        font-size: 36px;
    }
    .block-post-forward{
        width: 100%;
        gap: 30px;
    }
    section.block-posts article.post-blog.forward .entry-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 25px;
    }
    article.post-blog.forward .entry-content > div:first-of-type{
        width: 40%;
    }
    section.block-posts .block-post-forward .col-forward-content{
        width: 55%;
    }
    article.post-blog.forward h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    section.block-posts .block-post-forward .col-forward-content .post-blog-excerpt {
        margin-bottom: 20px;
    }
    section.block-posts .block-post-forward p {
        font-size: 14px;
    }
    .block-post-side {
        width: 100%;
    }
    .row-block-posts {
        gap: 40px;
        padding-bottom: 60px;
    }
    .block-post-side {
        display: flex;
    }
}
@media only screen and (max-width: 575px) {
    section.block-posts .block-post-forward h3 {
        font-size: 32px;
        line-height: 120%;
    }
    section.block-posts article.post-blog.forward .entry-content > div:first-of-type {
        height: 180px;
    }
    section.block-posts .block-post-forward{
        padding: 0 10px 30px;
        border-bottom: solid 1px rgba(99, 53, 241, 0.20);
    }
    section.block-posts article.post-blog.forward .entry-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    article.post-blog.forward .entry-content > div:first-of-type,section.block-posts .block-post-forward .col-forward-content{
        width: 100%;
    }
    .row-block-posts {
        gap: 30px;
    }
    .block-post-side article:first-of-type {
        padding-bottom: 30px;
    }
    .block-post-side article:last-of-type {
        padding-top: 30px;
    }
    section.block-posts {
        padding-top: 60px;
    }
}
@media only screen and (max-width: 420px) {
  
}
