.container {
	width: 100% !important;
}

/* Megamenu ---------------------------------------------------------------------------------------------------------------------> */

.navArrow-icon {
	width: 24px;
	height: 24px;
	background: url(http://www.tbiclinics.com/wp-content/uploads/2024/12/Arrow.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: block;
}

.site-header {
	border-bottom: 0px !important;

	&:before {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 1px;
		z-index: 1;
		background-color: var(--border-color);
	}

	#menu-header-menu * {
		cursor: pointer;
	}
}

.post_card_main {
	.post-image img {
		border-radius: 6px !important;
		min-height: 375px;
		object-fit: contain;
		width: 310px;
	}

	.post-content {
		gap: 16px !important;

		.post-card-btn {
			margin-top: 24px;
		}

		a:not(.post-card-btn) {
			text-transform: capitalize;
			text-decoration: none !important;

			h2 {
				font-size: var(--h5) !important;
				text-decoration: none !important;
			}
		}
	}
}

/* hover effect of mega menu*/
.mega-menu {
	height: auto;
	overflow: hidden;
	transition: height 0.5s ease-in-out !important;

	&.active {
		height: fit-content;
	}

	&.active:hover {
		height: fit-content;
	}
}

.mega-menu {
	.nav-menu-cont {
		display: flex;
		flex-direction: column;
		justify-content: space-between !important;
		gap: 40px !important;

		& p {
			/* 			position: absolute; */
			bottom: 0px;
			right: 260px;
			font-family: "Work Sans";
			font-size: 14px;
			font-style: italic;
			font-weight: 400;
		}
	}

	.menu-list {
		display: grid !important;
		grid-template-columns: unset;
		/* grid-template-rows: repeat(3, minmax(0, 1fr)) !important; */
		/* grid-auto-flow: column; */
	}

	.image-text-card.has-image {
		max-width: 444px !important;
		height: 375px;
	}

	.wp-block-group__inner-container {
		height: 100%;

		/* 		.mega-item{
		height: 100%;
	} */
	}
}

#genesis-nav-primary .menu-item:hover a:before {
	width: calc(100% - 50%);
}

#menu-item-3872,
#menu-item-3877 {
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease-in-out;
	position: relative;
	margin-right: 10px;

	.navArrow-icon {
		position: absolute;
		right: -4px;
		rotate: 180deg;
		transition: all 0.3s ease-in-out;
	}

}

#menu-item-3872:has(:hover) .navArrow-icon {
	rotate: 0deg;
	transition: all 0.3s ease-in-out;
}

#menu-item-3877:has(:hover) .navArrow-icon {
	rotate: 0deg;
	transition: all 0.3s ease-in-out;
}

.menu-item-3872.active:hover {
	transition: all 0.3s ease-in-out;

	&>.navArrow-icon {
		rotate: 0deg;
		transition: all 0.3s ease-in-out;
	}
}

.menu-item-3877 .active:hover {
	transition: all 0.3s ease-in-out;

	.navArrow-icon {
		rotate: 0deg;
		transition: all 0.3s ease-in-out;
	}
}

.classic-nav-menu-block {
	.menu-item {
		align-items: center;
		border-radius: 6px;
		display: flex;
		gap: 15px;
		padding: 12px 1rem;
		background: transparent !important;
		transition: background 0.3s ease-in-out;
		text-decoration: none !important;

	}

	.menu-list {
		display: flex;
		flex-direction: column;
		gap: 25px 30px;
		padding: 0 !important;
		margin: 0 !important;
	}

	.menu-item:hover,
	.menu-item.active {
		background-color: hsla(0, 0%, 100%, .15) !important;
	}
}

/* Mega Menu */
.mega-menu {
	background: var(--primary-theme-color);
	width: 100%;
	position: absolute !important;
	top: 90px;
	z-index: 1999;
}

.mega-menu .mega-item {
	background: var(--primary-theme-color);
	display: none;
}

.mega-menu .mega-item.mega-menu-1>*:not(.nav-menu-cont, button) {
	display: none !important;
}

.mega-menu .mega-item.mega-menu-1 .nav-menu-cont {

	flex-basis: 100% !important;
	max-width: 100% !important;

}

.mega-menu-container {
	padding-top: 40px;
	padding-bottom: 40px;
}

.classic-nav-menu-block {
	& .menu-item {
		.menu-item-link {
			display: block !important;
			font-weight: 600 !important;
			margin-bottom: 0px !important;
			text-decoration: none !important;
			line-height: 180%;
		}
	}
}

.mega-menu-1 .menu-list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	/* grid-template-rows: repeat(3, minmax(0, 1fr)); */
}

.mega-menu-2 .menu-list {
	display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.custom-container {
	max-width: 1400px;
	margin: 0 auto;
	padding-left: 20px !important;
	padding-right: 20px !important;
}

.mega-menu .card-content h2 {
	color: #fff !important;
	font-size: var(--h5) !important;
}

.image-text-btn:hover img {
	filter: none !important;
}

/* Site Header---------------------------------------------------------------------------- */

.site-header {
	padding: 0px;
	background-color: transparent;
	transition: all 0.3s ease-in-out;
	border-bottom: 1px solid #CABFFF !important;
	background: #F8F6FF;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* .site-header:has(#genesis-mobile-nav-primary:checked) {
height: auto;
transition: all 0.3s ease-in-out;
} */
.site-header .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

#menu-header-menu li:not(.primary-btn) a {
	font-size: var(--p);
	font-weight: 500;
	opacity: 0.8;
	transition: all 0.3s ease-in-out;
	padding-top: 38px;
	padding-bottom: 38px;
	/* 	display:flex;
	align-items:center;
	justify-content:center; */
}

#menu-header-menu li:not(.primary-btn) a:focus,
#menu-header-menu li:not(.primary-btn) a:active {
	outline: none;
	box-shadow: none;
}

#menu-header-menu li:hover a,
#menu-header-menu li.hasMegaActive a {
	opacity: 1;
	color: var(--primary-theme-color);
	position: relative;
}

#menu-header-menu li:not(.primary-btn) a::before {
	content: '';
	position: absolute;
	bottom: 32px;
	left: 50%;
	width: 0;
	transform: translateX(-50%);
	height: 2px;
	background-color: var(--primary-theme-color);
	opacity: 0;
	transition: all 0.5s ease-in-out;
}

#menu-header-menu li:hover a::before,
#menu-header-menu li.active a::before,
#menu-header-menu li.hasMegaActive a::before {
	opacity: 1;
	width: calc(100% - 50%) !important;
}

#menu-header-menu li.current-menu-item a {
	opacity: 1;
	color: var(--primary-theme-color);
	font-weight: 600;
	width: fit-content !important;
	position: relative !important;
}

#menu-header-menu li.hasMega a {
	padding-right: 20px !important;
}

#menu-header-menu li.current-menu-item a::before {
	opacity: 1;
	transform: translateX(-50%) scale(1);
}

header .wrap {
	padding: 0 20px;
}

.site-header {
	&>.wrap {
		max-width: 1400px;
		margin: 0 auto;
		padding:  0 20px;
	}

	/* 	animation: animation_fadedown 2s ease forwards; */
}

@media screen and (max-width:1600px) {
	.site-header {
		&>.wrap {
			width: 1400px;
			margin: 0 auto;
		}

		/* 		animation: animation_fadedown 2s ease forwards; */
	}
}

@media screen and (max-width: 1440px) {
	.site-header {
		&>.wrap {
			max-width: 1200px;
		}
	}
}


@media screen and (max-width: 1366px) {
	.custom-container {
		max-width: 1200px;
	}

	#gform_1 {
		& .gform_footer {
			.arrow_icon {
				right: 15px !important;

			}
		}
	}
}


@media screen and (min-width: 1200px) {
	header .wrap {
		padding: 0;
	}
}


@media screen and (max-width: 1280px) {
	.post_card_main {
		flex-direction: row !important;
		align-items: flex-start !important;
	}

	.mega-item {
		position: relative;
		height: 100%;

		&:not(.mega-menu-2)>.wp-block-column:last-child {
			position: absolute;
			width: 50%;
			right: 20px;
			/* 			top:200px !important; */
			max-width: 390px;
		}

		&>.wp-block-column:last-child {
			/* position: absolute; */
			width: 50%;
			right: 20px;
		}
	}

	.mega-menu>.wp-block-group__inner-container {
		height: 100%;
	}

	.classic-nav-menu-block {
		& .menu-item {
			.menu-item-description {
				margin: 0 !important;
				font-size: 15px;
			}
		}
	}
}



@media screen and (max-width:1200px) {
	.footer-menus {
		gap: 60px 40px !important;
	}
}

@media screen and (max-width: 1024px) {
	.site-header {
		&>.wrap {
			padding: 0 20px;
		}
	}
}

.site-header.scrolled {
	background-color: #fff;
}


@keyframes animation_fadedown {
	0% {
		top: -100px;
		opacity: 0;
	}

	100% {
		top: 32px;
		opacity: 1;
	}
}

@media screen and (max-width: 1024px) {
	.wp-custom-logo .title-area {
		max-width: 160px !important;
	}

	.post_card_main {
		.post-image img {
			max-width: 200px;
			max-height: 100%;
			min-height: 100%;
		}
	}

	.mega-menu {
		top: 88px;

		&.active {
			height: fit-content;
		}

		&.active:hover {
			height: fit-content;
		}

		.nav-menu-cont {
			flex-basis: calc(55% - 20px) !important;
			gap: 32px;
		}
	}

	.post_card_main {
		& .post-content {
			.post-card-btn {
				margin-top: 4px;
			}
		}
	}

	.mega-item {
		position: relative;
		height: 100%;

		&:not(.mega-menu-2)>.wp-block-column:last-child {
			position: absolute;
			width: 50%;
			right: 20px;
			max-width: 300px;

		}

		&>.wp-block-column:last-child {
			/* position: absolute;
			width: 50%;
			right: 20px;
			top: 165px;
			transform: translateY(-50%); */
		}
	}

	.mega-menu {
		.image-text-card.has-image {
			height: 295px;
		}
	}

	.image-text-card .card-content {
		h2 {
			/* 		font-size: 1.375rem !important; */
			font-weight: 400 !important;
		}

		p {
			font-size: 0.875rem !important;
			text-align: center;
		}
	}

	.image-text-card .card-content {
		gap: 10px;
		padding: 15px;
	}

	.mega-menu>.wp-block-group__inner-container {
		height: 100%;
	}

	.mega-menu .mega-item {
		height: 100%;
		max-height: calc(100vh - 90px);
		overflow-y: auto;

		&>.wp-block-column:not(.nav-menu-cont) {
			align-items: center !important;
		}
	}

	.site-header {
		&:before {
			content: none;

		}
	}
}

@media screen and (max-width: 980px) {
	.mega-item .image-text-btn {
		font-size: 0.875rem;
		height: 43px !important;
		padding: 10px 18px !important;
		max-height: 43px !important;
		min-height: 43px !important;
	}
}

@media screen and (max-width: 840px) {
	.mega-menu-container {
		flex-direction: column !important;
		gap: 60px;
	}

	.post_card_main {
		flex-direction: row !important;
		align-items: flex-start !important;
	}
}



/* Footer ------------------------------------------------------------------------------------*/

.footer-menus {
	.menu-description {
		display: none
	}
}

.social_icon a {
	transform: translateY(0px);
	transition: transform 0.5s ease-in-out;
	text-decoration: none !important;
	padding-top: 15px;
	img{
		    min-width: 25px;
    min-height: 25px;
	}
}

.social_icon a:hover {
	transform: translateY(-5px);
}

.site-footer .footer-menu-div::before {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #ffffff50;
	bottom: 0;
	transform-origin: left;
	transform: scaleX(0);
	transition: 1.2s ease;
	transition-delay: 1s;
}

.site-footer .animation-fadeUp .footer-menu-div::before {
	transform: scaleX(1);
}

.site-footer {
	background: url('http://www.tbiclinics.com/wp-content/uploads/2024/11/Footer.jpg');
	background-size: cover;
	background-repeat: no-repeat;

	* {
		color: var(--light);
	}

	.gform_wrapper.gravity-theme .gform_footer button {
		margin-bottom: 0px !important;
	}

	.footer-para {
		max-width: 77%;
	}

	.custom-footer {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;

		.footer-header {
			
			display: flex;
			flex-direction: column;
			gap: 10px;
			justify-content: center;
			align-items: center;
			display: none;

			.gravity-theme {
				width: 83%;
				margin-top: 20px;
			}

			.footer-heading {
				line-height: 140%;
				color: var(--light);
				max-width: 100%;
			}
		}

		/* Footer Menus	*/
		.footer-menu .topBar {
			display: flex;
			flex-direction: column;
			gap: 16px;
		}

		.footer-menu-div {
			margin: 60px 0;
			padding-bottom: 32px;
			/* border-bottom: 1px solid #ffffff50; */
			width: 100%;
			position: relative;
		}

		.footer-menus {
			display: grid;
			grid-template-columns: repeat(4, minmax(0, 1fr));
			flex-wrap: wrap;
			gap: 20px !important;
			max-width: 1100px;
			margin: 0 auto;
			width: 100%;
			position: relative;

			.footer-menu {
				display: flex;
				flex-direction: column;
				gap: 16px;
			}

			.footer-menu:last-child {
				justify-content: space-between;
			}

			.footer-contact {
				li {
					display: flex;
					align-items: center;
					gap: 10px;
				}
			}

			p {
				font-size: var(--p);
				font-weight: 600;
				text-align: left;
			}

			ul {
				display: flex;
				flex-direction: column;
				gap: 16px;

				li {
					text-align: left;
					transition: all 0.3s ease-in-out !important;
					padding: 0;

					a {
						text-decoration: none;
						font-size: var(--p);
						text-align: left;
						display: block;
						width: fit-content;
						position: relative;
						line-height: 180%;

						&:before {
							content: '';
							width: 100%;
							height: 1px;
							background: var(--light);
							position: absolute;
							bottom: 0;
							left: 0;
							scale: 0;
							opacity: 0.6;
							transition: scale 0.3s ease-in-out;
						}

						&:hover {
							color: var(--light);

							&:before {
								scale: 1;
							}
						}
					}
				}
			}
		}

		.footer-copyright {
			display: flex;
			justify-content: space-between;
			align-items: center;
			width: 100%;
			gap: 20px;

			a {
				text-decoration: none;
			}

			a:hover {
				color: var(--light);
				text-decoration: underline;
			}
		}
	}
}

@keyframes y-angel {
	0% {
		opacity: 0;
		transform: translateY(-20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}

.footer-menu-div .footer-menu>*:not(.social_icon) {
	opacity: 0;

}

.footer-menu-div .footer-menu .footer-contact,
.footer-menu-div .footer-menu #menu-our-services,
.footer-menu-div .footer-menu #menu-legal,
.footer-menu-div .footer-menu #menu-company {
	opacity: 0;

}

#footer.animation-fadeUp .footer-menu-div .footer-menu>*:not(.social_icon),
#footer.animation-fadeUp .footer-menu-div .footer-menu .footer-contact,
#footer.animation-fadeUp .footer-menu-div .footer-menu #menu-our-services,
#footer.animation-fadeUp .footer-menu-div .footer-menu #menu-legal,
#footer.animation-fadeUp .footer-menu-div .footer-menu #menu-company {
	animation: y-angel .8s ease forwards;
	animation-delay: 1s;
}

#footer.animation-fadeUp .footer-menu-div .footer-menu .footer-contact,
#footer.animation-fadeUp .footer-menu-div .footer-menu #menu-our-services,
#footer.animation-fadeUp .footer-menu-div .footer-menu #menu-legal,
#footer.animation-fadeUp .footer-menu-div .footer-menu #menu-company {

	/* animation-delay: 1.6s !important; */
}

/* .footer-menu-div .footer-menu:nth-child(1)>p{
	animation-delay: 1.1s !important;
}
.footer-menu-div .footer-menu:nth-child(2)>p{
	animation-delay: 1.2s !important;
}
.footer-menu-div .footer-menu:nth-child(3)>p{
	animation-delay: 1.3s !important;
}
.footer-menu-div .footer-menu:nth-child(4) .topBar{
	animation-delay: 1.4s !important;
} */
.footer-menu-div .footer-menu #menu-company {
	animation-delay: 1.2s !important;
}

.footer-menu-div .footer-menu #menu-our-services {
	animation-delay: 1.3s !important;
}

.footer-menu-div .footer-menu .footer-contact {
	animation-delay: 1.4s !important;
}

.footer-menu-div .footer-menu #menu-legal {
	animation-delay: 1.5s !important;
}

.gform_submission_error {
	font-size: var(--p) !important;
}

#gform_1 {
	position: relative;
	/* 	margin-top: 20px; */

	#input_1_3 {
		background-color: var(--light) !important;
		border: 1px solid #ddd;
		color: var(--primary-font-color);
		font-size: var(--p);
		font-weight: 400;
		padding: 20px;
		width: 100%;
		min-height: 48px;
		border-radius: 6px !important;
		max-height: 48px;
	}

	#input_1_3::placeholder {
		color: var(--placeholder-color) !important;
	}

	#validation_message_1_3 {
		display: none;
	}

	.gform_footer {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translatey(-50%);
		border-radius: 6px !important;
		margin-top: 0 !important;

		button {
			margin-bottom: 0px !important;
			border-radius: 6px !important;
			position: relative;
			max-height: 46px;
			height: 46px !important;
			border: 2px solid var(--light) !important;
			padding: 7px 24px !important;

			&>span {
				padding-right: 30px;
				width: 100%;
			}
		}

		button:hover {
			background-color: var(--light) !important;
			border: 1px solid var(--primary-theme-color);
			color: var(--primary-theme-color) !important;
		}

		button:hover~.arrow_icon {
			filter: brightness(0) saturate(100%) invert(26%) sepia(27%) saturate(3385%) hue-rotate(228deg) brightness(74%) contrast(125%);
		}

		.arrow_icon {
			width: 24px;
			height: 24px;
			background: url('http://www.tbiclinics.com/wp-content/uploads/2024/11/arrow-1.svg');
			background-size: contain;
			background-repeat: no-repeat;
			display: block;
			position: absolute;
			top: 50%;
			transform: translatey(-50%);
			right: 0px !important;
			pointer-events: none;
		}
	}
}

.call-icon {
	background-image: url('http://www.tbiclinics.com/wp-content/uploads/2024/11/callIcon.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;
}

.mail-icon {
	background-image: url('http://www.tbiclinics.com/wp-content/uploads/2024/11/mail.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.fax-icon {
	background-image: url('https://neuronesttbi.com/wp-content/uploads/2025/06/Fax.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.loc-icon {
	background-image: url('http://www.tbiclinics.com/wp-content/uploads/2024/11/location_icon.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;
}

.heart_icon {
	background-image: url('http://www.tbiclinics.com/wp-content/uploads/2024/11/Services.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;
}

.gkitf0a49a {
	padding-bottom: 60px;
}

@media screen and (max-width:1279px) {

	#gform_1 {
		& .gform_footer {
			& button {
				&>span {
					padding-right: 17px;
				}
			}
		}
	}

	#gform_1 {
		& .gform_footer {
			.arrow_icon {
				right: 10px !important;
			}
		}
	}
}

@media screen and (max-width:1024px) {
	.classic-nav-menu-block {
		& .menu-item {
			.menu-item-link {
				font-size: 14px;
			}

			.menu-item-description {
				margin: 0 !important;
				font-size: 14px;
			}
		}
	}

	.classic-nav-menu-block {
		.menu-item {
			padding: 0 10px;
		}

		.footer-menu {
			min-width: 184px;
		}

		.gform_footer {
			.arrow_icon {
				right: 20px !important;
			}
		}

		#gform_1 {
			& .gform_footer {
				button:hover {
					background-color: var(--primary-theme-color) !important;
				}
			}
		}

		.site-footer .footer-menu.topBar {
			display: flex !important;
			flex-direction: column !important;
			gap: 16px !important;
		}

		.footer-header {
			width: 50%;
		}

		.site-footer {
			.custom-footer {
				.footer-menus {
					justify-content: flex-start;
					gap: 0;

				}
			}
		}
	}

	.site-footer {
		& .custom-footer {
			& .footer-header {
				.gravity-theme {
					width: 100%;
				}
			}
		}
	}
}

@media (max-width: 980px) {
	.classic-nav-menu-block {
		.menu-list {
			gap: 20px 10px;

		}
	}

	.mega-menu {
		.image-text-card.has-image {
			height: 295px;
		}
	}

	.image-text-card.has-image .card-content {
		padding: 15px !important;
		height: fit-content;
		gap: 5px !important;

		& a {
			margin-top: 10px;
		}

		h2 {
			/* 			font-size:22px !important; */
		}

		p {
			font-size: 14px !important;
			text-align: center;
		}
	}

	.classic-nav-menu-block {
		.menu-item {
			padding: 12px;
		}
	}

	.site-footer {
		& .custom-footer {
			.footer-menus {
				grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
				gap: 40px 20px !important;
			}
		}
	}

	.classic-nav-menu-block {
		.menu-item {
			gap: 10px;
			max-width: 300px;

		}
	}
}

@media (max-width: 840px) {
	.classic-nav-menu-block {
		.menu-item {
			padding: 10px 5px;
		}
	}

	.mega-menu {
		.nav-menu-cont {
			flex-basis: calc(70% - 20px) !important;
			max-width: calc(66% - 20px) !important;

			.menu-list {
				gap: 10px 20px;
			}
		}
	}

	.mega-menu-2 .menu-list {
		display: flex !important;
		flex-direction: column;
	}

	.mega-item {
		&:not(.mega-menu-2)>.wp-block-column:last-child {
			max-width: 240px !important;
		}
	}

	.image-text-card.has-image .card-content {
		& h2 {
			text-align: center;
			font-size: 18px !important;
		}

		& a {
			font-size: 12px !important;

			& img {
				width: 18px;
				height: 18px;
			}
		}
	}

	.image-text-card.has-image .card-content {
		bottom: -2px;

	}

	.site-footer {
		.custom-footer {
			padding: 0;

			.footer-menus {
				grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

				.footer-menu {
					min-width: unset;
					gap: 32px;
				}
			}
		}
	}

	#menu-header-menu li:hover a::before {
		opacity: 0;
	}

	.footer-header {
		width: 60%;
	}

	#gform_1 {
		& .gform_footer {
			button {
				max-height: 50px !important;
			}
		}
	}

	.mega-item {
		&>.wp-block-column:last-child {
			position: absolute;
			width: 50%;
			right: 20px;
			top: 10%;
			transform: unset;
		}
	}
}


@media screen and (max-width: 768px) {

	/* 	Header Reponsive */

	header {
		height: 100% !important;
		max-height: 80px !important;
		display: flex !important;
		align-items: center;
		position: relative !important;
		overflow: hidden;
		transition: .5s ease;
	}

	header:has(.menu-toggle.activated) {
		max-height: 100vh !important;
		position: fixed !important;
	}

	header:has(.menu-toggle.activated) .genesis-responsive-menu {
		/* display: block !important; */
	}

	.mega-menu {
		&.active:hover {
			/* height: calc(100vh - 50px); */
			height: 700px;
			overflow: auto;
		}
	}

	.mega-item {
		display: none !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 0 !important;

		&:not(.mega-menu-2)>.wp-block-column:last-child {
			position: relative;
			transform: none;
			top: 0 !important;
		}
	}

	.site-header {
		&>.wrap {
			padding: 0px;
		}
	}

	.footer-header {
		width: 70%;
	}

	.footer-menu {
		min-width: unset;
		gap: 16px !important;
	}

	.footer-menus-inner {
		flex-direction: column;
		gap: 40px;
	}

	.footer-menus {
		flex-direction: row !important;
		min-width: fit-content;
		gap: 32px !important;
	}

	.site-footer {
		& .custom-footer {
			& .footer-menus {
				ul {
					display: flex;
					gap: 12px;
				}
			}
		}

		.footer_logo {
			img {
				width: 180px;
			}
		}
	}

	#menu-header-menu li:not(.primary-btn) a::before {
		bottom: 10px;
	}

	.mega-menu-1 .menu-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#menu-item-3872,
	#menu-item-3877 {
		position: static !important;
		display: flex;
		justify-content: center;
		align-items: center;

		.navArrow-icon {
			position: absolute !important;
			right: 41px;
			rotate: -90deg;

		}
	}
		.site-footer {
		.custom-footer {
			padding: 0;

			.footer-menus {
				grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

				.footer-menu {
					min-width: unset;
					gap: 32px;
				}

				.footer-menu:nth-child(1) {
					order: 1;
				}

				.footer-menu:nth-child(2) {
					order: 3;
				}

				.footer-menu:nth-child(3) {
					order: 2;
				}

				.footer-menu:nth-child(4) {
					order: 4;
				}
			}
		}
	}
}

@media screen and (max-width: 767px) {


}

@media screen and (max-width: 640px) {
	.site-footer {
		& .custom-footer {
			& .footer-menus {
				flex-wrap: wrap;
				justify-content: center;

				& ul {
					& li {
						a {
							line-height: 150%;
						}
					}
				}

				.footer-menu:last-child {
					justify-content: space-between;
					row-gap: 40px !important;
				}

				.footer-menu {
					min-width: unset;
					gap: 32px;
					width: 160px;
				}
			}
		}
	}
}

@media screen and (max-width: 540px) {
	.footer-header {
		width: 85%;
	}

	.footer-heading {
		br {
			display: none;
		}
	}

	.classic-nav-menu-block .menu-list {
		display: flex !important;
	}

	.image-text-card.has-image {
		height: 295px !important;
	}

	.site-footer {
		& .custom-footer {
			.footer-menu-div {
				margin: 40px 0;
				padding-bottom: 40px;
			}
		}
	}
}

@media screen and (max-width: 540px) {}

@media screen and (max-width: 480px) {
	.site-footer {
		.custom-footer {
			padding: 0;

			.footer-menus {
				gap: 32px !important;
				grid-template-columns: repeat(1, minmax(0, 1fr)) !important;

				.footer-menu {
					min-width: unset;
					gap: 32px;
				}
			}
		}
	}

	.site-footer {
		& .custom-footer {
			& .footer-menus {
				ul {
					gap: 16px;
				}
			}
		}
	}

	#gform_1 {
		& .gform_footer {
			& button {
				&>span {
					padding-right: 0px;

				}
			}
		}
	}

	.mega-menu {
		& .nav-menu-cont {
			.menu-list {
				width: 100% !important;
			}
		}
	}

	.site-footer {
		.custom-footer {
			padding: 0;

			.footer-menus {
				grid-template-columns: repeat(1, minmax(0, 1fr)) !important;

				.footer-menu {
					min-width: unset;
					gap: 32px;
				}

				.footer-menu:nth-child(1) {
					order: unset;

				}

				.footer-menu:nth-child(2) {
					order: unset;

				}

				.footer-menu:nth-child(3) {
					order: unset;

				}

				.footer-menu:nth-child(4) {
					order: unset;
				}
			}
		}
	}

	.site-footer {
		& .custom-footer {
			.footer-menu .topBar {
				gap: 16px;
			}
		}
	}

	.post_card_main {
		flex-direction: column !important;
		align-items: flex-start !important;
	}
}

@media screen and (max-width: 460px) {
	.site-footer {
		& .custom-footer {
			& .footer-menus {
				flex-wrap: wrap;
				justify-content: flex-start;
			}
		}
	}
}

@media screen and (max-width: 420px) {
	.site-footer {
		.footer-heading {
			br {
				display: none;
			}
		}

		& .custom-footer {
			padding: 0 !important;

			& .footer-menus {
				display: flex !important;
				flex-direction: column !important;
				justify-content: flex-start !important;
				align-items: center !important;
				padding: 0;

				& ul {
					& li {
						a {
							line-height: 150%;
						}
					}
				}

				.footer-menu:last-child {
					justify-content: space-between;
					row-gap: 40px !important;
				}

				.footer-menu {
					min-width: unset;
					gap: 32px;
					width: 100%;
				}
			}
		}
	}
}