/* Kreative Mojo: larger social icons in the top nav bar on desktop */
@media (min-width: 768px) {
	.fixed-nav-right .social-navigation a::before {
		font-size: 24px;
	}
	
	.fixed-nav-right .social-navigation li + li {
		margin-left: 10px;
	}
}

/* Kreative Mojo: keep the header logo a sensible size (file is 190px for sharpness) */
.custom-logo-link img.custom-logo {
	width: 96px;
	height: auto;
}

@media (max-width: 767px) {
	.custom-logo-link img.custom-logo {
		width: 72px;
	}
}

/* Kreative Mojo: globe icon for the official JFTB (CalGuard) link in the social menu */
.social-navigation a[href*="calguard.ca.gov"]::before {
	content: "\f0ac";
}

/* Kreative Mojo: larger menu (hamburger) icon in the blue bar */
.fixed-nav .menu-toggle .fa {
	font-size: 26px;
	vertical-align: middle;
	margin-right: 8px;
}

/* Kreative Mojo: site title centered in the blue bar (phones/tablets, where the menu is hidden) */
@media (max-width: 800px) {
	.fixed-nav .container::after {
		content: "JFTB NAF-MWR";
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		color: #ffffff;
		font-family: "Libre Baskerville", Georgia, serif;
		font-size: 18px;
		letter-spacing: .5px;
		white-space: nowrap;
		pointer-events: none;
	}
}

/* Kreative Mojo: larger top-level links in the slide-out (phone) menu */
#sidebar-navigation .menu > li > a {
	font-size: 20px;
}

/* Kreative Mojo: hide the word "Menu" next to the menu icon (kept for screen readers) */
.fixed-nav .menu-toggle .text-mobile {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Kreative Mojo: slightly taller blue menu bar on phones (theme default 50px) */
@media (max-width: 600px) {
	.fixed-nav {
		height: 58px;
		padding: 14px 0;
	}
	
	body {
		padding-top: 58px;
	}
}

/* Kreative Mojo: "All Pages" toggle at the bottom of the slide-out menu */
.km-all-pages summary {
	cursor: pointer;
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 18px;
	padding: 10px 0;
}

.km-all-pages ul {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.km-all-pages li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.widget-area .km-all-pages[open] > summary {
	margin-bottom: 16px;
}

/* Kreative Mojo: Get Directions button under the contact info in the slide-out menu */
.widget-area .km-directions a {
	display: inline-block;
	background: #0f1e55;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 0;
}

.widget-area .km-directions a:hover,
.widget-area .km-directions a:focus {
	background: #1c2f7a;
	color: #ffffff;
}

/* Kreative Mojo: keep Get Directions directly under the contact info (no divider between) */
.widget-area #widget_contact_info-2 {
	margin-bottom: 14px;
}

.widget-area #widget_contact_info-2::after {
	display: none;
}

/* Kreative Mojo: desktop page menu moved up into the top blue bar (replaces the second blue bar) */
@media (min-width: 801px) {
	#masthead {
		z-index: auto;
	}
	
	#masthead > .site-header-bg {
		z-index: 0;
	}
	
	#masthead > .site-title-wrap {
		position: relative;
		z-index: 1;
	}
	
	#site-navigation {
		position: fixed;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: auto;
		background: transparent;
		z-index: 101;
		transition: transform .25s ease;
	}
	
	.admin-bar #site-navigation {
		top: 32px;
	}
	
	#site-navigation .menu > li > a {
		padding-top: 17px;
		padding-bottom: 17px;
		color: #ffffff;
	}
	
	/* hide/show together with the top bar on scroll */
	.fixed-nav.headroom--unpinned ~ #masthead #site-navigation {
		transform: translate(-50%, -160%);
	}
}

/* Kreative Mojo: desktop dropdowns styled to match the navy top bar */
@media (min-width: 801px) {
	#site-navigation .menu > li > .sub-menu {
		top: 100%;
		margin-top: 0;
	}
	
	#site-navigation .sub-menu {
		background: #0f1e55;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	}
	
	#site-navigation .sub-menu::before,
		#site-navigation .sub-menu::after {
		display: none;
	}
	
	#site-navigation .sub-menu a {
		color: #ffffff;
		padding: 12px 20px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}
	
	#site-navigation .sub-menu a:hover,
		#site-navigation .sub-menu a:focus {
		background: #1c2f7a;
		color: #ffffff;
	}
}

/* Kreative Mojo: move the menu (3-line) icon in from the left edge on phones/tablets */
@media (max-width: 800px) {
	.fixed-nav .menu-toggle {
		margin-left: 10px;
	}
}

/* Kreative Mojo: no hairline gap between the top bar and desktop dropdowns */
@media (min-width: 801px) {
	#site-navigation .menu > li > a {
		line-height: 30px;
	}
	
	#site-navigation .menu > li > .sub-menu {
		top: calc(100% - 1px);
	}
}

/* Kreative Mojo: navy behind the phone status bar (Safari tints it from the page background) */
@media (max-width: 800px) {
	html {
		background-color: #0f1e55;
	}
	
	body {
		background-color: #ffffff;
	}
}

/* Kreative Mojo: no gray square behind the dropdown arrows in the slide-out menu */
#sidebar-navigation .toggle-sub,
#sidebar-navigation .toggle-sub:hover,
#sidebar-navigation .toggle-sub:focus {
	background: transparent;
	box-shadow: none;
}

/* Kreative Mojo: footer (links, contact line, copyright) */
#colophon .footer-bottom {
	display: block;
	width: 100%;
	text-align: center;
}

#colophon #menu-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#colophon #menu-footer-menu li {
	float: none;
	margin: 0;
	padding: 0;
}

#colophon #menu-footer-menu a {
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 0;
}

#colophon #menu-footer-menu a:hover,
#colophon #menu-footer-menu a:focus {
	text-decoration: underline;
}

#colophon #menu-footer-menu .km-footer-address a,
#colophon #menu-footer-menu .km-footer-phone a,
#colophon #menu-footer-menu .km-footer-official a {
	color: #c9d3ee;
	font-weight: 400;
}

#colophon .site-info::after {
	content: "© Joint Forces Training Base NAF-MWR";
	display: block;
	margin-top: 18px;
	color: #9fb0d8;
	font-size: 13px;
}

/* Kreative Mojo: footer contact items on their own row */
#colophon #menu-footer-menu::after {
	content: "";
	flex-basis: 100%;
	height: 0;
	order: 1;
}

#colophon #menu-footer-menu .km-footer-address,
#colophon #menu-footer-menu .km-footer-phone,
#colophon #menu-footer-menu .km-footer-official {
	order: 2;
}

/* Kreative Mojo: footer brand (logo + base name), red accent line */
#colophon {
	border-top: 4px solid #c8102e;
}

#colophon .footer-bottom::before {
	content: "Joint Forces Training Base\A NAF-MWR · Los Alamitos";
	white-space: pre;
	display: inline-block;
	min-height: 72px;
	padding-left: 88px;
	margin: 0 auto 22px;
	background: url('https://jftbmwrbillets.com/wp-content/uploads/2026/11/jftb-los-alamitos-logo.png') left center / 72px 72px no-repeat;
	color: #ffffff;
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 17px;
	line-height: 1.5;
	text-align: left;
	padding-top: 12px;
	box-sizing: border-box;
}

@media (min-width: 801px) {
	#colophon .footer-bottom {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 20px 40px;
	}
	
	#colophon .footer-bottom::before {
		margin: 0;
	}
	
	#colophon .footer-navigation {
		flex: 1 1 420px;
	}
	
	#colophon #menu-footer-menu {
		justify-content: flex-end;
	}
	
	#colophon .site-info {
		flex-basis: 100%;
	}
}

/* Kreative Mojo: footer Get Directions button on its own row */
#colophon #menu-footer-menu .km-footer-directions {
	order: 3;
	flex-basis: 100%;
	margin-top: 12px;
}

#colophon #menu-footer-menu .km-footer-directions a {
	display: inline-block;
	background: #e3b021;
	color: #1d1d1d;
	padding: 10px 22px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
}

#colophon #menu-footer-menu .km-footer-directions a:hover,
#colophon #menu-footer-menu .km-footer-directions a:focus {
	background: #f0c43c;
	color: #1d1d1d;
	text-decoration: none;
}

@media (max-width: 800px) {
	#colophon .footer-bottom::before {
		font-size: 15px;
		padding-left: 80px;
		background-size: 64px 64px;
		min-height: 64px;
		padding-top: 10px;
	}
}

/* Kreative Mojo: red accent line under the top blue bar (matches the footer) */
.fixed-nav {
	box-shadow: 0 4px 0 #c8102e;
}

/* Kreative Mojo: footer Get Directions aligned with the links on desktop */
@media (min-width: 801px) {
	#colophon #menu-footer-menu .km-footer-directions {
		text-align: right;
	}
}

/* Kreative Mojo: footer spacing and divider above the copyright */
#colophon {
	padding: 36px 0 24px;
}

#colophon .site-info {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	width: 100%;
}

#colophon .site-info::after {
	margin-top: 0;
}

/* Kreative Mojo: room under the footer so the WordPress.com Subscribe bar doesn't cover it */
#colophon {
	padding-bottom: 72px;
}

/* Kreative Mojo: Get Directions + Call Billeting side by side in the slide-out menu */
.widget-area .km-directions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.widget-area .km-directions a.km-call {
	background: #ffffff;
	color: #0f1e55;
	box-shadow: inset 0 0 0 2px #0f1e55;
}

.widget-area .km-directions a.km-call:hover,
.widget-area .km-directions a.km-call:focus {
	background: #0f1e55;
	color: #ffffff;
}

/* Kreative Mojo: hide the duplicate theme page title on Banquet Rooms (kept for screen readers/SEO) */
.page-id-7323 .entry-header .entry-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Kreative Mojo: Banquet Rooms spacing (space above Good to Know, tighter bullets) */
.page-id-7323 .entry-content > .wp-block-group + h3 {
	margin-top: 36px;
}
.page-id-7323 .entry-content ul.wp-block-list li {
	line-height: 1.6;
	margin-bottom: 8px;
}

/* Kreative Mojo: phone and map-pin icons in the top bar social menu */
.social-navigation a[href^="tel:"]::before {
	content: "\f095";
}
.social-navigation a[href*="google.com/maps"]::before {
	content: "\f041";
}

/* Kreative Mojo: smaller content buttons on the Pub and Banquet Rooms pages (desktop) */
@media (min-width: 801px) {
	.page-id-40 .entry-content .wp-block-button__link,
	.page-id-7323 .entry-content .wp-block-button__link {
		font-size: 16px;
		line-height: 1.4;
		padding: 11px 22px;
	}
}