/*
Textticker
*/

.custom-ticker {
    position: relative;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 10px;
    border-radius: 12px;
    font-family: "Arial", sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 1px solid #ccc;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.custom-ticker-item {
    display: none;
    font-weight: bold;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3em;
    margin: 0 auto;
    max-width: 95%;
    text-align: center;
}

.custom-ticker-item.active {
    display: block;
}

.ticker-dots {
    margin-top: 5px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.ticker-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ticker-dots span.active {
    background: #000;
    transform: scale(1.3);
}

.js-warning {
    width: 100%;
    text-align: center;
    font-size: 0.95em;
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .custom-ticker {
        padding-left: 10px;
        padding-right: 10px;
    }
    .custom-ticker-item {
        line-height: 1.4em;
    }
}
