/* ==========================================================================
   Splash & Beyond - Custom Responsive Overrides (iPad Landscape)
   This file survives Helix Ultimate template updates.
   Loaded directly by Helix Ultimate - no SCSS compilation needed.
   ========================================================================== */

/* Prevent horizontal overflow from negative-margin rows and shape dividers */
.body-wrapper {
	overflow-x: hidden;
}

/* ---- ALL PAGES: Mega menu flex layout fix (iPad landscape) ---- */

/* Full-width header container on tablets */
@media (min-width: 992px) and (max-width: 1199px) {
	#sp-header > .container {
		max-width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Force mega menu into single flex row with smaller font/padding (desktop only) */
@media (min-width: 992px) {
	.sp-megamenu-parent {
		display: flex !important;
		flex-wrap: nowrap;
		margin: 0;
		float: none;
	}
	.sp-megamenu-parent > li {
		float: none;
		white-space: nowrap;
	}
	.sp-megamenu-parent > li > a,
	.sp-megamenu-parent > li > span {
		font-size: 13px;
		padding: 0 6px;
	}
}

/* ---- HOME PAGE: Training section ---- */

/* Fix 5-column overflow on tablets (3 columns) */
@media (max-width: 1199px) {
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-nested-row > .sppb-row-column {
		flex: 0 0 33.33% !important;
		max-width: 33.33% !important;
	}
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-row {
		flex-wrap: wrap;
	}
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-nested-row {
		align-items: stretch;
	}
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-row-column {
		display: flex;
	}
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-column {
		height: 100% !important;
		display: flex;
		flex-direction: column;
	}
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-column-addons {
		flex: 1;
		display: flex;
		flex-direction: column;
	}
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-dynamic-content-image-wrapper {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 3 / 4 !important;
		overflow: hidden;
	}
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-dynamic-content-image {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}
}

/* Training section: 2 columns on tablet portrait */
@media (max-width: 991px) {
	#section-id-664943c1-35ef-48ed-94d4-7842195c9cb0 .sppb-nested-row > .sppb-row-column {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}
}

/* Training section heading: scale down 50px title */
@media (max-width: 1199px) {
	#sppb-addon-1610556796383 .sppb-addon-header .sppb-addon-title {
		font-size: 34px !important;
		line-height: 44px !important;
	}
}

/* ---- HOME PAGE: Hero section ---- */

/* Scale down buttons and tighten gap */
@media (max-width: 1199px) {
	#sppb-addon-506579e3-2a90-4d29-9cf0-bacd106d3d90 .sppb-addon-content {
		margin: -3px !important;
	}
	#sppb-addon-506579e3-2a90-4d29-9cf0-bacd106d3d90 .sppb-btn {
		font-size: 17px !important;
		padding: 18px 38px !important;
		margin: 3px !important;
	}
}

/* ---- HOME PAGE: Reviews section ---- */

/* Reduce top padding and center carousel arrows */
@media (max-width: 1199px) {
	#section-id-1610439317006 {
		padding-top: 160px !important;
	}
	#sppb-addon-1610646049121 .sppb-carousel-extended-nav-control {
		top: 0 !important;
		bottom: 0;
		margin: auto;
		height: 40px;
	}
	#sppb-addon-1610646049121 .sppb-carousel-extended-nav-control .nav-control.prev-control {
		margin-left: -45px !important;
	}
	#sppb-addon-1610646049121 .sppb-carousel-extended-nav-control .nav-control.next-control {
		margin-right: -45px !important;
	}
}

/* ---- ALL PAGES: CTA/Contact sections ---- */

/* Reduce top padding */
@media (max-width: 1199px) {
	#section-id-42499ad9-4bc9-42bb-81bb-bdffe3e702c3,
	#section-id-123abc5a-f916-469c-a9d8-986f3b4ee9fd,
	#section-id-461ced9f-87a9-4262-af28-9bec9b3e500a,
	#section-id-999c07fc-75a2-4005-8072-02b940fe0c79,
	#section-id-084b6595-5d11-4566-a666-3d3d39c743f9,
	#section-id-9567c7de-16c2-4f94-9b00-3aedfd27971e,
	#section-id-c377ee48-d300-45cc-a4ad-72cff9561849,
	#section-id-b2e1c796-be5e-4d6d-b195-285084a1965a,
	#section-id-e0dd8d56-e0a1-4b0d-8acc-d679bee9a216 {
		padding-top: 140px !important;
	}
	/* Center nested contact cards */
	#section-id-d1963aeb-7966-46ed-a450-83e3360d44d8,
	#section-id-9a950100-85b8-4f69-887f-b870cb841b55,
	#section-id-9c970ec8-6c3a-46b2-8218-064b78f544ca,
	#section-id-aa19accc-933a-4cbe-96c3-5c1506be6e33,
	#section-id-7447e47f-a234-4bef-8404-a4366ccedaaa,
	#section-id-7b361ee0-9b56-4917-b10a-da7b72de4b68,
	#section-id-62378894-1f9c-4cb5-95be-748811968d27,
	#section-id-335aba06-dee1-43dd-88a6-175ddbc7bd32,
	#section-id-864ba14f-a892-451f-9dde-d2ef44a1a9e4 {
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* ---- ALL PAGES: Sticky header z-index fix (moved from responsive.scss) ---- */

/* Prevents menu from appearing behind/under the sticky header */
@media (max-width: 991px) {
	.inner-wrapper-sticky {
		z-index: 1000;
	}
}
@media (max-width: 767px) {
	.inner-wrapper-sticky {
		z-index: 100;
	}
}

/* ---- ALL PAGES: Scale 75px hero titles ---- */

@media (max-width: 1199px) {
	#sppb-addon-1610688260408 .sppb-addon-header .sppb-addon-title,
	#sppb-addon-e88a950a-30d3-4a08-b9a9-400cd65ab5e8 .sppb-addon-header .sppb-addon-title,
	#sppb-addon-48c6dd5e-be02-4a42-9356-b671d7856988 .sppb-addon-header .sppb-addon-title,
	#sppb-addon-1610728453493 .sppb-addon-header .sppb-addon-title,
	#sppb-addon-9facaf3d-4250-4072-ae8f-2d830183891b .sppb-addon-header .sppb-addon-title,
	#sppb-addon-674b5b12-738b-4b86-ace3-957d67889451 .sppb-addon-header .sppb-addon-title,
	#sppb-addon-1438048b-1a6d-43fa-8124-4cce14b2b0f5 .sppb-addon-header .sppb-addon-title,
	#sppb-addon-e97d5006-45a8-4394-8a42-90d9f6a397d7 .sppb-addon-header .sppb-addon-title,
	#sppb-addon-50ebc7e8-e41c-49aa-a8eb-3c78de423f70 .sppb-addon-header .sppb-addon-title {
		font-size: 40px !important;
		line-height: 50px !important;
	}
}
