/*
 * CruiseOomph — Find a cruise (/cruises/): the intro band from the results
 * frame (Figma 71:3 desktop, 71:60 mobile) and the Widget under it (Widget
 * plan 2.4). Loaded only on /cruises/. Tokens come from theme.json; notice
 * primitives from components.css; the Widget frame's own styles ship with
 * the cruiseoomph/widgety block.
 */

.co-results { --co-results-gutter: var(--wp--custom--gutter--desktop); }

/* ---------------------------------------------------------------- */
/* Intro band (71:11)                                                */
/* ---------------------------------------------------------------- */

.co-results-intro {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	padding: 2.25rem var(--co-results-gutter);
	background: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--surface);
}

.co-results-intro__eyebrow { color: var(--wp--preset--color--champagne-soft); }

.co-results-intro__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: var(--wp--custom--font-variation--fraunces);
	font-size: clamp( 2.25rem, 1.5rem + 2.2vw, 3.125rem ); /* 36 → 50px */
	line-height: var(--wp--custom--line-height--heading);
	color: var(--wp--preset--color--surface);
}

.co-results-intro :focus-visible { outline: var(--wp--custom--state--button--focus-ring-on-dark); }

/* ---------------------------------------------------------------- */
/* The Widget under the band                                         */
/* ---------------------------------------------------------------- */

.co-find__body {
	padding: var(--wp--preset--spacing--50) var(--co-results-gutter) var(--wp--preset--spacing--70);
}

/* ---------------------------------------------------------------- */
/* Intermediate (768–1023) and mobile (71:60)                        */
/* ---------------------------------------------------------------- */

@media (max-width: 1023px) {
	.co-results { --co-results-gutter: var(--wp--custom--gutter--tablet); }
}

@media (max-width: 767px) {
	.co-results { --co-results-gutter: var(--wp--custom--gutter--mobile); }

	.co-results-intro { padding-block: 1.5rem; gap: 0.875rem; }
}
