/* --- Conteneur global --- */
.news-block .article-meta {
	font-size: 0.9rem;
	color: #666;
	/* Couleur gris clair */
	margin-top: 5px;
	display: flex;
	gap: 5px;
	/* Espacement entre les éléments */
	align-items: center;
	flex-wrap: wrap;
	/* S'adapte aux petits écrans */
}

.news-block #survey-default_survey_id .article-title {
	font-size: 2.2rem;
	font-weight: bold;
	margin-bottom: 25px;
	position: relative;
	padding-left: 15px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	color: #01a29a;
}

.news-block #survey-default_survey_id .article-title::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 85%;
	background-color: black;
	position: absolute;
	left: -5px;
	top: 0;
}

.news-block .vote-count {
	background: black;
	color: white;
	padding: 0.3% 1.5%;
	border-radius: 25px;
}

.news-block .article-meta span {
	display: inline-block;
}

.news-block .article-meta .article-read-time i {
	margin-right: 2px;
	/* Espacement entre l'icône et le texte */
	color: #01a29a;
	/* Couleur orange pour l'icône */
}

.news-block .article-meta .article-read-time {
	display: flex;
	align-items: center;
	color: #333;
	/* Couleur pour le temps de lecture */
}

.news-block .article-meta .article-date {
	color: #666;
	/* Couleur pour la date */
}

.news-block {
	width: 100%;
	margin: 0 auto;
	position: relative;
	padding: 2% 1%;
	max-width: 1550px;
}

.news-block .article-content {
	padding: 0;
}

.news-block .container {
	max-width: 1550px;
	margin: 0 auto;
}

.news-wrapper {
	display: flex;
	gap: 30px;
}

/* --- Partie gauche : Récents --- */
.news-left {
	width: 50%;
	background: #fff;
	border-radius: 8px;
}

.news-block .section-title {
	font-size: 2.2rem;
	font-weight: bold;
	margin-bottom: 25px;
	position: relative;
	padding-left: 15px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
}

.recent-articles {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 25px;
}

.recent-articles .article-item {
	display: flex;
	flex-direction: column;
}

.recent-articles .article-link {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.recent-articles .article-thumbnail {
	width: 100%;
	height: auto !important;
	aspect-ratio: 1600 / 1067;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 12px;
	position: relative;
}

.recent-articles .article-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.recent-articles .article-category {
	color: white;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	padding: 0.4% 0.9%;
	margin-top: 0.4%;
	margin-left: 0.4%;
	border-radius: 25px;
	background-color: #01a29adb;
	position: absolute;
}

.recent-articles .article-title {
	color: #333;
	margin: 0;
	width: 100%;
	font-size: 1.5rem;
	line-height: 1.2em;
	font-weight: bold;
}

.news-right .container-all-breves {
	display: flex;
	justify-content: center;
}

.news-right .btn-toutes-breves {
	display: inline-block;
	padding: 0.3rem 0.7rem;
	margin-top: 10px;
	background-color: #01a29a;
	color: #fff;
	text-decoration: none;
	border-radius: 25px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: background-color 0.3s ease;
}

.news-right .btn-toutes-breves:hover {
	background-color: #017c76;
	color: #fff;
}

/* --- Partie droite : Populaires --- */
.news-right {
	width: 50%;
	background: #fff;

	position: sticky;
	top: 100px;
	align-self: flex-start;
	/* Assure que l'élément s'aligne en haut */
}

.popular-articles {
	list-style: none;
	padding: 0;
	margin: 0;
}

.popular-articles .article-item {
	position: relative;
	padding-left: 20px;
	margin-bottom: 20px;
}

.popular-articles .article-item:last-child {
	margin-bottom: 0;
}

.popular-articles .article-link {
	text-decoration: none;
	display: block;
}

.popular-articles .article-title {
	font-size: 1.1rem;
	color: #333;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 3px;
}

span.article-date,
.article-author,
.article-read-time {
	font-size: 0.9rem;
	color: #666;
	/* Couleur gris clair */
	/* margin-top: 5px; */
	gap: 5px;
	/* Espacement entre les éléments */
	align-items: center;
	flex-wrap: wrap;
	/* margin-left: 2%; */
}

/* --- Dots et hover effects --- */
.article-dot {
	position: absolute;
	left: 0;
	top: 12px;
	width: 8px;
	height: 8px;
	background-color: #01a29a;
	border-radius: 50%;
}

.news-block .article-link:hover .article-title {
	color: #e63946;
	transition: color 0.2s ease;
}

/* --- Responsive --- */
@media (min-width: 968px) {
	.news-wrapper {
		gap: 50px;
	}
}

@media (max-width: 968px) {
	.news-wrapper {
		flex-direction: column;
	}

	.news-left,
	.news-right {
		width: 100%;
	}

	.news-right {
		margin-bottom: 0;
	}
}

@media (max-width: 768px) {
	.news-block .container {
		max-width: 100%;
	}

	.recent-articles {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.recent-articles .article-thumbnail {
		height: 250px;
	}
}

@media (max-width: 480px) {
	.recent-articles .article-thumbnail {
		height: 180px;
	}

	.recent-articles .article-title {
		font-size: 1.3rem;
	}

	.news-right .section-title {
		font-size: 1.5em;
		margin-top: 0;
		margin-bottom: 14px;
	}

	.news-block .section-title {
		font-size: 1.5em;
		margin-bottom: 15px;
	}

	.sponsored-badge+.articles-container .section-title {
		margin-top: 25px;
	}
}

.news-block .article-link:hover .article-title {
	color: #01a29a;
	transition: color 0.2s ease;
}

/* --- Modification de la partie droite avec timeline --- */
.popular-articles {
	list-style: none;

	margin: 0;
	position: relative;
	/* Pour le positionnement de la ligne */

}

/* Ajout de la ligne verticale */
.popular-articles:before {
	content: "";
	position: absolute;
	left: 3.72px;
	/* Position centrée sur les points */
	top: 16px;
	/* Commence après le premier point */
	bottom: 12px;
	/* S'arrête avant le dernier point */
	width: 1px;
	background-color: #e5e5e5;
	/* Couleur gris clair subtile */
}

.popular-articles .article-item {
	position: relative;
	padding-left: 20px;
	margin-bottom: 20px;
}

/* --- Modification du point --- */
.article-dot {
	position: absolute;
	left: 0;
	top: 12px;
	width: 8px;
	height: 8px;
	background-color: #01a29a;
	/* Nouvelle couleur orange */
	border-radius: 50%;
	z-index: 1;
	/* Pour être au-dessus de la ligne */
}

.news-block .survey-option {
	margin-bottom: 20px;
}

.news-block .survey-options {
	width: 100%;
}

.news-block .survey-options .survey-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
	font-size: 1.2rem;
	font-weight: 700;
	color: #6c6f72;
	width: 100%;
}

.news-block .progress-bar-container {
	position: relative;
	width: 100%;
	height: 20px;
	background-color: #f0f0f0;
	border-radius: 10px;
	overflow: hidden;
	margin-top: 5px;
}

.news-block .progress-bar {
	height: 100%;
	background-color: #01a29a;
	transition: width 0.5s ease-in-out;
}

.news-block .double-articles-section {
	display: flex;
	justify-content: center;
	align-items: center;
	/* margin-top: 2%; */
	/* background-color: #eaeaea; */
}

.news-block .double-articles-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 85%;
}

.news-block .article-wysiwyg {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	padding-top: 3%;
	padding-bottom: 3%;
	gap: 3%;
	/* border: solid 1px black; */
}

.news-block .article-wysiwyg img {
	width: 40%;
}

.news-block .colcarte {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	width: 45%;
}

/* ------------------------------------------------------------------------
 * Encart newsletter, a la place du sondage (recette Nathalie, point 23).
 * Meme emprise que le sondage qu'il remplace : meme largeur, meme arrondi,
 * meme filet, meme retrait haut. Le formulaire est celui du theme.
 * ------------------------------------------------------------------------ */
.news-block .article-newsletter {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 5%;
	border-radius: 25px;
	border: 0.2px solid #ccc;
	margin-top: 10%;
	text-align: center;
}

.news-block .article-newsletter .section-title {
	font-size: 1.8rem;
	font-weight: bold;
	margin: 0 0 4%;
}

.news-block .newsletter-visuel {
	width: 60%;
	max-width: 220px;
	margin: 0 auto 4%;
}

.news-block .newsletter-visuel img {
	width: 100%;
	height: auto;
	display: block;
}

.news-block .newsletter-accroche {
	color: #333333;
	font-size: 1.1rem;
	line-height: 1.5;
	font-weight: 700;
	margin: 0 0 6%;
}

.news-block .newsletter-encart-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.news-block .newsletter-encart-form input[type="email"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
}

.news-block .newsletter-encart-form button {
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-radius: 6px;
	background: #01a29a;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.news-block .newsletter-encart-form button:hover {
	background: #017c76;
}

.news-block .article-survey {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	padding: 5%;
	flex-direction: column;
	/* border: solid 1px black; */
	border-radius: 25px;
	border: 0.2px solid #ccc;
	margin-top: 10%;
}

.news-block .article-survey p {
	color: #333333;
	font-size: 1.2rem;
	line-height: 32px;
	margin-top: 2%;
	font-weight: 700;
	margin-bottom: 4%;
}

.news-block .article-survey h3 {
	font-size: 1.8rem;
	font-weight: bold;
	margin-bottom: 5px;
	position: relative;

	text-transform: uppercase;
	display: flex;
	align-items: center;
	width: 100%;
	color: inherit;
}

.news-block .article-survey h3 span {
	color: #01a29a;
	font-size: 1.5em;
	font-weight: bolder;
	margin-left: 1%;
}

.news-block .wysiwyg-content p {
	color: #6c6f72;
	font-size: 1.2rem;
	line-height: 32px;
	font-weight: lighter;
	font-weight: 300;
}

.news-block .wysiwyg-content h3 {
	color: #6c6f72;
	font-size: 1.5rem;
	margin-bottom: 3%;
	font-weight: 800;
	text-transform: uppercase;
}

.news-block .survey-option {
	width: 100%;
}

.news-block .wysiwyg-content h3 span {
	color: #01a29a;
	font-size: 2.2rem;
	font-weight: bolder;
}

.news-block .colcarte a {
	text-decoration: none;
	color: white;
	background-color: #01a29a;
	padding: 0.9em 1.5em;
	margin-top: 8%;
	border-radius: 25px;
	letter-spacing: 0.12em;
	font-size: 0.9em;
}

@media (max-width: 768px) {
	.popular-articles:before {
		left: 22.72px;
	}

	.popular-articles {
		padding: 0 5.3%;
	}

	.news-block #survey-default_survey_id .article-title {
		font-size: 1.5rem;
	}

	.news-block .article-wysiwyg {
		margin-bottom: 10%;
	}

	.news-block .double-articles-section {
		flex-direction: column;
		padding: 20px;
	}

	.news-block .double-articles-container {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
	}

	.news-block .article-wysiwyg,
	.news-block .article-survey {
		width: 100%;
		padding: 4%;
	}

	.news-block .article-survey {
		padding-bottom: 15%;
	}

	.news-block .colcarte {
		width: 100%;
		text-align: left;
	}

	.news-block .colcarte a {
		margin-top: 25px;
	}

	.news-block .survey-options {
		width: 100%;
	}

	.news-block .survey-option {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		margin-bottom: 15px;
	}

	.news-block .survey-label {
		justify-content: space-between;
		font-size: 14px;
	}

	.news-block .progress-bar-container {
		width: 100%;
		height: 15px;
	}

	.news-block .progress-bar {
		height: 15px;
	}

	.news-block .article-survey h3 {
		font-size: 1.2rem;
		margin-bottom: 15px;
	}

	.news-block .article-survey p {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.news-block .survey-question {
		font-size: 1.1rem;
	}
	.news-block .article-survey h3 {
		font-size: 1.2rem;
	}

	.news-right .article-survey p {
		font-size: 1.1rem;
		line-height: 1.2;
	}

	.news-block .survey-options .survey-label {
		font-size: 1.1rem;
	}

	.news-block .progress-bar-container {
		height: 10px;
	}

	.news-block .progress-bar {
		height: 10px;
	}
}

.vote-button {
	display: inline-block;
	margin-top: 6px;
	padding: 8px 16px;
	font-size: 1rem;
	font-weight: 600;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.vote-button:hover {
	background-color: #01a29a;
	transform: scale(1.05);
}

.vote-button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
	transform: none;
}

/* Responsive : réduit un peu sur mobile */
@media (max-width: 600px) {
	.vote-button {
		padding: 6px 12px;
		font-size: 13px;
	}
}
/* --------------------------------------------------------------------------
   Blancs du bloc Actualites en mobile.
   Trop d'air entre la photo et le titre (26 px), pas assez entre la date et
   la photo suivante (0 px). Signale par Nathalie (recette du 2026-11-05),
   valable pour les deux sites.
   L'ecart photo/titre vaut la marge basse de la vignette plus 14 px
   structurels : marge a zero = 14 px, soit le minimum sans marge negative.
   Media query en fin de fichier a dessein, pour primer sur les regles
   declarees plus haut.
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.news-block .news-left .article-thumbnail {
		margin-bottom: 0;
	}

	.news-block .news-left .article-item {
		padding-bottom: 16px;
	}
}
