/*
 * Blazing Trips design system.
 *
 * Shared by the home page and the cab listing, and scoped entirely under .bt
 * so nothing here can reach the other fourteen public views, which all share
 * theme.css. The MyTravel template's palette (--primary: #297cbb) is left
 * alone; these pages run their own deep teal and terracotta set through the
 * tokens below. A page opts in with <main class="bt"> plus its own modifier.
 *
 * Loaded after theme.css and menu.css, via $page['stylesheets'].
 *
 * Mobile first throughout. The card rows are horizontal snap scrollers on
 * small screens and grids from 768px up, so a page is never a squeezed
 * desktop layout. Every image slot declares an aspect-ratio, so images reserve
 * their box before they load and the page does not shift.
 *
 * Heading colour is set per component, never as a blanket `.bt h2` rule - an
 * element selector like that scores (0,1,1) and silently beats every single
 * class below it.
 */

.bt {
    --bt-ink: #16302e;
    --bt-ink-soft: #5b736f;
    --bt-teal: #0f3f3c;
    --bt-teal-deep: #0a2e2c;
    --bt-teal-tint: #e8f0ee;
    --bt-clay: #d9602f;
    --bt-clay-dark: #bd4f22;
    --bt-paper: #fdfaf5;
    --bt-line: #e7e1d8;
    --bt-card-radius: 18px;
    --bt-shadow: 0 2px 4px rgba(22, 48, 46, .04), 0 12px 28px rgba(22, 48, 46, .07);
    --bt-shadow-lift: 0 4px 8px rgba(22, 48, 46, .06), 0 20px 40px rgba(22, 48, 46, .12);

    background-color: var(--bt-paper);
    color: var(--bt-ink);
}

/* ---------------------------------------------------------------- type -- */

.bt-section {
    padding: 3rem 0;
}

.bt-section--tint {
    background-color: #fff;
}

.bt-section__head {
    margin-bottom: 1.75rem;
}

.bt-section__eyebrow {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bt-clay);
    margin-bottom: .5rem;
}

.bt-section__title {
    color: var(--bt-ink);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .5rem;
}

.bt-section__lede {
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--bt-ink-soft);
    margin: 0;
    max-width: 60ch;
}

/* The "see everything" link that sits opposite a section title. */
.bt-section__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .875rem;
    font-weight: 700;
    color: var(--bt-teal);
    white-space: nowrap;
    min-height: 44px;
}

.bt-section__more:hover,
.bt-section__more:focus {
    color: var(--bt-clay);
    text-decoration: none;
}

@media (min-width: 768px) {
    .bt-section {
        padding: 4.5rem 0;
    }

    .bt-section__head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
        margin-bottom: 2.25rem;
    }

    .bt-section__title {
        font-size: 2rem;
    }
}

/* --------------------------------------------------------------- hero -- */

/* Phone hero is deliberately short. The header is fixed and overlaps, so the
   top padding is clearance for it, not decoration - anything more and the
   first real content sits a viewport and a half down the page. */
.bt-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 22rem;
    padding: 5.25rem 0 2rem;
    background-color: var(--bt-teal-deep);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Two stacked washes: a bottom-up ramp so the copy always has contrast, and a
   flat teal veil so a warm photo still reads as the brand. */
.bt-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10, 46, 44, .92) 0%, rgba(10, 46, 44, .55) 45%, rgba(10, 46, 44, .25) 100%),
        linear-gradient(rgba(15, 63, 60, .25), rgba(15, 63, 60, .25));
}

/* The hero photograph is an <img>, not a background, so it can carry
   fetchpriority and reserve its box. It sits under both washes above. */
.bt-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bt-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.bt-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .75rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 100px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.bt-hero__title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 .75rem;
    max-width: 20ch;
}

.bt-hero__title span {
    display: block;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, .82);
    margin-top: .5rem;
    max-width: 34ch;
}

.bt-hero__copy {
    font-size: .875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .85);
    margin: 0;
    max-width: 52ch;
}

@media (min-width: 576px) {
    .bt-hero__copy {
        font-size: .9375rem;
        line-height: 1.6;
    }
}

@media (min-width: 768px) {
    .bt-hero {
        min-height: 34rem;
        padding: 9rem 0 3.5rem;
    }

    .bt-hero__title {
        font-size: 2.75rem;
    }

    .bt-hero__title span {
        font-size: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .bt-hero {
        min-height: 38rem;
    }

    .bt-hero__title {
        font-size: 3.25rem;
    }
}

/* ------------------------------------------------------------- search -- */

.bt-search {
    position: relative;
    z-index: 3;
    margin-top: -2rem;
}

.bt-search__card {
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    box-shadow: var(--bt-shadow);
    padding: 1.25rem;
}

.bt-search__label {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--bt-ink);
    margin-bottom: .5rem;
}

.bt-search__row {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* position:relative anchors the autocomplete panel that ajax.js injects. */
.bt-search__field {
    position: relative;
    flex: 1 1 auto;
}

.bt .bt-search__input {
    width: 100%;
    height: 52px;
    padding: 0 1rem;
    border: 1px solid var(--bt-line);
    border-radius: 12px;
    background: var(--bt-paper);
    font-size: 1rem;
    color: var(--bt-ink);
}

.bt .bt-search__input:focus {
    outline: none;
    border-color: var(--bt-teal);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 63, 60, .12);
}

/* Autocomplete panel injected by the script at the foot of home.php. The
   markup and ids are the template's, so the selectors have to match them. */
.bt .dropdown-custom {
    position: relative;
}

.bt #locationSuggestions {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    width: 100%;
    max-height: 16rem;
    overflow-y: auto;
    z-index: 1000;
    padding: .35rem;
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: 12px;
    box-shadow: var(--bt-shadow);
}

.bt #locationSuggestions .dropdown-item {
    display: block;
    width: 100%;
    padding: .625rem .75rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: .9375rem;
    color: var(--bt-ink);
    text-align: left;
    text-transform: capitalize;
    white-space: nowrap;
    cursor: pointer;
}

.bt #locationSuggestions .dropdown-item:hover,
.bt #locationSuggestions .dropdown-item:focus {
    background-color: var(--bt-teal-tint);
    color: var(--bt-teal);
    text-decoration: none;
}

.bt-search__hint {
    font-size: .8125rem;
    color: var(--bt-ink-soft);
    margin: .75rem 0 0;
}

.bt-search__hint a {
    color: var(--bt-teal);
    font-weight: 600;
}

@media (min-width: 768px) {
    .bt-search {
        margin-top: -3rem;
    }

    .bt-search__card {
        padding: 1.5rem 1.75rem;
    }

    .bt-search__row {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

/* -------------------------------------------------------------- button -- */

.bt .bt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 52px;
    padding: 0 1.75rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.bt .bt-btn--clay {
    background-color: var(--bt-clay);
    color: #fff;
}

.bt .bt-btn--clay:hover,
.bt .bt-btn--clay:focus {
    background-color: var(--bt-clay-dark);
    color: #fff;
    text-decoration: none;
}

.bt .bt-btn--teal {
    background-color: var(--bt-teal);
    color: #fff;
}

.bt .bt-btn--teal:hover,
.bt .bt-btn--teal:focus {
    background-color: var(--bt-teal-deep);
    color: #fff;
    text-decoration: none;
}

.bt .bt-btn--ghost {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.bt .bt-btn--ghost:hover,
.bt .bt-btn--ghost:focus {
    background-color: rgba(255, 255, 255, .12);
    color: #fff;
    text-decoration: none;
}

.bt .bt-btn--outline {
    background-color: transparent;
    border-color: var(--bt-line);
    color: var(--bt-teal);
}

.bt .bt-btn--outline:hover,
.bt .bt-btn--outline:focus {
    border-color: var(--bt-teal);
    color: var(--bt-teal);
    text-decoration: none;
}

.bt .bt-btn--block {
    width: 100%;
}

@media (min-width: 768px) {
    .bt .bt-btn--block {
        width: auto;
    }
}

/* --------------------------------------------------------------- trust -- */

.bt-trust {
    border-bottom: 1px solid var(--bt-line);
    background: #fff;
}

.bt-trust__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 1.75rem 0;
}

.bt-trust__item {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
}

.bt-trust__icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bt-teal-tint);
    color: var(--bt-teal);
    font-size: .9375rem;
}

.bt-trust__text {
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bt-ink);
}

.bt-trust__text small {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    color: var(--bt-ink-soft);
    margin-top: .15rem;
}

@media (min-width: 768px) {
    .bt-trust__list {
        grid-template-columns: repeat(5, 1fr);
        padding: 2rem 0;
    }

    .bt-trust__text {
        font-size: .875rem;
    }
}

/* ---------------------------------------------------------------- rail -- */
/*
 * One horizontal snap scroller on phones, a grid from 768px up. Used by every
 * card row on the page so they behave identically.
 */

.bt-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Bleed to the viewport edge so a card can sit half off screen, which is
       what tells a thumb the row scrolls. */
    margin: 0 -15px;
    padding: .25rem 15px 1rem;
}

.bt-rail::-webkit-scrollbar {
    display: none;
}

.bt-rail > * {
    scroll-snap-align: start;
    min-width: 0;
}

@media (min-width: 576px) {
    .bt-rail {
        grid-auto-columns: 46%;
    }
}

@media (min-width: 768px) {
    .bt-rail {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        overflow-x: visible;
        margin: 0;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .bt-rail--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .bt-rail--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------------------------------------------------------------- card -- */

.bt-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

/*
 * The title link is stretched over the whole card, so the tap target is the
 * card rather than a 20px "View" link - and each card carries exactly one link
 * to its page instead of three pointing at the same URL.
 */
.bt-card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bt-card:hover {
    box-shadow: var(--bt-shadow-lift);
    transform: translateY(-3px);
}

.bt-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--bt-teal-tint);
    overflow: hidden;
}

.bt-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bt-card__tag {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .25rem .625rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, .94);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bt-teal);
}

.bt-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1rem 1.125rem 1.125rem;
}

.bt-card__place {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bt-ink-soft);
    margin-bottom: .35rem;
}

.bt-card__title {
    color: var(--bt-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .5rem;
}

.bt-card__title a {
    color: var(--bt-ink);
}

.bt-card__title a:hover,
.bt-card__title a:focus {
    color: var(--bt-teal);
    text-decoration: none;
}

.bt-card__meta {
    font-size: .8125rem;
    color: var(--bt-ink-soft);
    margin: 0 0 .75rem;
}

/* Pushes the price strip to the bottom so cards of different title lengths
   still line their prices up. */
.bt-card__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--bt-line);
}

.bt-card__price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--bt-ink);
}

.bt-card__price small {
    display: block;
    font-size: .6875rem;
    font-weight: 400;
    color: var(--bt-ink-soft);
}

/* Affordance only - the card itself is the link. */
.bt-card__cta {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--bt-clay);
    white-space: nowrap;
}

.bt-card:hover .bt-card__cta {
    color: var(--bt-clay-dark);
}

/* Focus lands on the stretched title link, so the ring has to be drawn on the
   card or keyboard users get an outline around invisible text. */
.bt-card:focus-within {
    box-shadow: 0 0 0 3px rgba(15, 63, 60, .35);
}

.bt-card__title a:focus {
    outline: none;
}

/* --------------------------------------------------------- destination -- */

.bt-dest {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--bt-card-radius);
    overflow: hidden;
    background: var(--bt-teal-deep);
}

.bt-dest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.bt-dest:hover img {
    transform: scale(1.06);
}

.bt-dest::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 46, 44, .88) 8%, rgba(10, 46, 44, .12) 60%, transparent 100%);
}

.bt-dest__label {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: #fff;
}

.bt-dest__name {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

.bt-dest__count {
    display: block;
    font-size: .8125rem;
    color: rgba(255, 255, 255, .82);
    margin-top: .2rem;
}

@media (min-width: 768px) {
    .bt-dest {
        aspect-ratio: 4 / 5;
    }
}

/* ---------------------------------------------------------------- cabs -- */

.bt-cabs {
    background: var(--bt-teal);
    color: #fff;
}

.bt-cabs .bt-section__title,
.bt-cabs .bt-section__eyebrow {
    color: #fff;
}

.bt-cabs .bt-section__eyebrow {
    color: #f0b49a;
}

.bt-cabs .bt-section__lede {
    color: rgba(255, 255, 255, .8);
}

.bt-cabs .bt-section__more {
    color: #fff;
}

.bt-route-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: .625rem;
    margin-bottom: 1.5rem;
}

.bt-route {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: .9375rem;
    font-weight: 600;
    min-height: 52px;
    transition: background-color .2s ease, border-color .2s ease;
}

.bt-route:hover,
.bt-route:focus {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    text-decoration: none;
}

.bt-route__arrow {
    color: #f0b49a;
    font-size: .8125rem;
}

.bt-route__to {
    color: rgba(255, 255, 255, .78);
    font-weight: 400;
}

.bt-cabs__services {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.bt-cabs__services li {
    padding: .3rem .75rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, .1);
    font-size: .8125rem;
    color: rgba(255, 255, 255, .9);
}

@media (min-width: 576px) {
    .bt-route-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bt-route-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------------------------------------------------------------- why -- */

.bt-why {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bt-why__item {
    padding: 1.25rem;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    background: #fff;
}

.bt-why__title {
    color: var(--bt-ink);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .35rem;
}

.bt-why__copy {
    font-size: .875rem;
    line-height: 1.6;
    color: var(--bt-ink-soft);
    margin: 0;
}

@media (min-width: 768px) {
    .bt-why {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Four items across three columns leaves a lone card on its own row. */
    .bt-why--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bt-why--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Interior pages with no usable photograph. Shorter, and the flat brand colour
   carries it instead of a stock image that would say nothing. */
.bt-hero--flat {
    min-height: 0;
    padding: 6.5rem 0 2.5rem;
    align-items: center;
}

.bt-hero--flat::after {
    background: linear-gradient(135deg, rgba(15, 63, 60, .55), rgba(10, 46, 44, .1));
}

@media (min-width: 768px) {
    .bt-hero--flat {
        min-height: 0;
        padding: 9.5rem 0 3.5rem;
    }
}

@media (min-width: 1200px) {
    .bt-hero--flat {
        min-height: 0;
    }
}

.bt-crumb {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .8125rem;
    color: rgba(255, 255, 255, .72);
    margin-bottom: .875rem;
}

.bt-crumb a {
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
}

.bt-crumb a:hover,
.bt-crumb a:focus {
    color: #fff;
    text-decoration: underline;
}

/* An icon above the heading, used by the cab page's "What you get" blocks. */
.bt-why__item > i {
    display: block;
    font-size: 1.5rem;
    color: var(--bt-clay);
    margin-bottom: .625rem;
}

/* --------------------------------------------------------------- steps -- */

.bt-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    counter-reset: bt-step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bt-steps__item {
    position: relative;
    padding-left: 3.25rem;
}

.bt-steps__item::before {
    counter-increment: bt-step;
    content: counter(bt-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bt-teal-tint);
    color: var(--bt-teal);
    font-weight: 700;
    font-size: .9375rem;
}

@media (min-width: 768px) {
    .bt-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .bt-steps__item {
        padding-left: 0;
        padding-top: 3.25rem;
    }
}

/* --------------------------------------------------------- testimonial -- */

.bt-quote {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
}

.bt-quote__mark {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--bt-teal-tint);
    font-weight: 700;
    margin-bottom: .25rem;
}

.bt-quote__text {
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--bt-ink);
    margin: 0 0 1rem;
}

.bt-quote__by {
    margin-top: auto;
    font-size: .875rem;
    font-weight: 700;
    color: var(--bt-ink);
}

/* ----------------------------------------------------------------- faq -- */

.bt-faq {
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    background: #fff;
    overflow: hidden;
}

.bt-faq__item + .bt-faq__item {
    border-top: 1px solid var(--bt-line);
}

.bt-faq__q {
    margin: 0;
}

.bt .bt-faq__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: 0;
    background: none;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--bt-ink);
    text-align: left;
    cursor: pointer;
}

.bt .bt-faq__btn:hover,
.bt .bt-faq__btn:focus {
    color: var(--bt-teal);
    text-decoration: none;
}

.bt-faq__chev {
    flex: 0 0 auto;
    color: var(--bt-ink-soft);
    transition: transform .25s ease;
}

.bt .bt-faq__btn[aria-expanded="true"] .bt-faq__chev {
    transform: rotate(180deg);
}

.bt-faq__a {
    padding: 0 1.25rem 1.25rem;
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--bt-ink-soft);
}

/* ----------------------------------------------------------------- cta -- */

.bt-cta {
    position: relative;
    padding: 3rem 0;
    background: var(--bt-teal-deep);
    color: #fff;
    overflow: hidden;
}

.bt-cta__title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 .625rem;
}

.bt-cta__copy {
    font-size: .9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 1.5rem;
    max-width: 52ch;
}

.bt-cta__actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

@media (min-width: 576px) {
    .bt-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .bt-cta {
        padding: 4.5rem 0;
    }

    .bt-cta__title {
        font-size: 2.25rem;
    }
}

/* ------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
    .bt *,
    .bt *::before,
    .bt *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .bt-card:hover {
        transform: none;
    }

    .bt-dest:hover img {
        transform: none;
    }
}

/* ==========================================================================
   Listing pages (accommodation, adventures, packages)
   ========================================================================== */

/*
 * A plain responsive grid, not the snap rail the home page rows use. A rail is
 * right for a preview of six; a listing of fifty-four has to be scannable and
 * wrap, so it never scrolls sideways.
 */
.bt-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 480px) {
    .bt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .bt-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .bt-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* A card whose price could not be established. Keeps the row baseline without
   printing a number the data cannot support. */
.bt-card__askprice {
    font-size: .875rem;
    font-weight: 600;
    color: var(--bt-ink-soft);
}

/* ==========================================================================
   Cab listing
   ========================================================================== */

/*
 * Routes are a fare table, not a photo gallery.
 *
 * Every one of the eleven outstation rows points at the same generic white
 * hatchback stock photograph, uploaded eleven times over. Rendering those as
 * image cards fills the page with a repeated picture that tells a traveller
 * nothing. What they came for is the route, the distance, the drive time and
 * the fare, so the card is typographic and the numbers get the space.
 *
 * The five local sightseeing tours DO carry real Kodaikanal scenery, so those
 * keep the standard .bt-card treatment.
 */

.bt-fare {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.125rem 1.25rem;
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    transition: box-shadow .25s ease, transform .25s ease;
}

.bt-fare:hover {
    box-shadow: var(--bt-shadow-lift);
    transform: translateY(-2px);
}

.bt-fare:focus-within {
    box-shadow: 0 0 0 3px rgba(15, 63, 60, .35);
}

.bt-fare__route {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .4rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bt-ink);
    margin: 0 0 .5rem;
}

.bt-fare__route a {
    color: inherit;
}

.bt-fare__route a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.bt-fare__route a:hover,
.bt-fare__route a:focus {
    color: var(--bt-teal);
    text-decoration: none;
    outline: none;
}

.bt-fare__arrow {
    color: var(--bt-clay);
    font-weight: 400;
}

.bt-fare__to {
    font-weight: 400;
    color: var(--bt-ink-soft);
}

/* Distance / drive time. Either can be missing when the tariff text does not
   state it, so this is a list of whatever is actually known. */
.bt-fare__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .85rem;
    list-style: none;
    padding: 0;
    margin: 0 0 .875rem;
    font-size: .8125rem;
    color: var(--bt-ink-soft);
}

.bt-fare__facts li {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.bt-fare__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--bt-line);
}

.bt-fare__price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--bt-ink);
}

.bt-fare__price small,
.bt-fare__noprice {
    display: block;
    font-size: .6875rem;
    font-weight: 400;
    color: var(--bt-ink-soft);
}

.bt-fare__noprice {
    font-size: .8125rem;
}

.bt-fare__cta {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--bt-clay);
    white-space: nowrap;
}

.bt-fare:hover .bt-fare__cta {
    color: var(--bt-clay-dark);
}

/* Marks the Chennai row, whose tariff is quoted as a round trip. Without it
   that fare sits beside one-way fares and reads as five times the price. */
.bt-fare__tag {
    display: inline-block;
    padding: .1rem .45rem;
    border-radius: 100px;
    background: var(--bt-teal-tint);
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bt-teal);
    vertical-align: middle;
}

.bt-fare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .875rem;
}

@media (min-width: 576px) {
    .bt-fare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bt-fare-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.bt-elsewhere {
    margin: 1.5rem 0 0;
    font-size: .9375rem;
    color: var(--bt-ink-soft);
}

.bt-elsewhere a {
    color: var(--bt-teal);
    font-weight: 600;
}

.bt-elsewhere a:hover,
.bt-elsewhere a:focus {
    color: var(--bt-clay);
}

/* ------------------------------------------------------------- vehicles -- */

.bt-fleet {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bt-fleet li {
    padding: .45rem .9rem;
    border: 1px solid var(--bt-line);
    border-radius: 100px;
    background: #fff;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bt-ink);
}

/* --------------------------------------------------------------- filter -- */

.bt-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.bt .bt-filter__btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--bt-line);
    border-radius: 100px;
    background: #fff;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bt-ink);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.bt .bt-filter__btn:hover {
    border-color: var(--bt-teal);
    color: var(--bt-teal);
}

.bt .bt-filter__btn.is-active {
    background: var(--bt-teal);
    border-color: var(--bt-teal);
    color: #fff;
}

.bt-filter__label {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bt-ink-soft);
    margin-right: .25rem;
}

.bt .bt-filter__select {
    min-height: 44px;
    padding: 0 2rem 0 .875rem;
    border: 1px solid var(--bt-line);
    border-radius: 100px;
    background-color: #fff;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bt-ink);
}

.bt-count {
    font-size: .875rem;
    color: var(--bt-ink-soft);
    margin: 0 0 1.25rem;
}

.bt-empty {
    padding: 2.5rem 1rem;
    border: 1px dashed var(--bt-line);
    border-radius: var(--bt-card-radius);
    text-align: center;
    color: var(--bt-ink-soft);
}

/* ==========================================================================
   Content pages (about, contact, faq, blog, CMS, 404)
   ========================================================================== */

/*
 * Long-form body copy.
 *
 * The CMS pages and blog posts store raw WYSIWYG HTML, so this styles by
 * element rather than by class - whatever the admin's editor emits has to land
 * somewhere sensible. Everything is scoped under .bt-prose so it cannot reach
 * the rest of the page.
 */
.bt-prose {
    max-width: 68ch;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--bt-ink);
}

.bt-prose > * + * {
    margin-top: 1.15em;
}

/*
 * Stored bodies often open with their own heading, and seo_body_html() demotes
 * a leading <h1> to <h2>. Both then inherited the 2em heading margin and sat in
 * a gap below the section title that introduces them. The first child never
 * needs top space - the block above already provides it.
 */
.bt-prose > :first-child {
    margin-top: 0;
}

/* A heading that opens the body is repeating what the section title just said,
   so it reads as a subhead rather than competing with it. */
.bt-prose > h2:first-child,
.bt-prose > h3:first-child {
    font-size: 1.0625rem;
    color: var(--bt-ink-soft);
    font-weight: 700;
    margin-bottom: .5em;
}

.bt-prose h1,
.bt-prose h2,
.bt-prose h3,
.bt-prose h4 {
    color: var(--bt-ink);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: .6em;
}

.bt-prose h1 { font-size: 1.625rem; }
.bt-prose h2 { font-size: 1.375rem; }
.bt-prose h3 { font-size: 1.125rem; }
.bt-prose h4 { font-size: 1rem; }

.bt-prose p,
.bt-prose li {
    color: var(--bt-ink-soft);
}

.bt-prose a {
    color: var(--bt-teal);
    font-weight: 600;
    text-decoration: underline;
}

.bt-prose a:hover,
.bt-prose a:focus {
    color: var(--bt-clay);
}

.bt-prose ul,
.bt-prose ol {
    padding-left: 1.25rem;
}

.bt-prose li + li {
    margin-top: .4em;
}

.bt-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bt-card-radius);
}

.bt-prose blockquote {
    margin-left: 0;
    padding-left: 1.125rem;
    border-left: 3px solid var(--bt-teal-tint);
    color: var(--bt-ink-soft);
    font-style: italic;
}

.bt-prose strong { color: var(--bt-ink); }

.bt-prose hr {
    border: 0;
    border-top: 1px solid var(--bt-line);
}

/* WYSIWYG tables are almost always wider than a phone. Wrapped so the table
   scrolls inside its own box and the page body never does. */
.bt-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.bt-prose table td,
.bt-prose table th {
    padding: .6rem .75rem;
    border: 1px solid var(--bt-line);
    text-align: left;
}

.bt-prose__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --------------------------------------------------------------- forms -- */

.bt-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .bt-form__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bt-form__grid > .bt-field--wide {
        grid-column: 1 / -1;
    }
}

.bt-field label,
.bt-label {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--bt-ink);
    margin-bottom: .4rem;
}

.bt .bt-input,
.bt .bt-select,
.bt .bt-textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: .75rem 1rem;
    border: 1px solid var(--bt-line);
    border-radius: 12px;
    background-color: #fff;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--bt-ink);
}

.bt .bt-textarea {
    min-height: 9rem;
    resize: vertical;
}

.bt .bt-input:focus,
.bt .bt-select:focus,
.bt .bt-textarea:focus {
    outline: none;
    border-color: var(--bt-teal);
    box-shadow: 0 0 0 3px rgba(15, 63, 60, .12);
}

.bt .bt-input::placeholder,
.bt .bt-textarea::placeholder {
    color: #9aaba8;
}

/* The template's validation plugin stamps these on the wrapper. */
.bt .u-has-error .bt-input,
.bt .u-has-error .bt-select,
.bt .u-has-error .bt-textarea {
    border-color: var(--bt-clay);
}

.bt-field .invalid-feedback,
.bt-field .u-has-error-msg {
    display: block;
    margin-top: .35rem;
    font-size: .8125rem;
    color: var(--bt-clay-dark);
}

/* ------------------------------------------------------------- contact -- */

.bt-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .bt-split {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        gap: 3rem;
    }
}

.bt-panel {
    padding: 1.5rem;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    background: #fff;
}

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

.bt-contact-list li + li {
    margin-top: 1.125rem;
    padding-top: 1.125rem;
    border-top: 1px solid var(--bt-line);
}

.bt-contact-list dt,
.bt-contact-list .bt-contact-list__k {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bt-ink-soft);
    margin-bottom: .2rem;
}

.bt-contact-list a {
    color: var(--bt-teal);
    font-weight: 600;
}

.bt-contact-list a:hover,
.bt-contact-list a:focus {
    color: var(--bt-clay);
}

/* ---------------------------------------------------------- pagination -- */

.bt-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
}

.bt-pager a,
.bt-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 .75rem;
    border: 1px solid var(--bt-line);
    border-radius: 12px;
    background: #fff;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--bt-ink);
}

.bt-pager a:hover,
.bt-pager a:focus {
    border-color: var(--bt-teal);
    color: var(--bt-teal);
    text-decoration: none;
}

.bt-pager .is-current {
    background: var(--bt-teal);
    border-color: var(--bt-teal);
    color: #fff;
}

/* ----------------------------------------------------------------- 404 -- */

.bt-404 {
    text-align: center;
    padding: 3rem 0;
}

.bt-404__code {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--bt-teal-tint);
    margin: 0 0 .5rem;
}

.bt-404__title {
    color: var(--bt-ink);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 .625rem;
}

.bt-404__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}

@media (min-width: 768px) {
    .bt-404 {
        padding: 5rem 0;
    }

    .bt-404__code {
        font-size: 7rem;
    }

    .bt-404__title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Detail pages (a stay, a package, an activity, a cab route)
   ========================================================================== */

/*
 * Two columns from 992px: the content, and an enquiry panel that sticks as the
 * page scrolls. On a phone the panel is not sticky and sits after the content,
 * with a fixed bar pinned to the bottom of the viewport carrying the same call
 * to action - so the way to enquire is always one tap away without covering
 * the copy the visitor is reading.
 */
.bt-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .bt-detail {
        grid-template-columns: minmax(0, 1fr) 22rem;
        gap: 3rem;
    }

    .bt-detail__aside {
        position: sticky;
        top: 6rem;
    }
}

/* Key numbers under the title: price, distance, duration, whatever the record
   actually holds. Anything unknown is simply not rendered. */
.bt-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.bt-facts li {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .8rem;
    border: 1px solid var(--bt-line);
    border-radius: 100px;
    background: #fff;
    font-size: .875rem;
    color: var(--bt-ink);
}

.bt-facts li i {
    color: var(--bt-clay);
}

.bt-facts strong {
    font-weight: 700;
}

/* ------------------------------------------------------------- gallery -- */

.bt-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-bottom: 2rem;
}

.bt-gallery__item {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: var(--bt-card-radius);
    overflow: hidden;
    background: var(--bt-teal-tint);
}

.bt-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* A single image should not become a full-bleed hero of its own. */
.bt-gallery:not(.bt-gallery--rich) .bt-gallery__item {
    max-height: 26rem;
}

@media (min-width: 768px) {
    /* First image leads at double height, the rest tile beside it. */
    .bt-gallery--rich {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 1fr;
    }

    .bt-gallery--rich > :first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bt-gallery--rich > :first-child.bt-gallery__item {
        aspect-ratio: auto;
    }

    .bt-gallery--rich .bt-gallery__item {
        aspect-ratio: 4 / 3;
    }
}

/* ------------------------------------------------------------- section -- */

.bt-block {
    padding-top: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--bt-line);
}

.bt-block:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

.bt-block__title {
    color: var(--bt-ink);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .875rem;
}

/* Feature lists on the activity page: an icon from the lookup table plus a
   label, wrapping into columns. */
.bt-featurelist {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: .625rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9375rem;
    color: var(--bt-ink-soft);
}

.bt-featurelist li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.bt-featurelist img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (min-width: 576px) {
    .bt-featurelist {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bt-featurelist {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Room list on a property page: thumbnail, name and rate on one row. */
.bt-rooms {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .75rem;
}

.bt-room {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: .875rem;
    align-items: center;
    padding: .875rem;
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    background: #fff;
}

.bt-room__media {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bt-teal-tint);
}

.bt-room__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bt-room__name {
    color: var(--bt-ink);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .2rem;
}

.bt-room__copy {
    font-size: .875rem;
    color: var(--bt-ink-soft);
    margin: 0;
}

.bt-room__price {
    grid-column: 2;
    text-align: left;
}

.bt-room__price small {
    display: block;
    font-size: .6875rem;
    color: var(--bt-ink-soft);
}

@media (min-width: 576px) {
    .bt-room {
        grid-template-columns: 96px minmax(0, 1fr) auto;
    }

    .bt-room__price {
        grid-column: auto;
        text-align: right;
        padding-left: .75rem;
    }
}

/* ------------------------------------------------------------- enquiry -- */

.bt-booking {
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-card-radius);
    background: #fff;
    padding: 1.25rem;
    box-shadow: var(--bt-shadow);
}

.bt-booking__price {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--bt-line);
}

.bt-booking__amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bt-ink);
    line-height: 1.2;
}

.bt-booking__unit {
    display: block;
    font-size: .8125rem;
    color: var(--bt-ink-soft);
    margin-top: .15rem;
}

.bt-booking__title {
    color: var(--bt-ink);
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 .875rem;
}

.bt-booking .bt-field + .bt-field {
    margin-top: .75rem;
}

.bt-booking .bt-btn {
    margin-top: 1rem;
}

.bt-booking__note {
    font-size: .75rem;
    color: var(--bt-ink-soft);
    margin: .75rem 0 0;
    text-align: center;
}

/* ---------------------------------------------------------- sticky bar -- */

.bt-actionbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .625rem .875rem;
    padding-bottom: calc(.625rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--bt-line);
    box-shadow: 0 -6px 20px rgba(22, 48, 46, .1);
}

.bt-actionbar__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bt-ink);
    line-height: 1.2;
}

.bt-actionbar__price small {
    display: block;
    font-size: .6875rem;
    font-weight: 400;
    color: var(--bt-ink-soft);
}

.bt-actionbar .bt-btn {
    min-height: 46px;
    padding: 0 1.25rem;
    flex: 0 0 auto;
}

/* Clearance so the bar never covers the last of the page. */
.bt-detail-page {
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .bt-actionbar {
        display: none;
    }

    .bt-detail-page {
        padding-bottom: 0;
    }
}

/* About page photograph, sitting under the copy in the wide column. */
.bt-about__photo {
    margin: 1.75rem 0 0;
}

.bt-about__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--bt-card-radius);
    display: block;
}
