/* Global
---------------------------------------------------------------------------- */

body {
	background-color: #231f20;
	color: #333;
	font-size: 18px;
	line-height: 1.5;
}

.site-container {
	animation: none;
	background-color: #fff;
	overflow: hidden;
}

.wrap,
*.alignfull > div {
	max-width: 90%;
	margin-inline: auto;
}

.site-header {
	box-shadow: 0 2px 4px rgba(0,0,0,0.25);
	padding: 0;
	position: relative;
}

.wp-custom-logo .title-area {
	max-width: 259px;
	padding-bottom: 10px;
	padding-top: 10px;
}

.site-header .widget-area {
	color: #333;
	float: right;
	font-size: 16px;
	line-height: 1.2;
	margin-top: 20px;
	text-align: right;
}

.site-header .widget {
	margin: 0;
}

.site-header .widget-area a {
	color: #009a66;
	display: inline-block;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 5px;
	text-decoration: none;
}

.site-header .widget-area a:focus,
.site-header .widget-area a:hover {
	color: #86c6ae;
}

.content {
	width: 100%;
}

.site-inner {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

*.alignfull:not(.has-background) .wp-block-group__inner-container > p:not(.has-background-color) {
	padding: 0 !important;
}

.site-container .wp-block-button .wp-block-button__link {
	transition: all .2s ease-in-out;
}

.footer-widgets {
	background-color: #39385e;
	color: #fff;
	font-size: 18px;
	line-height: 1.33;
	overflow: hidden;
	padding: 90px 0;
}

.footer-widgets > .wrap {
	display: grid;
	gap: 0 10%;
	grid-template-areas: "one two three";
	grid-template-columns: 300px auto auto;
	grid-template-rows: auto;
	position: relative;
}

.footer-widgets > .wrap::before {
	background: url("../../images/spiral.svg") no-repeat center;
	background-size: contain;
	content: '';
	display: block;
	height: 1008px;
	left: 50%;
	opacity: .1;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-75%,-50%);
	width: 1113px;
	z-index: 0;
}

.footer-widgets-1 {
	grid-area: one;
	text-align: center;
}

.footer-widgets-2 {
	grid-area: two;
}

.footer-widgets-3 {
	grid-area: three;
}

.footer-widgets .widget-area {
	float: none;
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
}

.footer-widgets .widget {
	margin-bottom: 30px;
}

.footer-widgets .widget-title {
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.footer-widgets img.bright {
	filter: grayscale(1) brightness(10) contrast(1);
	max-width: 100%;
	width: 300px;
}

.footer-widgets-1 p {
	margin-bottom: 15px;
}

.footer-widgets-1 strong {
	font-size: 26px;
	line-height: 1.2;
}

.footer-widgets a {
	color: #fff;
	text-decoration: none;
}

.footer-widgets a:focus,
.footer-widgets a:hover {
	color: #86c6ae;
}

.footer-widgets-2.widget-area,
.footer-widgets-3.widget-area {
	margin-top: 40px;
}

.footer-widgets-2 a.phone {
	color: #fff;
	font-size: 30px;
	font-weight: 900;
	text-decoration: none;
}

.footer-widgets-2 a.phone:focus,
.footer-widgets-2 a.phone:hover {
	color: #86c6ae;
}

.footer-widgets-3 .menu-item {
	position: relative;
}

.footer-widgets-3 .menu-item::before {
	content: "\f344";
	font-family: "Dashicons";
	font-weight: 700;
	margin-right: 3px;
	position: relative;
	top: 3px;
}

.footer-widgets-3 .menu-item a {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .33px;
	text-transform: uppercase;
}

.site-footer {
	background-color: #231f20;
	border: none;
	color: #a7a9ac;
	font-size: 14px;
	padding: 16px 0;
	text-align: left;
}

.site-footer a {
	color: #a7a9ac;
	text-decoration: none;
}

.site-footer a:focus,
.site-footer a:hover {
	color: #fff;
}


/* Homepage
---------------------------------------------------------------------------- */

.section {
	clear: both;
	position: relative;
}

body.home .content > .entry {
	margin: 0;
}

/* Feature
--------------------------------------------- */

.feature {
	padding: 100px 0;
}

.feature::before {
	background: linear-gradient(to right,  rgba(0,154,102,0.9) 0%,rgba(0,154,102,0.9) 33%,rgba(0,154,102,0) 100%);
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 75%;
	z-index: 1;
}

.feature .wp-block-cover__background {
	display: none;
}

.feature > div {
	position: relative;
	z-index: 2;
}

.feature .text {
	max-width: 100%;
	width: 450px;
}

/* Conditions
--------------------------------------------- */

.is-layout-flex.conditions {
	align-items: flex-start;
	gap: 40px 20px;
}

.condition {
	gap: 0;
	max-width: 100%;
	width: 145px;
}

.condition h2 {
	align-items: center;
	aspect-ratio: 1/1;
	border-radius: 100%;
	display: flex;
	font-size: 36px;
	justify-content: center;
	margin: 0 0 5px;
	padding: 0;
	width: 75px;
}

.condition p {
	font-size: 21px;
	line-height: 1.1;
	text-align: center;
}

/* Doctor
--------------------------------------------- */

.doctor {
	overflow: hidden;
}

.doctor::before {
	background: url("../../images/spiral.svg") no-repeat center;
	background-size: contain;
	content: '';
	display: block;
	filter: brightness(0);
	height: 654px;
	left: 50%;
	opacity: .05;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-100%,-50%);
	width: 722px;
	z-index: 0;
}

.doctor .wp-block-media-text {
	position: relative;
}

.doctor .wp-block-media-text .wp-block-media-text__content {
	padding-left: 5%;
	padding-right: 0;
}

/* Patient Info
--------------------------------------------- */

.patient-info .downloads {
	align-items: flex-start;
	gap: 40px 20px;
	justify-content: center;
}

.patient-info .wp-block-file {
	display: grid;
	grid-template-areas: "link" "name";
	grid-template-columns: auto;
	grid-template-rows: auto;
	max-width: 100%;
	text-align: center;
	width: 150px;
}

.patient-info .wp-block-file a {
	color: #333;
	font-size: 18px;
	font-weight: 700;
	grid-area: name;
	line-height: 1.1;
	text-decoration: none;
}

.patient-info .wp-block-file a.wp-block-file__button {
	aspect-ratio: 1/1;
	background-color: #86c6ae;
	border-radius: 100%;
	color: #fff;
	font-size: 0;
	grid-area: link;
	margin: 0 auto 8px;
	position: relative;
	text-align: center;
	width: 75px;
}

.patient-info .wp-block-file a.wp-block-file__button::before {
	content: "\f497";
	font-family: 'Dashicons';
	font-size: 44px;
	line-height: 75px;
	transition: all .2s ease-in-out;
}

.patient-info .wp-block-file a.wp-block-file__button:focus,
.patient-info .wp-block-file a.wp-block-file__button:hover {
	background-color: #232176;
}

.patient-info .wp-block-file a.wp-block-file__button:focus::before,
.patient-info .wp-block-file a.wp-block-file__button:hover::before {
	content: "\f346";
}

.site-container .patient-info .faq p {
	margin-bottom: 20px;
}

.site-container .patient-info .faq p.has-background {
	margin-bottom: 10px;
	padding: 10px 20px;
}

.site-container .patient-info .faq p:last-child {
	margin-bottom: 40px;
}

/* Insurances
--------------------------------------------- */

.insurance .logos {
	justify-content: center;
}

.insurance .logos .wp-block-image {
	background-color: #fff;
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
	margin: 0 !important;
	padding: 20px;
}

.wp-block-gallery.has-nested-images.logos figure.wp-block-image img {
	align-self: center;
	max-height: 75px;
}


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

@media only screen and (min-width: 1024px) {
	
	.wrap,
	*.alignfull > div {
		max-width: 960px;
	}
	
}

@media only screen and (min-width: 1240px) {
	
	.wrap,
	*.alignfull > div {
		max-width: 1170px;
	}
	
}

@media only screen and (max-width: 1023px) {
	
	.doctor.alignfull > div {
		margin-left: 0;
		max-width: 95%;
	}
	
	.footer-widgets > .wrap {
		grid-template-areas: "one two" "one three";
	}
	
}

@media only screen and (max-width: 767px) {
	
	.is-layout-flex.conditions {
		gap: 25px 10px;
	}
	
	.condition {
		width: 125px;
	}
	
	.condition h2 {
		font-size: 28px;
		width: 60px;
	}
	
	.condition p {
		font-size: 18px;
	}
	
	.doctor::before {
		transform: translate(-55%,0);
	}
	
	.doctor.alignfull > div {
		max-width: 100%;
	}
	
	.doctor .wp-block-media-text.is-stacked-on-mobile {
		grid-template-columns: 100% !important;
	}
	
	.doctor .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
		grid-column: 1;
		grid-row: 2;
	}
	
	.doctor .wp-block-media-text.is-image-fill .wp-block-media-text__media {
		background-image: none !important;
		margin-top: -80px;
		text-align: center;
	}
	
	.doctor .wp-block-media-text.is-image-fill .wp-block-media-text__media img {
		clip: auto;
		height: auto;
		margin: auto;
		max-height: 550px;
		max-width: 100%;
		position: relative;
		width: auto;
	}
	
	.doctor .wp-block-media-text .wp-block-media-text__content {
		padding: 0 5%;
		text-align: center;
	}
	
	.doctor .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		grid-column: 1;
		grid-row: 1;
	}
	
	.footer-widgets > .wrap {
		align-items: center;
		grid-template-areas: "one" "two" "three";
		grid-template-columns: auto;
		text-align: center;
	}
	
	.footer-widgets .simple-social-icons ul {
		float: none;
		text-align: center;
	}
	
	.footer-widgets .simple-social-icons ul li {
		float: none;
	}
	
	.site-footer {
		text-align: center;
	}
	
}

@media only screen and (max-width: 650px) {
	
	.site-header .title-area,
	.site-header .widget-area {
		display: block;
		float: none;
		margin-inline: auto;
	}
	
	.site-header .widget-area {
		margin: 0 0 20px;
		text-align: center;
	}
	
	.feature::before {
		display: none;
	}
	
	.feature .wp-block-cover__background {
		display: block;
	}
	
	.feature .text {
		margin-inline: auto;
		text-align: center;
	}
	
}