/* Solestra — üst duyuru şeridi: siyah zemin, beyaz yazı, mesajlar sırayla aşağıdan yukarı döner */

.sl-announce {
    position: relative;
    z-index: 101;
    background: #000;
    color: #fff;
}

.sl-announce__track {
    position: relative;
    height: 38px;
    overflow: hidden;
}

.sl-announce__item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8; /* büyük harf Ğ, İ, Ş, Ü işaretleri kesilmesin (iç öğe overflow:hidden) */
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: transform .5s ease, opacity .5s ease;
}

.sl-announce__item.is-active { opacity: 1; transform: none; }
.sl-announce__item.is-leaving { opacity: 0; transform: translateY(-100%); }

.sl-announce__item > * { overflow: hidden; text-overflow: ellipsis; padding-block: 2px; }

.sl-announce__item a {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    padding-bottom: 2px;
    transition: border-color .15s;
}

.sl-announce__item a:hover { border-bottom-color: #fff; }

/* Mobil: uzun mesaj kesilmesin, en fazla iki satır */
@media (max-width: 680px) {
    .sl-announce__track { height: 46px; }
    .sl-announce__item { padding: 0 14px; font-size: 10px; line-height: 1.6; letter-spacing: .1em; white-space: normal; }
    .sl-announce__item > * { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .sl-announce__item a { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sl-announce__item { transition: opacity .2s; transform: none !important; }
}
