/* Header Customization */

.site-header-primary-section-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
}

.ast-header-html-4, 
.ast-builder-menu-1 {
    width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-around;
    margin-bottom: 0;
}

.ast-header-html-4{
	min-height:56px!important;
	padding: 0;
}

.ast-logo-title-inline .ast-site-identity{
	padding:0px!important;
}

.ast-builder-menu .main-navigation>ul{
height : 25px;
}


@media (min-width: 1065px) and (max-width: 1560px) {
	.ast-builder-menu-1 .menu-item > .menu-link{
		font-size:1.4vw;
	}
	
}

@media (min-width: 921px) and (max-width: 1064px) {
	.ast-builder-menu-1 .menu-item > .menu-link{
		font-size:1.3vw;
	}
	
}

/* Header Customization */

/* Sidebar Blogs */

.sidebar-blog.uagb-post-grid .uagb-post__image img{
	height:190px;
	min-height:190px;
	max-height:190px;
	object-fit:cover;
}

/* Equal Height Cards */

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

.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%;
}

@media (max-width:767px){
	.equal_slider .wp-block-uagb-container.equal-card {
    justify-content: center;
	}
	.equal_slider .wp-block-uagb-container.success-card.equal-card {
    justify-content: space-between;
}
}


/* Equal Height Cards */


/* Testimonail Section */

.testimonial-user {
  background-image: linear-gradient(
    120deg, 
    transparent calc(50% - 1px), 
    #D9D9D9 calc(50% - 1px), 
    #D9D9D9 calc(50% + 1px), 
    transparent calc(50% + 1px));
    background-repeat: no-repeat;
    width: 100%; 
  height: 100px;
}

.success-card::after {
  content: "";
  position: absolute;
  top: 40px; 
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid #ededed;     
  border-bottom: 4px solid #ededed; 
  pointer-events: none; 
  z-index:0;
  border-radius: 5px;
}

.testimonial-quote-icon{
	z-index:1;
}

.services-outer-border-container:after {
  content: "";
  position: absolute;
  top: 0px; 
  left: 0;
  right: 0;
  bottom: 0;
  border: 6px solid #B0953A;     
  pointer-events: none; 
  z-index:0;
  border-radius: 5px;
  max-width:1440px;
  margin:auto;
}

/* Testimonail Section */


/* Bleed-Out Backrgound */

.bleedout-bg-services {
  position: relative;
  z-index: 1; 
}

.bleedout-bg-services::before {
  content: "";
  position: absolute;
  top: -205px;   
  bottom: -315px;
  left: 0;
  right: 0;
  z-index: -1; 
  background-image: 
    linear-gradient(
      rgba(38, 91, 59, 0.9), 
      rgba(38, 91, 59, 0.9)
    ),
  url('/wp-content/uploads/2025/11/Services-bg.jpg');
  background-size: cover;
  background-position: center;
}


/* @media (min-width:922px){
 */
.bleedout-bg-attorney {
  position: relative;
  z-index: 1; 
}

.bleedout-bg-attorney::before {
  content: "";
  position: absolute;
  top: -315px;   
  bottom: -315px;
  left: 0;
  right: 0;
  z-index: -1; 
  background-image: 
    linear-gradient(
      rgba(38, 91, 59, 0.9), 
      rgba(38, 91, 59, 0.9)
    ),
  url('/wp-content/uploads/2025/11/info-image3.jpg');
  background-size: cover;
  background-position: center;
}

.bleedout-bg-blogs {
  position: relative;
  z-index: 1; 
}

.bleedout-bg-blogs::before {
  content: "";
  position: absolute;
  top: -205px;   
  bottom: -315px;
  left: 0;
  right: 0;
  z-index: -1; 
  background-image: 
    linear-gradient(
      rgba(38, 91, 59, 0.9), 
      rgba(38, 91, 59, 0.9)
    ),
  url('/wp-content/uploads/2025/11/blog-bg.jpg');
  background-size: cover;
  background-position: center;
}


@media (max-width:921px) {
	
/* 	.bleedout-bg-services::before {
		top: 0;
		bottom: 0;
	}
	
	.bleedout-bg-services {
      overflow: hidden; 
	 background-image: 
    linear-gradient(
      rgba(38, 91, 59, 0.9), 
      rgba(38, 91, 59, 0.9)
    ),
  url('/wp-content/uploads/2025/11/Services-bg.jpg');
  background-size: cover;
  background-position: center;
  } */
	
	
	
	.bleedout-bg-attorney::before {
		top: 0;
		bottom: 0;
	}
	
	.bleedout-bg-attorney {
      overflow: hidden; 
	 background-image: 
    linear-gradient(
      rgba(38, 91, 59, 0.9), 
      rgba(38, 91, 59, 0.9)
    ),
  url('/wp-content/uploads/2025/11/info-image3.jpg');
  background-size: cover;
  background-position: center;
  }
	
	
/* 	blogs for mobile */
	
	.bleedout-bg-blogs::before {
		top: 0;
		bottom: 0;
	}
	
	.bleedout-bg-blogs {
      overflow: hidden; 
	 background-image: 
    linear-gradient(
      rgba(38, 91, 59, 0.9), 
      rgba(38, 91, 59, 0.9)
    ),
  url('/wp-content/uploads/2025/11/blog-bg.jpg');
  background-size: cover;
  background-position: center;
  }
	
}

/* Bleed-Out Backrgound */


/* Box Shadow Adjustments for tabs and mobiles */

@media (max-width:921px) {
.wp-block-uagb-container.info-section{
	box-shadow: none;
}
}

@media (max-width:921px) {
.wp-block-uagb-container.uagb-block-4da08c7e::before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1; 
    background: 
        linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
        linear-gradient(360deg, rgba(0, 0, 0, 0) 28.81%, #142A1D 50.08%);
}
}
/* Clamp Height of Blog Carousel */

.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;
	margin-top:0px;
}

.uagb-post__text.uagb-post__excerpt p {
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Height Adjustment for Home Blog Carousel */

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

/* Padding Adjustments for Home Blog Carousel */

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

.home-blog.uagb-slick-carousel{
	padding:0px!important;
}

/* Home Blog Meta Priority */

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

.home-blog .uagb-post__image {
  order: 1!important;
}
.home-blog .uagb-post__excerpt {
  order: 4!important;
}
.home-blog .uagb-post__cta {
  order: 5!important;
}

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

.home-blog .uagb-post__title {
  order: 3!important;
}

.uagb-block-4177d3d1:not(.is-grid) .uagb-post__inner-wrap > .uagb-post__text:first-child{
	margin-top:0px!important;
}

/* 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 */
}


/* Styles for the active FAQ item in your 'faqsection' */

.faqsection .uagb-faq-item-active .uagb-faq-content {
    background-color: #265B3B!important;
}

.faqsection .uagb-faq-item-active .uagb-faq-questions-button{
	border-bottom:1px solid #ffffff;
}

.faqsection .uagb-faq-questions-button{
	border-bottom:1px solid #000000;
}

/* .faqsection .uagb-faq-item-active .uagb-faq-content p {
    color: #fff!important;
} */

/* Styles for the active FAQ item in your 'faqsection' */


.footer-banner::before {
    content: '';
    display: block;
    position: absolute;
    top: 105px;
    right: 0;
    width: 50vw;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/11/footer-contact-banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

@media (max-width:976px) {
	.footer-banner::before{
		display:none;
		visibility:hidden;
	}
}

/* 404 Page Template */
.ast-404-layout-1 h1.page-title{
	color:#000000!important;
}

/* Home Services Cards*/
.services-cards .uagb-ifb-button-wrapper {
    width: 100%;          
    padding-left: 10%;     
    padding-right: 10%;    
    box-sizing: border-box; 
    text-align: center;    
}

.services-cards .uagb-infobox-cta-link {
    display: block;         
    width: 100%;            
    text-align: center;    
}


/* About page attorney image  */
.section-intro-image {
    width: 30%;
    float: right;
    margin: 0 0px 15px 30px;
    line-height: 0;
}
.section-intro-image img {
    width: 100%;
	border-radius:10px;
	border:none;
}
/* About page attorney image  */


/* Inner page Banner Adjustments */

@media only screen and (max-width: 1560px) and (min-width: 976px) {
    .inner-banner .inner-banner-title{
        max-width: 87% !important;
        display: block;
		margin-left: auto !important;
        margin-right: auto !important;
    }
	
	.inner-footer-main .inner-footer{
        max-width: 90% !important;
		margin-left: auto !important;
        margin-right: auto !important;
    }
	
	
}


/* Services Card Adjustments */

.services-cards {
    height: 100%;
}

.services-cards .uagb-ifb-content {
    display: flex;
    flex-direction: column;
    height: 100%;
	align-items: center;
    text-align: center
}

.services-cards .uagb-ifb-image-content {
    align-self: center;
}

.services-cards .uagb-ifb-button-wrapper {
    margin-top: auto; 
    padding-top: 0px;
}

/* Why choose us Hover effects */ 

.why-choose-card,
.why-choose-card .uagb-ifb-title,
.why-choose-card .uagb-ifb-desc,
.why-choose-card .uagb-ifb-image-content img {
    transition: all 0.3s ease-in-out;
}

.why-choose-card:hover {
    background-color: #265B3B !important;
}

.why-choose-card:hover .uagb-ifb-title,
.why-choose-card:hover .uagb-ifb-desc {
    color: #ffffff !important;
}

.why-choose-card:hover .uagb-ifb-image-content img {
    filter: brightness(0) invert(1) !important;
}



.home-blog .uagb-post__text.uagb-post__cta a{
	text-decoration:underline!important;
}




