/* =============================================================
   TICKER SECTION — Infinite scrolling feature bar
   Loaded only on pages that render the ticker (front-page, homepage).
   ============================================================= */

.shahab-ticker-section {
    background-color: var(--color-primary);
    padding: 22px 0;
    overflow: hidden;
    width: 100%;
}

.shahab-ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.shahab-ticker-track {
    display: flex;
    align-items: center;
    animation: shahabTicker 30s linear infinite;
    width: max-content;
}

.shahab-ticker-track:hover { animation-play-state: paused; }

@keyframes shahabTicker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.shahab-ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    position: relative;
    flex-shrink: 0;
}

.shahab-ticker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.shahab-ticker-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-text-inverse);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shahab-ticker-text { display: flex; flex-direction: column; justify-content: center; }

.shahab-ticker-title {
    color: var(--color-text-inverse);
    font-family: var(--font-family-base);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 2px;
}

.shahab-ticker-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family-base);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
}

.shahab-ticker-divider {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.2);
}