/*
Theme Name:     Trellis Company Theme
Theme URI:      n/a
Template:       kadence
Author:         Hot Dog Marketing
Author URI:     n/a
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
/* Header */
.site-header-row-container-inner .site-container {
	max-width: 77.5rem;
	width: 100%;
}
.search-toggle-open.search-toggle-style-default {
	border-radius: 3rem;
}
.sub-menu li a {
	border-left: 3px solid #e5f1fa;
}
.sub-menu li a:hover,
.sub-menu li a:focus,
.sub-menu li a:active {
	border-left: 3px solid #0071CE;
}
/* Home */
@media only screen and (max-width: 767px) {
	.home-hero {
		background-size: cover !important;
		background-position: 100% 100% !important;
	}	
}
@media only screen and (max-width: 390px) {
	.home-hero {
		background-size: auto !important;
		background-position: 100% 0 !important;
	}	
}

/* Subpage Hero Borders - Gray */
.wave-bottom {
	position: relative;
	overflow: hidden;
	--wave-h: clamp(120px, 15vw, 220px);
	--wave-color: #f6f6f7;
}

.wave-bottom::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: var(--wave-h);
	background: var(--wave-color);
	clip-path: polygon(0% 31%, 4% 31%, 9% 31%, 16% 32%, 22% 33%, 28% 33%, 34% 34%, 41% 36%, 48% 38%, 57% 42%, 64% 47%, 71% 51%, 77% 56%, 82% 62%, 87% 68%, 93% 77%, 96% 82%, 98% 85%, 100% 88%, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0% 31%, 4% 31%, 9% 31%, 16% 32%, 22% 33%, 28% 33%, 34% 34%, 41% 36%, 48% 38%, 57% 42%, 64% 47%, 71% 51%, 77% 56%, 82% 62%, 87% 68%, 93% 77%, 96% 82%, 98% 85%, 100% 88%, 100% 100%, 0 100%);
	z-index: 1;
	pointer-events: none;
}

/* Keep inner content above the wave just in case */
/* .wave-bottom > * { position: relative; z-index: 2; } */

/* Subpage Hero Borders - Blue */
.wave-bottom.blue::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 234px;
	background: url("https://trellisstag.wpengine.com/wp-content/uploads/2025/08/tc_blue-bkgd.png");
	clip-path: polygon(0% 31%, 4% 31%, 9% 31%, 16% 32%, 22% 33%, 28% 33%, 34% 34%, 41% 36%, 48% 38%, 57% 42%, 64% 47%, 71% 51%, 77% 56%, 82% 62%, 87% 68%, 93% 77%, 96% 82%, 98% 85%, 100% 88%, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0% 31%, 4% 31%, 9% 31%, 16% 32%, 22% 33%, 28% 33%, 34% 34%, 41% 36%, 48% 38%, 57% 42%, 64% 47%, 71% 51%, 77% 56%, 82% 62%, 87% 68%, 93% 77%, 96% 82%, 98% 85%, 100% 88%, 100% 100%, 0 100%);
	z-index: 1;
	pointer-events: none;
}

/* Subpage Hero Borders - White */
.wave-bottom.white::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: var(--wave-h);
	background: #fff;
	clip-path: polygon(0% 31%, 4% 31%, 9% 31%, 16% 32%, 22% 33%, 28% 33%, 34% 34%, 41% 36%, 48% 38%, 57% 42%, 64% 47%, 71% 51%, 77% 56%, 82% 62%, 87% 68%, 93% 77%, 96% 82%, 98% 85%, 100% 88%, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0% 31%, 4% 31%, 9% 31%, 16% 32%, 22% 33%, 28% 33%, 34% 34%, 41% 36%, 48% 38%, 57% 42%, 64% 47%, 71% 51%, 77% 56%, 82% 62%, 87% 68%, 93% 77%, 96% 82%, 98% 85%, 100% 88%, 100% 100%, 0 100%);
	z-index: 1;
	pointer-events: none;
}

/* FAQ Accordions */
.hidden {
	display: none !important;
}

/* Forms */
.gform-theme--framework a {
	color: var(--global-palette-highlight) !important;
}

.gform-theme--framework a:hover,
.gform-theme--framework a:focus,
.gform-theme--framework a:active {
	color: var(--global-palette-highlight-alt) !important;
}
.gform-theme--foundation .gfield select.large,
.gform-theme--foundation .gfield select {
	color: var(--wp--preset--color--theme-palette-1) !important;
}

.gform_button.button {
	background: var(--global-palette2) !important;
}
.gform_button.button:hover,
.gform_button.button:focus {
	background: var(--global-palette4) !important;
}

.gform-theme--framework .gform_validation_errors {
	background: var(--global-palette9) !important;
}

.gform-theme--foundation input,
.gform-theme--foundation .gfield textarea {
	color: #000 !important;
}

.gform_confirmation_message_2.gform_confirmation_message {
	color: #fff !important;
}

/* Email Form */
#gform_2 .gfield_label {
	color: #000;
	font-weight: 800;
}
.gfield_required {
	font-weight: 800;
}
.gform-theme--framework .field_sublabel_above .gform-field-label--type-sub,
.gform-field-label,
.gfield_description {
	color: #333 !important;
}
#field_2_1,
#field_2_28,
#field_2_4,
#field_2_5,
#field_2_2, 
#field_2_6, 
#field_2_7, 
#field_2_3 {
	background: #c2c2c2;
	border-radius: 10px;
	padding: 2rem 1rem;
}
#field_2_1 .gfield_label,
#field_2_5 .gfield_label,
#field_2_7 .gfield_label {
	position: relative;
	top: 25px;
}

/* Archive/ Blog */
.blog .site-main-header-wrap .site-header-row-container-inner,
.archive .site-main-header-wrap .site-header-row-container-inner,
.single .site-main-header-wrap .site-header-row-container-inner {
	background: gray !important;
}
