/* Popüler Haberler Widget Stilleri */

.popular-posts {
    margin-top: 15px
}

.popular-post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none
}

.popular-post-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin-right: 10px
}

.popular-post-content {
    flex: 1
}

.popular-post-content h4 {
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
    font-size: 14px
}

.popular-post-content h4 a {
    color: var(--text-color);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden
}

.popular-post-content h4 a:hover {
    color: var(--primary-color)
}

.popular-post-content .post-meta {
    font-size: 12px;
    color: #777;
    margin-top: 4px
}

/* Dark Theme */
body.dark-theme .popular-post {
    border-bottom-color: #333
}

body.dark-theme .popular-post-content h4 a {
    color: #ddd
}

body.dark-theme .popular-post-content h4 a:hover {
    color: var(--primary-color)
}

body.dark-theme .popular-post-content .post-meta {
    color: #888
}