/* Blog Posts Filter Tabs - Toggle Switch Style */
.posts-tabs-container {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0 1.5rem;
    padding: 0 1rem;
}

.posts-tabs {
    display: flex;
    gap: 0;
    background: #E8E6E1;
    padding: 0.35rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.1);
}

.tab-button {
    padding: 0.5rem 1.2rem;
    border: none;
    background-color: transparent;
    color: #999;
    cursor: pointer;
    border-radius: 16px;
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.tab-button:hover:not(.active) {
    color: #666;
}

.tab-button.active {
    background-color: #FF6B35;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.2);
}

/* Hide/show posts based on active filter */
.featured-post {
    display: block;
}

.featured-post.hidden {
    display: none;
}

.post-entry {
    display: block;
}

.post-entry.hidden {
    display: none;
}

.first-entry {
    display: block;
}

.first-entry.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .tab-button {
        padding: 0.48rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .tab-button {
        padding: 0.45rem 0.9rem;
        font-size: 0.9rem;
    }
}

/* Smooth transition for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .tab-button,
    .tab-button::before {
        transition: none;
    }
}
