/* ==========================================================================
   Kamer Lyrics — Home sections (redesign)
   Hits actuels / Nouveaux Lyrics / Traductions Populaires / Chansons gospel /
   Artistes à la Une / Publications Récentes
   Scoped under .kl-* so it never collides with the legacy theme CSS.
   ========================================================================== */

/* ---------- shared primitives ---------- */

.kl-section {
	position: relative;
	padding: 70px 0;
}
.kl-section--tint {
	background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 100%);
}

.kl-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 34px;
}

.kl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(0, 128, 0, 0.08);
	color: #0a7a2e;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.kl-eyebrow i:before {
	font-size: 11px;
}

.kl-section-title {
	margin: 0;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	font-size: clamp(1.7rem, 2.6vw, 2.35rem);
	color: #14151a;
	text-transform: none;
}

.kl-link-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	border: 2px solid rgba(20, 21, 26, 0.12);
	color: #14151a;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
	transition: all .3s ease;
}
.kl-link-pill i {
	transition: transform .3s ease;
}
.kl-link-pill:hover,
.kl-link-pill:focus {
	border-color: #008000;
	background: rgba(0, 128, 0, 0.07);
	color: #0a7a2e;
}
.kl-link-pill:hover i,
.kl-link-pill:focus i {
	transform: translateX(3px);
}

/* carousel nav / dots override (owl) */
.kl-carousel .owl-nav {
	position: absolute;
	top: -78px;
	right: 0;
	display: flex;
	gap: 10px;
}
.kl-carousel .owl-nav button.owl-prev,
.kl-carousel .owl-nav button.owl-next {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff !important;
	border: 2px solid rgba(20, 21, 26, 0.1);
	color: #14151a;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .3s ease;
	margin: 0 !important;
}
.kl-carousel .owl-nav button.owl-prev:hover,
.kl-carousel .owl-nav button.owl-next:hover {
	background: #008000 !important;
	border-color: #008000;
	color: #fff !important;
}
.kl-carousel .owl-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}
.kl-carousel .owl-dots .owl-dot span {
	width: 8px;
	height: 8px;
	margin: 0;
	background: rgba(20, 21, 26, 0.15);
	border-radius: 999px;
	transition: all .3s ease;
}
.kl-carousel .owl-dots .owl-dot.active span {
	width: 24px;
	background: linear-gradient(95deg, #008000 0%, #1bff7a 100%);
}

/* ---------- Hits actuels ---------- */

.kl-hits-wrap {
	position: relative;
}

.kl-hit-card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: #eef2ef;
	box-shadow: 0 10px 26px -14px rgba(10, 20, 15, 0.28);
	transition: transform .35s ease, box-shadow .35s ease;
}
.kl-hit-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 34px -16px rgba(10, 20, 15, 0.4);
}
.kl-hit-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.kl-hit-card-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 20, 15, 0) 40%, rgba(6, 15, 10, 0.88) 100%);
}
.kl-hit-rank {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #0a7a2e;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.kl-hit-rank i:before {
	font-size: 10px;
}
.kl-hit-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 52px;
	height: 52px;
	transform: translate(-50%, -50%) scale(.7);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #008000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all .3s ease;
}
.kl-hit-card:hover .kl-hit-play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}
.kl-hit-play i:before {
	font-size: 16px;
	margin-left: 2px;
}
.kl-hit-card-info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px;
	z-index: 2;
}
.kl-hit-card-title {
	margin: 0 0 3px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kl-hit-card-title a {
	color: #fff;
}
.kl-hit-card-artist {
	margin: 0;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.75);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kl-hit-card-artist a {
	color: rgba(255, 255, 255, 0.75);
}

/* ---------- Nouveaux Lyrics ---------- */

.kl-lyric-col {
	margin-bottom: 26px;
}

.kl-lyric-card {
	display: block;
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 22px -14px rgba(10, 20, 15, 0.25);
	transition: transform .3s ease, box-shadow .3s ease;
}
.kl-lyric-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 30px -14px rgba(10, 20, 15, 0.35);
}
.kl-lyric-card-media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.kl-lyric-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.kl-lyric-card:hover .kl-lyric-card-media img {
	transform: scale(1.08);
}
.kl-lyric-card-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
	opacity: 0;
	transition: opacity .3s ease;
}
.kl-lyric-card:hover .kl-lyric-card-shade {
	opacity: 1;
}
.kl-play-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 46px;
	height: 46px;
	transform: translate(-50%, -50%) scale(.7);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #008000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all .3s ease;
	z-index: 2;
}
.kl-lyric-card:hover .kl-play-badge {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}
.kl-play-badge i:before {
	font-size: 14px;
	margin-left: 2px;
}
.kl-lyric-card-body {
	padding: 14px 16px 16px;
}
.kl-lyric-card-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #14151a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kl-lyric-card-artist {
	margin: 0;
	font-size: 13px;
	color: #5b6470;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------- Traductions Populaires + Chansons gospel ---------- */

.kl-translations-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.kl-translations-col {
	flex: 1 1 560px;
	min-width: 0;
}
.kl-gospel-col {
	flex: 1 1 340px;
	min-width: 0;
}

.kl-translation-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.kl-translation-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 14px -10px rgba(10, 20, 15, 0.2);
	transition: all .25s ease;
}
.kl-translation-item:hover {
	background: rgba(0, 128, 0, 0.06);
	transform: translateX(4px);
}
.kl-translation-rank {
	flex: none;
	width: 26px;
	font-size: 15px;
	font-weight: 800;
	color: rgba(20, 21, 26, 0.18);
}
.kl-translation-thumb {
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 12px;
	overflow: hidden;
}
.kl-translation-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.kl-translation-body {
	flex: 1 1 auto;
	min-width: 0;
}
.kl-translation-title {
	margin: 0 0 2px;
	font-size: 14.5px;
	font-weight: 700;
	color: #14151a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kl-translation-artist {
	margin: 0;
	font-size: 13px;
	color: #5b6470;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kl-translation-arrow {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #008000;
	background: rgba(0, 128, 0, 0.08);
	opacity: 0;
	transform: translateX(-6px);
	transition: all .25s ease;
}
.kl-translation-item:hover .kl-translation-arrow {
	opacity: 1;
	transform: translateX(0);
}
.kl-translation-arrow i:before {
	font-size: 11px;
}

.kl-gospel-card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 460px;
	background: #0a3d1f;
	box-shadow: 0 16px 30px -16px rgba(10, 20, 15, 0.4);
}
.kl-gospel-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.kl-gospel-card-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 20, 15, 0.05) 30%, rgba(6, 15, 10, 0.92) 100%);
}
.kl-gospel-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #008000;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: all .3s ease;
	cursor: pointer;
}
.kl-gospel-play:hover {
	transform: translate(-50%, -50%) scale(1.08);
}
.kl-gospel-play i:before {
	font-size: 20px;
	margin-left: 3px;
}
.kl-gospel-card-info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px;
	z-index: 2;
}
.kl-gospel-card-title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}
.kl-gospel-card-title a {
	color: #fff;
}
.kl-gospel-card-artist {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}
.kl-gospel-card-artist a {
	color: rgba(255, 255, 255, 0.75);
}

/* ---------- Artistes à la Une ---------- */

.kl-artist-card {
	display: block;
	text-align: center;
	padding: 6px;
}
.kl-artist-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 16px;
	box-shadow: 0 10px 26px -14px rgba(10, 20, 15, 0.3);
	border: 3px solid transparent;
	transition: all .3s ease;
}
.kl-artist-card:hover .kl-artist-photo {
	border-color: #1bff7a;
	transform: translateY(-6px);
}
.kl-artist-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.kl-artist-name {
	margin: 0;
	font-size: 14.5px;
	font-weight: 700;
	color: #14151a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kl-artist-card:hover .kl-artist-name {
	color: #0a7a2e;
}

/* ---------- Publications Récentes ---------- */

.kl-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 26px;
}

.kl-blog-card {
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 22px -14px rgba(10, 20, 15, 0.22);
	transition: transform .3s ease, box-shadow .3s ease;
}
.kl-blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 30px -14px rgba(10, 20, 15, 0.32);
}
.kl-blog-card-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.kl-blog-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.kl-blog-card:hover .kl-blog-card-media img {
	transform: scale(1.06);
}
.kl-blog-date {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #0a7a2e;
	font-size: 11.5px;
	font-weight: 700;
}
.kl-blog-date i:before {
	font-size: 11px;
}
.kl-blog-card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 18px 20px 20px;
}
.kl-blog-card-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #14151a;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.kl-blog-card-title a {
	color: #14151a;
}
.kl-blog-card-title a:hover {
	color: #0a7a2e;
}
.kl-blog-card-excerpt {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #5b6470;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1 1 auto;
}
.kl-blog-card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #008000;
	align-self: flex-start;
}
.kl-blog-card-more i {
	transition: transform .3s ease;
}
.kl-blog-card:hover .kl-blog-card-more i {
	transform: translateX(4px);
}

/* ---------- responsive ---------- */

@media (max-width: 991px) {
	.kl-section {
		padding: 50px 0;
	}
	.kl-carousel .owl-nav {
		display: none;
	}
	.kl-translations-grid {
		flex-direction: column;
	}
}

@media (max-width: 575px) {
	.kl-section-head {
		align-items: flex-start;
	}
	.kl-gospel-card {
		min-height: 320px;
	}
}

/* ---------- dark theme ---------- */

[data-theme=dark] .kl-section--tint {
	background: linear-gradient(180deg, #101812 0%, #0a0a0a 100%);
}
[data-theme=dark] .kl-section-title,
[data-theme=dark] .kl-hit-card-title,
[data-theme=dark] .kl-lyric-card-title,
[data-theme=dark] .kl-translation-title,
[data-theme=dark] .kl-artist-name,
[data-theme=dark] .kl-blog-card-title {
	color: #f2f5f2;
}
[data-theme=dark] .kl-lyric-card-title a,
[data-theme=dark] .kl-translation-title a,
[data-theme=dark] .kl-blog-card-title a {
	color: #f2f5f2;
}
[data-theme=dark] .kl-link-pill {
	border-color: rgba(255, 255, 255, 0.18);
	color: #f2f5f2;
}
[data-theme=dark] .kl-lyric-card,
[data-theme=dark] .kl-translation-item,
[data-theme=dark] .kl-blog-card {
	background: #16201a;
}
[data-theme=dark] .kl-lyric-card-artist,
[data-theme=dark] .kl-translation-artist,
[data-theme=dark] .kl-blog-card-excerpt {
	color: rgba(242, 245, 242, 0.6);
}
[data-theme=dark] .kl-carousel .owl-nav button.owl-prev,
[data-theme=dark] .kl-carousel .owl-nav button.owl-next {
	background: #16201a !important;
	border-color: rgba(255, 255, 255, 0.15);
	color: #f2f5f2;
}
