

.tabs{position: relative; padding: 6rem 0;}
.tabs .tabs_title{position: relative; padding: 5px; border-radius:36px; display: flex; justify-content: space-between; background-color: #1e283b; height: 62px;}
.tabs .tabs_title li{ width: 33%; border-radius: 31px; overflow: hidden;  }
.tabs .tabs_title li button{color: #FFF; width: 100%; height: 52px;}
.tabs .tabs_title li.select button{background-color: #2bc8dc;}
.tabs_con_wrap{position: relative; padding: 6rem 0;}
.tabs .hac_tab li{width: 49%;}


/* ==========================================================================
   지트시스템 제품설치·회사 사진 갤러리 (.tabs_con_wrap.photo)
   ========================================================================== */
.tabs_con_wrap.photo {   
    margin: 0 auto;
    padding: 40px 20px 80px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: #222222;
    box-sizing: border-box;
    word-break: keep-all;
}

.tabs_con_wrap.photo * {
    box-sizing: border-box;
}

/* 섹션 타이틀 (사진) */
.tabs_con_wrap.photo h4 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #222222;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tabs_con_wrap.photo h4::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 20px;
    background-color: #f36f21; /* 지트시스템 포인트 오렌지 */
    border-radius: 2px;
}

/* 3열 반응형 그리드 리스트 */
.tabs_con_wrap.photo ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 개별 포토 카드 (li 자체를 flex 컬럼 카드로 구성) */
.tabs_con_wrap.photo ul li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e5e8eb;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 18px;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}

.tabs_con_wrap.photo ul li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d5dd;
    color: #f36f21;
}

/* 썸네일 이미지 (4:3 비율 고정 및 여백 제거) */
.tabs_con_wrap.photo ul li img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f1f3f5;
    margin-bottom: 18px;
    transition: transform 0.35s ease;
}

.tabs_con_wrap.photo ul li:hover img {
    transform: scale(1.04);
}

/* 우측 하단 확대(+) 아이콘 배지 (호버 시 노출) */
.tabs_con_wrap.photo ul li::after {
    content: '+';
    position: absolute;
    right: 14px;
    bottom: 66px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(17, 17, 17, 0.72);
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: all 0.25s ease;
}

.tabs_con_wrap.photo ul li:hover::after {
    opacity: 1;
    transform: translateY(0);
    background-color: #f36f21;
}




/* ==========================================================================
   멀티 이미지 라이트박스 모달 (.lb_overlay)
   ========================================================================== */
.lb_overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 17, 21, 0.92);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.lb_overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lb_container {
    width: 100%;
    max-width: 1100px;
    height: 100%;
    max-height: 92vh;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* 상단 타이틀 및 닫기 버튼 */
.lb_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    color: #ffffff;
}

.lb_title_box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lb_title_box strong {
    font-size: 18px;
    font-weight: 700;
}

.lb_title_box span {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background-color: #f36f21; /* 지트시스템 포인트 오렌지 */
    border-radius: 20px;
}

.lb_close_btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lb_close_btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* 메인 이미지 뷰어 영역 */
.lb_stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 8px 0;
}

.lb_img_wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb_img_wrap img {
    max-width: calc(100% - 120px);
    max-height: 68vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    user-select: none;
}

/* 좌우 화살표 버튼 */
.lb_nav_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

.lb_nav_btn:hover {
    background-color: #f36f21;
    border-color: #f36f21;
}

.lb_nav_btn.prev { left: 0; }
.lb_nav_btn.next { right: 0; }

/* 하단 썸네일 스트립 */
.lb_thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    overflow-x: auto;
}

.lb_thumbs img {
    width: 68px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.lb_thumbs img:hover {
    opacity: 0.85;
}

.lb_thumbs img.active {
    opacity: 1;
    border-color: #f36f21;
    transform: translateY(-2px);
}

/* 모바일 대응 */
@media (max-width: 640px) {
    .lb_container {
        padding: 16px;
    }
    .lb_title_box strong {
        font-size: 16px;
    }
    .lb_img_wrap img {
        max-width: 100%;
        max-height: 62vh;
    }
    .lb_nav_btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
        background-color: rgba(17, 17, 17, 0.7);
    }
    .lb_nav_btn.prev { left: 6px; }
    .lb_nav_btn.next { right: 6px; }
    .lb_thumbs img {
        width: 56px;
        height: 42px;
    }
}








/* ==========================================================================
   반응형 (태블릿 및 모바일)
   ========================================================================== */
@media (max-width: 960px) {
    .tabs_con_wrap.photo ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 18px;
    }
}

@media (max-width: 580px) {
    .tabs_con_wrap.photo {
        padding: 28px 16px 60px;
    }

    .tabs_con_wrap.photo h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .tabs_con_wrap.photo ul {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tabs_con_wrap.photo ul li {
        padding-bottom: 15px;
        font-size: 15px;
    }

    .tabs_con_wrap.photo ul li img {
        margin-bottom: 15px;
    }

    .tabs_con_wrap.photo ul li::after {
        bottom: 60px;
    }
}


.tabs_con_wrap {
    margin: 0 auto;
    padding: 40px 20px 80px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: #222222;
    box-sizing: border-box;
    word-break: keep-all;
}

.tabs_con_wrap * {
    box-sizing: border-box;
}

/* 섹션 타이틀 (영상) */
.tabs_con_wrap h4 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #222222;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tabs_con_wrap h4::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 20px;
    background-color: #f36f21; /* 지트시스템 포인트 오렌지 */
    border-radius: 2px;
}

/* 3열 반응형 그리드 리스트 */
.tabs_con_wrap ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 개별 영상 카드 */
.tabs_con_wrap ul li > div {
    background-color: #ffffff;
    border: 1px solid #e5e8eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tabs_con_wrap ul li > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d5dd;
}

/* 썸네일 영역 (16:9 비율 고정) */
.tabs_con_wrap ul li a {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #111111;
    overflow: hidden;
}

.tabs_con_wrap ul li a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.tabs_con_wrap ul li > div:hover a img {
    transform: scale(1.05);
    opacity: 0.85;
}

/* 중앙 재생(Play) 아이콘 버튼 오버레이 */
.tabs_con_wrap ul li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background-color: rgba(17, 17, 17, 0.72);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    z-index: 2;
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.tabs_con_wrap ul li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-38%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #ffffff;
    z-index: 3;
}

.tabs_con_wrap ul li > div:hover a::before {
    background-color: #f36f21;
    border-color: #f36f21;
    transform: translate(-50%, -50%) scale(1.08);
}

/* 영상 제목 (.movie_title) */
.tabs_con_wrap .movie_title {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
    background-color: #ffffff;
    border-top: 1px solid #f1f3f5;
    transition: color 0.2s ease;
}

.tabs_con_wrap ul li > div:hover .movie_title {
    color: #f36f21;
}

/* ==========================================================================
   반응형 (태블릿 및 모바일)
   ========================================================================== */
@media (max-width: 960px) {
    .tabs_con_wrap ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 18px;
    }
}

@media (max-width: 580px) {
    .tabs_con_wrap {
        padding: 28px 16px 60px;
    }

    .tabs_con_wrap h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .tabs_con_wrap ul {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tabs_con_wrap .movie_title {
        padding: 15px 16px;
        font-size: 15px;
    }
}