.img-mask-esg {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100px;
        position: relative;
}

.img-mask-esg img {
        width: 87%;
        height: 100%;
        object-fit: cover;
}

.img-mask .ctrl-btn {
        width: 20%;
        position: static;
}

[data-page=esg] .ctrl-btn .plus {
		background-image: url(/images/admin/plus-border-7184ff6d86367a575430c5120068688a.svg);
}

/* 테이블 고정 레이아웃 */
.esg-grade-table {
    width: 100%;
    table-layout: fixed; /* td 너비 고정 */
}

/* 기관명 td */
.agency-cell {
    width: 200px;
}

.agency-input {
    width: 100%;
    box-sizing: border-box;
}

/* 파일첨부 td */
.file-cell {
    width: 250px;
}

.file-cell .input-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start; /* 왼쪽 정렬 */
}

.file-cell .input.file {
    flex-shrink: 0;
}

.file-cell .file-input {
    width: 90px;
}

.file-cell .file-name {
    max-width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
}

.file-cell .delete-btn {
    flex-shrink: 0;
}

.btn-cell {
    width: 50px;
    text-align: center;
}


/* five-per-row 전용 스타일 - 5개씩 그리드 배치 */
.card-wrap.type2.five-per-row, .card-wrap.margin-b-32.five-per-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.card-wrap.type2.five-per-row .card img,
.card-wrap.margin-b-32.five-per-row .card img {
    height: auto;
    object-fit: contain;
}

/* 모바일에서는 한줄씩 */
@media (max-width: 800px) {
    .card-wrap.type2.five-per-row, .card-wrap.margin-b-32.five-per-row {
        display: flex;
        flex-direction: column;
    }
}

