/********************************************BLOG****************************/

/*************SINGLE & ARCHIVES*************/
.entry-title, .entry-title a {
    font-weight: 700;
}

.widget-title{
	font-size: 18px !important;
	font-weight: 600 !important;
}

/*all sidebars*/ 
.ast-left-sidebar #secondary {
    border-right: none !important;
}

aside.widget li a{
	color: var(--ast-global-color-1);
}
aside.widget li a:hover{
	color: var(--ast-global-color-0);
}

aside .current-menu-item .menu-link:before, aside .current-menu-ancestor .menu-link:before {
    content: "" !important;
    height: 0px !important;
}

.ast-right-sidebar #secondary{
	border: none;
}

/*search*/  
.widget_search .search-form .search-field {
    background: #fff;
    border: 1px solid var(--ast-global-color-1);
    border-radius: 50px;
}

.widget_search .search-form .search-field:focus {
	border: 1px solid var(--ast-global-color-1) !important;
}

.search-no-results .ast-archive-title{
	color: var(--ast-global-color-2); 
	font-weight: 700;
}

.search-no-results .page-content .search-form{
	display: none;
}

/*last posts widget*/
.widget_recent_entries li{
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    width: 100%; 
    display: block; 
}


/*custom date*/
.posted-on,
.posted-on .published{
	color: var(--ast-global-color-2) !important; 
	opacity: 0.7;
}

/*cpt sidebar*/
.widget_recent_entries a:before{
    content: "> ";
}

/*************ARCHIVES*************/ 
.blog-layout-1 .entry-content p{
	color: var(--ast-global-color-2);
}

.blog .ast-archive-entry-banner{
	display: none;	
}

.cat-links a:before,
.ast-terms-link a:before,
aside li.cat-item a:before{
	content: "# "
}

.blog .post-thumb img,
.archive .post-thumb img,
.search-results .post-thumb img,
.ast-related-post-content .post-thumb img{
	height: 220px;
	object-fit: cover;
}

.blog-layout-1, .ast-related-post-content {
    border-bottom: none;
	box-shadow: var(--mon-ombre);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
	border-radius: 20px;
}

.blog-layout-1 .entry-header,
.blog-layout-1 .entry-content,
.ast-related-post-content .entry-header,
.ast-related-post-content .ast-related-post-excerpt{
	padding: 0 20px;
}

/*.blog-layout-1 h2,*/
.blog-layout-1 .ast-excerpt-container,
.blog-layout-1 .ast-read-more-container{
	padding: 0 20px;
}

.ast-related-post-cta{
	padding: 0 20px 30px;
}

.ast-related-post-cta.read-more{
		text-align: center;
}

.blog-layout-1 img, .ast-related-post-content .post-thumb img{
	border-radius: 20px 20px 0 0;
}

.blog-layout-1 .entry-title{
	font-size: 20px;
	line-height: 1.6;
}

.ast-archive-post .entry-content .read-more{
	text-align: center;
}

/***sur home***/

.articles-bloc .uael-post__bg-wrap{
	border-radius: 20px;
	box-shadow: var(--mon-ombre);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.articles-bloc .uael-post__bg-wrap .uael-post__thumbnail{
	border-radius: 20px 20px 0 0;
}

/****custom templates avec 1 seul lien sur la vignette****/
.ast-clickable-card {
    position: relative;
}

.ast-absolute-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    background: transparent;
    text-indent: -9999px; 
	    margin: 0 20px;
}

.ast-row {
	margin-left: -1em;
	margin-right: -1em;
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
}



/*******************SINGLE***************/ 

.hs-cta-wrapper img{
	width: 100%;
}

/*custom header*/
.single-post .entry-header{
	margin-bottom: 0;
}

.single-post .posted-on{
	margin-bottom: 2em;
	display: block; 
}

/****fonts****/
@media screen and (min-width: 1024px) {
  .ast-post-format- h1, .h1{
	font-size: 34px;
	      font-weight: 700;
	}
	.ast-post-format- h2, .h2{
	font-size: 28px;
		    font-weight: 700;
	}
	.ast-post-format- h3, .h3{
	font-size: 22px;
		    font-weight: 700;
	}
	.ast-post-format- h4, .h4{
	font-size: 18px;
		    font-weight: 700;
	}  
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .ast-post-format- h1, .h1{
	font-size: 30px;
	      font-weight: 700;
	}
	.ast-post-format- h2, .h2{
	font-size: 24px;
		    font-weight: 700;
	}
	.ast-post-format- h3, .h3{
	font-size: 20px;
		    font-weight: 700;
	}
	.ast-post-format- h4, .h4{
	font-size: 18px; 
	font-weight: 700;
	}  
}

@media screen and (max-width: 767px) {
  .ast-post-format- h1, .h1{
	font-size: 26px;
	      font-weight: 700;
	}
	.ast-post-format- h2, .h2{
	font-size: 22px;
		    font-weight: 700;
	}
	.ast-post-format- h3, .h3{
	font-size: 20px;
		    font-weight: 700;
	}
	.ast-post-format- h4, .h4{
	font-size: 18px;
		    font-weight: 700;
	}  
}

/****image header****/
.entete-img img{
	max-height: 350px;
	width: 100% !important; 
	object-fit: cover;
}

/****breadcrumbs****/
.ast-breadcrumbs-wrapper{
	margin-bottom: 10px;
}

/****titres h2 / h3****/
.entry-content h2 span, .entry-content h3 span {
    font-weight: 700 !important;
}


/****pagination****/
.page-numbers{
	margin: 0 12px; 
}

.extended-pagination{
	text-align: center;
}

.bloc-pagination{
	margin-top: 10px; 
	opacity: 0.6;
}

.prev.page-numbers, .next.page-numbers{
	display: none !important;
}

a.page-numbers{
	color: var(--ast-global-color-1);
}

a.page-numbers:hover,
.page-numbers.current{
	color: #5394A8;
}

/****share****/
.ast-post-social-sharing{
	margin-top: 40px;
}

.ast-post-social-sharing:before{
	content: "Je partage";
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
}

/*pas de partage sur les autres posts que les articles du blog*/
.single:not(.single-post) .ast-post-social-sharing{
	display: none
}

/****author****/
.about-author{
	font-size: 18px;
	font-weight: 700;
}

.author-title{
	font-size: 17px; 
	font-weight: 700; 
	color: var(--ast-global-color-2) !important;
	margin: 6px 0;
}

.about-author{
	display: none;
}

/****related-posts****/
.ast-single-related-posts-container {
    clear: both;
    padding: 20px 20px 60px; 
	margin: 0;
}

.ast-related-posts-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

.ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title a {
    line-height: inherit !important;
}

.ast-related-posts-title{
	margin-bottom: 40px; 
	text-align: center;
}

.ast-related-post-content{
	background: #fff;
}

.single-post .ast-single-related-posts-container{
    background: linear-gradient(180deg, rgba(255,255,255,1) 55%, var(--ast-global-color-3) 55%);
}

.ast-related-post-content{
	/*min-height: 490px;*/
	min-height: 460px;
}

.ast-related-post-content .h3 a {
	color: var(--ast-global-color-1);
}

.related-entry-header .h3{
	font-size: 20px;
}

/*CTA*/
.cta-single{
	clear: both;
}

.cta-single .elementor-container {
    display: block;
}

@media screen and (max-width: 921px) {
	.single-post #secondary{
		display: none;
	}
}

.cta-single,
.cta-single h2{
	text-align: center; 
	color: #FFF;
}
