/* === Sojourn custom header === */


#masthead.soj-site-header {
	background-image: url('/wp-content/uploads/2024/10/header-bg.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;

	/* Fallback color if image fails */
	background-color: rgb(0, 98, 166) !important;
	color: #fff;
}

/* Inner container aligned roughly with Astra container width */
.soj-header-inner {
	max-width:  1200px;
	margin: 0 auto;
	display: flex;
	align-items: stretch;
	gap: 1rem;
	padding: 10px 20px;
}

/* Columns */
.soj-header-col {
	display: flex;
	flex-direction: column;
}

.soj-header-logo {
	flex: 0 0 auto;
	justify-content: center;
}

.soj-header-logo .custom-logo,
.soj-header-logo img {
	height: auto;
	max-height: 80px; /* keep header just above logo height */
	width: 190px;
}

/* Right column: nav stack (top bar + hr + primary nav) */
.soj-header-nav {
	flex: 1 1 auto;
	justify-content: flex-end;
}

/* --- Top bar --- */

.soj-top-bar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	margin-bottom: 8px;
}

/* Horizontal top bar menu */
.soj-top-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.soj-top-menu > li > a {
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: normal;
    line-height:15px;
    text-align:start;
	color: #ffffff;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}



/* .soj-top-menu > li > a:hover,
.soj-top-menu > li > a:focus {
	text-decoration: underline;
} */

/* Placeholders for top bar icons (set background-image per menu item class) */
.soj-top-menu > li > a::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	/* Example:
	   background-image: url('/path/to/icon.svg');
	   Use the existing menu-item classes like .menu-tourcal, .menu-booktrip, etc.
	*/
}

/* e.g.:
.soj-top-menu .menu-tourcal > a::before { background-image: url('/path/to/calendar-icon.svg'); }
.soj-top-menu .menu-booktrip > a::before { background-image: url('/path/to/book-icon.svg'); }
*/

/* Catalog Request button */
#menu-item-826 a {
	
	padding: 0 20px;
	background-color: #84b61d; /* Sojourn green-ish */
	color: #ffffff !important;
	text-transform: uppercase;
	
	
	border-radius: 7px;
	text-decoration: none;
	white-space: nowrap;
}

.soj-catalog-btn:hover,
.soj-catalog-btn:focus {
	background-color: #6c9517;
	color: #ffffff;
	text-decoration: none;
}

/* Divider line between top bar & main nav */
.sj-header-hr {
    background-color: rgba(255, 255, 255, 0.4) !important;
	border: 0;
	/* border-top: 1px solid rgba(255, 255, 255, 0.4); */
	margin: 5px 0 5px 0;
}

/* --- Primary navigation --- */

.soj-primary-nav {
	position: relative; /* for mega panel width reference */
    z-index: 50;
    display:flex;
    
}

.soj-primary-menu {
    width: 100%;
	display: flex;
    justify-content: flex-end;
	gap: 15px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Top-level items */
.soj-primary-menu > li > a,
.soj-primary-menu > li > button.soj-mega-toggle,
.soj-primary-menu > li > button.soj-nav-search-toggle {
	background: none;
	border: none;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: normal;
	padding: 10px 0 6px;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}

.soj-search-toggle {
    border:none !important;
    background-color:none !important;
    height: 15px;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .soj-primary-nav {
        justify-content: flex-end;
    }
    .soj-primary-menu > li > a,
    .soj-primary-menu > li > button.soj-mega-toggle,
    .soj-primary-menu > li > button.soj-nav-search-toggle {
        font-size: 14px;
    }
}

.soj-primary-menu > li > a:hover,
.soj-primary-menu > li > a:focus,
.soj-primary-menu > li > button.soj-mega-toggle:hover,
.soj-primary-menu > li > button.soj-mega-toggle:focus,
.soj-primary-menu > li > button.soj-nav-search-toggle:hover,
.soj-primary-menu > li > button.soj-nav-search-toggle:focus {
	text-decoration: underline;
}

/* Default: list items are dropdown containers */
/* .soj-primary-menu li {
	position: relative;
} */

/* --------------------------------------------------------------
   UNIVERSAL DROPDOWN RESET — All dropdowns must be white
-------------------------------------------------------------- */
.soj-primary-menu ul.sub-menu {
    position: absolute;
    /* left: 0; */
    top: 100%;
    background: #ffffff !important;
    list-style: none !important;
    padding: 20px 0;
    margin: 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
    z-index: 9999;
    border-top: 3px solid #7bbf00; /* subtle green accent like Sojourn */
}

/* Show dropdown on hover/focus */
.soj-primary-menu li:hover > ul.sub-menu,
.soj-primary-menu li:focus-within > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu links */
.soj-primary-menu ul.sub-menu > li > a {
    display: block;
    padding: 6px 18px;
    font-size: 14px;
    color: rgb(38, 38, 38);
    text-decoration: none;
    white-space: nowrap;
}

.soj-primary-menu ul.sub-menu > li > a:hover {
    color: #7bbf00;
    background: rgba(0, 0, 0, 0.05);
}

/* Remove ALL bullets at all depths */
.soj-primary-menu .sub-menu,
.soj-primary-menu .sub-menu li {
    list-style: none !important;
}



/* --------------------------------------------------------------
   DESTINATIONS — CUSTOM SHORTCODE MEGA PANEL
-------------------------------------------------------------- */





/* Wrapper created by the walker */
/* .soj-mega-collections {
    position: relative !important; /* anchor for absolute menu */
} */

/* Trip Collections mega menu — match nav container width */
/* Correct width – match nav container, not LI */
/* Position mega panel directly under the nav bar, not under the LI */ 
/* .soj-primary-menu > li.soj-mega-dest {
    position: relative !important;
}  */

.soj-primary-menu > li.soj-mega-dest .soj-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    max-width: 970px;
    background: #fff;
    z-index: 9999;

    /* REMOVE the gap */
    transform: none;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.soj-primary-menu > li.soj-mega-dest:hover .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest .soj-mega-panel:hover {
    opacity: 1;
    visibility: visible;
}

/* KEEP OPEN when hovering EITHER button OR panel */
.soj-primary-menu > li.soj-mega-dest:hover .soj-mega-dest .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest:focus-within .soj-mega-dest .soj-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.soj-primary-menu > li.soj-mega-dest .soj-mega-panel > * {
    max-width: var(--ast-container-width, 1200px);
    margin: 0 auto;
}

/* Show on hover */
/* Show on hover/focus for both mega menu parents */
.soj-primary-menu > li.soj-mega-collections:hover > .soj-mega-panel,
.soj-primary-menu > li.soj-mega-collections:focus-within > .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest:hover > .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest:focus-within > .soj-mega-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}



/* JS controls visibility via [hidden] */
.soj-primary-menu > li.soj-mega-dest .soj-mega-toggle[aria-expanded="true"] + .soj-mega-panel {
    display: block !important;
}



/* --------------------------------------------------------------
   SEARCH ICON
-------------------------------------------------------------- */
.soj-nav-search-toggle {
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
}

.soj-nav-search-toggle::before {
    content: "🔍";
    font-size: 18px;
}

/* Accessible hidden text */
.soj-nav-search-toggle .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* --------------------------------------------------------------
   BASIC RESPONSIVENESS
-------------------------------------------------------------- */
@media (max-width: 768px) {
    .soj-primary-menu {
        flex-wrap: wrap;
    }

    .soj-primary-menu ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
    }

    .soj-primary-menu > .soj-mega-collections > ul.sub-menu {
        display: block !important;
    }
}

/* MAIN GRID (3 columns + 4th split) */
.soj-tc-mega-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 4fr 4fr 3fr 8fr;
    gap: 1px;
    /* padding: 40px 0; */
    background: #fff;
  
    box-sizing: border-box;
}

/* Vertical dividers */
.soj-tc-mega-grid > .soj-tc-col {
    border-right: 1px solid #7bbf00;
    /* padding-right: 30px; */
}
.soj-tc-mega-grid > .soj-tc-col:last-child {
    border-right: none;
}

/* Headings */
	.soj-mega-panel	h3.soj-tc-header{
		font-family:"Roboto", sans-serif ;
		font-size:unset;
        text-transform:uppercase;
		color:#0062A6;
		text-align:center;
		height: 50px;
        padding-top: 20px;
        border-bottom: 1px solid #7bbf00
	}

/* List items */
.soj-tc-list,
.soj-tc-two-col ul {
    list-style: none;
    margin: 0;
    padding: 15px 10px;
}

.soj-tc-list li,
.soj-tc-two-col li {
    margin-bottom: 4px;
}

.soj-tc-list a,
.soj-tc-two-col a {
    color: #222 !important;
    text-decoration: none;
    line-height: .8em;
}

.soj-tc-list a:hover,
.soj-tc-two-col a:hover {
    color: #7bbf00;
}

/* Split final column */
.soj-tc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

/*************************************************
 MOBILE HEADER BEHAVIOR
*************************************************/

@media (max-width: 768px) {

    /* Hide the desktop navigation entirely */
    
    .soj-primary-nav,
    .soj-primary-nav ul,
    .soj-mega-toggle,
    .soj-mega-panel,
    .soj-search-menu-item {
        display: none !important;
    }

    /* Ensure the header container does not reserve desktop menu space */
    .soj-header-nav,
    .soj-site-header {
        height: auto;
    }

    /* Show hamburger button (if hidden by desktop CSS) */
    .menu-toggle,
    .ast-mobile-menu-trigger,
    .soj-mobile-hamburger {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Prevent desktop megamenu JS from firing */
    body.mobile .soj-mega-collections .soj-mega-toggle,
    body.mobile .soj-mega-dest .soj-mega-toggle {
        pointer-events: none !important;
    }
}

/*************************************************
 DESKTOP ONLY
*************************************************/

@media (min-width: 1025px) {
    /* Ensure the desktop nav is visible */
    .soj-primary-nav {
        display: flex !important;
    }

    /* Hide mobile hamburger on desktop */
    .menu-toggle,
    .ast-mobile-menu-trigger,
    .soj-mobile-hamburger {
        display: none !important;
    }
}

/* --------------------------------------------------------------
   NAV SEARCH OVERLAY
-------------------------------------------------------------- */   

/* --------------------------------------------------------
   OFF-CANVAS SEARCH PANEL
-------------------------------------------------------- */
.soj-search-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background: #fff;
    box-shadow: -3px 0 12px rgba(0,0,0,0.25);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    padding: 40px 35px;
    z-index: 99999;
    overflow-y: auto;
}

.soj-search-panel.active {
    transform: translateX(0);
}

.soj-search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.soj-search-title {
    margin: 0 0 24px 0;
    font-size: 28px;
    font-weight: 600;
}

.soj-search-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
    margin-bottom: 32px;
}

.soj-search-input-icon {
    margin-right: 10px;
    opacity: 0.5;
}

.soj-search-input {
    flex: 1;
    font-size: 16px;
    border: none;
    outline: none;
    padding: 8px;
}

.soj-search-go {
    background: #003c71;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.soj-search-popular h5 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.soj-search-popular a {
    display: block;
    margin-bottom: 10px;
    color: #003c71;
    text-decoration: none;
}


/* -----------------------------------------------------------
   MOBILE HEADER LAYOUT
   ----------------------------------------------------------- */
@media (max-width: 768px) {

	/* Hide desktop nav */
	.soj-primary-nav,
	.soj-top-menu {
		display: none;
	}

	.soj-mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.soj-mobile-toggle-icon,
.soj-mobile-toggle-icon::before,
.soj-mobile-toggle-icon::after {
    width: 24px;
    height: 3px;
    background: #333;
    display: block;
    content: "";
    transition: 0.3s ease;
    border-radius: 2px;
}

.soj-mobile-toggle-icon::before {
    transform: translateY(-7px);
}
.soj-mobile-toggle-icon::after {
    transform: translateY(7px);
}

/* When open → animate into an X */
.soj-mobile-toggle[aria-expanded="true"] .soj-mobile-toggle-icon {
    background: transparent;
}
.soj-mobile-toggle[aria-expanded="true"] .soj-mobile-toggle-icon::before {
    transform: rotate(45deg);
}
.soj-mobile-toggle[aria-expanded="true"] .soj-mobile-toggle-icon::after {
    transform: rotate(-45deg);
}

/* Off-canvas menu container */
.soj-mobile-menu {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 99999;
    padding: 30px 20px;
    overflow-y: auto;
}

/* Slide-in animation */
body.soj-mobile-open .soj-mobile-menu {
    animation: sojSlideIn 0.25s ease forwards;
}

@keyframes sojSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

.soj-site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
	border-bottom: 2px solid #84b61d
}
.soj-head-inner {
	max-width: 1200px !important;
	overflow:hidden !important;
}





/* Prevent the default submenu from appearing under Trip Collections */
.soj-mega-collections > .sub-menu {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
}	
	/* Show mega menus on hover */
.soj-mega-collections:hover > .soj-mega-panel, .soj-mega-dest:hover > .soj-mega-panel {
    display: block !important;
	left: 0;
    opacity: 1;
    visibility: visible;
	
}

.soj-primary-menu {
	position:relative !important;
}
.soj-primary-menu > li {
    position: static !important; /* ensures mega panel aligns with nav */
}




/* 	
	.soj-mega-panel {
		width: 1010px;
	}  */

/* .soj-mega-panel {
    position: absolute;
    left: 0;
    top: 140%;
    width: 950px;
    max-width: 950px; /* matches your desired content width */
    margin: 0 auto;
    z-index: 9999;
    display: none;
}	 */
	
	.soj-search-toggle,
	.soj-search-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soj-search-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff; /* matches nav text */
    display: block;
}
    transition: transform .25s ease;
}

.soj-search-toggle:hover .soj-search-svg {
    transform: scale(1.15);
	background-color: transparent;
}
	
	#menu-item-37748 a:before {
		        background-image: url(/wp-content/uploads/2025/08/calendar.svg);
        width: 22px;
        height: 22px;
	}
	
	#menu-item-827 a:before{
		        background-image: url(/wp-content/uploads/2024/11/cycle.svg);
        width: 23px;
        height: 23px;
	}
	
	#menu-item-828 a:before {
		        background-image: url(/wp-content/uploads/2024/10/email.svg);
    
	}
	
	#menu-item-29922 a:before {
		        background-image: url(/wp-content/uploads/2024/11/newsletter.svg);
    }
/* Catalog Request button */
.menu-catalog a:before {
	content:none !important;
	display:none !important;
}
.menu-catalog a {
				display: inline-block;
        border-right: none;
        background: #7db84e;
	line-height:normal;
        border-radius: 7px;
        color: #ffffff !important;
        padding: 5px 10px !important;
        transition: all .2s 
linear;
        font-weight: 600 !important;
    }
	
	.menu-catalog a:before {
		content:none;
	}
	
	.soj-top-bar ul li {
		 display: inline-flex;        /* keeps alignment tidy */
    align-items: center;
	}
	
.soj-top-bar ul li:nth-child(n+2):nth-child(-n+4)::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: .9em;
    background-color: rgba(255,255,255,0.6);
    margin: 0 12px;
}
	.soj-top-bar ul li:nth-last-child(2) {
		padding-right: 10px;
	}
	.soj-top-bar ul li a {
    display: inline-flex;     /* or flex */
    align-items: center;      /* vertically center icon + text */
    gap: 6px;                 /* space between icon and text */
		
}
	
	.soj-primary-menu a,
.soj-top-menu a {
    text-decoration: none !important;
}

	.soj-primary-menu button:hover,
.soj-primary-menu a:hover,
.soj-top-menu  a:focus,
.soj-top-menu a:hover,
.soj-top-menu a:focus {
    text-decoration: none !important;
}
	

/* Make Astra mobile menu behave as off-canvas */
/* #ast-mobile-header-wrap {
    display: none;
    background: #fff;
    padding: 20px;
} */

#ast-mobile-header-wrap.ast-mobile-menu-active {
    display: block;
}

.ast-mobile-menu > li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.soj-mobile-toggle-wrapper {
    display: block;
    text-align: right;
    padding: 12px;
}

	.ast-main-header-wrap {
		border-top: 1px solid rgba(255,255,255,.4) !important;
		border-bottom: 1px solid #84b61d
	}

#ast-fixed-header svg {
    display: none !important;
}

#ast-hf-menu-3-mobile {
	justify-content:center;
}

#ast-mobile-header-wrap.open {
    display: block;
}

.ast-button-wrap .menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal:focus, .ast-mobile-menu-trigger-minimal:focus, .menu-toggle:focus, .ast-button-wrap .menu-toggle:focus, .menu-toggle:active, .menu-toggle-close:focus {
	border: none !important;
	outline:none !important;
	outline-color:none !important;
}

.ast-menu-toggle {
	border:none !important;
	background: none !important;
	padding-right: 0 !important;
	position:absolute;
}
.ast-menu-toggle .ast-icon {
		top: -8px;
		position:relative;
	
}

#ast-hf-mobile-menu .menu-item .menu-link {
	padding-left: 10px;
	font-size: 13px;
	
	line-height: 30px
}

#ast-hf-mobile-menu .menu-item .menu-link .menu-text {
	line-height: 1;
	letter-spacing: .01em;
}

@media (max-width: 768px) {
	.soj-desktop-header
	{
		display:none !important;
	} 
} 
/* -------------------------------------------------------
   SOJOURN DESKTOP NAV — TABLET RANGE 769px–992px
-------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 992px) {

    /* Show custom desktop nav */
    @media (min-width: 769px) and (max-width: 992px) {

    .soj-primary-nav {
        display: flex;
        justify-content: flex-end; /* ⬅ Right-aligned */
        align-items: center;
        gap: 24px; /* ⬅ Even spacing between items */
        width: 100%;
    }


    .soj-primary-nav > li {
        display: inline-flex; 
        align-items: center;
        white-space: nowrap;
    }

    .soj-primary-nav > li > a,
    .soj-primary-nav > li > button {
        display: inline-flex;
        padding: 10px 14px;
        width: auto;              /* ⬅ Prevent stretching */
        max-width: max-content;   /* ⬅ Fit to text */
    }

			.soj-primary-nav .soj-mega-toggle {
        width: auto !important;
        max-width: max-content;
        display: inline-flex;
        padding: 10px 14px;
    }

  

   li.soj-mega-collections {
        width: auto !important;
        max-width: max-content;
    }
}
	


	.ast-menu-toggle:focus {
		outline:none;
	}


.soj-site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
	border-bottom: 2px solid #84b61d
}
.soj-head-inner {
	max-width: 1200px !important;
	overflow:hidden !important;
}
/* 
/* .soj-header-nav, .soj-primary-nav {
	max-width: 950px!important;
} */ */


.soj-primary-menu > li.soj-mega-collections .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest .soj-mega-panel {
    position: absolute;
    top: 140%;
    left: 0;
max-width: 1010px !important;
    z-index: 9999;
}
/* Prevent the default submenu from appearing under Trip Collections */
.soj-mega-collections > .sub-menu {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
}	
	/* Show mega menus on hover */
.soj-mega-collections:hover > .soj-mega-panel, .soj-mega-dest:hover > .soj-mega-panel {
    display: block !important;
	left: 0;
    opacity: 1;
    visibility: visible;
	
}

/* .soj-primary-menu {
	position:relative !important;
} */
/* .soj-primary-menu > li {
    position: relative !important; /* ensures mega panel aligns with nav */ */
}

/*.soj-site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
	border-bottom: 2px solid #84b61d
}
.soj-head-inner {
	max-width: 1200px !important;
	overflow:hidden !important;
}
/* 
/* .soj-header-nav, .soj-primary-nav {
	max-width: 950px!important;
} */ */


.soj-primary-menu > li.soj-mega-collections .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest .soj-mega-panel {
    position: absolute;
    top: 140%;
    left: 0;
max-width: 1010px !important;
    z-index: 9999;
}
/* Prevent the default submenu from appearing under Trip Collections */
.soj-mega-collections > .sub-menu {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
}	
	/* Show mega menus on hover */
.soj-mega-collections:hover > .soj-mega-panel, .soj-mega-dest:hover > .soj-mega-panel {
    display: block !important;
	left: 0;
    opacity: 1;
    visibility: visible;
	
}

/* .soj-primary-menu {
	position:relative !important;
} */
/* .soj-primary-menu > li {
    position: relative !important; /* ensures mega panel aligns with nav */ */
}

    /* Animation */
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}



	.soj-mega-panel {
		width: 1010px;
	}  */

/* .soj-mega-panel {
    position: absolute;
    left: 0;
    top: 140%;
    width: 950px;
    max-width: 950px; /* matches your desired content width */
    margin: 0 auto;
    z-index: 9999;
    display: none;
}	 */
	
	.soj-search-toggle,
	.soj-search-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soj-search-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff; /* matches nav text */
    display: block;
}
    transition: transform .25s ease;
}

.soj-search-toggle:hover .soj-search-svg {
    transform: scale(1.15);
	background-color: transparent;
}
	
	#menu-item-37748 a:before {
		        background-image: url(/wp-content/uploads/2025/08/calendar.svg);
        width: 22px;
        height: 22px;
	}
	
	#menu-item-827 a:before{
		        background-image: url(/wp-content/uploads/2024/11/cycle.svg);
        width: 23px;
        height: 23px;
	}
	
	#menu-item-828 a:before {
		        background-image: url(/wp-content/uploads/2024/10/email.svg);
    
	}
	
	#menu-item-29922 a:before {
		        background-image: url(/wp-content/uploads/2024/11/newsletter.svg);
    }
/* Catalog Request button */
.menu-catalog a:before {
	content:none !important;
	display:none !important;
}
.menu-catalog a {
				display: inline-block;
        border-right: none;
        background: #7db84e;
	line-height:normal;
        border-radius: 7px;
        color: #ffffff !important;
        padding: 5px 10px !important;
        transition: all .2s 
linear;
        font-weight: 600 !important;
    }
	
	.menu-catalog a:before {
		content:none;
	}
	
	.soj-top-bar ul li {
		 display: inline-flex;        /* keeps alignment tidy */
    align-items: center;
	}
	
.soj-top-bar ul li:nth-child(n+2):nth-child(-n+4)::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: .9em;
    background-color: rgba(255,255,255,0.6);
    margin: 0 12px;
}
	.soj-top-bar ul li:nth-last-child(2) {
		padding-right: 10px;
	}
	.soj-top-bar ul li a {
    display: inline-flex;     /* or flex */
    align-items: center;      /* vertically center icon + text */
    gap: 6px;                 /* space between icon and text */
		
}
	
	.soj-primary-menu a,
.soj-top-menu a {
    text-decoration: none !important;
}

	.soj-primary-menu button:hover,
.soj-primary-menu a:hover,
.soj-top-menu  a:focus,
.soj-top-menu a:hover,
.soj-top-menu a:focus {
    text-decoration: none !important;
}
	

/* Make Astra mobile menu behave as off-canvas */
/* #ast-mobile-header-wrap {
    display: none;
    background: #fff;
    padding: 20px;
} */

#ast-mobile-header-wrap.ast-mobile-menu-active {
    display: block;
}

.ast-mobile-menu > li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.soj-mobile-toggle-wrapper {
    display: block;
    text-align: right;
    padding: 12px;
}

	.ast-main-header-wrap {
		border-top: 1px solid rgba(255,255,255,.4) !important;
		border-bottom: 1px solid #84b61d
	}

#ast-fixed-header svg {
    display: none !important;
}

#ast-hf-menu-3-mobile {
	justify-content:center;
}

#ast-mobile-header-wrap.open {
    display: block;
}

.ast-button-wrap .menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal:focus, .ast-mobile-menu-trigger-minimal:focus, .menu-toggle:focus, .ast-button-wrap .menu-toggle:focus, .menu-toggle:active, .menu-toggle-close:focus {
	border: none !important;
	outline:none !important;
	outline-color:none !important;
}

.ast-menu-toggle {
	border:none !important;
	background: none !important;
	
}

@media (max-width: 768px) {
	.soj-desktop-header
	{
		display:none !important;
	} 
} 
/* -------------------------------------------------------
   SOJOURN DESKTOP NAV — TABLET RANGE 769px–992px
-------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 992px) {

    /* Show custom desktop nav */
    @media (min-width: 769px) and (max-width: 992px) {

    .soj-primary-nav {
        display: flex;
        justify-content: flex-end; /* ⬅ Right-aligned */
        align-items: center;
        gap: 24px; /* ⬅ Even spacing between items */
        width: 100%;
    }


    .soj-primary-nav > li {
        display: inline-flex; 
        align-items: center;
        white-space: nowrap;
    }

    .soj-primary-nav > li > a,
    .soj-primary-nav > li > button {
        display: inline-flex;
        padding: 10px 14px;
        width: auto;              /* ⬅ Prevent stretching */
        max-width: max-content;   /* ⬅ Fit to text */
    }

			.soj-primary-nav .soj-mega-toggle {
        width: auto !important;
        max-width: max-content;
        display: inline-flex;
        padding: 10px 14px;
    }

}

	.ast-menu-toggle:focus {
		outline:none;
	}	
		
}
/* END TABLET RANGE */

/* BOTH Trip Collections + Destinations */
.soj-primary-menu > li > .soj-mega-panel {
    position: absolute;
    top: calc(100% + 12px); /* distance BELOW header */
    left: 0;
    width: 100%;
    max-width: 970px;
    background: #fff;
    z-index: 9999;
	 margin: 0 auto;
    display: none;
}
	
.soj-primary-menu > li.soj-mega-collections,
.soj-primary-menu > li.soj-mega-dest {
    padding-bottom: 28px;        /* hover buffer */
    margin-bottom: -28px;        /* cancels layout shift */
}
	

.soj-mega-panel {
	background:#fff;
}

.soj-primary-menu > li.soj-mega-dest:hover .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest:focus-within .soj-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Trip Collections */
.soj-primary-menu > li.soj-mega-collections:hover > .soj-mega-panel,
.soj-primary-menu > li.soj-mega-collections:focus-within > .soj-mega-panel {
    display: block;
}

/* Destinations */
.soj-primary-menu > li.soj-mega-dest:hover > .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest:focus-within > .soj-mega-panel {
    display: block;
}


  .soj-mega-panel {
		width: 1010px;
	}  


	.soj-search-toggle,
	.soj-search-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soj-search-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff; /* matches nav text */
    display: block;
}


.soj-search-toggle:hover .soj-search-svg {
    transform: scale(1.15);
	background-color: transparent;
}
	
	#menu-item-37748 a:before {
		        background-image: url(/wp-content/uploads/2025/08/calendar.svg);
        width: 22px;
        height: 22px;
	}
	
	#menu-item-827 a:before{
		        background-image: url(/wp-content/uploads/2024/11/cycle.svg);
        width: 23px;
        height: 23px;
	}
	
	#menu-item-828 a:before {
		        background-image: url(/wp-content/uploads/2024/10/email.svg);
    
	}
	
	#menu-item-29922 a:before {
		        background-image: url(/wp-content/uploads/2024/11/newsletter.svg);
    }
/* Catalog Request button */
.menu-catalog a:before {
	content:none !important;
	display:none !important;
}
.menu-catalog a {
				display: inline-block;
        border-right: none;
        background: #7db84e;
	line-height:normal;
        border-radius: 7px;
        color: #ffffff !important;
        padding: 5px 10px !important;
        transition: all .2s 
linear;
        font-weight: 600 !important;
    }
	
	.menu-catalog a:before {
		content:none;
	}
	
	.soj-top-bar ul li {
		 display: inline-flex;        /* keeps alignment tidy */
    align-items: center;
	}
	
.soj-top-bar ul li:nth-child(n+2):nth-child(-n+4)::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: .9em;
    background-color: rgba(255,255,255,0.6);
    margin: 0 12px;
}
	.soj-top-bar ul li:nth-last-child(2) {
		padding-right: 10px;
	}
	.soj-top-bar ul li a {
    display: inline-flex;     /* or flex */
    align-items: center;      /* vertically center icon + text */
    gap: 6px;                 /* space between icon and text */
		
}
	
	.soj-primary-menu a,
.soj-top-menu a {
    text-decoration: none !important;
}

	.soj-primary-menu button:hover,
.soj-primary-menu a:hover,
.soj-top-menu  a:focus,
.soj-top-menu a:hover,
.soj-top-menu a:focus {
    text-decoration: none !important;
}
	

#ast-mobile-header-wrap.ast-mobile-menu-active {
    display: block;
}

.ast-mobile-menu > li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.soj-mobile-toggle-wrapper {
    display: block;
    text-align: right;
    padding: 12px;
}

	.ast-main-header-wrap {
		border-top: 1px solid rgba(255,255,255,.4) !important;
		border-bottom: 1px solid #84b61d
	}

#ast-fixed-header svg {
    display: none !important;
}

#ast-hf-menu-3-mobile {
	justify-content:center;
}

#ast-mobile-header-wrap.open {
    display: block;
}

.ast-button-wrap .menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal:focus, .ast-mobile-menu-trigger-minimal:focus, .menu-toggle:focus, .ast-button-wrap .menu-toggle:focus, .menu-toggle:active, .menu-toggle-close:focus {
	border: none !important;
	outline:none !important;
	outline-color:none !important;
}

.ast-menu-toggle {
	border:none !important;
	background: none !important;
	
}

@media (max-width: 768px) {
	.soj-desktop-header
	{
		display:none !important;
	} 
} 
/* -------------------------------------------------------
   SOJOURN DESKTOP NAV — TABLET RANGE 769px–992px
-------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 992px) {

    /* Show custom desktop nav */
    @media (min-width: 769px) and (max-width: 992px) {

    .soj-primary-nav {
        display: flex;
        justify-content: flex-end; /* ⬅ Right-aligned */
        align-items: center;
        gap: 24px; /* ⬅ Even spacing between items */
        width: 100%;
    }


    .soj-primary-nav > li {
        display: inline-flex; 
        align-items: center;
        white-space: nowrap;
    }

    .soj-primary-nav > li > a,
    .soj-primary-nav > li > button {
        display: inline-flex;
        padding: 10px 14px;
        width: auto;              /* ⬅ Prevent stretching */
        max-width: max-content;   /* ⬅ Fit to text */
    }

			.soj-primary-nav .soj-mega-toggle {
        width: auto !important;
        max-width: max-content;
        display: inline-flex;
        padding: 10px 14px;
    }

}

	.ast-menu-toggle:focus {
		outline:none;
	}	
		
}

/* BOTH Trip Collections + Destinations */
.soj-primary-menu > li > .soj-mega-panel {
    position: absolute;
    top: calc(100% + 12px); /* distance BELOW header */
    left: 0;
    width: 100%;
    max-width: 970px;
    background: #fff;
    z-index: 9999;
	 margin: 0 auto;
    display: none;
}
	
.soj-primary-menu > li.soj-mega-collections,
.soj-primary-menu > li.soj-mega-dest {
    padding-bottom: 28px;        /* hover buffer */
    margin-bottom: -28px;        /* cancels layout shift */
}
	

.soj-mega-panel {
	background:#fff;
}

.soj-primary-menu > li.soj-mega-dest:hover .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest:focus-within .soj-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Trip Collections */
.soj-primary-menu > li.soj-mega-collections:hover > .soj-mega-panel,
.soj-primary-menu > li.soj-mega-collections:focus-within > .soj-mega-panel {
    display: block;
}

/* Destinations */
.soj-primary-menu > li.soj-mega-dest:hover > .soj-mega-panel,
.soj-primary-menu > li.soj-mega-dest:focus-within > .soj-mega-panel {
    display: block;
}