/* ICT Cards — cartes liens
   Variables : --ict-lc-cols, --ict-lc-c1, --ict-lc-c2, --ict-lc-c1-soft, --ict-lc-c2-soft */

.ict-lc {
	display: grid;
	grid-template-columns: repeat(var(--ict-lc-cols, 2), 1fr);
	gap: 26px;
	width: 100%;
	box-sizing: border-box;
}

.ict-lc-card {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #ffffff;
	border: 1px solid #e7ecf3;
	border-radius: 16px;
	padding: 24px 28px;
	text-decoration: none;
	box-shadow: 0 4px 18px rgba(24, 55, 99, 0.05);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
	box-sizing: border-box;
}

.ict-lc-card:hover,
.ict-lc-card:focus-visible {
	border-color: var(--ict-lc-c2, #FAB519);
	box-shadow: 0 10px 28px rgba(24, 55, 99, 0.10);
	transform: translateY(-2px);
	outline: none;
}

/* Tuile d'icône */
.ict-lc-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--ict-lc-c1-soft, rgba(24, 55, 99, 0.08));
	color: var(--ict-lc-c1, #183763);
}

.ict-lc-icon .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	line-height: 28px;
}

/* Texte */
.ict-lc-text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ict-lc-title {
	color: var(--ict-lc-c1, #183763);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.ict-lc-desc {
	color: #6b7280;
	font-size: 15.5px;
	line-height: 1.5;
}

/* Flèche */
.ict-lc-arrow {
	flex: 0 0 auto;
	color: var(--ict-lc-c2, #FAB519);
	transition: transform .2s ease;
}

.ict-lc-card:hover .ict-lc-arrow,
.ict-lc-card:focus-visible .ict-lc-arrow {
	transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
	.ict-lc {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (max-width: 480px) {
	.ict-lc-card {
		padding: 20px;
		gap: 16px;
	}
	.ict-lc-icon {
		width: 48px;
		height: 48px;
		border-radius: 12px;
	}
}

/* Icône téléversée (SVG inline ou image) */
.ict-lc-icon svg,
.ict-lc-icon img {
	width: 28px;
	height: 28px;
	display: block;
	object-fit: contain;
}
