/*
Theme Name: Wellness Mama
Theme URI: https://wellnessmama.com/
Author: Brian Gardner
Author URI: https://briangardner.com/
Description: Custom theme for Wellness Mama.
Version: 0.8.0.5
*/


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

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

html {
	scroll-behavior: smooth;
}

a,
button,
input,
textarea,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

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

.is-style-no-underline a {
	text-decoration: none;
}

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

.wp-block-heading > strong,
.wp-block-quote strong {
	font-weight: var(--wp--custom--font-weight--medium);
}

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

input:not([type="submit"]),
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--primary) !important;
	border-radius: 0 !important;
	color: var(--wp--preset--color--contrast) !important;
	font-family: var(--wp--preset--font-family--freight-text) !important;
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: var(--wp--custom--font-weight--regular);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	filter: brightness(95%);
	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;
}

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

/* Header Popup
---------------------------------------- */

.popup {
	animation: slideIn 0.5s;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

@keyframes slideIn {
	from { top: -100%; }
	to { top: 0; }
}

.popup-content {
	left: 50%;
	margin: 0 auto;
	position: absolute;
	top: 20px;
	transform: translateX(-50%);
	width: 80%;
}

#closePopup {
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--outfit);
	float: right;
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--font-weight--light);
	position: absolute;
	right: 10px;
	top: 10px;
}


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

.is-style-popup .wp-element-button {
	font-weight: var(--wp--custom--font-weight--regular);
}

/* -- Details -- */

.wp-block-details summary {
	background-color: var(--wp--preset--color--secondary);
	border-left: 5px solid var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--outfit);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--medium);
	padding: 5px var(--wp--preset--spacing--x-small);
}

.wp-block-details summary::marker {
	content: "";
}

.wp-block-details > p {
	padding-left: var(--wp--preset--spacing--x-small);
	padding-right: var(--wp--preset--spacing--x-small);
}

/* -- Heading -- */

.wp-block-heading:not(:first-child) {
	margin-top: var(--wp--preset--spacing--small);
}

.wp-block-heading a {
	text-decoration: none;
}

/* -- Image -- */

.wp-block-image img {
	vertical-align: middle;
}

/* -- Navigation -- */

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--primary);
}

.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;
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.has-contrast-background-color .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open,
.has-contrast-background-color .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

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

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

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

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding-left: 10px !important;
	padding-right: 10px !important;
	padding-top: 5px !important;
}

/* -- Post Excerpt -- */

.wp-block-post-excerpt__more-link,
.wp-block-post-excerpt__more-link:hover {
	color: var(--wp--preset--color--base);
}

.wp-block-post-excerpt__more-link {
	background-color: var(--wp--preset--color--tertiary);
	border-radius: 50px;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: var(--wp--custom--font-weight--medium);
	line-height: var(--wp--custom--line-height--medium);
	padding: 10px 20px;
	text-decoration: none;
}

/* -- Post Template -- */

.is-style-full-height .full-height {
	height: 100%;
}

.is-style-with-style ul.wp-block-post-template {
	list-style-type: disc;
	margin-left: var(--wp--custom--spacing--gap);
}

/* -- Post Terms -- */

.single-post .wp-block-post-terms a {
	background-color: var(--wp--preset--color--secondary);
	border-radius: 40px;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 12px;
	font-weight: var(--wp--custom--font-weight--medium);
	letter-spacing: 0.5px;
	padding: 8px 12px;
	text-decoration: none;
	text-transform: uppercase;
}

.single-post .wp-block-post-terms a:hover {
	color: var(--wp--preset--color--primary);
	filter: brightness(97%);
}

.search-results .type-surl {
	display: none;
}

/* Plugins
---------------------------------------- */

/* -- ConvertKit -- */

.formkit-form,
.formkit-form [data-style="clean"] {
	margin-bottom: 0 !important;
	padding: 0 !important;
}

.formkit-field,
.formkit-submit {
	margin-bottom: 10px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.formkit-input {
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.formkit-form button {
	background-color: var(--wp--preset--color--tertiary) !important;
	font-family: var(--wp--preset--font-family--outfit) !important;
	font-size: var(--wp--preset--font-size--tiny) !important;
	font-weight: var(--wp--custom--font-weight--medium) !important;
}

.formkit-form[data-uid="cd22f91f37"] button.formkit-submit {
	border-radius: 0 !important;
}

.formkit-form ::placeholder,
.formkit-input {
	text-align: center;
}

/* -- Podcast -- */

.podcast_player {
	background-color: var(--wp--preset--color--secondary);
	padding: var(--wp--preset--spacing--x-small);
}

.podcast_meta {
	font-size: var(--wp--preset--font-size--x-small);
}

.podcast_meta p {
	margin: 0;
}

.podcast_meta p:first-child {
	margin-bottom: 10px;
	margin-top: var(--wp--preset--spacing--x-small);
}

.podcast-transcript {
	height: 600px;
	overflow: scroll;
}

/* -- Reading Time -- */

.rt-reading-time {
	font-weight: var(--wp--custom--font-weight--bold);
}

/* -- Search -- */

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border-color: var(--wp--preset--color--primary);
	padding: 0;
}

.wp-block-search .wp-block-search__input {
	border: none !important;
	font-size: var(--wp--preset--font-size--tiny) !important;
	padding: 5px 15px;
}

.wp-block-search ::placeholder {
	font-size: var(--wp--preset--font-size--tiny);
}

.wp-block-search .wp-element-button {
	margin: 0;
}

.wp-block-navigation .wp-element-button {
	padding: 10px;
}

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

/* -- Box Shadow -- */

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

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

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

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

	/* -- Utility -- */

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

}
