/* Widgets Extra Styles - خبرکاکاوند */

.widget-title {
    background: var(--widget-title-bg, linear-gradient(135deg, var(--accent-color, #e94560), #c73e54)) !important;
}

.weather-widget .weather-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.newspaper-slide {
    transition: opacity 0.5s ease;
}
.newspaper-slide.active {
    opacity: 1;
}

.poll-result-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}
.poll-result-fill {
    height: 100%;
    background: var(--accent-color, #e94560);
    border-radius: 4px;
    transition: width 1s ease;
}

.circular-news-item img,
.kk-author-posts-widget img {
    transition: transform 0.3s ease;
}
.circular-news-item:hover img,
.kk-author-posts-widget:hover img {
    transform: scale(1.1) rotate(5deg);
}

.popular-news-item {
    transition: all 0.3s ease;
}
.popular-news-item:hover {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px;
    margin: 0 -5px;
}

.important-news-item {
    transition: all 0.3s ease;
}
.important-news-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.prayer-times tr:hover td {
    background: #f8f9fa;
}

.social-links a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ad-box {
    transition: all 0.3s ease;
}
.ad-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.widget-content {
    padding: 15px;
}

@media (max-width: 768px) {
    .breaking-label {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    .ticker-content a {
        font-size: 0.8rem;
    }
}
