/*
 * Additions made while cutting the QT Travel theme into Blade.
 * Loaded after theme.css. Keep this file small: the theme's own CSS stays the
 * visual source of truth.
 */

/* The real menu is four levels deep (Dịch vụ > Chương trình tour > Nước ngoài
 * > Châu Á). theme.css opens every nested sub-dropdown on the first hover
 * because it uses a descendant selector; open one level at a time instead. */
.kadeka-dropdown li.has-sub:hover .kadeka-sub-dropdown .kadeka-sub-dropdown {
    opacity: 0;
    visibility: hidden;
}
.kadeka-dropdown .kadeka-sub-dropdown li.has-sub:hover > .kadeka-sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.kadeka-mobile-menu .kadeka-mobile-sub { padding-left: 15px; }

/* Dropdown panels: size to the longest label instead of wrapping it
 * ("Hướng dẫn hồ sơ Visa Nhật Bản" broke over three lines), highlight rows
 * without shifting the text, and bridge the gaps between levels so the
 * pointer can travel into a sub-panel without it closing. */
.kadeka-dropdown,
.kadeka-sub-dropdown {
    width: max-content;
    min-width: 230px;
    max-width: 340px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(17, 61, 72, .22) !important;
}
.kadeka-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}
.kadeka-sub-dropdown { top: -9px; margin-left: 6px; }
.kadeka-sub-dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    width: 10px;
}
.kadeka-dropdown a {
    gap: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}
.kadeka-dropdown a:hover,
.kadeka-dropdown li.has-sub:hover > a {
    padding-left: 14px;
    background: rgba(255, 255, 255, .12);
    color: #eac206;
}
.kadeka-dropdown a svg { flex-shrink: 0; opacity: .7; }

/* theme.css hides `.bg` until Flatsome's JS adds `bg-loaded`; that script is
 * not part of the cut, so imported WordPress sections show their background
 * image straight away. */
.section-bg > .bg { opacity: 1; }
/* The copied flatsome.css lacks Flatsome's cover rule for section background
 * images (it shipped in another bundle on the WordPress site). */
.section-bg > img.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* One typeface for the whole storefront. Be Vietnam Pro carries every
 * Vietnamese diacritic; change the font here only (the theme CSS and Blade
 * refer to var(--qt-font)). Icon fonts (fl-icons, matbaows-icons) and code
 * blocks keep their own families. */
:root {
    --qt-font: 'Be Vietnam Pro', sans-serif;
    --text-font-family: var(--qt-font);
    --heading-font-family: var(--qt-font);
    --nav-font-family: var(--qt-font);
    --alt-font-family: var(--qt-font);
}
body,
h1, h2, h3, h4, h5, h6,
.heading-font, .alt-font, .nav > li > a,
button, input, select, textarea, .button {
    font-family: var(--qt-font);
}

/* Be Vietnam Pro stacks tone marks above capitals (Ẵ, Ấ, Ổ); the hero's
 * kinetic mask clipped them at line-height 1. A taller line box keeps them
 * inside the mask without shifting the slide animation (the incoming title
 * uses the same line box); the smaller margin keeps the block height. */
.foxico-title { line-height: 1.45; }
.foxico-title-mask { height: 120px; margin-bottom: 0; }

/* "Tour trải nghiệm" cards reuse the Tour Categories card (theme.css
 * .category-card); in a grid the image follows the column width instead of
 * the carousel's fixed 250px square. */
.qt-tour-grid .qt-tour-grid__item { margin-bottom: 36px; }
.qt-tour-grid .category-card .box-img.global-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 26px;
}
.qt-tour-grid .category-card .box-title.title {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
}
@media (max-width: 549px) {
    .qt-tour-grid .category-card .box-img.global-img { border-radius: 20px; }
    .qt-tour-grid .category-card .box-title.title { font-size: .9375rem; }
}

/* Card titles (Tour Categories and the tour grid): 1rem, heavier weight. */
.category-card .box-title.title { font-size: 1rem; font-weight: 800; }
.category-card .line-btn { font-weight: 700; }

/* The three parallax feature sections (Nước Úc, Côn Minh – Đại Lý, Quý Dương):
 * the image and text drift while scrolling and were clipped by the 30px
 * Flatsome padding; give them 60px of room top and bottom. */
#section_1754091971,
#section_1395498268,
#section_1231730975 {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ------------------------------------------------------------------------
 * Shared news card: <x-client::post-card> (resources/views/client/components)
 * White card with a small inset: the image sits inside the
 * padding, followed by the body, meta rows with icons and a divided footer.
 * --------------------------------------------------------------------- */
.qt-post-card {
    --qt-card-ink: #113D48;
    --qt-card-muted: #6b7280;
    --qt-card-accent: #1CA8CB;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: var(--qt-font);
}
.qt-post-card:not(.qt-post-card--compact) {
    padding: 8px;
    border: 1px solid #e6edf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.qt-post-card a { text-decoration: none; }
.qt-post-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #eef3f5;
}
.qt-post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.qt-post-card:hover .qt-post-card__media img { transform: scale(1.06); }
.qt-post-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 8px 4px;
}
.qt-post-card__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qt-post-card__title a { color: var(--qt-card-ink); }
.qt-post-card__title a:hover { color: var(--qt-card-accent); }
.qt-post-card__excerpt {
    margin: 0 0 12px;
    color: var(--qt-card-muted);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qt-post-card__meta {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 6px;
}
.qt-post-card__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--qt-card-ink);
    font-size: 14px;
    font-weight: 500;
}
.qt-post-card__meta a { color: inherit; }
.qt-post-card__meta a:hover { color: var(--qt-card-accent); }
.qt-post-card svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--qt-card-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.qt-post-card__footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #d8e1e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.qt-post-card__reading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--qt-card-muted);
    font-size: 13px;
    font-weight: 600;
}
.qt-post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--qt-card-ink) !important;
    font-size: 15px;
    font-weight: 800;
}
.qt-post-card__more svg { stroke: currentColor; transition: transform .25s ease; }
.qt-post-card__more:hover svg { transform: translateX(3px); }

/* Compact variant: footer and sidebar lists. */
.qt-post-card--compact {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: auto;
    margin-bottom: 14px;
}
.qt-post-card--compact .qt-post-card__thumb {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
}
.qt-post-card--compact .qt-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qt-post-card--compact .qt-post-card__title { margin: 0 0 2px; font-size: 14px; }
.qt-post-card__date { color: var(--qt-card-muted); font-size: 12px; }

/* Grid wrapper for pages that list post cards. */
.qt-post-grid { display: grid; grid-template-columns: repeat(var(--qt-post-cols, 3), minmax(0, 1fr)); gap: 28px; }
@media (max-width: 849px) { .qt-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .qt-post-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------------
 * "About" split feature (home Côn Minh – Đại Lý section): copy left, main
 * photo with a tilted overlapping photo right, dashed flight path behind.
 * --------------------------------------------------------------------- */
.qt-about { position: relative; overflow: hidden; background: #fff; }
.qt-about .section-content { z-index: 1; }
.qt-about__path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.qt-about__path path {
    fill: none;
    stroke: rgba(53, 100, 154, .35);
    stroke-width: 1.4;
    stroke-dasharray: 7 7;
    vector-effect: non-scaling-stroke;
}
.qt-about__plane {
    position: absolute;
    left: 43%;
    bottom: 34px;
    width: 42px;
    height: 28px;
    transform: rotate(-12deg);
    fill: #fff;
    stroke: #35649a;
    stroke-width: 1.4;
    stroke-linejoin: round;
    pointer-events: none;
}
.qt-about__row { max-width: 1240px; }
.qt-about__copy { padding-right: 24px; }
.qt-about__title {
    margin: 0 0 20px;
    color: #113D48;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}
.qt-about__title em, .qt-about__title strong { color: #35649a; }
.qt-about__text {
    margin: 0 0 28px;
    color: #5b6b73;
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
}
/* Button: hero .th-btn.tourm-btn (theme.css) for colour and sweep effect. */

.qt-about__media { position: relative; padding: 0 12% 18% 0; }
.qt-about__photo { overflow: hidden; }
.qt-about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qt-about__photo--main {
    aspect-ratio: 4 / 5;
    max-width: 440px;
    border-radius: 10px;
}
.qt-about__photo--overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 4 / 5;
    border: 6px solid #fff;
    border-radius: 12px;
    box-shadow: 0 24px 50px rgba(17, 61, 72, .22);
    transform: rotate(8deg);
    transform-origin: 50% 50%;
}
@media (max-width: 849px) {
    .qt-about__copy { padding-right: 0; margin-bottom: 28px; }
    .qt-about__plane, .qt-about__path { display: none; }
    .qt-about__media { max-width: 520px; margin: 0 auto; }
}

/* ------------------------------------------------------------------------
 * Hero (#hero-foxico) responsive. The demo only had one breakpoint, which on
 * phones left the copy under the header, a squeezed column beside the
 * timeline, oversized cards and the arrows sitting on top of them.
 * Card sizes are read from CSS by theme.js, so resizing them here is safe.
 * --------------------------------------------------------------------- */
@media (max-width: 991px) {
    .foxico-hero { min-height: 0; padding: 110px 0 110px; }
    .foxico-container { gap: 36px; padding: 0 24px; }
    .foxico-left-col { padding-bottom: 0; }
    .foxico-right-col { height: auto; }
    .foxico-bottom-bar { bottom: 32px; padding: 0 24px; }
}
@media (max-width: 767px) {
    .foxico-hero { padding: 96px 0 100px; }
    .foxico-container { gap: 28px; padding: 0 16px; }
    .foxico-left-col { gap: 0; }
    .foxico-timeline { display: none; }
    .foxico-subtitle { font-size: .72rem; letter-spacing: 1.5px; }
    .foxico-title { font-size: 2.6rem; letter-spacing: 1px; }
    .foxico-title-mask { height: 72px; margin-bottom: 6px; }
    .foxico-desc { font-size: .95rem; line-height: 1.65; }
    .foxico-desc-mask { min-height: 0; margin-bottom: 24px; }
    .foxico-btn { padding: 13px 28px; }
    .foxico-cards-wrapper { gap: 14px; }
    .foxico-card-item { width: 150px; height: 210px; border-radius: 14px; }
    .foxico-card-header { top: 10px; left: 10px; right: 10px; }
    .foxico-card-tag { font-size: .72rem; }
    .foxico-card-bookmark { width: 28px; height: 28px; }
    .foxico-bottom-bar { bottom: 28px; padding: 0 16px; }
    .foxico-nav-buttons { gap: 10px; }
    .foxico-nav-btn { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
    .foxico-title { font-size: 2.2rem; }
    .foxico-title-mask { height: 62px; }
    .foxico-card-item { width: 132px; height: 186px; }
}

/* ------------------------------------------------------------------------
 * "Những gì chúng tôi cung cấp" (home #section_1177808464): real services,
 * hero-style .th-btn.tourm-btn buttons pinned to the bottom of each box.
 * --------------------------------------------------------------------- */
.qt-offer #row-466711803 > .col > .col-inner { height: 100%; }
.qt-offer__box { display: flex; flex-direction: column; height: 100%; }
.qt-offer__box .icon-box-text { display: flex; flex-direction: column; flex: 1; align-items: center; }
.qt-offer__box h4 { margin-bottom: 8px; color: #113D48; font-size: 1.05rem; font-weight: 800; }
.qt-offer__box p { flex: 1; margin-bottom: 20px; }
.qt-offer__icon { display: block; width: 90px; height: auto; overflow: visible; }
.qt-offer__button { padding: 11px 26px; font-size: .9rem; }
.qt-offer__icon .qt-offer__dot { fill: #FFD200 !important; }
.qt-offer__icon .qt-offer__lines, .qt-offer__icon .qt-offer__lines * {
    fill: none !important;
    stroke: #74BFFE;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ------------------------------------------------------------------------
 * Blog: archives (3 cards + sidebar), post detail and the shared sticky
 * sidebar with its auto-generated table of contents.
 * --------------------------------------------------------------------- */
.qt-blog { --qt-ink: #113D48; --qt-blue: #35649a; --qt-accent: #1CA8CB; --qt-muted: #6b7a82; --qt-line: #e6edf0; }
.qt-blog .qt-post-grid { gap: 24px; }
.qt-blog__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #f3f7f9;
}
.qt-blog__count { margin: 0; color: var(--qt-muted); font-size: 14px; }
.qt-blog__intro { margin-bottom: 24px; }
.qt-blog .qt-pagination, .qt-blog .pagination { margin-top: 36px; }
@media (min-width: 850px) and (max-width: 1100px) {
    .qt-blog .qt-post-grid[style*="--qt-post-cols: 3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sidebar */
.qt-sidebar { height: 100%; }
.qt-sidebar__sticky { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 850px) {
    .qt-sidebar__sticky {
        position: sticky;
        top: 96px;
        max-height: calc(100vh - 116px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #c9d6dc transparent;
        padding-right: 4px;
    }
}
@media (max-width: 849px) { .qt-sidebar { margin-top: 32px; } }
.qt-widget {
    padding: 20px;
    border: 1px solid var(--qt-line, #e6edf0);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
}
.qt-widget__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 13px 18px;
    border-radius: 12px;
    background: var(--qt-blue, #35649a);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}
.qt-widget__title svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qt-search svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--qt-blue, #35649a);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.qt-widget .qt-post-card--compact:last-child { margin-bottom: 0; }

.qt-search { position: relative; display: flex; margin: 0; }
.qt-search input[type="search"] {
    height: 46px;
    margin: 0;
    padding: 0 52px 0 18px;
    border: 1px solid var(--qt-line, #e6edf0);
    border-radius: 999px;
    background: #f6f9fa;
    box-shadow: none;
    font-size: 14px;
}
.qt-search input[type="search"]:focus { border-color: var(--qt-blue, #35649a); background: #fff; }
.qt-search button {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--qt-blue, #35649a);
    transition: background-color .25s ease;
}
.qt-search button:hover { background: var(--qt-ink, #113D48); }
.qt-search button svg { stroke: #fff; }

.qt-cats { margin: 0; padding: 0; list-style: none; }
.qt-cats--sub { margin: 0 0 2px 10px; padding-left: 8px; border-left: 1px dashed #d5e1e6; }
.qt-cats__item { margin: 0; }
.qt-cats__row { display: flex; align-items: center; gap: 2px; }
.qt-cats__row > a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 8px 8px;
    border-radius: 8px;
    color: var(--qt-ink, #113D48);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.qt-cats--sub .qt-cats__row > a { font-size: 14px; font-weight: 500; }
.qt-cats__row > a span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qt-cats__row > a:hover,
.qt-cats__row > a.is-active { background: #eef4f7; color: var(--qt-blue, #35649a); }
.qt-cats__toggle {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 28px;
    height: 28px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: var(--qt-blue, #35649a);
    transition: color .2s ease, background-color .2s ease;
}
.qt-cats__toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.qt-cats__toggle:hover { background: #eef4f7; color: var(--qt-ink, #113D48); }
.qt-cats__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

/* Table of contents */
.qt-toc__list {
    position: relative;
    max-height: min(52vh, 460px);
    margin: 0;
    padding: 0 4px 0 0;
    overflow-y: auto;
    list-style: none;
    counter-reset: qt-toc;
    scrollbar-width: thin;
    scrollbar-color: #c9d6dc transparent;
}
.qt-toc__item { margin: 0; }
.qt-toc__item a {
    display: block;
    padding: 7px 10px 7px 12px;
    border-left: 2px solid var(--qt-line, #e6edf0);
    color: #4b5d66;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.qt-toc__item--0 > a { counter-increment: qt-toc; font-weight: 600; }
.qt-toc__item--0 > a::before { content: counter(qt-toc) ". "; color: var(--qt-accent, #1CA8CB); }
.qt-toc__item--1 > a { padding-left: 26px; font-size: 13.5px; }
.qt-toc__item a:hover { color: var(--qt-blue, #35649a); background: #f3f7f9; }
.qt-toc__item a.is-active {
    border-left-color: var(--qt-blue, #35649a);
    background: #eef4f7;
    color: var(--qt-blue, #35649a);
    font-weight: 700;
}
@media (max-width: 849px) { .qt-sidebar .qt-toc { display: none; } }

/* Post detail */
.qt-article {
    padding: 36px 40px;
    border: 1px solid var(--qt-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
}
.qt-article__header { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px dashed var(--qt-line); }
.qt-article__category {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #eef4f7;
    color: var(--qt-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.qt-article__category:hover { background: var(--qt-blue); color: #fff; }
.qt-article__title {
    margin: 0 0 14px;
    color: var(--qt-ink);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
}
.qt-article__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.qt-article__meta li { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--qt-muted); font-size: 14px; }
.qt-article__meta svg { width: 17px; height: 17px; fill: none; stroke: var(--qt-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.qt-article__toc {
    margin-bottom: 26px;
    border: 1px solid var(--qt-line);
    border-radius: 14px;
    background: #f6f9fa;
}
.qt-article__toc summary { padding: 14px 18px; color: var(--qt-ink); font-weight: 800; cursor: pointer; }
.qt-article__toc ol { margin: 0; padding: 0 18px 14px 36px; }
.qt-article__toc li { margin: 6px 0; }
.qt-article__toc .qt-toc__item--1 { margin-left: 16px; list-style: circle; }
.qt-article__toc a { color: var(--qt-blue); }
@media (min-width: 850px) { .qt-article__toc { display: none; } }

/* Imported WordPress bodies carry inline fonts, sizes and colours; the
 * article typography wins so every post reads the same. */
.qt-article__body { color: #3b4a52; font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.qt-article__body *:not([class*="ql-font-"]) { font-family: inherit !important; }
.qt-article__body p:not([class*="ql-size-"]),
.qt-article__body span:not([class*="ql-size-"]),
.qt-article__body li:not([class*="ql-size-"]) { font-size: inherit !important; line-height: inherit; }
.qt-article__body p { margin: 0 0 .7em; }
.qt-article__body h1,
.qt-article__body h2,
.qt-article__body h3,
.qt-article__body h4 {
    margin: 1.4em 0 .5em;
    color: var(--qt-ink) !important;
    font-weight: 800;
    line-height: 1.35;
    scroll-margin-top: 110px;
}
.qt-article__body h1, .qt-article__body h2 { font-size: 1.5rem !important; }
.qt-article__body h3 { font-size: 1.25rem !important; }
.qt-article__body h4 { font-size: 1.1rem !important; }
/* Size and colour chosen in the editor inside a heading are kept; everything else follows the heading. */
.qt-article__body h1 *:not([class*="ql-size-"]), .qt-article__body h2 *:not([class*="ql-size-"]), .qt-article__body h3 *:not([class*="ql-size-"]), .qt-article__body h4 *:not([class*="ql-size-"]) { font-size: inherit !important; }
.qt-article__body > :first-child { margin-top: 0; }
.qt-article__body a { color: var(--qt-blue); text-decoration: underline; text-underline-offset: 3px; }
.qt-article__body a:hover { color: var(--qt-accent); }
.qt-article__body img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 1.4em auto;
    border-radius: 14px;
}
.qt-article__body figure { max-width: 100%; margin: 1.4em 0; }
.qt-article__body figure img { margin: 0 auto; }
.qt-article__body figcaption { margin-top: 8px; color: var(--qt-muted); font-size: 14px; text-align: center; }
.qt-article__body ul, .qt-article__body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.qt-article__body li { margin-bottom: .35em; }
.qt-article__body ul li::marker { color: var(--qt-accent); }
.qt-article__body blockquote {
    margin: 1.5em 0;
    padding: 18px 22px;
    border: 0;
    border-left: 4px solid var(--qt-accent);
    border-radius: 0 12px 12px 0;
    background: #f3f9fb;
    color: var(--qt-ink);
    font-style: italic;
}
.qt-article__body table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: .95rem; }
.qt-article__body th, .qt-article__body td { padding: 10px 12px; border: 1px solid var(--qt-line); }
.qt-article__body th { background: #f3f7f9; color: var(--qt-ink); }
.qt-article__body iframe { max-width: 100%; border-radius: 12px; }
.qt-article__body hr { margin: 2em 0; border: 0; border-top: 1px dashed var(--qt-line); }

.qt-article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px dashed var(--qt-line);
    color: var(--qt-ink);
}
.qt-article__tags a {
    padding: 5px 12px;
    border-radius: 999px;
    background: #eef4f7;
    color: var(--qt-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.qt-article__tags a:hover { background: var(--qt-blue); color: #fff; }

.qt-related { margin-top: 44px; }
.qt-related__title { margin: 0 0 20px; color: var(--qt-ink); font-size: 1.4rem; font-weight: 800; }
@media (max-width: 549px) {
    .qt-article { padding: 22px 18px; border-radius: 16px; }
    .qt-article__body { font-size: 1rem; }
}

/* ------------------------------------------------------------------------
 * Contact page (/lien-he/): form card over the banner, contact columns, FAQ.
 * Layout after the thienan-tech contact page, in the QT Travel palette.
 * --------------------------------------------------------------------- */
.qt-contact { --qt-ink: #113D48; --qt-blue: #35649a; --qt-accent: #1CA8CB; --qt-muted: #6b7a82; --qt-line: #e6edf0; background: #fff; }
.qt-inner.qt-contact .page-banner { padding-bottom: 170px; }
.qt-contact__lift { position: relative; z-index: 2; margin-top: -120px; padding-bottom: 70px; }
.qt-contact__card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(17, 61, 72, .14);
}
.qt-contact__media { position: relative; min-height: 440px; }
.qt-contact__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.qt-contact__hotline {
    position: absolute;
    left: -14px;
    bottom: -14px;
    max-width: 78%;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--qt-ink);
    color: #fff;
    box-shadow: 0 16px 36px rgba(17, 61, 72, .3);
}
.qt-contact__hotline p { margin: 0 0 6px; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.5; }
.qt-contact__hotline a { display: inline-flex; align-items: center; gap: 10px; color: #eac206; font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.qt-contact__hotline svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.qt-contact__form-wrap { padding: 8px 4px 4px 0; }
.qt-contact__title { margin: 0 0 10px; color: var(--qt-ink); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; }
.qt-contact__intro { margin: 0 0 24px; color: var(--qt-muted); line-height: 1.7; }
.qt-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qt-field { display: block; margin: 0; }
.qt-field--full { grid-column: 1 / -1; }
.qt-field input,
.qt-field select,
.qt-field textarea {
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f5f7;
    box-shadow: none;
    color: var(--qt-ink);
    font-size: 15px;
    transition: border-color .2s ease, background-color .2s ease;
}
.qt-field input,
.qt-field select,
.qt-field textarea { font-weight: 400; }
.qt-field input::placeholder,
.qt-field textarea::placeholder { color: #7b8a91; font-weight: 400; opacity: 1; }
.qt-field textarea { height: auto; min-height: 140px; padding: 16px 20px; border-radius: 18px; resize: vertical; }
.qt-field select {
    appearance: none;
    padding-right: 52px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2335649a'/%3E%3Cpath d='m8 10 4 4 4-4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 28px;
}
.qt-field input:focus,
.qt-field select:focus,
.qt-field textarea:focus { border-color: var(--qt-blue); background-color: #fff; outline: none; }
.qt-contact__status { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.qt-contact__status.is-success { background: #e8f6ee; color: #1d7a46; }
.qt-contact__status.is-error { background: #fdecec; color: #b42318; }
.qt-contact__submit { margin-top: 22px; text-transform: none; letter-spacing: 0; }
.qt-contact__submit:disabled { opacity: .6; cursor: wait; }

.qt-contact__heading { margin: 0 0 36px; color: var(--qt-ink); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.25; }

.qt-contact__info { padding: 30px 0 70px; }
.qt-contact__column { height: 100%; padding: 4px 0 4px 22px; border-left: 2px solid var(--qt-accent); }
.qt-contact__column h3 { margin: 0 0 14px; color: var(--qt-ink); font-size: 1.15rem; font-weight: 800; }
.qt-contact__column p { margin: 0 0 12px; color: var(--qt-muted); line-height: 1.7; }
.qt-contact__column ul { margin: 0; padding: 0; list-style: none; }
.qt-contact__column li { margin: 0 0 10px; color: var(--qt-muted); line-height: 1.6; }
.qt-contact__column li span { color: var(--qt-ink); font-weight: 700; }
.qt-contact__column a { color: var(--qt-blue); text-decoration: none; }
.qt-contact__column a:hover { color: var(--qt-accent); }

.qt-contact__faq { padding: 70px 0 80px; background: #f3f7f9; }
.qt-faq { border-top: 1px solid #d8e2e7; }
.qt-faq__item { border-bottom: 1px solid #d8e2e7; }
.qt-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    color: var(--qt-ink);
    font-size: 1.05rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}
.qt-faq__item summary::-webkit-details-marker { display: none; }
.qt-faq__item summary i {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    transition: background-color .25s ease;
}
.qt-faq__item summary i::before,
.qt-faq__item summary i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    background: var(--qt-blue);
    transition: transform .25s ease, background-color .25s ease;
}
.qt-faq__item summary i::after { transform: rotate(90deg); }
.qt-faq__item[open] summary i { background: var(--qt-blue); }
.qt-faq__item[open] summary i::before,
.qt-faq__item[open] summary i::after { background: #fff; }
.qt-faq__item[open] summary i::after { transform: rotate(0deg); }
.qt-faq__item p { max-width: 820px; margin: -4px 0 22px; color: var(--qt-muted); line-height: 1.75; }

@media (max-width: 849px) {
    .qt-contact__card { grid-template-columns: 1fr; gap: 28px; padding: 20px; }
    .qt-contact__media { min-height: 280px; margin-bottom: 20px; }
    .qt-contact__hotline { left: 12px; bottom: -20px; max-width: calc(100% - 24px); }
}
@media (max-width: 549px) {
    .qt-contact__grid { grid-template-columns: 1fr; }
    .qt-contact__lift { margin-top: -90px; }
    .qt-inner.qt-contact .page-banner { padding-bottom: 130px; }
}

/* ------------------------------------------------------------------------
 * Inner company pages: /gioi-thieu/ (about) and /dich-vu/ (services).
 * --------------------------------------------------------------------- */
.qt-page { --qt-ink: #113D48; --qt-blue: #35649a; --qt-accent: #1CA8CB; --qt-muted: #5b6b73; --qt-line: #e6edf0; background: #fff; }
.qt-page__intro { padding-top: 80px; padding-bottom: 80px; }
.qt-page__intro .qt-about__text { margin-bottom: 18px; }
.qt-page__intro .qt-about__button { margin-top: 10px; }

.qt-section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.qt-section-head__title {
    margin: 0 0 12px;
    color: var(--qt-ink);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
}
.qt-section-head__text { margin: 0; color: var(--qt-muted); font-size: 1.02rem; line-height: 1.7; }
.qt-section-head--light .qt-section-head__title { color: #fff; }
.qt-section-head--light .qt-section-head__text { color: rgba(255, 255, 255, .78); }
.qt-section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    text-align: left;
}
@media (max-width: 849px) { .qt-section-head--split { flex-direction: column; align-items: flex-start; } }

/* Vision & mission: white band laid out like the reference (title top-left,
 * tilted photos, copy with two feature rows, collage off the right edge). */
.qt-mv { position: relative; overflow: hidden; padding: 60px 0 40px; background: #fff; }
.qt-mv__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, 1fr);
    grid-template-areas:
        "title title ."
        "photos copy .";
    column-gap: 40px;
    max-width: 1560px;
    margin: 0 0 0 max(20px, calc((100vw - 1250px) / 2));
}
.qt-mv__title {
    grid-area: title;
    max-width: 780px;
    margin: 0 0 40px;
    color: var(--qt-ink);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
}
.qt-mv__title em { color: #7b8a91; font-style: italic; font-weight: 700; }
.qt-mv__photos { grid-area: photos; position: relative; min-height: 520px; }
.qt-mv__photo {
    position: absolute;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(17, 61, 72, .22);
}
.qt-mv__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qt-mv__photo--back { top: 40px; left: 0; width: 66%; height: 440px; transform: rotate(-14deg); transform-origin: 60% 40%; }
.qt-mv__photo--front { top: 0; right: 0; width: 44%; height: 330px; transform: rotate(0deg); z-index: 1; }
.qt-mv__copy { grid-area: copy; align-self: start; padding-top: 4px; }
.qt-mv__text { margin: 0 0 26px; color: var(--qt-muted); font-size: 1.02rem; line-height: 1.75; }
.qt-mv__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 20px 24px;
    border: 1px solid #d9dfe2;
    border-radius: 10px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.qt-mv__item:hover { border-color: var(--qt-blue); box-shadow: 0 14px 30px rgba(17, 61, 72, .08); }
.qt-mv__icon { flex-shrink: 0; width: 76px; height: 76px; }
.qt-mv__icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qt-mv__item-title { margin: 0 0 6px; color: #111; font-size: 1.2rem; font-weight: 800; }
.qt-mv__item-text { margin: 0; color: var(--qt-muted); line-height: 1.65; }
.qt-mv__button { margin-top: 8px; }
.qt-mv__grid { position: static; }
.qt-mv__title, .qt-mv__photos, .qt-mv__copy { position: relative; z-index: 1; }
/* As in the reference: out of flow, anchored bottom right, behind the copy. */
.qt-mv__collage { position: absolute; right: -4%; bottom: 0; z-index: 0; width: min(46vw, 760px); pointer-events: none; }
.qt-mv__collage img { display: block; width: 100%; height: auto; }
@media (max-width: 1199px) {
    .qt-mv__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "title title" "photos copy";
        margin: 0 auto;
        padding: 0 24px;
    }
    .qt-mv__collage { width: 46vw; right: -6%; opacity: .35; }
}
@media (max-width: 849px) {
    .qt-mv { padding: 48px 0 32px; }
    .qt-mv__grid { grid-template-columns: 1fr; grid-template-areas: "title" "photos" "copy"; padding: 0 16px; }
    .qt-mv__collage { display: none; }
            .qt-mv__photos { width: 88%; min-height: 400px; margin: 0 auto 30px; }
    .qt-mv__photo--back { top: 30px; height: 340px; }
    .qt-mv__photo--front { height: 250px; }
}

/* Business philosophy */
.qt-philosophy { padding: 0 0 80px; }
.qt-philosophy__grid > .col { padding-bottom: 20px; }
.qt-philosophy__card {
    position: relative;
    height: 100%;
    padding: 30px 28px;
    border: 1px solid var(--qt-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.qt-philosophy__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17, 61, 72, .12); }
.qt-philosophy__num {
    display: block;
    margin-bottom: 14px;
    color: var(--qt-accent);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}
.qt-philosophy__card h3 { margin: 0 0 10px; color: var(--qt-ink); font-size: 1.15rem; font-weight: 800; }
.qt-philosophy__card p { margin: 0; color: var(--qt-muted); line-height: 1.75; }

/* Core values */
.qt-values { padding: 80px 0 60px; background: #f3f7f9; }
.qt-values__grid > .col { padding-bottom: 20px; }
.qt-values__card { height: 100%; padding: 30px 24px; border-radius: 18px; background: #fff; text-align: center; }
.qt-values__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #eef4f7;
    transition: background-color .3s ease;
}
.qt-values__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--qt-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qt-values__card:hover .qt-values__icon { background: var(--qt-blue); }
.qt-values__card:hover .qt-values__icon svg { stroke: #fff; }
.qt-values__card h3 { margin: 0 0 10px; color: var(--qt-ink); font-size: 1.15rem; font-weight: 800; }
.qt-values__card p { margin: 0; color: var(--qt-muted); font-size: .95rem; line-height: 1.7; }

/* Services: offerings */
.qt-services { padding: 80px 0 60px; }
.qt-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 849px) { .qt-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .qt-services__grid { grid-template-columns: 1fr; } }
.qt-service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px;
    border: 1px solid var(--qt-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    color: inherit;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}
.qt-service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17, 61, 72, .12); color: inherit; }
.qt-service-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #eef3f5;
}
.qt-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.qt-service-card:hover .qt-service-card__media img { transform: scale(1.06); }
.qt-service-card__num {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--qt-blue);
    color: #fff;
    font-weight: 800;
}
.qt-service-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px 10px 8px; }
.qt-service-card__title { margin-bottom: 8px; color: var(--qt-ink); font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.qt-service-card__text { flex: 1; margin-bottom: 14px; color: var(--qt-muted); font-size: .95rem; line-height: 1.65; }
.qt-service-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--qt-blue); font-weight: 700; }
.qt-service-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.qt-service-card:hover .qt-service-card__more svg { transform: translateX(4px); }

/* Services: recent trips */
.qt-trips { padding: 80px 0 40px; }


/* Services page: one fixed photo behind the page. The two section heads are
 * transparent "windows" onto it (a light tint keeps white text readable);
 * everything else stays opaque. A fixed pseudo-element instead of
 * background-attachment: fixed, which iOS Safari ignores. */
/* clip-path (unlike overflow) also clips the fixed layer, so the photo stays
 * inside the page and never shows through the transparent footer. */
.qt-inner.qt-page--services { position: relative; z-index: 0; background: transparent; clip-path: inset(0 0 1px 0); }
.qt-page--services::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #113D48 var(--qt-page-bg) center / cover no-repeat;
}
.qt-page--services .qt-services,
.qt-page--services .qt-trips { padding: 0; background: transparent; }
.qt-window { padding: 100px 0 80px; background: linear-gradient(180deg, rgba(17, 61, 72, .35), rgba(17, 61, 72, .55)); }
.qt-window .qt-section-head { margin-bottom: 0; }
.qt-window .qt-section-head__title { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.qt-window .qt-section-head__text { color: rgba(255, 255, 255, .9); }
.qt-window .th-btn { box-shadow: none; }
/* Opaque white body rows, painted edge to edge. */
.qt-services__body,
.qt-trips__body {
    padding-top: 60px;
    padding-bottom: 50px;
    background: #fff;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
}
/* The first band doubles as the page banner: room for the overlaid header. */
.qt-window--hero { padding: 170px 0 90px; background: linear-gradient(180deg, rgba(8, 15, 26, .6) 0%, rgba(17, 61, 72, .35) 45%, rgba(17, 61, 72, .55) 100%); }
.qt-window--hero .qt-section-head__title { font-size: clamp(2rem, 4vw, 3.2rem); }
.qt-window__crumbs { margin-top: 22px; }
/* .qt-inner prefix: inner.css loads later with same-weight breadcrumb rules. */
.qt-inner .qt-window__crumbs .breadcrumb__item,
.qt-inner .qt-window__crumbs .breadcrumb__link,
.qt-inner .qt-window__crumbs .breadcrumb__current { color: rgba(255, 255, 255, .9); }
.qt-inner .qt-window__crumbs .breadcrumb__link:hover { color: #eac206; }
@media (max-width: 549px) { .qt-window--hero { padding: 130px 0 64px; } }
.qt-service-card[hidden] { display: none; }
.qt-services__more { display: flex; justify-content: center; margin-top: 36px; }
.qt-services__more .th-btn[aria-expanded="true"] .arrow-icon { transform: rotate(-90deg); }
/* <button> picks up Flatsome's uppercase; .th-btn > span forces display. */
.qt-services__more .th-btn { text-transform: none; letter-spacing: 0; }
.qt-services__more .th-btn > span[hidden] { display: none; }

/* ------------------------------------------------------------------------
 * Group travel page (/du-lich-doan/): article beside a sticky booking form.
 * Reuses .qt-article, .qt-field, .qt-faq; adds the form card and chips.
 * --------------------------------------------------------------------- */
.qt-group__lead { margin: 0 0 18px; color: var(--qt-muted); font-size: 1.05rem; line-height: 1.75; }
.qt-group__jump { margin-top: 4px; }
@media (min-width: 850px) { .qt-group__jump { display: none; } }
.qt-group__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.4em; }
.qt-group__type { padding: 16px 18px; border: 1px solid var(--qt-line); border-radius: 12px; background: #f8fbfc; }
.qt-article__body .qt-group__type h3 { margin: 0 0 6px; font-size: 1.02rem !important; }
.qt-article__body .qt-group__type p { margin: 0; font-size: .95rem !important; line-height: 1.6; }
.qt-group__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.4em 0; }
.qt-article__body .qt-group__gallery img { width: 100%; height: 240px !important; margin: 0; object-fit: cover; }
.qt-group__article .qt-article__body > figure:first-child { margin-top: 0; }
.qt-group__article .qt-article__body > figure:first-child img { margin-top: 0; }
.qt-group__steps { margin: 0 0 1.4em; padding: 0; list-style: none; counter-reset: qt-step; }
.qt-article__body .qt-group__steps li {
    position: relative;
    margin: 0 0 14px;
    padding: 2px 0 14px 56px;
    border-bottom: 1px dashed var(--qt-line);
    counter-increment: qt-step;
}
.qt-group__steps li::before {
    content: counter(qt-step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1CA8CB, #35649a);
    color: #fff;
    font-weight: 800;
}
.qt-group__steps strong { display: block; color: var(--qt-ink); }
.qt-group__steps span { display: block; color: var(--qt-muted); font-size: .97rem; }
.qt-group__note { color: var(--qt-muted); font-size: .95rem !important; font-style: italic; }
.qt-group .qt-faq { margin-top: 6px; }

.qt-group__aside { height: 100%; }
@media (min-width: 850px) { .qt-group__form-card { position: sticky; top: 96px; } }
@media (max-width: 849px) { .qt-group__aside { margin-top: 32px; } }
.qt-group__form-card {
    padding: 28px 26px;
    border: 1px solid var(--qt-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(17, 61, 72, .12);
}
.qt-group__form-title { margin: 0 0 6px; color: var(--qt-ink); font-size: 1.5rem; font-weight: 800; }
.qt-group__form-intro { margin: 0 0 18px; color: var(--qt-muted); font-size: .95rem; line-height: 1.6; }
.qt-group__form fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.qt-group__form legend {
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--qt-line);
    color: var(--qt-blue);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.qt-group__form .qt-field { display: block; margin-bottom: 12px; }
.qt-group__form .qt-field > span { display: block; margin-bottom: 6px; color: var(--qt-ink); font-size: .88rem; font-weight: 700; }
.qt-group__form .qt-field input,
.qt-group__form .qt-field select,
.qt-group__form .qt-field textarea { height: 46px; border-radius: 12px; font-size: 14.5px; }
.qt-group__form .qt-field textarea { height: auto; min-height: 90px; padding: 12px 16px; }
.qt-group__form .qt-field input[type="date"] { padding-right: 12px; }
.qt-group__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qt-group__two .qt-field { margin-bottom: 12px; }
.qt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qt-chip { margin: 0; cursor: pointer; }
.qt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qt-chip span {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid #d6e1e6;
    border-radius: 999px;
    background: #fff;
    color: #4b5d66;
    font-size: 13px;
    font-weight: 500;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.qt-chip:hover span { border-color: var(--qt-blue); }
.qt-chip input:checked + span { border-color: var(--qt-blue); background: var(--qt-blue); color: #fff; }
.qt-chip input:focus-visible + span { outline: 2px solid var(--qt-accent); outline-offset: 2px; }
.qt-group__agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; color: var(--qt-muted); font-size: .88rem; line-height: 1.5; cursor: pointer; }
.qt-group__agree input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--qt-blue); }
.qt-group__agree a { color: var(--qt-blue); text-decoration: underline; }
.qt-group__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.qt-group__submit { text-transform: none; letter-spacing: 0; }
.qt-group__submit:disabled { opacity: .6; cursor: wait; }
.qt-group__reset {
    min-height: 50px;
    margin: 0;
    padding: 0 22px;
    border: 1px solid #d6e1e6;
    border-radius: 999px;
    background: #fff;
    color: var(--qt-ink);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}
.qt-group__reset:hover { border-color: var(--qt-ink); }
.qt-group__hotline {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--qt-ink);
    color: #fff;
    text-decoration: none;
}
.qt-group__hotline svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); fill: none; stroke: #eac206; stroke-width: 2; stroke-linejoin: round; }
.qt-group__hotline span { display: flex; flex-direction: column; font-size: 1.15rem; font-weight: 800; }
.qt-group__hotline small { color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 500; }
.qt-group__hotline:hover { color: #eac206; }
@media (max-width: 549px) {
    .qt-group__types, .qt-group__gallery, .qt-group__two { grid-template-columns: 1fr; }
    .qt-group__form-card { padding: 22px 18px; }
}

/* ------------------------------------------------------------------------
 * Home category spotlight: scroll-snap slider, 4 / 3 / 2 / 1 cards per view.
 * --------------------------------------------------------------------- */
.qt-spotlight { padding: 70px 0 60px; background: #f3f7f9; }
.qt-spotlight__head { position: relative; margin-bottom: 28px; }
.qt-spotlight__head .section-title-container { margin-bottom: 15px; }
.qt-spotlight__nav { position: absolute; right: 12px; bottom: 0; display: flex; gap: 10px; }
.qt-spotlight__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #cfdbe1;
    border-radius: 50%;
    background: #fff;
    color: #35649a;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.qt-spotlight__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.qt-spotlight__arrow:hover { border-color: #35649a; background: #35649a; color: #fff; transform: scale(1.06); }
.qt-spotlight__viewport { margin: 0 -12px; }
.qt-spotlight__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 24px) / 4);
    column-gap: 24px;
    padding: 6px 12px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 12px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.qt-spotlight__track::-webkit-scrollbar { display: none; }
.qt-spotlight__track:focus-visible { outline: 2px solid #1CA8CB; outline-offset: 4px; border-radius: 16px; }
.qt-spotlight__slide { scroll-snap-align: start; }
.qt-spotlight__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.qt-spotlight__dots { display: flex; gap: 8px; }
.qt-spotlight__dots button {
    width: 10px;
    height: 10px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c6d4db;
    transition: width .3s ease, background-color .3s ease;
}
.qt-spotlight__dots button[aria-current] { width: 28px; background: #35649a; }
.qt-spotlight.is-static .qt-spotlight__nav,
.qt-spotlight.is-static .qt-spotlight__dots { visibility: hidden; }
@media (max-width: 1099px) { .qt-spotlight__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); } }
@media (max-width: 849px) { .qt-spotlight__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 549px) {
    .qt-spotlight { padding: 50px 0 44px; }
    .qt-spotlight__track { grid-auto-columns: 86%; column-gap: 16px; }
    .qt-spotlight__nav { display: none; }
    .qt-spotlight__foot { flex-direction: column; align-items: flex-start; }
}
/* Narrow cards (4 per row on small laptops): keep the footer on one line. */
.qt-post-card__reading, .qt-post-card__more { white-space: nowrap; }
.qt-post-card__footer { gap: 8px; }

/* Tour programme posts: the header block of a Word programme (route, duration,
 * departures) as an info box at the top of the article. */
.qt-article__body .qt-tour-intro {
    margin: 0 0 1.6em;
    padding: 20px 24px;
    border-left: 4px solid var(--qt-accent, #1CA8CB);
    border-radius: 0 14px 14px 0;
    background: #f3f9fb;
}
.qt-article__body .qt-tour-intro p { margin: 0 0 .35em; color: var(--qt-ink, #113D48); line-height: 1.55; }
.qt-article__body .qt-tour-intro p:first-child { font-size: 1.15rem !important; }
.qt-article__body .qt-tour-intro p:last-child { margin-bottom: 0; }
/* Consecutive photos from a Word programme sit side by side. */
.qt-article__body .qt-tour-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 1.4em 0; }
.qt-article__body .qt-tour-gallery figure { margin: 0; }
.qt-article__body .qt-tour-gallery img { width: 100%; height: 200px !important; margin: 0; object-fit: cover; }
/* Several hotlines (Settings > Contact phone "a / b"): one per line. */
.qt-contact__hotline a { display: flex; width: fit-content; }
.qt-contact__hotline a + a { margin-top: 2px; }
.qt-group__hotline + .qt-group__hotline { margin-top: 10px; }

/* Floating contact buttons (Settings > Contact / Social links). */
.qt-float { position: fixed; right: 18px; bottom: 86px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.qt-float__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 6px 18px rgba(17, 61, 72, .28);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.qt-float__btn:hover { transform: scale(1.1); color: #fff; box-shadow: 0 10px 24px rgba(17, 61, 72, .36); }
.qt-float__btn svg { width: 24px; height: 24px; fill: currentColor; }
.qt-float__btn--call { background: #35649a; }
.qt-float__btn--call svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.qt-float__btn--call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #35649a; animation: qt-ring 2s ease-out infinite; }
.qt-float__btn--zalo { background: #0068ff; font-size: 13px; font-weight: 800; letter-spacing: -.3px; }
.qt-float__btn--facebook { background: #1877f2; }
.qt-float__btn--messenger { background: linear-gradient(135deg, #00b2ff, #a033ff 60%, #ff5280); }
@keyframes qt-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .qt-float__btn--call::after { animation: none; } }
@media (max-width: 549px) { .qt-float { right: 12px; bottom: 16px; } .qt-float__btn { width: 44px; height: 44px; } }

/* Footer social icons. */
.qt-social { display: flex; gap: 10px; margin-top: 18px; }
.qt-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    opacity: .75;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.qt-social a:hover { opacity: 1; border-color: #35649a; background: #35649a; color: #fff; }
.qt-social svg { width: 18px; height: 18px; }
/* Article pages use a <p> for the banner title (the article carries the h1): keep the look. */
.qt-inner p.page-banner__title { margin: 0 0 var(--space-3, 12px); font-weight: 500; line-height: 1.2; }

/* Inner pages: the banner photo is bright, so the header sits on it as a white
 * bar with dark text (the look the home header takes once scrolled). */
body:has(.qt-inner) .kadeka-header:not(.stuck) {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-logo-img,
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-icon-btn { filter: none; }
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-menu-link,
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-icon-btn,
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-mobile-toggle { color: #1f2937; text-shadow: none; }
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-menu-link:hover,
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-menu-item.active .kadeka-menu-link { color: #35649a; }
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-menu-link::after { background: #35649a; }
body:has(.qt-inner) .kadeka-header:not(.stuck) .kadeka-chevron { color: #4b5563; }
/* Title and breadcrumb over a photo with no overlay. */
.qt-inner .page-banner__title { text-shadow: 0 2px 18px rgba(0, 30, 70, .7), 0 1px 4px rgba(0, 30, 70, .75); }
.qt-inner .page-banner .breadcrumb__item, .qt-inner .page-banner .breadcrumb__link, .qt-inner .page-banner .breadcrumb__current { text-shadow: 0 1px 10px rgba(0, 30, 70, .75), 0 1px 3px rgba(0, 30, 70, .6); }

/* Staff contact card closing a tour programme. */
.qt-article__body .qt-tour-contact {
    margin: 2em 0 0;
    padding: 22px 26px;
    border: 1px solid var(--qt-line, #e6edf0);
    border-left: 4px solid var(--qt-blue, #35649a);
    border-radius: 0 14px 14px 0;
    background: #f3f9fb;
}
.qt-article__body .qt-tour-contact h2 { margin: 0 0 .6em; font-size: 1.2rem !important; }
.qt-article__body .qt-tour-contact p { margin: 0 0 .35em; line-height: 1.55; }
.qt-article__body .qt-tour-contact__slogan { margin-top: .8em !important; color: var(--qt-blue, #35649a); font-style: italic; font-weight: 600; }

/* "Danh mục tour" heading: the shared section title (see "Những gì chúng tôi cung cấp"). */
.tour-category-area .qt-category-head { margin-bottom: 10px !important; }
.tour-category-area .qt-category-intro { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.tour-category-area .qt-category-intro p { margin: 0; }

/* "Đã thông báo Bộ Công Thương" badge under the footer's "Chính sách" links. */
.qt-footer-badges { display: flex; justify-content: flex-start; padding: 18px 0 0; }
.qt-footer-badges a { display: inline-block; line-height: 0; transition: opacity .2s ease; }
.qt-footer-badges a:hover { opacity: .85; }
.qt-footer-badges img { display: block; width: auto; height: 54px; }

/* Secondary button beside a .th-btn.tourm-btn: same pill and size, outlined in the brand blue. */
.qt-btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 0 0 10px; padding: 13px 34px;
    border: 2px solid #35649a; border-radius: 50px; background: transparent;
    color: #35649a !important; font-size: .95rem; font-weight: 700; text-decoration: none !important;
    transition: background-color .3s ease, color .3s ease;
}
.qt-btn-outline:hover { background: #35649a; color: #fff !important; }
.qt-btn-outline span { color: inherit; }

/* Text alignment set from the inline editor (qt-ta-*) and from the post editor (Quill's ql-align-*). */
.qt-ta { display: block; }
.qt-ta-center, .ql-align-center { text-align: center !important; }
.qt-ta-right, .ql-align-right { text-align: right !important; }
.qt-ta-justify, .ql-align-justify { text-align: justify !important; }

/* Video added from the post editor (YouTube / Vimeo): fills the column at 16:9. */
.article-content iframe, .qt-post__content iframe, iframe.ql-video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 1.2em 0; }

/* Formatting chosen in the post editor (Quill) that the public page has to honour:
   font, size and indent classes. Alignment is above; colours travel as inline styles. */
.qt-article__body .ql-size-small, .ql-size-small { font-size: .75em !important; }
.qt-article__body .ql-size-large, .ql-size-large { font-size: 1.5em !important; }
.qt-article__body .ql-size-huge, .ql-size-huge { font-size: 2.5em !important; }
.ql-font-serif { font-family: Georgia, 'Times New Roman', serif !important; }
.ql-font-monospace { font-family: Menlo, Consolas, 'Courier New', monospace !important; }
.ql-font-arial { font-family: Arial, Helvetica, sans-serif !important; }
.ql-font-georgia { font-family: Georgia, serif !important; }
.ql-font-impact { font-family: Impact, Charcoal, sans-serif !important; }
.ql-font-tahoma { font-family: Tahoma, Geneva, sans-serif !important; }
.ql-font-times-new-roman { font-family: 'Times New Roman', Times, serif !important; }
.ql-font-verdana { font-family: Verdana, Geneva, sans-serif !important; }
.ql-font-quicksand { font-family: Quicksand, 'Be Vietnam Pro', sans-serif !important; }
.ql-font-roboto { font-family: Roboto, Arial, sans-serif !important; }
.ql-indent-1 { padding-left: 3em; } .ql-indent-2 { padding-left: 6em; } .ql-indent-3 { padding-left: 9em; } .ql-indent-4 { padding-left: 12em; }
.ql-indent-5 { padding-left: 15em; } .ql-indent-6 { padding-left: 18em; } .ql-indent-7 { padding-left: 21em; } .ql-indent-8 { padding-left: 24em; }
@media (max-width: 549px) { .ql-indent-3 { padding-left: 6em; } .ql-indent-4, .ql-indent-5, .ql-indent-6, .ql-indent-7, .ql-indent-8 { padding-left: 7em; } }

/* Space after a paragraph, chosen in the post editor ("Khoảng cách": sát / rộng). */
.qt-article__body .ql-space-tight, .ql-space-tight { margin-bottom: 0 !important; }
.qt-article__body .ql-space-wide, .ql-space-wide { margin-bottom: 1.6em !important; }
