/**
 * Home hero height (interim).
 *
 * The same rule that lives in the refreshed theme's global.css, carried here
 * because this install is still on the pre-refresh build -- its global.css is
 * 18KB against the refresh's 79KB, so copying that file would ship a great
 * deal of unrelated, unshipped work. Delete this stylesheet and its enqueue in
 * wp-content/mu-plugins/wyp-stories-hero-interim.php once global.css ships.
 *
 * The inline player itself needs nothing here: video-button.js is already on
 * this install and enqueued site-wide from functions.php, and the button's
 * styling comes from video-trigger-interim.css, which the same mu-plugin loads
 * wherever is-style-video-trigger appears in the content.
 *
 * @package ashp-wyp
 */

/* FY27 home hero: pinned to the 1440x740 design ratio, floored at the theme's
   old 629px. Not aspect-ratio -- it resolves both ways and blows out the width. */
@media (min-width: 769px) {
	body.home #content > .wp-block-cover:first-child {
		/* max() keeps the 629px floor inside the height itself, so it does not
		   depend on out-cascading the theme's `min-height: 429px !important`. */
		height: max(629px, calc(100vw * 740 / 1440));
	}
}
