/*
 Theme Name:   Flatsome Child
 Theme URI:    http://dulichsaoviet.vn
 Description:  Child theme cho Flatsome
 Author:       Bạn
 Author URI:   http://dulichsaoviet.vn
 Template:     flatsome
 Text Domain:  flatsome-child
*/

/* ===========================
   DESKTOP & GENERAL STYLES
   ========================== */

/* ===== Base Styles ===== */
.body {
    font-family: "Lexend Deca", sans-serif !important;
}

body .header-full-width .container {
    max-width: 1280px !important;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== Tour Section Wrapper ===== */
.tour-section-wrapper {
    margin: 40px 0;
    padding: 0 15px;
}

.single-tour table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
}

/* ===== Header Section ===== */
.tour-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.tour-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #d71921;
    margin: 0;
    text-transform: uppercase;
}

.tour-view-all {
    font-size: 28px;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.tour-view-all:hover {
    color: #004999;
}

/* ===== Filter Tabs ===== */
.tour-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px 0;
}

.tour-tab-btn {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tour-tab-btn:hover {
    background: #f5f5f5;
    border-color: #0066cc;
}

.tour-tab-btn.active {
    background: #d71921;
    color: #ffffff;
    border-color: #d71921;
}

/* ===== Loading Spinner ===== */
.tour-cards-loading {
    text-align: center;
    padding: 40px 0;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0066cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== Tour Cards Container ===== */
.tour-cards-container {
    position: relative;
    min-height: 200px;
}

/* ===== Tour Cards Grid/Flex Layout ===== */
.tour-cards-grid {
    gap: 20px;
}

/* GRID LAYOUT - Responsive Grid (default) */
.tour-cards-grid.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* HORIZONTAL LAYOUT - 2 Columns with Horizontal Cards */
.tour-cards-grid.layout-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tour-cards-grid.layout-horizontal .tour-card {
    display: flex;
    flex-direction: row;
}

.tour-cards-grid.layout-horizontal .tour-card-inner {
    flex-direction: row;
}

.tour-cards-grid.layout-horizontal .tour-card-image {
    flex: 0 0 220px;
    width: 220px;
    padding-top: 0 !important;
    min-height: 160px;
}

.tour-cards-grid.layout-horizontal .tour-card-body {
    flex: 1;
    padding: 12px 15px;
}

/* ===== Individual Tour Card ===== */
.tour-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.tour-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.tour-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100% !important;
}

/* ===== Tour Card Image ===== */
.tour-card-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
}

.tour-card-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tour-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}

.schedule-link {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    z-index: 2;
    transition: background 0.3s ease;
}

.schedule-link:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* ===== Tour Card Body ===== */
.tour-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ===== Tour Card Title - FIX TEXT TRUNCATION ===== */
.tour-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.tour-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.tour-card-title a:hover {
    color: #0066cc;
}

/* ===== Tour Meta Info - FIX MAX HEIGHT ===== */
.tour-card-meta {
    flex-grow: 1;
    margin-bottom: 12px;
    max-height: 120px;
    overflow: hidden;
}

.tour-meta-row {
    display: flex !important;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.3;
    color: #555;
    flex-wrap: nowrap;
    word-wrap: break-word;
}

.tour-meta-row:last-child {
    margin-bottom: 0;
}

.meta-icon {
    display: inline-flex;
    color: #0066cc;
    flex-shrink: 0;
    margin-top: 2px;
}

.meta-icon svg {
    width: 14px;
    height: 14px;
}

.meta-label {
    color: #666;
    margin-right: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tour-meta-row strong {
    color: #333;
    font-weight: 600;
    word-break: break-word;
    max-width: 100%;
    flex: 1;
    display: inline;
}

.duration {
    color: #e91e63;
    font-weight: 500;
    white-space: nowrap;
}

.tour-transport-icons {
    display: flex;
    gap: 4px;
    margin-left: 4px;
}

.transport-icon {
    font-size: 14px;
}

/* ===== Tour Card Price ===== */
.tour-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.layout-horizontal .tour-card-price {
    justify-content: flex-end;
}

.price-label {
    font-size: 12px;
    color: #666;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #d71921;
    font-family: 'Lato' !important;
}

/* ===== No Tours Message ===== */
.no-tours-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* ===== Animation ===== */
.tour-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple cards */
.tour-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tour-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tour-card:nth-child(3) {
    animation-delay: 0.3s;
}

.tour-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===== RTL Support ===== */
[dir="rtl"] .tour-section-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .tour-meta-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .tour-card-price {
    flex-direction: row-reverse;
}

[dir="rtl"] .tour-cards-grid.layout-horizontal .tour-card {
    flex-direction: row-reverse;
}

#main .content-area .row-main {
    max-width: 100% !important;
}

/* ===== Search Box Styling ===== */
#main .search-homepage {
    z-index: 7;
    position: relative !important;
    bottom: 88px !important;
    max-width: 100%;
}

.searchform-wrapper.ux-search-box {
    background: #FFFFFF;
    padding: 0;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.searchform-wrapper.ux-search-box:hover,
.searchform-wrapper.ux-search-box:focus-within {
    box-shadow: 0 6px 16px rgba(215, 25, 33, 0.15);
}

.searchform {
    width: 100%;
}

.searchform .flex-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.searchform .flex-col.flex-grow {
    flex: 1;
    padding: 0;
}

.searchform .search-field {
    width: 100%;
    border: none;
    background: transparent;
    background-color: #ffffff !important;
    padding: 12px 20px;
    font-size: 14px;
    font-family: inherit;
    color: #333333;
    outline: none;
    padding-right: 0 !important;
}

.searchform .search-field::placeholder {
    color: #999999;
    font-size: 14px;
}

.searchform .search-field:focus {
    background: transparent;
    border: none;
}

.searchform .ux-search-submit {
    background: linear-gradient(135deg, #D71921 0%, #C41419 100%);
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.searchform .ux-search-submit:active {
    transform: translateX(0);
}

.searchform .ux-search-submit .icon-search {
    font-size: 16px;
    color: white;
}

.live-search-results .autocomplete-suggestions {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
}

.autocomplete-suggestions>div {
    padding: 10px 16px;
    border-bottom: 1px solid #F0F0F0;
    color: #333333;
    cursor: pointer;
    transition: background 0.2s ease;
}

.autocomplete-suggestions>div:hover,
.autocomplete-suggestions>div.selected {
    background: #FFF5F5;
    color: #D71921;
}

.autocomplete-suggestions>div:last-child {
    border-bottom: none;
}

/* ===== Top Bar (Hotline) ===== */
.header-top {
    background: linear-gradient(135deg, #d71921 0%, #c41419 100%);
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-top a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.hotline-text {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotline-text:before {
    content: "☎";
    font-size: 14px;
}

/* ===== Main Header ===== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header.is-sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
    padding: 12px 0;
    align-items: center;
}

/* ===== Logo ===== */
#logo {
    flex: 0 0 auto;
}

#logo a:hover img {
    opacity: 0.9;
    transform: scale(1.02);
}

/* ===== Navigation ===== */
.header-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.header-nav.nav-left {
    justify-content: flex-start;
}

.header-nav.nav-right {
    justify-content: flex-end;
}

/* ===== Menu Items ===== */
.header-nav .menu-item {
    position: relative;
    margin: 0;
}

.header-nav .nav-top-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    font-size: 18px;
    font-family: "Lexend Deca", sans-serif;
}

.header-nav .nav-top-link:hover {
    background: #f5f5f5;
    color: #d71921;
}

.header-nav .nav-top-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.header-nav .menu-item.has-dropdown>.nav-top-link:hover i {
    transform: rotate(-180deg);
}

/* ===== Dropdown Menu ===== */
.nav-dropdown {
    position: absolute;
    top: 100%;
    background: #ffffff;
    list-style: none;
    min-width: 200px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    left: 0px !important;
}

.header-nav .menu-item:hover>.nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown .menu-item {
    margin: 0;
    padding: 0;
}

.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #333 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: "Lexend Deca", sans-serif;
}

.nav-dropdown a:hover {
    background: #f9f9f9;
    color: #d71921;
    border-left-color: #d71921;
    padding-left: 24px;
}

/* ===== Icon Styling ===== */
.icon-angle-down {
    display: inline-block;
    font-size: 11px;
}

/* ===== Mobile Navigation ===== */
.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-nav .nav-icon a,
.mobile-nav .cart-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #333;
    font-size: 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-nav .nav-icon a:hover,
.mobile-nav .cart-item a:hover {
    background: #f5f5f5;
    color: #d71921;
}

.cart-icon strong {
    font-size: 12px;
    font-weight: 700;
}

/* ===== Flex Layout ===== */
.flex-row {
    display: flex;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-left {
    justify-content: flex-start;
}

.flex-right {
    justify-content: flex-end;
}

.flex-grow {
    flex: 1;
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Divider ===== */
.is-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 10px 0;
}

/* ===== Text Utilities ===== */
.uppercase {
    text-transform: uppercase;
}

.nav-uppercase .nav-top-link {
    text-transform: uppercase;
}

/* ===== Active Menu Item ===== */
.header-nav .menu-item.current-menu-item>.nav-top-link {
    color: #d71921;
    font-weight: 600;
}

.header-nav .menu-item.current-menu-item>.nav-top-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: #d71921;
    border-radius: 2px 2px 0 0;
}

.category-tours-page .container {
    max-width: 100%;
    align-items: center;
}

.category-tours-page .tour-category-archive {
    margin: 0px 0px !important;
    padding: 0px 75px !important;
    width: 100%;
    max-width: 100%;
}

.category-tours-page .tour-category-archive .col-md-12 {
    width: 100%;
}

/* ===== LAYOUT 2 COLUMNS ===== */
.tour-category-archive .tour-cards-grid.layout-horizontal {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ===== TOUR CARD ===== */
.tour-category-archive .tour-card {
    display: flex !important;
    flex-direction: row !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
    height: 200px !important;
    position: relative !important;
    margin-bottom: 0 !important;
}

.tour-category-archive .tour-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    border-color: #d71921 !important;
    transform: translateY(-2px) !important;
}

.tour-category-archive .tour-card-inner {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
}

/* ===== IMAGE - 30% WIDTH ===== */
.tour-category-archive .tour-card-image {
    flex: 0 0 30% !important;
    width: 30% !important;
    height: 100% !important;
    padding-top: 0 !important;
    border-radius: 8px 0 0 8px !important;
    position: relative !important;
    overflow: hidden !important;
}

.tour-category-archive .tour-card-image a {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.tour-category-archive .tour-card-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.tour-category-archive .tour-card:hover .tour-card-image img {
    transform: scale(1.05) !important;
}

/* ===== BODY - 70% WIDTH ===== */
.tour-category-archive .tour-card-body {
    flex: 1 !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    position: relative !important;
    background: #ffffff !important;
    height: 100% !important;
}

/* ===== TITLE ===== */
.tour-category-archive .tour-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 6px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #1a1a1a !important;
}

.tour-category-archive .tour-card-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: block !important;
}

.tour-category-archive .tour-card-title a:hover {
    color: #d71921 !important;
}

/* ===== CONTENT - Meta + Price cùng hàng ===== */
.tour-category-archive .tour-card-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-bottom: 0 !important;
}

/* ===== META INFO - Bên trái ===== */
.tour-category-archive .tour-card-meta {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    overflow: hidden !important;
}

.tour-category-archive .tour-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    color: #555 !important;
    flex-wrap: nowrap !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    margin-bottom: 0 !important;
}

.tour-category-archive .tour-meta-row:last-child {
    margin-bottom: 0 !important;
}

.tour-category-archive .meta-icon {
    display: inline-flex !important;
    color: #d71921 !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    height: 14px !important;
}

.tour-category-archive .meta-icon svg {
    width: 14px !important;
    height: 14px !important;
}

.tour-category-archive .meta-label {
    color: #666 !important;
    margin-right: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-weight: 500 !important;
}

.tour-category-archive .tour-meta-row strong {
    color: #333 !important;
    font-weight: 600 !important;
    word-break: break-word !important;
    flex: 1 !important;
    display: inline !important;
    margin-right: 0 !important;
}

.tour-category-archive .tour-meta-row strong+span {
    margin-left: 0 !important;
}

.tour-category-archive .duration {
    color: #d71921 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* ===== PRICE - Bên phải, cùng hàng với meta ===== */
.tour-category-archive .tour-card-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0 !important;
    text-align: right !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.tour-category-archive .price-label {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 500 !important;
}

.tour-category-archive .price-value {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #d71921 !important;
    letter-spacing: -0.5px !important;
}

/* ===== FOOTER - Dưới border: Schedule Link (trái) + Button (phải) ===== */
.tour-category-archive .tour-card-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f0f0 !important;
    gap: 10px !important;
}

/* ===== SCHEDULE LINK ===== */
.tour-category-archive .schedule-link {
    background: transparent !important;
    color: #0066cc !important;
    padding: 0 !important;
    border: none !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    z-index: 2 !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    position: static !important;
    display: inline-block !important;
    margin: 0 !important;
}

.tour-category-archive .schedule-link:hover {
    color: #d71921 !important;
    text-decoration: none !important;
}

/* ===== CTA BUTTON - Dưới border, bên phải ===== */
.tour-category-archive .tour-card .cta-button {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%) !important;
    color: #ffffff !important;
    padding: 7px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.tour-category-archive .tour-card:hover .cta-button {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%) !important;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3) !important;
}

.tour-category-archive .cta-button:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%) !important;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3) !important;
}

/* ===== TRANSPORT ICONS ===== */
.tour-category-archive .tour-transport-icons {
    display: flex !important;
    gap: 4px !important;
    margin-left: 4px !important;
}

.tour-category-archive .transport-icon {
    font-size: 13px !important;
}

/* ===== ANIMATION ===== */
.tour-category-archive .tour-card {
    animation: fadeInUp 0.5s ease-out !important;
}

.tour-category-archive .tour-card:nth-child(1) {
    animation-delay: 0.05s !important;
}

.tour-category-archive .tour-card:nth-child(2) {
    animation-delay: 0.1s !important;
}

.tour-category-archive .tour-card:nth-child(3) {
    animation-delay: 0.15s !important;
}

.tour-category-archive .tour-card:nth-child(4) {
    animation-delay: 0.2s !important;
}

.tour-category-archive .tour-card:nth-child(5) {
    animation-delay: 0.25s !important;
}

/* ===== PAGINATION ===== */
.tour-category-archive .pagination-wrapper {
    text-align: center !important;
    margin: 30px 0 !important;
}

.tour-category-archive .pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tour-category-archive .pagination-wrapper .page-numbers a,
.tour-category-archive .pagination-wrapper .page-numbers span {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.tour-category-archive .pagination-wrapper .page-numbers a:hover {
    background: #d71921;
    color: #ffffff;
    border-color: #d71921;
}

.tour-category-archive .pagination-wrapper .page-numbers .current {
    background: #d71921;
    color: #ffffff;
    border-color: #d71921;
}

/* ===== CATEGORY HEADER ===== */
.tour-category-archive .category-header {
    margin: 30px 0 24px 0 !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.tour-category-archive .page-title {
    font-size: 26px !important;
    color: #d71921 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    font-weight: 700 !important;
}

.tour-category-archive .category-description {
    font-size: 18px !important;
    color: #000000 !important;
    margin-top: 8px !important;
}

/* ===== TAXONOMY TOUR CATEGORY - HORIZONTAL 2 COLUMNS ===== */

.taxonomy-tour-category-page .container {
    max-width: 100%;
}

.taxonomy-tour-category-page .tour-category-archive {
    margin: 0;
    padding: 0 75px;
    width: 100%;
}

/* ===== CATEGORY HEADER ===== */
.taxonomy-tour-category-page .category-header {
    margin: 30px 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.taxonomy-tour-category-page .page-title {
    font-size: 26px;
    color: #d71921;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}

.taxonomy-tour-category-page .category-description {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* ===== BREADCRUMB ===== */
.taxonomy-tour-category-page .tour-breadcrumb {
    font-size: 13px;
    color: #666;
    margin: 15px 0 20px 0;
}

.taxonomy-tour-category-page .tour-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.taxonomy-tour-category-page .tour-breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== LAYOUT 2 COLUMNS ===== */
.taxonomy-tour-category-page .tour-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ===== TOUR CARD - HORIZONTAL ===== */
.taxonomy-tour-category-page .tour-card {
    display: flex !important;
    flex-direction: row !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
    height: 200px !important;
    position: relative !important;
    margin-bottom: 0 !important;
}

.taxonomy-tour-category-page .tour-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    border-color: #d71921 !important;
    transform: translateY(-2px) !important;
}

.taxonomy-tour-category-page .tour-card-inner {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
}

/* ===== IMAGE - 30% WIDTH, LEFT SIDE ===== */
.taxonomy-tour-category-page .tour-card-image {
    flex: 0 0 30% !important;
    width: 30% !important;
    height: 100% !important;
    padding-top: 0 !important;
    border-radius: 8px 0 0 8px !important;
    position: relative !important;
    overflow: hidden !important;
}

.taxonomy-tour-category-page .tour-card-image a {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.taxonomy-tour-category-page .tour-card-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.taxonomy-tour-category-page .tour-card:hover .tour-card-image img {
    transform: scale(1.05) !important;
}

/* ===== BODY - 70% WIDTH, RIGHT SIDE ===== */
.taxonomy-tour-category-page .tour-card-body {
    flex: 1 !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    position: relative !important;
    background: #ffffff !important;
    height: 100% !important;
}

/* ===== TITLE ===== */
.taxonomy-tour-category-page .tour-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 6px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #1a1a1a !important;
}

.taxonomy-tour-category-page .tour-card-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: block !important;
}

.taxonomy-tour-category-page .tour-card-title a:hover {
    color: #d71921 !important;
}

/* ===== CONTENT - Meta + Price cùng hàng ===== */
.taxonomy-tour-category-page .tour-card-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-bottom: 0 !important;
}

/* ===== META INFO - Bên trái ===== */
.taxonomy-tour-category-page .tour-card-meta {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    overflow: hidden !important;
}

.taxonomy-tour-category-page .tour-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    color: #555 !important;
    flex-wrap: nowrap !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    margin-bottom: 0 !important;
}

.taxonomy-tour-category-page .tour-meta-row:last-child {
    margin-bottom: 0 !important;
}

.taxonomy-tour-category-page .meta-icon {
    display: inline-flex !important;
    color: #d71921 !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    height: 14px !important;
}

.taxonomy-tour-category-page .meta-icon svg {
    width: 14px !important;
    height: 14px !important;
}

.taxonomy-tour-category-page .meta-label {
    color: #666 !important;
    margin-right: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-weight: 500 !important;
}

.taxonomy-tour-category-page .tour-meta-row strong {
    color: #333 !important;
    font-weight: 600 !important;
    word-break: break-word !important;
    flex: 1 !important;
    display: inline !important;
    margin-right: 0 !important;
}

.taxonomy-tour-category-page .tour-meta-row strong+span {
    margin-left: 0 !important;
}

.taxonomy-tour-category-page .duration {
    color: #d71921 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* ===== PRICE - Bên phải, cùng hàng với meta ===== */
.taxonomy-tour-category-page .tour-card-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0 !important;
    text-align: right !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
    height: 100% !important;
}

.taxonomy-tour-category-page .layout-horizontal .tour-card-price {
    height: auto !important;
}

.taxonomy-tour-category-page .price-label {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 500 !important;
}

.taxonomy-tour-category-page .price-value {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #d71921 !important;
    letter-spacing: -0.5px !important;
}

/* ===== FOOTER - Dưới border: Schedule Link (trái) + Button (phải) ===== */
.taxonomy-tour-category-page .tour-card-footer {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f0f0 !important;
    gap: 10px !important;
}

/* ===== SCHEDULE LINK ===== */
.taxonomy-tour-category-page .schedule-link {
    background: transparent !important;
    color: #0066cc !important;
    padding: 0 !important;
    border: none !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    z-index: 2 !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    position: static !important;
    display: inline-block !important;
    margin: 0 !important;
}

.taxonomy-tour-category-page .schedule-link:hover {
    color: #d71921 !important;
    text-decoration: none !important;
}

/* ===== CTA BUTTON - Dưới border, bên phải ===== */
.taxonomy-tour-category-page .tour-card .cta-button {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%) !important;
    color: #ffffff !important;
    padding: 7px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.taxonomy-tour-category-page .tour-card:hover .cta-button {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%) !important;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3) !important;
}

.taxonomy-tour-category-page .cta-button:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%) !important;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3) !important;
}

/* ===== TRANSPORT ICONS ===== */
.taxonomy-tour-category-page .tour-transport-icons {
    display: flex !important;
    gap: 4px !important;
    margin-left: 4px !important;
}

.taxonomy-tour-category-page .transport-icon {
    font-size: 13px !important;
}

/* ===== NO TOURS MESSAGE ===== */
.taxonomy-tour-category-page .no-tours-message {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 30px 0;
}

.taxonomy-tour-category-page .no-tours-message p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ===== PAGINATION ===== */
.taxonomy-tour-category-page .pagination-wrapper {
    text-align: center !important;
    margin: 30px 0 !important;
}

.taxonomy-tour-category-page .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.taxonomy-tour-category-page .pagination .page-numbers a,
.taxonomy-tour-category-page .pagination .page-numbers span {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.taxonomy-tour-category-page .pagination .page-numbers a:hover {
    background: #d71921;
    color: #ffffff;
    border-color: #d71921;
}

.taxonomy-tour-category-page .pagination .page-numbers .current {
    background: #d71921;
    color: #ffffff;
    border-color: #d71921;
}

/* ===== ANIMATION ===== */
.taxonomy-tour-category-page .tour-card {
    animation: fadeInUp 0.5s ease-out !important;
}

.taxonomy-tour-category-page .tour-card:nth-child(1) {
    animation-delay: 0.05s !important;
}

.taxonomy-tour-category-page .tour-card:nth-child(2) {
    animation-delay: 0.1s !important;
}

.taxonomy-tour-category-page .tour-card:nth-child(3) {
    animation-delay: 0.15s !important;
}

.taxonomy-tour-category-page .tour-card:nth-child(4) {
    animation-delay: 0.2s !important;
}

.taxonomy-tour-category-page .tour-card:nth-child(5) {
    animation-delay: 0.25s !important;
}

.taxonomy-tour-category-page .tour-card:nth-child(6) {
    animation-delay: 0.3s !important;
}

.tour-category-archive {
    max-width: none !important;
}

.tour-category-archive .tour-category {
    width: 100% !important;
    padding-left: 75px !important;
    padding-right: 75px !important;
}

/* ===== PARENT CATEGORY WITH IMAGE LAYOUT ===== */

.is-parent-category .parent-category-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.is-parent-category .category-image-wrapper {
    flex: 0 0 35%;
    position: sticky;
    top: 20px;
}

.is-parent-category .category-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.is-parent-category .category-tours-wrapper {
    flex: 1;
}

/* ===== SINGLE COLUMN LAYOUT FOR PARENT CATEGORY ===== */
.taxonomy-tour-category-page.is-parent-category .tour-cards-grid.layout-single-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.taxonomy-tour-category-page.is-parent-category .tour-cards-grid.layout-single-column .tour-card {
    width: 100% !important;
}

/* ===== CHILD CATEGORY - KEEP 2 COLUMNS ===== */
.taxonomy-tour-category-page.is-child-category .tour-cards-grid.layout-horizontal {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
}

/* SLIDER 3 ẢNH - FULL HEIGHT, ĐẸP HOÀN HẢO */
.my-tour-slider-section {
    position: relative;
    overflow: hidden;
}

.my-tour-slider-section .slider,
.my-tour-slider-section .slider .slide,
.my-tour-slider-section .slider .image-box {
    height: 100% !important;
    min-height: inherit !important;
}

.my-tour-slider-section .slider .image-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.my-tour-slider-section .slider .image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1;
}

.my-tour-slider-section .slider .box-text {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.my-tour-slider-section .image-box h3 {
    font-size: 48px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7) !important;
    margin: 0 !important;
}

#row-1084880747 {
    max-width: none !important;
}

.testimonial-slide {
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto !important;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial-slide:hover {
    transform: translateY(-5px);
}

.testimonial-top {
    margin-bottom: 20px;
}

.testimonial-quote {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.testimonial-quote svg {
    width: 100%;
    height: 100%;
    fill: #d71921;
}

.testimonial-content {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testimonial-avatar {
    width: 100px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.testimonial-author-text {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.testimonial-title {
    font-size: 14px;
    color: #888;
    margin-bottom: 6px;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 14px;
}

.swiper-pagination-bullet-active {
    background-color: #d71921 !important;
}

.tab-button .box-image {
    border-radius: 15px;
}

/* FORM liên hệ */
.contact-page {
    padding: 30px 0 60px;
    background: #f8f9fa;
}

.contact-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.contact-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    text-decoration: underline;
}

.contact-breadcrumb span {
    color: #333;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #d71921;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d71921 0%, #b01419 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.contact-link {
    color: #d71921;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-link:hover {
    color: #b01419;
    text-decoration: underline;
}

.contact-form-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.contact-form-wrapper {
    height: 100%;
}

.form-header {
    background: linear-gradient(135deg, #d71921 0%, #b01419 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.form-description {
    font-size: 14px;
    opacity: 0.95;
    margin: 0;
}

.form-body {
    padding: 35px;
}

.form-body .wpcf7-form {
    margin: 0;
}

.form-body .wpcf7-form p {
    margin-bottom: 20px;
}

.form-body label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-body input[type="text"],
.form-body input[type="email"],
.form-body input[type="tel"],
.form-body input[type="number"],
.form-body input[type="date"],
.form-body textarea,
.form-body select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}

.form-body input:focus,
.form-body textarea:focus,
.form-body select:focus {
    border-color: #d71921;
    outline: none;
    box-shadow: 0 0 0 4px rgba(215, 25, 33, 0.1);
}

.form-body textarea {
    min-height: 120px;
    resize: vertical;
}

.form-body .wpcf7-submit {
    background: linear-gradient(135deg, #d71921 0%, #b01419 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-body .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215, 25, 33, 0.3);
    background: linear-gradient(135deg, #b01419 0%, #8c1014 100%);
}

.form-body .wpcf7-response-output {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    border: none !important;
}

.form-body .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
}

.form-body .wpcf7-validation-errors,
.form-body .wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
}

.form-body .wpcf7-not-valid-tip {
    font-size: 13px;
    color: #d71921;
    margin-top: 6px;
    display: block;
}

/* CSS cho tin tức */
.news-categories-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cat-tab {
    padding: 10px 20px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cat-tab:hover,
.cat-tab.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.news-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-thumb {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-info {
    padding: 16px;
}

.news-title {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.news-title a {
    color: #222;
    text-decoration: none;
}

.news-title a:hover {
    color: #007cba;
}

.news-date {
    font-size: 13px;
    color: #888;
}

.news-pagination {
    margin: 40px 0;
    text-align: center;
}

.news-pagination a,
.news-pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.news-pagination .current,
.news-pagination a:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* CSS cho chi tiet blog */
.blog-post-thumbnail {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.blog-post-thumbnail:hover img {
    transform: scale(1.03);
}

.blog-post-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px;
    line-height: 1.3;
}

.blog-post-meta {
    font-size: 14px;
    color: #888;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.blog-post-meta i {
    margin-right: 6px;
    color: #007cba;
}

.blog-post-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.blog-post-content img {
    border-radius: 8px;
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

.blog-post-footer .tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.blog-post-footer .tags i {
    color: #007cba;
    margin-right: 8px;
}

.related-posts {
    margin-top: 60px;
    padding: 40px 0;
    background: #f9f9f9;
    border-radius: 12px;
}

.related-posts .section-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}

.related-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post .image-link {
    display: block;
    height: 160px;
    overflow: hidden;
}

.related-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post:hover img {
    transform: scale(1.05);
}

.related-title {
    padding: 15px 15px 8px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    flex-grow: 1;
}

.related-title a {
    color: #222;
    text-decoration: none;
}

.related-title a:hover {
    color: #007cba;
}

.related-date {
    padding: 0 15px 15px;
    font-size: 13px;
    color: #888;
}

.search-homepage .search-field #s {
    background: #ffffff;
}

.search-homepage .searchform .flex-col {
    padding-right: 0px !important;
}

.tour-high-light>h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #d71921 !important;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.text-tour-featurev {
    align-items: center !important;
}

.ux-menu-link.flex.menu-item.menu-category-link {
    color: black;
}

a.button.white.is-larger.lowercase.phone-link span {
    color: black;
}

.information-footer {
    padding-left: 20px;
    padding-top: 22px;
}

.tour-feature-column .box-image {
    width: 410px !important;
}

.home-page-blog {
    margin-top: 50px;
}

.text-feture-tour {
    padding-left: 25px;
}

.tour-feature {
    margin-left: 10px !important;
}

#content {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

#content .large-12 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.icon-social {
    gap: 25px;
}

.wpcf7-spinner {
    display: none !important;
}

.tour-modal-content {
    max-height: 93vh !important;
    overflow-y: hidden;
}

.tour-modal-body {
    max-height: 90vh;
    overflow-y: auto;
}

.show-for-medium {
    display: none;
}

.hide-for-medium {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-nav .menu-item:hover>.nav-dropdown {
    animation: slideDown 0.3s ease;
}

.footer-phonelink .phone-link {
    font-size: 1.2em;
}

/* ===========================
   RESPONSIVE - TABLET
   ========================== */

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-section {
        order: 2;
    }

    .contact-form-section {
        order: 1;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .tour-cards-grid.layout-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .tour-cards-grid.layout-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-cards-grid.layout-horizontal .tour-card-image {
        flex: 0 0 180px;
        width: 180px;
        min-height: 140px;
    }

    .tour-section-title {
        font-size: 20px;
    }

    .tour-tab-btn {
        font-size: 13px;
        padding: 7px 16px;
    }

    .header-inner {
        padding: 10px 0;
    }

    .header-nav .nav-top-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    #logo img {
        max-height: 50px;
    }

    .header-top-inner {
        flex-direction: column;
        gap: 8px;
    }

    .header-top-left,
    .header-top-right {
        width: 100%;
        justify-content: space-between;
    }

    .show-for-medium {
        display: flex !important;
    }

    .hide-for-medium {
        display: none !important;
    }

    .tour-category-archive .tour-cards-grid.layout-horizontal {
        grid-template-columns: 1fr !important;
    }

    .tour-category-archive .tour-card {
        height: 180px !important;
    }

    .tour-category-archive .tour-card-image {
        flex: 0 0 32% !important;
        width: 32% !important;
    }

    .tour-category-archive .tour-card-title {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }

    .tour-category-archive .tour-meta-row {
        font-size: 12px !important;
        gap: 4px !important;
    }

    .tour-category-archive .price-value {
        font-size: 20px !important;
    }

    .tour-category-archive .cta-button {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }

    .tour-category-archive .schedule-link {
        font-size: 11px !important;
    }

    .taxonomy-tour-category-page .tour-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .taxonomy-tour-category-page .tour-card {
        height: 180px !important;
    }

    .taxonomy-tour-category-page .tour-card-image {
        flex: 0 0 32% !important;
        width: 32% !important;
    }

    .taxonomy-tour-category-page .tour-card-title {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }

    .taxonomy-tour-category-page .tour-meta-row {
        font-size: 12px !important;
        gap: 4px !important;
    }

    .taxonomy-tour-category-page .price-value {
        font-size: 20px !important;
    }

    .taxonomy-tour-category-page .cta-button {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }

    .taxonomy-tour-category-page .schedule-link {
        font-size: 11px !important;
    }

    .is-parent-category .parent-category-layout {
        flex-direction: column;
        gap: 20px;
    }

    .is-parent-category .category-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        position: static;
    }

    .is-parent-category .category-featured-image {
        max-height: 300px;
        object-fit: cover;
    }
}

/* ===========================
   RESPONSIVE - MOBILE
   ========================== */

@media (max-width: 768px) {
    .footer-tour {
        margin-left: 24px;
    }

    .tour-feature-column .box-image {
        width: 375px !important;
    }

    .home-page-blog {
        margin-top: 50px;
    }

    .text-feture-tour {
        padding-left: 25px;
    }

    .footer-lien-ket {
        margin-left: 24px;
    }

    .footer-phonelink {
        margin-left: 24px;
    }

    .tour-category-archive .tour-category {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .is-parent-category .category-featured-image {
        max-height: none !important;
    }

    .searchform .search-field {
        font-size: 13px;
        padding: 10px 16px;
    }

    .searchform .ux-search-submit {
        padding: 10px 16px;
        border-radius: 0 25px 25px 0;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-info-card {
        padding: 18px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .form-header {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-body {
        padding: 25px 20px;
    }

    .form-body input[type="text"],
    .form-body input[type="email"],
    .form-body input[type="tel"],
    .form-body textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .entry-title {
        font-size: 26px;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .related-posts .col {
        margin-bottom: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE GRID 2 COLUMNS - COMPACT VERSION ===== */

@media (max-width: 767px) {
    .nav>li>a>i.icon-menu {
        margin-top: -13px !important;
    }
    .section-home-page .tour-section-wrapper {
        margin-bottom: 0px !important;
    }

    .section-home-page {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .tour-main-content-area {
        padding-top: 0px !important
    }

    .tour-section-wrapper {
        margin-top: 20px !important;
    }

    li.html.custom.html_topbar_right {
        padding: 15px 0px 15px 20px !important;
        font-size: 16px !important;
    }

    .header-link-mobile {
        padding: 0px !important;
        font-size: 16px !important;
    }

    .section-home-page .tour-card-body {
        min-height: 230px;
    }

    .taxonomy-tour-category-page .tour-cards-grid .tour-meta-row {
        flex-wrap: wrap !important;
    }

    .feture-tour-dulich {
        gap: 17px;
    }

    .is-parent-category .category-tours-wrapper {
        width: 100%;
    }

    .relative-blog {
        padding: 0px 0px !important;
    }

    .section-home-page {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .tour-section-wrapper {
        padding: 0 10px;
    }

    .tour-cards-grid {
        gap: 10px;
    }

    /* Homepage - Horizontal scroll */
    .tour-cards-grid.layout-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .tour-cards-grid.layout-grid>* {
        width: 95%;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* Archive pages - Grid 2 cột compact */
    .tour-cards-grid.layout-horizontal {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .tour-cards-grid.layout-horizontal .tour-card {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        max-height: 320px !important;
    }

    .tour-cards-grid.layout-horizontal .tour-card-inner {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    /* Image - chiều cao cố định */
    .tour-cards-grid.layout-horizontal .tour-card-image {
        flex: 0 0 120px !important;
        width: 100% !important;
        height: 120px !important;
        padding-top: 0 !important;
        min-height: auto !important;
        border-radius: 8px 8px 0 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .tour-cards-grid.layout-horizontal .tour-card-image a {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    .tour-cards-grid.layout-horizontal .tour-card-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Body - compact */
    .tour-cards-grid.layout-horizontal .tour-card-body {
        flex: 1 !important;
        padding: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    /* Title - 2 dòng */
    .tour-cards-grid.layout-horizontal .tour-card-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin: 0 0 4px 0 !important;
        -webkit-line-clamp: 2 !important;
        max-height: 31px !important;
        overflow: hidden !important;
    }

    /* Content */
    .tour-cards-grid.layout-horizontal .tour-card-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        overflow: hidden !important;
    }

    /* Meta - ẩn bớt thông tin */
    .tour-cards-grid.layout-horizontal .tour-card-meta {
        flex: 1 !important;
        max-height: 90px !important;
        overflow: hidden !important;
    }

    .tour-cards-grid.layout-horizontal .tour-meta-row {
        font-size: 10px !important;
        gap: 3px !important;
        margin-bottom: 2px !important;
    }

    .tour-cards-grid.layout-horizontal .meta-icon svg {
        width: 10px !important;
        height: 10px !important;
    }

    /* Price - nhỏ gọn */
    .tour-cards-grid.layout-horizontal .tour-card-price {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-top: 4px !important;
        border-top: 1px solid #f0f0f0 !important;
        margin-top: auto !important;
    }

    .tour-cards-grid.layout-horizontal .price-label {
        font-size: 9px !important;
    }

    .tour-cards-grid.layout-horizontal .price-value {
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    /* Footer - chỉ hiển thị button */
    .tour-cards-grid.layout-horizontal .tour-card-footer {
        display: none !important;
    }

    /* Hiển thị button ngay trong price */
    /* .tour-cards-grid.layout-horizontal .tour-card-price::after {
        content: "›";
        font-size: 18px;
        color: #d71921;
        font-weight: bold;
    } */

    .tour-container {
        display: block !important;
    }

    .tour-section-title {
        font-size: 18px;
    }

    .tour-filter-tabs {
        gap: 8px;
        margin-bottom: 15px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tour-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .tour-tab-btn {
        font-size: 12px;
        padding: 6px 12px;
        flex-shrink: 0;
    }

    .tour-card-meta {
        max-height: 100px;
    }

    .thanh-search {
        display: none;
    }

    .header-top-left {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .header-top-right {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .header-inner {
        padding: 8px 0;
    }

    #logo img {
        max-height: 45px;
    }

    .header-nav.hide-for-medium {
        display: none !important;
    }

    .mobile-nav .nav-icon a,
    .mobile-nav .cart-item a {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        margin-top: 8px;
        border-radius: 6px;
    }

    /* Tour category archive */
    .tour-category-archive .tour-category {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .tour-category-archive .tour-cards-grid.layout-horizontal {
        gap: 8px !important;
    }

    .tour-category-archive .tour-card {
        max-height: 320px !important;
    }

    .tour-category-archive .tour-card-image {
        height: 120px !important;
    }

    .tour-category-archive .tour-card-body {
        padding: 8px !important;
    }

    .tour-category-archive .tour-card-title {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        max-height: 31px !important;
    }

    .tour-category-archive .tour-card-content {
        gap: 4px !important;
    }

    .tour-category-archive .tour-card-meta {
        max-height: 60px !important;
    }

    .tour-category-archive .tour-meta-row {
        font-size: 10px !important;
        gap: 3px !important;
    }

    .tour-category-archive .tour-card-price {
        flex-direction: row !important;
        padding-top: 4px !important;
    }

    .tour-category-archive .price-label {
        font-size: 9px !important;
    }

    .tour-category-archive .price-value {
        font-size: 14px !important;
    }

    .tour-category-archive .tour-card-footer {
        display: none !important;
    }

    /* Taxonomy tour category */
    .taxonomy-tour-category-page .tour-category-archive {
        padding: 10px !important;
    }

    .taxonomy-tour-category-page .tour-cards-grid {
        gap: 8px !important;
    }

    .taxonomy-tour-category-page .tour-card {
        max-height: 145px !important;
    }

    .taxonomy-tour-category-page .tour-card-image {
        height: 145px !important;
    }

    .taxonomy-tour-category-page .tour-card-body {
        padding: 8px !important;
    }

    .taxonomy-tour-category-page .tour-card-title {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        max-height: 31px !important;
    }

    .taxonomy-tour-category-page .tour-card-content {
        gap: 4px !important;
        display: block !important;
    }

    .taxonomy-tour-category-page .tour-card-meta {
        max-height: 100px !important;
        width: 155px;
    }

    .taxonomy-tour-category-page .tour-meta-row {
        font-size: 10px !important;
        gap: 3px !important;
    }

    .taxonomy-tour-category-page .tour-card-price {
        flex-direction: row !important;
        padding-top: 4px !important;
        height: 24px !important;
    }

    .taxonomy-tour-category-page .price-label {
        font-size: 11px !important;
        padding-bottom: 2px;
        padding-right: 4px;
    }

    .taxonomy-tour-category-page .price-value {
        font-size: 14px !important;
    }

    .taxonomy-tour-category-page .tour-card-footer {
        display: none !important;
    }

    .is-parent-category .category-featured-image {
        max-height: 200px;
    }

    .taxonomy-tour-category-page.is-child-category .tour-cards-grid.layout-horizontal {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .my-tour-slider-section .image-box h3 {
        font-size: 28px !important;
    }
}

/* ===========================
   RESPONSIVE - EXTRA SMALL MOBILE
   ========================== */

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tour-cards-grid.layout-grid {
        grid-template-columns: 1fr;
    }

    .tour-cards-grid.layout-horizontal {
        grid-template-columns: 1fr;
    }

    .tour-card-meta {
        max-height: 90px;
    }

    .header-top {
        padding: 6px 0;
        font-size: 12px;
    }

    .header-top-inner {
        padding: 0 10px;
    }

    .header-inner {
        padding: 0px 10px;
    }

    #logo img {
        max-height: 40px;
    }

    .header-nav .nav-top-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .nav-dropdown {
        min-width: 150px;
    }

    .nav-dropdown a {
        padding: 10px 16px;
        font-size: 12px;
    }

    .tour-category-archive .tour-card-image {
        height: 120px !important;
    }

    .tour-category-archive .tour-card-title {
        font-size: 13px !important;
    }

    .tour-category-archive .tour-meta-row {
        font-size: 11px !important;
    }

    .taxonomy-tour-category-page .tour-card-image {
        height: 120px !important;
    }

    .taxonomy-tour-category-page .tour-card-title {
        font-size: 13px !important;
    }

    .taxonomy-tour-category-page .tour-meta-row {
        font-size: 11px !important;
    }

    .contact-page {
        padding: 20px 0 40px;
    }

    .contact-header {
        margin-bottom: 30px;
    }

    .contact-title {
        font-size: 24px;
    }
}