/* ==========================================================
   Charter Services — isolated page styles
   Prefix: myjet-temp-charter-*
   ========================================================== */

/* ── Page wrapper ── */

.myjet-temp-page-charter {
	--content-max-width: var(--wp--style--global--content-size, 1210px);
	background: var(--wp--preset--color--white, #ffffff);
	color: var(--wp--preset--color--primary, #0f3449);
	margin-block-start: calc(-1 * var(--site-header-height, 126px));
	font-family: var(--wp--preset--font-family--primary, Helvetica, Arial, sans-serif);
	min-height: 100dvh;
	overflow-x: hidden;
}

.myjet-temp-page-charter .myjet-temp-page-entry-charter {
	display: grid;
	gap: 0;
	width: 100%;
	max-width: none;
}

/* ── Shell ── */

.myjet-temp-page-charter .myjet-temp-charter-shell {
	width: min(100% - 4rem, var(--content-max-width, 1210px));
	margin-inline: auto;
}

/* ── Shared heading font ── */

.myjet-temp-charter-hero__heading,
.myjet-temp-charter-card__title {
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-weight: 400;
	letter-spacing: -0.02em;
}

/* ==========================================================
   Hero
   ========================================================== */

.myjet-temp-page .myjet-temp-hero {
	background-image: var(--myjet-temp-hero-overlay), var(--myjet-temp-hero-image, none);
	background-position: center;
	background-size: cover;
	background-color: var(--wp--preset--color--primary, #0f3449);
	min-height: calc(100vh + 105px);
	min-height: calc(100svh + 105px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.myjet-temp-page-charter .myjet-temp-hero {
	--myjet-temp-hero-overlay: linear-gradient(180deg, rgba(0, 14, 21, 0.50) 0%, rgba(0, 9, 14, 0.50) 100%);
	background-image: var(--myjet-temp-hero-overlay), var(--myjet-temp-charter-hero-image-desktop, var(--myjet-temp-hero-image-desktop, none));
}

@media (max-width: 767px) {
	.myjet-temp-page-charter .myjet-temp-hero {
		background-image: var(--myjet-temp-hero-overlay), var(--myjet-temp-charter-hero-image-mobile, var(--myjet-temp-hero-image-mobile, none));
	}
}

.myjet-temp-page .myjet-temp-hero__copy {
	margin-inline: auto;
	text-align: center;
	color: var(--wp--preset--color--white, #ffffff);
}

.myjet-temp-page .myjet-temp-hero__copy h1 {
	font-size: clamp(3.5rem, 4vw, 5rem);
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	line-height: 1.2;
	margin: 10px auto;
	color: var(--wp--preset--color--white, #ffffff);
}

.myjet-temp-page .myjet-temp-hero__copy p {
	margin: 0 auto;
	max-width: 1200px;
	font-size: 17px;
	line-height: 1.4;
	color: var(--wp--preset--color--white, #ffffff);
}

.myjet-temp-page-charter .myjet-temp-charter-hero__inner {
	width: min(100% - 4rem, 1430px);
}

.myjet-temp-page-charter .myjet-temp-hero__copy h1 {
	font-size: clamp(30px, 4.5vw, 50px);
	line-height: 1.2;
	max-width: 1200px;
	margin-inline: auto;
}

.myjet-temp-page-charter .myjet-temp-hero__copy p {
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.4;
	max-width: 1200px;
}

/* ── Hero quote block ── */

.myjet-temp-hero .myjet-temp-hero__quote {
	margin-block-start: clamp(2.4rem, 4vw, 4rem);
	margin-inline: auto;
	width: min(100%, 1430px);
	max-width: 100%;
	position: relative;
	z-index: 2;
}

.myjet-temp-hero .myjet-temp-hero__quote .wp-block-myjet-blocks-request-quote {
	max-width: none;
}

/* ==========================================================
   Services list
   ========================================================== */

.myjet-temp-charter-service {
	padding-block: clamp(5rem, 8vw, 8rem);
}

/* ── Pair grid — each child keeps its own border-radius, no gap (matches about-us story pattern) ── */

.myjet-temp-charter-pair {
	display: grid;
	align-items: stretch;
}

@media (min-width: 900px) {
	.myjet-temp-charter-pair {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	.myjet-temp-charter-pair--reverse {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	.myjet-temp-charter-pair--reverse .myjet-temp-charter-card {
		order: 2;
	}

	.myjet-temp-charter-pair--reverse .myjet-temp-charter-media {
		order: 1;
	}
}

/* ── Text card ── */

.myjet-temp-charter-card {
	border-radius: 1.75rem;
	background: #f4f4f4;
	border: 1px solid rgba(15, 52, 73, 0.12);
	padding: clamp(4rem, 6vw, 8rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2rem;
}

.myjet-temp-charter-card__title {
	margin: 0;
	font-size: clamp(2.8rem, 3.2vw, 4rem);
	line-height: 1.08;
	color: var(--wp--preset--color--primary, #0f3449);
}

.myjet-temp-charter-card__copy {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.myjet-temp-charter-card__copy p {
	margin: 0;
	font-size: var(--wp--preset--font-size--default, 1.5rem);
	line-height: 1.8;
	color: rgba(15, 52, 73, 0.72);
}

.myjet-temp-charter-card__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 1rem 2.4rem;
	border-radius: 999px;
	background: var(--wp--preset--color--primary, #0f3449);
	color: var(--wp--preset--color--white, #ffffff);
	font-family: var(--wp--preset--font-family--primary, Helvetica, Arial, sans-serif);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.18s;
}

.myjet-temp-charter-card__link:hover {
	background: rgba(15, 52, 73, 0.82);
}

/* ── Image panel ── */

.myjet-temp-charter-media {
	border-radius: 1.75rem;
	overflow: hidden;
	min-height: clamp(28rem, 38vw, 52rem);
	background-color: #d9e0e4;
	background-image: var(--charter-media-image, none);
	background-size: cover;
	background-position: center;
}
