.pages-page .legal-cat-header {
    margin-bottom: 32px;
}

.pages-page .legal-cat-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.pages-page .legal-cat-subtitle {
    font-size: .98rem;
    color: #64748b;
    max-width: 720px;
}

.pages-page .legal-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.pages-page .legal-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px 20px;
    min-height: 200px;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.pages-page .legal-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.pages-page .legal-card:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
    border-color: #075B5E;
}

.pages-page .legal-card-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #0f766e;
    font-weight: 600;
}

.pages-page .legal-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.4;
}

.pages-page .legal-card-text {
    font-size: .92rem;
    color: #4b5563;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pages-page .legal-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    font-weight: 600;
    color: #075B5E;
    text-decoration: none;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.pages-page .legal-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.pages-page .legal-card:hover .legal-card-link svg {
    transform: translateX(4px);
}

.pages-page .legal-card-link:hover {
    text-decoration: underline;
}

.pages-page .empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 14px;
    text-align: center
}

.pages-page .empty-state .empty-icon {
    width: 64px;
    height: 64px;
    color: #94a3b8;
    margin-bottom: 16px
}

.pages-page .empty-state p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600
}