/* HIPAA / PHIPA hero: illustration height and the button share of the row (Elementor 33% beside the Clutch badge). */
.opx-hipaa-compliance-american .opx-hipaa-compliance-american__media {
	min-height: 522px;
	background-repeat: no-repeat;
}

@media (max-width: 1024px) {
	.opx-hipaa-compliance-american .opx-hipaa-compliance-american__media {
		min-height: 70vh;
	}
}

@media (max-width: 767px) {
	.opx-hipaa-compliance-american .opx-hipaa-compliance-american__media {
		min-height: 40vh;
	}
}

@media (min-width: 768px) {
	.opx-hipaa-compliance-american .wp-block-buttons {
		flex: 0 0 33%;
		max-width: 33%;
	}

	.opx-hipaa-compliance-american .wp-block-button,
	.opx-hipaa-compliance-american .wp-block-button__link {
		width: 100%;
	}
}

/* Production button row (HIPAA + PHIPA): top-aligned; the link keeps its own width (197px) inside the 33% column on desktop.
   Tablet: the Clutch badge takes 150px (768) → 173px (1024) at the row end and the button the rest (it wraps at 768).
   Mobile: badge 20px under the button. Paragraph → button: 40px desktop, 20px tablet, 35px mobile. */
html body .opx-hipaa-compliance-american .opx-stack-m:has(> .wp-block-buttons) { align-items: flex-start; margin-top: 20px !important; }
html body .opx-hipaa-compliance-american .wp-block-button__link { width: auto; }
@media (max-width: 1024px) and (min-width: 768px) {
	html body .opx-hipaa-compliance-american .opx-stack-m:has(> .wp-block-buttons) { margin-top: 0 !important; justify-content: space-between; }
	html body .opx-hipaa-compliance-american .wp-block-buttons { flex: 1 1 auto; max-width: none; min-width: 0; }
	html body .opx-hipaa-compliance-american .wp-block-button { width: auto; max-width: 100%; }
	html body .opx-hipaa-compliance-american .opx-clutch { flex: 0 0 clamp(150px, calc(150px + (100vw - 768px) * 0.0898), 173px); overflow: hidden; }
}
@media (max-width: 767px) {
	html body .opx-hipaa-compliance-american .opx-stack-m:has(> .wp-block-buttons) { margin-top: 15px !important; row-gap: 20px; }
}
/* Desktop: keep the label on one line, or flex sizing measures the row against a word-wrapped button (72px instead of 52px) and lifts the centred copy. */
@media (min-width: 1025px) {
	html body .opx-hipaa-compliance-american .wp-block-button__link { white-space: nowrap; }
}

/* Desktop: illustration sits against the right edge (production background-position 100% 50%; the block markup carries 50% 50% inline). */
@media (min-width: 1025px) {
	.opx-hipaa-compliance-american .opx-hipaa-compliance-american__media { background-position: 100% 50% !important; }
}
