.legal-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.legal-doc-item {
    padding: 0 0 1.5rem 0;
}

.legal-doc-item .entry-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.legal-doc-item .entry-title a,
.page-header .page-title a {
    color: #333;
    text-decoration: none;
}

.page-header .page-title a {
    font-size: 1rem;
}

.legal-doc-item .entry-title a:hover,
.page-header .page-title a:hover {
    color: #0073aa;
    text-decoration: none;
}

.doc-type {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.875rem;
    color: #666;
}

.doc-type-group {
    margin-bottom: 3rem;
}

.doc-type-heading {
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    color: #333;
}

.doc-date {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.doc-type-filter {
    margin: 0 0 1.5rem 0;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 4px;
}

.filter-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem 0.5rem 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    border-radius: 100vw
}

.filter-link:hover {
    text-decoration: none;
    background: #4ad500;
    border-color: #39a400;
    color: #fff;
}

.filter-link.active {
    background: #4ad500;
    border-color: #39a400;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-docs-grid {
        grid-template-columns: 1fr;
    }
} 