/* --- Top Posts Widget --- */
.top-posts-widget {
    font-family: sans-serif;
    padding: 20px;
    background: #ffffff;
}

.top-posts-title {
    color: #A32822;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.top-posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Mobile styles - default (stacked) */
.top-post-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.top-post-thumbnail-container {
    width: 100%;
    margin-bottom: 10px;
}

.top-post-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.top-post-content {
    width: 100%;
}

.top-post-date {
    font-size: 12px;
    color: #666;
    margin: 0 0 5px 0;
}

.top-post-title {
    font-size: 16px;
    color: #555;
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
}

.top-post-item a {
    text-decoration: none;
}

/* Tablet and Desktop styles (side-by-side) */
@media (min-width: 768px) {
    .top-post-item {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }

    .top-post-thumbnail-container {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    
    .top-post-thumbnail {
        object-fit: cover;
        height: 100%;
    }

    .top-post-content {
        width: auto;
    }
}