/* --- WRAPPER UTAMA --- */
.card-wrapper {
	display: flex;
	flex-direction: column;
	flex-grow: 0;
	flex-shrink: 0;
	max-width: 100%;
	min-height: 100%;
	box-sizing: border-box;
}

.card-grid-parent.is-vertical {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	overflow-x: hidden;
	gap: 1rem;
}

.card-grid-parent.is-horizontal {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap : 8px;
	padding-block: 1.5rem;
}

.card-grid-parent.is-simple {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 20px;

	width: 100%;
	box-sizing: border-box;
}

.card-wrapper.mode-vertical {
	width: 100%;
	/*flex-basis: auto !important;*/
	flex-grow: 0;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.card-wrapper.mode-vertical {
		/*width: 50%;*/
		flex-basis: calc(50% - 1rem);
	}
	.card-grid-parent.is-horizontal {
		gap: 1rem;
	}
	.card-grid-parent.is-vertical {
		gap: 2rem;
	}
}

/* --- MODE HORIZONTAL (MOBILE ADJUSTMENT) --- */
.card-wrapper.mode-horizontal {
	flex-shrink: 0;
	scroll-snap-align: start;
}

@media (max-width: 768px) {
	.card-wrapper.mode-horizontal {
		width: 85vw !important;
		flex-basis: auto !important;
	}
}

/* --- CARD CONTAINER --- */
.card-container {
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	font-family: 'Arial', sans-serif;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

/* --- ANIMATION HOVER --- */
.card-hover {
	transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.card-hover:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	z-index: 2;
}

@media (max-width: 768px) {
	.card-hover:hover {
		transform: none;
		box-shadow: none;
	}
}

/* --- CARD VISUAL (IMAGE) --- */
.card-visual {
	flex-shrink: 0;
	position: relative;
	background-repeat: no-repeat;
	background-origin: content-box;
	background-clip: content-box;
}

/* --- OVERLAYS: BADGES & BUTTON --- */
.card-badges {
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	z-index: 2;
}

.card-badge {
	background-color: #ffffff;
	color: #000000;
	padding: 8px 16px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
	font-family: Lexend, sans-serif;
}

.badge-connector {
	width: 15px;
	height: 2px;
	background-color: #ffffff;
	margin: 0 -2px;
	z-index: 1;
}

.card-action-btn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 45px;
	height: 45px;
	background-color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
	transition: transform 0.2s ease;
	z-index: 2;
}

.card-action-btn:hover {
	transform: scale(1.1);
}

/* --- CARD CONTENT (TEKS) --- */
.card-content {
	flex: 1;
	padding: 24px 16px 24px 16px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.card-title {
	font-size: 24px;
	font-family: Lexend, sans-serif;
	font-weight: bold;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.card-description {
	font-size: 16px;
	font-family: Lexend, sans-serif;
	line-height: 1.6;
	margin: 0;
}

/* --- LIST STYLING --- */
.check-list-content ul {
	list-style: none;
	padding-left: 0;
	margin-top: 15px;
}
.check-list-content ul li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}
.check-list-content ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ACE1AF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='16 10 11 15 8 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
