/*
 Theme Name:        Uptown Studios Child
 Text Domain:       uptown-studios-child
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       Uptown Studios Child Theme
 Template:          uptown-studios
 Version:           1.0.0
 Requires at least: 5.9
 Tested up to:      6.0
 Requires PHP:      5.6
 License:           GNU General Public License v2 or later
 License URI:       http://www.gnu.org/licenses/gpl-2.0.html
/* Typography */
.h1 {
	font-size: 3rem;
	font-size: clamp(2.625rem, 2.4625rem + 0.8125vw, 3.4375rem);
}

.h2 {
	font-size: calc(2.5rem + 1vw);
	font-size: 2.5rem;
	font-size: clamp(2.1875rem, 2.025rem + 0.8125vw, 3rem);
}

.h3,
.subtitle,
.jumbotron-container .section-description {
	font-size: 1.25rem;
	font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
}

h3.white a {
	color: #ffffff;
}

h4,
.h4 {
	font-size: 1.125rem;
	font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
}

.has-small-font-size {
	font-size: 0.85rem;
	font-size: clamp(0.85rem, 0.82rem + 0.15000000000000002vw, 1rem);
}

body,
.has-regular-font-size {
	font-size: 1rem;
	font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
}

/* Jumbotron */
.hero-curve {
	position: absolute;
	overflow: hidden;
	left: 0;
	right: 0;
	width: 100%;
	margin-bottom: -20px;
	bottom: 0;
}

@media (max-width: 991.98px) {
	.hero-curve svg {
		height: 70px;
	}
}

.home .jumbotron::after {
	background: transparent linear-gradient(0deg, #00000088 0%, #0A0A0A58 85%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
	opacity: 0.73;
}

/* Images */
.circle-photo-left img {
	border-radius: 50%;
	box-shadow: 29px 12px 0px 1px rgba(243, 247, 252, 0.75);
	-webkit-box-shadow: 29px 12px 0px 1px rgba(243, 247, 252, 0.75);
	-moz-box-shadow: 29px 12px 0px 1px rgba(243, 247, 252, 0.75);
}

.circle-photo-right img {
	border-radius: 50%;
	box-shadow: -29px -12px 0px 1px rgba(243, 247, 252, 0.75);
	-webkit-box-shadow: -29px -12px 0px 1px rgba(243, 247, 252, 0.75);
	-moz-box-shadow: -29px -12px 0px 1px rgba(243, 247, 252, 0.75);
}

@media (min-width: 992px) {
	.circle-photo-left img {
		box-shadow: 49px 12px 0px 1px rgba(243, 247, 252, 0.75);
		-webkit-box-shadow: 49px 12px 0px 1px rgba(243, 247, 252, 0.75);
		-moz-box-shadow: 49px 12px 0px 1px rgba(243, 247, 252, 0.75);
	}

	.circle-photo-right img {
		box-shadow: -49px -12px 0px 1px rgba(243, 247, 252, 0.75);
		-webkit-box-shadow: -49px -12px 0px 1px rgba(243, 247, 252, 0.75);
		-moz-box-shadow: -49px -12px 0px 1px rgba(243, 247, 252, 0.75);
	}
}

/* Section Curves */
.curve-top img,
.curve-bottom img {
	width: 100%;
}

figure.wp-block-image.curve-top,
figure.curve-bottom {
	margin: 0 !important;
}

.lazyloaded.spectra-image-gallery__media-thumbnail {
	opacity: 1;
	transition: filter 0.5s, transform 0.5s !important;
}

/* Buttons */
a.wp-block-button__link.wp-element-button,
a.wp-block-button__link.wp-element-button:visited {
	color: #fff;
}

a.btn.btn-green,
a.btn.btn-green:visited {
	background: #00A86B;
}

a.btn.btn-green:hover,
a.btn.btn-green:active {
	background: #007A4E;
	color: #fff !important;
}

/* Gutenberg blocks */
.kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure:hover {
	transition: filter 0.5s, transform 0.5s !important
}

.kadence-blocks-gallery-item__caption {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
}

/* Widgets */
.sidebar .widget-title {
	font-size: 1.25rem;
	font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
}

.sidebar .widget ul {
	padding: 0;
	list-style: none;
}

.sidebar .widget ul li a:link,
.sidebar .widget ul li a:visited {
	display: inline-block;
	line-height: 2.5;
	padding-left: .5rem;
	padding-right: .5rem;
	color: #333;
}

.sidebar .widget ul li a:hover,
.sidebar .widget ul li a:active {
	line-height: 2.5;
	color: #005BA3;
}

/* Navigation */
.bm-horizontal #site-navigation .nav-link {
	padding: 0.25rem 0.75rem;
	font-size: 1rem;
}

/* Single */
.single-publication #single-wrapper {
	margin-bottom: 1.5rem
}

@media(min-width: 992px) {
	.single-publication #single-wrapper {
		margin-bottom: 3rem
	}
}

/* Frontpage News */
@media (min-width: 992px) {
	.news .card.featured {
		margin-right: 1.5rem;
	}
}

.news img {
	border-radius: .25rem;
}

/* Blog */
.blog .overlay::after {
	background: none;
}

/* Footer */
figure.curve-top {
	margin: 0;
}

/* Other styles */
.white a,
.white:visited,
.white a:hover,
.white:active {
	color: #fff;
	text-decoration: underline;
}

@media (min-width: 1200px) {
	.bm-horizontal #site-navigation .dropdown-menu .dropdown-menu {
		margin-left: 3rem;
	}
}

#single-wrapper,
#full-width-layout {
	margin-bottom: 3rem;
}

.nav-link span {
	line-height: 1.25;
	display: inline-block;
}

@media only screen and (min-width: 641px) {

	.jumbotron,
	.jumbotron-wrapper {
		max-height: 70vw;
	}
}

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

	.jumbotron,
	.jumbotron-wrapper {
		max-height: 100vw;
	}
}

.excerpt.card .post-thumbnail img {
	border: 1px solid #eee !important;
	border-radius: .5rem;
}


/* Kadence: Content Width Breakpoints */
@media (min-width: 576px) {
	.kb-theme-content-width {
		max-width: 540px !important;
	}
}

@media (min-width: 768px) {
	.kb-theme-content-width {
		max-width: 720px !important;
	}
}

@media (min-width: 992px) {
	.kb-theme-content-width {
		max-width: 960px !important;
	}
}

@media (min-width: 1200px) {
	.kb-theme-content-width {
		max-width: 1140px !important;
	}
}

@media (min-width: 1400px) {
	.kb-theme-content-width {
		max-width: 1360px !important;
	}
}

/* Kadence: Row Spacing & Paragraph Trimming */
.wp-block-kadence-rowlayout>.kt-row-column-wrap.kb-theme-content-width {
	margin: 0 auto;
	padding-left: var(--xui-space-3);
	padding-right: var(--xui-space-3);
}

/* Removes default padding from paragraphs if they are the last child in a section */
.kt-inside-inner-col>p:last-child,
section>p:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.wp-block-buttons .wp-block-button__link {
	width: auto !important;
}