/* Colors */
.wlcolor-dark,
.wlcolor-dark * {
	color: var(--wl_theme_color_dark, #464646)!important;
}

.wlcolor-accent,
.wlcolor-accent * {
	color: var(--wl_theme_color_accent, #464646)!important;
}

.wlcolor-light,
.wlcolor-light * {
	color: var(--wl_theme_color_light, #464646)!important;
}
/* /Colors */

/* Fonts */
body.elementor-page-476 .elementor,
body.elementor-page-476 .elementor *:not(i):not(.elementor-icon),
body.single-wl_hommages .elementor,
body.single-wl_hommages .elementor *:not(i):not(.elementor-icon) {
	font-family: var(--wl_theme_font_text, "Crimson Text")!important;
}

body.elementor-page-476 .elementor .wlfont-title,
body.elementor-page-476 .elementor .wlfont-title *:not(i):not(.elementor-icon),
body.single-wl_hommages .elementor .wlfont-title,
body.single-wl_hommages .elementor .wlfont-title *:not(i):not(.elementor-icon) {
	font-family: var(--wl_theme_font_title, "Crimson Text")!important;
}
/* /Fonts */

/* Hero */
.wl-hero-bg {
	background-image: var(--wl_theme_hero_img);
	background-position: center center;
	background-size: cover;
}
/* Hero */

/* Repeaters */
.wl-acf-repeater {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.wl-acf-repeater .wl-acf-repeater__item {
	padding: 13px 0px;
	border-bottom: 1px solid rgb(230, 227, 221);
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.wl-acf-repeater .wl-acf-repeater__item:first-child {
	padding-top: 0;
}
.wl-acf-repeater .wl-acf-repeater__item .wl-acf-repeater__title {
	font-size: 11.5px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	font-weight: 400;
	color: var(--wl_theme_color_accent, #464646)!important;
	margin: 0;
}
.wl-acf-repeater .wl-acf-repeater__item .wl-acf-repeater__text {
	font-size: 19px;
	color: rgb(46, 45, 43);
	font-family: var(--wl_theme_font_title, "Crimson Text")!important;
}
/* Repeaters */

/* Galerie Médias */
.wl-hommage-gallery .wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
/*
.wl-hommage-gallery__item:first-child {
	grid-column: 1 / -1;
}
*/
.wl-hommage-gallery__item:first-child a {
	aspect-ratio: 16 / 9;
}

.wl-hommage-gallery__item {
	position: relative;
	overflow: hidden;
}

.wl-hommage-gallery__item img,
.wl-hommage-gallery__item video,
.wl-hommage-gallery__item iframe {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* Format uniforme pour toutes les vignettes */
.wl-hommage-gallery__item a.wl-lightbox {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
}

.wl-video-thumb,
.wl-embed,
.wl-embed-fallback {
	position: absolute;
	inset: 0;
}

.wl-video-thumb img,
.wl-hommage-gallery__item video {
	width: 100%;
	height: 100%!important;
	object-fit: cover;
	object-position: center;
	display: block;
}

.wl-embed iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}

/* Icône Play */
.wl-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	pointer-events: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.wl-lightbox:hover .wl-play-icon {
	background: rgba(0, 0, 0, 0.8);
	transform: translate(-50%, -50%) scale(1.08);
}
.wl-lightbox:hover .wl-play-icon svg {
	fill: #fff;
}

.wl-play-icon svg {
	width: 22px;
	height: 22px;
	fill: #000;
}

/* Swiper : flèches + pagination */
.wl-hommage-gallery__swiper {
	--swiper-navigation-color: #fff;
	--swiper-navigation-size: 22px;
	--swiper-pagination-color: #000;
	padding-bottom: 50px; /* espace pour la pagination sous le carrousel */
}

.wl-hommage-gallery__swiper .swiper-button-prev,
.wl-hommage-gallery__swiper .swiper-button-next {
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
}

.wl-hommage-gallery__swiper .swiper-button-prev:after,
.wl-hommage-gallery__swiper .swiper-button-next:after {
	font-size: 16px;
}

.wl-hommage-gallery__swiper .swiper-pagination {
	bottom: 0;
}

/* GLightbox (inchangé) */
.glightbox-container .gclose,
.glightbox-container .gnext,
.glightbox-container .gprev {
	filter: none !important;
	opacity: 1 !important;
}

.glightbox-container .gclose svg,
.glightbox-container .gnext svg,
.glightbox-container .gprev svg {
	width: 22px;
	height: 22px;
}

.glightbox-container .gclose {
	background: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
}

.swiper-pagination-bullet {
	height: 14px;
	width: 14px;
}

.swiper-button-next, 
.swiper-button-prev {
	margin-top: -40px;
}

.plyr button,
.plyr [type="button"] {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	display: inline-flex;
	font-size: inherit;
	font-weight: inherit;
	padding: 0;
	text-align: inherit;
	transition: none;
	letter-spacing: normal;
}

@media (max-width: 767px) {
	.wl-hommage-gallery .wrapper {
		grid-template-columns: 1fr;
	}
	
	.wl-hommage-gallery__item:first-child {
		grid-column: auto;
	}
}
/* /Galerie Médias */

/* Témoignages et pensées */
.wl-hommage-testimonials {
	width: 100%;
}

.wl-hommage-testimonials-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.wl-hommage-testimonials-grid .wl-hommage-testimonial {
	width: calc(50% - 20px);
}

.wl-hommage-testimonials-card .wl-hommage-testimonials-wrapper {
	flex-direction: column;
}
.wl-hommage-testimonials-card .wl-hommage-testimonial {
	width: 100%;
}

.wl-hommage-testimonial {
	background: rgb(255, 255, 255);
	border: 1px solid rgb(230, 227, 221);
	border-radius: 16px;
	padding: 26px 28px;
}

.wl-hommage-testimonial-title {
	font-weight: 600;
	font-size: 14px;
	color: rgb(46, 45, 43);
	text-transform: capitalize;
	line-height: 1.1em;
}
.wl-hommage-testimonial-relation {
	font-size: 12.5px;
	line-height: 1.1em;
	font-weight: 400;
	color: rgb(87, 83, 77);
}

.wl-hommage-testimonials-empty {
	text-align: center;
	font-size: 12.5px;
	line-height: 1.1em;
	font-weight: 400;
	color: rgb(87, 83, 77);
}

.wl-hommage-testimonial-text,
.wl-hommage-testimonial-text p {
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.2em;
	text-transform: initial;
}
.wl-hommage-testimonial-text {
	margin-bottom: 10px;
}

.wl-hommage-testimonial-text > *:first-child {
	margin-top: 0;
}

.wl-hommage-testimonial-text > *:last-child {
	margin-bottom: 0;
}

.wl-hommage-testimonials-swiper {
	padding-bottom: 50px!important;
}
.wl-hommage-testimonials-swiper .wl-hommage-testimonial {
	margin: 0 auto;
	width: calc(100% - 100px);
}
.wl-hommage-testimonials-swiper .swiper-button-next, 
.wl-hommage-testimonials-swiper .swiper-button-prev {
	color: var(--wl_theme_color_main, #464646);
	height: 25px;
	width: 25px;
}
.wl-hommage-testimonials-swiper .swiper-button-next:after, 
.wl-hommage-testimonials-swiper .swiper-button-prev:after {
	font-size: 30px;
}
.wl-hommage-testimonials-swiper .swiper-button-prev {
	left: 0;
	transform: translateY(-50%);
}
.wl-hommage-testimonials-swiper .swiper-button-next {
	right: 0;
	transform: translateY(-50%);
}

.wl-comment-success {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	margin: 0 0 30px;
	border: 1px solid #b7e4c7;
	border-radius: 8px;
	background-color: #f0fff4;
	color: #166534;
	font-size: 16px;
	line-height: 1.5;
}

.wl-comment-success::before {
	content: "✓";
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #22c55e;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

@media screen and (max-width:1024px) {
	.wl-hommage-testimonials-grid .wl-hommage-testimonial {
		width: calc(50% - 15px);
	}
}

@media screen and (max-width:767px) {
	.wl-hommage-testimonials-grid .wl-hommage-testimonial {
		width: 100%;
	}
}
/* /Témoignages et pensées */

/* Comments */
#reply-title,
.comment-form-url {
	display: none;
}

.wl-tribute-bar {
	margin: 24px 0;
	padding: 16px;
	border: 1px solid #e0d8d0;
	border-radius: 8px;
	background: #faf7f4;
	text-align: center;
}

.wl-tribute-bar-title {
	margin: 0 0 12px;
	font-weight: 600;
}

.wl-tribute-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

/*
.wl-tribute-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid #c9b8a8;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wl-tribute-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wl-tribute-btn:disabled {
	opacity: 0.5;
	cursor: default;
}
*/
.wl-tribute-icon {
	font-size: 18px;
}

.wl-tribute-feedback {
	margin-top: 10px;
	min-height: 18px;
	font-size: 13px;
}

.wl-tribute-feedback.wl-success {
	color: #2e7d32;
}

.wl-tribute-feedback.wl-error {
	color: #c0392b;
}

.wl-tribute-login-required {
	text-align: center;
	font-size: 14px;
	color: #6b6b6b;
}

/* Badge affiché au-dessus d'un commentaire "tribute" */
.wl-tribute {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1ece6;
	font-size: 13px;
	margin-bottom: 6px;
}

/* Photo souvenir jointe à un commentaire */
.wl-comment-photo-souvenir {
	margin-top: 10px;
}

.wl-comment-photo-souvenir img.wl-photo-souvenir {
	max-width: 240px;
	height: auto;
	border-radius: 6px;
	display: block;
}

.comment-form-photo-souvenir input[type='file'] {
	display: block;
	margin-top: 4px;
}

#comments .logged-in-as {
	display: none;
}

.comment-form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.comment-form-author,
.comment-form-relation {
	width: calc(50% - 10px);
	margin: 0;
}

.comment-form-email,
.comment-form-comment,
.form-submit {
	width: 100%;
}

.comment-form-email small {
	font-size: 12px;
	font-weight: 400;
	padding: 5px;
}

.comment-form input {
	width: 100%;
}
/* /Comments */