/**
 * Page Détail Actualité - Nature & Loisirs Piscines
 * Texte en noir sur fond blanc pour une lecture claire
 */

/* Fond bleu similaire aux autres pages */
body,
.actualite-page {
    background: #174274;
}
.actualite-page {
    min-height: 100vh;
}
body {
    /* Optionnel : retire la marge si non voulu */
    margin: 0;
}

/* Réduire l'espace sous le bandeau */
.actualite-page .wrapper.boxstyle {
	margin-top: 0 !important;
	margin-bottom: 50px;
}

.actualite-page .header-image .wrapper {
	padding-bottom: 28px !important;
}

/* Zone article : fond blanc, texte noir - priorité pour l'affichage */
.actualite-page .actualite-zone {
	background: #ffffff !important;
	padding: 0;
	margin-top: 0;
	border-radius: 8px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	color: #000000 !important;
}

.actualite-page .actualite-zone,
.actualite-page .actualite-zone * {
	box-sizing: border-box;
}

/* Fil d'Ariane - texte noir */
.actualite-breadcrumb {
	padding: 16px 28px;
	background: #f0f0f0 !important;
	border-bottom: 1px solid #ddd;
	font-size: 0.9em;
	color: #000000 !important;
}

.actualite-breadcrumb a {
	color: #174274;
	text-decoration: none;
}

.actualite-breadcrumb a:hover {
	text-decoration: underline;
}

.actualite-breadcrumb span {
	color: #333;
	margin: 0 8px;
}

/* Média : diaporama ou vidéo */
.actu-detail-media {
	margin-bottom: 0;
	text-align: center;
	background: #0a1628;
}

.actu-detail-media img {
	max-width: 100%;
	height: auto;
	display: block;
	vertical-align: top;
}

.actu-slide {
	display: none;
}

.actu-slide.active {
	display: block;
}

.actu-slideshow-wrap {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.actu-slideshow-wrap .actu-slide img {
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: cover;
}

.actu-slideshow-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
	pointer-events: none;
	z-index: 5;
}

.actu-slideshow-nav button {
	pointer-events: auto;
	background: rgba(255, 255, 255, 0.9);
	color: #174274;
	border: none;
	width: 48px;
	height: 48px;
	cursor: pointer;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	transition: background 0.2s ease, transform 0.2s ease;
}

.actu-slideshow-nav button:hover {
	background: #fff;
	transform: scale(1.08);
}

/* Vidéo responsive */
.actu-video-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #000;
}

.actu-video-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Bloc contenu texte - fond blanc, texte noir */
.actualite-article {
	padding: 36px 32px 40px;
	background: #ffffff !important;
	color: #000000 !important;
}

.actu-detail-header {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid #eee;
}

.actu-detail-date {
	font-size: 0.9em;
	color: #000000 !important;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
}

.actu-detail-date::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E") no-repeat center;
	background-size: contain;
	opacity: 0.9;
}

.actu-detail-title {
	font-size: 1.85em;
	font-weight: 700;
	color: #000000 !important;
	margin: 0;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.actu-detail-content {
	font-size: 1.08em;
	line-height: 1.8;
	color: #000000 !important;
}

.actu-detail-content p,
.actu-detail-content li,
.actu-detail-content span {
	color: #000000 !important;
}

.actu-detail-content p {
	margin: 0 0 1.2em;
}

.actu-detail-content p:last-child {
	margin-bottom: 0;
}

.actu-detail-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.actu-detail-content h2,
.actu-detail-content h3 {
	color: #000000 !important;
	margin: 1.5em 0 0.6em;
	font-size: 1.2em;
}

.actu-detail-content ul,
.actu-detail-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.5em;
}

/* Section vidéo en bas d'article */
.actu-detail-media.actu-video-section {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid #eee;
	background: transparent;
}

.actu-video-section .actu-video-title {
	font-size: 1.15em;
	font-weight: 700;
	color: #000000 !important;
	margin: 0 0 16px;
	padding: 0;
}

.actu-video-section .actu-video-wrap {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Bouton retour */
.actualite-back-wrap {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid #eee;
	text-align: center;
}

.actu-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: #174274;
	color: #fff !important;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95em;
	transition: background 0.2s ease, transform 0.05s ease;
	box-shadow: 0 2px 10px rgba(23, 66, 116, 0.3);
}

.actu-back:hover {
	background: #0d2d4d;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(23, 66, 116, 0.35);
}

.actu-back:active {
	transform: translateY(0);
}
