/* Services mega — same responsive panel rules as Academy mega */

/*
 * Full-viewport mega panel. Do NOT use width:100% here — that locks to the
 * 1300px .horizontal-menu-wrap and leaves a dead strip on the right.
 * The7 sets left: -{rail offset}; we force 100vw so the white bar spans edge-to-edge.
 */
.menu-item-22275 > .the7-e-sub-nav.the7-e-mega-menu-sub-nav,
.menu-item-22275 .the7-e-mega-menu-sub-nav {
	width: 100vw !important;
	max-width: 100vw !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	overflow-x: hidden !important;
	overflow-y: visible !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	box-shadow: 0 18px 40px rgba(11, 31, 58, 0.18) !important;
}

.elementor-19446,
.elementor-19446.the7-e-mega-menu-content,
.menu-item-22275 .the7-e-mega-menu-content {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
}

.elementor-19446 .elementor-section-wrap,
.elementor-19446 > .e-con,
.elementor-19446 .e-con-boxed,
.elementor-19446 .elementor-element-3ca5d7fd {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
}

.elementor-19446 .e-con-inner {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 28px clamp(16px, 3vw, 56px) !important;
	gap: clamp(20px, 2.5vw, 40px) !important;
	--gap: clamp(20px, 2.5vw, 40px) !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
}

.elementor-19446 .e-con.e-child {
	min-width: 0 !important;
	box-sizing: border-box !important;
}

/* Services column fills leftover space; CTA stays fixed */
.elementor-19446 .elementor-element-77e1264,
.elementor-19446 .elementor-element-25bb6d7 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 auto !important;
	--container-widget-width: 100% !important;
	--container-widget-flex-grow: 1 !important;
	--container-widget-align-self: stretch !important;
}

.elementor-19446 .elementor-element-4ad1e5d {
	flex: 0 0 280px !important;
	width: 280px !important;
	max-width: 280px !important;
	--container-widget-width: 100% !important;
}

.elementor-19446 .elementor-element-3ca5d7fd {
	--padding-top: 0px !important;
	--padding-bottom: 0px !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
}

/* Match Academy square thumbs (76px) */
.elementor-19446 .elementor-image-div {
	width: 76px !important;
	min-width: 76px !important;
	max-width: 76px !important;
	height: 76px !important;
	flex: 0 0 76px !important;
	margin: 0 !important;
}

.elementor-19446 .elementor-image-div img,
.elementor-19446 .img-css-resize-wrapper img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	aspect-ratio: 1 / 1 !important;
}

/* Kill Elementor width-initial lock so tiles fill the services column */
.elementor-19446 .elementor-element-rwecssgrid,
.elementor-19446 .elementor-widget-the7_image_box_grid_widget,
.elementor-19446 .elementor-widget-the7_image_box_grid_widget.elementor-widget__width-initial,
.elementor-19446 .elementor-widget-the7_image_box_grid_widget .elementor-widget-container,
.elementor-19446 .the7-box-grid-wrapper,
.elementor-19446 .dt-icon-boxes-shortcode {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 auto !important;
	align-self: stretch !important;
	--container-widget-width: 100% !important;
}

/* Responsive services grid: fill width, no empty side strip, no overflow */
.elementor-19446 .elementor-widget-the7_image_box_grid_widget .dt-css-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 28px !important;
	row-gap: 22px !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

.elementor-19446 .elementor-widget-the7_image_box_grid_widget .dt-css-grid > * {
	min-width: 0 !important;
	max-width: 100% !important;
}

.elementor-19446 .the7-image-box-wrapper,
.elementor-19446 .the7-box-wrapper,
.elementor-19446 .box-content-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	gap: 14px !important;
	column-gap: 14px !important;
	align-items: center !important;
}

.elementor-19446 .box-content {
	min-width: 0 !important;
	flex: 1 1 auto !important;
	padding: 0 !important;
}

.elementor-19446 .box-heading {
	margin: 0 !important;
	line-height: 1.25 !important;
	overflow-wrap: anywhere;
}

.elementor-19446 .elementor-element-rwecssh1,
.elementor-19446 .elementor-widget-the7-heading {
	margin-bottom: 1.25rem !important;
	width: 100% !important;
	max-width: 100% !important;
}

.elementor-19446 .elementor-element-rwecssh1 .the7-heading-title,
.elementor-19446 .elementor-widget-the7-heading .the7-heading-title {
	margin-bottom: 0;
}

.elementor-19446 .elementor-widget-the7_button_widget {
	margin-top: 0.75rem;
}

@media (max-width: 1400px) {
	.elementor-19446 .elementor-widget-the7_image_box_grid_widget .dt-css-grid {
		column-gap: 22px !important;
	}
}

@media (max-width: 1100px) {
	.elementor-19446 .e-con-inner {
		flex-wrap: wrap !important;
		gap: 24px !important;
		padding: 20px 18px !important;
	}

	.elementor-19446 .elementor-element-77e1264,
	.elementor-19446 .elementor-element-25bb6d7 {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.elementor-19446 .elementor-element-4ad1e5d {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.elementor-19446 .elementor-widget-the7_image_box_grid_widget .dt-css-grid {
		column-gap: 18px !important;
	}
}

@media (max-width: 767px) {
	.elementor-19446 .elementor-widget-the7_image_box_grid_widget .dt-css-grid {
		grid-template-columns: 1fr !important;
		row-gap: 16px !important;
	}
}
