.sob-section {
	--sob-ink: #102d3a;
	--sob-muted: #38535f;
	--sob-accent: #006762;
	--sob-line: #cddfdf;
	--sob-soft: #edf6f5;
	box-sizing: border-box;
	margin-block: 0 2.5rem;
	color: var(--sob-ink);
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

.sob-section .wp-block-heading {
	margin: 0 0 .55em;
	color: inherit;
	font-family: inherit;
	font-weight: 750;
	line-height: 1.12;
	overflow-wrap: anywhere;
}

.sob-section h1.wp-block-heading {
	font-size: clamp(2rem, 4.2vw, 3.75rem);
	letter-spacing: -.05em;
}

.sob-section h2.wp-block-heading {
	font-size: clamp(1.55rem, 2.8vw, 2.35rem);
	letter-spacing: -.035em;
}

.sob-section h3.wp-block-heading {
	font-size: 1.2rem;
}

.sob-section p {
	margin: 0 0 1rem;
	max-width: 68ch;
	color: var(--sob-muted);
}

.sob-section .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
}

.sob-section .wp-block-button__link {
	display: inline-block;
	padding: .65rem 1rem;
	border: 1px solid transparent;
	border-radius: .4rem;
	background: var(--sob-accent);
	color: #fff;
	font: inherit;
	font-weight: 650;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.sob-section .wp-block-button__link:hover {
	background: var(--sob-ink);
	color: #fff;
}

.sob-section a:focus-visible {
	outline: 3px solid #d79419;
	outline-offset: 3px;
}

.sob-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	overflow: hidden;
	border-radius: .9rem;
	background: var(--sob-ink);
	color: #fff;
}

.sob-hero .sob-intro {
	padding: clamp(1.35rem, 4vw, 3.5rem);
}

.sob-hero p {
	color: #d9ebed;
	font-size: 1.13rem;
}

.sob-hero .wp-block-button__link {
	border-color: #abe5da;
	background: #abe5da;
	color: #102d3a;
}

.sob-hero .wp-block-button + .wp-block-button .wp-block-button__link,
.sob-hero .wp-block-button__link:hover {
	background: transparent;
	color: #fff;
}

.sob-hero .wp-block-image {
	height: 100%;
	min-height: 16rem;
	margin: 0;
}

.sob-hero .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 34rem;
	object-fit: cover;
}

.sob-section .sob-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .85rem;
	margin: 1rem 0;
}

.sob-section .sob-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .55rem;
	min-width: 0;
	padding: 1.15rem;
	border: 1px solid var(--sob-line);
	border-radius: .65rem;
	background: #fff;
}

.sob-section .sob-card h3,
.sob-section .sob-card p {
	margin: 0;
}

.sob-section .sob-card .wp-block-buttons {
	margin-top: auto;
}

.sob-notice,
.sob-contact,
.sob-formats {
	padding: clamp(1.15rem, 3vw, 2rem);
	border-radius: .75rem;
	background: var(--sob-soft);
}

.sob-notice {
	border-inline-start: .3rem solid #d79419;
	background: #fff5df;
}

.sob-section .sob-photos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .85rem;
	margin-top: 1rem;
}

.sob-photos .wp-block-image {
	margin: 0;
}

.sob-photos .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: .65rem;
}

@media (max-width: 850px) {
	.sob-section .sob-grid,
	.sob-section .sob-photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.sob-hero,
	.sob-section .sob-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sob-hero .wp-block-image {
		min-height: 0;
	}

	.sob-hero .wp-block-image img {
		max-height: 17rem;
	}
}
