/*
 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: 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 */
.h2 {
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.2;
}

h2.line {
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: .15rem;
	padding-top: 1.75rem;
	margin-bottom: 2rem;
	position: relative;
	text-transform: uppercase;
}

h2.line::before,
h2.line::after {
	content: "";
	display: block;
	height: 4px;
	left: 0;
	position: absolute;
	top: 1rem;
}

h2.line::before {
	background: var(--wp--preset--color--secondary);
	width: 3rem;
}

h2.line::after {
	background: var(--wp--preset--color--primary);
	margin-left: 3.5rem;
	width: calc(100% - 3.5rem);

}

.h4 {
	font-family: "playfair-display";
	font-size: var(--wp--preset--font-size--medium);
	text-transform: uppercase;
	letter-spacing: .09rem;
}

.main-title {
	font-size: 1.5625rem;
	font-size: clamp(1.5625rem, 1.4375rem + 0.625vw, 2.1875rem);
	line-height: 1.3;
}

.entry-title a:hover,
.entry-title a:active {
	color: var(--wp--preset--color--secondary);
}

/* Top bar */
.top-bar .top-bar-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 60px
}

.bm-horizontal #navbar-wrapper .top-bar {
	height: 60px
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-xxl {
	justify-content: flex-end;

}

@media (max-width: 1199.98px) {
	.navbar {
		padding-top: 0;
		padding-bottom: 0;

	}
}

@media (min-width: 1200px) {
	.top-bar .top-bar-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 90px
	}

	.bm-horizontal #navbar-wrapper .top-bar {
		height: 90px
	}

	.bm-horizontal .site-logo img {
		max-height: 100%;
	}
}

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

/* 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);
}

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

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

/* Links */
.arrow-link {
	display: inline-block;
	position: relative;
}

.arrow-link a::after {
	color: var(--wp--preset--color--primary);
	content: "\f344";
	font-size: var(--wp--preset--font-size--small);
	font-family: dashicons;
	margin-left: 0.35rem;
	position: absolute;
}

.arrow-link a:hover::after {
	color: var(--wp--preset--color--secondary);
}

@media (min-width: 1200px) {

	/* Push search to the right next to the toggle button */
	.push {
		margin-left: auto;
	}
}

/* Gutenberg Blocks */
.kb-theme-content-width.kt-row-column-wrap {
	margin: 0 auto;
	max-width: 1440px !important;
}

/* Spacing */
@media (min-width: 992px) {
	.padding-left {
		padding-left: 2.5rem
	}

	.padding-right {
		padding-right: 2.5rem
	}
}

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

.image-shadow {
	box-shadow: -2.5rem -2.5rem 0rem 0.063rem rgba(245, 245, 245, 0.75);
	-webkit-box-shadow: -2.5rem -2.5rem 0rem 0.063rem rgba(245, 245, 245, 0.75);
	-moz-box-shadow: -2.5rem -2.5rem 0rem 0.063rem rgba(245, 245, 245, 0.75);
}

.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 */
#bm-horizontal :hover {
	background-color: #212121;
	border-color: #212121;
	color: #fff;
}

/* Footer */
#footer {
	padding-bottom: 0 !important;
}

#footer .ft-copy {
	border-top: 1px solid #3B3B3B;
}

#footer ul li {
	line-height: 2rem;

}

#footer .h4 {
	margin-bottom: 1rem;

}

#footer ul li::before {
	font-family: "dashicons";
	content: "\f345";
	margin-right: .25rem;
	vertical-align: middle;
}

.content-area figure {
	width: 100% !important;
}

@media (max-width: 991.98px) {

	#footer .ft-copy {
		border-top: none;
		padding-bottom: 2rem;
	}

	#footer .copyright {
		text-align: left !important;
		margin-top: 1.5rem;
		margin-bottom: 1.5rem;
	}
}

/* facetwp */
.facetwp-reset,
.facetwp-reset:visited {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: 1px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--lato) !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .05rem;
	line-height: 1;
	padding: .75rem 1rem;
	text-transform: uppercase
}

.facetwp-reset:hover,
.facetwp-reset:active {
	background-color: var(--wp--preset--color--secondary);
	border: 1px solid var(--wp--preset--color--secondary);
}

/* Search box */
.wp-block-search .wp-block-search__button {
	background: none;
	border: none;
	width: 2rem;
}

.wp-block-search .wp-block-search__button {
	font-size: 0;
}

.wp-block-search .wp-block-search__button::before {
	color: var(--wp--preset--color--body);
	content: "\f179";
	display: inline-block;
	font-family: 'dashicons';
	font-size: 1.45rem;
	left: 0;
	position: absolute;
	top: 30%;
}

.wp-block-search .wp-block-search__button {
	position: relative;
	line-height: 24px;
}

/* Logo block */
@media (min-width: 768px) {
	.logo-block {
		background: #f4f4f4;
		margin-bottom: 3rem;
		max-width: 1440px;
		position: relative;
		width: calc(100% - 6rem);
		z-index: 0;
	}

	.logo-block::after {
		border: 1px solid var(--wp--preset--color--primary);
		content: "";
		display: block;
		height: 100%;
		left: 3rem;
		max-width: 1440px;
		position: absolute;
		top: 3rem;
		width: 100%;
		z-index: 1;
	}

	.logo-block__logo {
		position: absolute;
		right: 1rem !important;
		top: 47%;
		text-align: right;
		z-index: 3;
	}

	figure.wp-block-image.size-large.logo-block__logo.sm-hide {
		width: 100px !important;
	}

	.logo-block .kt-row-column-wrap {
		position: relative;
		z-index: 9;
	}
}

/* Post */
.single h1 {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Sidebars */
.wp-block-latest-posts a {
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: .02rem;
	line-height: 1;
}

.wp-block-latest-posts .wp-block-cohesive-blocks-button {
	display: none;
}

.wp-block-latest-posts__post-excerpt {
	font-size: var(--wp--preset--font-size--x-small);
	margin-top: 0;
}

.wp-block-latest-posts li {
	border-bottom: 1px solid #ddd;
	margin-bottom: 1rem;
	padding-bottom: .5rem;
}

/* Search */
#search article p {
	margin: 0;
}

input.facetwp-search,
span.facetwp-input-wrap {
	width: 100%;
}

input.facetwp-search {
	padding: .25rem;
	width: 100%;
}

.fwp-date .dashicons {
	line-height: .8;
	margin-right: .25rem;
	vertical-align: middle;
}

.fwp-date .dashicons:before {
	color: var(--wp--preset--color--secondary);
}

/* Forms */
.gform-body.gform_body input,
.gform-body.gform_body textarea {
	box-shadow: none;
	border-radius: 0;
}

/* User Pro */
.userpro-float {
	max-width: 700px !important;
}

/* Facet Widgets */
.facetwp-checkbox {
	background: none !important;
	padding-left: 0 !important;
}

.facetwp-checkbox.checked {
	font-weight: 700;
}

/* Comments */
#comments>ol {
	padding-left: 0;
}

#comments ol li {
	list-style-type: none;
}

#comments .fn {
	color: var(--wp--preset--color--primary);
}

#comments .comment-body {
	border: 1px solid #ddd;
	padding: var(--wp--preset--spacing--30);
}


#comments .comment {
	margin-bottom: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--20);
}

#comments #respond {
	margin-bottom: var(--wp--preset--spacing--40);
}

.comment-metadata {
	margin-bottom: 1.5rem;
}

.comment-metadata time {
	display: inline-block;
	margin-right: 1.5rem;
}


a.comment-edit-link,
a.comment-edit-link:visited {
	color: var(--wp--preset--color--secondary) !important;
}

a.comment-edit-link:hover,
a.comment-edit-link:active {
	color: var(--wp--preset--color--primary) !important;
}

/* Links */
#content a:link:not(.category):not(.wp-block-latest-posts__post-title):not(h3 a):not(.page-numbers),
#content a:active:not(.category):not(.wp-block-latest-posts__post-title):not(h3 a):not(.page-numbers) {
	color: var(--wp--preset--color--secondary);
}

#content a:hover:not(.category):not(.wp-block-latest-posts__post-title):hover:not(h3 a):not(.page-numbers:hover) {
	color: var(--wp--preset--color--primary);
}

#content .cat-links a,
#content .cat-links a:visited,
#content .tag-links a,
#content .tag-links a:visited,
.post-meta a:link,
.post-meta a:visited {
	color: var(--wp--preset--color--primary) !important;
}

.post-meta a:hover,
.post-meta a:active {
	color: var(--wp--preset--color--secondary) !important;
}

.cat-links,
.tag-links {
	font-weight: 600;
}

#content .cat-links a:hover,
#content .cat-links a:active,
#content .tag-links a:hover,
#content .tag-links a:active {
	color: var(--wp--preset--color--white) !important;
}

/* Pager */
.pagination .page-numbers.current {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
}

/* Hide author box */
.pp-multiple-authors-boxes-wrapper {
	display: none
}

/* Archive */
.archive-list,
.wp-block-categories,
.wp-block-archives {
	padding: 0;
	text-align: right;
}


.archive-list li,
.wp-block-categories li,
.wp-block-archives li {
	border-bottom: 1px solid #eee;
	margin: 0;
	padding: .5rem;
	list-style: none;
}

.archive-list li a,
.wp-block-categories li a,
.wp-block-archives li a,
.archive-list li a:visited,
.wp-block-categories li a:visited,
.wp-block-archives li a:visited {
	color: var(--wp--preset--color--secondary) !important;
	display: block;
	float: left !important;
}

.archive-list li a:hover,
.wp-block-categories li a:hover,
.wp-block-archives li a:hover {
	color: var(--wp--preset--color--primary) !important;
}

/* Author profile page */
#author-profile article {
	border-bottom: 1px solid #eee;
	padding: 1.5rem 0;
}

#author-profile article p {
	margin: 0;
}

/* My profile */
.userpro-sc-bar {
	display: none !important;
}

div.userpro {
	margin: 0 !important;
}

@media (max-width: 767.98px) {
	.image-shadow {
		box-shadow: none;
		-webkit-box-shadow: none;
	}
}

/* Editorial Board */
.page-id-44330 .bios img {
	border-radius: .25rem;
	width: 100%
}

@media (min-width: 576px) {
	.page-id-44330 .bios img {
		margin-top: .5rem;
	}
}


/* Comments */
.widget_recent_comments ul {
	list-style: none;
	padding: 0
}

.widget_recent_comments ul li {
	padding-bottom: 1rem;
	border-bottom: 1px solid #ddd;
	margin-bottom: 1rem;
}

/* Sidebar */
@media (min-width: 992px) {
	#right-sidebar {
		padding-left: 1.5rem;
	}

	#left-sidebar {
		padding-left: 1.5rem;
	}
}

@media (min-width: 1200px) {
	.navbar .nav-item .dropdown-menu {
		min-width: 250px;
	}
}

/* Spotlight */
.spotlight {
	position: relative;
	z-index: 0;
}

@media (min-width: 768px) {
    .spotlight {
    	border-right: 2px solid transparent;
    }
}

.spotlight-carousel button.slick-arrow {
	background: rgba(0, 0, 0, .4);
	color: #fff;
	padding: .5rem;
	top: 40%;
	z-index: 9;
}

.spotlight-tag {
	background: var(--wp--preset--color--secondary);
	font-weight: 600;
	left: 0;
	padding: .5rem 1rem;
	position: absolute;
	text-transform: uppercase;
	top: 0;
	z-index: 3
}

.spotlight-img {
	position: relative;
	z-index: 1
}

.spotlight-content:hover::after {
	opacity: 0.9;
	background: #BF211E !important;
}

.spotlight-content:after {
	content: "";
	opacity: 1;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 57%, rgb(4, 5, 4) 92%);
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 2;
	transition: all .3s ease-in-out;
}

.spotlight-info {
	position: absolute;
	bottom: 0;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 3
}

.spotlight h3 {
	color: #fff;
	font-size: var(--wp--preset--font-size--small) !important;
}

.featured-posts img.post-img {
	min-width: 100%;
}

@media (min-width: 992px) {
	.featured-posts .post-small .post-info {
		margin-left: 2rem;
	}
}

.featured-post {
	margin-bottom: 1.5rem;
}

.post-small .post-info {
	border-bottom: 1px solid #dddddd;
	padding-bottom: .75rem;
}

.optimal-line-length {
	max-width: 60rem;
}