/*
Theme Name: Falcon Theme by Efront
Author: Efront
Author URI: https://efront.com.au
Description: Falcon Theme by Efront
Version: 100.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: efront
*/

.alignnone {
	margin: 1em 1em 1em 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 0.5em auto;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.aligncenter {
	display: block;
	margin: 1em auto;
}

.entry-content .alignwide {
	margin-left: -80px;
	margin-right: -80px;
}

.entry-content .alignfull {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: 100vw;
}

.alignfull img {
	width: 100vw;
}

img,
img[class*="align"],
img[class*="wp-image-"] {
	max-width: 100%;
	height: auto;
}

img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

img.alignright {
	margin: 1em 0 1em 1em;
}

img.alignleft {
	margin: 1em 1em 1em 0;
}

img.aligncenter {
	display: block;
	margin: 1em auto;
}

img#wpstats {
	display: block;
	margin: 0 auto;
}

img[class*="align"],
img[class*="wp-image-"],
.gallery .gallery-icon img {
	border: none;
}

.wp-caption {
	margin-bottom: 1em;
	margin-left: 0;
	max-width: 96%;
	text-align: center;
}

.wp-caption img {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	position: relative;
	font-size: 0.8em;
}

.gallery {
	margin: 0 auto;
}

.gallery .gallery-item {
	margin: 0;
	float: left;
	text-align: center;
	width: 33%;
}

.gallery a img {
	border: none;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

.comments ol {
	padding-left: 0;
}

.comments ol li {
	margin: 0;
}

.comment-author {
	padding: 0;
	text-decoration: none;
}

@media only screen and (max-width: 800px) {
	embed,
	object {
		max-width: 100%;
	}
}

@media only screen and (max-width: 650px) {
	.gallery-columns-3 .gallery-item {
		width: 33.33%;
	}

	.gallery-columns-3 .gallery-item img {
		width: 100%;
		height: auto;
	}
}

@media only screen and (max-width: 480px) {
	.gallery-columns-2 .gallery-item {
		width: 50%;
	}

	.gallery-columns-2 .gallery-item img {
		width: 100%;
		height: auto;
	}
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}
body.post-type-archive-cpt_insight {
	background-color: #e6e6e6;
}

#gform_wrapper_1 .gfield_label[for="input_1_6"] {
	display: block !important;
}
.mosaic .mosaic__item.image__text {
	max-width: 100%;
	width: 100%;
}

.text-image-split {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}
.text-image-split.large {
	gap: 16rem;
}
.text-image-split.medium {
	gap: 16rem;
}
.text-image-split.small {
	gap: 6rem;
}
.text-image-split.highlight p {
	background-color: #fef9ef;
	padding: 12px 24px;
	border-radius: 0.25rem;
	margin-bottom: 16px;
}
.text-image-split.underline-first p {
	position: relative;
}
.text-image-split.underline-first p:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.5rem;
	height: 1px;
	width: 4.5rem;
	background-color: #d5d5d5;
}
.text-image-split.underline-first p:last-child:after {
	display: none;
}
/* Direction control */
.image-position-left {
	flex-direction: row-reverse;
}

.image-position-right {
	flex-direction: row;
}

/* Children sizing */
.text-image-split__text,
.text-image-split__image {
	flex: 1 1 0;
}
.text-image-split__description > p {
	font-size: 2rem;
	line-height: 1.25;
	letter-spacing: -0.013em;
}
.text-image-split__description > p:only-child {
	font-size: 2.6rem;
	line-height: 1.2308;
	letter-spacing: -0.022em;
	opacity: 0.5;
}
.text-image-split__text h4 {
	font-size: 2.6rem;
	line-height: 1.2308;
	letter-spacing: -0.022em;
}
.large .text-image-split__text {
	max-width: 65%;
}

.large .text-image-split__image {
	max-width: 35%;
}

.medium .text-image-split__text {
	max-width: 55%;
}

.medium .text-image-split__image {
	max-width: 45%;
}

.small .text-image-split__text {
	max-width: 50%;
}

.small .text-image-split__image {
	max-width: 50%;
}
@media screen and (max-width: 920px) {
	.small .text-image-split__text {
		max-width: 100%;
	}

	.small .text-image-split__image {
		max-width: 100%;
	}
}
/* Optional image styling */
.text-image-split__image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.section__buttons {
	display: flex;
	justify-content: center;
	gap: 2rem;
}
.section__buttons .btn--dark-bg {
	background-color: #0a164a;
	color: #fff;
	border: 1px solid #0a164a;
}
.section__buttons .btn--dark-bg:hover {
	background-color: #fff;
	color: #0a164a;
}
.section__buttons .btn--dark-outline,
.cta-image-text-split .btn {
	background-color: transparent;
	color: #0a164a;
	border: 1px solid #0a164a;
}
.section__buttons .btn--dark-outline:hover {
	background-color: #0a164a;
	color: #fff;
}

.cta-image-text-split .shell {
	display: grid;
	grid-template-columns: 45ch 1fr;
	align-items: center;
	gap: 10rem;
	max-width: 128rem;
	color: #0a164a;
}

.cta-image-text-split .shell h3 {
	opacity: 0.5;
}
.cta-image-text-split .shell .section__content {
	text-align: left;
	padding-left: 0;
}
.cta-image-text-split .shell .btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.cta-image-text-split .cta-img {
	display: flex;
	gap: 4rem;
	justify-content: center;
	align-items: center;
}

.cta-image-text-split .cta-img figure:first-child {
	margin: 0;
	max-width: 35%;
}

/* Responsive: stack with image on top */
@media (max-width: 920px) {
	.text-image-split {
		flex-direction: column;
		gap: 3rem;
	}

	.text-image-split__text,
	.text-image-split__image {
		max-width: 100%;
		flex: 0 0 100%;
	}

	.text-image-split__image {
		order: 1;
	}

	.text-image-split__text {
		order: 2;
	}
	.cta-image-text-split .shell {
		display: flex;
		gap: 3rem;
		flex-direction: column-reverse;
	}
}
.section.section-faq {
	background: #fff;
	color: #161616;
}
@media screen and (min-width: 800px) {
	.section.section-faq .section__content {
		max-width: 63rem;
	}
}
.faq__item.closed .faq__item-content {
	display: none;
}
.faq-question {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	color: rgb(10, 22, 74);
}
.faq__item .faq__item-content .faq__item-content-inner p {
	color: rgba(10, 22, 74, 0.6);
	line-height: 1.4;
}
.faq__item {
	padding: 1.5rem;
	border: 1px solid #0a164a;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.faq__item:not(:last-child) {
	margin-bottom: 2rem;
}
.faq__item[aria-label="open"] {
	border: 1px solid #f1ae3d;
}
.faq__item .close-icon,
.faq__item .open-icon {
	display: none;
}
.faq__item[aria-label="open"] .close-icon {
	display: block;
}
.faq__item[aria-label="closed"] .open-icon {
	display: block;
}
.faq-question .faq__item-toggle {
	display: flex;
	gap: 2rem;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	border: none;
	padding: 0;
	text-align: left;
	font-weight: 500;
}
.faq-question .faq__item-toggle svg {
	min-width: 2rem;
}
.hero-btn-group,
.site-btn-group {
	display: flex;
	gap: 2rem;
}
.btn.btn--white {
	background-color: #fff;
	color: #0a164a;
	border: 1px solid #fff;
}
.btn.btn--white:hover {
	background-color: #0a164a;
	color: #fff;
}
.btn.btn--white-outline {
	background-color: transparent;
	color: #fff;
	border: 1px solid #fff;
}
.btn.btn--white-outline:hover {
	background-color: #fff;
	color: #0a164a;
}

.hero .hero__content p {
	max-width: inherit !important;
}

.video-modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	height: 100%;
	width: 100%;
	background-color: #000;
	justify-content: center;
	align-items: center;
}
.video-modal__content {
	height: 70vh;
	width: 70vw;
	margin: 0 auto;
}
.video-modal iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
}
.video-modal__close {
	position: absolute;
	top: 60px;
	right: 60px;
	height: 44px;
	width: 44px;
	padding: 10px;
	border: 1px solid #ffffff;
	border-radius: 50%;
	color: #000;
	background-image: url("data:image/svg+xml, %3Csvg stroke='currentColor' fill='currentColor' stroke-width='0' viewBox='0 0 512 512' height='' width='' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70%;
}
/* FacetWP Section */
.section-facetwp {
	width: 100%;
	padding: 2rem 0;
	background-color: #fff;
}

.section-facetwp h3 {
	font-size: 2.4rem;
	color: #0a164a;
	margin-bottom: 1rem;
}

.section-facetwp hr {
	border: none;
	border-top: 1px solid #e6e6e6;
	margin-bottom: 2rem;
}

.facetwp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
}

.facetwp-filter-wrapper {
	flex: 0 0 calc(25% - 1.5rem);
	min-width: 200px;
}

.facetwp-filter-wrapper:last-child {
	margin-left: auto;
}

.facetwp-filter-wrapper h4 {
	font-size: 1.6rem;
	color: #0a164a;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.section-facetwp .facetwp-facet {
	width: 100%;
}

.section-facetwp .facetwp-checkbox {
	display: block;
	margin-bottom: 0.5rem;
}

.section-facetwp .facetwp-checkbox input[type="checkbox"] {
	margin-right: 0.5rem;
}

.section-facetwp .facetwp-checkbox label {
	font-size: 1.4rem;
	color: #0a164a;
	cursor: pointer;
}

.section-facetwp .facetwp-checkbox label:hover {
	color: #f1ae3d;
}

.facetwp-filter-search .facetwp-search {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	font-size: 1.4rem;
	color: #0a164a;
}

.facetwp-filter-search .facetwp-search:focus {
	outline: none;
	border-color: #f1ae3d;
}

/* Hide FacetWP Section on mobile devices */
@media only screen and (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	.section-facetwp {
		display: none;
	}
}

/* Tablet responsive */
@media only screen and (max-width: 1023px) {
	.facetwp-filter-wrapper {
		flex: 0 0 calc(50% - 1rem);
	}
}

/* Project Single Template Styles */

/* Half Height Hero */
.hero.hero--half {
	min-height: 50vh;
	padding: calc(var(--header-height, 6rem) + 2rem) 8rem 4rem;
}

@media only screen and (max-width: 1023px) {
	.hero.hero--half {
		padding-left: 4rem;
		padding-right: 4rem;
	}
}

@media only screen and (max-width: 767px) {
	.hero.hero--half {
		padding: calc(var(--header-height, 6rem) + 2rem) 2rem 3rem;
	}
}

/* Project Layout */
.section-project-content {
	padding: 4rem 0;
	background-color: #fff;
}

.project-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
	max-width: 1200px;
	margin: 0 auto;
}

.project-main {
	padding-right: 2rem;
}

.project-content {
	margin-bottom: 3rem;
	font-size: 1.6rem;
	line-height: 1.6;
	color: #333;
}

.project-content h2,
.project-content h3,
.project-content h4 {
	color: #0a164a;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.project-content p {
	margin-bottom: 1.5rem;
}

/* Project Carousel */
.project-carousel {
	margin-top: 3rem;
}

.project-carousel h3 {
	font-size: 2.4rem;
	color: #0a164a;
	margin-bottom: 2rem;
}

.project-carousel .swiper-carousel {
	max-height: 500px;
	overflow: hidden;
}

.project-carousel .swiper-slide {
	height: auto !important;
	width: 100% !important;
	flex-shrink: 0;
	position: relative;
	display: block;
}

.project-carousel .swiper-wrapper {
	height: auto !important;
	align-items: flex-start;
}

.project-carousel .section__content {
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.project-carousel .section__image {
	width: 100%;
	height: auto;
	max-height: 500px;
	display: block;
	overflow: hidden;
}

.project-carousel .section__image img {
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: contain;
	object-position: center;
	display: block;
}

/* Project Aside */
.project-aside {
	padding-left: 2rem;
	border-left: 1px solid #e6e6e6;
}

.project-details h3 {
	font-size: 2rem;
	color: #0a164a;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #f1ae3d;
}

.project-detail-item {
	margin-bottom: 2rem;
}

.project-detail-item h4 {
	font-size: 1.4rem;
	color: #0a164a;
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.project-detail-item p {
	font-size: 1.6rem;
	color: #666;
	line-height: 1.5;
}

/* Responsive Design */
@media only screen and (max-width: 1023px) {
	.project-layout {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.project-main {
		padding-right: 0;
	}

	.project-aside {
		padding-left: 0;
		border-left: none;
		border-top: 1px solid #e6e6e6;
		padding-top: 3rem;
	}
}

@media only screen and (max-width: 767px) {
	.section-project-content {
		padding: 2rem 0;
	}

	.project-layout {
		gap: 2rem;
	}

	.project-content {
		font-size: 1.4rem;
	}

	.project-carousel h3 {
		font-size: 2rem;
	}

	.project-details h3 {
		font-size: 1.8rem;
	}

	.project-detail-item h4 {
		font-size: 1.2rem;
	}

	.project-detail-item p {
		font-size: 1.4rem;
	}
}

/* Navigation Submenu Styles */
/* Hide submenus by default */
.nav ul li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	min-width: 200px;
	z-index: 1000;
	padding: 0;
	margin: 0;
	list-style: none;
}

/* Show submenu on parent hover */
.nav ul li:hover > ul {
	display: block;
}

/* Style submenu items */
.nav ul li ul li {
	width: 100%;
	border-bottom: 1px solid #f0f0f0;
}

.nav ul li ul li:last-child {
	border-bottom: none;
}

.nav ul li ul li a {
	display: block;
	padding: 12px 16px;
	color: #0a164a;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.nav ul li ul li a:hover {
	background-color: #f8f9fa;
	color: #f1ae3d;
}

/* Ensure parent menu item has relative positioning */
.nav ul li {
	position: relative;
}

/* Add dropdown indicator for parent items with submenus */
.nav ul li.menu-item-has-children > a::after {
	content: "▼";
	font-size: 10px;
	margin-left: 8px;
	transition: transform 0.3s ease;
}

.nav ul li.menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

/* Multi-level dropdown support */
.nav ul li ul li ul {
	top: 0;
	left: 100%;
}

/* Responsive submenu styles */
@media only screen and (max-width: 767px) {
	.nav ul li ul {
		position: static;
		display: none;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background-color: transparent;
		margin-left: 20px;
	}

	.nav ul li:hover > ul {
		display: block;
	}
	.nav ul li ul li {
	}
	.nav ul li ul li a {
		padding: 10px 5px;
		color: #fff;
	}
}

/* Featured Projects Module Styles */
.featured-projects {
	background-color: #fff;
}

.featured-projects__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 4rem;
	gap: 2rem;
}

.featured-projects__header-content {
	flex: 1;
}

.featured-projects__header-link {
	flex-shrink: 0;
	align-self: flex-end;
}

.featured-projects__heading {
	font-size: 3.2rem;
	color: #0a164a;
	margin-bottom: 2rem;
	line-height: 1.2;
	text-align: left;
}

.featured-projects__introduction {
	font-size: 1.8rem;
	color: #666;
	line-height: 1.6;
	text-align: left;
}

.featured-projects__view-all {
	display: inline-block;
	color: #0a164a;
	text-decoration: none;
	font-size: 1.6rem;
	font-weight: 600;
	border-bottom: 2px solid transparent;
	transition: border-color 0.3s ease;
}

.featured-projects__view-all:hover {
	border-bottom-color: #f1ae3d;
}

.featured-projects__introduction p {
	margin-bottom: 1.5rem;
}

.featured-projects__introduction p:last-child {
	margin-bottom: 0;
}

/* Responsive styles for featured projects header */
@media only screen and (max-width: 1023px) {
	.featured-projects__header {
		margin-bottom: 3rem;
	}

	.featured-projects__heading {
		font-size: 2.8rem;
	}

	.featured-projects__introduction {
		font-size: 1.6rem;
	}

	.featured-projects__view-all {
		font-size: 1.5rem;
	}
}

@media only screen and (max-width: 767px) {
	.featured-projects__header {
		flex-direction: column;
		margin-bottom: 2rem;
		gap: 1.5rem;
	}

	.featured-projects__header-link {
		align-self: flex-start;
	}

	.featured-projects__heading {
		font-size: 2.4rem;
		margin-bottom: 1.5rem;
	}

	.featured-projects__introduction {
		font-size: 1.4rem;
	}

	.featured-projects__view-all {
		font-size: 1.4rem;
	}
}

/* No projects message */
.featured-projects__no-projects {
	text-align: center;
	padding: 4rem 2rem;
	color: #666;
	font-style: italic;
}

.featured-projects__no-projects p {
	font-size: 1.8rem;
	margin: 0;
}

@media only screen and (max-width: 767px) {
	.featured-projects__no-projects {
		padding: 2rem 1rem;
	}

	.featured-projects__no-projects p {
		font-size: 1.6rem;
	}
}
