#ast-desktop-header{
	background-color: #edf1f300;}
/*
#ast-desktop-header::before{
	content: "";
    position: absolute;
    pointer-events: none;
    top: -0px;
    left: -0px;
    width: calc(100% + 0px + 0px);
    height: calc(100% + 0px + 0px);
    border-color: inherit;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: 120%;
    background-attachment: scroll;
    mix-blend-mode: normal;
    background-image: url(/wp-content/uploads/2025/11/Background-Pattern.jpg);
    background-clip: padding-box;
    opacity: 0.05;
}
*/

.site-header {
    z-index: 99;
    position: absolute !important;
}



@media only screen and (max-width: 767px) {
    .wp-block-uagb-container.uagb-block-8414f051::before {
opacity: 1;
	}
	
	.wp-block-uagb-container.hero-with-h1::before{
		opacity: 1;
	}
}

@media (max-width: 976px) {
    .ast-header-break-point #ast-mobile-header::before {
        content: "";
    position: absolute;
    pointer-events: none;
    top: -0px;
    left: -0px;
    width: calc(100% + 0px + 0px);
    height: calc(100% + 0px + 0px);
    border-color: inherit;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: cover;
    background-attachment: scroll;
    mix-blend-mode: normal;
    background-image: url(/wp-content/uploads/2025/11/Background-Image-Mobile.png);
    background-clip: padding-box;
    opacity: 1;
    }
}

/* Full Width Nav */
.ast-builder-menu .main-navigation>ul {
    align-self: center;
    display: flex;
    justify-content: space-between;
    width: 100%
}

.ast-builder-menu .main-navigation {
    padding: 0;
    width: 100%
}

.site-header-section .ast-builder-menu {
    width: 100%;
    margin-left: auto;
    margin-right: auto
}

.header-main-layout-1 .ast-main-header-bar-alignment {
    margin-left: auto;
    margin-right: auto;
    width: 100%
}
/* Full Width Nav */

.site-header{
	border-top: 20px solid #31597A;
	border-bottom:1px solid #1C20231A;
}

.main-navigation .menu-item.current-menu-item .menu-link {
  border-bottom: 8px solid #31597A; 
}

@media (max-width:921px){
	.site-header{
	border-top: 0px !important;
	}}

	#masthead .ast-mobile-header-wrap .ast-above-header-bar {
		background:#edf1f3;
	}


.hero-button{
	backdrop-filter: blur(4px);}


/* Equal Height Cards */
.equal_slider .swiper-wrapper {
	align-items: stretch !important;
}
.equal_slider .swiper-slide {
	display: flex !important;
	height: auto !important;
}
.equal_slider .wp-block-uagb-container.equal-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.equal_slider .equal-card .uagb-container__wrap,
.equal_slider .equal-card .uagb-container-inner-wrap,
.equal_slider .equal-card .uagb-container-inner-blocks-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.equal_slider .uagb-swiper .swiper-content{
    width:100%;
}

@media (max-width:767px){
	.equal_slider .wp-block-uagb-container.equal-card {
    justify-content: flex-start;
}
}
/* Equal Height Cards */

/* Footer Adjustments */
.uagb-block-a07576ae .uagb-faq-item .uagb-faq-content{
	background:#ffffff!important;
}
/* 
.uagb-block-f8af2dc5.wp-block-uagb-image .wp-block-uagb-image__figure img{
	filter: invert(1) brightness(100)!important;
} */

.uagb-block-c9a47d92 .uagb-google-map__iframe {border-radius: 10px !important;}
.uagb-block-1d781042 .uagb-google-map__iframe {border-radius: 10px !important;}


/* Footer Adjustments */

/* home Blog Carousel */

@media (max-width:544px){
	.home-blog.uagb-post-grid .uagb-post__image img{
    max-height: 250px!important;
    min-height:250px!important;
    object-fit: cover!important;
}
}

.uagb-block-7bb3aed6 .uagb-post__inner-wrap {
    border-radius: 10px;
}
.uagb-block-7bb3aed6 .uagb-post__image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}

.uagb-block-7bb3aed6 .uagb-post__inner-wrap {
    border-radius: 10px!important;
    overflow: hidden!important;
}

.home-blog.uagb-post-grid .uagb-post__image img{
    max-height: 195px!important;
    object-fit: cover!important;
	min-height: 195px!important;
}

.home-blog .slick-list {
    margin-left: -20px!important;
	margin-right: -20px!important;}

.home-blog .uagb-slick-carousel{
	padding:0px!important;
}
	
.home-blog .uagb-post__title.uagb-post__text a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
          line-clamp: 2;
  -webkit-box-orient: vertical;
          box-orient: vertical; 
	line-height: inherit;
}

.uagb-post__text.uagb-post__excerpt p {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* This sets the number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}	
	
	.home-blog.uagb-slick-carousel{
	padding:0px!important;
}
	
	/* home Blog Carousel */

/* Home Blog Meta Priority*/

.home-blog .uagb-post__inner-wrap {
  display: flex!important;
  flex-direction: column!important;
}

/* Default order for elements we don't move */
.home-blog .uagb-post__image {
  order: 1!important;
}
.home-blog .uagb-post__excerpt {
  order: 4!important;
}
.home-blog .uagb-post__cta {
  order: 5!important;
}

/*  * Prority 1: Meta Date (set to order: 2)
 * Prority 2: Title (set to order: 3) */

.home-blog .uagb-post-grid-byline {
  order: 2!important;
}

.home-blog .uagb-post__title {
  order: 3!important;
}
/* Home Blog Meta Priority */

/* Home Blog Layout Shift Due to single line blog title */

.home-blog .uagb-post__title.uagb-post__text {
  line-height: 1.4em;
  height: 3.2em; 
  overflow: hidden;
}


/* Border Radius across the Blog Carousel */

.home-blog .uagb-post__inner-wrap {
    border-radius: 10px !important;
    overflow: hidden !important;
    padding: 0 !important;
	margin: 0 10px !important;
	overflow: hidden !important;
}

.home-blog .slick-slide {
    padding-left: 10px !important;  /* Half the total gap you want */
    padding-right: 30px !important; /* Half the total gap you want */
}



/*
 * ========================================
 * === 1. FOOTER FORM BASE STYLES (Mobile First) ===
 * ========================================
*/

.footer-form {
  margin: 0 auto;
  font-family: 'DM Sans', sans-serif;
  color: #010D23;
  font-weight: 400;
  font-size: 18px;
  width: 100%;
  box-sizing: border-box;
}



/* === General Input/Textarea Styling === */
.footer-form input,
.footer-form textarea {
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid #00000033;
  border-radius: 5px;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
  line-height:28px;
  color: #161716;
  margin-bottom: 24px;
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-color: #00000033!important;
	border: 1px solid #00000033!important;
  border-radius: 5px!important;
/*   outline: none;
  box-shadow: 0 0 5px rgba(41, 68, 142, 0.3); */
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #1C2023;
}

.footer-form .caste-details textarea {
  height: 62px;
  resize: none;
}

/*
 * ========================================
 * === 2. FOOTER FORM MOBILE LAYOUT (Default: max-width 975px) ===
 * ========================================
*/

/* Set all containers to full-width for mobile */
.footer-form .form-row .input-container,
.footer-form .caste-details,
.footer-form .footer-button-container,
.footer-form .acceptance-container {
  width: 100%;
  flex: none; 
}

/*
 * ========================================
 * === 3. FOOTER FORM SUBMIT BUTTON ===
 * ========================================
*/
.footer-form .footer-button-container input[type="submit"] {
  width: 100%;
  height: 66px;
  border: none;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  background: #194355; 
}

.footer-form .footer-button-container input[type="submit"]:hover {
  background: #31597A;
	color:#ffffff;
}

/*
 * ========================================
 * === 4. FOOTER FORM DESKTOP LAYOUT (min-width 976px) ===
 * ========================================
*/
@media (min-width: 976px) {

  /* Top 4 fields: 4-column row */
  .footer-form .form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	  margin-bottom: 11px;
  }
	
	.footer-form input,
	.footer-form textarea {
		 margin-bottom: 0px;
	}

	.input-container.caste-details{
		 margin-bottom: 26px;
	}
	
  .footer-form .form-row .input-container {
    width: calc((100% - 21px) / 4);
  }

  /* Bottom section: layout in rows */
  .footer-form .home-form-bottom-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    justify-content: space-between;
  }
}


/* Practice Area Home Page */

.practice-main {
    position: relative; 
        overflow: hidden; 
    }
.practice-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #31597AB3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0; 
}

.practice-main:hover::before {
    opacity: 1; 
}

.practice-title {
    position: relative;
    z-index: 1;
    background: #31597AB3;
    transition: background 0.3s ease;
    padding: 20px; 
}

.practice-main:hover .practice-title {
    background: transparent;
}

.practice-desc {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: #fff; 
    display: none;
}

.practice-main:hover .practice-desc {
    display: block;
    animation: fadeUp 0.3s ease; 
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Image full width for info sections */

@media only screen and (max-width: 976px) {
    .info-img-container .info-img .wp-block-uagb-image__figure img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}




@media (max-width: 976px) {
    .wp-block-uagb-container.meet-attorneys::before{
        content: "";
    position: absolute;
    pointer-events: none;
    top: -0px;
    left: -0px;
    width: calc(100% + 0px + 0px);
    height: calc(100% + 0px + 0px);
    border-color: inherit;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: cover;
    background-attachment: scroll;
    mix-blend-mode: normal;
    background-image: url(/wp-content/uploads/2025/11/Background-Image-Mobile.png);
    background-clip: padding-box;
    opacity: 1;
    }
}




/* Auto height for Images for info sections */

@media (min-width: 977px) {
    .info-sec .uagb-container-inner-blocks-wrap {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }

    .info-img-sec,
    .info-img-sec .info-img,
    .info-img-sec .info-img .wp-block-uagb-image__figure {
        height: 100%;
        display: flex; 
        flex-direction: column;
        margin-bottom: 0; 
    }

    .info-img-sec .info-img img {
        height: 100% !important; 
        width: 100% !important;  
        object-fit: cover;      
        object-position: center; 
    }
}



.section-intro-image {

    width: 30%;
    float: right;
    margin: 0 0px 15px 30px !important;
    line-height: 0;

}

.section-intro-image img {

    width: 100%;
	border-radius:10px;
	border:none;

}



@media screen and (max-width: 976px) {
    .section-intro-image {
        width: 100% !important;            
        float: none !important;             
        display: block !important;   
        margin: 0 0 15px 0 !important;
    }

	.section-intro-image img{
		margin-bottom:20px !important;
	}

}



.home-footer-contact::after{
	content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    z-index: 0 !important;
    background-color: #EDF1F2E3 !important;
    border-radius: 10px !important;
}

@media (max-width: 975px) {
	.home-footer-contact::after{
		width: 100% !important;
		border-radius: 0px !important;
	}
}


.wpcf7 form{
	z-index:5;
}



@media only screen and (max-width: 1560px) and (min-width: 976px) {
    .footer-container {
        max-width: 90% !important;
    }
}


.attorney-debra::after{
	content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    z-index: 0 !important;
	background: linear-gradient(90deg, var(--ast-global-color-7) 66%, #0063a100 100%);
}

.attorney-michael::after{
	content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    z-index: 0 !important;
	background: linear-gradient(90deg, #ffffff00 0%, var(--ast-global-color-7) 17%)
}


@media only screen and (max-width: 976px) {
    .attorney-debra::after {
        background: linear-gradient(180deg, #ffffff 66%, #0063a100 100%) !important;
                height: 100% !important; 
        width: 100% !important;
    }
	
	 .attorney-michael::after {
        background: linear-gradient(180deg, #ffffff 66%, #0063a100 100%) !important;
                height: 100% !important; 
        width: 100% !important;
    }
}


.info-list ul{
	margin:0px !important;
}


.sitemap .ast-icon.icon-arrow, 
.sitemap .dropdown-menu-toggle {
    display: none !important;
}

/* Optional: Adjust padding if the removal leaves a gap */
.sitemap .menu-link {
    padding-right: 0 !important;
    display: inline-flex;
    align-items: center;
}



#footer-contact .caste-details textarea {
    min-height: 105px;
    display: block; 
    resize: vertical; 
}








/*styles for menu and mega menu */

#mega-menu-wrap-primary #mega-menu-primary {
    text-align: center;
    padding: 0px;
    justify-content: space-between;
    display: flex;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link{
	border-bottom: 8px solid #31597A;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
	    line-height: 30px;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator{
	float: inherit;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after{
	    margin: 2px;
	margin-left:10px;
}


