.actualites-page .actualites-card-image {
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.actualites-page .actualites-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.actualite-page .actualite-hero-image {
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.actualite-page .actualite-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.actualite-page .actualite-gallery-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.actualite-page .actualite-inline-image {
	max-width: 50% !important;
	height: auto;
}

.actualite-page .post-block.post-author {
	clear: both;
	margin-top: 2rem;
}

.home-portfolio-gallery .isotope-item {
	overflow: hidden;
}

.home-portfolio-gallery .image-gallery-item,
.home-portfolio-gallery .thumb-info,
.home-portfolio-gallery .thumb-info-wrapper {
	display: block;
	width: 100%;
	height: 100%;
}

.home-portfolio-gallery .thumb-info-wrapper {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.home-portfolio-gallery .thumb-info-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	transform: scale(1.08);
	display: block;
}

.footer-legal-link {
	display: inline-block;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8rem;
	line-height: 1;
	padding: 0.1rem 0;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
	color: #ffffff;
	opacity: 1;
	text-decoration: underline;
}

.cookie-banner {
	position: fixed;
	left: clamp(0.9rem, 3vw, 2rem);
	right: clamp(0.9rem, 3vw, 2rem);
	bottom: clamp(0.9rem, 2.4vw, 1.6rem);
	z-index: 1080;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	padding: 1rem 1.15rem;
	background: linear-gradient(130deg, rgba(18, 20, 26, 0.96), rgba(27, 31, 38, 0.94));
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0.95rem;
	backdrop-filter: blur(8px);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
	transform: translateY(140%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.28s ease;
}

.cookie-banner.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.cookie-banner-text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
}

.cookie-banner-badge {
	display: inline-block;
	margin-right: 0.5rem;
	padding: 0.18rem 0.48rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: 1px;
}

.cookie-banner-legal {
	margin-left: 0.3rem;
	color: #ffffff;
	text-decoration: underline;
	font-size: inherit;
	line-height: inherit;
	opacity: 0.9;
}

.cookie-banner-legal:hover,
.cookie-banner-legal:focus-visible {
	opacity: 1;
}

.cookie-banner-actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	flex-shrink: 0;
}

.cookie-banner-actions .btn {
	border-radius: 999px;
	padding-inline: 0.95rem;
	font-weight: 600;
}

@media (min-width: 992px) {
	html.sticky-header-active #header .header-logo {
		margin-top: 0.75rem;
		margin-bottom: 0.75rem;
	}

	html.sticky-header-active #header .header-logo img {
		top: 0;
	}
}

@media (max-width: 767.98px) {
	.actualites-page .actualites-card-image,
	.actualite-page .actualite-hero-image {
		aspect-ratio: 4 / 3;
	}

	.home-portfolio-gallery .thumb-info-wrapper {
		aspect-ratio: 1 / 1;
	}

	.home-portfolio-gallery .thumb-info-wrapper img {
		object-position: center 18%;
		transform: scale(1.12);
	}

	.actualite-page .actualite-inline-image {
		max-width: 100% !important;
		float: none !important;
		display: block;
		margin-right: 0 !important;
	}

	.cookie-banner {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		flex-direction: column;
		align-items: flex-start;
		padding: 0.9rem;
	}

	.cookie-banner-actions {
		width: 100%;
	}

	.cookie-banner-actions .btn {
		flex: 1;
	}
}
