/* Low-risk responsive safeguards for Ritechco public pages. */
html,
body {
	max-width: 100%;
	overflow-x: clip;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

.elementor-row,
.elementor-column,
.elementor-column-wrap,
.elementor-widget-wrap,
.content-row,
.site-footer-custom .elementor-row {
	min-width: 0;
}

.elementor-widget-text-editor,
.ct-text-editor,
.ct-heading .item--title,
.ct-heading .item--sub-title,
.site-footer-custom {
	overflow-wrap: anywhere;
}

.elementor-widget-text-editor table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.page-id-41 .wpcf7-form .row {
	row-gap: 20px;
}

.page-id-41 .wpcf7-form label,
.page-id-41 .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	max-width: 100%;
}

.page-id-41 .wpcf7-form textarea {
	min-height: 160px;
	resize: vertical;
}

@media (max-width: 1199px) {
	#ct-header-elementor .ct-logo img {
		width: auto;
		max-width: min(190px, 52vw);
		height: auto;
	}

	#ct-menu-mobile {
		gap: 8px;
	}
}

@media (max-width: 767px) {
	.page-id-41 .wpcf7-form input,
	.page-id-41 .wpcf7-form select,
	.page-id-41 .wpcf7-form textarea {
		font-size: 16px;
	}

	.page-id-2392 .elementor-section > .elementor-container,
	.page-id-33 .elementor-section > .elementor-container,
	.page-id-35 .elementor-section > .elementor-container,
	.page-id-41 .elementor-section > .elementor-container,
	.page-id-349 .elementor-section > .elementor-container,
	.page-id-587 .elementor-section > .elementor-container {
		max-width: 100%;
	}

	.page-id-2392 .ct-heading .item--title,
	.page-id-33 .ct-heading .item--title,
	.page-id-35 .ct-heading .item--title,
	.page-id-41 .ct-heading .item--title,
	.page-id-349 .ct-heading .item--title,
	.page-id-587 .ct-heading .item--title {
		font-size: clamp(28px, 8.5vw, 34px) !important;
		line-height: 1.2 !important;
	}

	.page-id-349 .ct-heading .item--text-below {
		font-size: clamp(36px, 14vw, 54px) !important;
		line-height: 1 !important;
	}

	.page-id-35 .ct-case-studies .item--image.bg-image {
		height: clamp(360px, 125vw, 500px) !important;
	}

	.ct-button-wrapper .btn,
	.elementor-button,
	.site-footer-custom a {
		white-space: normal;
	}

	.site-footer-custom .elementor-column,
	.site-footer-custom .elementor-inner-column {
		min-width: 0;
	}
}

@media (max-width: 480px) {
	.elementor-section.elementor-section-boxed > .elementor-container {
		padding-right: 12px;
		padding-left: 12px;
	}

	.wpcf7-form input[type="submit"],
	.wpcf7-form button {
		max-width: 100%;
		white-space: normal;
	}

	#ct-header-elementor .ct-header-branding {
		max-width: calc(100% - 115px);
	}
}
