/*
 * ⑨ 법령 자료 화면 전용 — CI3 `community.css` 의 community_data2 절(`.data .low` 8줄) 이식.
 *
 * 공용 골격은 `community.css` 에 있고, 이 파일은 법령 자료 한 화면의 카드 격자만 갖는다.
 * 다른 화면이 여기를 읽지 않는다.
 *
 * CI3 는 `float` + `margin-right` 로 3열을 만들고 4번째마다 여백을 지웠다. 같은 결과를 grid 로
 * 낸다 — 열 수·간격이 한 줄로 읽히고, 마지막 열의 여백 예외가 필요 없다(원본의
 * `li:last-child {margin-right: 0}` 이 실제로는 **줄 끝이 아니라 묶음 끝**에만 걸려 3의 배수가
 * 아닌 묶음에서 어긋나던 것도 함께 사라진다).
 *
 * 사이트 테마색은 `--community-point`(community.css) 를 그대로 쓴다 — CI3 가 전기넷용으로
 * 따로 두었던 `body.jungi .data .low …` 4줄이 이 토큰 하나로 접힌다.
 */

.community-law .low {
    margin-top: 40px;
}

.community-law .low .title {
    padding-bottom: 10px;
    line-height: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--community-point);
}

.community-law .low ul {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 0 30px;   /* CI3 는 행 간격이 없다(li 는 margin-right 만) — 묶음당 최대 3개라 항상 한 줄 */
}

.community-law .low ul li {
    position: relative;
    height: 70px;
    line-height: 29px;
    border: 1px solid #d7dce5;
    box-sizing: border-box;
}

/* 두 줄짜리 법령명(국가·지방 계약법 6건) — CI3 `li.two` */
.community-law .low ul li.two {
    line-height: 15px;
}

.community-law .low ul li a {
    display: block;
    padding: 20px;
}

.community-law .low ul li:hover {
    border: 1px solid var(--community-point);
    background-color: var(--community-point-bg);
}

.community-law .low ul li:hover a {
    color: var(--community-point);
}

/* 오른쪽 화살표 글리프(인라인 SVG) */
.community-law .low ul li a span {
    display: inline-block;
    position: absolute;
    top: 25px;
    right: 20px;
    width: 12px;
    height: 18px;
    fill: #d7dce5;
}

.community-law .low ul li:hover a span {
    fill: var(--community-point);
}
