/**
 * Home News Kerala - Advertisement Slider Stylesheet
 * Placed immediately below Breaking News Ticker on Homepage
 * Strict separation of concerns per AGENTS.md
 */

.breaking-ad-slider-section {
    padding: 10px 0 16px 0;
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.ad-slider-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Header bar */
.ad-slider-header {
    background: #0f172a;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ad-slider-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.text-highlight {
    color: #f59e0b;
}

.ad-slider-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ad-nav-btn {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ad-nav-btn:hover {
    background: #d71920;
    color: #ffffff;
}

/* Viewport & Pure Image Slide */
.ad-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f8fafc;
}

.ad-slider-track {
    display: flex;
    transition: transform 0.45s ease-in-out;
    width: 100%;
}

.ad-slide-item {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.ad-banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    line-height: 0;
    background: #f1f5f9;
}

.ad-pure-banner-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.ad-banner-link:hover .ad-pure-banner-img {
    opacity: 0.96;
    transform: scale(1.005);
}

/* Indicators / Dots */
.ad-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.ad-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.ad-dot.active {
    width: 22px;
    border-radius: 4px;
    background: #d71920;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .ad-pure-banner-img {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .ad-pure-banner-img {
        height: 95px;
    }
}

@media (max-width: 400px) {
    .ad-pure-banner-img {
        height: 80px;
    }
}

