/**
 * Base styling for the DLC Menu Cards widget.
 *
 * Low-specificity defaults so Elementor Style-tab selectors win.
 * Cards only render when their ACF file exists, so the grid naturally
 * collapses (no empty placeholders).
 */

.dlc-menu-cards__list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.dlc-menu-cards__card {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1 1 260px;
	min-width: min(100%, 240px);
	padding: 20px;
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dlc-menu-cards__card:hover,
.dlc-menu-cards__card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.dlc-menu-cards__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	color: #ffffff;
}

.dlc-menu-cards__icon--pdf {
	background-color: #e11d48;
}

.dlc-menu-cards__icon--image {
	background-color: #0d9488;
}

.dlc-menu-cards__icon svg {
	display: block;
	fill: currentColor;
}

.dlc-menu-cards__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.dlc-menu-cards__title {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.25;
	color: #111827;
	text-transform: uppercase;
}

.dlc-menu-cards__meta {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #6b7280;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.dlc-menu-cards__card {
		flex-basis: 100%;
	}
}
