/* BAJ Stays look: the guest site's header and footer on every page, and the home page (main.st-page). */

.st-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.st-header {
    background: #111111;
    color: #ffffff;
}

.st-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.st-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #ffffff;
    font: 800 26px 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -.5px;
    text-decoration: none;
}

.st-brand:hover {
    color: #ffffff;
}

.st-brand-small {
    min-height: 0;
    font-size: 18px;
}

.st-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.st-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 11px;
    border-bottom: 3px solid transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.st-nav a:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, .4);
}

.st-nav a[aria-current="page"] {
    border-bottom-color: #FFB020;
}

.st-nav .st-nav-app {
    margin-left: 6px;
    padding: 0 18px;
    border-bottom: 0;
    border-radius: 10px;
    background: #ffffff;
    color: #111111;
    font-weight: 800;
}

.st-nav .st-nav-app:hover {
    color: #111111;
    background: #F3F6F9;
}

.st-nav a:focus-visible,
.st-footer a:focus-visible,
.st-page a:focus-visible,
.st-page button:focus-visible {
    outline: 3px solid #FFB020;
    outline-offset: 2px;
}

/* Footer */
.st-footer {
    margin-top: auto;
    background: #111111;
    color: #ffffff;
}

.st-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 26px;
    padding-bottom: 26px;
    font-size: 15px;
}

.st-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.st-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.st-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: #ffffff;
}

.st-footer-links a:hover {
    color: #FFB020;
}

/* Home page */
.st-page {
    flex: 1 0 auto;
    width: 100%;
    background: #ffffff;
    color: #111111;
}

.st-page *,
.st-page *::before,
.st-page *::after {
    box-sizing: border-box;
}

.st-page ul,
.st-page ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.st-page a {
    color: #0057B8;
}

.st-page a:hover {
    color: #003F86;
}

.st-block {
    padding-top: 60px;
}

.st-block-tight {
    padding-top: 22px;
}

.st-h2 {
    margin: 0;
    color: #111111;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.6px;
}

.st-h2-small {
    font-size: 22px;
}

.st-h2-spaced {
    margin-bottom: 18px;
}

.st-sub {
    max-width: 760px;
    margin: 6px 0 0;
    color: #4A5B6E;
    font-size: 16px;
    line-height: 1.55;
}

.st-muted {
    color: #4A5B6E;
    font-size: 14px;
}

.st-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.st-page .st-more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
    text-decoration: none;
}

.st-photo-empty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    border-radius: inherit;
    background: #E6EDF5;
    color: #4A5B6E;
    font-weight: 800;
}

/* Hero */
.st-hero {
    position: relative;
    overflow: hidden;
    background: #111111;
    color: #ffffff;
}

.st-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .42;
}

.st-hero-inner {
    position: relative;
    padding-top: 36px;
    padding-bottom: 56px;
}

.st-crumbs {
    color: #E6EDF5;
    font-size: 14px;
}

.st-page .st-crumbs a {
    color: #ffffff;
}

.st-hero h1 {
    max-width: 920px;
    margin: 22px 0 10px;
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -1.6px;
}

.st-hero-lead {
    max-width: 760px;
    margin: 0 0 24px;
    color: #E6EDF5;
    font-size: 19px;
    line-height: 1.5;
}

/* The shared search form, drawn as the yellow bar. */
.st-search .search-panel {
    gap: 6px;
    padding: 6px;
    border: 0;
    border-radius: 16px;
    background: #FFB020;
    box-shadow: none;
    grid-template-columns: minmax(210px, 1.5fr) minmax(140px, .8fr) minmax(140px, .8fr) minmax(220px, 1.2fr) auto;
}

.st-search .search-field {
    min-height: 62px;
    padding: 8px 16px;
    border: 0;
    border-radius: 11px;
    background: #ffffff;
    color: #111111;
}

.st-search .search-field > span {
    color: #4A5B6E;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}

.st-search .search-button {
    min-height: 62px;
    align-self: stretch;
    padding: 0 30px;
    border-radius: 11px;
    background: #0057B8;
    color: #ffffff;
    font: 800 18px 'Plus Jakarta Sans', sans-serif;
}

.st-search .search-button:hover {
    background: #003F86;
}

.st-hero .search-message {
    margin-top: 12px;
    color: #ffffff;
}

.st-hero-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.st-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.st-add input {
    width: 18px;
    height: 18px;
    accent-color: #FFB020;
}

/* App banner */
.st-app {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 20px 26px;
    border: 1px solid #DDE3EA;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, .08);
}

.st-app-text {
    flex: 999 1 380px;
    min-width: 0;
}

.st-app-text p {
    margin: 6px 0 0;
    color: #33465A;
    font-size: 15px;
    line-height: 1.55;
}

.st-app-stores {
    flex: 1 1 220px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-page .st-store {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.st-page .st-store:hover {
    color: #ffffff;
    background: #33465A;
}

/* Trust strip */
.st-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.st-trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #F3F6F9;
    color: #4A5B6E;
    font-size: 14px;
}

.st-trust svg {
    flex: 0 0 auto;
}

.st-trust b {
    display: block;
    color: #111111;
    font-size: 15px;
}

/* Destinations */
.st-dest {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.st-page .st-dest-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #111111;
    text-decoration: none;
}

.st-dest-card img,
.st-dest-card .st-photo-empty {
    display: block;
    width: 100%;
    height: 170px;
    border-radius: 14px;
    object-fit: cover;
}

.st-dest-card strong {
    display: block;
    font-size: 17px;
}

.st-dest-card span span {
    color: #4A5B6E;
    font-size: 14px;
}

/* Types */
.st-types {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.st-types li {
    flex: 0 0 170px;
}

.st-page .st-type {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #111111;
    font-size: 16px;
    text-decoration: none;
}

.st-type img,
.st-type .st-photo-empty {
    display: block;
    width: 100%;
    height: 120px;
    border-radius: 14px;
    object-fit: cover;
}

/* City chips and stay cards */
.st-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.st-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1.5px solid #C9D3DE;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font: 700 15px 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
}

.st-chip[aria-pressed="true"] {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.st-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

.st-page .st-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #DDE3EA;
    border-radius: 16px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
}

.st-page .st-card:hover {
    color: #111111;
    box-shadow: 0 12px 32px rgba(17, 17, 17, .08);
}

.st-card-photo {
    position: relative;
    display: block;
    height: 190px;
}

.st-card-photo img,
.st-card-photo .st-photo-empty {
    display: block;
    width: 100%;
    height: 190px;
    border-radius: 0;
    object-fit: cover;
}

.st-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.st-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}

.st-card-title {
    font-size: 17px;
}

/*
 * Cards in a row line up: the name takes two lines at most (a longer one ends in "…"), the detail line one,
 * and the facts one row (facts that do not fit are left off). So no card is taller than the rest and the
 * prices sit level without a gap above them.
 */
.st-cards .st-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
    line-height: 1.3;
}

.st-cards .st-card-body > .st-muted {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-cards .st-facts {
    height: 26px;
    overflow: hidden;
}

.st-cards .st-fact {
    height: 26px;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
}

.st-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.st-score-badge {
    padding: 3px 8px;
    border-radius: 8px 8px 8px 2px;
    background: #111111;
    color: #ffffff;
}

.st-card-price {
    margin-top: auto;
    padding-top: 8px;
    color: #4A5B6E;
    font-size: 14px;
}

.st-card-price b {
    color: #111111;
    font-size: 19px;
}

/* How it works */
.st-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.st-steps li {
    padding: 22px;
    border: 1px solid #DDE3EA;
    border-radius: 18px;
}

.st-step-no {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFB020;
}

.st-steps strong {
    display: block;
    margin-top: 12px;
    font-size: 18px;
}

.st-steps span {
    display: block;
    margin-top: 6px;
    color: #33465A;
    font-size: 15px;
    line-height: 1.55;
}

/* List your property */
.st-partner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    align-items: center;
    gap: 28px;
    padding: 34px;
    border-radius: 22px;
    background: #111111;
    color: #ffffff;
}

.st-partner-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-partner .st-h2 {
    color: #ffffff;
}

.st-partner p {
    margin: 0;
    color: #D5DFEA;
    font-size: 16px;
    line-height: 1.65;
}

.st-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: #FFB020;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.st-partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.st-page .st-partner-primary,
.st-page .st-partner-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
}

.st-page .st-partner-primary {
    background: #FFB020;
    color: #111111;
}

.st-page .st-partner-primary:hover {
    background: #FFC24D;
    color: #111111;
}

.st-page .st-partner-secondary {
    border: 1.5px solid rgba(255, 255, 255, .5);
    color: #ffffff;
}

.st-page .st-partner-secondary:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.st-partner img {
    display: block;
    width: 100%;
    height: 240px;
    border-radius: 16px;
    object-fit: cover;
}

/* FAQ */
.st-faq .st-h2 {
    margin-bottom: 10px;
}

.st-faq details {
    border-bottom: 1px solid #DDE3EA;
}

.st-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.st-faq summary::-webkit-details-marker {
    display: none;
}

.st-faq details[open] summary span {
    transform: rotate(45deg);
}

.st-faq p {
    max-width: 820px;
    margin: 0 0 18px;
    color: #33465A;
    font-size: 16px;
    line-height: 1.65;
}

.st-faq .st-faq-more {
    margin-top: 18px;
}

/* Link hub */
.st-explore {
    margin-top: 64px;
    padding: 48px 0;
    border-top: 1px solid #DDE3EA;
    background: #F3F6F9;
}

.st-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.st-links ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
}

.st-page .st-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: #33465A;
    font-size: 15px;
    text-decoration: none;
}

.st-page .st-links a:hover {
    color: #0057B8;
    text-decoration: underline;
}

/* App QR, airport chip, itinerary and getaways */
.st-app-qr {
    flex: 0 0 auto;
    display: block;
    width: 104px;
    height: 104px;
}

/* Key facts on stay, tour and transfer cards: length, pickup, cancellation, group size. */
.st-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.st-fact {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.st-fact svg {
    flex: 0 0 auto;
}

.st-fact-blue {
    background: #E8F1FB;
    color: #003F86;
}

.st-fact-green {
    background: #E6F4EF;
    color: #0B5E48;
}

.st-fact-amber {
    background: #FFF4DE;
    color: #7A4A00;
}

.st-fact-purple {
    background: #F1EBFD;
    color: #5B21B6;
}

.hotel-facts .st-facts {
    margin: 8px 0 0;
}

.st-plan {
    margin-top: 32px;
    padding: 28px;
    border: 1px solid #DDE3EA;
    border-radius: 20px;
    background: #ffffff;
}

.st-head-tight {
    margin-bottom: 18px;
}

.st-h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.st-sub-small {
    font-size: 15px;
}

.st-page .st-plan-cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.st-page .st-plan-cta:hover {
    background: #33465A;
    color: #ffffff;
}

.st-steps .st-plan-day {
    padding: 18px;
    border: 0;
    border-radius: 16px;
}

.st-plan-day-0 { background: #E8F1FB; }
.st-plan-day-1 { background: #FFF4DE; }
.st-plan-day-2 { background: #E6F4EF; }

.st-plan-day b {
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.st-plan-day p {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.55;
}

.st-gw {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    gap: 16px;
}

.st-page .st-gw-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 10px;
    border: 1px solid #DDE3EA;
    border-radius: 16px;
    color: #111111;
    text-decoration: none;
}

.st-page .st-gw-card:hover {
    color: #111111;
    box-shadow: 0 12px 32px rgba(17, 17, 17, .08);
}

.st-gw-card img,
.st-gw-card .st-photo-empty {
    display: block;
    width: 100%;
    height: 110px;
    min-height: 0;
    border-radius: 12px;
    object-fit: cover;
}

.st-gw-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.st-gw-body strong {
    font-size: 17px;
}

.st-gw-idea {
    color: #0B5E48;
    font-size: 13px;
    font-weight: 700;
}

/* BAJ tours and transfers near a stay: home city tabs, city pages and property pages */
.st-nearby {
    margin-top: 40px;
    border-radius: 22px;
    background: #F3F6F9;
}

.st-nearby-inner {
    padding: 36px 32px 40px;
}

.st-kicker {
    display: block;
    margin-bottom: 6px;
    color: #0057B8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.st-nearby-head {
    margin: 32px 0 16px;
}


.st-page .checkout-panel {
    width: min(100% - 48px, 1192px);
    margin: 24px auto 0;
}

@media (max-width: 1100px) {
    .st-search .search-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-search .search-city,
    .st-search .search-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .st-wrap {
        padding: 0 16px;
    }

    /* The site links scroll sideways instead of stacking into rows. */
    .st-nav {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .st-hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .st-hero-lead {
        font-size: 17px;
    }

    .st-h2 {
        font-size: 24px;
    }

    .st-block {
        padding-top: 44px;
    }

    .st-search .search-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-partner {
        padding: 24px;
    }

    .st-nearby-inner {
        padding: 26px 16px 30px;
    }
}

/* On the city page's list, a stay with no facts shows no empty row. */
.hotel-facts .st-facts:not(:has(.st-fact)) {
    display: none;
}
