.skupopup {
    position: relative;
    color: #ddd;
    background: rgb(34, 146, 212) url(/addons/skupopup/img/popup_bg.jpg) center 1px no-repeat;
    background-size: cover;
    width: 100%;
    text-align: center;
    font-size: 13px;
    overflow: hidden;
    z-index: 10000;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.skupopup.clicked {
    width: 100%;
    height: 0;
}

.skupopup-body {
    position: relative;
    z-index: 2;
    padding: 15px 0 17px 0;
    line-height: 140%;
    background: url(/addons/skupopup/img/popup_ptn.png);
    vertical-align: middle;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skupopup-body.mobile {
    flex-direction: column;
}

.skupopup h5 {
    font-size: 22px;
    margin-top: 8px;
    margin-right: 30px;
    /*margin-bottom: 15px;*/
    color: #fff;
    line-height: 100%;
    width: 30%;
    /*text-align:right;*/
    /*padding-right:10px;*/
    /*float:left;*/
}

.skupopup .content {
    margin-top: 7px;
    /*position:relative;*/
    /*width:35%;*/
    /*float:right;*/
    /*z-index:1;*/
    text-align: left;
    /*padding-left:10px;*/
}

.skupopup-body.mobile h5 {
    margin: 20px 0 20px 10px;
    /*text-align:left;*/
    width: 100%;
    font-size: 20px;
}

.skupopup-body.mobile .content {
    width: 100%;
    float: left;
}

.skupopup-body.mobile .pop ul li {
    margin-bottom: 5px;
}

.skupopup-body.mobile .pop.clear {
    margin: 0 10px 0;
}

.skupopup .counter {
    display: none;
}

.skupopup.small {
    width: 197px;
    margin: 10px 8px 0 0;
}

.skupopup:hover .close,
.skupopup.hover .close {
    /*display:block;*/
    display: none;
}

.skupopup .close {
    position: absolute;
    background: url(/addons/skupopup/img/popup_close.png) center no-repeat;
    color: #fff;
    font-size: 0;
    right: 0;
    top: 0;
    bottom: -10px;
    width: 60px;
    z-index: 10;
    *zoom: 1;
    /*cursor: pointer;*/
    display: none;
}

.skupopup .close.mobile {
    background: url(/addons/skupopup/img/popup_close_m.png) top no-repeat;
    width: 40px;
    top: 10px;
}


/* ==========================================================================
   팝업 본문(.pop) 공통 스타일
   - 기존에는 팝업 내용에 <style> 태그로 넣었으나, Rhymix 전환 후 WAF가
     <style> 태그를 차단(400 Request Blocked)하여 이 파일로 이동
   ========================================================================== */

/* 레이아웃 */
.clear {
    clear: both;
}

.pop ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    vertical-align: top;
}

/* 텍스트 스타일 - 흰색 그룹 */
.pop ul li,
.pop ul li strong,
.pop p.whitefont,
.pop .deadline,
.pop .note {
    color: #fff;
}

.pop .deadline {
    font-size: 116%;
    font-weight: 500;
    padding: 0 0 5px;
}

.pop .deadline.inline {
    display: inline;
}

.pop .note {
    font-size: 115%;
    display: block;
    padding-bottom: 10px;
}

/* 강조 텍스트 */
.pop p.redfont {
    color: #b64242;
    margin: 5px 0 10px;
    font-weight: 700;
    font-size: 14px;
}

/* 여백 */
.mg-lf-4 {
    margin-left: 4px;
}

/* 버튼 */
a.pop_btn {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    margin-left: 6px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: all 0.2s ease;
}

a.pop_btn:hover {
    background-color: #fff;
    color: #269ed4;
}

/* 반응형 */
@media (max-width: 430px) {
    .pop ul {
        margin-top: 10px;
        padding-top: 10px;
    }
}


/* ==========================================================================
   팝업 2개 나란히(.pop_container > .pop.first + .pop.second)
   - 팝업 내용의 <style> 태그(WAF 차단)를 대신함
   - 단일 팝업에 영향 없도록 .pop_container 가 있을 때만 적용
   ========================================================================== */

/* 팝업 틀: 제목(h5) 숨기고 본문을 꽉 채움 */
.skupopup-body:has(.pop_container) {
    padding: unset;
}

.skupopup:has(.pop_container) h5 {
    display: none;
}

.skupopup-body:has(.pop_container) .content {
    width: 100%;
    height: 100%;
    margin-top: unset;
}

/* 레이아웃 */
.pop_container {
    display: flex;
}

.pop_container .pop.first,
.pop_container .pop.second {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    padding: 10px 30px;
}

.pop_container .pop.first {
    background-image: url(/addons/skupopup/img/popup_bg_blue.jpg);
}

.pop_container .pop.second {
    background-image: url(/addons/skupopup/img/popup_bg_skyblue.jpg);
}

.pop_container .content-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 2rem;
}

.pop_container .title-section {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop_container .right-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 텍스트 */
.pop_container .pop .title {
    color: #fff;
    font-size: 150%;
    font-weight: 900;
    padding: 5px 0;
    line-height: 2rem;
}

.pop_container .pop .deadline {
    font-size: 110%;
}

/* 버튼 */
.pop_container a.pop_btn {
    padding: 4px 12px;
    margin-left: 4px;
    font-size: inherit;
}

/* 반응형 */
@media (max-width: 1100px) {
    .pop_container {
        display: block;
    }
}

.skupopup-body.mobile .pop_container .pop.clear {
    margin: unset;
}

.skupopup-body.mobile .pop_container .pop.first {
    padding: 10px 20px;
}

.skupopup-body.mobile .pop_container .content-wrapper {
    flex-direction: column;
    gap: unset;
}

.skupopup-body.mobile .pop_container .title-section {
    width: 100%;
    justify-content: unset;
}

.skupopup-body.mobile .pop_container .right-content {
    width: 90%;
}

/* 단일 팝업용 430px 이하 .pop ul 여백이 2개 배치의 ul.deadline 에 걸리지 않게 */
@media (max-width: 430px) {
    .pop_container .pop ul {
        margin-top: 0;
        padding-top: 0;
    }
}
