.laws-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
}

.law-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.law-card:hover {
    box-shadow: 0 10px 12px rgba(0,0,0,0.30);
    cursor: pointer;
}

.law-card img {
    max-width: 200px;
    object-fit: cover;
    height: 100%;
}

.law-card-body {
    padding: 1rem 1rem 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex: 1;
}

.law-iframe{
    width: 100%;
    height: 100%;
    border: none;
}
.modal-body{
    height: 80vh;
}
.border-yellow {
    border-left: 5px solid #ffc107;
}

.border-green {
    border-left: 5px solid #28a745;
}

.border-red {
    border-left: 5px solid #dc3545;
}

p{
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .laws-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .law-card {
        flex-direction: column;
        align-items: center;
    }

    .law-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .law-card-body {
        padding: 1rem;
    }
}