/* Long-form text: page and post content, and the group style of the same name. Direct
   children only, so plugin output nested in a block keeps its own sizes. */
.is-style-prose > h2 {
	margin-block-start: var(--wp--preset--spacing--60);
	font-size: var(--wp--preset--font-size--title-small);
	line-height: 1.25;
	letter-spacing: -.016em;
}

.is-style-prose > h3 {
	margin-block-start: var(--wp--preset--spacing--50);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
}

.is-style-prose > .wp-block-table th,
.is-style-prose > .wp-block-table td {
	border-color: var(--wp--preset--color--border);
}

.is-style-prose > .wp-block-table th {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--heading);
}

/* V9 hero section layout (pattern "onwardsky/hero"). */

.os-hero {
	position: relative;
	overflow: hidden;
}

@media (min-width: 1024px) {
	/* Tinted panel behind the booking card. */
	.os-hero::before {
		content: "";
		position: absolute;
		inset: 0 0 0 calc(50% + 120px);
		background: var(--wp--preset--color--surface);
		border-bottom-left-radius: 16px;
	}
}

.os-hero__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

/* Beats core's flow-layout block gap, which would offset the flex items. */
.os-hero .os-hero__inner > * {
	margin-block: 0;
}

@media (min-width: 720px) {
	.os-hero__inner {
		gap: 24px clamp(48px, 6.5vw, 88px);
	}
}

.os-hero__copy {
	flex: 1 1 400px;
	min-width: 0;
	max-width: 600px;
}

.os-hero__copy > :first-child {
	margin-top: 0;
}

.os-hero__copy h1 {
	text-wrap: balance;
}

.os-hero__lead {
	max-width: 540px;
	text-wrap: pretty;
}

/* V9 section 11: FAQ (pattern "onwardsky/faq", core Details blocks). */

.os-faq {
	padding-top: clamp(56px, 7vw, 104px);
	padding-bottom: clamp(56px, 7vw, 104px);
	line-height: normal;
}

.os-faq .os-faq__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px 72px;
}

.os-faq .os-faq__inner > *,
.os-faq .os-faq__head > *,
.os-faq .os-faq__list > * {
	margin-block: 0;
}

.os-faq__head {
	flex: 1 1 300px;
	min-width: 0;
	max-width: 400px;
}

@media (min-width: 1024px) {
	.os-faq__head {
		position: sticky;
		top: 100px;
	}
}

.os-faq__head h2 {
	text-wrap: balance;
}

.os-faq__list {
	flex: 2 1 560px;
	min-width: 0;
	border-top: 1px solid var(--wp--preset--color--border);
}

.os-faq .wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.os-faq .wp-block-details summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	min-height: 44px;
	padding: 20px 0;
	font-size: clamp(17px, 1.5vw, 19px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--wp--preset--color--heading);
	cursor: pointer;
}

.os-faq .wp-block-details summary:hover {
	color: var(--wp--preset--color--accent);
}

/* Plus/minus icon: the vertical bar folds away when open, as in V9. */
.os-faq .wp-block-details summary::after {
	content: "";
	flex: 0 0 20px;
	height: 20px;
	margin-top: 2px;
	background:
		linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat;
	color: var(--wp--preset--color--accent);
	transition: background-size .25s ease;
}

.os-faq .wp-block-details[open] summary::after {
	background-size: 16px 2px, 2px 0;
}

.os-faq .wp-block-details > p {
	margin: 10px 0 0;
	padding-right: clamp(0px, 5vw, 56px);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--wp--preset--color--secondary);
}

.os-faq .wp-block-details > summary + p {
	margin-top: 0;
}

.os-faq .wp-block-details > p:last-child {
	padding-bottom: 22px;
}

.os-faq .wp-block-details a {
	font-weight: 600;
}

/* V9 section 12: final CTA (pattern "onwardsky/final-cta"). */

.os-cta {
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: clamp(48px, 6vw, 88px);
	background: var(--wp--preset--color--surface);
	line-height: normal;
}

.os-cta .os-cta__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px 56px;
	padding: clamp(26px, 4.5vw, 60px);
	border-radius: 28px;
	background: var(--wp--preset--color--accent);
}

.os-cta .os-cta__card > *,
.os-cta .os-cta__copy > *,
.os-cta .os-cta__side > *,
.os-cta .os-cta__buy > * {
	margin-block: 0;
}

.os-cta__copy {
	flex: 1.2 1 420px;
	min-width: 0;
}

.os-cta__copy h2 {
	font-size: clamp(32px, 4.2vw, 56px);
	line-height: 1.03;
	color: #fff;
	text-wrap: balance;
}

.os-cta .os-cta__copy p {
	max-width: 540px;
	margin-top: 16px;
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.55;
	color: #CCDDDD; /* V9 #C9DBDB, lightened to 4.55:1 on teal (WCAG AA) */
	text-wrap: pretty;
}

.os-cta__side {
	display: flex;
	flex: 1 1 360px;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.os-cta .os-cta__strips {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	list-style: none;
	border-radius: 14px;
	background: #0F5A60;
}

.os-cta__strips li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 8px;
	background-color: #0C4C51;
	background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-position: 0 50%;
	background-size: 100% 50%;
	font-size: clamp(14px, 1.3vw, 16.5px);
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #FFD3BA;
}

.os-cta__strips li::after {
	content: "";
	flex: 0 0 26px;
	height: 26px;
	margin-left: auto;
	border-radius: 5px;
	background: var(--wp--preset--color--accent-bright) url(../../images/check-dark.svg) center / 15px no-repeat;
}

.os-cta .os-cta__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}

.os-cta .os-cta__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #C8E6E1;
}

.os-cta__price strong {
	font-size: clamp(40px, 4.4vw, 56px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	color: #fff;
}

.os-cta__buttons {
	flex: 1 1 220px;
}

.os-cta__buttons .wp-block-button {
	width: 100%;
}

.os-cta__buttons .wp-block-button__link {
	width: 100%;
	height: 58px;
	padding: 0 28px;
	font-size: 18px;
}

.os-cta .os-cta__help {
	font-size: 15.5px;
	color: #D7E4E4;
}

.os-cta__help a {
	font-weight: 700;
	color: #BDEFEA;
}

.os-cta__help a:hover {
	color: #fff;
}
