/* Aircraft single template — self-contained styles. */

.myjet-temp-page-aircraft {
	--content-max-width: var(--wp--style--global--content-size, 1210px);
	--myjet-temp-hero-image: none;
	--myjet-temp-hero-overlay: linear-gradient(180deg, rgba(0, 14, 21, 0.9) 0%, rgba(0, 9, 14, 0) 50%, rgba(0, 14, 21, 0.9) 72.18%);
	font-family: var(--wp--preset--font-family--primary, Helvetica, Arial, sans-serif);
	background: var(--wp--preset--color--white, #ffffff);
	color: var(--wp--preset--color--primary, #0f3449);
	margin-block-start: calc(-1 * var(--site-header-height, 126px));
	padding-bottom: clamp(4rem, 6vw, 6rem);
	min-height: 100dvh;
}

.myjet-temp-page-aircraft .myjet-temp-page-entry-aircraft {
	display: grid;
	gap: clamp(4rem, 6vw, 6rem);
}

.myjet-temp-page-aircraft .myjet-temp-about-shell,
.myjet-temp-page-aircraft .myjet-temp-aircraft-shell {
	width: min(100% - 2rem, var(--wp--style--global--content-size, 1210px));
	margin-inline: auto;
}
 
/* ---------- Hero (mirrors destination single) ---------- */
.myjet-temp-page-aircraft .myjet-temp-hero {
	background-image: var(--myjet-temp-hero-overlay), var(--myjet-temp-hero-image, none);
	background-position: center;
	background-size: cover;
	min-height: calc(100vh + 105px);
	min-height: calc(100svh + 105px);
	display: flex;
	align-items: end;
	position: relative;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-hero__inner {
	padding: clamp(5rem, 9vw, 9rem) 0;
    width: min(100%, var(--wp--style--global--wide-size, 1400px));
	margin-inline: auto;
}

.myjet-temp-page-aircraft .myjet-temp-hero__copy {
	padding-left: 6rem;
	color: var(--wp--preset--color--white, #ffffff);
	opacity: 0.8;
	text-transform: uppercase;
}

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

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

.myjet-temp-page-aircraft .myjet-temp-hero__quote {
	margin-block-start: clamp(2.4rem, 4vw, 4rem);
	margin-inline: auto;
	width: min(100%, var(--wp--style--global--wide-size, 1400px));
	max-width: 100%;
	position: relative;
	z-index: 2;
}

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

.myjet-temp-page-aircraft .myjet-temp-about-shell.myjet-temp-about-destination__footer {
	width: 100%;
	position: absolute;
	bottom: 0;
	color: #fff;
	opacity: 0.9;
	display: flex;
	justify-content: space-around;
}

.myjet-temp-page-aircraft .myjet-temp-about-destination__footer-item {
	width: 100%;
	text-align: center;
	padding: 10px 0;
}

.myjet-temp-page-aircraft .myjet-temp-about-destination__footer-item + .myjet-temp-about-destination__footer-item {
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.myjet-temp-page-aircraft .myjet-temp-about-destination__footer-item p {
	margin: 0;
}

/* ---------- Summary ---------- */

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__inner	{
	margin-block: 6rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__title {
	margin: 0 0 1.5rem;
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 3vw, 3.4rem);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__copy {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__copy p {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.7;
	color: rgba(15, 52, 73, 0.82);
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__specs {
	margin: 0;
	padding-top: 10rem;
	padding-bottom: 2.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 600px) {
	.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__specs {
		grid-template-columns: repeat(4, 1fr);
	}
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__spec {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-left: 1rem;
	border-left: 1px solid #0F3449;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__spec-label {
	margin: 0;
	font-size: 1.5rem;
	color: #0F3449CC;
;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__spec-value {
	margin: 0;
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-size: 2.5rem;
}

/* ---------- Gallery (slick) ---------- */

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery{
	max-width: 99vw;
	margin: 0 auto;
}
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery__slider {
	position: relative;
}

/* Static fallback — when there are 3 or fewer images we skip slick init
   (JS adds .is-static) and lay them out as a plain row. */
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery__slider.is-static {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery__slider.is-static .myjet-temp-aircraft-gallery__slide {
	flex: 1 1 0;
	min-width: 0;
	padding: 0;
}

/* perspective context for the 3D-tilt effect on side slides */
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-list {
	perspective: 1400px;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-track {
	display: flex;
	align-items: center;
	transform-style: preserve-3d;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery__slide {
	padding: 0 0.75rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery__img {
	display: block;
	width: 100%;
	height: clamp(22rem, 32vw, 38rem);
	object-fit: cover;
	border-radius: 0;
}

/* tilt + scale-down for non-centered slides */
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-slide {
	transition: transform 0.4s ease, opacity 0.4s ease;
	transform-origin: center center;
	transform: scale(0.85);
}

/* slide BEFORE the current = visual left → tilt right edge inward */
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-slide:has(+ .slick-current) {
	transform: rotateY(18deg) scale(1);
}

/* slide AFTER the current = visual right → tilt left edge inward */ 
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-current + .slick-slide {
	transform: rotateY(-18deg) scale(1);
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-slide.slick-current {
	transform: rotateY(0) scale(0.95);
	opacity: 1;
}

/* Slick arrows — square, no radius, white arrow icon visible */
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-prev,
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-next {
	width: 4rem;
	height: 4rem;
	background: var(--wp--preset--color--primary, #0f3449);
	border-radius: 0;
	z-index: 2;
	top: auto;
	bottom: -1.5rem;
	transform: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-prev {
	left: calc(50% - 12rem);
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-next {
	right: calc(50% - 12rem);
}

/* Override slick.css defaults that hid the arrow text:
   - position: fixed
   - width/height 28x49 with background-size
   - color: transparent / font-size: 0 inherited from button
   - rotate: 180deg on slick-next */
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-prev::before,
.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-next::before {
	position: static;
	width: auto;
	height: auto;
	background: transparent;
	font-family: inherit;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--wp--preset--color--white, #ffffff);
	opacity: 1;
	rotate: 0deg;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-prev::before {
	content: "\2190";
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-next::before {
	content: "\2192";
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-dots {
	position: relative;
	bottom: auto;
	margin-top: clamp(6rem, 7vw, 7rem);
	display: flex !important;
	justify-content: center;
	gap: 0.6rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-dots li {
	width: auto;
	height: auto;
	margin: 0;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-dots li button {
	width: 0.8rem;
	height: 0.8rem;
	padding: 0;
	background: rgba(15, 52, 73, 0.25);
	border-radius: 50%;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-dots li button::before {
	content: none;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-gallery .slick-dots li.slick-active button {
	background: var(--wp--preset--color--primary, #0f3449);
}

/* ---------- Floor plan ---------- */
.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan {
	text-align: center;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__image {
	margin: 0 auto;
	max-width: 90%;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__image img {
	display: block;
	width: 100%;
	height: auto;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin {
	margin: 0;
	padding: 5rem 0;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	text-align: left;
}

@media (max-width: 599px) {
	.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin {
		flex-direction: column;
		padding-bottom: 0;
	}
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin-heading {
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-size: 2.5rem;
	font-weight: 500;
	flex: 1;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin-label {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1;
	color: rgba(15, 52, 73, 1);
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin-value {
	margin: 0;
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-size: 2.2rem;
}

/* ---------- CTA ---------- */

section.myjet-temp-aircraft-section.myjet-temp-aircraft-cta {
    margin: 10rem auto;
	text-align: center;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-cta__title {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-size: 30px;
	line-height: 1.2;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-cta__copy {
	margin: 0 auto 2rem;
	font-size: 1.4rem;
	line-height: 1.7;
	color: rgba(15, 52, 73, 0.78);
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-cta__btn {
	display: inline-block;
	margin-top: 2rem;
	padding: 2.2rem 3rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-light, #b1eaff);
	color: var(--wp--preset--color--primary, #0f3449);
	font-size: 2rem;
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	text-decoration: none;
}

/* ---------- Similar Jets ---------- */

.myjet-temp-aircraft-section.myjet-temp-aircraft-similar{
	margin-bottom: 10rem;
}


.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__title {
	margin: 0 0 5rem;
	text-align: center;
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-size: 45px;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

@media (min-width: 760px) {
	.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	overflow: hidden;
	background: var(--wp--preset--color--white, #ffffff);
	color: var(--wp--preset--color--primary, #0f3449);
	text-decoration: none; 

	&:hover .myjet-temp-aircraft-similar__card-head h3{
		color: #fff;
		transition: color .5s ease;
	}

	&:hover .myjet-temp-aircraft-similar__card-head::before{
		opacity: 0;
		transition: opacity .5s ease;
	}
}

/* Top half — featured image with a frosted gradient overlay and the title on top. */
.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-head {
	position: relative;
	flex: 1 1 auto;
	min-height: clamp(24rem, 30vw, 32rem);
	padding: clamp(2rem, 3vw, 2.5rem);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #d9e0e4;
	background-image: var(--myjet-temp-aircraft-similar-card-image, none);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-head::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 1;
	transition: opacity .5s ease;
	background: linear-gradient(180deg, rgba(221, 219, 224, 0.83) 0%, rgba(255, 255, 255, 0.83) 33.65%, rgba(168, 161, 153, 0.83) 75.48%);
	pointer-events: none;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 2.8vw, 3rem);
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary, #0f3449);
}

/* Bottom half — solid dark-blue panel with specs and the See more link. */
.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-body {
	background: var(--wp--preset--color--primary, #0f3449);
	color: var(--wp--preset--color--white, #ffffff);
	padding: 3rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-radius: 1.5rem;
    margin-top: -10px;
    z-index: 1;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-specs {
	margin: 0;
	display: grid;
	gap: 0.65rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-specs > div {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	font-size: 1.6rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-specs dt {
	margin: 0;
	color: #FFFFFFB2;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-specs dd {
	margin: 0;
	color: var(--wp--preset--color--white, #ffffff);
	font-weight: 500;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--wp--preset--color--white, #ffffff);
	font-family: var(--wp--preset--font-family--secondary, "PT Serif", serif);
	font-size: 2rem;
	margin-top: 2rem;
}

.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-cta::after {
	content: "";
	display: block;
	width: 9rem;
	height: 0.5rem;
	flex: 0 0 9rem;
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='5' viewBox='0 0 90 5' fill='none'%3E%3Cpath d='M90 2.49252L85.7302 0V2.10369H78.6338H0V2.85145H78.6338H85.7302V5L90 2.49252Z' fill='white'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: contain;
}

/* ============================================================
   Mobile responsive
   ============================================================ */

@media (max-width: 599px) {
	.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__inner{
		margin-block: 0;
	}
	.myjet-temp-page-aircraft .myjet-temp-hero{
		/* align-items: center; */
		justify-content: center;
	}

	.myjet-temp-page-aircraft {
		padding-bottom: 4rem;
	}

	section.myjet-temp-aircraft-section.myjet-temp-aircraft-cta {
		margin-top: 5rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-page-entry-aircraft {
		gap: 3rem;
	}

	/* Hero */
	.myjet-temp-page-aircraft .myjet-temp-hero {
		min-height: auto;
	}

	.myjet-temp-page-aircraft .myjet-temp-hero__copy {
		padding-left: 0;
		opacity: 1;
		text-align: center;
	}

	.myjet-temp-page-aircraft .myjet-temp-hero__copy h1 {
		font-size: 3.2rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-hero__copy p {
		font-size: 13px;
		padding-inline: 1rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-hero__quote {
		margin-block-start: 2rem;
		padding-inline: 1rem;
	}

	/* Trust chips footer — 2x2 */
	.myjet-temp-page-aircraft .myjet-temp-about-shell.myjet-temp-about-destination__footer {
		flex-wrap: wrap;
		row-gap: 0;
	}

	.myjet-temp-page-aircraft .myjet-temp-about-destination__footer-item {
		width: 50%;
		font-size: 1.1rem;
		padding: 8px 4px;
	}

	.myjet-temp-page-aircraft .myjet-temp-about-destination__footer-item:nth-child(3) {
		border-left: 0;
	}

	/* Summary */
	.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__title {
		font-size: 2.6rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__copy p {
		font-size: 1.4rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-summary__specs {
		grid-template-columns: 1fr 1fr;
		padding-top: 3rem;
	}

	/* Floor plan */

	.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__image{
		max-width: 100%;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin-heading {
		text-align: center;
		font-size: 40px;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin-label{
		font-size: 1.8rem;
	}
	.myjet-temp-page-aircraft .myjet-temp-aircraft-floor-plan__cabin-value{
		font-size: 2.5rem;
	}

	/* CTA */
	.myjet-temp-page-aircraft .myjet-temp-aircraft-cta__title {
		font-size: 2.6rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-cta__copy {
		font-size: 1.4rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-cta__btn {
		display: block;
		width: 100%;
		padding: 1.4rem 2rem;
		font-size: 1.6rem;
		text-align: center;
	}

	/* Similar Jets */
	section.myjet-temp-aircraft-section.myjet-temp-aircraft-similar {
		margin-bottom: 4rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__title {
		margin-bottom: 2.5rem;
		font-size: 2.8rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-head {
		min-height: 22rem;
		padding: 1.5rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-title {
		font-size: 2.2rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-body {
		padding: 2rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-cta {
		font-size: 1.6rem;
	}

	.myjet-temp-page-aircraft .myjet-temp-aircraft-similar__card-cta::after {
		width: 6rem;
		flex: 0 0 6rem;
		background-size: auto;
	}
}
