/*
 Theme Name:        Uptown Studios Child - Nexus Theme
 Text Domain:       uptown-studios-child-nexus
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       Nexus is a child theme used with the Uptown Studios theme
 Template:          uptown-studios
 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
*/

/* Layout */
.fluid .kt-row-column-wrap {
	max-width: 100% !important;
}

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

h3 a,
h3 a:visited {
	color: var(--wp--preset--color--text);
}

h3 a:hover,
h3 a:active {
	color: var(--wp--preset--color--primary);
}

h2.line {
	margin-bottom: 1.5rem;
}

h2.line::after {
	background: var(--wp--preset--color--primary);
	content: '';
	display: block;
	height: 3px;
	margin-top: 0.3rem;
	max-width: 3rem;
}

/* Navigation */
.bm-horizontal .site-logo img {
	padding: 0;
}

@media (max-width: 1199.98px) {
	.bm-horizontal #site-navigation ul#menu {
		padding-top: 1.75rem !important;
		padding-bottom: 1.5rem !important;
	}
}

/* Jumbotron */
.jumbotron__description {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.3;
}

.jumbotron-container {
	max-width: 800px;
}

.home .jumbotron::after {
	background: #00511d !important;
	opacity: 0.9;
}

@media (min-width: 992px) {
	.home .jumbotron::after {
		background: transparent linear-gradient(90deg, #003d16 0%, #00511d 55%, #00511d00 100%) 0% 0% no-repeat padding-box !important;
	}
}

.jumbotron,
.jumbotron-wrapper,
.jumbotron::after {
	min-height: 575px;
}

/* Buttons */
.white-outline-hover .wp-block-button__link:hover {
	border: 1px solid var(--wp--preset--color--white);
}

.btn-secondary .wp-block-button__link:hover {
	background: var(--wp--preset--color--secondary);
	border: 1px solid var(--wp--preset--color--secondary);
}

input[type='submit']:hover {
	background-color: var(--wp--preset--color--body);
	border-color: var(--wp--preset--color--body);
}

.wp-block-button .wp-block-button__link {
	min-width: 8rem;
}

.wp-block-button__link {
	height: auto;
	width: auto;
}

/* Search */
@media (min-width: 1200px) {
	/* Push search to the right next to the toggle button */
	.push {
		margin-left: auto;
	}
}

@media (min-width: 1200px) {
	.search-form {
		position: relative;
		margin-right: 1.5rem;
	}

	.search-field:focus {
		position: absolute;
		left: 0px;
		right: 0px;
	}

	.search-wrapper #main-search {
		margin-right: 1.5rem;
	}
}

/* Images */
.bkg-img {
	overflow: hidden;
	position: relative;
	z-index: 0;
}

.bkg-img .img img {
	bottom: 0;
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.bkg-img .wp-block-group__inner-container {
	position: relative;
	z-index: 2;
}

/* Buttons */
.wp-block-button:where(.is-style-outline) > .wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	border: 1px solid var(--wp--preset--color--secondary) !important;
}

/* Footer */
#footer .d-flex {
	padding-bottom: 1.5rem;
	padding-top: 1.5rem;
}

@media (max-width: 991px) {
	#footer .footer-social {
		margin-top: 1rem;
	}
}

footer .h4 {
	font-size: var(--wp--preset--font-size--medium);
	letter-spacing: 0.125rem;
	text-transform: uppercase;
}

footer ul li {
	position: relative;
	margin-left: 1rem;
}

footer ul li:before {
	color: #f1f1f1;
	content: '\f345';
	font-family: 'dashicons';
	font-size: 0.8rem;
	margin-left: -1rem;
	padding-right: 0.25rem;
	position: absolute;
}

.footer-logo {
	max-width: 225px;
}

#footer a:hover,
#footer a:active {
	color: #b9d0b9 !important;
}

#footer a.social-icon svg:hover {
	fill: #b9d0b9 !important;
}

/* Other styles */

@media (max-width: 767.98px) {
	#what-we-do {
		text-align: center;
	}

	#what-we-do .wp-block-buttons {
		justify-content: center;
		margin-bottom: 1.25rem;
	}
}

.img-shadow {
	box-shadow: 0px 3px 35px #0000001a;
}

.img-shadow img {
	width: 100%;
}

#search-wrapper {
	margin-bottom: 3rem;
}

.gfield_description ul li {
	list-style: disc;
}

.is-style-fill .wp-block-button__link:hover {
	color: #fff;
}

.optimal-line-length {
	max-width: 1024px;
}

ul.kb-gallery-ul {
	align-items: center;
	padding: 10px 0 !important;
}

.sponsor-logos.wp-block-gallery.has-nested-images figure.wp-block-image img {
	max-height: 200px;
	aspect-ratio: 1;
	object-fit: contain;
	width: auto;
	max-width: 100%;
}

.kt-accordion-panel-inner *:last-of-type {
	margin-bottom: 0;
}

div#title-block {
	margin-bottom: 0 !important;
}

article.staff img {
	aspect-ratio: 1/1.25;
	object-fit: cover;
}
