/* pc */
.gll_layer_pop {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0,0.7);
    z-index: 1000000;
}

.gll_layer_pop .gll_layer_box {
    position: relative;
    width: 100%;
    height: 100%;
}

.gll_layer_pop .gll_layer_box2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: auto; /* 563px에서 auto로 변경 */
    max-height: 80vh; /* 최대 높이 제한 */
    display: flex;
    flex-direction: column;
}

.gll_layer_pop .gll_layer_box2 .gll_layer_slide {
    height: 563px; /* 슬라이드 영역 고정 높이 */
    position: relative;
}

.gll_layer_pop .gll_layer_box2 .slick-list {
    width: 1000px;
    height: 563px; /* 100%에서 고정 높이로 변경 */
}

.gll_layer_pop .gll_layer_box2 .slick-track {
    height: 563px;
}

.gll_layer_pop .gll_layer_box2 .slick-slide {
    height: 563px;
}

.gll_layer_pop .gll_layer_box2 .slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* slick-dots 위치 수정 */
.gll_layer_pop .gll_layer_box2 .slick-dots {
    position: relative; /* absolute에서 relative로 변경 */
    bottom: auto; /* bottom 속성 제거 */
    background: #fff;
    width: 100%;
    border-left: 1px solid #dbdbdb;
    border-top: 1px solid #dbdbdb; /* 상단 보더 추가 */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    margin: 0;
    padding: 0;
}

.gll_layer_pop .gll_layer_box2 .slick-dots li {
    width: 100%;
    height: 40px;
    line-height: 38px;
    border-bottom: 1px solid #dbdbdb;
    border-right: 1px solid #dbdbdb;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    margin: 0;
}

.gll_layer_pop .gll_layer_box2 .slick-dots li.slick-active {
    background: #03163F;
    color: #fff;
}

.gll_layer_pop .gll_layer_box2 .slick-dots li div {
    padding-left: 10px;
}

/* 슬라이드 화살표 위치 조정 */
.gll_layer_pop .gll_layer_box2 .slick-prev,
.gll_layer_pop .gll_layer_box2 .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0;
}

.gll_layer_pop .gll_layer_box2 .slick-prev {
    left: 10px;
}

.gll_layer_pop .gll_layer_box2 .slick-next {
    right: 10px;
}

.gll_layer_pop .gll_layer_box2 .slick-prev:before {
    content: '◀';
    font-size: 23px;
    color: #fff;
}

.gll_layer_pop .gll_layer_box2 .slick-next:before {
    content: '▶';
    font-size: 23px;
    color: #fff;
}

.gll_layer_pop .close-btns {
    color: #fff;
    display: flex;
    justify-content: flex-end; /* space-between에서 flex-end로 변경 */
    align-items: flex-end;
    margin-bottom: 10px;
}

.gll_layer_pop .close-btns span {
    cursor: pointer;
}

.gll_layer_pop .close-btns img {
    cursor: pointer;
}

/* mo */
.m-gll_layer_pop {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0,0.7);
    z-index: 1000000;
}

.m-gll_layer_pop .gll_layer_box {
    position: relative;
    width: 100%;
    height: 100%;
}

.m-gll_layer_pop .gll_layer_box2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    display: flex;
    flex-direction: column;
}

.m-gll_layer_pop .gll_layer_box2 .gll_layer_slide {
    height: 320px; /* 모바일 슬라이드 높이 */
}

.m-gll_layer_pop .gll_layer_box2 .slick-list {
    width: 100%;
    height: 320px;
    margin: 0 auto;
}

.m-gll_layer_pop .gll_layer_box2 .slick-dots {
    position: relative;
    background: #fff;
    border-left: 1px solid #dbdbdb;
    border-top: 1px solid #dbdbdb;
    display: flex !important;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.m-gll_layer_pop .gll_layer_box2 .slick-dots li {
    width: 50%;
    height: 34px;
    line-height: 32px;
    border-bottom: 1px solid #dbdbdb;
    font-size: 18px;
    cursor: pointer;
    border-right: 1px solid #dbdbdb;
    margin: 0;
}

.m-gll_layer_pop .gll_layer_box2 .slick-dots li.slick-active {
    background: #03163F;
    color: #fff;
}

.m-gll_layer_pop .gll_layer_box2 .slick-dots li div {
    padding-left: 10px;
}

.m-gll_layer_pop .close-btns {
    color: #fff;
    display: flex;
    justify-content: flex-end; /* space-between에서 flex-end로 변경 */
    align-items: flex-end;
    margin-bottom: 10px;
}

.m-gll_layer_pop .close-btns span {
    cursor: pointer;
    user-select: none;
}

.m-gll_layer_pop .close-btns img {
    cursor: pointer;
}