/* ================================================
   관리자 뱃지 스타일
   ================================================ */
.map_2.admin_div_map {
    position: relative;
}
.map_2.admin_div_map:hover {
    outline: 2px dashed #3b82f6 !important;
    outline-offset: -2px;
}
.map_2.admin_div_map .grid_layout_badge {
    display: block;
    position: absolute;
    left: 10px;
    top: 10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    opacity: 0.6;
}
.map_2.admin_div_map .grid_layout_badge:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
    opacity: 1;
}

/* ================================================
   기본 스타일
   ================================================ */
.map_2 { width: 100%; float: left; }
.map_2 .wg_side { width: 100%; float: left; }
.map_2 .map_box { width: 100%; float: left; display: flex; flex-direction: column; gap: clamp(30px, calc(1.56vw + 25px), 50px); }

/* ================================================
   개별 지도 카드 (.cs_box)
   ================================================ */
/**** PC ****/
@media only all and (min-width: 768px) {
    .map_2 .cs_box {
        width: 100%;
        float: left;
        position: relative;
        height: 420px;
    }
    .map_2 .cs_box .map {
        width: 100%;
        height: 420px;
        float: left;
        position: relative;
        z-index: 1;
    }
    .map_2 .cs_box .map .map_in {
        width: 100%;
        height: 420px;
        float: left;
        position: relative;
    }
    .map_2 .cs_box .map .map_in iframe {
        width: 100%;
        height: 420px;
        float: left;
    }
    /* 정보 박스: 우측 오버레이 */
    .map_2 .cs_box .frbox {
        width: 420px;
        float: left;
        height: 420px;
        padding: 50px;
        box-sizing: border-box;
        position: absolute;
        right: -1px;
        top: 0;
        z-index: 2;
        background-color: rgba(50, 50, 50, 0.92);
    }
}

/* 첫 번째 항목: 메인컬러 배경 */
.map_2 .map_box .cs_box:first-child .frbox {
    background-color: var(--main-color);
}



/**** 모바일 ****/
@media only all and (max-width: 767px) {
    .map_2 .cs_box {
        width: 100%;
        float: left;
        position: relative;
    }
    .map_2 .cs_box .map {
        width: 100%;
        height: 250px;
        float: left;
        position: relative;
        overflow: hidden;
        border: 1px solid #ccc;
    }
    .map_2 .cs_box .map .map_in {
        width: 100%;
        height: 100%;
        float: left;
    }
    .map_2 .cs_box .map .map_in iframe {
        width: 100%;
        height: 100%;
        float: left;
    }
    .map_2 .cs_box .frbox {
        width: 100%;
        float: left;
        padding: 20px;
        box-sizing: border-box;
        background-color: rgba(50, 50, 50, 0.92);
    }
}

/* ================================================
   지도 빈 상태
   ================================================ */
.map_2 .map_empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
}

/* 카카오맵 div 반응형 */
.map_2 .cs_box .map .map_in > div {
    width: 100% !important;
    height: 100% !important;
}
.map_2 .cs_box .map .map_in > div > div {
    width: 100% !important;
    height: 100% !important;
}

/* ================================================
   정보 텍스트
   ================================================ */
/* tx1: 지점명 */
.map_2 .frbox .tx1 {
    width: 100%;
    float: left;
    color: #fff;
    font-size: var(--f-26, clamp(20px, calc(0.47vw + 18.5px), 26px));
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 130%;
}

/* tx2: 주소 */
.map_2 .frbox .tx2 {
    width: 100%;
    float: left;
    color: #fff;
    font-size: var(--f-15, clamp(13px, calc(0.16vw + 12.5px), 15px));
    line-height: 150%;
    font-weight: 400;
    margin-bottom: 20px;
}

/* tx3: 전화1 */
.map_2 .frbox .tx3 {
    width: 100%;
    float: left;
    color: #fff;
    font-size: var(--f-15, clamp(13px, calc(0.16vw + 12.5px), 15px));
    line-height: 130%;
    font-weight: 400;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.map_2 .frbox .tx3:before {
    width: 20px;
    content: "\ea34";
    font-size: 20px;
    font-family: unicons-line;
    position: absolute;
    top: -2px;
    left: 0;
    color: #fff;
}

/* tx4: 전화2/팩스 */
.map_2 .frbox .tx4 {
    width: 100%;
    float: left;
    color: #fff;
    font-size: var(--f-15, clamp(13px, calc(0.16vw + 12.5px), 15px));
    line-height: 130%;
    font-weight: 400;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.map_2 .frbox .tx4:before {
    width: 20px;
    content: "\e964";
    font-size: 20px;
    font-family: unicons-line;
    position: absolute;
    top: -2px;
    left: 0;
    color: #fff;
}

/* tx5: 이메일/기타 */
.map_2 .frbox .tx5 {
    width: 100%;
    float: left;
    color: #fff;
    font-size: var(--f-15, clamp(13px, calc(0.16vw + 12.5px), 15px));
    line-height: 130%;
    font-weight: 400;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.map_2 .frbox .tx5:before {
    width: 20px;
    content: "\ea0f";
    font-size: 20px;
    font-family: unicons-line;
    position: absolute;
    top: -2px;
    left: 0;
    color: #fff;
}

/* ================================================
   모바일 텍스트 보정
   ================================================ */
@media only all and (max-width: 767px) {
    .map_2 .frbox .tx1 {
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 140%;
    }
    .map_2 .frbox .tx2 {
        margin-bottom: 10px;
        line-height: 140%;
    }
    .map_2 .frbox .tx3 { margin-bottom: 5px; }
    .map_2 .frbox .tx3:before { font-size: 18px; }
    .map_2 .frbox .tx4 { margin-bottom: 5px; }
    .map_2 .frbox .tx4:before { font-size: 18px; }
    .map_2 .frbox .tx5 { margin-bottom: 0; }
    .map_2 .frbox .tx5:before { font-size: 18px; }
}
