/* Content Tabs Block - Static Styles */
/* Enqueued once per page via block.json "style" declaration */

/* SVG Icon Styles for Tabs */
.bouw-tab-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    margin-right: 0.5rem;
    vertical-align: text-bottom;
}

.bouw-tab-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.bouw-tab-active .bouw-tab-arrow svg {
    transform: rotate(180deg);
}

/* Tab Navigation Styling */
.bouw-tab-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--wp--preset--color--surface, #f7f8fa);
}

.bouw-tab-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--wp--preset--color--muted, #64748b);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.bouw-tab-button:hover {
    color: var(--wp--preset--color--primary);
    background: var(--wp--preset--color--surface, #f7f8fa);
}

.bouw-tab-button.bouw-tab-active {
    color: var(--wp--preset--color--primary);
    border-bottom-color: var(--wp--preset--color--primary);
}

/* Tab Content Area - Remove ugly border, use subtle background */
.bouw-tab-content {
    background: var(--wp--preset--color--surface-warm, #faf8f5);
    border-radius: var(--wp--custom--border-radius--lg, 0.75rem);
    padding: 2rem;
    /* Remove the thick border that looks like debug outline */
    border: none;
}

.bouw-tab-panel {
    display: none;
}

.bouw-tab-panel.bouw-tab-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Tab terms grid (taxonomy display) */
.bouw-tab-terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--wp--preset--spacing--lg);
    margin-top: var(--wp--preset--spacing--md);
}

.bouw-term-card {
    display: block;
    padding: var(--wp--preset--spacing--lg);
    background: rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--wp--custom--border-radius--md);
    text-decoration: none;
    color: inherit;
    transition: all var(--wp--custom--transition--base);
}

.bouw-term-card:hover {
    background: var(--wp--preset--color--base, #ffffff);
    transform: translateY(-4px);
    box-shadow: var(--wp--custom--shadow--md);
    border-color: var(--wp--preset--color--primary);
}

.bouw-term-title {
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--sm);
    color: rgba(0,0,0,0.1);
    font-size: 1.125rem;
}

.bouw-term-desc {
    color: rgba(0,0,0,0.1);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bouw-term-desc p {
    margin-bottom: 0;
}
