/*
Theme Name: Twenty Twenty Five Child
Template: twentytwentyfive
Version: 1.0.0
*/

html {		
	margin: auto;
}

body {	
	margin: auto;		
}

.wp-site-blocks {
	position: relative;	
	background-color: #FEFAF6;
	/* Sticky header */
	> header:first-of-type {
		position: sticky;
		inset: 0;
		z-index: 9999999;
		box-shadow:  0 4px 12px 0 rgba(90, 52, 7, 0.24);
	}
}
.editor-styles-wrapper {
	background-color: var(--wp--preset--color--main-background);
}
.admin-bar {
	.wp-site-blocks {
		> header:first-of-type {
			@media(min-width: 783px) {
				top: 32px;
			}
		}
	}
}
#wpadminbar {
	/*z-index: 99999999;*/
}

a {
	text-decoration: none;
	transition: color 0.5s ease;	
	&:hover {
		color: var(--wp--preset--color--dusty-blue);
	}
}
a:focus:not(:focus-visible) {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {	
	margin-top: 0;
	a {
		transition: none;
		&:hover {
			color: var(--wp--preset--color--dusty-blue);
			text-decoration: underline;
		}
	}
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1246px;
}

.footer-image {
	height: 108px;
	box-sizing: border-box;
	background-color: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .75rem;
}

@media(max-width: 991px) {
    :root .footer-copyright {
        text-align: left;
    }
}

/* buttons - default styles --------------------------------------------------------------*/
.wp-block-button__link {
    transition: all 0.3s ease;
    border-radius: 0;
    font-size: 0.875rem;    
    letter-spacing: 0.0525rem;
    text-transform: uppercase;
    font-family: var(--wp--preset--font-family-source-sans-3);
}

.wp-block-button__link:hover {
    background-color: #dbdbdb;
}

.wp-block-button .wp-block-button__link {
	font-family: var(--wp--preset--font-family-source-sans-3);
	&:hover {
		background-color: var(--wp--preset--color--sand);	
	}
	&:active, &:focus {
		outline: 0;		
		translate: 0 .25rem;
		box-shadow: 0 0 0 2px var(--wp--preset--color--dark-green),
    		0 2px 0 var(--wp--preset--color--dark-green); 
	}

} 


/* buttons - custom classes -------------------------------------------------------------- */

/* Button Main */
.wp-block-button.is-style-button-main .wp-block-button__link { 	 	
 	background: #F3F3F3;
 	color: #151515; 	
 	font-family: var(--wp--preset--font-family-source-sans-3);

 	&:hover { 		    	
    	background-color: var(--wp--preset--color--dusty-blue);
    	color: #FFF;
	}
 	
}


/* Button Text Link */
.wp-block-button.is-style-text-link .wp-block-button__link { 	 	
 	background: transparent;
 	color: var(--wp--preset--color--brown);
 	padding: 0;
 	line-height: 1.5;
 	font-size: var(--wp--preset--font-size--x-small);
 	letter-spacing: 0.14rem;

 	&:hover { 		    	    	
    	color: var(--wp--preset--color--dusty-blue);
	}
 	
}


/* Button with dropdown arrow */
.wp-block-button.is-style-button-with-arrow .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wp--preset--color--dark-green);
  font-size: 1rem;
  padding: 1rem;

  &:hover {
  	background-color: color-mix(in hsl, #FFF 90%, black);
  }
}

/* Button with arrow  */
.wp-block-button.is-style-button-with-arrow .wp-block-button__link::after {
	content: '';
	  display: inline-block;
	  width: 14px;
	  height: 14px;
	  background-color: #ffffff;
	  -webkit-mask-image: url('assets/images/keyboard_arrow_down.svg');
	  mask-image: url('assets/images/keyboard_arrow_down.svg');
	  mask-repeat: no-repeat;
	  mask-position: center;
	  mask-size: contain;
	  flex-shrink: 0;

}
.wp-block-button.is-style-button-with-arrow .wp-block-button__link::after {
	background-color: var(--wp--preset--color--dark-green);
}

/* Groups - custom classes ------------------------------------------------------------- */

/* Core Group Block max width 1215px */
.is-style-content-width {
	max-width: 1246px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

/* Core Group Header width */
.is-style-heading-width {
	max-width: 1010px;	
}

/* Core Group Main Section */
.is-style-main-section {
	padding: 3rem 0;
	@media(min-width: 992px) {
		padding: 7rem 0;
	}
}


/* Gravity Forms ------------------------------------------------------------- */

.gform_wrapper input {
  border: none !important;
  text-transform: uppercase !important;
}

.gform_wrapper select {
	border: none !important;
}

.gfield_label,
.gform-field-label {  
  font-size: var(--wp--preset--font-size--small) !important;
  gap: 0 !important;
}

.gfield_required_asterisk {
	font-size: 1.5rem !important;
}

.ginput_container_textarea {
	textarea {
		border: 0 !important;
	}
}


/* Footer ------------------------------------------------------------- */
.ch-footer {
	background-size: 40% !important;
	background-repeat: no-repeat;	
	background-position: right 0rem top 2rem;
	@media(min-width: 768px) {
		background-size: auto !important;
		background-position: right 0rem top 4rem;
	}
}


/* Custom theme oddball styling */
.home-columns {	
	gap: 0;
}
.home-column-left {
	flex-basis: 50% !important;
	@media(max-width: 767px) {
		order: 2;
		padding-top: 2rem;
	}
}
.home-column-right {
	@media(min-width: 781px) {
		padding-left: clamp(4rem, 8vw, 6rem);
		flex-basis: 50% !important;
		box-sizing: border-box;
	}
}
.single-attorney .wp-block-post-featured-image {
	text-align: center;
	img {
		max-width: 300px;
		@media(min-width: 992px) {
			max-width: none;
		}
	}
}