/* single article */
.single-article ol{
    padding-left: 40px;
}
.single-article ol li {
    list-style-type: inherit;
}

#singular a:hover .text--title{
	text-decoration:underline;
}
#singular article a:hover {
	text-decoration:underline;
}

.single-article {padding: 32px 0;}
.single-article .container{display: flex;}
.single-article article{width: 70%;}

.single-article article H1{
    margin: 20px 0;
    font-size: 32px;
}
.single-article article h2,
.single-article article h3{
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-shadow: none;
    background: none;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: Roboto-700;
    color: #313131;
    clear: both;
    font-size: 28px;
    letter-spacing: 0;
    margin-bottom: 17px;
}

.single-article article h3{
    font-size: 26px;
}
.single-article article p{
    font-family: 'Roboto-400';
    font-size: 1.125em;
    margin-bottom: 17px;
    line-height: 1.2;
}
.single-article article cite{
	margin-bottom: 17px;
}

.single-article .article-body{
    font-size: 20px;
}
.single-article .article-body > p > img {
    height: auto;
    max-width: 100%;
    width: 100%;
    margin-bottom: 16px;
}
.single-article article .bloc--action{
    margin: 5px auto 20px auto;
    text-align: center;
}
.single-article  article .generic-cta{
    background-color: #8ed1fc;
    color: #265380;
    text-decoration: none;
}
.single-article  article .generic-cta:hover{
    text-decoration: underline;
}

.single-article  ul li{
    margin: 0 0 7px 50px;
    position: relative;
    list-style-type: square;
    line-height: 1.7;
}

/* sidebar*/

 /* article-date */

.single-article .article-date{
    font-family: 'Roboto-400';
    font-style: italic;
    font-weight: 400;
    text-align: right;
}
.single-article .article-date b{
    font-weight: 700;
}

/* share */

.single-article .share{
    align-items: center;
    border-top: 1px solid #DEDEDE;
    border-bottom: 1px solid #DEDEDE;
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
.single-article .share .img-responsive{
    width: auto;
    height: 22px;
    margin: 0;
}
.single-article .share .share-post {
    display: flex;
}
.single-article .share .share-post a:first-child{
    margin: 0;
}
.single-article .share .share-post a{
    margin: 0 0 0 10px;
}

.single-article .share .share-post a svg{
    width: 22px;
    height: 22px;
}
.single-article .share .comment .text{
    color: #666666;
    margin: 0;
}
.single-article .share .comment .text:after,
.single-article .share .like-container:after
{
    content: "|";
    color: #666666;
    margin: 0 10px;
}

.single-article .share .icon-inline,
.single-article .share .like-button{
    padding: 0;
}

/* pagination */

.single-article .post-pagination {
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
}
.single-article .post-prev,
.single-article .post-next{
    width: 45%;
}

.single-article .post-prev .post-prev_flex,
.single-article .post-next .post-next_flex{
    display: flex;
}

.single-article .post-prev .post-prev_img{
    margin-right: 10px;
}
.single-article .post-next .post-next_img{
    margin-left: 10px;
}
.single-article .post-next .post-next_category,
.single-article .post-prev .post-prev_category{
    margin-bottom: 10px;
}
.post-next_text .text{
    text-align: right;
}
.post-next_text,.post-prev_text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.single-article .post-next .post-next_category,.post-next .text--title{text-align: right}
.single-article .post-pagination .text,
.single-article .post-pagination .text--title{
    font-size: 0.875em;
    margin:5px 0 0 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.single-article .post-pagination .text{color: #666666;}
.single-article .post-pagination .text--title{text-transform: uppercase}
.single-article .post-pagination a {
    color: #313131;
}

/* Vous pourriez aussi aimer */

.single-article .post-related{
    margin: 32px 0;
}
.single-article .post-related .text--title,
.single-article .comment .text--title,
.single-article .comment-respond .comment-reply-title{
    position: relative;
    text-align: center;
    display: inline-block;
    padding: 8px 10px;
    font-size: 20px;
    font-family: "Roboto-400";
    color: #8F8F8F;
    border-top: 1px solid #DEDEDE;
    width: 100%;
}
.single-article .post-related_title,
.single-article .comment,
.single-article .comment-respond{text-align: center;}

.single-article .figure{width: 304px}
.single-article .block--figure{display: flex;justify-content: space-between}
.single-article .block--figure a:first-child{padding: 0 10px 0 0;}
.single-article .block--figure a:nth-child(2){padding: 0 10px 0 10px;}
.single-article .block--figure a:last-child{padding: 0 0 0 10px;}
.single-article .figure--image .img-responsive{
    width: 304px;
    height: 168px;
}
.single-article .figure--figcaption_subtitle{
    color: #313131;
    font-family: Roboto-700;
    font-size: 0.875em;
    margin-top:15px;
	overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: left;
}

/* commentaire */

.single-article .comment article{margin-bottom: 40px}
.single-article header,
.single-article .comment-author img,
.single-article .screen-reader-text,
.single-article .comment-edit-link,
.single-article .comment-metadata span,
.single-article .comments-header,
.single-article .comment-notes,
.single-article .comment-footer-meta{display: none !important;}
.single-article .comment article {width: 100%;}
.single-article #comment-link{padding-bottom: 21px;width: 100%;}

.single-article .comment-author,
.single-article .comment-metadata{text-align: left;}

.single-article .comment-author span{
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #313131;
    margin-bottom: 4px;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
 }

.single-article .comment-metadata{font-size: 12px;display: block;}
.single-article .comment-metadata time {color: #666666;}
.single-article .comment p{font-size: 15px;line-height: 21px;text-align: left;margin-top:8px;text-align:justify}
.single-article .comment .comment--infos{font-size: 12px;line-height: 21px;text-align: left;margin-top:8px;text-align:justify}
.single-article .comment label{font-size: 14px;}

.single-article .comment-form-comment,
.single-article .comment-form-author,
.single-article .comment-form-email,
.single-article .comment-form-url
{display: flex;flex-direction: column}

.single-article .comment input{
    padding: 14px 20px;
    border: 1px solid #DEDEDE;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: normal;
    font-family: 'Roboto-400';
    max-height: 50px;
}
.single-article textarea{
    padding: 14px 20px;
    border: 1px solid #DEDEDE;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: normal;
    font-family: 'Roboto-400';
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 120px;
}
.single-article .comment-form-cookies-consent{
    align-items: center;
    display: flex;
}
.single-article #wp-comment-cookies-consent{
    margin: 0 15px 0 0;
}
.single-article p.form-submit{text-align: center}
.single-article input.submit{
    max-width:300px;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
    background: #000;
    border-radius: 32px;
    font-size: 14px;
    color: #fff;
    padding: 15px 20px;
    display: inline-block;
    transition: .3s;
    cursor: pointer;
    width: auto;
    text-align: center;
    margin: 0;
    border: none;
}

.single-article input.submit:hover{
    background: #fff;
    color: #000;
}

#comment-link a{
	text-decoration:underline;
}

.single-article .block--figure:last-child {
    flex-wrap: nowrap;
    overflow: auto hidden;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .single-article article{width:100%;padding: 0;}
    .single-article  .container{
        flex-direction: column;
    }
    .single-article .sidebar-article .custom-block--image,
    .single-article .custom-block--content_text{
        width:initial;
    }
}
@media(max-width:767px) {
    .single-article {
        padding: 0;
    }
    .single-article .figure {
        flex-basis: auto;
        flex-shrink: 0;
        width: 304px;
    }
    .single-article article h1{
        font-size: 28px;
    }
    .single-article article h2{
        font-size: 26px
    }
    .single-article article h3{
        font-size: 24px
    }
    .single-article .article-body{
        font-size: 18px;
    }
    .single-article .post-next_img,.post-prev_img {display: none}
    .single-article .post-pagination .text--title{
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .single-article .post-prev {
        margin-bottom: 20px;
    }
    .single-article .post-next{
        justify-content: flex-end;
    }
}

@media(max-width:600px) {
    .single-article .post-related .text--title:after,
    .single-article .post-related .text--title:before,
    .single-article .comment .text--title:after,
    .single-article .comment .text--title:before,
    .single-article .comment-respond .comment-reply-title:after,
    .single-article .comment-respond .comment-reply-title:before{
        display:none;
    }
    .single-article .block--figure {
        max-height: 250px;
    }
}

/* Styles pour le bouton like */
.like-post {
    display: flex;
    align-items: center;
    gap: 10px;
}

.like-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.like-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
}

.like-button:hover:not(:disabled) {
    transform: scale(1.1);
}

.like-button:active {
    transform: scale(0.95);
}

.like-button:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.like-button.liked {
    animation: likeAnimation 0.3s ease;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.like-count {
    color: #333;
}

.like-text {
    color: #666;
    font-size: 14px;
}

/* Styles pour le cœur SVG */
.like-button .icon-inline--img svg path {
    fill: none;
    stroke: #494949;
    stroke-width: 1;
    transition: all 0.2s ease;
}

.like-button:hover:not(:disabled) .icon-inline--img svg path {
    stroke: #FF6B6B;
}

.like-button.liked .icon-inline--img svg path {
    fill: #FF6B6B !important;
    stroke: #FF6B6B !important;
}