/* Announcement Ticker Widget Styles */
.announcement-ticker-widget {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    max-width: 350px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.at-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.at-title {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.at-icon {
    font-size: 16px;
}

/* Ticker Container */
.at-ticker-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    padding: 10px 15px;
}

.at-ticker-wrapper {
    position: absolute;
    width: 100%;
    animation: at-scroll-up 20s linear infinite;
}

/* Pause animation on hover */
.at-ticker-container:hover .at-ticker-wrapper {
    animation-play-state: paused;
}

@keyframes at-scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Individual Items */
.at-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.at-item:last-child {
    border-bottom: none;
}

.at-link,
.at-item-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.at-link:hover {
    opacity: 0.8;
}

.at-bullet {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.at-text {
    flex: 1;
}

.at-no-items {
    font-size: 14px;
    color: #666;
    padding: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .announcement-ticker-widget {
        max-width: 100%;
    }

    .at-ticker-container {
        height: 250px;
    }
}
