/* Section wrapper — full-width taupe @30% hairlines top and bottom on
   desktop, 19px below the slider's dot strip. On mobile only the top
   hairline remains (the last stat carries a short trailing divider). */
.bsw-space-stats.wp-block-group.alignfull {
	background: #fff;
	border-top: 1px solid rgba(140, 133, 123, 0.3);
	border-bottom: 1px solid rgba(140, 133, 123, 0.3);
	padding: 45px 100px !important;
	margin-block: 19px 0 !important;
}

.bsw-space-stats__row.wp-block-group {
	display: flex;
	align-items: center;
}

/* Each stat gets an equal quarter; a 1px × 60px divider sits on every
   internal boundary */
.bsw-space-stats__item.wp-block-group {
	flex: 1 1 0;
	min-width: 0;
	position: relative;
}

.bsw-space-stats__item:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 60px;
	background: rgba(140, 133, 123, 0.3);
}

/* Maximum Capacity — mobile only; on desktop it lives in the slider card */
.bsw-space-stats__item--capacity.wp-block-group {
	display: none;
}

p.bsw-space-stats__label {
	font-family: var(--wp--preset--font-family--cardo, 'Cardo', serif);
	font-size: 14px;
	line-height: 26px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #aa747c;
	margin: 0 !important;
}

/* Cormorant Medium (500) — matches the Figma's Cormorant Garamond Medium.
   The 500 weight is loaded via the Google Fonts request in functions.php. */
p.bsw-space-stats__value {
	font-family: var(--wp--preset--font-family--cormorant, 'Cormorant', serif);
	font-size: 40px;
	font-weight: 500;
	line-height: normal;
	color: var(--wp--preset--color--charcoal, #373737);
	margin: 8px 0 0 !important;
}

@media (max-width: 767px) {
	.bsw-space-stats.wp-block-group.alignfull {
		border-bottom: none;
		padding: 40px 20px !important;
		margin-block: 10px 0 !important;
	}

	.bsw-space-stats__row.wp-block-group {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.bsw-space-stats__item--capacity.wp-block-group {
		display: block;
	}

	/* Dividers become short centered hairlines below every stat,
	   including the last */
	.bsw-space-stats__item:not(:last-child)::after {
		content: none;
	}

	.bsw-space-stats__item.wp-block-group::before {
		content: "";
		display: block;
		width: 60px;
		height: 1px;
		background: rgba(140, 133, 123, 0.3);
		margin: 0 auto 20px;
	}

	.bsw-space-stats__item:first-child::before {
		content: none;
	}

	.bsw-space-stats__item:last-child::after {
		content: "";
		position: static;
		display: block;
		transform: none;
		width: 60px;
		height: 1px;
		background: rgba(140, 133, 123, 0.3);
		margin: 20px auto 0;
	}
}
