/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ========================================
   Root Variables
   ======================================== */
:root {
  /* Color Palette */
  --brand-gold: #c8892b;
  --brand-light-gold: #dead64;
  --brand-blue: #435697;
  --brand-light-blue: #6b7ebd;
  --brand-green: #00464c;
  --brand-light-green: #529889;
  --brand-xlight-green: #529889;
  --brand-black: #000;
  --brand-gray: #333333;
  --brand-dark-gray: #444;
  --brand-white: #fff;
  --brand-medium-gray: #5b5b5b;
  --brand-light-gray: #ccc;
  --brand-xlight-gray: #eee;
  --brand-slate-333: #333;
  --brand-slate-555: #555;
  --brand-silver-888: #888;
  --brand-subfooter: #cfd0d2;

  /* Primary Button */
  --btn-primary-text: var(--brand-black);
  --btn-primary-bg: var(--brand-gold);
  --btn-primary-hover-bg: var(--brand-light-gold);
  --btn-primary-hover-text: var(--brand-black);

  /* Secondary Button */
  --btn-secondary-text: var(--brand-white);
  --btn-secondary-bg: var(--brand-blue);
  --btn-secondary-hover-text: var(--brand-white);
  --btn-secondary-hover-bg: var(--brand-light-blue);

  /* Tertiary Button */
  --btn-tertiary-text: var(--brand-white);
  --btn-tertiary-bg: var(--brand-green);
  --btn-tertiary-hover-text: var(--brand-white);
  --btn-tertiary-hover-bg: var(--brand-light-green);

  /* Link Button */
  --btn-link-text: var(--brand-black);
  --btn-link-border: var(--brand-black);
  --btn-link-icon: var(--brand-black);
  --btn-link-hover-text: var(--brand-light-gray);
  --btn-link-hover-border: var(--brand-light-gray);
  --btn-link-hover-icon: var(--brand-light-gray);

  /* Main Navigation */
    --nav-subarrow-fill-mobile: var(--brand-white);
    --nav-subarrow-hover-fill-mobile: var(--brand-white);
    --nav-subarrow-fill: var(--brand-gray);
    --nav-subarrow-hover-fill: var(--brand-xlight-green);

  /* Footer */
  --footer-subfooter-link: var(--brand-subfooter);
  --footer-subfooter-link-hover: var(--brand-silver-888);
  --footer-link: var(--brand-white);
  --footer-link-hover: var(--brand-white);

  /* Utility Header */
  --utility-header-link: var(--brand-white);
  --utility-header-link-hover: var(--brand-white);

  /* Back to Top */
  --backtotop-bg: var(--brand-gold);
  --backtotop-hover-bg: var(--brand-blue);
  --backtotop-icon-fill: var(--brand-black);
  --backtotop-icon-hover-fill: var(--brand-white);
}

/* Global */
/* .subhead {
    padding-bottom: 1rem !important;
} */

.h1-heading,
.h2-heading,
.h3-heading,
.h4-heading,
.h5-heading,
.h6-heading {
/*	padding-top: 1rem !important; */
/*     padding-bottom: 1rem !important; */
}

.header-accent {
    font-weight: 200;
}

.secondary {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.accent {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header h1 {}

/* Optional: Apply to remove underline on link(s) */
.link-no-underline {
	text-decoration: none !important;
}

/* Fix: This overrides the "Link Hover" setting under Settings > Typography.
   The behavior caused issues with social icon effects. */

a:hover {
	text-decoration: none !important;
}

/* Override Fix: Odd Elementor Box Shadow Issue on Loop*/
.elementor-element {
    box-shadow: none !important;
}

/* Elementor Editor Fix: Text box bottom gap */
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0px;
}

/* Custom Buttons: Implemented to override issues with buggy global styles */
.elementor-button {
    background-color: var(--btn-primary-bg) !important;
	color: var(--btn-primary-text) !important;
	border-radius: 50px !important;
	font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-decoration: none !important;
    text-transform: normal !important;
    font-size: 16px !important;
}

.elementor-button:hover {
    background-color: var(--btn-primary-hover-bg) !important;
    color: var(--btn-primary-hover-text) !important;
    text-decoration: none !important;
}

.elementor-button-icon {
	font-size: 16px;
}

#signup.elementor-button {
	background-color: var(--btn-secondary-bg) !important;
	color: var(--btn-secondary-text) !important;
}

#signup.elementor-button:hover {
    background-color: var(--btn-secondary-hover-bg) !important;
    color: var(--btn-secondary-hover-text) !important;
    text-decoration: none !important;
}

.btn-secondary a {
    color: var(--btn-secondary-text) !important;
    background-color: var(--btn-secondary-bg) !important;
}

.btn-secondary a:hover {
    color: var(--btn-secondary-hover-text) !important;
    background-color: var(--btn-secondary-hover-bg) !important;
}

.btn-tertiary a {
    color: var(--btn-tertiary-text) !important;
    background-color: var(--btn-tertiary-bg) !important;
}

.btn-tertiary a:hover {
    color: var(--btn-tertiary-hover-text) !important;
    background-color: var(--btn-tertiary-hover-bg) !important;
}

.btn-link .elementor-button-content-wrapper {
    border-bottom: 1px solid var(--btn-link-border) !important;
}

.btn-link .elementor-button-icon {
    fill: var(--btn-link-icon) !important;
}

.btn-link a {
    color: var(--btn-link-text) !important;
    background-color: transparent !important;
    text-transform: uppercase !important;
    padding: 0 !important;
}

.btn-link a:hover {
    color: var(--btn-link-hover-text) !important;
    background-color: transparent !important;
}

.btn-link a:hover .elementor-button-icon {
    fill: var(--btn-link-hover-icon) !important;
}

.btn-link a:hover .elementor-button-content-wrapper {
    border-bottom: 1px solid var(--btn-link-hover-border) !important;
}

/* Main Navigation */
/* Mobile (default) */
.sub-arrow svg {
    fill: var(--nav-subarrow-fill-mobile);
}

.menu-item:hover .sub-arrow svg {
    fill: var(--nav-subarrow-hover-fill-mobile);
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .sub-arrow svg {
        fill: var(--nav-subarrow-fill);
    }
	
    .menu-item:hover .sub-arrow svg {
        fill: var(--nav-subarrow-hover-fill);
    }
}

/* Footer */
.subfooter a {
    font-size: 12px;
    color: var(--footer-subfooter-link);
}

.subfooter a:hover {
    color: var(--footer-subfooter-link-hover);
}

/* Footer Link Overrides */
.footer-link a {
    color: var(--footer-link) !important;
}

.footer-link a:hover {
    color: var(--footer-link-hover) !important;
}

/* Remove icons on mobile navigation */
@media (max-width: 767px) {
    .main-footer .elementor-icon-list-item .elementor-icon-list-icon {
     /*   display: none; */
    }
}

/* Utility Header Link Overrides */
.utility-header-link a {
    color: var(--utility-header-link) !important;
}

.utility-header-link a:hover {
    color: var(--utility-header-link-hover) !important;
}

/* Back to Top */
#back-to-top {
	position: fixed;
	bottom: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	background-color: var(--backtotop-bg);
	border-radius: 50%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	text-decoration: none;
	transition: background-color 0.3s;
	font-size: 24px;
}

#back-to-top svg {
	width: 24px;
	height: 24px;
	fill: var(--backtotop-icon-fill);
}

#back-to-top:hover svg {
	width: 24px;
	height: 24px;
	fill: var(--backtotop-icon-hover-fill);
}

#back-to-top:hover {
	background-color: var(--backtotop-hover-bg);
}

/* Icon Emphasis: Reusable bounce animation for any icon */
.icon-bounce {
  display: inline-block;
  animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Form zoom fix on mobile */
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="file"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
input[type="checkbox"],
input[type="radio"],
input[type="image"],
input[type="button"],
input[type="submit"],
select:focus,
select,
textarea,
label,
button {
    font-size: 16px !important;
}


.trip-filters {
    display: flex;
    gap: 12px;
}

/* Base button */
.trip-filters .filter-btn {
    padding: 12px 26px;
    border: none;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #529889; /* default */
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Active button */
.trip-filters .filter-btn.active {
    background-color: #00464c;
}

/* Hover — subtle, no shape distortion */
.trip-filters .filter-btn:hover {
    background-color: #5fa79a; /* lighter version */
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-radius: 50px !important;
}

/* Icon base */
.trip-filters .filter-btn .icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Icons */
.trip-filters .filter-btn .bus-icon {
    background-image: url('https://onthego2dev.wpenginepowered.com/wp-content/uploads/2026/05/bus-icon.svg');
}

.trip-filters .filter-btn .cruise-icon {
    background-image: url('https://onthego2dev.wpenginepowered.com/wp-content/uploads/2026/05/cruise-icon.svg');
}

.trip-filters .filter-btn .fly-icon {
    background-image: url('https://onthego2dev.wpenginepowered.com/wp-content/uploads/2026/05/plane-icon.svg');
}

/* Wrapper (optional, but keeps layout consistent) */
#destination-select {
    width: 100%;
    max-width: 600px;
    padding: 10px 20px;
    font-size: 18px;
    color: #333;
    border: 1px solid #dcdcdc;
    border-radius: 50px !important;
    background-color: #ffffff;
    appearance: none; /* removes default browser arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Placeholder style (first option) */
#destination-select option[value=""] {
    color: #999;
}

/* Hover */
#destination-select:hover {
    border-color: #caa45f;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Focus */
#destination-select:focus {
    outline: none;
    border-color: #caa45f;
    box-shadow: 0 0 0 3px rgba(202,164,95,0.25);
}

/* Make dropdown match search field exactly */
#destination-select {
    background-color: #ffffff;      /* white background */
    border: 1px solid #dcdcdc;      /* light gray border */
    border-radius: 50px !important; /* pill shape */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #333;
}

/* Placeholder text */
#destination-select option[value=""] {
    color: #999;
}

/* Focus state (gold highlight like your search field) */
#destination-select:focus {
    outline: none;
    border-color: #caa45f;
    box-shadow: 0 0 0 3px rgba(202,164,95,0.25);
}

/* Open state (light gray background) */
#destination-select:active,
#destination-select:focus-visible {
    background-color: #f2f2f2;
}

/* ============================
   MOBILE RESPONSIVE (max 767px)
   ============================ */
@media (max-width: 767px) {

    /* Stack filter buttons vertically */
    .trip-filters {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    /* Make buttons full width */
    .trip-filters .filter-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
        gap: 8px;
    }

    /* Slightly smaller icons */
    .trip-filters .filter-btn .icon {
        width: 18px;
        height: 18px;
    }

    /* Dropdown full width + slightly smaller padding */
    #destination-select {
        max-width: 100%;
        width: 100%;
        padding: 14px 18px;
        font-size: 16px;
        background-position: right 16px center;
    }
}

/* ============================
   SMALL MOBILE (max 480px)
   ============================ */
@media (max-width: 480px) {

    .trip-filters .filter-btn {
        padding: 12px 18px;
        font-size: 14px;
        gap: 6px;
    }

    .trip-filters .filter-btn .icon {
        width: 16px;
        height: 16px;
    }

    #destination-select {
        padding: 12px 16px;
        font-size: 15px;
        background-position: right 14px center;
    }
}

/* ============================
   MOBILE FIX FOR SEARCH FIELD
   ============================ */
@media (max-width: 767px) {

    /* Make select full width and prevent squishing */
    #destination-select {
        width: 100%;
        max-width: 100%;
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 50px;
        background-position: right 16px center;
    }
}

/* ============================
   SMALL MOBILE (max 480px)
   ============================ */
@media (max-width: 480px) {

    #destination-select {
        padding: 12px 16px;
        font-size: 15px;
        background-position: right 14px center;
    }
}

#staggered-carousel .swiper-slide:nth-child(even) {
  transform: translateY(15px);
}

#staggered-carousel .swiper-slide:nth-child(odd) {
  transform: translateY(25px);
}

#staggered-carousel .swiper-slide {
  transition: transform .3s ease;
}

@media (max-width: 767px) {
  #staggered-carousel .swiper-slide {
    transform: none;
  }
}

selector .swiper-slide {
  height: auto !important;
  overflow: visible !important;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  padding-bottom: 14px;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1.4;
}

/* ✔ Checkmark */
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #333333;
  font-weight: bold;
  font-size: 16px;
}

/* Divider under every item, including under the checkmark */
.checklist li::after {
  content: "";
  display: block;
  width: calc(100% + 28px); /* extend under checkmark */
  margin-left: -28px;
  margin-top: 14px;

  border-bottom: 1px dashed #CCCCCC; /* dashed divider */
  height: 0; /* ensures only the border shows */
}

/* Homepage: Trips filter section */

.filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  appearance: none;
  cursor: pointer;
}

.elementor-column .elementor-widget-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .elementor-inner-section .elementor-column {
    width: 100% !important;
    margin-bottom: 15px;
  }
}

.trip-card {
  transition: opacity .3s ease, transform .3s ease;
}

.trip-card[style*="display: none"] {
  opacity: 0;
  transform: scale(.98);
}

/* Homepage: Trip Search Wrapper */
.trip-search-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

#trip-search-dropdown {
    flex: 1;
    height: 48px;
    padding: 0 185px 0 42px;
    border: 2px solid #d9d9d9;
    border-radius: 999px;
    background-color: #ffffff;
    font-size: 28px;
    font-weight: 400;
    color: #444444;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23999999' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 32px center;
    background-size: 32px;
}

#trip-search-dropdown:focus {
    border-color: #cfcfcf;
}

#trip-search-button {
    height: 48px;
    min-width: 160px;
    padding: 0 42px !important;
    border: none;
    border-radius: 999px;
    background: #cc8a1f;
    color: #000000;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    line-height: 1;
    transition: all 0.2s ease;
}

#trip-search-button::after {
    content: "→";
    font-size: 24px;
    line-height: 1;
}

@media (max-width: 768px) {

    .trip-search-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    #trip-search-dropdown {
        width: 100%;
        height: 72px;
        font-size: 22px;
        padding-left: 26px;
        padding-right: 70px;
    }

    #trip-search-button {
        width: 100%;
        min-width: unset;
        height: 68px;
        font-size: 24px;
    }
}

/* Trip Page: Search */

.trip-search-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
}

.trip-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.trip-filter-label {
    display: block;
    padding-left: 8px;
    color: #333333;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.2;
}

#trip-type,
#trip-price,
#trip-departure {
    width: 100%;
    height: 52px;
    padding: 0 58px 0 22px;
    border: 2px solid #d9d9d9;
    border-radius: 999px;
    background-color: #ffffff;
    color: #444444;
    font-size: 17px;
    font-weight: 400;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23999999' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 22px;
}

#trip-type:focus,
#trip-price:focus,
#trip-departure:focus {
    border-color: #cfcfcf;
}

#trip-price:disabled,
#trip-departure:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: #f7f7f7;
}

.trip-filter-button-group {
    display: flex;
    align-items: flex-end;
}

#trip-search-btn {
    height: 52px;
    min-width: 170px;
    padding: 0 28px !important;
    border: none;
    border-radius: 999px;
    background: #cc8a1f;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1;
    transition: all 0.2s ease;
}

#trip-search-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.08);
}

#trip-search-btn::after {
    content: "→";
    font-size: 20px !important;
    line-height: 1;
}

@media (max-width: 768px) {
    .trip-search-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .trip-filter-group {
        width: 100%;
    }

    #trip-type,
    #trip-price,
    #trip-departure {
        width: 100%;
        height: 54px;
        padding-left: 20px;
        padding-right: 58px;
        font-size: 16px;
    }

    #trip-search-btn {
        width: 100%;
        min-width: unset;
        height: 54px;
        font-size: 18px;
    }

}

/* Itinerary */
.itinerary-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  width: 100%;
  padding: 0 6px;
}

.itinerary-slider {
  display: flex;
  align-items: stretch;
  gap: 19px;
  width: 100%;
  padding: 20px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.itinerary-slider::-webkit-scrollbar {
  display: none;
}

.itinerary-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
}

.itinerary-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #d9cfbe;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.itinerary-card-inner:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08);
}

.itinerary-title {
  margin: 0 0 20px;
  font-size: 35px !important;
  line-height: 1;
  font-weight: 800;
  color: #000000;
}

.itinerary-view-btn {
  border: none;
  background: transparent !important;
  padding: 0;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000000 !important;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  text-transform: uppercase;
}

.itinerary-view-btn:hover {
  opacity: 0.7;
  background-color: transparent !important;
}

.itinerary-arrow {
  width: 29px;
  height: 29px;
  border: none;
  background: transparent !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.itinerary-arrow svg {
  width: 32px !important;
  height: 32px !important;
  display: block;
}

.itinerary-prev svg {
  transform: rotate(180deg);
}

.itinerary-arrow path {
  transition:
    fill 0.2s ease,
    opacity 0.2s ease;
}

.itinerary-arrow:hover {
  opacity: 0.9;
  background-color: transparent !important;
}

.itinerary-arrow:hover path {
  fill: #aed6e7 !important;
}

.itinerary-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.itinerary-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.itinerary-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
}

.itinerary-modal-content {
  position: relative;
  z-index: 2;
  width: min(920px, 92%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.itinerary-modal-close {
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  background: transparent;
  font-size: 22px !important;
  line-height: 1;
  color: #000000 !important;
  cursor: pointer;
  transition: opacity 0.2s ease;
  padding: 10px !important;
}

.itinerary-modal-close:hover {
  opacity: 0.6;
  color: #777 !important;
  background-color: transparent !important;
}

.itinerary-modal-image {
  margin-bottom: 25px;
}

.itinerary-modal-image img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.itinerary-modal-body h2 {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  color: #000000;
}

.itinerary-details {
  font-size: 18px;
  line-height: 1.8;
  color: #333333;
}

.itinerary-details p:last-child {
  margin-bottom: 0;
}

.itinerary-details ul,
.itinerary-details ol {
  padding-left: 24px;
}

.itinerary-details li {
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .itinerary-card {
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

@media (max-width: 768px) {
  .itinerary-slider-wrapper {
    gap: 0;
    padding: 0;
  }

  .itinerary-slider {
    gap: 19px;
    padding: 16px 0;
  }

  .itinerary-card {
    flex: 0 0 calc((100% - 18px) / 2);
  }

  .itinerary-card-inner {
    border-radius: 22px;
    padding: 22px;
  }

  .itinerary-title {
    font-size: 32px !important;
  }

  .itinerary-view-btn {
    font-size: 15px !important;
  }

  .itinerary-arrow {
    width: 38px;
    height: 38px;
  }

  .itinerary-arrow svg {
    width: 30px !important;
    height: 30px !important;
  }

  .itinerary-modal-content {
    width: 94%;
    padding: 22px;
  }

  .itinerary-modal-body h2 {
    font-size: 20px;
  }

  .itinerary-details {
    font-size: 16px;
  }
}

/* Base badge styling */
.acf-badge {
  display: inline-block;      /* shrink to content */
  padding: 6px 10px;
  border-radius: 5px;
  color: #fff;
  text-transform: none;      
  letter-spacing: 0.3px;
  line-height: 1.2;
  }

/* Badge Colors Based on Text */
.acf-badge:contains("Almost Sold Out") {
  background-color: #d56905;
}

.acf-badge:contains("Sold Out") {
  background-color: #9e3228;
}

.acf-badge:contains("Popular") {
  background-color: #435697;
}

.acf-badge:contains("Limited Availability") {
  background-color: #2b6368;
}

/* Trip Dates */
.trip-date-range {
  font-size: 16px;
  font-weight: 500;
}

.trip-date-range-on-page .trip-date-range{
  font-size: 16px;
  font-weight: 600;
}