/* ==========================================================================
   PW Previews - Custom Header Styles
   ========================================================================== */

/* Global Reset/Base Box Sizing */
.pwp-site-header *,
.pwp-homepage-wrapper * {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Site Header
   -------------------------------------------------------------------------- */
.pwp-site-header {
	width: 100%;
	background-color: #fff;
	border-bottom: 1px solid #e2e2e2;
	padding: 12px 20px;
}

.pwp-header-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pwp-logo-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #000000;
	gap: 10px;
}

.pwp-logo-img {
	width: 50px;
	height: 50px;
	display: block;
	object-fit: contain;
}

.pwp-brand-title {
	font-family: "Neue Haas Grotesk Display Pro 350", "Neue Haas Grotesk Display Pro", sans-serif;
	font-weight: 400;
	font-size: 36px;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1;
}

/* Header Search Bar */
.pwp-header-search {
	display: flex;
	align-items: center;
}

.pwp-search-form {
	position: relative;
	display: flex;
	align-items: center;
}

.pwp-search-input {
	width: 240px;
	height: 38px;
	padding: 8px 40px 8px 16px;
	border: 1px solid #cccccc;
	border-radius: 20px;
	font-size: 14px;
	outline: none;
	background-color: #fff;
}

.pwp-search-input:focus {
	border-color: #888888;
}

.pwp-search-submit {
	position: absolute;
	right: 10px;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	color: #333333;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Search Icon Button for Mobile (Hidden on Desktop) */
.pwp-search-toggle-btn {
	display: none;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: #000000;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
/* .pwp-hero-section {
	width: 100%;
	background-color: #f8f8f8;
	overflow: hidden;
}

.pwp-hero-image-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}

.pwp-hero-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
} */

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.pwp-hero-section {
	width: 100%;
	background-color: #f8f8f8;
	overflow: hidden;
}

.pwp-hero-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 40px 20px;
}

/* 50% Columns */
.pwp-hero-col {
	flex: 0 0 50%;
	max-width: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
}

/* Left Column Text Styling */
.pwp-hero-text-lockup {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 90px;
	padding-top: 20px;
}

.pwp-hero-sub-top {
	/* font-family: "Restart Ginger", sans-serif !important; */
	font-family: "Neue Haas Grotesk Display Pro", sans-serif !important;
	font-size: 1.2em;
	font-weight: 350;
	color: #000000;
	line-height: 1.1;
	letter-spacing: 3px;
	white-space: nowrap;
}

.pwp-hero-main-title {
	font-family: 'Smoosh 2', 'Smoosh', sans-serif;
	font-size: 4.0em;
	font-weight: 500;
	letter-spacing: 24px;
	letter-spacing: 0.063em;
	color: #000000;
	text-transform: uppercase;
	line-height: 0.75;
	margin: 20px 0 0 0;
	transform: none;
	white-space: nowrap;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	-webkit-text-stroke: 0.35px #000000;
	text-shadow: 0 0 0.4px #000000;
}

.pwp-hero-sub-bottom {
	font-family: 'Smoosh 2', 'Smoosh', sans-serif;
	font-size: 3.0em;
	font-weight: 400;
	color: #000000;
	line-height: 0.8;
	letter-spacing: 17px;
	letter-spacing: 0.063em;
	white-space: nowrap;
}

/* Right Column Globe Graphic (Sized down to 450x600 max, centered) */
.pwp-hero-globe-img {
	width: 100%;
	max-width: 450px;
	height: auto;
	max-height: 600px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* Mobile Breakpoints: Change text size */
@media screen and (max-width: 1100px) {
	.pwp-hero-text-lockup {
		font-size: 80px;
		padding-top: 20px;
	}
}
@media screen and (max-width: 1000px) {
	.pwp-hero-text-lockup {
		font-size: 70px;
		padding-top: 20px;
	}
}
@media screen and (max-width: 900px) {
	.pwp-hero-text-lockup {
		font-size: 60px;
		padding-top: 20px;
	}
}
@media screen and (max-width: 800px) {
	.pwp-hero-text-lockup {
		font-size: 50px;
		padding-top: 20px;
	}
}
@media screen and (max-width: 700px) {
	.pwp-hero-text-lockup {
		font-size: 45px;
		padding-top: 20px;
	}
}
@media screen and (max-width: 600px) {
	.pwp-hero-text-lockup {
		font-size: 45px;
		padding-top: 0;
	}
}

/* Mobile Breakpoint: Stack below 600px */
@media screen and (max-width: 600px) {
	.pwp-hero-container {
		flex-direction: column;
		padding: 30px 15px;
	}

	.pwp-hero-col {
		flex: 0 0 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
	}

	.pwp-hero-text-col {
		margin-bottom: 0;
	}

	/* .pwp-hero-main-title {
		font-size: 90px;
	}

	.pwp-hero-sub-top,
	.pwp-hero-sub-bottom {
		font-size: 28px;
	} */

	.pwp-hero-globe-img {
		max-width: 320px;
	}
}

/* --------------------------------------------------------------------------
   Sub-Navigation Bar (Horizontal Swipe/Scroll enabled under 900px)
   -------------------------------------------------------------------------- */
.pwp-subnav-bar {
	width: 100%;
	margin-bottom: 9px;
	background-color: #f8f8f8;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	border-top: 1px solid #e2e2e2;
	position: sticky;
	top: 0;
	z-index: 999;
}

.pwp-subnav-container {
	max-width: 1150px;
	margin: 0 auto;
}

.pwp-subnav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	width: 100%;
}

.pwp-subnav-item {
	flex: 1;
	text-align: center;
	margin: 0;
	padding: 0;
}

.pwp-subnav-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 12px;
	color: #fff;
	color: #333;
	text-decoration: none;
	font-family: "Restart Ginger", "RestartGinger-SemiBold", Arial, sans-serif;
	/* font-family: "Neue Haas Grotesk Display Pro 350", "Neue Haas Grotesk Display Pro", sans-serif; */
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	transition: background-color 0.2s ease;
	height: 100%;
	white-space: normal;
	letter-spacing: 0.5px;
    text-decoration: underline;
    text-decoration-color: #e53935;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
	transition: background-color 0.2s ease;
}

/* Hover State: Solid Black */
.pwp-subnav-item a:hover {
	/* background-color: #000000; */
	color: #e53935;
}

/* Hide swipe instruction until needed */	
.pwp-swipe-more {
	display: none;
}

/* --------------------------------------------------------------------------
   Responsive & Touch Swipe Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet & Mobile Navigation Breakpoint (< 900px) */
@media screen and (max-width: 900px) {
	/* Enable horizontal swipe container */
	.pwp-subnav-bar {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch; /* Smooth inertia scroll on iOS */
		scroll-snap-type: x mandatory;
	}

	/* Prevent scrollbar from rendering on Chrome/Safari/Firefox */
	.pwp-subnav-bar::-webkit-scrollbar {
		display: none;
	}
	.pwp-subnav-bar {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.pwp-subnav-menu {
		width: max-content; /* Allows items to extend beyond screen width */
		display: flex;
		flex-wrap: nowrap;
	}

	.pwp-subnav-item {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	.pwp-subnav-item a {
		padding: 12px 18px;
		white-space: nowrap; /* Keeps link titles on one line while swiping */
	}
	
	/* Reveal swipe instructions */
	.pwp-swipe-more {
		display: table;
		width: auto;
		margin: 0 auto;
		font-size: 15px;
		color: #e53935;
		font-weight: bold;
	}

}

/* Mobile iPhone View (< 500px) Matching Mockup */
@media screen and (max-width: 500px) {
	.pwp-site-header {
		padding: 10px 15px;
	}

	/* Hide text search bar, show search icon button */
	.pwp-header-search {
		display: none;
	}

	.pwp-search-toggle-btn {
		display: flex;
	}

	.pwp-brand-title {
		font-size: 30px;
		letter-spacing: 0.5px;
	}

	.pwp-logo-img {
		width: 36px;
		height: 36px;
	}

}

/* --------------------------------------------------------------------------
   Full-Bleed Layout Overrides for Genesis
   -------------------------------------------------------------------------- */
.page-template-homepage .site-inner,
.page-template-homepage .content-sidebar-wrap,
.page-template-homepage main.content,
.page-template-homepage .custom-homepage-wrapper,
.page-template-homepage .pwp-homepage-wrapper {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
.hub-template-default .site-inner,
.hub-template-default .content-sidebar-wrap,
.hub-template-default main.content,
.hub-template-default .custom-homepage-wrapper,
.hub-template-default .pwp-homepage-wrapper {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
.full-width-content .site-inner,
.full-width-content .content-sidebar-wrap,
.full-width-content main.content,
.full-width-content .custom-homepage-wrapper,
.full-width-content .pwp-homepage-wrapper {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.pwp-hero-section,
.pwp-hero-image-wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
}

.pwp-hero-img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto;
	display: block;
}

/* --------------------------------------------------------------------------
   Floating Back to Top Button
   -------------------------------------------------------------------------- */
.pwp-back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background-color: #ffffff;
	color: #333333;
	font-family: "Neue Haas Grotesk Display Pro", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 1px solid #333333;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	
	/* 75% opacity at rest */
	opacity: 0.75;
	
	/* Hidden by default until scrolled past 300px */
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

/* Revealed state on scroll */
.pwp-back-to-top.visible {
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

/* 100% opacity and subtle highlight on hover */
.pwp-back-to-top:hover {
	opacity: 1;
	background-color: #333333;
	color: #ffffff;
	border-color: #333333;
}

/* Mobile adjustments */
@media screen and (max-width: 600px) {
	.pwp-back-to-top {
		bottom: 20px;
		right: 20px;
		padding: 6px 12px;
		font-size: 12px;
	}
}