/*
Theme Name: Curfew Child
description: Client Theme - Curfew
Template: curfew-parent
Version: 1.0.0
Text Domain: curfew-child
Author: BCW
*/
/* ==========================================================================
   Nebraska Tax
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Banner overlay
   Curfew paints the white nav, the .c2a block and the hero carousel straight
   onto static_banner_image with no scrim, so a bright photo makes the whole
   header unreadable. A single overlay layer does that job for every banner,
   which means the uploaded images stay untouched.
   -------------------------------------------------------------------------- */
#top-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, .25);
	z-index: 0;
	pointer-events: none;
}
/* #primary-header already carries position:relative and z-index:999. */
#banner,
#feature {
	position: relative;
	z-index: 1;
}
/* --------------------------------------------------------------------------
   2. Banner overlay content block
   Rendered by template-parts/banner-content.php from the Banner Overlay field.
   Interior banners are also given more height.
   -------------------------------------------------------------------------- */
.interior-page #top-wrapper {
	min-height: 60vh;
	display: flex;
	flex-direction: column;
}
.interior-page #primary-header {
	padding: 40px 0;
	width: 100%;
}
.banner-content {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	padding: 30px 0 70px;
	width: 100%;
}
/* "Banner Overlay" (WYSIWYG) content. It sits on the banner image, so the
   defaults here are light-on-dark. Width and alignment are left to the editor,
   so whatever is set in the WYSIWYG is what shows. */
.banner-content .banner-content-inner > *:last-child {
	margin-bottom: 0;
}
.banner-content h1,
.banner-content h2,
.banner-content h3,
.banner-content h4,
.banner-content h5,
.banner-content h6 {
	margin: 0 0 16px;
	padding: 0;
	border: none;
	color: #fff;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
}
.banner-content h1 {
	font-size: 48px;
}
.banner-content h2 {
	font-size: 36px;
}
.banner-content h3 {
	font-size: 26px;
}
.banner-content h4 {
	font-size: 22px;
}
.banner-content p,
.banner-content li {
	color: #e5e7eb;
	font-size: 20px;
	line-height: 1.625;
}
.banner-content p {
	margin: 0 0 16px;
}
.banner-content ul,
.banner-content ol {
	margin: 0 0 16px;
	padding-left: 20px;
}
.banner-content a:not(.btn) {
	color: #fff;
	text-decoration: underline;
}
.banner-content a:not(.btn):hover,
.banner-content a:not(.btn):focus {
	color: var(--color-1);
}
.banner-content .btn {
	margin-top: 8px;
}
.banner-content img {
	max-width: 100%;
	height: auto;
}
/* --------------------------------------------------------------------------
   2b. Services dropdown
   Curfew leaves the desktop dropdown transparent and borderless
   (base.css sets background:rgba(255,255,255,.8) with no border or shadow).
   -------------------------------------------------------------------------- */
@media screen and (min-width: 992px) {
	.navbar-nav .dropdown-menu {
		margin-top: 4px;
		min-width: 256px;
		padding: 8px;
		background: #fff;
		border: 1px solid #e6e6e6;
		border-radius: 2px;
		box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
		text-align: left;
	}
	.navbar-nav .dropdown-menu > li {
		float: none;
	}
	.navbar-default .navbar-nav .dropdown-menu > li > a,
	.navbar-nav .dropdown-menu > li > a {
		display: block;
		padding: 12px;
		border-radius: 2px;
		color: #212121;
		font-size: 14px;
		font-weight: 500;
		line-height: 1.3;
		text-transform: none;
		letter-spacing: normal;
		white-space: normal;
		transition: background-color .15s ease, color .15s ease;
	}
	.navbar-default .navbar-nav .dropdown-menu > li > a:hover,
	.navbar-default .navbar-nav .dropdown-menu > li > a:focus,
	.navbar-nav .dropdown-menu > li > a:hover,
	.navbar-nav .dropdown-menu > li > a:focus,
	.navbar-nav .dropdown-menu > .active > a {
		background: var(--color-1);
		color: #fff;
		text-decoration: none;
	}
	/* Chevron rather than Bootstrap's solid triangle. */
	.navbar-nav > li.dropdown > a .caret {
		width: auto;
		height: auto;
		margin-left: 6px;
		border: none;
		vertical-align: baseline;
	}
	.navbar-nav > li.dropdown > a .caret::after {
		content: "\f078";
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		font-size: 10px;
	}
}
/* --------------------------------------------------------------------------
   3. "Our Services" band  (#ql-section)
   -------------------------------------------------------------------------- */
.ql-section {
	background-color: #f1f1f1;
	padding: 70px 0;
}
.ql-section .sec-content {
	margin-bottom: 40px;
}
.ql-section .sec-content h2 {
	font-size: 48px;
	font-weight: 700;
	color: #212121;
	margin: 0;
}
.ql-section .ql-item {
	background-color: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.ql-section .ql-item .image {
	overflow: hidden;
}
.ql-section .ql-item .image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: 50% 50%;
	transition: transform .5s ease;
}
.ql-section .ql-item:hover .image img {
	transform: scale(1.05);
}
.ql-section .ql-item .content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-align: left;
}
.ql-section .ql-item .content h3 {
	font-size: 20px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 12px;
}
.ql-section .ql-item .content p {
	color: #666;
	margin-bottom: 20px;
}
.ql-section .ql-item .content > p:last-child {
	margin-top: auto;
	margin-bottom: 0;
}
/* --------------------------------------------------------------------------
   4. "Meet Our Team" band  (#team-section)
   Full-width rows that alternate which side the portrait sits on, rather than
   Curfew's card grid.
   -------------------------------------------------------------------------- */
.team-section {
	background-color: #fff;
	padding: 70px 0;
}
.team-section .sec-content {
	margin-bottom: 40px;
}
.team-section .sec-content h2 {
	font-size: 48px;
	font-weight: 700;
	color: #212121;
	margin: 0 0 12px;
}
.team-section .sec-content p {
	font-size: 18px;
	color: #666;
	margin: 0;
}
.team-section .members {
	flex-direction: column;
	gap: 32px;
}
.team-section .member {
	flex: 1 1 100%;
	max-width: 100%;
	display: flex;
	flex-direction: row-reverse;
	gap: 32px;
	align-items: flex-start;
	background-color: #fff;
	padding: 24px;
	border: 1px solid #e6e6e6;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.team-section .member:nth-child(even) {
	flex-direction: row;
}
.team-section .member .image {
	flex: 0 0 33.333%;
	width: 33.333%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: 1px solid #e6e6e6;
	background-color: #f5f5f5;
}
.team-section .member .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}
.team-section .member .content {
	flex: 1 1 auto;
	padding: 8px 0 0;
	text-align: left;
}
.team-section .member .content h3 {
	font-size: 30px;
	font-weight: 700;
	color: #212121;
	margin: 0 0 4px;
}
.team-section .member .content strong {
	display: block;
	font-style: italic;
	font-weight: 500;
	color: #737373;
	margin-bottom: 16px;
}
.team-section .member .content p {
	color: #666;
	font-size: 16px;
	line-height: 24px;
}
/* --------------------------------------------------------------------------
   5. Odds and ends
   -------------------------------------------------------------------------- */
/* Service tab headings sit on a --color-1 fill, too dark for the body colour. */
#services-section .service h2 {
	color: #fff;
}
/* Opening line on the individual service pages. */
main .lede {
	font-size: 18px;
	color: #666;
}
.navbar-nav > li {
	display: inline-block;
	float: none;
	margin: 0 0 20px 0;
}
@media screen and (max-width: 991px) {
	.banner-inner img {
		max-height: 100%;
		width: auto;
		height: auto;
		margin: 60px auto 0 auto;
	}
	.primary-header-inner img {
		margin-top: 16vw;
	}
}
@media screen and (max-width: 768px) {
	.primary-header-inner img {
		margin-top: 25vw;
	}
}
/* --------------------------------------------------------------------------
   6. Responsive
   Curfew hardcodes the quick-link grid to thirds, which strands a lone fourth
   card; Nebraska Tax has four services.
   -------------------------------------------------------------------------- */
@media screen and (min-width: 992px) {
	.ql-section .ql-item {
		flex: 1 1 calc(25% - 23px);
	}
}
@media screen and (max-width: 767px) {
	.ql-section .sec-content h2,
	.team-section .sec-content h2 {
		font-size: 32px;
	}
	.team-section .member,
	.team-section .member:nth-child(even) {
		flex-direction: column;
	}
	.team-section .member .image {
		flex-basis: auto;
		width: 100%;
		max-width: 360px;
		margin: 0 auto;
	}
	.interior-page #top-wrapper {
		min-height: 0;
	}
	.interior-page #primary-header {
		padding: 30px 0;
	}
	.banner-content {
		padding: 20px 0 40px;
	}
	.banner-content h1 {
		font-size: 30px;
	}
	.banner-content h2 {
		font-size: 26px;
	}
	.banner-content h3 {
		font-size: 21px;
	}
	.banner-content p,
	.banner-content li {
		font-size: 17px;
	}
}
.navbar-default .navbar-nav > li > a:focus {
	color: #eee;
}
@media screen and (min-width: 992px) {
	.navbar-default .navbar-nav .dropdown-menu > li.current-menu-item a {
		color: #fff;
	}
}
/* --------------------------------------------------------------------------
   7. Footer brand attribution
   Nebraska Tax is the individual tax brand; the business services are provided
   through ONE Executive Services. Printed by this child theme's footer.php.
   -------------------------------------------------------------------------- */
.brand-attribution {
	text-align: center;
	padding-bottom: 8px;
}
.brand-attribution span {
	color: var(--color-4);
	opacity: .75;
	font-size: 13px;
	line-height: 1.5;
}

/* Mobile Adjustments */

@media screen and (max-width: 425px) {
    .main-inner a.btn{ width:100%; margin: 10px 0px;}
}
@media screen and (max-width: 991px) {
    ul.navbar-nav.mobile-dropdown {
        height: 100%;
        overflow: scroll;
    }
    .navbar-nav > li {
        float: left;
        width: 100%;
    }
    .nav-toggler span {
        top: 1px;
        right: -2px;
    }
}