/*
Theme Name: Wisdom Teeth Pro - Kaya child theme
Author: Anphira, LLC
Template: kaya
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaya
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Wisdom Teeth Pro Specific Constants
# Typography
# Elements
# Forms
# Header
# Footer
# Home
# Blog Archive
# Blog Single
# Single Staff
# Insights
--------------------------------------------------------------*/

/*******************
 * 
 *  Specific Constants
 * 
 *******************/
:root {
}








/*******************
 * 
 * Typography
 * 
 *******************/
@font-face {
    font-family: 'Crimson';
    font-style: normal;
    font-weight: 100-900;
    src: url('/wp-content/themes/kaya-child/fonts/CrimsonPro-Variable.ttf') format('truetype');
	font-display: swap;
}
@font-face {
    font-family: 'Crimson';
    font-style: italic;
    font-weight: 100-900;
    src: url('/wp-content/themes/kaya-child/fonts/CrimsonPro-Italic-Variable.ttf') format('truetype');
	font-display: swap;
}
@font-face {
    font-family: 'DMSans';
    font-style: normal;
    font-weight: 100-900;
    src: url('/wp-content/themes/kaya-child/fonts/DMSans-Variable.ttf') format('truetype');
	font-display: swap;
}
@font-face {
    font-family: 'DMSans';
    font-style: italic;
    font-weight: 100-900;
    src: url('/wp-content/themes/kaya-child/fonts/DMSans-Italic-Variable.ttf') format('truetype');
	font-display: swap;
}







/*******************
 * 
 * Elements
 * 
 *******************/

/* borders */
.top-white-green-border:before {
	height: 47px;
	position: absolute;
	content: '';
	z-index: 0;
	width: 100%;
	top: -45px;
	background: url('/wp-content/uploads/2026/08/white-green-border.png') center top no-repeat;
	background-size: 100% 100%;
}
.top-white-blue-border:before {
	height: 47px;
	position: absolute;
	content: '';
	z-index: 0;
	width: 100%;
	top: -45px;
	background: url('/wp-content/uploads/2026/08/white-blue-border.png') center top no-repeat;
	background-size: 100% 100%;
}
.bottom-green-white-border:after {
	height: 47px;
	position: absolute;
	content: '';
	z-index: 10;
	width: 100%;
	bottom: -45px;
	background: url('/wp-content/uploads/2026/08/green-white-border.png') center bottom no-repeat;
	background-size: 100% 100%;
}
.bottom-blue-white-border:after {
	height: 47px;
	position: absolute;
	content: '';
	z-index: 10;
	width: 100%;
	bottom: -45px;
	background: url('/wp-content/uploads/2026/08/blue-white-border.png') center bottom no-repeat;
	background-size: 100% 100%;
}
.hero-blue-white-border:after,
#page-hero-area:after {
	height: 24px;
	position: absolute;
	content: '';
	z-index: 10;
	width: 100%;
	bottom: -22px;
	background: url('/wp-content/uploads/2026/08/blue-white-border.png') center bottom no-repeat;
	background-size: 100% 100%;
}
ul li::marker {
  color: var(--accent-color-1);
}


/* fancy numbers white text gold background */
body .fancy-gold-numbers.fancy-gold-numbers {
	color:white;
	background: var(--accent-color-2);
	width: 4rem;
	height: 4rem;
	line-height: 4rem;
	text-align: center;
	font-size: 2rem;
	font-family: 'Crimson', Georgia, serif;
	border-radius: 50%;
	display: inline-block;
	margin: 0;
}

/* lists */
body ul {
	padding-left: 1em;
}

/* make kadence inner column to flex */
.set-inner-col-flex .kt-inside-inner-col {
	display: flex;
}


/* torn edge images */
.torn-edge {
	position: relative;
}
.torn-edge img {
	aspect-ratio:4/3;
	object-fit:cover
}
.torn-edge:after {
	position: absolute;
	content: '';
	z-index: 10;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
.torn-edge-green:after {
	background: url('/wp-content/uploads/2026/08/torn-edge-green.png') center no-repeat;
	background-size: 101%;
}
.torn-edge-blue:after {
	background: url('/wp-content/uploads/2026/08/torn-edge-blue-1.png') center no-repeat;
	background-size: 101%;
}
.torn-edge-white:after {
	background: url('/wp-content/uploads/2026/08/torn-edge-white.png') center no-repeat;
	background-size: 101%;
}

/* outline button */
body .is-style-outline .wp-block-button__link,
body .is-style-outline .wp-block-button__link:visited {
	background: white;
	border-color: var(--heading-color);
}
body .is-style-outline .wp-block-button__link:hover,
body .is-style-outline .wp-block-button__link:active,
body .is-style-outline .wp-block-button__link:focus {
	background: var(--heading-color);
}

/* clickable column */
body:not(.home) .kb-section-link-overlay {
	border: 2px solid var(--button-background-color);
}
.kb-section-link-overlay:hover {
	border: 2px solid var(--button-text-color);
}


/* tabbed content */
.wp-block-tab-panels {
	    border-top: 2px solid var(--button-background-color);
}






/*******************
 * 
 * Forms
 * 
 *******************/
.gform-body .gfield_label,
.gform-body .gform-field-label,
.gform-body .gfield_select,
.gform_button {
	font-size: 1.1rem !important;
}
.gform_button {
	--gf-local-color: var(--button-text-color) !important;
	--gf-local-bg-color: var(--button-background-color) !important;
}
.gform_button:hover {
	background: var(--button-text-color) !important;
	color: var(--button-background-color) !important;
}







/*******************
 * 
 * Header
 * 
 *******************/
@media (min-width: 768px) {
	#masthead #site-navigation {
		padding-top: 50px;
	}
}
@media (max-width: 767px) {
	#masthead .site-branding {
		max-width: 100px;
	}
	#masthead .kaya-right-side {
		padding-top: 10px;
	}
}






/*******************
 * 
 * Footer
 * 
 *******************/
#colophon .widget_nav_menu ul {
	columns: 2;
}
#colophon .widget_nav_menu a {
	text-decoration: none;
}
#colophon .widget_nav_menu a:hover {
	text-decoration: underline;
}

.copyright-content {
	display: block;
}






/*******************
 * 
 * Home
 * 
 *******************/
.home #masthead {
	position: relative;
	z-index: 1000;
	background: transparent;
}
.home #masthead #site-navigation {
	background: transparent;
}







/*******************
 * 
 * Blog Archive
 * 
 *******************/
#page-hero-area {
	position: relative;
	margin-bottom: 50px;
}
#page-hero-area .page-title,
#page-hero-area .entry-title,
#page-hero-area .entry-meta {
	color: white;
}
/* CSS flexbox for 2 column */
@media (min-width: 768px) {
	.blog #main,
	.archive #main,
	.single-staff .most-recent-articles {
		display: flex;
		gap: 30px;
		flex-wrap: wrap;
	}
	.blog .post,
	.archive .post,
	.single-staff .most-recent-article {
		flex-basis: 40%;
		flex-grow: 1;
		max-width: calc(50% - 30px);
	}
	.blog .paged-links,
	.archive .paged-links {
		width: 100%;
	}
}
.blog .post .entry-title,
.archive .post .entry-title {
	font-size: 2rem;
	line-height: 1.4;
}
.blog .post,
.archive .post,
.single-staff .most-recent-article {
	background: var(--background-color-2);
	padding-top: 0;
}
.blog .post .entry-header,
.archive .post .entry-header {
	padding-top: 0;
}
.blog .post .entry-title,
.archive .post .entry-title,
.blog .post .entry-content,
.archive .post .entry-content,
.single-staff .most-recent-content {
	padding-left: 15px;
	padding-right: 15px;
}
.blog .post .entry-footer,
.archive .post .entry-footer {
	display: none;
}

/* podcast archive */
.archive.category-podcasts .wp-post-image {
	max-width: 323px;
	margin:auto;
	display: block;
}





/*******************
 * 
 * Blog Single
 * 
 *******************/
#page-hero-area h1 {
	margin-bottom: 30px;
}

/* for podcasts */
.single.category-podcasts .entry-header {
	background: var(--background-color-2);
	text-align: center;
	margin-bottom: 40px;
}
.single.category-podcasts .wp-post-image {
	max-width: 680px;
}
.mejs-container {
	margin-bottom: 40px;
}






/*******************
 * 
 * Single Staff
 * 
 *******************/
@media (min-width: 768px) {
	.single-staff #page-hero-area .flexbox {
		align-items: center;
	}
	.width-50 {
		width: calc(50% - 15px);
	}
	.width-67 {
		width: calc(60% - 15px);
	}
	.width-33 {
		width: calc(33% - 15px);
	}
}

.single-staff #page-hero-area {
	position: relative;
	margin-bottom: 80px;
	padding-bottom: 30px;
}
.single-staff #page-hero-area {
	margin-bottom: 150px;
}
.single-staff #page-hero-area .entry-title {
	margin-bottom: 30px;
}
#page-hero-area p {
	color: white;
}
.single-staff .button {
	margin: 0 15px 30px;
}






/*******************
 * 
 * Insights
 * 
 *******************/
.fwpl-result .fwpl-item .wp-post-image img {
	max-height: 223px;
	width: auto;
	display: block;
	margin:auto;
}
.fwpl-result .fwpl-item .wp-post-image {
	background: var(--background-color-2);
	width: 100%;
}