/**
 * Container, gutters, section rhythm — breakpoints from theme spec §3.4.
 */

:root {
	--uw-gutter: 16px;
	--uw-container: 100%;
	--uw-section-space: clamp(3rem, 2rem + 5vw, 6.5rem);
	--uw-radius-panel: var(--wp--custom--radius--panel, 20px);
	--uw-radius-card: var(--wp--custom--radius--card, 12px);
	--uw-radius-image: var(--wp--custom--radius--image-card, 10px);
	--uw-radius-pill: var(--wp--custom--radius--pill, 999px);
	/* Fern accent scale — used by existing accent UI (underlines, pills, markers). */
	--uw-accent: var(--wp--preset--color--fern, #7bc47c);
	--uw-accent-soft: color-mix(in srgb, var(--uw-accent) 28%, #ffffff);
	--uw-accent-strong: color-mix(in srgb, var(--uw-accent) 72%, #2a3738);
}

@media (min-width: 480px) {
	:root {
		--uw-gutter: 20px;
	}
}

@media (min-width: 768px) {
	:root {
		--uw-gutter: 24px;
	}
}

@media (min-width: 1024px) {
	:root {
		--uw-gutter: 32px;
	}
}

@media (min-width: 1280px) {
	:root {
		--uw-container: 1200px;
	}
}

@media (min-width: 1440px) {
	:root {
		--uw-container: 1320px;
	}
}

@media (min-width: 1600px) {
	:root {
		--uw-container: 1440px;
	}
}

@media (min-width: 1920px) {
	:root {
		--uw-container: 1680px;
	}
}

.uw-section {
	padding-block: var(--uw-section-space);
}

.uw-section--mist {
	background-color: var(--wp--preset--color--mist);
}

.uw-section--ink {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.wp-block-group.is-style-mist {
	background-color: var(--wp--preset--color--mist);
}

.wp-block-group.is-style-ink {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.wp-block-group.is-style-paper {
	background-color: var(--wp--preset--color--paper);
}

/* Breadcrumb line-height: designed 0.82 on single-line desktop; safer when wrapping */
.has-breadcrumb-font-size {
	line-height: 0.82;
}

@media (max-width: 767px) {
	.has-breadcrumb-font-size {
		line-height: 1.2;
	}
}

/* Project Updates empty state — also in layout so it always loads (block CSS can stick on ?ver=0.1.0). */
.uw-project-updates .uw-project-updates__empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	min-height: 220px;
	margin: 0;
	padding: 40px 36px;
	background: #f6f5f2;
	border-radius: 10px;
	box-sizing: border-box;
	width: 100%;
}

.uw-project-updates .uw-project-updates__empty-title {
	margin: 0;
	font-family: "Fraunces", var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-style: normal;
	font-weight: 400;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.15;
	color: #2a3738;
}

.uw-project-updates .uw-project-updates__empty-text {
	margin: 0;
	max-width: 36rem;
	font-family: "Source Sans 3", var(--wp--preset--font-family--source-sans-3, sans-serif);
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.45;
	color: #2a3738;
}

.uw-project-updates__main--empty .uw-project-updates__list {
	margin-top: 0;
}

@media (max-width: 1199px) {
	.uw-project-updates .uw-project-updates__empty {
		min-height: 180px;
		padding: 32px 28px;
	}

	.uw-project-updates .uw-project-updates__empty-title {
		font-size: 28px;
	}

	.uw-project-updates .uw-project-updates__empty-text {
		font-size: 18px;
	}
}
