/* Hero */
.portfolio-hero {
	text-align: center;
}

.portfolio-hero__inner {
	max-width: 44rem;
}

.portfolio-hero h1 {
	margin-bottom: 1.5rem;
}

.portfolio-hero h1 em {
	font-style: italic;
}

.portfolio-hero p {
	color: var(--ink-muted);
	line-height: 1.7;
	margin-inline: auto;
}

/* Shared collection header */
.collection {
	padding-block: 2rem;
}

.collection__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1.5rem;
	border-bottom: 1px solid var(--border);
	padding-bottom: 1.25rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.collection__header h2 {
	margin-top: 0.5rem;
}

.collection__meta {
	color: var(--ink-muted);
}

.collection-split__number {
	font-family: var(--font-label);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-muted);
	display: block;
	margin-bottom: 0.5rem;
}

/* Collection 03's 3-card row: a CSS multi-column layout, no JS, that
   puts each .commercial__card (heading + label + the Grid Masonry
   plugin's own image block) into its own column so the 3 cards sit
   side by side. A Group block always wraps its children in its own
   .wp-block-group__inner-container, so column-count has to apply one
   level in from where you'd expect. */
.commercial__grid.wp-block-group > .wp-block-group__inner-container {
	column-count: 1;
	column-gap: var(--space-md);
}

@media (min-width: 560px) {
	.commercial__grid.wp-block-group > .wp-block-group__inner-container {
		column-count: 2;
	}
}

@media (min-width: 900px) {
	.commercial__grid.wp-block-group > .wp-block-group__inner-container {
		column-count: 3;
	}
}

/* Collection 02: weddings zigzag split — core Columns block now; widths
   come from the columns themselves, just centering + gap need overriding. */
.collection-split__grid.wp-block-columns {
	align-items: center;
	gap: 3rem;
}

@media (min-width: 900px) {
	.collection-split__grid.wp-block-columns {
		gap: 4rem;
	}
}

.collection-split__content h2 {
	margin-bottom: 1.25rem;
}

.collection-split__content p {
	color: var(--ink-muted);
	line-height: 1.7;
	margin-bottom: 2rem;
	max-width: 40ch;
}

/* Collection 03: commercial cards; each card is one masonry item, kept
   intact via break-inside so it doesn't split across the row's columns. */
.commercial__card.wp-block-group {
	break-inside: avoid;
	margin-bottom: var(--space-md);
}

.commercial__card h3 {
	font-size: 1.375rem;
	margin-bottom: 0.4rem;
}

.commercial__card .label {
	color: var(--ink-muted);
}

/* Process */
.process {
	background: var(--surface-sunken);
}

.process__heading {
	text-align: center;
	margin-bottom: 2rem;
}

.process__heading h2 em {
	font-style: italic;
}

/* .process__grid is a core Columns block; just gap needs overriding. */
.process__grid.wp-block-columns {
	gap: 3rem;
}

.process__number {
	display: block;
	font-family: var(--font-heading);
	font-style: italic;
	font-size: 1.75rem;
	color: var(--accent-ink);
	border-bottom: 1px solid var(--border);
	padding-bottom: 1rem;
	margin-bottom: 1.25rem;
}

.process__step h4 {
	margin-bottom: 0.75rem;
}

.process__step p {
	color: var(--ink-muted);
	line-height: 1.6;
}
