.breadcrumb{
    margin-top: 1.5rem;
    margin-bottom: -1.5rem;
}
section{
    margin: 3rem 0;
}
section.title{
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}
section.title .wrapper{
    position: relative;
}
/* section.title .wrapper:after{ */
/*     content: ''; */
/*     position: absolute; */
/*     top: 0; */
/*     width: 100%; */
/*     height: 100%; */
/*     z-index: 0; */
/*     background-color: hsla(0, 0%, 0%, 50%); */
/* } */
section.title img{
    top: 0;
    margin-bottom: 1rem;
    width: 100%;
    max-height: 10rem;
    z-index: -1;
    object-fit: cover;
    mask-image: linear-gradient(-170deg, white 30%, transparent);
    border-radius: 10px;
}
section.title .wrapper h1{
    position: absolute;
    bottom: .5rem;
    left: 1rem;
}
section.title h1{
    text-transform: uppercase;
    z-index: 1;
}
section.text-body{
    gap: 0;
    margin-top: 0;
    flex-direction: column;
}
.title .chapo{
    font-size: 1.2rem;
    font-weight: bold;
}
.text-body blockquote{
    padding: 1rem;
    border-left: 3px solid var(--green);
    background-color: var(--white-accent);
    margin-top: 20px;
}
.text-body > p, .text-body h2{
    margin-top: 20px;
}
.text-body img{
    display: block;
    height: 100%;
    background-color: var(--outline-color-shadow);
    border-radius: 10px;
    overflow: hidden;
    max-width: 100%;
}
.text-body .img-wrapper{
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-style: italic;
}
.text-body .img-wrapper[align="aligncenter"]{
    align-items: center;
}
.text-body .img-wrapper[align="alignright"]{
    align-items: end;
}
.text-body a{
    color: var(--green);
    text-decoration: underline;
}
.text-body ul, .text-body ol{
    margin-left: 2rem;
}
.text-body li br{
    display: none;
}
li{
    height: fit-content;
}
li::marker{
    font-weight: bold;
    font-size: 1.2rem;
    font-family: var(--accent-font);
}
/* -------------- */
/* -- Articles -- */
/* -------------- */
section.hero{
    display: flex;
    gap: 0;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
}
section.hero h2{
    font-size: 2.5rem;
    white-space: nowrap;
    background-color: white;
    color: var(--accent-color);
    width: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    padding: .7rem;
}
section.hero h2.last{
    color: white;
    background-color: var(--accent-color);
    rotate: -2deg;
    translate: 0 -.5rem;
    margin-bottom: 2rem;
}
section.articles{
    display: none !important;
}
section.articles{
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
}
.filter{
    width: fit-content;
    padding: .2rem .5rem;
    border-radius: 9rem;
    border: 1px solid var(--green);
}
.filter i, .filter p{
    color: var(--green);
}
.filter *:hover{
    text-decoration: none;
}
.filter:hover{
    background-color: var(--outline-color-shadow);    
}
.articles .article{
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 0 10px 5px var(--white-accent);
    transition: all .2s ease;
}
.article h3{
    text-transform: uppercase;
}
.article .wrapper:has(img){
    background-color: var(--white-accent);
    border-radius: 5px 5px 0 0;
    transition: all .2s ease;
}
.article img{
    border-radius: 5px 5px 0 0;
    background-color: var(--white-accent);
    border: none;
    width: 100%;
    height: 100%;
    max-height: 10rem;
    object-fit: cover;
}
.article img[src=""]{
    visibility: hidden;
}
.article .wrapper:not(:has(img)){
    display: flex;
    gap: .3rem;
    flex-direction: column;
    padding: 1rem;
    height: 100%;
    border-radius: 0 0 5px 5px;
}
.article .legend{
    gap: 0;
}
.article .legend p{
    padding: 0 .5rem;
    color: grey;
    font-size: .9rem;
}
.article .legend p:first-child{
    padding: 0;
    padding-right: .5rem;
}
.article .legend p:not(:last-child){
    border-right: 1px solid grey;
}
.article .chapo{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article a:has(button){
    padding-top: .5rem;
    margin: auto 0 0 auto;
    text-decoration: none;
}
.article a button{
    margin: auto 0 0 auto;
}

@media screen and (max-width: 1000px) {
    main.articles section.title *{
        width: 100%;
        text-align: center;
    }
    section.hero h2{
        font-size: 6vw;
    }
    section.articles{
        grid-template-columns: 1fr;
    }
    section .article{
        max-width: 100%;
    }
    section .article img{
        max-width: 100%;
    }
    section .article .legend{
        flex-wrap: wrap;
    }
    .breadcrumb{
        padding: 0 1rem;
    }
}
