/* LBN City Banners — Hero Rotator + Sidebar Ad
   Covers .atr-hero-* and .atr-sidebar-ad classes.
   -------------------------------------------------- */

/* ── Hero rotator container ── */
.atr-hero-rotator,
.atr-hero-static {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 260px;
    overflow: hidden;
    background-color: var(--atr-sea-800, #1a3340);
}

/* ── Slides ── */
.atr-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.atr-hero-slide.active {
    opacity: 1;
}

/* ── Full-cover link on paid slides ── */
.atr-hero-slide-link {
    position: absolute;
    inset: 0;
    display: block;
}

/* ── Fallback brand slide content ── */
.atr-hero-slide--brand-content,
.atr-hero-static .atr-hero-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 48px;
    color: #fff;
}

.atr-hero-top {
    margin-bottom: 12px;
}

.atr-hero-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;
}

.atr-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    line-height: 1.25;
    margin: 0 0 12px;
    color: #fff;
}

.atr-hero-excerpt {
    font-size: clamp(.875rem, 1.5vw, 1rem);
    opacity: .85;
    margin: 0 0 24px;
    max-width: 540px;
}

.atr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.atr-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s;
}

.atr-cta-btn:hover { opacity: .85; }

.atr-cta-btn-light {
    background: #fff;
    color: #1a3340;
}

.atr-cta-btn-outline {
    border: 2px solid rgba(255,255,255,.7);
    color: #fff;
    background: transparent;
}

/* ── Dot navigation ── */
.atr-hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.atr-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}

.atr-hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ── Static hero (no paid banners) ── */
.atr-hero-static {
    display: flex;
    align-items: flex-end;
}

/* ── Sidebar ad ── */
.atr-sidebar-ad {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.atr-sidebar-ad img {
    width: 100%;
    height: auto;
    display: block;
}

.atr-sidebar-ad a {
    display: block;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .atr-hero-slide--brand-content,
    .atr-hero-static .atr-hero-overlay-content {
        padding: 24px 20px;
    }
}
