/* Widget "Annonces" de la page de login */
.annonces-scroll {
	position: relative; /* repere des offsetTop utilises par annonces.js */
	max-height: 340px; /* valeur de repli : annonces.js l'ajuste a 3 annonces */
	overflow-y: auto;
	padding-right: 4px;
}

.annonce-item {
	padding: 10px 0;
	border-bottom: 1px solid #e5e5e5;
	overflow-wrap: anywhere;
}

.annonce-item:last-child {
	border-bottom: none;
}

.annonce-img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 8px;
}

.annonce-titre {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	color: #0b6e88;
}

.annonce-date {
	font-size: 11px;
	color: #777;
	margin: 2px 0 4px;
}

.annonce-contenu {
	font-size: 13px;
	line-height: 1.5;
}

.annonce-contenu img {
	max-width: 100%;
	height: auto;
}

.annonce-contenu p {
	margin: 0 0 6px;
}

/* Icone "Nouveau" */
.annonce-new {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 10px;
	background: #e53935;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	vertical-align: middle;
	animation: annonce-pulse 1.4s ease-in-out infinite;
}

@keyframes annonce-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
	.annonce-new { animation: none; }
}
