@import url("../../blog-detail/section-pourquo-garanties/assets/styles.css");
@import url("../../components/pourquoi_nous_choisir/assets/styles.css");
@import url("../../components/nos_four_garanties/assets/styles.css");

body {
	background: #F6F5F2;
}
.ez-toc-title-container {
	display:none !important;
}
.blog-detail__content #ez-toc-container {
	display:none;
}
.blog-detail__content iframe {
	width:100%;
}
#ez-toc-container{
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	box-shadow:unset !important;	
	margin-bottom:0 !important;
}
/* #ez-toc-container a{
color: var(--text-body-40, rgba(46, 46, 46, 0.40)) !important;
} */
#ez-toc-container a:visited {
	color:#2E2E2E !important;
}
#ez-toc-container a {
	color: #9f9f9f !important;
}
.blog-detail {
	padding-top: 11.25rem;
}

.blog-detail .blog-detail__container {
	width: 81.25rem;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: start;
}

.blog-detail .blog-detail__left-container {
	width: 52.25rem;
}

.blog-detail .blog-detail__right-container {
	width: 25rem;
	position: sticky;
	top: 3rem;
}

@media (max-width: 768px) {
	.blog-detail {
		background: #f7f3ec;
		padding-top: 5rem;
	}

	.blog-detail .blog-detail__container {
		width: 100%;
		padding: 0 1rem;
		flex-direction: column;
	}

	.blog-detail .blog-detail__left-container {
		width: 100%;
	}

	.blog-detail .blog-detail__right-container {
		width: 100%;
		position: static;
	}
	.blog-detail__summary__item div#ez-toc-container ul li a{
		color: var(--text-body-75, rgba(46, 46, 46, 0.75)) !important;
		font-family: Matter;
		font-size: 0.9375rem;
		font-style: normal;
		font-weight: 500;
		line-height: 150%; /* 1.40625rem */
	}
}

/* breadcrumb */
.blog-detail .breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	color: var(--text-body-60, rgba(46, 46, 46, 0.6));
}

.blog-detail .breadcrumb a {
	font-family: Matter;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 500;
	line-height: 120%; /* 0.9rem */
	letter-spacing: 0.04169rem;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
	transition: all .3s ease-in-out;
}

.blog-detail .breadcrumb a:hover {
	color: var(--Foundation-Green-Dark, #348320);
}

.blog-detail .breadcrumb a:last-child {
	color: var(--Foundation-Green-Dark, #348320);
}

.blog-detail .breadcrumb a:not(:last-child)::after {
	content: '/';
	margin: 0 0.5rem;
	color: var(--text-body-60, rgba(46, 46, 46, 0.6));
}

/* content */
.blog-detail .blog-detail__content-wrapper,
.blog-detail .blog-detail__content {
	margin-top: 2.5rem;
}

.blog-detail .blog-detail__content h2,
.blog-detail .blog-detail__content h3,
.blog-detail .blog-detail__content h4,
.blog-detail .blog-detail__content h5 {
	margin: 1rem 0;
	color: rgb(31,34,38);
	font-family: Matter;
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 700;
	line-height: 150%; /* 2.25rem */
}

.blog-detail .blog-detail__content p,
.blog-detail .blog-detail__content span,
.blog-detail .blog-detail__content li{
	color: rgb(31,34,38);
		font-family: Matter;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 1.5rem */
}

.blog-detail .blog-detail__content a{
	color: #2C70F5;
}
.blog-detail .blog-detail__content a:hover{
	text-decoration: underline;
}

.blog-detail .blog-detail__content img {
	margin: 1rem 0;
	border-radius: 0.5rem;
}

.blog-detail .blog-detail__content iframe {
	border-radius: 0.5rem;
}

.blog-detail .blog-detail__content .wp-caption-text {
	font-size: 0.875rem;
	font-style: italic;
	margin-bottom; 0;
}

@media (max-width: 768px) {
	.blog-detail .blog-detail__content-wrapper h1 {
		font-size: 1.5rem;
	}

	.blog-detail .blog-detail__content-wrapper,
	.blog-detail .blog-detail__content {
		margin-top: 1.5rem;
	}

	.blog-detail .blog-detail__content h2,
	.blog-detail .blog-detail__content h3,
	.blog-detail .blog-detail__content h4,
	.blog-detail .blog-detail__content h5 {
		font-size: 1.125rem;
	}

	.blog-detail .blog-detail__content img {
		margin: 0.5rem 0;
		width:100%;
		object-fit:cover;
	}
}

/* summary */
.blog-detail .blog-detail__summary {
	display: flex;
	padding: 1.25rem;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	border-radius: 1rem;
	background: #fff;
}

.blog-detail .blog-detail__summary__top-content {
	padding: 0.5rem;
}
.blog-detail .description {
	margin-bottom: 0.25rem;
}
.blog-detail .blog-detail__text-value {
	color: var(--Text-Body-T1, #2e2e2e);
}
.blog-detail .blog-detail__social-media {
	margin-top: 0.5rem;
	display: flex;
}
.blog-detail .blog-detail__social-media__item {
	display: flex;
	width: 2rem;
	height: 2rem;
	padding: 0.375rem;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 0.5rem;
	border: 1px solid rgba(46, 46, 46, 0.25);
}

.blog-detail .blog-detail__social-media__item.copy-link {
	background-color: transparent;
}

.blog-detail .blog-detail__social-media__item img {
	width: 1.25rem;
	height: 1.25rem;
	object-fit: contain;
	object-position: center;
}

.blog-detail .blog-detail__social-media__item:not(:last-child),
.blog-detail .tooltip:not(:last-child) {
	margin-right: 0.5rem;
}

.blog-detail .blog-detail__summary__content {
	margin-top: 1rem;
	display: flex;
	padding: 1.25rem;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 0.5rem;
	align-self: stretch;
	border-radius: 0.75rem;
	background: #f7faf6;
}

.blog-detail .blog-detail__summary__content--mobile {
	display: none;
}

.blog-detail .blog-detail__summary__title {
	color: var(--Text-Body-T1, #2e2e2e);
	font-family: Matter;
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 700;
	line-height: 120%; /* 1.5rem */
}
.blog-detail .blog-detail__summary__item p {
	color: var(--text-body-40, rgba(46, 46, 46, 0.4));
	font-family: Matter;
	font-size: 1rem;
	font-style: normal;
	font-weight: 500;
	line-height: 150%; /* 1.5rem */
	margin-bottom: 0.5rem;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

.blog-detail .blog-detail__summary__item p:hover,
.blog-detail .blog-detail__summary__item .active {
	color: var(--Text-Body-T1, #2e2e2e);
	text-decoration: underline;
}

.blog-detail .blog-detail__summary__item p:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.blog-detail .blog-detail__summary {
		margin-top: 0.5rem;
	}

	.blog-detail .blog-detail__summary__top-content {
		padding: 0;
	}

	.blog-detail .blog-detail__summary__content {
		display: none;
	}

	.blog-detail .blog-detail__summary__content--mobile {
		display: flex;
	}

	.blog-detail .blog-detail__summary__content {
		background: #fff;
	}
	.blog-detail .blog-detail__summary__title {
		font-size: 1rem;
	}
	.blog-detail .blog-detail__summary__item p {
		font-size: 0.9375rem;
		color: var(--text-body-75, rgba(46, 46, 46, 0.75));
	}

	.blog-detail .blog-detail__summary__item p:hover,
	.blog-detail .blog-detail__summary__item .active {
		color: var(--text-body-75, rgba(46, 46, 46, 0.75));
		text-decoration: none;
	}
}

/* Related content  */
.blog-detail .blog-detail__related-content {
	margin-top: 4rem;
}

.blog-detail .blog-detail__related-content__title {
	color: var(--Text-Body-T1, #2e2e2e);
	font-family: Matter;
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 700;
	line-height: 120%; /* 1.5rem */
	margin-bottom: 1.25rem;
}

.blog-detail .blog-detail__related-content__item {
	border-radius: 0.75rem;
	background: #fff;
	display: flex;
	overflow: hidden;
}

.blog-detail .blog-detail__related-content__thumb {
	width: 7rem;
	height: 7rem;
	object-fit: cover;
}

.blog-detail .blog-detail__related-content__item__text {
	padding: 1.25rem 1rem;
	flex: 1;
}

.blog-detail .blog-detail__related-content__item__title {
	color: var(--Text-Body-T1, #2e2e2e);
}

.blog-detail .blog-detail__related-content__item__text__info {
	display: flex;
	align-items: center;
	margin-top: 1rem;
}

.blog-detail .blog-detail__related-content__item__category {
	color: var(--Test, #2e871c);
	font-family: Matter;
	font-size: 0.81269rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.blog-detail .blog-detail__related-content__item__space {
	height: 0.5rem;
	width: 1px;
	margin: 0 0.625rem;
	background-color: var(--text-body-60, rgba(46, 46, 46, 0.6));
}

.blog-detail .blog-detail__related-content__item__date {
	color: var(--text-body-40, rgba(46, 46, 46, 0.4));
	text-align: center;
	font-family: Matter;
	font-size: 0.81269rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.blog-detail .blog-detail__related-content .blog-detail__related-content__item:not(:last-child) {
	margin-bottom: 1rem;
}

@media (max-width: 768px) {
	.blog-detail .blog-detail__related-content {
		margin-top: 2.5rem;
	}

	.blog-detail .blog-detail__related-content__title {
		font-size: 1.5rem;
		font-weight: 600;
	}

	.blog-detail .blog-detail__related-content__thumb {
		width: 7.25rem;
		height: 7.25rem;
		flex-shrink: 0;
	}

	.blog-detail .blog-detail__related-content__item__text {
		padding: 1rem;
	}

	.blog-detail .blog-detail__related-content__item__text__info {
		margin-top: 0.75rem;
	}
}

/* You may also like */
.blog-detail .blog-detail__you-may-also-like {
	width: 81.25rem;
	margin: 5.5rem auto 0;
}

.blog-detail .blog-detail__you-may-also-like .btn {
	display: flex;
	padding: 0.75rem 1.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 2.8125rem;
	border: none;
	background: var(--Test, #2e871c);
	color: var(--Text-Title-White, #fff);
	transition: all 0.3s ease-in-out;
}

.blog-detail .blog-detail__you-may-also-like .btn:hover {
	background: #5e9c58;
}

.blog-detail .blog-detail__you-may-also-like__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2.5rem;
}
.blog-detail .blog-detail__you-may-also-like__title {
	color: var(--Text-Body-T1, #2e2e2e);
	font-family: 'Clash Grotesk';
	font-size: 2.75rem;
	font-style: normal;
	font-weight: 600;
	line-height: 120%; /* 3.3rem */
	margin-bottom: 0;
}

.blog-detail .blog-detail__you-may-also-like__item-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* blog card */
.blog-detail .blog-detail__you-may-also-like__item {
	width: 100%;
	height: 30.95925rem;
	border-radius: 1rem;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: start;
	cursor: pointer;
}

.blog-detail .blog-detail__you-may-also-like__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.3s ease-in-out;
}

.blog-detail .blog-detail__you-may-also-like__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(7, 36, 6, 0) 59.3%, rgba(7, 36, 6, 0.52) 73.14%, #043602 100%);
}

.blog-detail .blog-detail__you-may-also-like__item:hover img {
	transform: scale(1.1354);
}

.blog-detail .blog-detail__you-may-also-like__item__category {
	display: inline-flex;
	padding: 0.5rem 0.75rem;
	justify-content: center;
	align-items: center;
	border-radius: 0.25rem;
	background: rgba(12, 12, 11, 0.35);
	color: var(--Text-Title-White, #fff);
	text-align: center;
	font-family: Matter;
	font-size: 0.81269rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	z-index: 1;
}

.blog-detail .blog-detail__you-may-also-like__item__info-wraper {
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	background: #fff;
	backdrop-filter: blur(12px);
	position: absolute;
	bottom: 0.875rem;
	left: 0.875rem;
	right: 0.875rem;
	transition: all 0.3s ease-in-out;
}

.blog-detail .blog-detail__you-may-also-like__item__title {
	color: var(--Text-Body-T1, #2e2e2e);
	font-family: Matter;
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 500;
	line-height: 120%; /* 1.35rem */
	margin-bottom: 0.75rem;
	transition: all 0.3s ease-in-out;
}
.blog-detail .blog-detail__you-may-also-like__sub-title {
	display: none;
}
.blog-detail .blog-detail__you-may-also-like__item__info {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.blog-detail .blog-detail__you-may-also-like__item__date {
	display: flex;
	align-items: center;
}
.blog-detail .blog-detail__you-may-also-like__item__date span {
	color: var(--text-body-60, rgba(46, 46, 46, 0.6));
	font-family: Matter;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 500;
	line-height: 150%; /* 1.3125rem */
}
.blog-detail .blog-detail__you-may-also-like__item__date img {
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
	display: block;
	object-position: center;
	position: static;
	margin-right: 0.5rem;
}

.blog-detail .blog-detail__you-may-also-like__item__more {
	color: var(--text-body-75, rgba(46, 46, 46, 0.75));
	display: flex;
	align-items: center;
	transition: all 0.3s ease-in-out;
}

.blog-detail .blog-detail__you-may-also-like__item__more__icon {
	width: 2rem;
	height: 0.75rem;
	margin-left: 0.625rem;
	position: relative;
}
.blog-detail .blog-detail__you-may-also-like__item__more__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.3s ease-in-out;
}
.blog-detail .blog-detail__you-may-also-like__item__more__icon .icon-hover {
	opacity: 0;
}

.blog-detail .blog-detail__you-may-also-like__item:hover .blog-detail__you-may-also-like__item__info-wraper {
	background-color: #faf3e2;
}
.blog-detail .blog-detail__you-may-also-like__item:hover .blog-detail__you-may-also-like__item__title {
	text-decoration: underline;
}
.blog-detail .blog-detail__you-may-also-like__item:hover .blog-detail__you-may-also-like__item__more {
	color: var(--Test, #2e871c);
}

.blog-detail .blog-detail__you-may-also-like__item:hover .icon-hover {
	opacity: 1;
}
.blog-detail .blog-detail__you-may-also-like__item:hover .icon {
	opacity: 0;
}

.blog-detail .btn.btn-mobile {
	display: none;
}

@media (max-width: 768px) {
	.blog-detail .blog-detail__you-may-also-like {
		width: 100%;
		margin-top: 2rem;
	}

	.blog-detail .blog-detail__you-may-also-like .btn {
		display: none;
	}

	.blog-detail .blog-detail__you-may-also-like__header {
		display: block;
		margin-bottom: 1.5rem;
		padding: 0 1rem;
	}
	.blog-detail .blog-detail__you-may-also-like__title {
		font-size: 1.5rem;
	}

	.blog-detail .blog-detail__you-may-also-like__sub-title {
		display: block;
		color: var(--text-body-60, rgba(46, 46, 46, 0.6));
		font-family: Matter;
		font-size: 0.75rem;
		font-style: normal;
		font-weight: 500;
		line-height: 120%; /* 0.9rem */
		margin-bottom: 0.5rem;
	}

	.blog-detail .blog-detail__you-may-also-like__item-wrapper {
		display: flex;
		overflow: auto;
		padding: 0 1rem;
		gap: unset;
		/* hidden scroll */
		-ms-overflow-style: none; /* Internet Explorer 10+ */
		scrollbar-width: none; /* Firefox */
	}

	.blog-detail .blog-detail__you-may-also-like__item-wrapper::-webkit-scrollbar {
		display: none; /* Safari and Chrome */
	}

	/* blog card */
	.blog-detail .blog-detail__you-may-also-like__item {
		width: 18.75rem;
		height: 20rem;
		border-radius: 0.75rem;
		flex-shrink: 0;
	}

	.blog-detail .blog-detail__you-may-also-like__item:hover img {
		transform: scale(1);
	}

	.blog-detail .blog-detail__you-may-also-like__item:hover .blog-detail__you-may-also-like__item__info-wraper {
		background: #fff;
	}
	.blog-detail .blog-detail__you-may-also-like__item:hover .blog-detail__you-may-also-like__item__title {
		text-decoration: none;
	}

	.blog-detail .blog-detail__you-may-also-like__item:not(:last-child) {
		margin-right: 1rem;
	}

	.blog-detail .blog-detail__you-may-also-like__item__category {
		top: 0.75rem;
		left: 0.75rem;
	}

	.blog-detail .blog-detail__you-may-also-like__item__info-wraper {
		border-radius: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}

	.blog-detail .blog-detail__you-may-also-like__item__title {
		font-size: 1rem;
	}

	.blog-detail .blog-detail__you-may-also-like__item__date span {
		font-size: 0.8125rem;
	}
	.blog-detail .blog-detail__you-may-also-like__item__date img {
		width: 1.25rem;
		height: 1.25rem;
	}

	.blog-detail .blog-detail__you-may-also-like__item__more {
		display: none;
	}

	.blog-detail .btn.btn-mobile {
		display: flex;
		padding: 0.75rem 1.5rem;
		margin: 1.5rem auto 0;
		width: fit-content;
	}
}

/* tooltip */
.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	background: var(--Text-Body-T1, #2e2e2e);
	color: #fff;
	font-family: Matter;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 500;
	text-align: center;
	border-radius: 0.25rem;
	padding: 0.25rem;
	position: absolute;
	z-index: 1;
	bottom: 120%;
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #2e2e2e transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}
