/* Grid Wrapper */
.vk-tour-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    row-gap: 40px;
}

/* Individual Card Styling */
.vk-tour-card {
    background: #ffffff;
    /*border-radius: 12px;*/
    overflow: hidden;
    box-shadow: 3px 3px 20px #80808052;
    transition: transform 0.3s ease;
}
.vk-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 20px #8080803b;
}
.vk-tour-image img {
    width: 100%;
    height: 170px !important;
    object-fit: cover;
}
.vk-tour-content {
    padding: 20px;
}
.vk-tour-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px 0;
}
.vk-tour-title a {
    color: #333;
    text-decoration: none;
}
.vk-tour-title a:hover {
    color: var(--title-color);
}
.vk-tour-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Main Meta Container */
.vk-tour-meta {
    display: flex;
    flex-direction: column;
    gap: 13px !important;
    margin-top: 12px;
    margin-bottom: 10px !important;
    border-width: 0px 0px 1px;
    padding-bottom: 10px;
    border-style: solid;
    border-color: #8080808c;
}

/* 1. TOP ROW */
.vk-meta-top-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* Individual item behavior */
.vk-meta-item {
    display: flex;
    align-items: center;
}

/* 2. BOTTOM ROW */
.vk-meta-bottom-row.vk-price {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 2px;
}

/* --- TYPOGRAPHY & SIZES --- */

/* Normal Text (Duration & Date) */
.vk-meta-top-row .vk-meta-text {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

.vk-price .vk-meta-text {
    font-size: 20px; 
    font-weight: 700; 
    color: var(--title-color);  
}

/* Icons Size Control */
.vk-meta-icon {
    font-size: 17px;
    margin-right: 5px;
    display: inline-block;
}

/* Button styling */
.vk-tour-action {
    margin-top: 15px;
    text-align: center;
}

.vk-btn-view-details {
    display: inline-block;
    width: max-content;
    padding: 10px 15px;
    background-color: var(--tf-brand-lite);
    color: var(--tf-primary);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.vk-btn-view-details:hover {
    background-color: var(--theme-color);
    transform: translateY(-2px);
}

/* Margin balance fix */
.vk-tour-sort-container {
    text-align: end;
    margin-bottom: 20px;
    font-family: inherit;
}

.vk-tour-sort-container label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-right: 8px;
    display: inline;
}

.vk-sort-dropdown {
    max-width: 250px !important;
    max-height: 40px !important;
    display: inline !important;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 0px !important;
    background-color: #fff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: border 0.2s ease;
}

.vk-sort-dropdown:focus {
    border-color: var(--title-color);
}

/* Pagination Wrapper Box */
.vk-tour-pagination {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

/* Single Numbers Styles */
.vk-tour-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #fff;
    color: var(--title-color);
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Hover and Active Orange Theme Effect */
.vk-tour-pagination .page-numbers:hover,
.vk-tour-pagination .page-numbers.current {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}