
@keyframes ar-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 214, 0, 0.45),
                    0 0 20px rgba(232, 93, 4, 0.3),
                    0 4px 20px rgba(0, 0, 0, 0.12);
    }
    50% {
        box-shadow: 0 0 18px rgba(255, 214, 0, 0.85),
                    0 0 38px rgba(232, 93, 4, 0.55),
                    0 4px 20px rgba(0, 0, 0, 0.12);
    }
}
@keyframes ar-btn-shine {
    0%   { left: -75%; }
    100% { left: 125%; }
}
@keyframes ar-badge-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
@keyframes ar-nearyou-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.045); }
}
.ar-sidebar-banner {
    position: sticky;
    top: 120px;
    display: block;
    width: 100%;
    max-height: calc(100vh - 140px);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: linear-gradient(160deg, #1e88e5 0%, #0d47a1 100%);
    border: 2px solid rgba(255, 214, 0, 0.7);
    animation: ar-glow-pulse 2.5s ease-in-out infinite;
    transition: transform 0.25s ease;
    font-family: inherit;
}
.ar-sidebar-banner:hover {
    transform: translateY(-4px) scale(1.01);
    animation-play-state: paused;
    box-shadow: 0 0 22px rgba(255, 214, 0, 0.9),
                0 0 45px rgba(232, 93, 4, 0.6),
                0 10px 28px rgba(0, 0, 0, 0.2);
}

/* ---- Photo header ---- */
.ar-banner-photo {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}
.ar-banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.ar-sidebar-banner:hover .ar-banner-photo img {
    transform: scale(1.07);
}
.ar-banner-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(13, 71, 161, 0) 40%,
        rgba(30, 136, 229, 0.95) 100%);
}
.ar-banner-tag {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: #FFD600;
    color: #1a1a1a !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    animation: ar-badge-bounce 2s ease-in-out infinite;
}

/* ---- Content ---- */
.ar-banner-inner {
    padding: 14px 20px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
}
.ar-sidebar-banner .ar-banner-title {
    color: #ffffff !important;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.22;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.ar-sidebar-banner .ar-banner-title .ar-highlight {
    color: #FFD600 !important;
}

/* ---- NEAR YOU badge ---- */
.ar-nearyou {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 214, 0, 0.12);
    border: 1.5px dashed #FFD600;
    color: #FFD600 !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 10px;
    animation: ar-nearyou-pulse 2s ease-in-out infinite;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.ar-nearyou .ar-pin {
    font-size: 16px;
    text-shadow: none;
}

.ar-banner-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FF7A18 0%, #E85D04 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(232, 93, 4, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ar-banner-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(115deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.55) 50%,
        rgba(255,255,255,0) 100%);
    transform: skewX(-22deg);
    animation: ar-btn-shine 2.8s ease-in-out infinite;
}
.ar-sidebar-banner:hover .ar-banner-btn {
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(232, 93, 4, 0.65);
}
.ar-sidebar-banner .ar-banner-brand {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}
