/* Hide main carousel control arrows */
.carousel-control.left,
.carousel-control.right {
    display: none !important;
}

.article-slide .carousel-indicators img {
    border: 2px solid #FFFFFF;
    display: block;
    height: 55px;
    width: 80px;
    cursor: pointer;
}

/* Enhanced horizontal scrolling for thumbnails */
.article-slide .carousel-indicators {
    -webkit-overflow-scrolling: touch;
    /* Make scrollbar always visible on desktop */
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0.1);
}

/* Desktop scrollbar styling - more prominent */
.article-slide .carousel-indicators::-webkit-scrollbar {
    height: 8px;
    background: rgba(0,0,0,0.05);
}

.article-slide .carousel-indicators::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    margin: 0 10px;
}

.article-slide .carousel-indicators::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.4);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}

.article-slide .carousel-indicators::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.6);
}

/* Desktop-specific enhancements */
@media (min-width: 768px) {
    .article-slide .carousel-indicators {
        /* Add some padding to make scrolling more obvious */
        padding-bottom: 15px;
        /* Ensure horizontal scroll is always possible */
        min-width: 100%;
        /* Add scroll hint shadows */
        background: linear-gradient(to right, transparent 0%, transparent 20px, rgba(0,0,0,0.1) 20px, rgba(0,0,0,0.1) calc(100% - 20px), transparent calc(100% - 20px), transparent 100%);
    }

    /* Add scroll indicators/arrows for desktop */
    .article-slide .carousel-indicators::before,
    .article-slide .carousel-indicators::after {
        content: '';
        position: absolute;
        top: 0;
        width: 20px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .article-slide .carousel-indicators::before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,0.8), transparent);
    }

    .article-slide .carousel-indicators::after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,0.8), transparent);
    }

    /* Make thumbnails more responsive to mouse interaction */
    .article-slide .carousel-indicators li {
        transition: all 0.2s ease;
    }

    .article-slide .carousel-indicators li:hover {
        transform: scale(1.05);
    }

    /* Auto-centering scroll wrapper */
    .thumbnail-scroll-wrapper {
        position: relative;
    }
}

/* Title truncation with ellipses */
h1.no-top-margin {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Padding between save listing button and car details table */
.dealer-wrap .table {
    margin-top: 20px;
}

/* Footer Styling */
.bg-dark-footer {
    background-color: #3a4550;
    color: #ffffff;
    padding: 0;
    margin: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    padding: 0 20px;
}

.footer-logo-column {
    flex: 0 0 250px;
    padding-right: 60px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-email a {
    color: #5b9bd5;
    font-size: 18px;
    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-bottom {
    background-color: #2d3640;
    padding: 20px 80px;
    text-align: right;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .footer-content {
        flex-direction: column;
        padding: 40px 30px;
    }
    
    .footer-column {
        padding: 20px 0;
        width: 100%;
    }
    
    .footer-logo-column {
        flex: 1;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 20px 30px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .footer-content {
        padding: 30px 20px;
    }
    
    .footer-column h3 {
        font-size: 18px;
    }
    
    .footer-column p {
        font-size: 14px;
    }
    
    .footer-bottom {
        padding: 15px 20px;
    }
}
/* Featured Listing Styles */
.featured-listing-card {
	border: 3px solid #ffd700 !important;
	box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}

.featured-listing-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5) !important;
}

.featured-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
	color: #333;
	padding: 8px 16px;
	border-radius: 25px;
	font-weight: 700;
	font-size: 0.85rem;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 2px solid #fff;
}

.img-link {
	position: relative;
	display: block;
}
