/* Scrolling Notice Bar - Frontend */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

#snb-bar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    box-sizing: border-box;
}

.snb-marquee-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.snb-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    font-family: 'Hind Siliguri', 'SolaimanLipi', Arial, sans-serif;
    animation: snb-scroll linear infinite;
    /* speed is set by JS via CSS variable */
    animation-duration: var(--snb-duration, 20s);
}

.snb-text {
    display: inline-block;
    padding: 0 40px;
}

.snb-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}
.snb-link:hover {
    opacity: 0.85;
}

@keyframes snb-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

#snb-close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0 14px 0 8px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
#snb-close:hover { opacity: 1; }

/* Hidden states */
#snb-bar.snb-hidden { display: none !important; }

/* Desktop only */
@media (max-width: 767px) {
    #snb-bar.snb-hide-mobile { display: none !important; }
}
/* Mobile only */
@media (min-width: 768px) {
    #snb-bar.snb-hide-desktop { display: none !important; }
}

/* Push page content down */
body.snb-active {
    padding-top: 0 !important;
}
