/* Home and Flights only. Loaded after the existing theme; form hooks stay intact. */
body.wb-reference-theme {
    --primary: #00aeb5;
    --secondary: #122452;
    --gold: #ffc247;
    --bs-primary: #00888f;
    background: #fff;
    color: #172d50;
    font-family: Inter, Arial, sans-serif
}

body.wb-reference-theme .container {
    max-width: 1320px
}

body.wb-reference-theme .wandererbuddy-site-header {
    position: relative;
    background: #fff;
    box-shadow: none;
    border: 0
}

.wb-topbar {
    background: #00aeb5;
    color: #fff;
    padding: 11px 0;
    font-size: 14px
}

.wb-topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 16px
}

.wb-topbar a {
    color: #fff;
    text-decoration: none
}

.wb-topbar i {
    margin-right: 7px
}

.wb-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    gap: 20px
}

.wb-wordmark {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #122452;
    font-weight: 900;
    font-size: 29px;
    line-height: .96;
    letter-spacing: -1px
}

.wb-wordmark i {
    font-size: 45px;
    color: #00aeb5;
    transform: rotate(-25deg)
}

.wb-call {
    display: grid;
    text-align: right;
    gap: 5px
}

.wb-call small {
    font-size: 12px
}

.wb-call a {
    color: #008d96;
    text-decoration: none;
    font-size: 27px
}

.wb-navigation {
    border-block: 1px solid #edf0f2
}

.wb-navigation .container {
    display: flex;
    flex-wrap: wrap
}

.wb-navigation a {
    padding: 16px 20px;
    border-inline-start: 1px solid #edf0f2;
    color: #122452;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none
}

.wb-navigation a:hover,
.wb-navigation a[aria-current] {
    color: #007e85;
    background: #f0fbfb
}

body.wb-reference-theme .wb-hero {
    position: relative;
    padding: 54px 0 64px;
    background: #162446 url('../../images/globals/bgimg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    overflow: visible;
    z-index: 3
}

.wb-hero h1 {
    font: 700 clamp(34px, 4vw, 58px)/1.15 Georgia, serif;
    text-align: center;
    color: #fff;
    margin: 0 0 24px
}

.wb-hero>.container>p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 850px;
    color: #fff
}

.wb-search-surface {
    position: relative;
    text-align: left
}

body.wb-reference-theme .wandererbuddy-search-card {
    background: #fff;
    border: 0;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 10px 30px #091b3022;
    color: #172d50;
    overflow: visible
}

body.wb-reference-theme .wandererbuddy-trip-tab {
    border-radius: 4px;
    color: #17315a;
    background: #f1f6f7;
    box-shadow: none
}

body.wb-reference-theme .wandererbuddy-trip-tab.active {
    background: #00858c;
    color: #fff;
    border-color: #00858c
}

body.wb-reference-theme .wandererbuddy-inline-field {
    background: white;
    /* border: 1px solid #d9dfe5; */
    /* border-radius: 5px; */
    padding: 0px 11px;
    min-width: 0
}

body.wb-reference-theme .wandererbuddy-inline-field label {
    color: #40516a
}

body.wb-reference-theme .wandererbuddy-field-input input {
    color: #122452;
    min-width: 0
}

body.wb-reference-theme .wandererbuddy-btn-search,
body.wb-reference-theme .wandererbuddy-swap-btn {
    background: #ffc247 !important;
    color: #122452 !important;
    border-color: #ffc247 !important;
    box-shadow: none
}

body.wb-reference-theme .wandererbuddy-inline-search-btn {
    padding-top: 0;
    align-self: stretch
}

body.wb-reference-theme .wandererbuddy-inline-search-btn .wandererbuddy-btn-search {
    min-height: 50px;
    height: 100%;
    border-radius: 5px;
    margin-top: 10px
}

body.wb-reference-theme .ota-quick-chip {
    background: #eff8f8;
    color: #126b73;
    border-color: #d2e9e9
}

body.wb-reference-theme .ota-quick-selects {
    margin-bottom: 14px
}

.wb-section {
    padding-top: 76px;
    padding-bottom: 32px
}

.wb-intro,
.wb-about {
    display: grid;
    grid-template-columns: .9fr 1.35fr;
    gap: 70px;
    align-items: center
}

.wb-about {
    grid-template-columns: 1.2fr 1fr;
    padding-top: 68px
}

.wb-landing h2 {
    font: 400 clamp(30px, 3.1vw, 46px)/1.2 Georgia, serif;
    color: #122452;
    margin: 0 0 30px
}

.wb-landing h3 {
    font: 600 23px/1.3 Georgia, serif;
    color: #122452;
    margin: 22px 0 6px
}

.wb-landing p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5b72;
    margin-bottom: 17px
}

.wb-eyebrow {
    display: block;
    color: #00868e;
    font-size: 13px;
    letter-spacing: .08em;
    margin-bottom: 20px
}

.wb-collage {
    position: relative;
    padding: 0 90px 35px 0;
    min-width: 0
}

.wb-collage img {
    display: block;
    object-fit: cover;
    border-radius: 5px;
    width: 100%;
    height: 490px
}

.wb-collage img+img {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 55%;
    height: 295px;
    border: 6px solid #fff
}

.wb-collage-reverse {
    padding: 0 0 75px 105px
}

.wb-collage-reverse img {
    height: 410px
}

.wb-collage-reverse img+img {
    left: 0;
    right: auto;
    bottom: 0;
    height: 320px;
    width: 62%
}

.wb-faq {
    padding-bottom: 95px;
    position: relative;
    background: radial-gradient(circle at 95% 100%, #f6f7f8 0 230px, transparent 231px)
}

.wb-faq h2 {
    text-align: center;
    margin-bottom: 42px
}

.wb-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start
}

.wb-faq details {
    background: #f0f1f2;
    border: 1px solid #dedfe2;
    border-radius: 3px
}

.wb-faq summary {
    cursor: pointer;
    padding: 17px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #122452
}

.wb-faq details p {
    padding: 0 20px 15px;
    font-size: 14px;
    margin: 0
}

.wb-faq details[open] {
    background: #f0fafa;
    border-color: #96d3d5
}

body.wb-reference-theme .wandererbuddy-site-footer {
    background: #122452;
    color: #fff;
    border-top: 0
}

body.wb-reference-theme .wandererbuddy-site-footer a {
    color: #cedbec
}

body.wb-reference-theme .wandererbuddy-site-footer h3,
body.wb-reference-theme .wandererbuddy-site-footer h4 {
    color: #fff;
    font-family: Georgia, serif
}

body.wb-reference-theme .wandererbuddy-footer-logo {
    background: #fff;
    border-radius: 4px;
    padding: 8px
}

body.wb-reference-theme .wandererbuddy-sr-page {
    --primary: #00858c;
    --gold: #ffc247
}

body.wb-reference-theme .wandererbuddy-sr-search-bar,
body.wb-reference-theme .wandererbuddy-success-hero {
    background: #122452;
    color: white
}

body.wb-reference-theme .btn-primary {
    --bs-btn-bg: #00858c;
    --bs-btn-border-color: #00858c;
    --bs-btn-hover-bg: #006b71;
    --bs-btn-hover-border-color: #006b71;
    background: #00858c;
    border-color: #00858c;
    color: #fff
}

body.wb-reference-theme :is(.wandererbuddy-sr-modify-btn, .wandererbuddy-mobile-filter-btn) {
    background: #e8f7f7;
    color: #006e75;
    border-color: #9dd6d8
}

body.wb-reference-theme :is(input, select, textarea):focus {
    outline: 2px solid #00858c;
    outline-offset: 2px
}

body.wb-reference-theme a:focus-visible,
body.wb-reference-theme button:focus-visible,
body.wb-reference-theme summary:focus-visible {
    outline: 3px solid #00858c;
    outline-offset: 3px
}

@media(min-width:1200px) {
    body.wb-reference-theme .wandererbuddy-search-inline-wrap {
        grid-template-columns: minmax(130px, 1.2fr) 30px minmax(130px, 1.2fr) minmax(110px, .9fr) minmax(110px, .9fr) minmax(140px, 1.1fr) minmax(150px, 1fr) !important;
        align-items: stretch;
        gap: 12px
    }
}

@media(max-width:991px) {

    .wb-intro,
    .wb-about {
        gap: 35px;
        grid-template-columns: 1fr 1fr
    }

    .wb-collage {
        padding-right: 45px
    }

    .wb-collage img {
        height: 390px
    }

    .wb-collage img+img {
        height: 230px
    }

    .wb-collage-reverse {
        padding: 0 0 50px 50px
    }

    .wb-brand-row {
        min-height: 110px
    }

    .wb-hero h1 {
        font-size: 42px
    }
}

@media(max-width:767px) {
    .wb-topbar .container>span {
        display: none
    }

    .wb-brand-row {
        min-height: 96px
    }

    .wb-wordmark {
        font-size: 23px
    }

    .wb-wordmark i {
        font-size: 30px
    }

    .wb-call a {
        font-size: 17px
    }

    .wb-call small {
        font-size: 10px
    }

    .wb-navigation a {
        padding: 13px 16px
    }

    .wb-intro,
    .wb-about {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .wb-about>div:first-child {
        order: 2
    }

    .wb-collage {
        max-width: 480px;
        width: 100%;
        margin: auto
    }

    .wb-section {
        padding-top: 46px
    }

    .wb-landing h2 {
        margin-bottom: 22px
    }

    .wb-hero h1 {
        font-size: 35px
    }

    body.wb-reference-theme .wb-hero {
        padding: 36px 0
    }

    .wb-hero>.container>p {
        font-size: 16px
    }

    .wb-faq-grid {
        grid-template-columns: 1fr
    }

    .wb-faq {
        padding-bottom: 52px
    }

    body.wb-reference-theme .wandererbuddy-search-card {
        padding: 15px
    }

    .wb-collage-reverse img {
        height: 340px
    }
}

@media(prefers-reduced-motion:reduce) {
    body.wb-reference-theme * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }
}

body.wb-reference-theme {
    --navy: #122452;
    --navy-700: #19325f;
    --navy-600: #20406c;
    --royal: #00858c;
    --royal-hover: #006b71;
    --royal-light: #e8f7f7;
    --royal-border: #9dd6d8;
    --sky: #00aeb5;
    --sky-light: #e8f7f7;
    --sky-deep: #007e85;
    --accent: #00858c;
    --accent-hover: #006b71;
    --accent-light: #e8f7f7;
    --accent-border: #9dd6d8;
    --shadow-royal: 0 10px 24px rgba(0, 133, 140, .15);
    --shadow-focus: 0 0 0 4px rgba(0, 133, 140, .18)
}

body.wb-reference-theme .wb-footer-wordmark {
    color: white;
    font-size: 26px
}