/*
Theme Name: GoFly Child – OFO Travel
Theme URI: https://ofotravel.com/
Template: gofly
Author: OFO Travel
Description: Child theme của GoFly cho ofotravel.com (chuyển từ child theme của eurocircle.com.vn). Mọi tuỳ chỉnh giao diện/chữ đặt ở đây, KHÔNG sửa theme gốc gofly hay plugin gofly-core (để cập nhật theme không bị mất).
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ofo-child
*/

/* Tiêu đề tour trong thẻ gói tour: tối đa 2 dòng, dư thì "…" (trước đây sửa trong gofly/style.css) */
.package-content h5 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header mobile nền xanh: logo đặt trên ô trắng cho dễ nhìn */
@media (max-width: 991px) {
    .header-logo img,
    .mobile-logo-wrap img {
        background: #fff;
        border-radius: 8px;
        padding: 4px 8px;
    }
}

/* Footer EuroCircle (Footer Three, post 9625) – cột Liên hệ trên điện thoại:
   icon bên trái, chữ bên phải, thẳng hàng với các cột khác (trước bị lệch, tràn mép) */
@media (max-width: 767px) {
    /* 3 ô Zalo / Điện thoại / Mail nằm trong cột 880af8f */
    .elementor-9625 .elementor-element-880af8f > .e-con {
        flex-direction: column !important;
        align-items: stretch !important;
        padding-left: 10px !important; /* thẳng hàng với tiêu đề các cột */
    }
    .elementor-9625 .elementor-widget-icon-box {
        width: 100% !important;
        max-width: 100% !important;
    }
    .elementor-9625 .elementor-widget-icon-box .elementor-icon-box-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 14px;
        text-align: left !important;
    }
    .elementor-9625 .elementor-widget-icon-box .elementor-icon-box-icon {
        margin: 0 !important;
    }
    .elementor-9625 .elementor-widget-icon-box .elementor-icon-box-title {
        margin: 0 0 2px !important;
    }
}

/* Footer: ẩn khối "Accepted Payment Methods" – ảnh icon thẻ bị trỏ nhầm sang ảnh bản đồ tuyến */
.elementor-9625 .elementor-element-6aa3830 {
    display: none !important;
}

/* Mạng xã hội: công ty chỉ có Facebook + YouTube → ẩn icon Instagram, LinkedIn còn từ demo
   (footer: widget Social Icons của Elementor; banner trang chủ: .social-list của GoFly) */
.elementor-grid-item:has(.elementor-social-icon-instagram),
.elementor-grid-item:has(.elementor-social-icon-linkedin),
.elementor-grid-item:has(.elementor-social-icon-linkedin-in),
.social-list li:has(a[href*="linkedin.com"]),
.social-list li:has(a[href*="instagram.com"]) {
    display: none !important;
}

/* ===== Thông tin tour EuroCircle – shortcode [ec_tour] (inc/tour-extra.php) ===== */
.ec-tour { display: grid; gap: 24px; margin: 8px 0 24px; }
.ec-tour__box { background: #fff; border: 1px solid var(--borders-color, #E8E8E8); border-radius: 12px; padding: 20px 22px; }
.ec-tour__title { font-size: 20px; font-weight: 600; color: var(--title-color, #110F0F); margin: 0 0 14px; }
.ec-tour__subtitle { font-weight: 600; color: var(--title-color, #110F0F); margin: 14px 0 8px; }
.ec-tour__subtitle:first-child { margin-top: 0; }
.ec-tour__note { color: var(--text-color, #525252); font-size: 14px; margin: 12px 0 0; }
.ec-tour__facts { margin: 0; display: grid; gap: 8px; }
.ec-tour__facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--borders-color, #E8E8E8); }
.ec-tour__facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ec-tour__facts dt { font-weight: 600; color: var(--title-color, #110F0F); }
.ec-tour__facts dd { margin: 0; color: var(--text-color, #525252); }
.ec-tour__table-wrap { overflow-x: auto; }
.ec-tour .ec-tour__table th, .ec-tour .ec-tour__table td { text-align: left; border-left: 0; border-right: 0; }
.ec-tour ul.ec-tour__extras, .ec-tour ul.ec-tour__list { padding-left: 0; margin-left: 0; }
.ec-tour__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ec-tour__table th { background: rgba(var(--primary-color2-opc, 14, 169, 208), .08); color: var(--title-color, #110F0F); font-weight: 600; text-align: left; padding: 10px 12px; white-space: nowrap; }
.ec-tour__table td { padding: 10px 12px; border-top: 1px solid var(--borders-color, #E8E8E8); vertical-align: top; color: var(--text-color, #525252); }
.ec-tour__table small { color: #888; }
.ec-tour__tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.ec-tour__tag--pickup { background: #e6f7ec; color: #1a7f3c; }
.ec-tour__tag--dropoff { background: #fdecec; color: #b42318; }
.ec-tour__tag--both { background: #e8f1ff; color: #1757b8; }
.ec-tour__extras { list-style: none; margin: 0; padding: 0; }
.ec-tour__extras li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--borders-color, #E8E8E8); }
.ec-tour__extras li:last-child { border-bottom: 0; }
.ec-tour__extra-name small { display: block; color: #888; font-size: 13px; }
.ec-tour__extra-price { font-weight: 700; color: var(--primary-color1, #1781FE); white-space: nowrap; }
.ec-tour__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ec-tour__list { list-style: none; margin: 0; padding: 0; }
.ec-tour__list li { position: relative; padding: 4px 0 4px 26px; color: var(--text-color, #525252); }
.ec-tour__list li::before { position: absolute; left: 0; top: 4px; font-weight: 700; }
.ec-tour__list--yes li::before { content: "✓"; color: #1a7f3c; }
.ec-tour__list--no li::before { content: "✕"; color: #b42318; }
.ec-tour__rules { margin-top: 14px; color: var(--text-color, #525252); }
.ec-tour__faq details { border-bottom: 1px solid var(--borders-color, #E8E8E8); padding: 12px 0; }
.ec-tour__faq summary { cursor: pointer; font-weight: 600; color: var(--title-color, #110F0F); }
.ec-tour__faq details > div { padding-top: 8px; color: var(--text-color, #525252); }

@media (max-width: 767px) {
    .ec-tour__box { padding: 16px; }
    .ec-tour__cols { grid-template-columns: 1fr; }
    .ec-tour__facts > div { grid-template-columns: 1fr; gap: 2px; }
    /* Bảng thành thẻ dọc trên điện thoại */
    .ec-tour__table thead { display: none; }
    .ec-tour__table, .ec-tour__table tbody, .ec-tour__table tr, .ec-tour__table td { display: block; width: 100%; }
    .ec-tour__table tr { border: 1px solid var(--borders-color, #E8E8E8); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
    .ec-tour .ec-tour__table td { border: 0 !important; padding: 2px 0; }
    .ec-tour__table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--title-color, #110F0F); }
}

/* ===== Trang Giới thiệu / Liên hệ (nội dung HTML, class ec-page) ===== */
.ec-page { padding: 10px 0 60px; color: var(--text-color, #525252); font-size: 16px; line-height: 1.7; }
.ec-page h2 { font-size: 32px; font-weight: 700; color: var(--title-color, #110F0F); margin: 0 0 16px; line-height: 1.3; }
.ec-page h3 { font-size: 20px; font-weight: 600; color: var(--title-color, #110F0F); margin: 0 0 8px; }
.ec-page p { margin: 0 0 14px; }
.ec-page section { margin-bottom: 64px; }
.ec-page .ec-eyebrow { display: inline-block; color: var(--primary-color2, #0EA9D0); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.ec-page .ec-lead { font-size: 18px; max-width: 760px; }
.ec-page .ec-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.ec-page .ec-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ec-page .ec-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ec-page .ec-card { background: #fff; border: 1px solid var(--borders-color, #E8E8E8); border-radius: 14px; padding: 24px; }
.ec-page .ec-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--primary-color2-opc, 14, 169, 208), .12); color: var(--primary-color2, #0EA9D0); font-size: 22px; margin-bottom: 14px; }
.ec-page .ec-card p:last-child { margin-bottom: 0; }
.ec-page .ec-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.ec-page .ec-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ec-page .ec-stat { text-align: center; padding: 22px 12px; border-radius: 14px; background: rgba(var(--primary-color2-opc, 14, 169, 208), .08); }
.ec-page .ec-stat strong { display: block; white-space: nowrap; font-size: 30px; color: var(--primary-color2, #0EA9D0); line-height: 1.1; }
.ec-page .ec-steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.ec-page .ec-steps .ec-card { position: relative; padding-top: 52px; }
.ec-page .ec-steps .ec-card::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 24px; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-color2, #0EA9D0); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.ec-page .ec-lines { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.ec-page .ec-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--borders-color, #E8E8E8); border-radius: 12px; color: var(--title-color, #110F0F); font-weight: 500; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.ec-page .ec-line:hover { border-color: var(--primary-color2, #0EA9D0); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.ec-page .ec-line i { flex: 0 0 14px; height: 14px; border-radius: 50%; }
.ec-page .ec-line small { display: block; color: var(--text-color, #525252); font-weight: 400; }
.ec-page .ec-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; border-radius: 16px; background: var(--primary-color2, #0EA9D0); color: #fff; }
.ec-page .ec-cta h2, .ec-page .ec-cta p { color: #fff; margin: 0; }
.ec-page .ec-btn, .ec-page a.ec-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 99px; background: #fff; color: var(--title-color, #110F0F); font-weight: 600; text-decoration: none; }
.ec-page a.ec-btn--solid { background: var(--primary-color2, #0EA9D0); color: #fff; }
.ec-page a.ec-btn:hover { opacity: .9; }
.ec-page .ec-company { list-style: none; margin: 0; padding: 0; }
.ec-page .ec-company li { padding: 8px 0; border-bottom: 1px dashed var(--borders-color, #E8E8E8); }
.ec-page .ec-company li:last-child { border-bottom: 0; }
.ec-page .ec-company strong { color: var(--title-color, #110F0F); }
.ec-page .ec-contact-card a { color: var(--title-color, #110F0F); font-weight: 600; font-size: 18px; text-decoration: none; word-break: break-word; }
.ec-page .ec-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--borders-color, #E8E8E8); min-height: 360px; }
.ec-page .ec-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.ec-page .ec-form-wrap .euro-contact-wrapper, .ec-page .ec-form-wrap .euro-card { width: 100%; max-width: none; }

@media (max-width: 991px) {
    .ec-page .ec-hero, .ec-page .ec-grid, .ec-page .ec-grid--4, .ec-page .ec-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .ec-page h2 { font-size: 26px; }
    .ec-page section { margin-bottom: 44px; }
    .ec-page .ec-hero, .ec-page .ec-grid, .ec-page .ec-grid--2, .ec-page .ec-grid--4, .ec-page .ec-steps, .ec-page .ec-lines { grid-template-columns: 1fr; }
    .ec-page .ec-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ec-page .ec-stat strong { font-size: 26px; }
    .ec-page .ec-cta { padding: 24px; }
}
/* Form liên hệ CF7 (form 379 "form lh euro") trong trang Liên hệ */
.ec-page .ec-form-wrap .euro-card { background: #fff; border: 1px solid var(--borders-color, #E8E8E8); border-radius: 16px; padding: 28px; }
.ec-page .ec-form-wrap .euro-title { font-size: 20px; font-weight: 700; color: var(--title-color, #110F0F); margin: 0 0 18px; }
.ec-page .ec-form-wrap .euro-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 12px; }
.ec-page .ec-form-wrap .wpcf7-form-control-wrap { display: block; }
.ec-page .ec-form-wrap input:not([type=submit]), .ec-page .ec-form-wrap textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--borders-color, #E8E8E8); border-radius: 10px; background: #fafafa; font-size: 15px; color: var(--title-color, #110F0F); }
.ec-page .ec-form-wrap textarea { height: 140px; resize: vertical; }
.ec-page .ec-form-wrap input:focus, .ec-page .ec-form-wrap textarea:focus { outline: none; border-color: var(--primary-color2, #0EA9D0); background: #fff; }
.ec-page .ec-form-wrap .euro-btn { border: 0; cursor: pointer; padding: 13px 28px; border-radius: 99px; background: var(--primary-color2, #0EA9D0); color: #fff; font-weight: 600; font-size: 15px; }
.ec-page .ec-form-wrap .wpcf7-response-output { margin: 14px 0 0; border-radius: 10px; }

/* ===== Trang chủ: banner kiểu Kaytrip – 1 ảnh tĩnh, ô tìm kiếm nằm giữa banner =====
   Ảnh: Media ID 10299 (eurocircle-banner-trang-chu.jpg, 1920×442). Ô tìm kiếm (container 3358861)
   được JS trong functions.php chuyển vào trong .home6-banner-section. */
.elementor-9653 .home6-banner-section { position: relative; }
.elementor-9653 .home6-banner-section .banner-wrapper {
    background-image: url(/wp-content/uploads/2026/10/eurocircle-banner-trang-chu.jpg) !important;
    background-size: cover !important;
    background-position: center !important;
    height: 460px !important;
    min-height: 0 !important;
    padding: 0 !important;
}
/* không phủ lớp tối / hiệu ứng hover lên ảnh banner */
.elementor-9653 .home6-banner-section .banner-wrapper::before,
.elementor-9653 .home6-banner-section .banner-wrapper::after { display: none !important; }
.elementor-9653 .home6-banner-section .banner-wrapper, .elementor-9653 .home6-banner-section .banner-wrapper:hover { filter: none !important; transform: none !important; }
/* ẩn ô tìm kiếm nhiều lựa chọn của GoFly – thay bằng ô tìm đơn giản */
.elementor-9653 .elementor-element-3358861 { display: none !important; }
.elementor-9653 .home6-banner-section .banner-wrapper > *,
.elementor-9653 .home6-banner-section .social-list,
.elementor-9653 .home6-banner-section .slider-btn-grp,
.elementor-9653 .home6-banner-section [class*="pagination"] { display: none !important; }
.ec-hero-search {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: min(720px, 92%); z-index: 5;
}
.ec-hero-title { color: #fff; text-align: center; font-size: 40px; font-weight: 700; margin: 0 0 22px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
@media (max-width: 767px) {
    .elementor-9653 .home6-banner-section .banner-wrapper { height: 340px !important; }
    .ec-hero-title { font-size: 24px; margin-bottom: 14px; }
}

/* Ô tìm tour đơn giản (dùng ở banner trang chủ, trang kết quả, shortcode [ec_search]) */
.ec-search { display: flex; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.ec-search input[type=search] { flex: 1; min-width: 0; border: 0; padding: 16px 20px; font-size: 16px; outline: none; background: #fff; color: #110F0F; }
.ec-search button { border: 0; padding: 0 28px; background: #e8304a; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .03em; cursor: pointer; white-space: nowrap; }
.ec-search button:hover { background: #cf2840; }
@media (max-width: 767px) {
    .ec-search input[type=search] { padding: 13px 14px; font-size: 15px; }
    .ec-search button { padding: 0 16px; font-size: 14px; }
}

/* Trang kết quả tìm tour */
.ec-search-page { padding-top: 40px; }
.ec-search-page .ec-search { max-width: 760px; margin: 0 auto 18px; border: 1px solid var(--borders-color, #E8E8E8); box-shadow: none; }
.ec-search-count { text-align: center; margin-bottom: 28px !important; }
.ec-search-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.ec-tour-card { display: flex; flex-direction: column; border: 1px solid var(--borders-color, #E8E8E8); border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; transition: box-shadow .2s; }
.ec-tour-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.ec-tour-card__img { display: block; aspect-ratio: 16 / 10; background: #eef3f6 center / cover no-repeat; }
.ec-tour-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.ec-tour-card__title { font-weight: 600; font-size: 17px; color: var(--title-color, #110F0F); line-height: 1.4; }
.ec-tour-card__route { font-size: 14px; color: var(--text-color, #525252); line-height: 1.5; }
.ec-tour-card__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-color, #525252); padding-top: 8px; border-top: 1px dashed var(--borders-color, #E8E8E8); }
.ec-tour-card__price strong { color: #e8304a; font-size: 17px; }
@media (max-width: 991px) { .ec-search-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .ec-search-grid { grid-template-columns: 1fr; } }

/* Điểm nổi bật của tour (thay icon-list 3d80a22) */
.ec-tour__highlights { list-style: none; margin: 0; padding: 0 !important; }
.ec-tour__highlights li { font-size: 17px; line-height: 1.6; padding: 6px 0 6px 28px !important; }

/* 1.2.3 – Ẩn khối demo GoFly còn sót */
/* Trang chủ: số liệu giả (Tour Completed 26K+…), ảnh "20k+ Customer", blog demo "Travel Inspirations" */
.elementor-9653 .elementor-element-35e9a7f,
.elementor-9653 .elementor-element-7d4c243 .counter-area,
.elementor-9653 .elementor-element-189d6ca { display: none !important; }
/* Điểm đến: số "hoạt động" (đếm Experience demo) */
.elementor-9653 .elementor-element-1f93632 .destination-content span { display: none; }
/* Trang tour: đánh giá giả (4.5/5 – 138 reviews), "100% Carbon Neutral",
   popup demo "Tour Activities" (khách sạn San Diego, metro Paris) khi bấm ảnh trong lịch trình */
.single-tour .elementor-element-05c7fcd,
.single-tour .elementor-element-1074454,
.location-details-modal { display: none !important; }
.tour-itinerary-area .location-img { pointer-events: none; cursor: default; }

/* 1.3.0 – Trang điểm đến (inc/destination.php) */
.ec-dest__hero { position: relative; background: #1d2b36 center/cover no-repeat; color: #fff; padding: 110px 0 70px; margin-bottom: 40px; }
.ec-dest__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.ec-dest__hero .container { position: relative; }
.ec-dest__hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); margin: 0 0 10px; }
.ec-dest__hero p { color: #fff; font-size: 18px; max-width: 720px; margin: 0; }
.ec-dest > .container > section { margin-bottom: 48px; }
.ec-dest h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.ec-dest h3 { font-size: 19px; margin-bottom: 8px; }
.ec-dest__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 40px; }
.ec-dest__facts > div { background: #F3F8FA; border-radius: 12px; padding: 16px 18px; }
.ec-dest__facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #6b7a85; font-weight: 600; margin-bottom: 4px; }
.ec-dest__facts dd { margin: 0; font-weight: 600; color: var(--title-color, #110F0F); }
.ec-dest__intro p { font-size: 17px; line-height: 1.75; }
.ec-dest__places, .ec-dest__seasons { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.ec-dest__seasons { grid-template-columns: repeat(4, 1fr); }
.ec-dest__num { display: block; font-weight: 700; color: var(--primary-color2, #0EA9D0); margin-bottom: 6px; }
.ec-dest__weather { font-weight: 700; color: var(--primary-color2, #0EA9D0); margin-bottom: 6px; }
.ec-dest__cta { text-align: center; }
@media (max-width: 991px) { .ec-dest__places, .ec-dest__seasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
  .ec-dest__places, .ec-dest__seasons { grid-template-columns: 1fr; }
  .ec-dest__hero { padding: 70px 0 44px; }
}

/* 1.3.0 – Trang chủ: vòng tròn các tuyến (inc/home-circles.php) */
.ec-circles { padding: 56px 0 40px; background: #fff; }
.ec-circles__title { text-align: center; font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 32px; }
.ec-circles__title span { color: var(--primary-color2, #0EA9D0); }
.ec-circles__list { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 26px; }
.ec-circle { --size: 228px; width: var(--size); height: var(--size); position: relative; perspective: 900px; }
.ec-circle > a { display: block; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.ec-circle__ring { position: absolute; inset: -7px; border-radius: 50%; border: 4px solid transparent;
  border-top-color: color-mix(in srgb, var(--c) 35%, #fff); border-left-color: color-mix(in srgb, var(--c) 35%, #fff);
  transition: transform .9s ease, opacity .3s; opacity: .9; pointer-events: none; }
.ec-circle__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s ease-out; }
.ec-circle__face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.ec-circle__front { background: var(--c); padding: 54px 20px 0; }
.ec-circle__name { font-size: 24px; font-weight: 600; line-height: 1.2; position: relative; z-index: 1; }
.ec-circle__countries { font-size: 13px; line-height: 1.45; margin-top: 6px; opacity: .95; position: relative; z-index: 1; }
.ec-circle__img { position: absolute; left: 0; right: 0; bottom: 0; height: 44%; background: center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38%); mask-image: linear-gradient(to bottom, transparent 0, #000 38%); }
.ec-circle__back { background: #fff; color: var(--title-color, #110F0F); transform: rotateY(180deg); padding: 34px 26px 0; border: 3px solid var(--c); }
.ec-circle__route { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0; font-size: 12.5px; line-height: 1.5; }
.ec-circle__route span::after { content: "→"; color: var(--c); margin: 0 4px; }
.ec-circle__route span:last-child::after { content: none; }
.ec-circle__price { margin-top: 8px; font-weight: 700; color: var(--c); font-size: 14px; }
.ec-circle__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 0 18px; background: var(--c); color: #fff; font-weight: 600; font-size: 15px; }
.ec-circle:hover .ec-circle__inner, .ec-circle:focus-within .ec-circle__inner, .ec-circle.is-flipped .ec-circle__inner { transform: rotateY(180deg); }
.ec-circle:hover .ec-circle__ring, .ec-circle.is-flipped .ec-circle__ring { transform: rotate(270deg); }
.ec-circles__note { display: flex; justify-content: center; flex-wrap: wrap; margin: 34px auto 0; max-width: max-content; background: #F3F5F7; border-radius: 4px; overflow: hidden; font-size: 15px; }
.ec-circles__note strong { background: #F0384C; color: #fff; padding: 8px 18px; font-weight: 600; }
.ec-circles__note span { padding: 8px 18px; }
@media (max-width: 575px) {
  .ec-circles { padding: 40px 0 28px; }
  .ec-circles__list { gap: 22px 16px; }
  .ec-circle { --size: 158px; }
  .ec-circle__front { padding-top: 34px; }
  .ec-circle__name { font-size: 18px; }
  .ec-circle__countries { font-size: 11px; }
  .ec-circle__back { padding: 20px 12px 0; }
  .ec-circle__route { font-size: 10.5px; }
  .ec-circle__price { font-size: 12px; margin-top: 4px; }
  .ec-circle__bar { font-size: 12px; padding: 8px 0 12px; }
  .ec-circles__note { font-size: 13px; }
}
.ec-dest__hero { padding-top: 140px; }
.ec-dest__crumb { font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.85); }
.ec-dest__crumb a { color: #fff; text-decoration: none; }
.ec-dest__crumb a:hover { text-decoration: underline; }
@media (max-width: 575px) { .ec-dest__hero { padding-top: 90px; } }

/* 1.3.0 – Footer: ô liên hệ bấm được, icon Zalo */
a.ec-footer-contact { display: block; color: inherit; text-decoration: none; }
a.ec-footer-contact:hover .elementor-icon-box-description { text-decoration: underline; }
.ec-ficon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #292727; border: 1px solid rgba(255,255,255,.1); box-sizing: border-box; }
.ec-zalo-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #0068FF; color: #fff; font: 700 8px/1 Arial, sans-serif; letter-spacing: -.2px; }
.ec-ficon svg { width: 18px !important; height: 18px !important; }

/* 1.3.2 – Mặt sau vòng tròn: bản đồ lộ trình; dải tên tuyến che chữ tiếng Anh ở đáy ảnh */
.ec-circle__back--map { padding: 0; background: #fff; }
.ec-circle__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ec-circle__back--map .ec-circle__bar { font-size: 14px; padding: 10px 0 22px; height: 21%; box-sizing: border-box; display: flex; align-items: flex-start; justify-content: center; }
@media (max-width: 575px) { .ec-circle__back--map .ec-circle__bar { padding: 6px 0 0; } }

/* 1.3.2 – 6 vòng tròn: 1 hàng trên màn hình rộng, 3+3 trên tablet, 2 cột trên điện thoại */
.ec-circles__list { display: grid; max-width: none; justify-content: center; grid-template-columns: repeat(6, var(--size)); --size: 196px; gap: 26px 22px; }
.ec-circles__list .ec-circle { --size: 196px; }
@media (max-width: 1399px) { .ec-circles__list { grid-template-columns: repeat(3, var(--size)); } .ec-circles__list, .ec-circles__list .ec-circle { --size: 210px; } }
@media (max-width: 575px) { .ec-circles__list { grid-template-columns: repeat(2, var(--size)); gap: 22px 16px; } .ec-circles__list, .ec-circles__list .ec-circle { --size: 158px; } }
@media (min-width: 576px) and (max-width: 1399px) { .ec-circle__name { font-size: 22px; } }
@media (min-width: 1400px) { .ec-circle__name { font-size: 21px; } .ec-circle__front { padding-top: 44px; } }
@media (min-width: 1400px) { .ec-circle__front { padding: 34px 16px 0; } .ec-circle__name { font-size: 20px; } .ec-circle__countries { font-size: 11.5px; } .ec-circle__img { height: 38%; } }

/* 1.4.0 – Giới thiệu tour từ dữ liệu EC */
.ec-tour__overview p { margin-bottom: 12px; line-height: 1.75; }

/* 1.4.1 – Trang chủ: ẩn slider khuyến mãi "Tặng Voucher Meal…" (widget gofly_offer_banner_two c9acb84) */
.elementor-9653 .elementor-element-c9acb84,
.elementor-9653 .elementor-element-d2bde4f:has(> .elementor-element-c9acb84:only-child) { display: none !important; }

/* 1.6.0 – Trang chủ: khối theo loại tour (inc/home-sections.php) thay widget "Tour Được Đánh Giá Cao" (e3b478c) */
.elementor-9653 .elementor-element-e88a123 { display: none !important; }
.ec-home-sec { padding: 48px 0; background: #fff; }
.ec-home-sec:nth-of-type(even) { background: #F6F8FA; }
.ec-home-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ec-home-sec__title { font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.ec-home-sec__desc { margin: 0; color: var(--text-color, #525252); }
.ec-home-sec__more { flex: none; color: #e8304a; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ec-home-sec__more:hover { text-decoration: underline; }
.ec-home-sec__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.ec-home-sec__chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--borders-color, #E8E8E8); border-radius: 999px; background: #fff; color: var(--title-color, #110F0F); font-size: 14px; text-decoration: none; }
.ec-home-sec__chips a span { color: #8a8a8a; font-size: 12px; margin-left: 2px; }
.ec-home-sec__chips a:hover { border-color: #e8304a; color: #e8304a; }
.ec-home-sec__grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.ec-home-sec__grid .ec-tour-card__title { font-size: 16px; }
.ec-home-sec__grid .ec-tour-card__route { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ec-home-sec__foot { text-align: center; margin-top: 26px; }
.ec-home-sec__btn { display: inline-block; padding: 11px 26px; border: 1px solid #e8304a; border-radius: 999px; color: #e8304a; font-weight: 600; text-decoration: none; }
.ec-home-sec__btn:hover { background: #e8304a; color: #fff; }
@media (max-width: 1199px) { .ec-home-sec__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .ec-home-sec__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
  .ec-home-sec { padding: 36px 0; }
  .ec-home-sec__head { flex-direction: column; align-items: flex-start; }
  .ec-home-sec__grid { grid-template-columns: 1fr; }
}

/* 1.6.0 – Ẩn "Tìm gần đây" (Quick Search) trong ô tìm kiếm header: hiện từ khoá khách khác đã gõ */
.search-input .quick-search { display: none !important; }

/* ===== Review chủ site 15/10/2026 ===== */

/* Font chữ toàn site: Inter (thay Poppins / Roboto của GoFly và Be Vietnam Pro của Elementor).
   Chỉ đổi biến và chữ của widget, không đụng font icon (bootstrap-icons, boxicons, Font Awesome). */
:root {
    --font-poppins: 'Inter', sans-serif;
    --font-roboto: 'Inter', sans-serif;
}
.elementor-kit-278 {
    --e-global-typography-primary-font-family: 'Inter';
    --e-global-typography-secondary-font-family: 'Inter';
    --e-global-typography-text-font-family: 'Inter';
    --e-global-typography-accent-font-family: 'Inter';
}
body,
body .elementor-heading-title,
body .elementor-widget-text-editor,
body .elementor-icon-box-title,
body .elementor-icon-box-description,
body .elementor-icon-list-text,
body .elementor-button,
body .hfe-nav-menu a,
body .elementor-nav-menu a,
body input, body select, body textarea, body button {
    font-family: 'Inter', sans-serif !important;
}

/* Footer nền sáng (trước là nền đen + bản đồ thế giới) */
body .elementor-element.elementor-element-23b98ad1 {
    background: #F2F7FB !important;
    border-top: 1px solid #DCE8F1;
}
body .elementor-element.elementor-element-23b98ad1 > .elementor-background-overlay,
body .elementor-element.elementor-element-23b98ad1::before { display: none !important; }
body .elementor-element-23b98ad1 .elementor-heading-title,
body .elementor-element-23b98ad1 .elementor-icon-box-description { color: #13293D !important; }
body .elementor-element-23b98ad1 .elementor-icon-list-text,
body .elementor-element-23b98ad1 .elementor-icon-box-title,
body .elementor-element-23b98ad1 .elementor-widget-text-editor,
body .elementor-element-23b98ad1 .elementor-widget-text-editor p { color: #4A5868 !important; }
body .elementor-element-23b98ad1 .elementor-icon-list-item:hover .elementor-icon-list-text,
body .elementor-element-23b98ad1 a:hover .elementor-icon-list-text,
body .elementor-element-23b98ad1 .elementor-widget-text-editor a:hover { color: #1781FE !important; }
body .elementor-element-23b98ad1 .elementor-widget-text-editor a,
body .elementor-element-23b98ad1 .elementor-widget-text-editor strong { color: #13293D !important; }
body .elementor-element-23b98ad1 .elementor-social-icon { background-color: #DCE8F1 !important; }
body .elementor-element-23b98ad1 .elementor-social-icon i { color: #13293D !important; }
body .elementor-element-23b98ad1 .elementor-social-icon:hover { background-color: #1781FE !important; }
body .elementor-element-23b98ad1 .elementor-social-icon:hover i { color: #fff !important; }
body .elementor-element-23b98ad1 .elementor-element-4bd0c03 { border-color: #DCE8F1 !important; }

/* ===== Trang bản đồ tuyến [ec_route_map] (1.8.0) ===== */
.ec-rmap { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: start; margin: 10px 0 40px; }
.ec-rmap__side { position: sticky; top: 100px; }
.ec-rmap__tabs { display: flex; gap: 4px; padding: 4px; background: #EEF3F7; border-radius: 999px; margin-bottom: 16px; }
.ec-rmap__tabs button { flex: 1; border: 0; background: none; padding: 7px 6px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #4A5868; cursor: pointer; }
.ec-rmap__tabs button.is-on { background: #fff; color: #13293D; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ec-rmap__group { margin-bottom: 18px; }
.ec-rmap__group h2 { font-size: 20px; margin: 0 0 2px; color: #E0565F; }
.ec-rmap__group[data-type="cao-cap"] h2 { color: #E2A114; }
.ec-rmap__group p { font-size: 12.5px; color: #6B7785; margin: 0 0 8px; }
.ec-rmap__group ul { list-style: none; margin: 0; padding: 0; border: 1px solid #E3EAF0; border-radius: 10px; overflow: hidden; background: #fff; }
.ec-rmap__group li + li { border-top: 1px solid #EEF2F5; }
.ec-rmap__item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; border: 0; background: #fff; padding: 9px 12px 9px 14px; text-align: left; cursor: pointer; border-left: 4px solid var(--c); font-size: 14px; color: #13293D; transition: background .15s; }
.ec-rmap__item:hover, .ec-rmap__item.is-on { background: #F3F6F9; }
.ec-rmap__item.is-on .ec-rmap__name { font-weight: 700; }
.ec-rmap__dur { font-size: 12px; color: #8A96A3; white-space: nowrap; }
.ec-rmap[data-filter="vong-tron"] .ec-rmap__group[data-type="cao-cap"],
.ec-rmap[data-filter="cao-cap"] .ec-rmap__group[data-type="vong-tron"] { display: none; }
.ec-rmap__stage { position: relative; }
.ec-rmap__map { background: #F7F9FB; border-radius: 16px; overflow: hidden; border: 1px solid #E3EAF0; }
.ec-rmap__map svg { display: block; width: 100%; height: auto; }
.ec-rmap__map svg g[id^="len_"], .ec-rmap__map svg g[id^="lin_"] { transition: opacity .2s; }
.ec-rmap__map svg g.is-off { opacity: .07; pointer-events: none; }
.ec-rmap.is-focus .ec-rmap__map svg g[id^="len_"]:not(.is-on), .ec-rmap.is-focus .ec-rmap__map svg g[id^="lin_"]:not(.is-on) { opacity: .1; }
.ec-rmap__map svg g.is-on { opacity: 1 !important; }
.ec-rmap__details { position: absolute; top: 14px; left: 14px; z-index: 3; width: min(380px, calc(100% - 28px)); }
.ec-rmap__card { background: #fff; border-radius: 14px; box-shadow: 0 12px 34px rgba(19,41,61,.18); padding: 16px 18px; border-top: 5px solid var(--c); position: relative; }
.ec-rmap__card[hidden] { display: none; }
.ec-rmap__card h3 { font-size: 20px; margin: 0 26px 4px 0; color: #13293D; }
.ec-rmap__countries { font-size: 13px; color: #6B7785; margin: 0 0 10px; }
.ec-rmap__days { margin: 0 0 12px; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: #2B3A48; max-height: 260px; overflow: auto; }
.ec-rmap__days li { padding: 3px 0 3px 14px; position: relative; }
.ec-rmap__days li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.ec-rmap__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed #E3EAF0; padding-top: 10px; font-size: 14px; }
.ec-rmap__foot strong { color: #E0565F; font-size: 18px; }
.ec-rmap__foot a { background: var(--c); color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 13.5px; }
.ec-rmap__foot a:hover { color: #fff; filter: brightness(.92); }
.ec-rmap__close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; color: #8A96A3; cursor: pointer; }
@media (max-width: 991px) {
    .ec-rmap { grid-template-columns: 1fr; }
    .ec-rmap__side { position: static; order: 2; }
    .ec-rmap__stage { order: 1; }
    .ec-rmap__map { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .ec-rmap__map svg { min-width: 760px; }
    .ec-rmap__details { position: static; width: auto; margin-bottom: 12px; }
    .ec-rmap__group ul { display: grid; grid-template-columns: 1fr 1fr; }
    .ec-rmap__group li + li { border-top: 0; }
    .ec-rmap__group li { border-bottom: 1px solid #EEF2F5; }
}
@media (max-width: 480px) { .ec-rmap__group ul { grid-template-columns: 1fr; } }

/* ===== Trang lọc tour [ec_tour_finder] (1.8.0) ===== */
.ec-finder { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; margin: 10px 0 40px; }
.ec-finder__toggle { display: none; }
.ec-finder__side { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; background: #fff; border: 1px solid #E3EAF0; border-radius: 14px; padding: 14px 16px; }
.ec-finder__sidehead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ec-finder__sidehead strong { font-size: 18px; color: #13293D; }
.ec-finder__reset { border: 0; background: none; color: #1781FE; font-size: 13px; cursor: pointer; }
.ec-finder__search { display: block; margin: 0; }
.ec-finder__search input { width: 100%; border: 1px solid #DCE3EA; border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.ec-finder__box { border: 0; border-top: 1px solid #EEF2F5; margin: 12px 0 0; padding: 12px 0 0; min-width: 0; }
.ec-finder__box legend { font-weight: 700; font-size: 14.5px; color: #13293D; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.ec-finder__opts { clear: both; display: flex; flex-direction: column; gap: 2px; }
.ec-finder__box.is-long:not(.is-open) .ec-finder__opts label:nth-child(n+9) { display: none; }
.ec-finder__opts label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #2B3A48; cursor: pointer; padding: 3px 0; margin: 0; }
.ec-finder__opts input { width: 16px; height: 16px; accent-color: #E0565F; margin: 0; flex: none; }
.ec-finder__opts em { font-style: normal; color: #9AA5B1; font-size: 12px; margin-left: 4px; }
.ec-finder__more { border: 0; background: none; color: #1781FE; font-size: 13px; padding: 4px 0 0; cursor: pointer; }
.ec-finder__apply { display: none; }
.ec-finder__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.ec-finder__count { font-size: 15px; color: #4A5868; }
.ec-finder__count strong { color: #13293D; font-size: 18px; }
.ec-finder__bar label { font-size: 14px; color: #4A5868; display: flex; align-items: center; gap: 8px; margin: 0; }
.ec-finder__sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; color: #4A5868; }
.ec-finder__sort span { margin-right: 4px; }
.ec-finder__sort button { border: 1px solid #DCE3EA; background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; color: #2B3A48; cursor: pointer; }
.ec-finder__sort button.is-on { background: #13293D; border-color: #13293D; color: #fff; }
.ec-finder__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ec-finder__chips:empty { display: none; }
.ec-finder__chips button { border: 1px solid #F3C4C7; background: #FFF4F4; color: #C2414B; border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.ec-finder__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ec-finder__cell[hidden] { display: none; }
.ec-finder__cell .ec-tour-card { height: 100%; }
.ec-finder__cell .ec-tour-card__title { font-size: 16px; }
.ec-finder__cell .ec-tour-card__route { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ec-finder__empty { padding: 30px; text-align: center; background: #F7F9FB; border-radius: 14px; }
.ec-finder__empty[hidden] { display: none; }
.ec-finder__morewrap { text-align: center; margin-top: 24px; }
.ec-finder__morewrap[hidden] { display: none; }
.ec-finder__loadmore { border: 1px solid #E0565F; color: #E0565F; background: #fff; border-radius: 999px; padding: 10px 26px; font-weight: 600; cursor: pointer; }
.ec-finder__loadmore:hover { background: #E0565F; color: #fff; }
@media (max-width: 1199px) { .ec-finder__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991px) {
    .ec-finder { grid-template-columns: 1fr; gap: 14px; }
    .ec-finder__toggle { display: block; border: 1px solid #DCE3EA; background: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 600; text-align: left; }
    .ec-finder__side { display: none; position: fixed; inset: 0; z-index: 9999; max-height: none; border-radius: 0; padding: 16px 16px 80px; }
    .ec-finder.is-filtering .ec-finder__side { display: block; }
    .ec-finder__apply { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; border: 0; background: #E0565F; color: #fff; border-radius: 12px; padding: 13px; font-weight: 700; font-size: 15px; }
}
@media (max-width: 575px) { .ec-finder__grid { grid-template-columns: 1fr; } }
@media (min-width: 992px) { .ec-rmap.is-right .ec-rmap__details { left: auto; right: 14px; } }

/* ===== Trang chủ: khoảng cách các khối (1.8.1) ===== */
/* Khối trống 490748d (không có nội dung, chỉ còn margin 100px) */
body .elementor-9653 .elementor-element.elementor-element-490748d { display: none !important; }
/* "Điểm đến ấn tượng" margin 100/100 → 40/0; "Vì sao nên đặt tour" bỏ margin dưới 170px */
body .elementor-9653 .elementor-element.elementor-element-dc5131a { margin-top: 40px !important; margin-bottom: 0 !important; }
body .elementor-9653 .elementor-element.elementor-element-e432ac6 { margin-bottom: 0 !important; }
/* Bản tin + logo đối tác: margin dưới 100px → 40px */
body .elementor-9653 .elementor-element.elementor-element-5f94aba,
body .elementor-9653 .elementor-element.elementor-element-404d019 { margin-bottom: 40px !important; }
/* Footer sáng không cần khoảng trống 245px phía trên (dành cho ảnh nền bản đồ cũ) */
body .elementor-element.elementor-element-23b98ad1 { --padding-top: 70px !important; padding-top: 70px !important; }
/* Bản tin: ảnh nền demo 404 làm chữ trắng trên nền trắng → nền xanh EuroCircle */
.newsletter-wrapper { background: url(../../uploads/2025/09/home6-newletter-bg-1.webp) center / cover no-repeat, linear-gradient(120deg, #13293D 0%, #1F7CC1 100%) !important; }

/* ===== Điện thoại (1.8.3) ===== */
/* Bản đồ tuyến: SVG rộng 760px chỉ cuộn trong khung bản đồ, không kéo cả trang sang ngang */
.ec-rmap > *, .ec-rmap__stage, .ec-rmap__side { min-width: 0; }
/* Khối trang chủ nằm trong flex container của Elementor: không cho nội dung cuộn ngang kéo giãn khối */
.ec-home-sec, .ec-circles { min-width: 0; max-width: 100%; }
.ec-home-sec .container { min-width: 0; }
@media (max-width: 991px) {
    .ec-rmap__card h3 { font-size: 18px; }
    .ec-rmap__days { max-height: 210px; }
    .ec-rmap__tabs button { font-size: 12.5px; padding: 7px 4px; }
}
/* Bộ lọc tour trên điện thoại: nằm trên nút "lên đầu trang" */
@media (max-width: 991px) {
    .ec-finder__side { z-index: 100000; }
    .ec-finder__apply { z-index: 100001; }
    body:has(.ec-finder.is-filtering) { overflow: hidden; }
}
/* Trang chủ: 4 khối tour trên điện thoại vuốt ngang (trước là 28 thẻ xếp dọc, dài ~13.000px) */
@media (max-width: 767px) {
    .ec-home-sec__grid {
        display: flex; grid-template-columns: none; gap: 14px;
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -12px; padding: 4px 12px 14px; scroll-padding: 0 12px; scrollbar-width: thin;
    }
    .ec-home-sec__grid > * { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
    .ec-home-sec__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px 16px; padding: 0 12px 4px; }
    .ec-home-sec__chips li { flex: none; }
    .ec-home-sec__foot { margin-top: 10px; }
}

/* ===== Trang "Tiện ích du lịch" và các trang con (1.9.0) ===== */
.ec-guide { max-width: 860px; margin: 0 auto 40px; font-size: 16px; line-height: 1.7; color: #2B3A48; }
.ec-guide__intro { font-size: 17.5px; color: #13293D; margin-bottom: 26px; }
.ec-guide h2 { font-size: 24px; margin: 34px 0 12px; color: #13293D; scroll-margin-top: 110px; }
.ec-guide ul { padding-left: 0; list-style: none; margin: 0 0 16px; }
.ec-guide ul li { position: relative; padding: 4px 0 4px 26px; }
.ec-guide ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: #1F7CC1; }
.ec-guide a { color: #1F7CC1; }
.ec-guide__btn, .ec-guide a.ec-guide__btn { display: inline-block; background: #E0565F; color: #fff !important; padding: 10px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.ec-guide__btn:hover { filter: brightness(.93); }
.ec-guide__note { font-size: 13.5px; color: #8A96A3; font-style: italic; margin-top: 26px; }
.ec-guide__cta { margin-top: 24px; padding: 20px 24px; background: #F2F7FB; border: 1px solid #DCE8F1; border-radius: 14px; }
.ec-guide__cta p { margin: 0 0 10px; }
.ec-guide__cta p:last-child { margin: 0; }
.ec-guide__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ec-guide__card { display: block; padding: 18px 20px; border: 1px solid #E3EAF0; border-left: 4px solid #1F7CC1; border-radius: 12px; background: #fff; text-decoration: none; transition: box-shadow .2s; }
.ec-guide__card:hover { box-shadow: 0 8px 22px rgba(19,41,61,.1); }
.ec-guide__card strong { display: block; font-size: 17px; color: #13293D; margin-bottom: 4px; }
.ec-guide__card span { font-size: 14px; color: #6B7785; }
#kinh-nghiem + .ec-guide__cards .ec-guide__card { border-left-color: #E0565F; }
@media (max-width: 575px) { .ec-guide__cards { grid-template-columns: 1fr; } .ec-guide h2 { font-size: 21px; } }
