/* Base Flexbox Grid */
.custom-cards-grid-7a9a668c {
	display: flex;
	flex-wrap: wrap;
	--acg-gap: 20px; /* Fallback */
	gap: var(--acg-gap);
}

/* On mobile layout stack all cards */
@media (max-width: 767px) {
	.custom-cards-grid-7a9a668c .custom-card-7a9a668c {
		width: 100% !important; /* Override inline styles */
	}
}

/* Card Container width calculation */
.custom-card-7a9a668c {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	transition: all 0.3s ease;
}

/* Image Wrapper */
.custom-card-img-wrapper-7a9a668c {
	position: relative;
	overflow: hidden;
}

.custom-card-img-7a9a668c {
	width: 100%;
	height: auto; /* Overridden by settings if height provided */
	display: block;
	transition: all 0.3s ease;
	object-fit: cover;
}

/* Overlay */
.custom-card-img-overlay-7a9a668c {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background-color 0.3s ease;
}

/* Content */
.custom-card-content-7a9a668c {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.custom-card-title-7a9a668c {
	margin: 0 0 10px;
	transition: color 0.3s ease;
}

.custom-card-desc-7a9a668c {
	margin-bottom: 20px;
	flex-grow: 1;
	transition: color 0.3s ease;
}

/* Typography styles inside description */
.custom-card-desc-7a9a668c ul, 
.custom-card-desc-7a9a668c ol {
	margin-top: 5px;
	margin-bottom: 15px;
	padding-left: 20px;
}

/* Footer (Button wrapper) */
.custom-card-footer-7a9a668c {
	margin-top: auto; /* Push to bottom */
}

/* Button */
.custom-card-btn-7a9a668c {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	padding: 10px 20px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.custom-card-btn-icon-7a9a668c {
	display: inline-flex;
	align-items: center;
}

.custom-card-btn-icon-7a9a668c svg {
	fill: currentColor;
}
