/*
Theme Name: Generatepress theme modifications (Cosmik.me)
Theme URI: https://www.cosmik.me/
Description: Thème enfant de GeneratePress pour les modifications spécifiques de Cosmik.me
Author: Fritig Robin
Author URI: https://www.cosmik.me/
Template: generatepress
Version: 1.0.0
*/

/* Ajoutez vos styles personnalisés ici */


.related-posts-container {
	margin-top: 40px;
	padding: 40px 0;
	background-color: #f9f9f9;
	border-radius: 10px;
	text-align: left;
}

.related-posts-container a{
	text-decoration:none !important
}

.related-title {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 20px;
}

/* Affichage en grille pour desktop */
.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	justify-content: center;
	max-width: 1200px;
	margin: auto;
}

/* Affichage en colonne sur mobile */
@media screen and (max-width: 768px) {
	.related-posts-grid {
		grid-template-columns: 1fr; /* Une seule colonne */
		gap: 15px;
	}

	.related-post-item {
		width: 100%;
	}
}


.related-post-item {
	background: white;
	padding: 15px;
	border-radius: 10px;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	text-align: left;
}

.related-post-item:hover {
	transform: translateY(-5px);
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.related-thumbnail {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.related-category {
	display: block;
	font-size: 12px;
	font-weight: bold;
	color: grey;
	margin-top: 10px;
	text-transform: uppercase;
}

.related-title-text {
	font-size: 16px;
	margin-top: 10px;
	font-weight: 600;
	color: #333;
	line-height: 1.4;
}

.related-thumbnail {
	width: 100%;
	height: 180px; 
	object-fit: cover;
	border-radius: 8px;
}



.single-post hr.brz-hr,
.single-post .brz .brz-line .brz-hr,
.single-post .brz-css-d-line .brz-line-container:after,
.single-post .brz-hr{
	color: #8B0000 !important
}
.single-post p{
	color:black !important;
	font-family :"Open Sans"!important;
}

.single-post h2{
	font-family: 'Open Sans' !important;
    font-size: 26px !important;
    line-height: 18px !important;
    margin: 48px 0 26px !important;
}