.footer__subscription-input {

    color: black;
}

/* standard typographic scale for raw content pages (TOS, privacy policy, etc.) */
.about__info h1 {
    font-size: 1.75rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #0E172A;
    margin: 0 0 1.25rem;
}

.about__info h2 {
    font-size: 1.375rem;
    line-height: 1.875rem;
    font-weight: 600;
    color: #0E172A;
    margin: 2rem 0 .75rem;
}

.about__info h3 {
    font-size: 1.125rem;
    line-height: 1.625rem;
    font-weight: 600;
    color: #0E172A;
    margin: 1.5rem 0 .5rem;
}

.about__info h4,
.about__info h5,
.about__info h6 {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #0E172A;
    margin: 1.25rem 0 .5rem;
}

.about__info p {
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 400;
    color: #4B5768;
    margin: 0 0 1rem;
}

.about__info span {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.about__info strong,
.about__info b {
    font-weight: 600;
    color: #0E172A;
}

.about__info a {
    color: #203D4F;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s ease;
}

.about__info a:hover {
    color: #2E5670;
}

.about__info ul,
.about__info ol {
    margin: 0 0 1rem;
    padding-right: 1.5rem;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.about__info li {
    font-size: 1rem;
    line-height: 1.9;
    color: #4B5768;
}

.about__info h1:first-child,
.about__info h2:first-child {
    margin-top: 0;
}
.slider-round .noUi-handle {
  left: -9px !important;
  right: auto !important;
}

.hero__bg {
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 0;
}

/* darken banner so hero text stays legible over the photo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 20, 30, .55) 0%, rgba(10, 20, 30, .25) 45%, rgba(10, 20, 30, .6) 100%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__title,
.hero__title b {
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

.hero__description {
    color: #f1f2f5 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}

/* mobile: hero has no fixed height by default, give the banner room to breathe
   and let the search card sit in normal flow, below the text, not overlapping it */
.hero {
    min-height: 640px;
    padding-bottom: 2rem;
}

.hero__container:has(.hero__search) {
    margin-top: 1.5rem !important;
}

/* desktop: hero has a fixed height, so pin the search card to the bottom of it
   instead of leaving it floating mid-height under the title */
@media (min-width: 1024px) {
    .hero__container:has(.hero__search) {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 2.5rem;
        margin-top: 0 !important;
        z-index: 3;
    }
}

/* search card: separate it visually from the busy background photo */
.hero__search {
    background: rgba(255, 255, 255, .98) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 28px !important;
    padding: 2rem 2.25rem !important;
    box-shadow: 0 24px 60px -12px rgba(8, 15, 25, .45), 0 0 0 1px rgba(8, 15, 25, .04);
}

.hero__search-title {
    color: #0E172A !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    margin-bottom: .25rem;
}

.hero__form .select.white {
    border: 1px solid #E7EAF0 !important;
    box-shadow: 0 2px 6px rgba(14, 23, 42, .05);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.hero__form .select.white:hover {
    border-color: #C9D0DC !important;
}

.hero__form .select.white:focus-within {
    border-color: #203D4F !important;
    box-shadow: 0 4px 16px rgba(32, 61, 79, .18);
}

.hero__button {
    background: linear-gradient(135deg, #203D4F 0%, #2E5670 100%) !important;
    box-shadow: 0 10px 24px -6px rgba(32, 61, 79, .55);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.hero__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -6px rgba(32, 61, 79, .65);
    filter: brightness(1.05);
}

.hero__button:active {
    transform: translateY(0);
}

@media (max-width: 1023px) {
    .hero__search {
        padding: 1.5rem 1.25rem !important;
        border-radius: 20px !important;
    }

    .hero__form {
        gap: .75rem !important;
    }

    .hero__form .select.white {
        width: 100%;
    }

    .hero__button {
        margin-top: .25rem;
    }

    .features {
        display: none !important;
    }

    /* tours sliders: 2 cards per row, capped at 5 rows (10 cards), instead of
       one full-width card per swipe. loop is disabled on mobile (see home.js)
       so the wrapper only contains the real slides, in template order. */
    .swiper-tours {
        overflow: visible !important;
    }

    .swiper-tours .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: .75rem !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .swiper-tours .swiper-wrapper .swiper-slide {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    .swiper-tours .swiper-wrapper .swiper-slide:nth-child(n+11) {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .hero {
        min-height: 580px;
    }

    .hero__title {
        font-size: 1.25rem !important;
        line-height: 1.75rem !important;
    }

    .hero__search {
        padding: 1.25rem 1rem !important;
    }
}