/* ------------------------------------------------------------------
 * Expedia-inspired theme for the customer-facing (public) pages.
 * Scoped under .public-body so the staff back-office is unaffected.
 * ------------------------------------------------------------------ */

.public-body {
    --exp-navy:     #10163a;
    --exp-navy-2:   #212a5e;
    --exp-blue:     #1668e3;
    --exp-blue-dark:#0d51bd;
    --exp-yellow:   #ffc72c;
    --exp-ink:      #10151f;
    --exp-muted:    #5a6472;
    --exp-line:     #e2e7ee;
    --exp-bg:       #f3f5f8;

    background: var(--exp-bg);
    color: var(--exp-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Header ---------- */
.public-body .exp-header {
    background: #fff;
    border-bottom: 1px solid var(--exp-line);
    position: sticky; top: 0; z-index: 1030;
}
.public-body .exp-header .brand {
    font-weight: 800; font-size: 1.3rem; color: var(--exp-navy);
    text-decoration: none; letter-spacing: -.02em;
}
.public-body .exp-header .brand .dot { color: var(--exp-yellow); }
.public-body .exp-nav a {
    color: var(--exp-ink); text-decoration: none; font-weight: 600;
    font-size: .95rem; padding: .45rem .75rem; border-radius: .55rem;
}
.public-body .exp-nav a:hover { background: #eef2f8; }

/* ---------- Buttons ---------- */
.public-body .btn-exp {
    background: var(--exp-blue); border: none; color: #fff; font-weight: 700;
    border-radius: .6rem; padding: .6rem 1.25rem;
}
.public-body .btn-exp:hover { background: var(--exp-blue-dark); color: #fff; }
.public-body .btn-exp-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
.public-body .btn-exp-outline {
    background: #fff; border: 1.5px solid var(--exp-blue); color: var(--exp-blue);
    font-weight: 700; border-radius: .6rem; padding: .55rem 1.1rem;
}
.public-body .btn-exp-outline:hover { background: #eef4fe; color: var(--exp-blue-dark); }

/* ---------- Hero + search ---------- */
.public-body .exp-hero {
    background: radial-gradient(1200px 400px at 80% -10%, rgba(255,199,44,.25), transparent),
                linear-gradient(135deg, var(--exp-navy), var(--exp-navy-2));
    color: #fff; border-radius: 0 0 1.75rem 1.75rem;
    padding: 2.75rem 0 5rem;
}
.public-body .exp-hero h1 { font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.public-body .exp-hero p { color: #cdd6ea; }

.public-body .exp-searchbar {
    background: #fff; border-radius: 1rem; box-shadow: 0 16px 44px rgba(9,14,40,.22);
    padding: .75rem; margin-top: -3.25rem; position: relative; z-index: 5;
}
.public-body .exp-field {
    border: 1px solid var(--exp-line); border-radius: .7rem; padding: .35rem .75rem;
}
.public-body .exp-field label {
    display: block; font-size: .68rem; text-transform: uppercase;
    letter-spacing: .04em; color: var(--exp-muted); font-weight: 700; margin: 0;
}
.public-body .exp-field input,
.public-body .exp-field select {
    border: none; outline: none; width: 100%; background: transparent;
    font-weight: 600; color: var(--exp-ink); padding: .1rem 0;
}
.public-body .exp-field input::placeholder { color: #9aa4b2; font-weight: 500; }

/* ---------- Result ("deal") cards ---------- */
.public-body .exp-card {
    background: #fff; border: 1px solid var(--exp-line); border-radius: 1rem;
    overflow: hidden; transition: box-shadow .15s ease, transform .15s ease;
}
.public-body .exp-card:hover { box-shadow: 0 12px 32px rgba(9,14,40,.14); transform: translateY(-2px); }

.public-body .exp-thumb {
    min-height: 190px; position: relative; color: #fff;
    display: flex; align-items: flex-end; padding: .9rem;
}
/* Fill the column height only in the horizontal (browse) layout. */
.public-body .exp-thumb.h-100 { height: 100%; }
.public-body a.exp-thumb-link { text-decoration: none; color: inherit; display: block; }
.public-body .exp-thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 55%);
}
.public-body .exp-thumb .exp-thumb-city { position: relative; z-index: 1; font-weight: 700; }
.public-body .exp-thumb .exp-plane {
    position: absolute; top: .7rem; left: .8rem; font-size: 1.6rem; opacity: .9; z-index: 1;
}
.public-body .exp-badge {
    position: absolute; top: .7rem; right: .7rem; z-index: 2;
    background: var(--exp-yellow); color: #3a2c00; font-weight: 800;
    font-size: .72rem; padding: .2rem .55rem; border-radius: .4rem; text-transform: uppercase;
}

.public-body .exp-card-title {
    font-weight: 700; font-size: 1.1rem; margin-bottom: .15rem; color: var(--exp-ink);
}
.public-body .exp-card-title a { color: inherit; text-decoration: none; }
.public-body .exp-card-title a:hover { color: var(--exp-blue); }
.public-body .exp-sub { color: var(--exp-muted); font-size: .88rem; }
.public-body .exp-chip {
    display: inline-block; background: #eef2f8; color: #35405a; font-weight: 600;
    font-size: .76rem; padding: .18rem .55rem; border-radius: 2rem; margin: .15rem .2rem 0 0;
}
.public-body .exp-score {
    display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem;
}
.public-body .exp-score b {
    background: var(--exp-navy); color: #fff; border-radius: .4rem .4rem .4rem 0;
    padding: .18rem .45rem; font-size: .82rem;
}
.public-body .exp-price-col { border-left: 1px dashed var(--exp-line); }
.public-body .exp-price { font-size: 1.5rem; font-weight: 800; color: var(--exp-ink); line-height: 1; }
.public-body .exp-price small { font-size: .78rem; font-weight: 600; color: var(--exp-muted); }
.public-body .exp-price-note { font-size: .72rem; color: var(--exp-muted); }

@media (max-width: 767.98px) {
    .public-body .exp-price-col { border-left: none; border-top: 1px dashed var(--exp-line); }
    .public-body .exp-thumb { min-height: 150px; }
}

/* ---------- Detail banner ---------- */
.public-body .exp-banner {
    min-height: 260px; border-radius: 1.25rem; color: #fff; position: relative;
    display: flex; align-items: flex-end; padding: 1.5rem; overflow: hidden;
}
.public-body .exp-banner::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 60%);
}
.public-body .exp-banner > * { position: relative; z-index: 1; }

/* ---------- Booking card ---------- */
.public-body .exp-book {
    background: #fff; border: 1px solid var(--exp-line); border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(9,14,40,.08);
}

/* ---------- Section headings ---------- */
.public-body .exp-section-title { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Footer ---------- */
.public-body .exp-footer { background: var(--exp-navy); color: #c7d0e4; }
.public-body .exp-footer a { color: #c7d0e4; text-decoration: none; }
.public-body .exp-footer a:hover { color: #fff; }

/* Destination pill row (home) */
.public-body .exp-dest {
    display: block; border-radius: .9rem; overflow: hidden; color: #fff;
    min-height: 120px; position: relative; text-decoration: none; padding: .9rem;
    display: flex; align-items: flex-end; font-weight: 700;
}
.public-body .exp-dest::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 60%);
}
.public-body .exp-dest span { position: relative; z-index: 1; }
