/* HB Site Kit feature: hero-note-fit (1 Dec 2026). Divi 5 has desktop / tablet (<=980px) / phone breakpoints only, so the
   hero "Photo note" keeps its desktop absolute position down to 981px, where the photo column is too narrow and the note
   lands on "See the work" and the intro text (981-1179px, e.g. iPad landscape 1024). In that range only, the note is put
   back in the flow right under the photo (as on tablet) and the two logo rows stay on one line each.
   Class on the Group "Hero photo column" (page 49). Above 1179px and up to 980px nothing changes. */
@media (min-width: 981px) and (max-width: 1179px) {
	/* the note: in the flow, under the photo (the logo rows move after it) */
	.hb-hero-note-fit > .et_pb_text {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		bottom: auto !important;
		left: auto !important;
		transform: none !important;
	}
	.hb-hero-note-fit > .et_pb_group { order: 1; }

	/* the logo rows: one line each; the logos shrink a little instead of wrapping */
	.hb-hero-note-fit > .et_pb_group {
		flex-wrap: nowrap !important;
		column-gap: 10px !important;
	}
	.hb-hero-note-fit > .et_pb_group > .et_pb_image {
		flex: 0 1 auto;
		min-width: 0;
	}
	.hb-hero-note-fit > .et_pb_group > .et_pb_image img {
		max-width: 100%;
		height: auto;
	}
}
