img,
video,
iframe {
	max-width: 100%;
}

.e-con,
.e-con-inner,
.elementor-widget,
.elementor-widget-container {
	min-width: 0;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.contact__info p,
.blog__post-content-two .title,
.blog-post-content .title {
	overflow-wrap: anywhere;
}

@media (max-width: 1023.98px) {
	.container,
	.container-fluid,
	.custom-container {
		max-width: 100%;
	}

	.tg-header__area .container,
	.tg-header__top .container,
	.tg-header__top .custom-container {
		padding-right: 18px;
		padding-left: 18px;
	}

	.breadcrumb__area .container,
	.main-area > .container,
	.elementor .e-con-boxed > .e-con-inner {
		padding-right: 20px;
		padding-left: 20px;
	}

	.mobile-nav-toggler {
		display: grid;
		min-width: 44px;
		min-height: 44px;
		place-items: center;
		cursor: pointer;
	}

	.mobile-nav-toggler svg {
		width: 22px;
		height: 22px;
	}

	.tgmobile__menu-box {
		width: min(88vw, 360px);
		max-width: 100vw;
	}

	.tgmobile__menu .navigation a,
	.tgmobile__menu .close-btn,
	.tgmobile__menu .tgmobile__search button {
		min-height: 44px;
	}

	.breadcrumb__content .title {
		font-size: clamp(30px, 6vw, 42px);
		line-height: 1.15;
		overflow-wrap: anywhere;
	}

	.breadcrumb__content .breadcrumb {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 8px;
		line-height: 1.5;
	}

	.breadcrumb__shape {
		pointer-events: none;
	}

	.blog__area .col-70 {
		width: 100%;
		max-width: 100%;
	}

	.blog__area .blog-post-wrap,
	.blog__area .sidebar__wrap,
	.blog__area .sidebar__widget {
		min-width: 0;
		max-width: 100%;
	}

	.elementor-button,
	.wpcf7-form-control,
	.elementor-form input,
	.elementor-form select,
	.elementor-form textarea {
		max-width: 100%;
	}

	.contact__form-wrap .row > [class*="col-"] {
		width: 100%;
	}

	.scroll__top {
		right: 14px;
		bottom: 14px;
		width: 44px;
		height: 44px;
	}
}

@media (max-width: 767.98px) {
	:where(h1, h2, h3, h4, h5, h6) {
		text-wrap: balance;
	}

	.tg-header__top .row {
		row-gap: 6px;
	}

	.tg-header__top-info,
	.tg-header__top-right {
		flex-wrap: wrap;
		gap: 6px 14px;
	}

	.tg-header__top-info li,
	.tg-header__top-right li {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.tgmenu__nav {
		gap: 12px;
	}

	.tgmenu__nav .logo {
		min-width: 0;
		max-width: calc(100% - 64px);
	}

	.tgmenu__nav .logo img {
		display: block;
		width: auto;
		max-width: 100%;
		max-height: 64px;
		object-fit: contain;
	}

	.slider__area .slider__single {
		height: clamp(440px, 125vw, 540px) !important;
		min-height: 0;
	}

	.slider__area .slider__bg {
		height: 100%;
		background-position: center;
	}

	.slider__area .slider__single > .container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.slider__area .banner__content-three {
		max-width: 100%;
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.slider__area .banner__content-three .title {
		max-width: 18ch;
		font-size: clamp(30px, 8vw, 46px);
		line-height: 1.12;
		overflow-wrap: anywhere;
	}

	.slider__area .banner__content-three p {
		max-width: 58ch;
		font-size: 16px;
		line-height: 1.6;
	}

	.elementor .e-con-boxed > .e-con-inner {
		width: 100%;
		max-width: 100%;
	}

	.elementor .e-con {
		--width: 100%;
	}

	.blog-post-item,
	.team-item,
	.blog__post-two {
		width: 100%;
		max-width: 100%;
	}

	.blog-post-thumb img,
	.blog__post-thumb-two img,
	.team-thumb img,
	.elementor-widget-image img {
		max-width: 100%;
	}

	.blog__post-content-two .list-wrap {
		gap: 8px 12px;
	}

	.blog__post-content-two .list-wrap > li {
		min-width: 0;
	}

	.contact__form-wrap .form-grp {
		margin-bottom: 16px;
	}

	.contact__form-wrap textarea,
	.contact__form-wrap input,
	.wpcf7-form textarea,
	.wpcf7-form input:not([type="hidden"]) {
		width: 100%;
		min-width: 0;
		font-size: 16px;
	}

	.elementor-button,
	.wpcf7-submit,
	.contact__form-wrap button {
		min-height: 44px;
		white-space: normal;
	}

	.team-thumb {
		aspect-ratio: 4 / 5;
	}

	.team-social .social-toggle-icon {
		width: 44px;
		height: 44px;
	}

	.elementor-widget-wrap,
	.e-con-inner,
	.row > [class*="col-"] {
		min-width: 0;
	}

	.elementor-widget-text-editor p,
	.elementor-widget-heading p,
	.blog-post-item p {
		font-size: max(16px, 1em);
		line-height: 1.6;
	}

	.table-responsive,
	.elementor-widget-table-of-contents {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 575.98px) {
	.breadcrumb__area {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.breadcrumb__content .title {
		font-size: clamp(28px, 8vw, 36px);
	}

	.slider__area .slider__single {
		height: clamp(420px, 132vw, 500px) !important;
	}

	.slider__area .banner__content-three .title {
		font-size: clamp(28px, 8.5vw, 38px);
	}

	.tgmobile__menu-box {
		width: min(88vw, 340px);
	}

	.elementor-button-wrapper,
	.elementor-button-wrapper .elementor-button {
		max-width: 100%;
	}

	.scroll__top {
		right: 12px;
		bottom: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}
}
