/**
 * Block: Tabbed Posts
 */
.my-corp-tabbed-posts {
    background: #fff;
    padding: 20px 0;
    width: 100%;
}
.my-corp-tabbed-posts .tab-header {
    display: flex;
    border-bottom: 2px solid var(--mc-border);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.my-corp-tabbed-posts .tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--mc-text-main);
    position: relative;
    transition: color 0.3s;
    margin-bottom: -2px;
    border-bottom: 2px solid transparent;
}
.my-corp-tabbed-posts .tab-btn:hover,
.my-corp-tabbed-posts .tab-btn.active {
    color: var(--mc-primary);
}
.my-corp-tabbed-posts .tab-btn.active {
    border-bottom: 2px solid var(--mc-primary);
}
.my-corp-tabbed-posts .tab-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    animation: mcFadeIn 0.5s ease;
}
.my-corp-tabbed-posts .tab-panel.active {
    display: grid;
}
.my-corp-tabbed-posts .tab-panel.loading {
    display: block;
    text-align: center;
    padding: 40px 0;
    color: var(--mc-text-light);
}

/* 文章卡片 */
.my-corp-tabbed-posts .post-card {
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.my-corp-tabbed-posts .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.my-corp-tabbed-posts .post-thumb {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}
.my-corp-tabbed-posts .post-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.my-corp-tabbed-posts .post-card:hover .post-thumb img {
    transform: scale(1.05);
}
.my-corp-tabbed-posts .post-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.my-corp-tabbed-posts .post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.my-corp-tabbed-posts .post-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.my-corp-tabbed-posts .post-title a {
    color: #333; text-decoration: none;
}
.my-corp-tabbed-posts .post-title a:hover {
    color: var(--mc-primary);
}
.my-corp-tabbed-posts .post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: auto;
}

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

/* 移动端适配 */
@media (max-width: 768px) {
    .my-corp-tabbed-posts .tab-panel { grid-template-columns: 1fr; }
}