/* =========================================================
   캡처본 보기 버튼 - example_img_pop001 ~ 007 전체 공통
========================================================= */
#tt-body-page [class^="example_img_pop"],
#tt-body-page [class*=" example_img_pop"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 34px !important;

    /* 모든 캡처본 보기 버튼 위쪽 10px 여백 */
    margin-top: 10px !important;

    padding: 7px 12px !important;
    border: 1px solid #009a87 !important;
    border-radius: 6px !important;
    background: #009a87 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    user-select: none !important;
    vertical-align: top !important;
}

#tt-body-page [class^="example_img_pop"] *,
#tt-body-page [class*=" example_img_pop"] * {
    color: #fff !important;
    background: transparent !important;
}

#tt-body-page [class^="example_img_pop"]:hover,
#tt-body-page [class*=" example_img_pop"]:hover {
    background: #008875 !important;
    border-color: #008875 !important;
}

/* =========================================================
   캡처 이미지 팝업
========================================================= */
.example-img-pop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px;
}
.example-img-pop.is-open { display: flex; }
.example-img-pop__dim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}
.example-img-pop__dialog {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 96vw;
    max-height: 94vh;
}
.example-img-pop__content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 96vw;
    max-height: 94vh;
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.example-img-pop__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
}
.example-img-pop__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}
.example-img-pop__message {
    min-width: 280px;
    box-sizing: border-box;
    padding: 40px 24px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 767px) {
    .example-img-pop { padding: 16px; }
    .example-img-pop__dialog,
    .example-img-pop__content { max-width: 96vw; max-height: 92vh; }
    .example-img-pop__image { max-width: 94vw; max-height: 88vh; }
    .example-img-pop__close {
        top: -12px;
        right: -6px;
        width: 36px;
        height: 36px;
        font-size: 26px;
        line-height: 34px;
    }
}
