.code-snippets-tabs .snippets-tabs-headers {
    border-bottom: 1px solid gray;
}

.code-snippets-tabs .snippets-tabs-headers .tab-header {
    margin-right: 3px;
    position: relative;
}
.code-snippets-tabs .snippets-tabs-headers .tab-header.active {
    bottom: -1px;
    background-color: #f5f5f6;
    border: 1px solid gray;
    border-radius: 4px 4px 0 0;
    border-bottom: none
}

.kg ul, .kg li, .kg p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.kg .architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.kg .card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kg .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
}

.kg .card h4 {
    color: #BB128F;
    margin-top: 0;
}

.kg .feature-list {
    list-style: none;
    margin: 20px 0;
}

.kg .feature-list li {
    padding: 12px 0 12px 30px;
    position: relative;
}

.kg .feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #BB128F;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.kg .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.kg .benefit-item {
    padding: 25px;
    border-left: 4px solid #BB128F;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dark .kg .benefit-item {
    background: #482d42;
}

.kg .benefit-item h4 {
    margin-top: 0;
    color: #BB128F;
}

.github-card:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 12px 0px;
}

@media (max-width: 768px) {
    .kg .hero h1 {
        font-size: 2rem;
    }

    .kg h2 {
        font-size: 1.75rem;
    }

    .kg .pipeline {
        flex-direction: column;
    }

    .kg .pipeline-arrow {
        transform: rotate(90deg);
    }
}