/*!
 * SONDAX TRAVEL - Homepage blocks built by Developer.Site.HomePage (hp-*).
 * Loaded after 20.sondax-home.css on the homepage only. Colours, fonts and the 2px corner
 * come from the site's own variables (20.sondax-refined.css).
 */

/* ---- Shared bits ---- */
.hp-tag { display: inline-block; align-self: flex-start; background: var(--color-accent); color: var(--color-ink); font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius); }
.st-section-header.hp-head-left { text-align: left; margin-bottom: 0; }
.st-section-header.hp-head-left .st-sub-label { justify-content: flex-start; }
.st-section-header.hp-head-left .st-sub-label::after { display: none; }
.st-section-header.hp-head-left .st-section-desc { margin-left: 0; margin-right: 0; }

/* ---- Hero ---- */
.hp-hero { position: relative; }
.hp-hero-media.st-hero { height: auto; min-height: clamp(660px, 92vh, 860px); padding: 132px 0 72px; }
.hp-hero-in { position: relative; z-index: 2; width: 100%; }
.hp-hero-eyebrow { color: #fff; }
.hp-has-card .hp-hero-text { text-align: left; margin: 0; padding: 0; max-width: 620px; }
.hp-has-card .st-hero-desc { margin-left: 0; margin-right: 0; }
.hp-has-card .st-hero-actions { justify-content: flex-start; }
.hp-has-card .hp-hero-eyebrow::before { display: none; }
.hp-hero-cardwrap { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.hp-card { pointer-events: auto; width: 400px; max-width: 100%; background: #fff; color: var(--color-body); border-radius: var(--radius); padding: 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.hp-card-title { font-family: var(--font-head); font-weight: 600; font-size: 1.625rem; line-height: 1.2; color: var(--color-ink); margin: 12px 0 6px; }
.hp-card-desc { font-size: .8125rem; color: var(--color-soft); margin: 0 0 14px; }
.hp-airports { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--color-card-line); border-radius: var(--radius); }
.hp-airports li + li { border-top: 1px solid var(--color-card-line); }
.hp-airports a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; min-height: 52px; text-decoration: none; transition: background .2s; }
.hp-airports a:hover, .hp-airports a:focus-visible { background: var(--color-muted-bg); }
.hp-ap-name { font-size: .8125rem; font-weight: 600; color: var(--color-ink); line-height: 1.35; }
.hp-ap-name small { display: block; font-weight: 400; font-size: .75rem; color: var(--color-soft); }
.hp-ap-price { flex: none; text-align: right; font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; line-height: 1; color: var(--color-brand); font-variant-numeric: lining-nums; }
.hp-ap-price small { display: block; font-family: var(--font-main); font-weight: 400; font-size: .6875rem; color: var(--color-soft); margin-top: 3px; }
.hp-card-btn { width: 100%; }
.hp-airports a { justify-content: flex-start; }
.hp-airports .hp-ap-name { flex: 1; min-width: 0; }
.hp-ap-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--color-card-line-hover, #c9d3de); background: #fff; position: relative; }
.hp-airports a.is-on { background: var(--color-muted-bg); }
.hp-airports a.is-on .hp-ap-dot { border-color: var(--color-brand); }
.hp-airports a.is-on .hp-ap-dot::after { content: ''; position: absolute; top: 3px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand); }
.hp-card-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-brand); text-decoration: none; }
.hp-card-all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* The card used to be centred over the whole hero, the strip under the transparent menu
   included, so on a laptop screen (730 to 830px tall) its top ran into the menu. Now the
   video and the card share one grid cell: the card is centred in the space under the menu,
   and when that space is too short the hero grows instead of the card overlapping anything.
   The card itself is tighter: smaller title, the airport code on the name's line, shorter rows.
   On a short screen the line under the title is left out. */
@media (min-width: 901px) {
    .hp-hero.hp-has-card { display: grid; grid-template-columns: minmax(0, 1fr); }
    .hp-hero.hp-has-card > .hp-hero-media, .hp-hero.hp-has-card > .hp-hero-cardwrap { grid-area: 1 / 1; }
    .hp-hero.hp-has-card > .hp-hero-cardwrap { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; padding-top: 20px; padding-bottom: 32px; }
    .hp-card { width: 380px; padding: 22px 22px 18px; }
}
/* The tighter card on every screen, the phone included (its width and padding are set
   in the phone block further down). */
.hp-card-title { font-size: 1.375rem; margin: 10px 0 4px; }
.hp-card-desc { margin: 0 0 12px; line-height: 1.5; }
.hp-airports { margin-bottom: 14px; }
.hp-airports a { min-height: 44px; padding: 7px 12px; gap: 10px; }
.hp-ap-name { line-height: 1.3; }
.hp-ap-name small { display: inline; white-space: nowrap; }
.hp-ap-name small::before { content: ' \00B7\00A0'; }
.hp-ap-price { font-size: 1.1875rem; }
.hp-ap-price small { font-size: .625rem; margin-top: 2px; }
.hp-card-btn { padding-top: 13px; padding-bottom: 13px; }
.hp-card-all { margin-top: 12px; }
@media (min-width: 901px) and (max-height: 780px) {
    .hp-card-desc { display: none; }
}

/* ---- Review strip: now ReviewStrip.Band, styled in 20.sondax-common.css (.st-revband), shared with /about-us ---- */

/* ---- Services: a sideways rail of tall photo cards ---- */
.hp-svc { overflow: hidden; }
.hp-svc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.hp-rail { --hp-gut: max(16px, calc((100vw - 1200px) / 2 + 16px)); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--hp-gut) 8px; scroll-padding-left: var(--hp-gut); -webkit-overflow-scrolling: touch; }
.hp-rail::-webkit-scrollbar { display: none; }
.hp-rail.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.hp-slide { position: relative; flex: 0 0 300px; height: 480px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; scroll-snap-align: start; isolation: isolate; background: var(--color-primary-dark); }
.hp-slide-wide { flex-basis: 560px; }
.hp-slide > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s ease; pointer-events: none; }
.hp-slide::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .72) 100%); }
.hp-slide-num { position: absolute; top: 22px; left: 26px; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; letter-spacing: .06em; }
.hp-slide-num::after { content: ''; width: 36px; height: 1px; background: var(--color-accent); }
.hp-slide-go { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--color-brand); border-radius: var(--radius); transition: background .25s, color .25s; }
.hp-slide-title { font-family: var(--font-head); font-weight: 600; font-size: 1.875rem; line-height: 1.15; color: #fff; margin: 10px 0 6px; }
.hp-slide-wide .hp-slide-title { font-size: 2.75rem; }
.hp-slide-desc { margin: 0; font-size: .8125rem; color: rgba(255, 255, 255, .92); max-width: 420px; }
@media (hover: hover) {
    .hp-slide:hover > img { transform: scale(1.04); }
    .hp-slide:hover .hp-slide-go { background: var(--color-brand); color: #fff; }
}
.hp-track-row { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.hp-track { position: relative; flex: 1; height: 1px; background: var(--color-card-line-hover); }
.hp-track-hint { flex: none; font-size: .75rem; color: var(--color-soft); }
.hp-slide-chip { align-self: flex-start; margin-top: 12px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--radius); font-size: .6875rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .28); }
.hp-track-fill { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--color-brand); }
.hp-track-plane { position: absolute; top: -11px; left: 0; width: 22px; height: 22px; margin-left: -11px; color: var(--color-brand); background: #fff; }
.hp-track-plane svg { display: block; transform: rotate(45deg); }

/* ---- Fast track ---- */
.hp-ft-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.hp-ft-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--color-border); }
.hp-ft-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-ft-photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .95); color: var(--color-ink); font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: var(--radius); }
.hp-ft-photo figcaption svg { color: var(--color-brand); flex: none; }
.hp-steps { list-style: none; counter-reset: hp-step; margin: 26px 0 22px; padding: 0; }
.hp-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--color-border); }
.hp-steps li:last-child { border-bottom: 1px solid var(--color-border); }
.hp-steps li::before { counter-increment: hp-step; content: counter(hp-step, decimal-leading-zero); font-family: var(--font-head); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--color-accent-text); font-variant-numeric: lining-nums; }
.hp-steps b { display: block; color: var(--color-ink); font-size: .875rem; margin-bottom: 2px; }
.hp-steps span { font-size: .8125rem; color: var(--color-soft); }
.hp-levels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; }
.hp-levels a { font-size: .75rem; font-weight: 600; color: var(--color-ink); background: #fff; border: 1px solid var(--color-card-line-hover); padding: 9px 12px; border-radius: var(--radius); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; transition: border-color .2s, color .2s; }
.hp-levels a:hover, .hp-levels a:focus-visible { border-color: var(--color-brand); color: var(--color-brand); }
.hp-levels-lbl { flex: 1 0 100%; font-size: .8125rem; color: var(--color-soft); }

/* ---- Destinations ---- */
.hp-dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.hp-dest-tile { position: relative; display: flex; align-items: flex-end; padding: 20px; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; background: var(--color-primary-dark); }
.hp-dest-tile > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s ease; }
.hp-dest-tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .62) 100%); }
@media (hover: hover) { .hp-dest-tile:hover > img { transform: scale(1.04); } }
.hp-dest-name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.75rem; line-height: 1.1; }
.hp-dest-txt small { display: block; font-size: .75rem; opacity: .92; margin-top: 3px; }
.hp-dest-1 { grid-column: span 2; grid-row: span 2; }
.hp-dest-1 .hp-dest-name { font-size: 2.5rem; }
.hp-dest-3 { grid-row: span 2; }
/* Fewer than eight tiles: the last ones widen so no row is left half empty. */
.hp-dest-count-1 .hp-dest-1 { grid-column: span 4; }
.hp-dest-count-2 .hp-dest-2 { grid-column: span 2; grid-row: span 2; }
.hp-dest-count-3 .hp-dest-2 { grid-row: span 2; }
.hp-dest-count-5 .hp-dest-5 { grid-column: span 4; }
.hp-dest-count-6 .hp-dest-5, .hp-dest-count-6 .hp-dest-6, .hp-dest-count-7 .hp-dest-7 { grid-column: span 2; }

/* ---- Team ---- */
.hp-team-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.hp-team .st-scroll-btn { display: none; }
.hp-member { margin: 0; }
.hp-member-ph { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--color-muted-bg); }
.hp-member-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s ease; }
@media (hover: hover) { .hp-member:hover img { transform: scale(1.04); } }
.hp-member figcaption { padding-top: 14px; }
.hp-member-name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; line-height: 1.2; color: var(--color-ink); }
.hp-member-role { display: block; margin-top: 4px; font-size: .75rem; white-space: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-soft); }
.hp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--color-border); }
.hp-points > div { padding: 28px 32px 0; }
.hp-points > div:first-child { padding-left: 0; }
.hp-points > div + div { border-left: 1px solid var(--color-border); }
.hp-points b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; line-height: 1.25; color: var(--color-ink); margin-bottom: 6px; }
.hp-points span { font-size: .8125rem; color: var(--color-soft); }

/* ---- Closing call ---- */
.hp-cta { position: relative; padding: 120px 0; text-align: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--color-primary-dark); }
.hp-cta > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hp-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; background: rgba(0, 0, 0, .5); }
.hp-cta .st-sub-label { color: #fff; justify-content: center; }
.hp-cta h2.hp-cta-title { color: #fff !important; font-size: var(--fs-page, 3.375rem); line-height: 1.12; max-width: 760px; margin: 0 auto 14px; }
.hp-cta p { max-width: 560px; margin: 0 auto 30px; font-size: 1rem; color: rgba(255, 255, 255, .92); }
.hp-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---- Day tours and workshops: one block, two tabs ---- */
.hp-exp .st-section-header { margin-bottom: 26px; }
.hp-tabs-wrap { text-align: center; margin-bottom: 22px; }
.hp-tabs { display: inline-flex; border: 1px solid var(--color-card-line-hover, #c9d3de); border-radius: var(--radius); overflow: hidden; background: #fff; }
.hp-tabs button { min-height: 46px; padding: 0 24px; border: 0; background: #fff; font-family: var(--font-main); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-soft); cursor: pointer; transition: background .2s, color .2s; }
.hp-tabs button + button { border-left: 1px solid var(--color-card-line-hover, #c9d3de); }
.hp-tabs button:hover { color: var(--color-brand); }
.hp-tabs button.is-on { background: var(--color-brand); color: #fff; }
.hp-tabs button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -3px; }
.hp-pane[hidden] { display: none; }
.hp-pane-desc { max-width: 640px; margin: 0 auto 30px; text-align: center; font-size: .9375rem; line-height: 1.7; color: var(--color-soft); }

/* The duration on the photo; the cards sit four to a row on a wide screen. */
.hp-pane .st-service-img { position: relative; }
.hp-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: #fff; border-radius: var(--radius); font-size: .6875rem; font-weight: 600; color: var(--color-ink); line-height: 1.2; }
@media (min-width: 1101px) {
    .hp-pane .st-hscroll-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; overflow: visible; }
    .hp-pane .st-hscroll-cards > * { min-width: 0; }
    .hp-pane .st-hscroll-cards > *:nth-child(n+5) { display: none; }
    .hp-pane .st-scroll-btn { display: none; }
    .hp-pane .st-service-title { font-size: 1.1875rem; -webkit-line-clamp: 3; line-clamp: 3; }
    /* Four narrow cards: the whole card is the link, so the "view details" label is dropped. */
    .hp-pane .st-service-card .st-service-footer::after { display: none; }
}

/* ---- Multi-day tours: the existing list, heading to the left on a tinted band ---- */
.hp-wrap-tours > .st-section { background: var(--color-muted-bg); }
.hp-wrap-tours .st-section-header { text-align: left; }
.hp-wrap-tours .st-section-header .st-sub-label { justify-content: flex-start; }
.hp-wrap-tours .st-section-header .st-sub-label::after { display: none; }
.hp-wrap-tours .st-section-header .st-section-desc { margin-left: 0; margin-right: 0; }

/* ---- Guest reviews: the platforms on the left, the quotes on the right ---- */
.hp-rev-cols { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.hp-rev-cols .gr-grid-home { max-width: none; margin: 0; }
.hp-rev-box { background: #fff; border: 1px solid var(--color-card-line); border-radius: var(--radius); padding: 26px 24px; }
.hp-rev-box-title { margin: 0 0 12px; font-family: var(--font-main); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-soft); line-height: 1.5; }
.hp-rev-plats { list-style: none; margin: 0 0 20px; padding: 0; }
.hp-rev-plats li { border-top: 1px solid var(--color-card-line); }
.hp-rev-plats li:last-child { border-bottom: 1px solid var(--color-card-line); }
.hp-rev-plats a { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 0; color: var(--color-ink); text-decoration: none; }
.hp-rev-plats .gr-logo { flex: 1; min-width: 0; }
.hp-rev-plats .gr-logo img { height: 20px; }
.hp-rev-plats .gr-logo-mark img { height: 22px; width: 22px; }
.hp-rev-plats .gr-logo b { font-size: .9375rem; }
.hp-rev-plats .hp-score b { font-size: 1.125rem; }
.hp-rev-plats a > svg { flex: none; color: var(--color-soft); transition: transform .2s; }
.hp-rev-plats a:hover > svg { transform: translateX(3px); color: var(--color-brand); }
.hp-rev-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; font-size: .8125rem; font-weight: 600; color: var(--color-brand); text-decoration: none; }
.hp-rev-all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- "Also available on" ---- */
.hp-otas { background: #fff; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.hp-otas-in { display: flex; align-items: center; gap: 36px; padding-top: 30px; padding-bottom: 30px; }
.hp-otas-label { flex: none; margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-soft); }
.hp-otas-list { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; }
.hp-otas-list li { display: inline-flex; align-items: center; gap: 8px; opacity: .88; transition: transform .25s ease, opacity .25s ease, filter .25s ease; }
/* A small lift on hover, and on tap for a phone (:active), so the row feels alive. */
.hp-otas-list li:hover, .hp-otas-list li:active { opacity: 1; transform: translateY(-3px) scale(1.06); filter: drop-shadow(0 6px 10px rgba(6, 41, 91, .12)); }
@media (prefers-reduced-motion: reduce) { .hp-otas-list li { transition: none; } .hp-otas-list li:hover, .hp-otas-list li:active { transform: none; } }
/* Each mark in its own colours, sized so the names read at about the same weight. */
.hp-otas-list img { display: block; height: 24px; width: auto; max-width: 140px; }
.hp-otas-list li > a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.hp-otas-list li > a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.hp-otas-list img[src*='viator'] { height: 26px; }
.hp-otas-list img[src*='tourradar'] { height: 21px; }
.hp-otas-list img[src*='getyourguide'] { height: 46px; }
.hp-otas-list img[src*='klook'] { height: 26px; }
.hp-otas-list img[src*='kkday'] { height: 30px; }
.hp-otas-list img[src*='airbnb'] { height: 30px; }
.hp-otas-list img[src*='tripcom'] { height: 23px; }
.hp-otas-list img[src*='seeksophie'] { height: 26px; }
.hp-otas-list img[src*='-mark.'] { height: 26px; width: 26px; }
.hp-otas-list b { font-family: var(--font-main); font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; color: var(--color-ink); }

/* ---- Header over the hero (homepage only; the class is written by SondaxHeader) ----
   Clear while the page is at the top; the white bar returns on scroll, on hover or focus
   (so the menu panels open on white) and while the phone menu is open. */
.st-header.st-header-over { transition: background .25s, box-shadow .25s, border-color .25s; }
.st-header-over.is-top:not(:hover):not(:focus-within):not(:has(.st-mobile-menu.open)) { background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.st-header-over.is-top:not(:hover):not(:focus-within):not(:has(.st-mobile-menu.open)) .st-nav-link,
.st-header-over.is-top:not(:hover):not(:focus-within):not(:has(.st-mobile-menu.open)) .st-nav-dropdown-btn,
.st-header-over.is-top:not(:hover):not(:focus-within):not(:has(.st-mobile-menu.open)) .st-mobile-toggle { color: #fff; }
.st-header-over.is-top:not(:hover):not(:focus-within):not(:has(.st-mobile-menu.open)) .st-logo-img { filter: brightness(0) invert(1); }
.st-header-over.is-top:not(:hover):not(:focus-within):not(:has(.st-mobile-menu.open)) .st-header-cta .st-btn { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.hp-hero-media.st-hero { margin-top: -68px; }
.hp-hero-media .st-hero-overlay::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(rgba(4, 22, 48, .55), rgba(4, 22, 48, 0)); pointer-events: none; }
@media (max-width: 768px) { .hp-hero-media.st-hero { margin-top: -56px; } }

/* ---- WhatsApp, bottom corner ---- */
.hp-wa { position: fixed; right: 22px; bottom: 22px; z-index: 1090; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--color-whatsapp, #25D366); color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: transform .25s, background .25s; }
.hp-wa:hover, .hp-wa:focus-visible { background: var(--color-whatsapp-dark, #1EBE5B); color: #fff; transform: translateY(-3px); }

/* ---- Tablet ---- */
@media (max-width: 1100px) {
    .hp-card { width: 360px; }
    .hp-has-card .hp-hero-text { max-width: 480px; }
    .hp-ft-in { gap: 44px; }
    .hp-team-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hp-rev-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .hp-rev-plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; }
    .hp-rev-plats li:last-child { border-bottom: 0; }
    .hp-otas-in { flex-direction: column; align-items: stretch; gap: 18px; text-align: center; }
    /* Điện thoại: một hàng cuộn ngang, hai mũi tên nhỏ ở mép (st-hscroll-mobile); logo nhỏ hơn máy tính khoảng 25% */
    .hp-otas-list.st-hscroll-mobile { justify-content: flex-start; gap: 0 26px; padding: 6px 38px; }
    .hp-otas-list.st-hscroll-mobile > li { flex: 0 0 auto; }
    .hp-otas-list.st-hscroll-mobile > li:last-child { padding-right: 2px; }
    .hp-otas-list img { height: 18px; max-width: 104px; }
    .hp-otas-list img[src*='viator'] { height: 20px; }
    .hp-otas-list img[src*='tourradar'] { height: 16px; }
    .hp-otas-list img[src*='getyourguide'] { height: 34px; }
    .hp-otas-list img[src*='klook'] { height: 20px; }
    .hp-otas-list img[src*='kkday'] { height: 22px; }
    .hp-otas-list img[src*='airbnb'] { height: 22px; }
    .hp-otas-list img[src*='tripcom'] { height: 17px; }
    .hp-otas-list img[src*='seeksophie'] { height: 20px; }
    .hp-otas-list b { font-size: .9375rem; }
    .hp-otas-list { justify-content: center; gap: 18px 34px; }
}

/* ---- Phone ---- */
@media (max-width: 900px) {
    /* The video stays behind the words; the card sits under it on the white page. */
    .hp-hero-media.st-hero { min-height: 0; padding: 100px 0 36px; }
    .hp-has-card .hp-hero-text { max-width: none; }
    .hp-has-card .st-hero-actions { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
    .hp-has-card .st-hero-actions .st-btn { width: auto; max-width: none; }
    .hp-hero-cardwrap { position: static; display: block; padding-top: 20px; padding-bottom: 8px; }
    .hp-card { width: 100%; box-shadow: 0 12px 30px rgba(6, 41, 91, .12); border: 1px solid var(--color-card-line); padding: 22px 18px; }
    .hp-svc-top { margin-bottom: 26px; }
    .hp-arrows { display: none; }
    .hp-slide { flex-basis: 76vw; height: 420px; padding: 22px; }
    .hp-slide-wide { flex-basis: 86vw; }
    .hp-slide-wide .hp-slide-title { font-size: 2.125rem; }
    .hp-track-row { margin-top: 26px; }
    .hp-track-hint { display: none; }
    .hp-ft-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hp-ft-photo { aspect-ratio: 4 / 3; }
    .hp-dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
    .hp-dest-tile { padding: 14px; }
    .hp-dest-grid .hp-dest-tile { grid-column: span 1; grid-row: span 1; }
    .hp-dest-grid .hp-dest-1 { grid-column: span 2; }
    .hp-dest-count-2 .hp-dest-2, .hp-dest-count-4 .hp-dest-4, .hp-dest-count-6 .hp-dest-6, .hp-dest-count-8 .hp-dest-8 { grid-column: span 2; }
    .hp-dest-name { font-size: 1.5rem; }
    .hp-dest-1 .hp-dest-name { font-size: 2rem; }
    .hp-team-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 32px;
        -webkit-mask-image: linear-gradient(to right, #000 90%, transparent); mask-image: linear-gradient(to right, #000 90%, transparent); }
    .hp-team-row::-webkit-scrollbar { display: none; }
    .hp-member { flex: 0 0 44%; scroll-snap-align: start; }
    .hp-team .st-scroll-btn { display: flex; top: 30%; width: 36px; height: 36px; }
    .hp-team .st-scroll-btn-prev { left: 2px; }
    .hp-team .st-scroll-btn-next { right: 2px; }
    .hp-points { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
    .hp-points > div, .hp-points > div:first-child { padding: 20px 0; }
    .hp-points > div + div { border-left: 0; border-top: 1px solid var(--color-border); }
    .hp-tabs { display: flex; }
    .hp-tabs button { flex: 1; padding: 0 10px; letter-spacing: .06em; }
    .hp-pane-desc { margin-bottom: 22px; }
    .hp-cta { padding: 76px 0; }
    .hp-cta h2.hp-cta-title { font-size: 2.25rem; }
}
@media (max-width: 560px) {
    .hp-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .hp-cta-actions .st-btn { width: 100%; }
}

/* ---- White and grey in turn ------------------------------------------------------------
   Each block under the hero sits in a band (HomeBands.cs) that alternates white and grey
   in the order the blocks are shown, so moving or hiding a block in Admin > Trang chu (homepage) keeps
   the pattern. The logo strip takes the colour of the block above it; the review score
   strip and the closing call keep their own. */
.hp-tone-w > section, .hp-tone-w > div > section.st-section { background-color: #fff; }
.hp-tone-g > section, .hp-tone-g > div > section.st-section { background-color: var(--color-muted-bg); }

/* ---- Multi-day tours over a photo (Admin > homepage > tours > background photo) ------
   The photo fills the block under a dark blue layer, stronger at the top and the bottom
   where the heading and the button are; the cards stay white. */
.hp-tours-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--color-primary-dark); }
.hp-tours-photo > img.hp-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hp-tours-photo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(4, 29, 64, .8) 0%, rgba(4, 29, 64, .52) 48%, rgba(4, 29, 64, .8) 100%); }
.hp-band .hp-tours-photo > .st-section, .hp-tours-photo > .st-section { background: transparent; }
/* The headings' ink is set with !important in 20.sondax-refined.css. */
.hp-tours-photo .st-section-header .st-section-title { color: #fff !important; }
.hp-tours-photo .st-section-header .st-section-desc { color: rgba(255, 255, 255, .9); }
.hp-tours-photo .st-section-header .st-sub-label { color: #f2cf7e; }
.hp-tours-photo .st-btn-outline { color: #fff; border-color: rgba(255, 255, 255, .75); background: transparent; }
.hp-tours-photo .st-btn-outline:hover, .hp-tours-photo .st-btn-outline:focus-visible { background: #fff; color: var(--color-ink); border-color: #fff; }

/* ---- Travel guides: the newest large on the left, the next three as a list ---------------
   Titles sit on the page under or beside the pictures (SubHomeBlog.ascx.cs). */
.hp-guides { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; margin-top: 36px; align-items: start; }
.hp-guides-1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.hp-guides a { color: inherit; text-decoration: none; }
.hp-guide-img { overflow: hidden; border-radius: var(--radius); background: var(--color-muted-bg); }
.hp-guide-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hp-guides a:hover .hp-guide-img img, .hp-guides a:focus-visible .hp-guide-img img { transform: scale(1.04); }
.hp-guide-lead { display: block; }
.hp-guide-lead .hp-guide-img { aspect-ratio: 16 / 10; }
.hp-guide-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hp-guide-lead .hp-guide-body { padding-top: 22px; gap: 10px; }
.hp-guide-cat { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-text); }
.hp-guides .hp-guide-title { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--color-ink); font-size: 1.25rem; line-height: 1.28;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; transition: color .2s ease; }
.hp-guides .hp-guide-lead .hp-guide-title { font-size: 2rem; line-height: 1.18; -webkit-line-clamp: 2; line-clamp: 2; }
.hp-guides a:hover .hp-guide-title, .hp-guides a:focus-visible .hp-guide-title { color: var(--color-brand); }
.hp-guide-desc { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--color-soft);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.hp-guide-meta { font-size: .75rem; color: var(--color-soft); }
.hp-guide-list { display: flex; flex-direction: column; }
.hp-guide-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--color-border); }
.hp-guide-row:first-child { padding-top: 0; }
.hp-guide-row:last-child { padding-bottom: 0; border-bottom: 0; }
.hp-guide-row .hp-guide-img { aspect-ratio: 4 / 3; }
@media (prefers-reduced-motion: reduce) { .hp-guide-img img { transition: none; } .hp-guides a:hover .hp-guide-img img { transform: none; } }
@media (max-width: 1100px) {
    .hp-guides { gap: 32px; }
    .hp-guide-row { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
    .hp-guides .hp-guide-lead .hp-guide-title { font-size: 1.75rem; }
}
@media (max-width: 900px) {
    .hp-guides { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 767px) {
    .hp-guides { margin-top: 24px; }
    .hp-guide-row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
    .hp-guides .hp-guide-title { font-size: 1.0625rem; }
    .hp-guides .hp-guide-lead .hp-guide-title { font-size: 1.5rem; }
    .hp-guide-lead .hp-guide-body { padding-top: 16px; }
}

/* Phones and tablets: no fast track card under the hero (12 Nov 2026). It filled the first two
   screens with one product, and visitors took Sondax for an airport service only; the services
   row right below shows fast track next to tours, day tours and classes. Computers keep it. */
@media (max-width: 900px) {
    .hp-hero.hp-has-card > .hp-hero-cardwrap { display: none; }
}
