/* CSS CXMP ALL4PACK - 4/4/24 */
/* roboto-regular - latin */
@font-face {
	font-display: swap;
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	src: url("https://actualites.all4pack.com/wp-content/themes/thena-child-salonfromage/assets/fonts/roboto/roboto-v30-latin-regular.woff2")
			format("woff2"),
		url("wp-content/themes/thena-child-salonfromage/assets/fonts/roboto/roboto-v30-latin-regular.ttf")
			format("truetype");
}
/* roboto-700 - latin */
@font-face {
	font-display: swap;
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	src: url("wp-content/themes/thena-child-salonfromage/assets/fonts/roboto/roboto-v30-latin-700.woff2")
			format("woff2"),
		url("wp-content/themes/thena-child-salonfromage/assets/fonts/roboto/roboto-v30-latin-700.ttf")
			format("truetype");
}

.component-newsroom-title {
	text-align: center;
}
.newsroom-black-title {
	position: relative;
	z-index: 2;
	font-family: Roboto, Arial, sans-serif, Arial, sans-serif;
	font-size: 4rem;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 76px;
	text-shadow: 0 4px 60px rgba(0, 0, 0, 0.1);
	color: #eaeaea;
	margin: 0;
}
@media (max-width: 575.98px) {
	.newsroom-black-title {
		font-size: 45px;
		line-height: 60px;
	}
	h2.newsroom-black-titre {
		font-sier: 26px;
	}
}
h2.newsroom-black-titre {
	font-family: Roboto, Arial, sans-serif, Arial, sans-serif;
	font-size: 32px;
	line-height: 36px;
	margin: 0 0 15px 0;
	font-weight: 800;
	letter-spacing: 0.5px;
}
.newsroom-list {
	display: flex;
	list-style-type: none;
	flex-wrap: wrap;
	padding: 0;
}

.newsroom-item {
	position: relative;
	width: 100%;
	min-height: 1px;
	margin-right: 15px;
	margin-left: 15px;
	border-radius: 0px;
	box-shadow: 0 5px 24px rgba(0, 0, 0, 0.12);
	margin-bottom: 60px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden; /* Ajout d'overflow pour que la bordure :after soit cachée au début */
}

@media (min-width: 867px) {
	.newsroom-item {
		flex: 0 0 calc(33.333333% - 30px);
		max-width: calc(33.333333% - 30px);
	}
}

.newsroom-item li {
	box-shadow: 0 5px 24px rgba(0, 0, 0, 0.12);
}

.newsroom-item a.newsroom-uri {
	color: Black;
	text-decoration: none;
	z-index: 4;
	height: 100%;
}

.newsroom-item::after {
	content: "";
	display: inline-block;
	width: 100%;
	color: transparent;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	border-bottom: 6px solid transparent;
	vertical-align: middle;
}

.newsroom-item::before {
	content: url("https://news.salon-fromage.com/wp-content/themes/thena-child-salonfromage/assets/images/chevron.svg");
	display: inline-block;
	width: 20px;
	height: 20px;
	padding: 7px 12px;
	color: transparent;
	transition: color 0.2s ease-in-out;
	position: absolute;
	bottom: 0;
	right: 0;
	vertical-align: middle;
	z-index: 3;
}

.newsroom-item:hover::after,
.newsroom-item:hover::before {
	color: white;
	background-color: #4ebc7f;
	border-color: #4ebc7f;
}

.newsroom-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-bottom: 50px;
}

.newsroom-content h3 {
	margin: 0;
}

.newsroom-publication-date {
	font-size: 11px;
	padding: 0 15px;
	color: #9c9c9c;
	font-family: Roboto, sans-serif;
	height: 24px;
}

.newsroom-title {
	font-family: Roboto, sans-serif;
	font-weight: 700;
	line-height: 28px;
	font-size: 24px;
	padding: 0 15px 10px;
	flex-shrink: 0;
	color: #43484c;
}

.newsroom-description {
	font-family: Roboto, sans-serif;
	font-weight: 400;
	line-height: 24px;
	font-size: 16px;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	padding: 0 15px;
	font-size: 14px;
	min-height: 3em;
	align-self: flex-end;
}

.newsroom-title,
.newsroom-description {
	margin: 0;
}

.image-categories {
	position: relative;
	height: 280px;
	display: flex;
	flex-direction: column;
}
.category-titles {
	position: absolute;
	bottom: 10px;
	z-index: 4;
	margin-left: 15px;
	font-size: 14px;
	text-transform: uppercase;
}

span.category {
	background: white;
	padding: 6px 15px 6px 15px;
	margin: 0 5px 10px 0;
	font-size: 12px;
	line-height: 24px;
	font-family: Roboto, sans-serif;
}
span.category:hover {
	background: #4ebc7f;
	color: white;
}

.img-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-content {
	padding-top: 1em;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

/* Going Mobile*/
@media (max-width: 867px) {
	.newsroom-item::before,
	.newsroom-item::after,
	.newsroom-item:hover::before,
	.newsroom-item:hover::after {
		visibility: hidden;
	}
	.newsroom-item {
		margin-bottom: 20px;
	}
	.newsroom-content {
		margin-bottom: 0;
	}
	.newsroom-description {
		margin-bottom: 1em;
	}
}
@media (min-width: 768px) {
	.component-newsrooom {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.component-newsrooom {
		max-width: 960px;
	}
}
@media (min-width: 1400px) {
	.component-newsrooom {
		max-width: 1340px;
	}
}
.component-newsrooom {
	margin-right: auto;
	margin-left: auto;
}

.component-newsroom-link {
	width: max-content;
	display: block;
	text-align: center;
	font-family: Roboto, sans-serif;
	background-color: #fff;
	border: 1px solid black;
	margin: 0 auto;
	padding: 10px 45px 9px;
}
.component-newsroom-link a {
	cursor: pointer;
	display: inline-block;
	position: relative;
	right: 0;
	transition: right 0.5s;
	text-decoration: none;
	color: black;
}
.component-newsroom-link a:after {
	content: "❯";
	text-align: center;
	font-size: 14px;
	position: absolute;
	padding-left: 15px;
	opacity: 0;
	transition: opacity 0.5s;
	left: 100%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.component-newsroom-link:hover a:after {
	opacity: 1;
	left: 100%;
}
