/* TBS Cities Grid - Elementor Version */
.tbs-cities-grid.elementor-grid {
    margin: 20px 0;
}

.tbs-cities-grid .elementor-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 0 -12px;
}

.tbs-city-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.tbs-city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tbs-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.tbs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tbs-city-card:hover .tbs-card-image img {
    transform: scale(1.1);
}

.tbs-card-content {
    padding: 24px;
    position: relative;
}

.tbs-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.tbs-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 0.9rem;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.tbs-card-meta i {
    color: #e53e3e;
    font-size: 0.8rem;
}

.tbs-card-excerpt {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tbs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.tbs-card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3182ce;
    transition: width 0.3s ease;
}

.tbs-card-link:hover {
    color: #2c5aa0;
    gap: 12px;
}

.tbs-card-link:hover::after {
    width: 100%;
}

.tbs-card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.tbs-card-link:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .tbs-cities-grid .elementor-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .tbs-cities-grid .elementor-grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0;
    }
    
    .tbs-card-image {
        height: 200px;
    }
}

/* RTL Support */
.elementor-rtl .tbs-card-link i {
    transform: rotate(180deg);
}

.elementor-rtl .tbs-card-link:hover i {
    transform: rotate(180deg) translateX(-4px);
}