
.newseverest-tabbed-posts {
    position: relative;
}
.tab-nav {
    display: flex;
    gap: 20px;
}
.tab-btn {
    padding: 0;
}
.tab-btn.active {
    color: var(--united-accent-color);
}
.tab-content {
    min-height: 400px;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.tabbed-posts-list {
    display: block;
}
.united-widget-area .tabbed-posts-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.featured-post {
    border: 1px solid var(--united-border-color);
    margin-top: -1px;
    margin-left: -1px;
    grid-column: 1;
    display: flex;
    flex-direction: column;
}
.featured-post .entry-image {
    aspect-ratio: 3 / 2;
}
.united-article:has(.no-image) .entry-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--united-alt-color);
    font-size: 32px;
    min-height: 120px;
    max-height: 400px;
}
.regular-post {
    border: 1px solid var(--united-border-color);
    margin-top: -1px;
    margin-left: -1px;
    padding: 15px;
}
.regular-posts-container {
    grid-column: 2;
    display: flex;
    flex-direction: column;
}
.tab-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #747d8c;
}
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e1e5e9;
    border-top: 3px solid #ff4757;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.tab-error,
.no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #747d8c;
    background: #ffffff;
    border-radius: 8px;
    border: 2px dashed #e1e5e9;
}
@media (max-width: 768px) {
    .tab-nav {
        width: 100%;
    }
    .united-widget-area .tabbed-posts-list {
        grid-template-columns: 1fr;
    }
    .regular-posts-container {
        grid-column: 1;
    }
}
