/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  A child theme for Astra.
 Author:       Katie Eisenberg
 Author URI:   https://kandmdesign.com
 Template:     astra
 Version:      1.0.0
*/


.main-header-menu .sub-menu .menu-link {
	padding: .7em 1em;
}

.home .custom-page-header {
	display: none;
}

.home .ast-header-social-1-wrap .ast-social-color-type-custom svg, .home .ast-header-search .ast-icon {
	color: var(--ast-global-color-4);
	fill: var(--ast-global-color-4);
}
.home .ast-header-social-1-wrap .ast-social-color-type-custom svg:hover, .home .ast-header-search .ast-icon:hover {
	color: var(--ast-global-color-2);
	fill: var(--ast-global-color-2);
}

.ast-header-search .ast-icon:hover {
	color: var(--ast-global-color-0);
}

.home .ast-header-search .search-field::placeholder {
	color: var(--ast-global-color-2);
}

.home .ast-header-button-1 .ast-custom-button {
	color: var(--ast-global-color-4);
	border-color: var(--ast-global-color-4);
	background-color: transparent;
}

.home .ast-header-button-1 .ast-custom-button:hover {
	color: var(--ast-global-color-4);
	border-color: var(--ast-global-color-0);
	background-color: var(--ast-global-color-0);
}

.ast-single-post .entry-title, .ast-single-post .entry-title a, .ast-archive-entry-banner h1 {
	font-size: 3rem;
	font-weight: 300;
	color: color(srgb 0.0604 0.0911 0.1664);
}

.ast-single-post .entry-title:after, .ast-single-post .entry-title a:after, .ast-archive-entry-banner h1:after {
	content: '';
    display: block;
	width: 100px;
	height: 1.5px;
	background: var(--ast-global-color-0);
	margin: 25px auto 0;
}

.ast-related-post-content .entry-header .ast-related-post-title:after, .ast-related-post-content .entry-header .ast-related-post-title a:after {
	display:none;
}

.ast-archive-entry-banner[data-post-type="post"] .ast-container > *:not(:last-child) {
	margin-bottom: .6em;
}

.ast-archive-entry-banner {
	background-color: var(--wp--preset--color--ast-global-color-5);
}

.sidebar-main {
	border-left: 1px solid color(srgb 0.9019 0.902 0.9021);
}



div.custom-page-header {
    position: relative;
    padding: 100px 50px 75px 50px;
    text-align: center;
    margin: 0px;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
}

.custom-page-header-featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.custom-page-header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://legalandcrestg.wpenginepowered.com/wp-content/uploads/2025/12/header-geometric-light.png);
    background-repeat: repeat-x;
    background-position: center top;
    background-size: auto 100%;
    background-attachment: scroll;
    opacity: 0.7; 
    z-index: 2;
	height: 100%;
}

.custom-page-header-content {
    position: relative;
    z-index: 3;
}

.ast-single-entry-banner {
	display: none;
}


.contact-page-info table a {
	color: var(--ast-global-color-2);
}

.contact-page-info table svg {
	color: var(--ast-global-color-0);
}

.contact-page-info table a:hover {
	color: var(--ast-global-color-0);
}

.wp-block-column.is-vertically-aligned-stretch.home-gradient-bg.has-background.is-layout-flow.wp-block-column-is-layout-flow:before {
	background-color: #a01c20;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	width: 100%;
	opacity: 50%;
	z-index:-1;
}

div.move-newsletter-left {
	z-index: 1;
}

.home-posts.wp-block-latest-posts.columns-3 li {
	width: calc(33.33333% - .83333em);
	padding: 26px 48px;
	border: 1px solid #fff;
	background-color: #fff;
}

.wp-block-latest-posts__featured-image.aligncenter {
	margin-bottom: 2em;
}
.wp-block-latest-posts__featured-image img {
	aspect-ratio: 2.1;
}

.home-posts .wp-block-latest-posts__post-title {
	font-family: "montserrat";
}

.wpforms-field-container {
	font-family: "montserrat";
}

.wp-block-latest-posts__post-excerpt {
	color: #757575;
}

.home-posts a.wp-block-latest-posts__read-more  {
	text-decoration: none !important;
	text-transform: uppercase;
	text-align: center;
	border-color: var(--ast-global-color-0);
	border:1px solid;
	padding: 10px;
	display: block;
	margin: 20px 20%;
	font-size: 12px;
	color: var(--ast-global-color-0);
	font-weight: 600;
	font-family: "montserrat";
	letter-spacing: 1.5px;
}

.home-posts a.wp-block-latest-posts__read-more:hover  {
	background-color: var(--ast-global-color-0);
	color: var(--ast-global-color-4);
}

.wp-block-separator {
	border-top: 1.5px solid;
}

div.home-bg-gradient:after {
	background: #DFAAAC;
	background: linear-gradient(180deg,rgba(194, 39, 51, 1) 0%, rgba(194, 39, 51, 1) 10%, rgba(176, 33, 41, 1) 10%, rgba(176, 33, 41, 1) 30%, rgba(162, 34, 37, 1) 30%, rgba(162, 34, 37, 1) 60%, rgba(125, 32, 34, 1) 60%, rgba(125, 32, 34, 1) 80%, rgba(223, 170, 172, 1) 80%, rgba(223, 170, 172, 1) 90%, rgba(255, 244, 244, 1) 90%, rgba(255, 244, 244, 1) 100%);
	min-height: 100%;
	margin:0px;
	padding:0px;
	display: block;
	content: ' ';
	width: 30%;
	position: absolute;
	right: 0;
	top: 0;
}

.wp-block-button__link.has-ast-global-color-4-color.has-text-color.has-background.has-link-color.has-border-color.has-ast-global-color-4-border-color.has-custom-font-size.wp-element-button:hover {
	background-color: var(--ast-global-color-0) !important;
	border-color: var(--ast-global-color-0) !important;
}

.ast-blog-single-element.ast-taxonomy-container.cat-links.badge a {
	white-space: nowrap;
	line-height: 2em;
	font-size: .7em;
}

.team-grid {
 	display: grid;
 	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-bottom: 100px;
}
.team-member {
  background: #fff;
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px;
}
.team-member img {
	width: 100%;
	max-width: 150px;
	border-radius: 1%;
	margin-bottom: 1rem;
	aspect-ratio: 2/3;
	object-fit: cover;
}

.wpforms-form input[type=submit],
.wpforms-form button[type=submit] {
	background-color: var(--ast-global-color-8) !important;
	font-family: 'Montserrat',sans-serif !important;
	font-weight: 700 !important;
	line-height: 1em;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 11px !important;
	font-size: 0.6875rem !important;
	padding-top: 13px;
	padding-right: 20px;
	padding-bottom: 13px;
	padding-left: 20px;
}

.lc-services .wp-block-list {
	padding-left: 2em;
}

.lc-services li {
	margin-bottom: 15px;
	list-style: none;
}

.lc-services li::before {
	content: "\f055"; 
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right: 1em;
	margin-left: -2em;
	color: var(--ast-global-color-0); 
}

ul#menu-services-page, #menu-services-page .sub-menu {
	list-style: none;
} 

#menu-services-page li {
	margin-top: 1em;
}

.page-template-services-page .sidebar-main {
	padding-left: 20px;
}

.page-template-services-page #primary {
	padding-left: 0px;
	margin-top: 0px;
}

.service-CTA {
	background-color: color(srgb 0.7247 0.142 0.18);
	color: #ffffff;
	padding: 30px;
	line-height: 1.75em;
	margin-top: 30px;
}

.service-CTA h3 {
	color: #ffffff;
}

.service-CTA .wp-block-button .wp-block-button__link {
	background-color: var(--ast-global-color-2);
	border-color: var(--ast-global-color-2);
}

.service-CTA .wp-block-button .wp-block-button__link:hover {
	background-color: #404040;
	border-color: #404040;
}

.accordion-item__toggle>span {
	font-size: 19px;
}

.wp-block-woocommerce-accordion-item .accordion-item__heading button {
	padding-right: 10px;
	padding-left: 10px;
	box-shadow: none;
}

.accordion-content__wrapper.is-layout-flow.wp-block-woocommerce-accordion-panel-is-layout-flow p {
	margin: 15px 20px 0px 25px;
}


/* Make post template items flex containers */
.wp-block-query .wp-block-post-template > li {
    display: flex;
}

/* Make columns equal height */
.wp-block-query .wp-block-post-template .wp-block-columns {
    display: flex;
    width: 100%;
}

/* Make each column stretch to full height */
.wp-block-query .wp-block-post-template .wp-block-column {
    display: flex;
    flex-direction: column;
}

/* Initially hidden */
.bottom-sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Visible when scrolled */
.bottom-sticky-nav.visible {
    transform: translateY(0);
}

/* Bottom sticky navigation */
.bottom-sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}


.footer-widget-area.widget-area.site-footer-focus-item.ast-footer-html-1 {
	margin-bottom: 1.25em;
}

#astra-footer-menu .menu-item {
	margin-bottom: 8px;
}

#astra-footer-menu h3 {
	text-align: left;
}


	/* Menu styling */
	.bottom-nav-menu {
		display: flex;
		justify-content: center;
		align-items: center;
		list-style: none;
		margin: 0;
		padding: 0;
		gap: 30px;
	}

	.bottom-nav-menu li {
		margin: 0;
	}

	.bottom-nav-menu a {
		text-decoration: none;
		color: #333;
		font-weight: 500;
		padding: 10px 15px;
		transition: all 0.3s ease;
	}

	.bottom-nav-menu a:hover {
		color: var(--ast-global-color-0);
	}

	/* Add padding to page so content doesn't hide under nav */
	.home .site-content {
		padding-bottom: 80px;
	}

	/************ Responsive Settings ************/



@media (max-width: 1350px) { 
	.ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
		margin-left: 80px;
		margin-right: 80px;

  }
}

@media (max-width:921px) {
	.ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
		margin-left: 50px;
		margin-right: 50px;
		
	}

	#astra-footer-menu {
		text-align: center !important;
	}
	
	.home-posts.wp-block-latest-posts.columns-3 li{
    	width: 100% !important;
`	}
	
	.bottom-sticky-nav {
		display: none !important;
	}
	
	.home .site-content {
		padding-bottom: 0px !important;
	}
}



@media (min-width:1200px) {
	.ast-plain-container.ast-no-sidebar #primary {
		margin-bottom: 0;
	}
}

@media (min-width:993px){
	.ast-right-sidebar #primary, .ast-left-sidebar #primary {
		padding-right: 0px;
		padding-left: 0px;
	}
	
}
