/**
 * Sections block styles.
 *
 * Scoped to .b-c-sections. This file is yours to edit; the Lake Builder admin
 * manages this block's fields (block.json) but never overwrites this
 * stylesheet. Brand tokens (--brand-*) are available here.
 */
.lake-root .b-c-sections {
	/* Your styles here. */
}

.lake-root .b-c-sections .s-head {
	max-width: 100%;
}

/* Card grid -------------------------------------------------------------- */
.lake-root .b-c-sections .hcards {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.25rem);
	margin-top: 2.75rem;
}
.lake-root .b-c-sections .hcards.cols-1 { --cols: 1; }
.lake-root .b-c-sections .hcards.cols-2 { --cols: 2; }
.lake-root .b-c-sections .hcards.cols-3 { --cols: 3; }
.lake-root .b-c-sections .hcards.cols-4 { --cols: 4; }

.lake-root .b-c-sections .hcard {
	display: flex;
	flex-direction: column;
}

/* Media: image with overlaid title + circular arrow --------------------- */
.lake-root .b-c-sections .hcard-media {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
}
.lake-root .b-c-sections .hcard-media .frame {
	margin: 0;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	height: 100%;
}
.lake-root .b-c-sections .hcard-media .frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lake-root .b-c-sections .hcard-scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
}
.lake-root .b-c-sections .hcard-title {
	position: absolute;
	left: clamp(1rem, 4%, 1.75rem);
	bottom: clamp(0.9rem, 4%, 1.5rem);
	right: 5rem;
	margin: 0;
	color: #fff;
	font-family: var(--brand-head, inherit);
	font-weight: var(--brand-head-weight, 700);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	line-height: 1.15;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
	text-align: left;
}
.lake-root .b-c-sections .hcard-arrow {
	position: absolute;
	right: clamp(1rem, 4%, 1.5rem);
	bottom: clamp(1rem, 4%, 1.5rem);
	width: 3.25rem;
	height: 3.25rem;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: var(--brand, #2c8c84);
	color: #fff;
	transition: background-color 0.18s ease, transform 0.18s ease;
}
.lake-root .b-c-sections .hcard-arrow:hover,
.lake-root .b-c-sections .hcard-arrow:focus-visible {
	background: var(--brand-deep, #1f6c66);
	transform: translateX(2px);
}

/* Body: text panel + text link ------------------------------------------ */
.lake-root .b-c-sections .hcard-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 1rem;
	padding: clamp(1.25rem, 3%, 1.75rem);
	border-radius: 12px;
	background: rgba(27, 147, 143, 0.05);
	text-align: left;
}
.lake-root .b-c-sections.dark .hcard-body {
	background: color-mix(in srgb, var(--brand, #2c8c84) 18%, #000);
}
.lake-root .b-c-sections .hcard-text {
	color: #000;
	font-size: 1.0625rem;
	line-height: 1.6;
}
.lake-root .b-c-sections .hcard-text :first-child { margin-top: 0; }
.lake-root .b-c-sections .hcard-text :last-child { margin-bottom: 0; }

.lake-root .b-c-sections .hcard-body p {
	margin: 0;
}

.lake-root .b-c-sections .hcard-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: #52737E;
	font-weight: 800;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.lake-root .b-c-sections .hcard-link-arrow {
	display: inline-flex;
	color: currentColor;
	transition: transform 0.18s ease;
}
.lake-root .b-c-sections .hcard-link:hover .hcard-link-arrow,
.lake-root .b-c-sections .hcard-link:focus-visible .hcard-link-arrow {
	transform: translateX(4px);
}

@media (max-width: 720px) {
	.lake-root .b-c-sections .hcards {
		grid-template-columns: 1fr;
	}
}

