/* Our Partners (About) — production geometry at 1440 / 1024 / 768 / 390:
   5% padding (10% top/bottom on mobile), none on the right; two 674px columns with a 20px gap on desktop;
   image 392px tall beside the text, or stacked (390 / 180px tall, indented 60px, running to the right edge).
   The button takes the theme's hover (white, orange text) — the block-level colours used to shadow it. */

body .opx-partners.alignfull {
	padding-top: var(--wp--preset--spacing--section-x);
	padding-bottom: var(--wp--preset--spacing--section-x);
	padding-right: 0;
}

/* The About page forces its own side padding on every full-width section (!important, 72/76/20px); the partner image
   has to run to the right edge like production (5% left, 0 right at every width), so this section opts out. */
body main.opx-about .entry-content.wp-block-post-content > #sec-partners.alignfull {
	padding-inline: var(--wp--preset--spacing--section-x) 0 !important;
}

body .opx-partners .opx-partners__inner {
	column-gap: 20px;
}

body .opx-partners .opx-partners__content {
	padding-right: 0;
	max-width: none;
}

body .opx-partners .opx-partners__intro {
	max-width: 640.3px;
}

@media (min-width: 768px) {
	body .opx-partners .opx-partners__intro {
		line-height: 35px;
	}
}

body .opx-partners .opx-partners__title {
	width: 100%;
}

/* Production anchors the partner image top-left (the block centred it). */
body .opx-partners .opx-partners__media {
	background-position: 0 0;
}

body .opx-partners .opx-partners__actions .wp-block-button__link {
	font-size: var(--wp--preset--font-size--headline-s);
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body .opx-partners .opx-partners__actions .wp-block-button__link:hover,
body .opx-partners .opx-partners__actions .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

@media (min-width: 1025px) {
	body .opx-partners .opx-partners__media {
		min-height: 0;
	}

	body .opx-partners .opx-partners__actions {
		margin-top: 44.4px;
	}
}

@media (max-width: 1024px) {
	body .opx-partners .opx-partners__intro {
		max-width: 95%;
	}

	body .opx-partners .opx-partners__media {
		width: auto;
		min-height: 0;
		height: 390px;
		margin-left: 60px;
	}
}

@media (max-width: 767px) {
	body .opx-partners.alignfull {
		padding-top: calc(var(--wp--preset--spacing--section-x) * 2);
		padding-bottom: calc(var(--wp--preset--spacing--section-x) * 2);
	}

	body .opx-partners .opx-partners__media {
		height: 180px;
	}

	body .opx-partners .opx-partners__title {
		max-width: 95%;
	}

	body .opx-partners.alignfull h2.opx-partners__title.is-style-headline-xl {
		font-size: var(--wp--preset--font-size--hero-title-sm);
		line-height: 1.2;
	}
}
