/* Recent Posts by Tag Widget Styles - 完整視覺化版本 */

.recent-posts-by-tag-widget {
    background: linear-gradient(135deg, #f8fbff 0%, #e6f0ff 100%);
    border: 1px solid #c2d9ff;
    border-radius: 12px;
    padding:10px 0;
    margin: 15px auto;
    box-shadow: 0 4px 15px rgba(174, 207, 255, 0.2);
    transition: all 0.3s ease;
}

/*.recent-posts-by-tag-widget:hover {
    box-shadow: 0 6px 20px rgba(174, 207, 255, 0.3);
    transform: translateY(-2px);
}*/

.widget_recent_posts_by_tag .widget-title {
    display:none;
    /*color: #1971c2;
    font-size: 1.1em;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1eeff;
    font-weight: 600;*/
}

.recent-posts-tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent-posts-tag-list li{
	margin-bottom:0 !important;
}
.recent-post-item {
    padding: 12px;
/*    border-bottom: 1px solid #e1eeff;*/
    position: relative;
    transition: all 0.3s ease;
}

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

.recent-post-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(51, 154, 240, 0.3);
}

.recent-post-item:hover::before {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #339af0 0%, #228be6 100%);
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(51, 154, 240, 0.4);
}

.recent-post-item .post-link {
    text-decoration: none;
    color: #495057;
    display: block;
    padding-left: 25px;
    transition: all 0.3s ease;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.recent-post-item:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #d0e5ff 100%);
   /* padding-left: 8px;*/
}

.recent-post-item:hover .post-link {
    color: #1971c2;
    transform: translateY(2px) translateX(2px);
}

.recent-post-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(77, 171, 247, 0.1) 0%, rgba(51, 154, 240, 0.05) 100%);
    transition: width 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.recent-post-item:hover::after {
    width: 100%;
}

.recent-post-item .post-date {
    display: block;
    font-size: 0.8em;
    color: #74c0fc;
    margin-top: 4px;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.recent-post-item:hover .post-date {
    color: #339af0;
    transform: translateX(3px);
}

.recent-post-item .post-excerpt {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    padding-left: 15px;
    line-height: 1.4;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .recent-posts-by-tag-widget {
        padding: 15px;
        margin: 10px 0;
    }
    
    .recent-post-item {
        padding: 10px 0;
    }
}

/* 焦點狀態（無障礙設計） */
.recent-post-item .post-link:focus {
    outline: 2px solid #4dabf7;
    outline-offset: 2px;
    border-radius: 4px;
}
