/* pages montagne */
body{
    background: var(--sable);
}
.bg-blanc {
    background: var(--w);
}
.picto-activites {
    width: 180px;
}
figure.img-article, .similar > ul > li > figure {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    gap: 2rem;
}
.img-article > a > img, .similar > ul > li > figure > img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
main.single > section {
    margin: 6rem 0;
    width: 90%;
    max-width: 800px;
    justify-self: center;
}
.categories, .comments, .similar {
    margin: 4rem 0;
}
main.single section.categories a, main section.results .post .content .categories a{
    border: 1px dotted var(--vert-sapin);
    padding: 8px;
    margin-right: 5px;
    margin-bottom: 5px;
    font: 400 1rem / 1rem "logic-monospace", sans-serif;
    color: var(--vert-sapin);
}
.similar > ul {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0;
}
.similar > ul > li {
    display: block;
}
/* Comments */
section.comments h2{
    margin-bottom: .5rem;
    display: flex;
}
section.comments h2 span{
    margin-left: 1rem;
}
section.comments .comments-list{
    display: none;
}
section.comments .comments-list.open{
    display: block;
}
section.comments .comments-list ul li, section.comments .comments-list ul li div.comment-body{
    margin-bottom: 1rem;
}
section.comments .comments-list ul li div.comment-body{
    border: 1px solid black;
    padding: 10px;
}
section.comments .comments-list ul li ul.children{
    padding-left: 1rem;
}
section.comments .comment-respond h3 {
    margin-bottom: 1rem;
}
section.comments .comment-respond .comment-form .comment-input{
    margin-bottom: 1rem;
}
section.comments .comment-respond .comment-form .comment-input input, section.comments .comment-respond .comment-form .comment-textarea textarea{
    width: 100%;
    padding: 10px 1rem;
    border-radius: 20px;
}
section.comments .comment-respond .comment-form .comment-textarea label{
    display: block;
}
section.comments .comment-respond .comment-form .comment-textarea textarea{
    height: 150px;
}
section.comments .comment-respond .comment-form .form-submit {
    text-align: center;
    margin: 1rem;
}
section.comments .comment-respond .comment-form .form-submit input{
    padding: 10px;
}
/* Search & Catégories */
main select.select-categories{
    margin-bottom: 1rem;
    border: 1px solid black;
    padding: 5px;
}
/* 404 */
main.error-404{
    text-align: center;
    height: 90vh;
}
main.error-404 h1{
    margin-bottom: 2rem;
}
main.error-404 p{
    margin: 1rem 0;
}
main.error-404 a{
    text-decoration: underline;
}
main.error-404 .searchform form{
    margin: 0 auto;
}

@media screen and (min-width: 768px){
    .similar > ul {
        flex-direction: row;
    }
}