/*
Theme Name: Clean Slate
Author: Carney
Author URI: https://carney.co/
Description: With its clean, minimal design and powerful feature set, Clean Slate enables agencies to build stylish and sophisticated WordPress websites. Clean Slate is a masterpiece of design and functionality. It features a range of valuable patterns, including hero and portfolio sections, prominent call-to-action buttons, and customer testimonials. Whether you’re building a website for your business, personal brand, or creative project, Clean Slate is perfect for anyone looking to launch quickly and efficiently.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0.10
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: clean-slate
*/


/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
	appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* :root :where(.is-layout-flow) > :first-child + .entry-content {
	margin-block-start: 0;
}

:root :where(.wp-site-blocks) > * {
	margin-block-start: 0 !important;
} */

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}


/* Custom
---------------------------------------- */

/* -- Navigation -- */

@media only screen and (max-width: 782px) {

	body:has(#wpadminbar) .wp-site-blocks {
		min-height: calc(100vh - 46px);
	}

}

/* -- Body -- */

body:has(#wpadminbar) .wp-site-blocks {
	min-height: calc(100vh - 32px);
}

@media only screen and (max-width: 782px) {

	body:has(#wpadminbar) .wp-site-blocks {
		min-height: calc(100vh - 46px);
	}

}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wp-site-blocks > main,
.wp-site-blocks > main.block-editor-block-list__block {
	flex: 1;
}

/* -- Utility -- */

.has-square-ratio {
	aspect-ratio: 1 / 1;
}

@media only screen and (max-width: 782px) {

	.has-grid-one-column {
		grid-template-columns: 100% !important;
	}

}


/* -- Testimonial Card -- */

.testimonial-card {
	position: relative;
}

.testimonial-label {
	position: absolute;
	top: -16px;
	left: -16px;
}


/* -- Cover Decorated -- */

.cover-decorated {
	position: relative;
}

.cover-decorated::before {
	content: "";
	position: absolute;
	width: 220px;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	background-color: var(--wp--preset--color--primary);
	opacity: 0.25;
	z-index: -1;
}

.cover-decorated.top-left::before {
	top: 0;
	left: 0;
	transform: translateY(-25%);
}

.cover-decorated.top-right::before {
	top: 0;
	right: 0;
	transform: translateY(-25%);
}

.cover-decorated.bottom-left::before {
	bottom: 0;
	left: 0;
	transform: translateY(25%);
}

.cover-decorated.bottom-right::before {
	bottom: 0;
	right: 0;
	transform: translateY(25%);
}

.marker-primary li::marker {
	color: var(--wp--preset--color--primary);
}


/* -- Gravity Forms -- */

.cs-form_wrapper .gform_fields {
	row-gap: var(--wp--preset--spacing--x-small) !important;
}

.cs-form_wrapper .gform_fields .gfield input,
.cs-form_wrapper .gform_fields .gfield textarea,
.cs-form_wrapper .gform_fields .gfield select,
.cs-form_wrapper .gform_fields .gfield .gfield_checkbox,
.cs-form_wrapper .gform_fields .gfield .gfield_radio {
	box-shadow: none !important;
}

.cs-form_wrapper .gfield.w-full .ginput_complex {
	width: 100%;
	margin-inline: 0 !important;
}

.cs-form_wrapper .gfield.w-full .ginput_complex .ginput_address_zip {
	inline-size: 100% !important;
	padding: 0;
}

.cs-form_wrapper .gform_fields .gfield_required .gfield_required_text {
	color: var(--wp--preset--color--secondary) !important;
}


/*-- FAQs --*/

#rank-math-faq .rank-math-question::after {
	content: "keyboard_arrow_down" !important;
	font-family: "Material Symbols Outlined" !important;
}

#rank-math-faq .rank-math-question.rm-faq-question-active::after {
	content: "keyboard_arrow_up" !important;
}


/* -- Progress Bar -- */

.progress-container {
  width: 100%;
  height: 12px;
	margin-top: 8px !important;
  background-color: var(--wp--preset--color--neutral);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.progress-fill {
  height: 100%;
  background-color: var(--wp--preset--color--primary);
  transition: width 0.4s ease-in-out;
  border-radius: 10px 0 0 10px;
}

.percentage-0   { width: 0%;   }
.percentage-10  { width: 10%;  }
.percentage-20  { width: 20%;  }
.percentage-30  { width: 30%;  }
.percentage-40  { width: 40%;  }
.percentage-50  { width: 50%;  }
.percentage-60  { width: 60%;  }
.percentage-70  { width: 70%;  }
.percentage-80  { width: 80%;  }
.percentage-90  { width: 90%;  }
.percentage-100 { width: 100%; }


/* -- Service Items -- */

@media only screen and (min-width: 768px) {

	.service-item-grid.reverse .service-item-image {
		order: 2;
	}

	.service-item-grid.reverse .service-item-content {
		order: 1;
	}
	
}

.excerpt-link .wp-block-post-excerpt__more-text {
	margin-top: 16px;
}
.excerpt-link .wp-block-post-excerpt__more-link {
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none;
	font-size: 14px;
}
