/* Nouveautés / What's new section (layouts/updates) */

.updates-rss a {
	color: #735eaf;
	font-size: 0.95rem;
}

.updates-month {
	margin-bottom: 48px;
}

.updates-month-title {
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b6f80;
	margin-bottom: 20px;
}

.updates-timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 28px;
	border-left: 2px solid #e4e1f2;
}

.updates-item {
	position: relative;
	margin-bottom: 24px;
}

.updates-item::before {
	content: "";
	position: absolute;
	left: -36px;
	top: 26px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #735eaf;
}

.updates-card {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 20px 24px;
	border: 1px solid #eceaf5;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.updates-card:hover {
	color: inherit;
	text-decoration: none;
	border-color: #cfc7ea;
	box-shadow: 0 10px 28px rgba(115, 94, 175, 0.14);
}

.updates-card-body {
	flex: 1 1 auto;
	min-width: 0;
}

.updates-card h3 {
	font-size: 1.3rem;
	line-height: 1.3;
	margin: 8px 0;
}

.updates-card p {
	margin: 0;
	color: #4a4d5a;
}

.updates-card-thumb {
	flex: 0 0 200px;
}

.updates-card-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: contain;
	object-position: center;
	background: #f7f6fb;
	border-radius: 6px;
	border: 1px solid #eceaf5;
}

.updates-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: #6b6f80;
}

.updates-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.updates-badge-new {
	background: #e3f6ef;
	color: #1f6f5b;
}

.updates-badge-improvement {
	background: #ece8f8;
	color: #5a4796;
}

.updates-single a.updates-back,
.updates-single a.updates-pager-link {
	background: none;
	padding: 0;
	color: #735eaf;
}

.updates-single a.updates-back:hover,
.updates-single a.updates-pager-link:hover {
	background: none;
	text-decoration: underline;
}

.updates-pager {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.updates-pager-link {
	display: flex;
	flex-direction: column;
	max-width: 48%;
}

.updates-pager-link span {
	font-size: 0.85rem;
	color: #6b6f80;
}

.updates-pager-newer {
	text-align: right;
	margin-left: auto;
}

@media (max-width: 767px) {
	.updates-timeline {
		padding-left: 20px;
	}

	.updates-item::before {
		left: -28px;
	}

	.updates-card {
		flex-direction: column-reverse;
		align-items: stretch;
		padding: 16px;
	}

	.updates-card-thumb {
		flex-basis: auto;
	}
}

.updates-image {
	border: 1px solid #eceaf5;
	border-radius: 8px;
}

.updates-pagination {
	margin: 8px 0 64px;
}

.updates-pagination .pagination {
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.updates-pagination .page-link {
	margin-left: 0;
	min-width: 40px;
	text-align: center;
	color: #735eaf;
	border: 1px solid #e4e1f2;
	border-radius: 8px;
}

.updates-pagination .page-item:first-child .page-link,
.updates-pagination .page-item:last-child .page-link {
	border-radius: 8px;
}

.updates-pagination .page-link:hover {
	color: #5a4796;
	background-color: #ece8f8;
	border-color: #cfc7ea;
}

.updates-pagination .page-link:focus {
	box-shadow: 0 0 0 0.2rem rgba(115, 94, 175, 0.25);
}

.updates-pagination .page-item.active .page-link {
	color: #fff;
	background-color: #735eaf;
	border-color: #735eaf;
}

.updates-pagination .page-item.disabled .page-link {
	color: #b3b0c2;
	border-color: #eceaf5;
}
