/*
 * Du Lịch Vàng – trang chủ (1.15.0, giai đoạn 13; docs/nang-cap-giao-dien.md mục 5.3).
 * Nạp ở trang chủ và trang có shortcode section (inc/home-sections.php), sau sections.css, components.css.
 *
 *  1. Hero              .dlv-home-hero
 *  2. Thanh tìm tour    .dlv-search-wrap, .dlv-search
 *  3. Giới thiệu ngắn   .dlv-intro
 *  4. Tour (băng trượt) .dlv-carousel--tours
 *  5. Điểm đến          .dlv-mosaic
 *  6. Phong cách        .dlv-styles-lux
 *  7. Cam kết           .dlv-why-grid
 *  8. Thiết kế tour     .dlv-trip
 *  9. Đánh giá          .dlv-reviews, .dlv-carousel--quotes
 * 10. Cẩm nang + blog   .dlv-stories
 */

/* Danh sách trong section: bỏ kiểu ul mặc định của Flatsome */
.dlv-intro ul,
.dlv-why-grid,
.dlv-styles-list,
.dlv-trip ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dlv-intro li,
.dlv-why-grid li,
.dlv-styles-list li,
.dlv-trip li {
    margin: 0;
    list-style: none;
}

/* ---------- 1. Hero ---------- */
.dlv-home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(100svh, 940px);
    padding: 120px 0 200px; /* chừa chỗ cho thanh tìm tour nổi lên */
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(201, 161, 59, .25), transparent 50%),
        linear-gradient(135deg, var(--dlv-ink), var(--dlv-brown-600));
    color: var(--dlv-white);
}

.dlv-home-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lớp nâu chuyển sắc dưới chữ (thay lớp đen đặc) */
.dlv-home-hero.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(31, 20, 11, .78) 0%, rgba(31, 20, 11, .45) 55%, rgba(31, 20, 11, .1) 100%),
        linear-gradient(180deg, rgba(31, 20, 11, 0) 55%, rgba(31, 20, 11, .55) 100%);
}

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

.dlv-home-hero .dlv-eyebrow {
    color: var(--dlv-gold-300);
}

.dlv-home-hero__title {
    max-width: 14ch;
    color: var(--dlv-white);
    text-shadow: 0 2px 30px rgba(31, 20, 11, .35);
}

.dlv-home-hero__title em {
    color: var(--dlv-gold-300);
}

.dlv-home-hero__desc {
    max-width: 52ch;
    margin-top: var(--dlv-space-5);
    color: var(--dlv-on-dark);
}

.dlv-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dlv-space-3);
    margin-top: var(--dlv-space-6);
}

.dlv-home-hero .dlv-button--primary:hover {
    color: var(--dlv-on-gold);
}

/* ---------- 2. Thanh tìm tour ---------- */
.dlv-search-wrap {
    position: relative;
    z-index: 5;
}

.dlv-search-wrap.is-overlap {
    margin-top: -112px;
}

.dlv-search-wrap .container::before,
.dlv-search-wrap .container::after {
    display: none;
}

.dlv-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: stretch;
    margin: 0;
    padding: 12px;
    border-radius: var(--dlv-radius-lg);
    background: var(--dlv-white);
    box-shadow: var(--dlv-shadow-2);
}

.dlv-search__field {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 12px 20px;
    border-right: 1px solid var(--dlv-line);
}

.dlv-search__field .dlv-icon {
    grid-row: 1 / 3;
    font-size: 22px;
    color: var(--dlv-gold-700);
}

.dlv-search__field label {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dlv-muted);
}

.dlv-search__field select {
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0 24px 0 0;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    font-family: var(--dlv-font-heading);
    font-size: 17px;
    color: var(--dlv-brown-800);
    cursor: pointer;
}

.dlv-search__field select:focus {
    outline: none;
    box-shadow: none;
}

.dlv-search__field:focus-within {
    border-radius: var(--dlv-radius-sm);
    box-shadow: inset 0 0 0 2px var(--dlv-gold-500);
}

.dlv-search .dlv-search__submit {
    align-self: center;
    min-height: 60px;
    margin-left: 12px;
    padding: 0 30px;
}

/* ---------- 3. Giới thiệu ngắn ---------- */
.dlv-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--dlv-space-8);
    align-items: center;
}

.dlv-intro::before,
.dlv-intro::after {
    display: none;
}

.dlv-intro__media {
    position: relative;
    padding: 0 18% 14% 0;
}

/* Khung vàng mảnh lệch sau ảnh lớn */
.dlv-intro__media::before {
    content: "";
    position: absolute;
    top: 28px;
    left: -28px;
    width: 60%;
    height: 70%;
    border: 1px solid var(--dlv-gold-500);
    border-radius: var(--dlv-radius-lg);
}

.dlv-intro__img {
    position: relative;
    overflow: hidden;
    border-radius: var(--dlv-radius-lg);
    background: var(--dlv-sand);
}

.dlv-intro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dlv-intro__img--main {
    aspect-ratio: 4 / 5;
}

.dlv-intro__img--small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 1;
    border: 8px solid var(--dlv-white);
    box-shadow: var(--dlv-shadow-2);
}

.dlv-intro__text .dlv-ornament {
    margin-left: 0;
}

.dlv-intro__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--dlv-space-5);
    margin: var(--dlv-space-6) 0 !important;
    padding: var(--dlv-space-5) 0 !important;
    border-top: 1px solid var(--dlv-line);
    border-bottom: 1px solid var(--dlv-line);
}

.dlv-intro__stats strong {
    display: block;
    font-family: var(--dlv-font-heading);
    font-size: clamp(2rem, 2vw + 1rem, 2.8rem);
    font-weight: 500;
    font-variant-numeric: lining-nums;
    line-height: 1;
    color: var(--dlv-gold-700);
}

.dlv-intro__stats span {
    display: block;
    margin-top: 8px;
    font-size: var(--dlv-fs-small);
    line-height: 1.45;
    color: var(--dlv-muted);
}

/* ---------- 4. Tour (băng trượt) ---------- */
.dlv-carousel--tours .dlv-tour-card {
    height: 100%;
}

/* ---------- 5. Điểm đến: lưới ghép ---------- */
.dlv-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: var(--dlv-space-4);
}

.dlv-mosaic .dlv-place-card {
    aspect-ratio: auto;
    height: 100%;
}

/* Ô đầu lớn gấp đôi; 2 ô cuối nằm ngang (đủ 7 ô cho 4 cột × 3 hàng) */
.dlv-mosaic__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.dlv-mosaic__item:nth-child(6),
.dlv-mosaic__item:nth-child(7) {
    grid-column: span 2;
}

.dlv-mosaic__item:nth-child(1) .dlv-place-card__name {
    font-size: clamp(2rem, 2vw + 1rem, 3rem);
}

.dlv-mosaic__item:nth-child(1) .dlv-place-card__desc {
    max-height: 6em;
    margin-top: 8px;
    opacity: 1;
}

.dlv-mosaic__more {
    justify-content: center;
    margin-top: var(--dlv-space-6) !important;
}

/* Bản đồ Việt Nam cạnh lưới ảnh (1.24.0, inc/vn-map.php): chỉ màn hình rộng (≥ 1200px).
   Hẹp hơn: bản đồ ẩn, lưới ảnh giữ như cũ (ở 1024px, lưới 3 cột cạnh bản đồ làm tên điểm đến xuống 2–3 dòng). */
.dlv-vnmap,
.dlv-mosaic__more-map {
    display: none;
}

@media (min-width: 1200px) {
    .dlv-mosaic--map .dlv-mosaic__item:nth-child(n + 7) {
        display: none;
    }

    .dlv-mosaic__more-map {
        display: list-item;
    }

    .dlv-dest-map {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
        gap: var(--dlv-space-7);
        align-items: center;
    }

    /* 3 cột × 3 hàng: ô đầu 2 × 2, 5 ô còn lại */
    .dlv-mosaic--map {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 200px;
    }

    .dlv-mosaic--map .dlv-mosaic__item:nth-child(6),
    .dlv-mosaic--map .dlv-mosaic__item:nth-child(7) {
        grid-column: span 1;
    }

    .dlv-vnmap {
        display: block;
    }
}

/* Trang /bo-giao-dien/: luôn hiện bản đồ */
.dlv-sg__map {
    max-width: 460px;
}

.dlv-sg__map .dlv-vnmap {
    display: block;
}

.dlv-vnmap__svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.dlv-vnmap__land {
    fill: var(--dlv-sand);
    stroke: var(--dlv-line-strong);
    stroke-width: .8;
    stroke-linejoin: round;
}

.dlv-vnmap__sea {
    font-family: var(--dlv-font-heading);
    font-size: 17px;
    font-style: italic;
    letter-spacing: .04em;
    fill: var(--dlv-muted);
}

.dlv-vnmap__ring {
    fill: none;
    stroke: var(--dlv-line-strong);
    stroke-width: 1;
    stroke-dasharray: 3 3;
}

.dlv-vnmap__isle {
    fill: var(--dlv-brown-600);
}

.dlv-vnmap__isles-kind {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    fill: var(--dlv-muted);
}

.dlv-vnmap__isles-name {
    font-size: 12.5px;
    font-weight: 600;
    fill: var(--dlv-brown-800);
}

.dlv-vnmap__pin {
    cursor: pointer;
}

.dlv-vnmap__halo {
    fill: var(--dlv-gold-500);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(.4);
    transition: opacity var(--dlv-dur-1) var(--dlv-ease), transform var(--dlv-dur-1) var(--dlv-ease);
}

.dlv-vnmap__dot {
    fill: var(--dlv-gold-700);
    stroke: var(--dlv-white);
    stroke-width: 1.5;
}

.dlv-vnmap__pin.is-featured .dlv-vnmap__dot {
    fill: var(--dlv-brown-800);
}

.dlv-vnmap__label {
    font-family: var(--dlv-font-body);
    font-size: 12.5px;
    font-weight: 500;
    fill: var(--dlv-brown-800);
    paint-order: stroke;
    stroke: var(--dlv-ivory);
    stroke-width: 3px;
    stroke-linejoin: round;
    transition: fill var(--dlv-dur-1) var(--dlv-ease);
}

.dlv-vnmap__pin.is-featured .dlv-vnmap__label {
    font-weight: 600;
}

/* Không còn chỗ đặt nhãn: chỉ hiện khi rê chuột */
.dlv-vnmap__pin.is-quiet .dlv-vnmap__label {
    opacity: 0;
}

.dlv-vnmap__pin:hover .dlv-vnmap__halo,
.dlv-vnmap__pin.is-map-active .dlv-vnmap__halo {
    opacity: .35;
    transform: scale(1);
}

.dlv-vnmap__pin:hover .dlv-vnmap__label,
.dlv-vnmap__pin.is-map-active .dlv-vnmap__label {
    fill: var(--dlv-gold-700);
    opacity: 1;
}

/* Thẻ / nhãn điểm đến khi rê chuột ghim tương ứng */
.dlv-place-card.is-map-active {
    outline: 2px solid var(--dlv-gold-500);
    outline-offset: 3px;
}

.dlv-pill.is-map-active {
    border-color: var(--dlv-gold-500);
    background: var(--dlv-gold-100);
}

@media (prefers-reduced-motion: reduce) {
    .dlv-vnmap__halo,
    .dlv-vnmap__label {
        transition: none;
    }
}

/* ---------- 4b. Nhóm tour theo loại: lưới 3 cột × 2 dòng (1.27.0, [dlv_tours layout="grid3"]) ---------- */
.dlv-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--dlv-space-6) var(--dlv-space-5);
}

.dlv-tour-grid__item,
.dlv-tour-grid .dlv-tour-card {
    height: 100%;
}

.dlv-tour-grid:focus-visible {
    outline: 2px solid var(--dlv-gold-500);
    outline-offset: 6px;
}

/* Máy tính bảng, điện thoại: một hàng vuốt ngang (6 thẻ × nhiều nhóm xếp dọc thì trang quá dài) */
@media (max-width: 849px) {
    .dlv-tour-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 46%; /* không dùng minmax(0, …): cột co về 0, thẻ bị ép hẹp */
        gap: var(--dlv-space-4);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        padding-bottom: var(--dlv-space-3);
    }

    .dlv-tour-grid__item {
        scroll-snap-align: start;
    }
}

@media (max-width: 549px) {
    .dlv-tour-grid {
        grid-auto-columns: 84%;
    }
}

/* ---------- 6. Phong cách du lịch ---------- */
.dlv-styles-lux {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--dlv-space-7);
    align-items: start;
}

.dlv-styles-list {
    border-top: 1px solid var(--dlv-line-dark);
}

.dlv-styles-list li {
    border-bottom: 1px solid var(--dlv-line-dark);
}

.dlv-styles-list__link {
    display: flex;
    align-items: baseline;
    gap: var(--dlv-space-4);
    padding: 18px 4px;
    color: var(--dlv-on-dark-muted);
    transition: color var(--dlv-dur-1), padding var(--dlv-dur-2) var(--dlv-ease);
}

.dlv-styles-list__thumb {
    display: none;
}

.dlv-styles-list__name {
    font-family: var(--dlv-font-heading);
    font-size: clamp(1.5rem, 1.4vw + 1rem, 2.25rem);
    line-height: 1.15;
    color: var(--dlv-on-dark);
    transition: color var(--dlv-dur-1);
}

.dlv-styles-list__count {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dlv-on-dark-muted);
}

.dlv-styles-list__arrow {
    margin-left: auto;
    align-self: center;
    font-size: 22px;
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: opacity var(--dlv-dur-2), transform var(--dlv-dur-2) var(--dlv-ease);
}

.dlv-styles-list__link:hover,
.dlv-styles-list__link:focus-visible,
.dlv-styles-list__link.is-active {
    padding-left: 16px;
    color: var(--dlv-gold-300);
}

.dlv-styles-list__link:hover .dlv-styles-list__name,
.dlv-styles-list__link:focus-visible .dlv-styles-list__name,
.dlv-styles-list__link.is-active .dlv-styles-list__name {
    color: var(--dlv-white);
}

.dlv-styles-list__link:hover .dlv-styles-list__arrow,
.dlv-styles-list__link:focus-visible .dlv-styles-list__arrow,
.dlv-styles-list__link.is-active .dlv-styles-list__arrow {
    opacity: 1;
    transform: none;
}

.dlv-styles-list__link:focus-visible {
    outline: 2px solid var(--dlv-gold-300);
    outline-offset: 2px;
}

.dlv-styles-preview {
    position: sticky;
    top: 110px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--dlv-radius-lg);
    background: var(--dlv-brown-800);
}

.dlv-styles-preview__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity var(--dlv-dur-3) var(--dlv-ease), transform 1.2s var(--dlv-ease);
}

.dlv-styles-preview__img.is-active {
    opacity: 1;
    transform: none;
}

/* ---------- 7. Cam kết ---------- */
.dlv-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--dlv-space-6);
}

.dlv-why-grid li {
    padding: var(--dlv-space-6) var(--dlv-space-5);
    border-top: 1px solid var(--dlv-gold-500);
    text-align: center;
}

.dlv-why-grid__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--dlv-space-4);
    border: 1px solid var(--dlv-gold-100);
    border-radius: 50%;
    background: var(--dlv-ivory);
    font-size: 28px;
    color: var(--dlv-gold-700);
}

.dlv-why-grid h3 {
    margin: 0 0 var(--dlv-space-2);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dlv-brown-800);
}

.dlv-why-grid p {
    margin: 0;
    font-size: var(--dlv-fs-small);
    line-height: 1.7;
    color: var(--dlv-muted);
}

.dlv-why-grid__action {
    margin: var(--dlv-space-6) 0 0;
    text-align: center;
}

/* ---------- 8. Thiết kế tour riêng ---------- */
.dlv-trip {
    position: relative;
    padding: var(--dlv-space-section) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(201, 161, 59, .2), transparent 45%),
        var(--dlv-ink);
    color: var(--dlv-on-dark);
}

.dlv-trip__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dlv-trip.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 20, 11, .88) 0%, rgba(31, 20, 11, .7) 50%, rgba(31, 20, 11, .45) 100%);
}

.dlv-trip__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--dlv-space-8);
    align-items: center;
}

.dlv-trip__inner::before,
.dlv-trip__inner::after {
    display: none;
}

.dlv-trip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dlv-space-3);
    margin-top: var(--dlv-space-6);
}

.dlv-trip .dlv-button--primary:hover {
    color: var(--dlv-on-gold);
}

.dlv-trip__panel {
    padding: var(--dlv-space-6);
    border: 1px solid var(--dlv-line-dark);
    border-radius: var(--dlv-radius-lg);
    background: rgba(31, 20, 11, .55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.dlv-trip__steps li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: var(--dlv-space-4);
    padding: var(--dlv-space-4) 0;
    border-bottom: 1px solid var(--dlv-line-dark);
}

.dlv-trip__steps li:first-child {
    padding-top: 0;
}

.dlv-trip__num {
    font-family: var(--dlv-font-heading);
    font-size: 2rem;
    font-variant-numeric: lining-nums;
    line-height: 1;
    color: var(--dlv-gold-300);
}

.dlv-trip__steps strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
    color: var(--dlv-white);
}

.dlv-trip__steps span span {
    font-size: var(--dlv-fs-small);
    line-height: 1.6;
    color: var(--dlv-on-dark-muted);
}

.dlv-trip__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: var(--dlv-space-4) 0 0;
    font-size: var(--dlv-fs-small);
    color: var(--dlv-on-dark);
}

.dlv-trip__note .dlv-icon {
    font-size: 18px;
    color: var(--dlv-gold-300);
}

/* ---------- 9. Đánh giá ---------- */
.dlv-reviews {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: var(--dlv-space-8);
    align-items: center;
}

.dlv-reviews::before,
.dlv-reviews::after {
    display: none;
}

.dlv-reviews__score {
    display: flex;
    align-items: center;
    gap: var(--dlv-space-4);
    margin-top: var(--dlv-space-6);
    padding-top: var(--dlv-space-5);
    border-top: 1px solid var(--dlv-line);
}

.dlv-reviews__score strong {
    font-family: var(--dlv-font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    font-variant-numeric: lining-nums;
    line-height: 1;
    color: var(--dlv-brown-800);
}

.dlv-reviews__score small {
    display: block;
    margin-top: 6px;
    font-size: var(--dlv-fs-small);
    color: var(--dlv-muted);
}

.dlv-carousel--quotes {
    --dlv-per-view: 1;
    min-width: 0;
}

.dlv-testimonial--lux {
    height: 100%;
    padding: var(--dlv-space-7) var(--dlv-space-7) var(--dlv-space-6);
    background: var(--dlv-white);
    box-shadow: var(--dlv-shadow-1);
}

.dlv-testimonial--lux .dlv-testimonial__mark {
    top: 28px;
    left: auto;
    right: 36px;
    font-size: 64px;
    color: var(--dlv-gold-100);
}

.dlv-testimonial--lux .dlv-stars {
    margin-bottom: var(--dlv-space-4);
}

.dlv-testimonial--lux blockquote {
    font-size: clamp(1.25rem, .9vw + 1rem, 1.65rem);
}

.dlv-testimonial__initials {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dlv-brown-800);
    font-size: 15px;
    font-weight: 700;
    color: var(--dlv-gold-300);
}

/* ---------- 10. Cẩm nang + blog: .dlv-stories chuyển sang components.css (1.18.0) ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
    .dlv-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 4px;
    }

    .dlv-search__field:nth-child(2n) {
        border-right: 0;
    }

    .dlv-search__field:nth-child(-n+2) {
        border-bottom: 1px solid var(--dlv-line);
    }

    .dlv-search .dlv-search__submit {
        grid-column: 1 / -1;
        margin: 8px 0 0;
    }

    .dlv-search-wrap.is-overlap {
        margin-top: -150px;
    }

    .dlv-home-hero {
        padding-bottom: 240px;
    }

    .dlv-intro,
    .dlv-styles-lux,
    .dlv-trip__inner,
    .dlv-reviews {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--dlv-space-7);
    }

    .dlv-intro__media {
        max-width: 560px;
    }

    .dlv-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

    .dlv-mosaic__item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .dlv-mosaic__item:nth-child(6),
    .dlv-mosaic__item:nth-child(7) {
        grid-column: span 1;
    }

    .dlv-mosaic__item:nth-child(7) {
        grid-column: span 2;
    }

    /* Phong cách: không có ảnh xem trước, ảnh nhỏ ngay trong dòng */
    .dlv-styles-preview {
        display: none;
    }

    .dlv-styles-list__thumb {
        display: block;
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        align-self: center;
        border-radius: 50%;
        object-fit: cover;
    }

    /* Mỗi dòng: ảnh tròn | tên trên, số tour dưới */
    .dlv-styles-list__link,
    .dlv-styles-list__link:hover,
    .dlv-styles-list__link.is-active {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: var(--dlv-space-4);
        row-gap: 2px;
        align-items: center;
        padding: 14px 0;
    }

    .dlv-styles-list__thumb {
        grid-row: 1 / 3;
    }

    .dlv-styles-list__name {
        align-self: end;
    }

    .dlv-styles-list__count {
        grid-column: 2;
        align-self: start;
    }

    .dlv-styles-list__arrow {
        grid-column: 3;
        grid-row: 1 / 3;
    }

    .dlv-styles-list__arrow {
        opacity: 1;
        transform: none;
    }

    .dlv-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 549px) {
    .dlv-home-hero {
        min-height: 88svh;
        padding: 96px 0 180px;
    }

    .dlv-home-hero__actions .dlv-button {
        width: 100%;
    }

    /* Điện thoại: lưới 2 × 2, nhãn nhỏ, icon ẩn để chữ đủ chỗ */
    .dlv-search {
        padding: 6px;
    }

    .dlv-search__field {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px 12px;
    }

    .dlv-search__field .dlv-icon {
        display: none;
    }

    .dlv-search__field select {
        font-size: 15px;
    }

    .dlv-search .dlv-search__submit {
        min-height: 52px;
    }

    .dlv-search-wrap.is-overlap {
        margin-top: -150px;
    }

    .dlv-intro__media {
        padding-right: 12%;
    }

    .dlv-intro__media::before {
        left: -12px;
        top: 16px;
    }

    .dlv-intro__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--dlv-space-3);
    }

    /* 2 cột: ô đầu rộng hết hàng, 6 ô còn lại 3 hàng (trước 1.15.2: 7 ô một cột, dài ~1.400px) */
    .dlv-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 168px;
        gap: var(--dlv-space-3);
    }

    .dlv-mosaic__item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .dlv-mosaic__item:nth-child(6),
    .dlv-mosaic__item:nth-child(7) {
        grid-column: span 1;
    }

    .dlv-mosaic .dlv-place-card__body {
        padding: var(--dlv-space-4);
    }

    .dlv-mosaic__item:not(:nth-child(1)) .dlv-place-card__name {
        font-size: 1.25rem;
    }

    .dlv-styles-list__arrow {
        display: none;
    }

    .dlv-why-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .dlv-why-grid li {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: var(--dlv-space-4);
        padding: var(--dlv-space-5) 0;
        text-align: left;
    }

    .dlv-why-grid__icon {
        grid-row: span 2;
        width: 56px;
        height: 56px;
        margin: 0;
        font-size: 24px;
    }

    .dlv-trip__panel {
        padding: var(--dlv-space-5);
    }

    .dlv-trip__actions .dlv-button {
        width: 100%;
    }

    .dlv-testimonial--lux {
        padding: var(--dlv-space-7) var(--dlv-space-5) var(--dlv-space-5);
    }

    /* Dấu ngoặc kép nhỏ lại, nằm ngang hàng sao: không đè dòng đầu lời đánh giá */
    .dlv-testimonial--lux .dlv-testimonial__mark {
        top: 18px;
        right: 20px;
        font-size: 40px;
    }
}
