/* Custom Link — grille de cartes (style capture d'écran) */

.custom-link-grid {
	display: grid;
	gap: 25px;
	grid-template-columns: repeat(3, 1fr);
	font-family: 'Montserrat', sans-serif;
}

.custom-link-cols-1 { grid-template-columns: 1fr; }
.custom-link-cols-2 { grid-template-columns: repeat(2, 1fr); }
.custom-link-cols-3 { grid-template-columns: repeat(3, 1fr); }
.custom-link-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
	.custom-link-cols-3,
	.custom-link-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.custom-link-grid {
		grid-template-columns: 1fr !important;
	}
}

.custom-link-card {
	position: relative;
	min-height: 400px;
	border-radius: 6px;
	overflow: hidden;
	background-color: #0e3f44;
	background-size: cover;
	background-position: center;
	display: flex;
}

.custom-link-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 63, 68, 0.55) 0%, rgba(14, 63, 68, 0.85) 100%);
}

.custom-link-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 30px 28px;
	width: 100%;
}

.custom-link-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.custom-link-icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	background: #2fbf9f;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-link-icon img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.custom-link-title {
	margin: 0 !important;
	color: #ffffff !important;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1.3;
}

.custom-link-features {
	list-style: none !important;
	margin: 0 0 24px !important;
	padding: 0 !important;
}

.custom-link-features li {
	position: relative;
	padding-left: 16px;
	margin-bottom: 8px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
}

.custom-link-features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 7px;
	height: 7px;
	background: #2fbf9f;
}

.custom-link-button {
	display: block;
	text-align: center;
	background: #2fbf9f;
	color: #ffffff !important;
	text-decoration: none !important;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.5px;
	padding: 14px 20px;
	border-radius: 3px;
	transition: background 0.25s ease;
}

.custom-link-button:hover {
	background: #26a186;
	color: #ffffff;
}
