.bloc-actus {
    padding: 30px 0;
    margin: 10px 0;
	background-color: #267fae;
}

.bloc-actus img:hover { /* petit effet zoom */
  transform: scale(1.05);
}

.bloc-actus-inner {
    background-color: transparent;
    margin: 0 auto;
    padding: 50px 60px;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    align-items: stretch; /* force les colonnes à avoir la même hauteur */
	height: auto;
}

/* BLOC 2 Chronique en cours */

/* BLOC 1 partie GAUCHE (événement) */

.bloc-actus-gauche {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}
		.bloc-actus-gauche-image {
			flex: 0 0 60%; /* occupe 60% de la hauteur */
			position: relative; /* pour l'incrustation du badge */
			overflow: hidden;
		}
				.image-generique {
					width: 100%;
					height: 100%;
					object-fit: cover;
					transition: transform 0.3s;
				}
				.badge-avenir {
				  position: absolute;
				  top: 15px;
				  left: 15px;
				  width: 160px;
				  height: auto;
				  z-index: 2;
				  pointer-events: none; /* pour que le badge ne bloque pas le clic */
				  animation: scintillementZoom 2s infinite alternate;
				}
				@keyframes scintillementZoom {
				  0% {
					transform: scale(1.5);
					filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
				  }
				  50% {
					transform: scale(1.05);
					filter: brightness(1.3) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
				  }
				  100% {
					transform: scale(1.5);
					filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
				  }
				}

		.bloc-actus-gauche-card {
			flex: 1;
			min-height: 0;
			display: flex;
			flex-direction: column;
			justify-content: center;
			background-color: white;
			color: #333;
			padding: 15px;
			box-sizing: border-box;
		}
				.bloc-actus-title {
					font-weight: bold;
					font-size: 1.6rem;
					margin-bottom: 10px;
					line-height: 1.2;
				}
				.bloc-actus-info {
					display: flex;
					flex-wrap: nowrap;
					align-items: center;
					gap: 30px;
					font-size: 0.9rem;
					margin-bottom: 5px;
				}
				.bloc-actus-info-item {
					display: flex;
					margin-right: 8px;
					margin-top: 0px;
				}
				.bloc-actus-accroche {
					font-weight: bold;
					font-size: 1rem;
					color: black;
					margin-top: 15px;
					margin-bottom: 15px;
					line-height: 1.2;
				}
				.bloc-actus-btn {
					background-color: #333;
					color: white;
					padding: 8px 12px;
					text-decoration: none;
					border-radius: 5px;
					display: inline-block;
					align-self: start;
					margin-top: 10px;
					margin-bottom: 15px;
				}

/* BLOC 1 partie DROITE (2 articles ou 1 article + image) */
.bloc-actus-droite {
  flex: 1;
  max-width: 50%;
  display: grid;
  grid-template-rows: 1fr 1fr; /* 2 lignes de même hauteur */
  gap: 10px;
}
.bloc-actus-droite-ligne {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Card à gauche, images à droite */
  gap: 10px;
}
.bloc-actus-droite-card {
  background: white;
  color: #333;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.bloc-actus-droite-images {
  display: grid;
  grid-template-rows: 1fr 1fr; /* 2 images empilées */
  gap: 10px;
  height: 100%;
}
.bloc-actus-droite-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloc-actus-droite-ligne-imageseule {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bloc-actus-droite-ligne-imageseule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== LIEN TOUS LES ARTICLES + inscription news ===== */

.bloc-actus-plus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    background-color: #267fae; /* fond bleu foncé */
    padding: 20px 60px 40px 60px; /* top right bottom left → augmente le bottom */
}

.bloc-actus-inscription {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inscription-form {
    display: flex;
    gap: 5px;
}

.inscription-form input[type="email"] {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    width: 300px; /* élargit le champ */
    max-width: 100%;
}

.inscription-form button {
    padding: 5px 15px;
    border: none;
    background-color: white;
    color: #2c85b8; /* bleu foncé pour le texte */
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.inscription-form button:hover {
    background-color: #9cd3f4; /* bleu clair au survol */
    color: #2c85b8; /* texte reste bleu foncé */
}

/* ============ RÉGLAGES SUR PETITS ÉCRANS ============ */

@media (max-width: 1024px) {
    .bloc-actus-droite {
        display: none; /* masque la partie droite */
    }
    .bloc-actus-inner {
        flex-direction: column;
        padding: 10px; /* réduit les marges intérieures */
        margin: 0 auto; /* centré mais sans marge excessive */
    }
    .bloc-actus-gauche {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    .bloc-actus-gauche-image,
    .bloc-actus-card {
        width: 100%;
    }

		.bloc-actus-info {
			display: block;
			align-items: left;
		}
		.bloc-actus-info-item {
			display: block;
			align-items: left;
		}

    .bloc-actus-plus {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
    }

	.bloc-actus-inscription {
		display: block;
		align-items: left;
	}
	.inscription-form {
		display: block;
	}
	
    .inscription-form input[type="email"] {
        display: block;
    }
    .inscription-form button {
        display: block;
    }
}