/*
Theme Name: Southpark Functional Medicine
Theme URI: https://wordpress.com/
Author: Automattic
Author URI: https://wordpress.com/
Description: Child of blockbase, customized for Southpark Functional Medicine
Requires at least: 6.0
Tested up to: 6.2.2
Requires PHP: 5.7
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: blockbase
Text Domain: southparkfunctionalmedicine
Tags: 
*/

/* RESPONSIVE MOBILE FONTS */
@media(max-width:781px){
	H1 {font-size:32px !important;}
	H2 {font-size:28px !important;}
	H3 {font-size:24px !important;}
	H4 {font-size:20px !important;}
	H5, p, li {font-size:16px !important;}
	H6 {font-size:15px !important;}
	.header-style .wp-block-post-title {font-size:32px !important}
}

/* LINKS STYLE */
a:hover {
	color: var(--wp--custom--color--secondary) !important;
	text-decoration: underline !important;
}
/* BUTTON STYLE */
.wp-block-button a:hover {
	text-decoration: none !important;
}
/* FONTS 
h1, h2, h3, h4, h5, h6 {
	font-family: 'Bodoni Moda';
}
*/

.entry-content p, .entry-content li, .wp-block-post-content {
	font-family: 'Inter';
	font-weight: 300;
	margin-bottom: 15px !important;
}
body .wp-site-blocks .wp-block-heading {
	margin-bottom: 15px;
}
.wp-block-post-content li{
	margin-bottom: 10px;
}
/* SECONDARY BUTTON STYLE */
.secondary-button-style a {
	background: var(--wp--custom--color--primary) !important;
}
.secondary-button-style a:hover {
	background: #785f37 !important;
}
/* CATEGORIES LIST STYLE */
select {
	width: 100%;
	border: 1px solid var(--wp--preset--color--custom-border);
}
/* SEPARATOR STYLE */
.wp-block-separator {
	margin-top: var(--wp--preset--spacing--40) !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
	color: var(--wp--preset--color--custom-border) !important;
	background: var(--wp--preset--color--custom-border) !important;
}
/* SEPARATOR FOOTER MARGIN */
.separator-footer .wp-block-separator {
	margin-top: var(--wp--preset--spacing--60) !important;
	margin-bottom: var(--wp--preset--spacing--60) !important;
	color: rgba(91,86,74,0.2) !important;
	background: rgba(91,86,74,0.2) !important;
}
/* HOME HERO TEXT STYLE */
.hero-text-style {
	filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.5));
}
/* HEADER STYLE */
.header-style {
	z-index: 50;
	position: relative;
}

.social-links .wp-block-navigation .wp-block-navigation-item {
    margin-bottom: 0px !important;
}

/* FOOTER STYLE */
footer > div {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1 !important;
}
.curved-bottom {
	margin-bottom: 560px;
	background: var(--wp--preset--color--background);
	position: relative;
	z-index: 10;
}
.wp-site-blocks header {
	position: relative;
	z-index: 100;
}
.wp-block-social-links a:hover {
	color: currentColor !important;
}
/* BODY PADDING FIX */
.wp-site-blocks {
	padding: 0;
	overflow: hidden;
}
header, .entry-content, footer {
	padding: 0 25px;
}
/* BLOG STYLE */
.blog-index-style {
	z-index: 10;
	position: relative;
	margin-bottom: 560px;
	padding: 0 25px;
}
/* MOBILE BLOG STYLE */
@media(max-width:781px){
	.mobile-blog-index-style {
		gap: 1rem !important;
	}
}

@media only screen and (max-width: 640px) {
.jp-related-posts-i2__row[data-post-count] .jp-related-posts-i2__post {
    text-align: center;
}
}
/* CONTENT BOTTOM CURVED */
.curved-bottom:before, .blog-index-style:before {
	content: '';
	position: absolute;
	width: 100vh;
	height: 100vh;
	background: #faf7f0;
	border-radius: 50%;
	left: 50%;
	bottom: -160px;
	transform-origin: bottom;
	transform: translatex(-50%) scale(10);
	z-index: -1;
}
/* TOOLTIPS */
.tooltip-wrapper {
	position: relative;
}
.tooltip-digestive + ul {
	display: none;
}
.tooltip-digestive:hover + ul {
	display: block;
	position: absolute;
	left: 50%;
	transform: translate(-50%);
}
.tooltip-autoimmune + ul {
	display: none;
}
.tooltip-autoimmune:hover + ul {
	display: block;
	position: absolute;
	left: 50%;
	transform: translate(-50%);
}
.tooltip-autoimmune:hover + ul {z-index: 100;}
.tooltip-digestive:hover + ul {z-index: 100;}
/* BLOG META MARGIN FIX */
.wp-block-post-author__content p {
	margin-bottom: 0 !important;
}
/* HIDE ON DESKTOP */
.hide-on-desktop {
	display: none;
}
/* TABLET STYLE */
@media(max-width:1024px){
	.mobile-img-size img {
		max-width: 75% !important;
        margin-bottom: 30px;
	}
	.tablet-gap-style {
		gap: 0 !important;
	}
}
/** CONDITION COLUMN **/
@media(max-width:830px){
	.condition-mobile-column > div {
		flex-basis: 40%;
	}
}
/* MOBILE STYLE */
@media(max-width:781px){
	.mobile-img-size {
		margin-bottom: 0 !important;
	}
	.mobile-img-size img {
		max-width: 60% !important;
	}
	.mobile-order {
		flex-direction: column-reverse;
	}
	.left-alignment {
		text-align: left;
	}
	.mobile-hero-text {
		font-size: 32px !important;
	}
	.mobile-hero-column {
		max-width: 75% !important;
	}
	.mobile-cover-hero-height {
		min-height: 260px !important;
	}
	footer > div {
		position: relative;
	}
	.curved-bottom, .blog-index-style {
		margin-bottom: 0;
	}
	.curved-bottom:before, .blog-index-style:before {
		bottom: -100px;
		transform: translatex(-50%) scale(4);
	}
	.mobile-footer-padding-top {
		padding-top: 9rem !important;
	}
	.mobile-nav-gap {
		gap: 20px;
	}
	header, .entry-content, footer {
		padding: 0 16px;
	}
	.condition-mobile-column {
		gap: 25px !important;
	}
	.hide-on-mobile {
		display: none;
	}
	.hide-on-desktop {
		display: block;
	}
}

.wp-site-blocks .title-separator {
    background-color: transparent !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 20px;
}

/* Editor */
.editor-styles-wrapper .is-layout-flex > *, .editor-styles-wrapper .is-layout-constrained > *, .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
    margin: 0 0 15px !important;
}