/**
 * Home Age Cards shortcode styles.
 *
 * @package Kadence_Child
 */

/* Grid
-------------------------------------------------------------- */
.kc-age-cards {
	display: flex;
	gap: 24px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Card
-------------------------------------------------------------- */
.kc-age-cards__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 320px;
	height: 320px;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	transition: transform 0.3s ease;
}

.kc-age-cards__card:hover {
	transform: scale(1.05);
}

/* Background image
-------------------------------------------------------------- */
.kc-age-cards__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* Top: Age label
-------------------------------------------------------------- */
.kc-age-cards__top {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 32px;
}

.kc-age-cards__label {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.9;
}

.kc-age-cards__value {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

/* Bottom: Discover button
-------------------------------------------------------------- */
.kc-age-cards__bottom {
	position: relative;
	z-index: 1;
	padding-bottom: 32px;
}

.kc-age-cards__discover {
	display: inline-block;
	padding: 10px 32px;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive
-------------------------------------------------------------- */
@media (max-width: 768px) {
	.kc-age-cards__card {
		width: 280px;
		height: 280px;
	}
}
