.wct-wrapper {
    width: 100%;
}

.wct-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
}

.wct-tab {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid transparent;
    border-radius: 4px;
    background: #f5f5f5;
    color: #666;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.wct-tab:hover {
    opacity: 0.85;
}

.wct-tab.active {
    background: #fff;
    color: #1a1a1a;
    border-color: #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.wct-panel {
    display: none;
    animation: wctFadeIn 0.3s ease;
}

.wct-panel.active {
    display: block;
}

@keyframes wctFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wct-posts {
    display: grid;
    gap: 20px;
}

.wct-post {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #eee;
    overflow: hidden;
}

.wct-post-image {
    margin-bottom: 15px;
    line-height: 0;
}

.wct-post-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.wct-post-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
}

.wct-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wct-post-title a:hover {
    color: #007cba;
}

.wct-post-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.wct-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.wct-post-readmore {
    font-size: 14px;
}

.wct-post-readmore a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.wct-post-readmore a:hover {
    color: #005a87;
}

.wct-empty {
    padding: 30px;
    text-align: center;
    color: #999;
    font-size: 15px;
}

.wct-split {
    display: flex;
    gap: 20px;
}

.wct-split-left {
    flex: 1;
    min-width: 0;
}

.wct-split-right {
    flex: 1;
    min-width: 0;
}

.wct-popular {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.wct-popular-title {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1a1a1a;
}

.wct-popular-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.wct-popular-item:last-child {
    border-bottom: none;
}

.wct-popular-content {
    flex: 7;
    min-width: 0;
}

.wct-popular-content a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: block;
}

.wct-popular-content a:hover {
    color: #007cba;
}

.wct-popular-thumb {
    width: 30%;
    flex-shrink: 0;
    overflow: hidden;
}

.wct-popular-thumb a {
    display: block;
    line-height: 0;
}

.wct-popular-thumb img {
    width: 100%;
    height: 40px;
    object-fit: cover;
}

.wct-post-default {
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 15px;
}

.wct-post-default h3 {
    margin: 0;
    font-size: 16px;
}

.wct-post-default h3 a {
    color: #333;
    text-decoration: none;
}

.wct-post-default h3 a:hover {
    color: #007cba;
}

@media (max-width: 1024px) {
    .wct-split {
        flex-direction: column;
    }
    .wct-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .wct-tabs::-webkit-scrollbar {
        display: none;
    }
    .wct-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .wct-tab {
        font-size: 13px;
        padding: 6px 12px;
    }
    .wct-tabs {
        padding: 8px;
        margin-bottom: 15px;
    }
    .wct-popular {
        padding: 15px;
    }
    .wct-popular-title {
        font-size: 16px;
    }
    .wct-popular-item {
        gap: 10px;
    }
    .wct-popular-content a {
        font-size: 13px;
    }
    .wct-popular-thumb {
        width: 25%;
    }
    .wct-popular-thumb img {
        height: 40px;
    }
    .wct-post-default {
        padding: 12px;
    }
    .wct-post-default h3 {
        font-size: 14px;
    }
    .wct-empty {
        padding: 20px;
        font-size: 14px;
    }
}
}





.wct-popular-item .wct-popular-time {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
    font-weight: 400;
}


