/* Serenity Contact Cards widget */

.serenity-contact-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
}

.serenity-contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background-color: #ffffff;
	border: 1.5px solid #e3d9f7;
	border-radius: 18px;
	padding: 34px 28px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
	box-sizing: border-box;
	width: 100%;
}

.serenity-contact-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background-color: #5b21b6;
	margin-bottom: 20px;
	flex-shrink: 0;
}

.serenity-contact-card-icon i,
.serenity-contact-card-icon svg {
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
}

.serenity-contact-card-icon svg {
	fill: #ffffff;
	width: 22px;
	height: 22px;
}

.serenity-contact-card-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #5c5763;
	margin-bottom: 8px;
}

.serenity-contact-card-value {
	display: block;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	color: #111014;
	word-break: break-word;
}

.serenity-contact-card-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: #5b21b6;
}

.serenity-contact-card:hover .serenity-contact-card-action {
	text-decoration: underline;
}

/* Mobile-friendly fallback if no responsive column value is set via the editor */
@media (max-width: 1024px) {
	.serenity-contact-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.serenity-contact-cards {
		grid-template-columns: 1fr;
	}

	.serenity-contact-card {
		padding: 26px 22px;
	}
}
