/*
 Theme Name:        Uptown Charity Theme
 Theme URI:         https://aprilauger.com/uptown
 Text Domain:       uptown-child-charity
 Author:            April Auger
 Description:       Charity is a child theme designed to be used alongside the Uptown theme.
 Template:          uptown
 Version:           1.0.0
 Requires at least: 6.4
 Tested up to:      6.4
 Requires PHP:      8.0
 License:           GNU General Public License v2 or later
 License URI:       http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Typography */
.h1,
.h2,
.h3,
.h4 {
	font-family: var(--wp--preset--font-family--futura-pt);
	font-weight: 700;
}

h4.post-title {
	margin-bottom: 0
}

/* Navigation */
#header #navbar-wrapper .site-logo img {
	max-height: 75px;
	max-width: 200px !important
}

#primary-navigation .navbar {
	--bs-navbar-padding-y: 0;
}

#header #navbar-wrapper .site-logo img {
	padding: 0;
}

@media (min-width: 1200px) {
	.header__navbar .button-1 {
		margin-right: .5rem;
	}
}

/* Hero */
@keyframes zoom-bg {
	0% {
		background-size: 100% 100%;
		/* Fill the container at the start */
	}

	50% {
		background-size: 120% 120%;
		/* Scale up the background */
	}

	100% {
		background-size: 100% 100%;
		/* Scale back to original */
	}
}

/* Images */
@media (min-width: 1024px) {
	.image-block-left-margin {
		margin-left: 10%;
	}
}

.shadow-image img {
	display: block;
}

@media (min-width: 768px) {
	.shadow-image {
		display: inline-block;
		position: relative;
	}

	.shadow-image::after {
		box-shadow: 1.75rem 1.75rem 0px 0px #f1f1f1;
		content: "";
		height: 90%;
		right: 0;
		position: absolute;
		top: 10%;
		width: 90%;
		z-index: -1;
	}

	.shadow-image__left::after {
		left: 0;
		box-shadow: -1.5rem 1.5rem 0px 0px #f1f1f1;
	}
}

/* Staff */
.staff-phone,
.staff-email {
	display: inline-flex;
	align-items: center;
	margin-right: .75rem;
}

.staff-phone a,
.staff-email a {
	text-decoration: none;
	color: inherit;
	font-size: .95rem;
}

.staff-phone a:hover,
.staff-email a:hover {
	color: var(--wp--preset--color--primary);
}

.staff-phone .dashicons,
.staff-email .dashicons {
	font-size: 1rem;
	vertical-align: middle;
	color: var(--wp--preset--color--primary);
}

@media (max-width: 600px) {

	.staff-phone,
	.staff-email {
		display: block;
		margin-right: 0;
	}
}

/* Gutenberg Blocks */
.kb-row-layout-id2_49f1d4-5c {
	background-size: 100% 100%;
	background-position: center center;
	background-repeat: no-repeat;
	animation: zoom-bg 30s forwards;
}

.wp-block-kadence-tabs .kb-svg-icon-wrap {
	margin-right: .75rem;
}

@media (max-width: 767.98px) {
	.wp-block-kadence-tabs .kt-tabs-title-list {
		flex-direction: column;
	}
}

.kt-tabs-title-list li .kt-title-text {
	font-weight: 700;
	max-width: 200px;
}

.is-style-fill .has-white-background-color {
	border: 1px solid #ffffff;
}

.is-style-fill .has-white-background-color:hover {
	background: var(--wp--preset--color--primary) !important;
	border: 1px solid var(--wp--preset--color--primary);
	color: #ffffff !important;
}

/* Events */
.tribe-events-single a.wp-block-button__link {
	color: #fff !important;
}

.single-tribe_events .tribe-blocks-editor .tribe-events-single-event-title {
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1;
	padding-top: 1.5rem;
}

/* Slick Slider */
.slick-track {
	align-items: center;
	display: flex;
	justify-content: center;
}

.slick-slide {
	float: none;
	display: flex;
	justify-content: center;
}

/* Other styles */
.wp-block-button__link {
	height: auto;
	width: auto;
}

.wp-block-button__link.has-white-background-color:hover {
	background: transparent !important;
	border: 1px solid #ffffff;
	color: #ffffff !important;
}

#popmake-680 {
	background-image: url(https://s47280.p1627.sites.pressdns.com/wp-content/uploads/housing-2-e1745849606891.webp);
	max-width: 700px !important;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

#popmake-680::after {
	background: rgba(80, 124, 44, 0.92);
	content: "";
	height: 100%;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}

.signup {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3rem !important;
}

.signup h1 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-bottom: 2rem;
}

@media (min-width: 1200px) {
	.signup {
		padding: 1.5rem
	}

	.signup h1 {
		margin-bottom: 2.5rem;
	}
}

@media (max-width: 992px) {
	.slick-slider .slick-slide img {
		display: block;
		margin: 0 auto;
		width: auto;
	}
}