/* --- DESIGN CODE PÉNAL PRO --- */
.paef-grid-laws {
    display: grid;
    grid-template-columns: 1fr; /* Une seule colonne pour la lecture */
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.law-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease;
}

.law-card:hover {
    border-color: #2c3e50;
}

.law-header {
    background: #f8fafc;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.law-article-tag {
    background: #2c3e50;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.law-body {
    padding: 25px 30px;
}

.law-body h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #1e293b;
    font-family: serif; /* Style plus "Légal" */
    font-weight: 700;
}

.law-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
    text-align: justify;
}

.law-footer {
    padding: 0 30px 20px 30px;
}

.law-link {
    display: inline-flex;
    align-items: center;
    color: #2c3e50;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid #cbd5e1;
    transition: all 0.2s;
}

.law-link:hover {
    color: #000;
    border-color: #2c3e50;
}

.law-link::after {
    content: " ↗";
    margin-left: 5px;
}