/************************************post & cpt single**********************/
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin-bottom: 10px;
}

.single h2{
	margin-top: 60px;
}

.single h3{
	margin-top: 40px;
}

.single hr{
	height: 10px; 
	margin-top: 40px; 
	background-color: var(--ast-global-color-7);
}

@media screen and (max-width: 921px) {
	.single hr {
    	background-color: #fff;
	}
}


.wp-block-separator {
    border: 0px solid;
}

@media (min-width: 922px){
    .single .ast-article-single{
	    background: #fff !important; 
	    border-radius: var(--radius-box); 
	    padding: 40px;
    }
}

@media (max-width: 921px){
    .single .ast-article-single{
	    padding: 0px;
    }

    .ast-separate-container #content .ast-container{
        padding: 0 20px;
    }

    .ast-separate-container #primary{
        padding: 60px 0;
    }
}

/****code block pro****/

.wp-block-kevinbatdorf-code-block-pro{
	margin: 20px 0 30px;
}


/****img****/
.featured-img{
    margin-bottom: 30px;
}

.single .post-thumb-img-content img,
.featured-img img{
	width: 100%; 
	max-height: 500px !important;  
	object-fit: cover;
	margin-top: 0px;
}

figure{
	margin: 20px 0 30px;
}

.single-layout-1 figure img{
	border: 3px solid #F0F1F3;
}


/****share****/
.ast-post-social-sharing{
	margin-top: 40px;
}



/****author****/
.about-author-title-wrapper{
	padding: 0 !important;
	display: none;
	margin-bottom: 0px;
}

.author-title{
	margin-bottom: 10px;
}

.ast-author-details{
	border: 1px solid var(--ast-border-color) !important; 
	padding: 40px 40px !important;
	border-radius: var(--radius-box);
	margin-top: 60px;
}

/*.post-author-bio a {
    pointer-events: none;
}*/

@media (max-width: 921px){
	.ast-author-details{
    	padding: 40px !important
	}
}

@media (max-width: 544px){
	.ast-author-details{
    	padding: 20px !important
	}
}

.post-author-avatar img{
	border-radius: 100%;
}

/*.custom-flex-container {
  display: flex;
  align-items: center;
}*/

.post-author-avatar {
    flex-shrink: 0; /* Empêche la réduction de l'élément */
    min-width: 100px; /* Largeur minimale de la div de l'avatar */
}

.post-author-bio {
    flex-grow: 1; /* Permet à cet élément de prendre tout l'espace disponible */
}



/****comments****/
.comments-area{
	margin-top: 60px;
}

.comments-area textarea#comment, 
.comments-area .ast-comment-formwrap input[type="text"] {
    border-radius: var(--radius-box);
}


#comments .submit, .search .search-submit {
    padding: 16px 24px 14px !important;
    border-radius: var(--radius-box);
    line-height: 1;
    border: 0 !important;
    text-transform: uppercase;
}

.comments-count-wrapper,
.comments-title{
	background: transparent !important;
	padding: 0 !important;
	margin-bottom: 30px;
}


.comment.byuser{
	background: transparent !important; 
	padding: 0 !important;
}

.ast-comment{
	background: #fff;
	border-radius: var(--radius-box);
	margin-bottom: 20px;
	padding: 20px;
}

.comment-form textarea {
    resize: vertical;
    width: 100%;
	height: 140px !important;
}

.ast-comment-formwrap .comment-form-url{
	display: none !important;
}

/****siteweb field removed****/
.ast-comment-formwrap.ast-row{
	display: block; 
	width: 100%;
}

.ast-comment-formwrap.ast-row p.form-submit,
.cf-turnstile-wrap{
	padding-left: 20px !important;
    padding-right: 20px !important;
}

.cf-turnstile-comments{
	display: inline-block; 
    margin-bottom: 10px;
}


/****post nav****/
.ast-separate-container .post-navigation {
    border-top: 0;
    padding-left: 0;
    padding-right: 0;
}
