/* ==========================================================================
   TripWays — Blog Sidebar Tour Cards (YouTube-style)
   Compact + clean layout for use inside Elementor
   ========================================================================== */

/* Card Wrapper */
.tw-sidebar-card {
    display: flex;
    gap: 10px;                 /* space between image & text */
    margin-bottom: 5px;
    padding: 0px;              
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.tw-sidebar-card:hover {
    transform: translateY(-2px);
}

/* Thumbnail (fixed YouTube-like ratio) */
.tw-sidebar-thumb {
    flex: 0 0 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.tw-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Container */
.tw-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Title Styling */
.tw-sidebar-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 2px;         /* slightly tighter title ↔ price spacing */
    overflow: hidden;
    max-height: 40px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;       /* keep title to 2 lines */
    -webkit-box-orient: vertical;
}

/* Price Line */
.tw-sidebar-price {
    font-size: 14px;
    color: #444;
}

.tw-sidebar-price strong {
    color: #ff5a26;
    font-size: 15px;
    margin-left: 4px;
}

/* Responsive — adjusts thumbnail size on narrow screens */
@media (max-width: 480px) {
    .tw-sidebar-thumb {
        flex: 0 0 105px;
        height: 70px;
    }

    .tw-sidebar-title {
        font-size: 14px;
        max-height: 38px;
    }

    .tw-sidebar-price {
        font-size: 13px;
    }
}
