/* sky 배너 */
/*.ly_aside .post_list ul .banner_m { width: 100%; height: 100px; }*/
.section_sub .ly_aside .banner { top: 0; }
.section_sub .ly_aside .banner_wrap_sub { top: 60px;}

/*.section_sub .list_group:first-child + .banner { top: 60px; }*/
@media (min-width: 821px) {
    .ly_aside .banner { position: absolute; top: 15px; right: 0; width: 100%; max-width: 1600px; text-align: right; z-index: 0; }
    .ly_aside .banner.fix { position: fixed; top: 15px!important; left: 50%; transform: translateX(-50%); }
    .ly_aside .post_list ul .banner_m { display: none; }
    /*.section_sub .banner_m { display: none; }*/
}
@media (max-width: 1600px) {
    .ly_aside .banner.fix { width: 300px; left: auto; right: 48px; transform: translateX(0); }
}
@media (max-width: 1023px) {
    /*.banner_area { margin: 18.6vw auto; }*/
    .ly_aside .banner { top: 8vw; }
    .ly_aside .banner.fix { right: 24px; }
    /*.section_sub .banner_pc { display: none; }
    .section_sub .banner_m { width: calc(100% + 48px); max-width: none; margin-left: -24px; background: #ccc; }*/
}
@media (max-width: 1023px) { /* 두산 수정 */
    .ly_aside .banner { margin: 18.6vw auto; }
    .ly_aside .banner { display: none; }
}

/* 개편 배너 */
#pc-all, #mobile-all { height: 0 !important;}
.banner_area { margin: 0 auto; text-align: center; }
.banner_imp { height: 0; width: 0; margin: 0 !important;}
/*#pc-middle-imp-1, #pc-middle-imp-2 { height: 0; width: 0;}*/
#pc-middle-1 > div, #pc-middle-2 > div { height: 180px; }
#mobile-top > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 81.3%; margin-bottom: -6px; border: 0;}
#mobile-top iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-top-3rd > div { margin: 0 auto;}
#mobile-top-sticky {height:auto; margin:auto; position: fixed; top:-65px; width: 100%; z-index: 7;  }
#mobile-top-sticky > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 16%; margin-bottom: -6px;}
#mobile-top-sticky iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0; border-top: 2px solid #f1f1f1 !important; border-bottom: 1px solid #f1f1f1 !important; background-color: #f1f1f1;}
#mobile-top-sticky-3rd {height:auto; margin:auto; position: fixed; top:-65px; width: 100%; z-index: 7; background: #fff;  }
#mobile-top-sticky-3rd > div { margin: 0 auto;}
#mobile-interscroller {position: relative; z-index: 999; min-height: 1500px; overflow: hidden; height:0; padding-bottom: calc(var(--vh, 1vh) * 100);}
#mobile-interscroller::before { content: 'ADVERTISEMENT'; font-family: 'Vogue', 'Vogue-window', 'Vogue-ios', 'Vogue-android', sans-serif; color: #d2d2d2; display: block; font-size: 0.9rem; letter-spacing: 0.03rem; line-height: 1.76; text-align: center; background: #000; height: 22px; padding-top: 3px; margin: 0;}
#mobile-interscroller > div { position: absolute; top: 25px; left: 0px; width: 100%!important; height: 100%!important; margin: 0px; padding: 0px; overflow: hidden; clip-path: inset(0px);}
#mobile-interscroller iframe { position: fixed; top: auto; left: 0px; width: 100%; height: 100%; margin: 0px; padding: 0px; bottom: 0px;}

#mobile-interscroller-top {position: relative; z-index: 99; overflow: hidden; height:0; /*padding-bottom: calc(var(--vh, 1vh) * 100);*/ margin-bottom: 20px; padding-bottom: calc(190% + 75px);}
#mobile-interscroller-top::before { content: 'ADVERTISEMENT'; font-family: 'acumin-pro-condensed', sans-serif; font-weight: 600; line-height: 1.76; color: #d2d2d2; display: block; font-size: 1rem; letter-spacing: 0.03rem; text-align: center; background: #000; height: 25px; padding-top: 2px;}
#mobile-interscroller-top > div { position: absolute; top: 25px; left: 0px; width: 100%!important; height: 100%!important; margin: 0px; padding: 0px; overflow: hidden; clip-path: inset(0px);}
#mobile-interscroller-top iframe { position: relative; top: auto; left: 0px; width: 100%; height: 100%; margin: 0px; padding: 0px; bottom: 0px;}

/* 2023 special ad 
.mobile-footer-wrap { display:none; position: fixed;  width: 100% !important; height: 0 !important;  z-index: 98; bottom: 0px; padding-top: 56%; padding-bottom:  constant(safe-area-inset-bottom, 20px); padding-bottom:  env(safe-area-inset-bottom, 20px);}
*/
/* .mobile-footer-wrap > div { margin-bottom:  constant(safe-area-inset-bottom, 20px); margin-bottom:  env(safe-area-inset-bottom, 20px); } */
/*
@media only screen and (min-width: 640px) { 
	.mobile-footer-wrap { display: none; }
}

.mobile-footer-wrap .mobile-footer-close { position: absolute; left: 8px; top: 8px; z-index: 9; width: 25px; height: 25px; display:none;}
.mobile-footer-wrap .mobile-footer-close a { display: block; padding: 0;}

#mobile-special iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-special-3rd { width: 320px; height: 180px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
*/


/*2023 special ad 원래소스*/
/* .mobile-footer-wrap { display: none; position: fixed;  width: 100% !important; height: 0 !important;  z-index: 98;  bottom: 0px; padding-bottom: 56%; margin-bottom:  constant(safe-area-inset-bottom, 20px); margin-bottom:  env(safe-area-inset-bottom, 20px);} */
.mobile-footer-wrap { display:none; position: fixed;  width: 100% !important; height: 0 !important;  z-index: 98;  bottom: 0px; padding-bottom: 56%; /*margin-bottom:  constant(safe-area-inset-bottom, 20px); margin-bottom:  env(safe-area-inset-bottom, 20px);*/ margin-bottom:  constant(safe-area-inset-bottom, 5%); margin-bottom:  env(safe-area-inset-bottom, 5%);}
@media only screen and (min-width: 640px) { 
	.mobile-footer-wrap { display: none; }
}

.mobile-footer-wrap > div { background:#f1f1f1; height:100vh; }

.mobile-footer-wrap .mobile-footer-close { position: absolute; left: 10px; top: 10px; z-index: 9; width: 28px; height: 28px; background: rgba(0, 0, 0, 0.3); display:none;}
.mobile-footer-wrap .mobile-footer-close a { display: block; padding: 4px;}

#mobile-special iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-special-vast > div { /*position: fixed; bottom: 0; width: 100%;*/ background: #909090; padding-bottom: 56%;}
#mobile-special-vast iframe { top: 50%; position: absolute; transform: translate(-50%, -50%);}



/* Footer Sticky & Scroller */
.mobile-footer-sticky-wrap { position: fixed; bottom:0; left:0; width:100%; height:0 !important; z-index:2; }
#mobile-footer-sticky { position: fixed; width:100% !important; height:0 !important; z-index:97; bottom:0; box-shadow:rgba(0, 0, 0, 0.15) 0px 0px 7px; padding-top:15.2%; padding-bottom: constant(safe-area-inset-bottom, 20px); padding-bottom: env(safe-area-inset-bottom, 20px); background:#f1f1f1; }

.mobile-footer-sticky-closebtn { display:none; position: fixed; left:0; bottom:15.2vw; width:28px; height:28px; background: rgba(0, 0, 0, 0.3); margin-bottom: constant(safe-area-inset-bottom, 20px); margin-bottom: env(safe-area-inset-bottom, 20px);  }
.mobile-footer-sticky-closebtn a { display:block; padding:4px; }
#mobile-footer-sticky iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0; }

.mobile-footer-scroller-wrap { position: fixed; bottom:-200px; left:0; width:100%; height:0 !important; z-index:2;}
.mobile-footer-scroller-closebtn { display:none; position: absolute; left:0; bottom:15.2vw; width:28px; height:28px; background: rgba(0, 0, 0, 0.3); margin-bottom: constant(safe-area-inset-bottom, 20px); margin-bottom: env(safe-area-inset-bottom, 20px);  }
.mobile-footer-scroller-closebtn a { display:block; padding:4px; }

#mobile-footer-scroller > div { position: absolute; width:100% !important; height:0 !important; z-index:97; left:0; bottom:0; box-shadow:rgba(0, 0, 0, 0.15) 0px 0px 7px; padding-top:15.2%; padding-bottom: constant(safe-area-inset-bottom, 20px); padding-bottom: env(safe-area-inset-bottom, 20px); background:#f1f1f1; }
#mobile-footer-scroller iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}


@keyframes FooterBnOn {
  from {
    bottom: -500px;
  }
  to {
    bottom: 0;
  }
}

@keyframes FooterBnOff {
  from {
    bottom: 0;
  }
  to {
    bottom: -500px;
  }
}


@keyframes FooterStickyBnOn {
  from {
    bottom: -200px;
  }
  to {
    bottom: 0;
  }
}

@keyframes FooterStickyBnOff {
  from {
    bottom: 0;
  }
  to {
    bottom: -200px;
  }
}

@keyframes TopBnOn {
  from {
    top: 0px;
  }

  to {
    top: 48px;
  }
}

@keyframes TopBnOff {
  from {
    top: 0;
  }
  to {
    top: -65px;
  }
}


@keyframes FooterStickyCloseBtn_ON {
  from {
    bottom: -40px;
  }
  to {
    bottom: 61px;
  }
}

@keyframes FooterStickyCloseBtn_OFF {
  from {
    bottom: 61px;
  }
  to {
    bottom: -40px;
  }
}

#pc-house > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 14.4%; margin-bottom: -6px; border: 0;}
#pc-house iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}
#mobile-house > div { width: 100% !important; height: 0!important; position: relative; padding-bottom: 34.6%; margin-bottom: -6px; border: 0;}
#mobile-house iframe { width: 100%; height: 100%; position:absolute ; top: 0; left: 0;}

/* mobile cover */
.mobile-cover-banner { position: fixed; z-index: 9999; width: 100%; /*left:  calc(100% - 10px);*/ left: 100%; opacity: 0; color: #000; top:0;}
.mobile-cover-banner img { width: 100%; height: auto; image-rendering: auto;}
.mobile-cover-banner .mobile-cover-label { position: absolute; z-index: 9; width: 30px; left: -25px; top: 150px; }
.mobile-cover-banner .mobile-cover-wrap { background: #000; padding: 20px 20px 0 20px; height:0; padding-bottom: calc(var(--vh, 1vh) * 100); box-shadow: 0 0 7px rgba(0,0,0,0.60); position: relative;}
.mobile-cover-banner .mobile-cover-wrap .gallery_slider { overflow: hidden; background: #000;}
.mobile-cover-banner .mobile-cover-wrap .gallery_slider .swiper-slide{ padding:0px 1px 0px 0px;}
.mobile-cover-banner .mobile-cover-wrap .gallery_slider a { display: block;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-txt { text-align: center; font-size: 1.1rem; line-height: 1.3; margin: 25px 0 5px;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-button a { padding: 10px; text-align: center; width: 100%; border: 1px solid; font-size: 1.5rem; margin: 10px 0; display:block;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-logo { width: 50%; margin: 30px auto;}
.mobile-cover-banner .mobile-cover-wrap .mobile-cover-close { position: absolute; right: 25px; top: 25px; z-index: 99; width: 25px; height: 25px; }
.mobile-cover-banner .mobile-cover-wrap .swiper-pagination { display: flex; justify-content: center; position: static; margin: 10px 0;}
.mobile-cover-banner .mobile-cover-wrap .swiper-pagination-bullet { margin: 0 4px; background: #fff; width: 6px; height: 6px; opacity: 0.2;}
.mobile-cover-banner .mobile-cover-wrap .swiper-pagination-bullet.swiper-pagination-bullet-active { opacity: 1;}
.mobile-cover-banner .mobile-cover-system { height: 1px;}
@media (min-width: 821px) {
	.mobile-cover-banner { display: none;}
}

/* 서라운딩 배너 */
#sa-pc-top { width: 100%; text-align: center; margin: -30px auto 50px;}
#sa-pc-middle-1, #sa-pc-middle-2 { text-align: center; margin-bottom: 50px;}
#sa-pc-footer { text-align: center; margin-bottom: 50px; }
#sa-mo-top { text-align: center;  margin: -5vw auto 10vw;}
#sa-mo-middle-1, #sa-mo-middle-2 { text-align: center; margin-bottom: 10vw;}
#sa-mo-footer { text-align: center; margin-bottom: 10vw;}

/* 페이지 별 예외 */
/*.home .pc-top { min-height: 250px; width: 970px; background: #f1f1f1; margin: -80px auto 80px; } 탑 고정 */
.home .banner_area #pc-top { margin: -80px auto 80px; }
.home .banner_area#pc-middle-1, .home .banner_area#pc-middle-2 { margin: -80px 0 80px;  }
.home .banner_area#mobile-top, .home .banner_area#mobile-top-3rd { width: calc(100% + 48px); margin: 0 -24px 18.6vw;}
.home .banner_area#mobile-middle-1, .home .banner_area#mobile-middle-2, .home .banner_area#mobile-middle-3 { margin: 0 0 18.6vw 0;}
.home .banner_area#mobile-interscroller { margin: 0 -24px;}

/*.page .pc-top:not(.home .pc-top) { min-height: 250px; width: 970px; background:#fff; margin: 30px auto -30px; } 탑 고정 */
.page .banner_area #pc-top:not(.home .banner_area #pc-top) { margin: 30px 0 -30px 0; }
.page .banner_pc:not(.home .banner_pc) { position: relative; z-index: 9; width: 100%;}
.page .banner_area#pc-middle-2:not(.home .banner_area#pc-middle-2) { margin-top: 90px;}
.page .banner_area#mobile-middle-2:not(.home .banner_area#mobile-middle-2) { margin-top: 14.1vw;}

/*.single .pc-top { min-height: 250px; width: 970px; background: #f1f1f1; margin:30px auto 0; } 탑 고정 */
.single .banner_area #pc-top { margin-top:30px; }
.single .banner_area#pc-middle-1, .single .banner_area#pc-middle-2 { width: 930px; margin: 20px 0 80px; }
.single .banner_area#mobile-top, .single .banner_area#mobile-top-3rd { width: calc(100% + 48px); margin: 0 -24px 13.3vw;}
.single .banner_area#mobile-middle-1 { margin: 10.6vw 0 0;}
.single .banner_area#mobile-middle-2, .single .banner_area#mobile-middle-3 { margin: 0 0 10.6vw 0;}
.single .banner_area#mobile-interscroller { margin: 0 -24px 13.3vw;}

.post-type-p .banner_area #pc-top { margin: 80px 0 -20px 0;}
.post-type-p .banner_area#pc-middle-1 { width: 930px; margin: -20px 0 80px -65px;}
.post-type-p .banner_area#pc-middle-2 { width: 930px; margin: 80px auto 100px;}
.post-type-p .banner_area#mobile-top { margin: 13.3vw -24px -10vw;}

.contt .banner_area { margin: 10.6vw auto;  /*content-visibility: auto;*/}
.contt .banner_area.banner_m { margin: 10.6vw auto !important;  }
.post_list.list_v2 .banner_area#pc-middle-1 { margin: 60px auto 0; width: 100%; }
.post_list.list_v2 .banner_area#pc-middle-2 { margin: 60px auto 0 !important; width: 100%; }
.post_list.list_v2 .banner_area.banner_m { margin: 10.6vw auto; }

.banner_area.banner_m::before { content: 'ADVERTISEMENT'; font-family: 'Vogue', 'Vogue-window', 'Vogue-ios', 'Vogue-android', sans-serif; color: #d2d2d2; margin-bottom: 3px; display: block; font-size: 0.9rem; letter-spacing: 0.03rem; margin-top: 10px; }
#mobile-top-sticky::before { content: none !important;}
#mobile-top-sticky-3rd::before { content: none !important;}
/*#mobile-interscroller::before { content: none !important;}*/

@media (max-width: 1400px) {
	.page .banner_area#pc-middle-1:not(.home .banner_area#pc-middle-1) {display: none;}
	.page .banner_area#pc-middle-2:not(.home .banner_area#pc-middle-2) {display: none;}
	
}

@media (max-width: 820px) {
	.banner_pc { display: none;}
}

@media (min-width: 640px) {
	.banner_m { display: none;}
}

/* 2025 광고개편 풀배너 */
.mobile-full-wrap{height:0px; /*left: -50%; transition: left 0.3s;*/ opacity:0; transition: opacity 0.6s;}
/* .mobile-full-wrap-active { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height: 100vh; height: 100svh; background-color: hsl(0deg 0% 0% / 75%);  } */
.mobile-full-wrap-active { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height: 100dvh !important; background-color: hsl(0deg 0% 0% / 75%); background-size:cover; }
#mobile-full-wrap .mobile-full-box { width: calc(100% - 40px) !important; height: 0 !important; padding-bottom: 158%; position: relative; top: 50%; transform: translate(-50%, -50%); left: 50%; overflow: hidden;}
#mobile-full-wrap .mobile-full-box::before { content: 'ADVERTISEMENT'; font-family: 'Vogue', 'Vogue-window', 'Vogue-ios', 'Vogue-android', sans-serif; color: #d2d2d290; margin-bottom: 3px; display: block; font-size: 0.9rem; letter-spacing: 0.03rem; margin-top: 10px; text-align: center; }
#mobile-full > div { width: 100%; height: 100%;}
#mobile-full iframe { width: 100% !important; height: 100% !important; position: absolute;}

/* .mobile-full-wrap .mobile-full-close a { display: block; position: absolute; left: 8px; top: 38px;  z-index: 9; width: 25px; height: 25px;} */
.mobile-full-wrap .mobile-full-close { display: block; position: absolute; top:6%; left:2%; z-index: 9; width: 26px; height: 26px; background:rgba(0, 0, 0, 0.3); }
.mobile-full-wrap .mobile-full-close a { display:flex; padding:2px; }

#mobile-full-wrap .mobile-full-box::before { margin-bottom:10px; }
/* #mobile-full.parent:before { width: 100%; height: 2px; overflow:hidden; background: rgba(43, 43, 43, 0.5); position:relative; } */
#mobile-full.parent:before { content:''; position:absolute; top:29px; left:0; /*height: 3px; width:0;*/ background:rgba(128, 128, 128); animation: progress 10s linear forwards; /*z-index:0;*/ line-height: 0; z-index: 999; border-bottom:3px solid #808080; }

@keyframes progress{
  0% {width: 0px}
  100% {width: 100%;}
}


/* backup
#mobile-full-wrap { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height: 100vh; height: 100svh; background-color: hsl(0deg 0% 0% / 75%);}
#mobile-full-wrap .mobile-full-box { width: calc(100% - 40px) !important; height: 0 !important; padding-bottom: 158%; position: relative; top: 50%; transform: translate(-50%, -50%); left: 50%; overflow: hidden;}
#mobile-full > div { width: 100%; height: 100%;}
#mobile-full iframe { width: 100% !important; height: 100% !important; position: absolute;}
#mobile-full-wrap .mobile-full-close a { display: block; position: absolute; left: 8px; top: 8px;  z-index: 9; width: 25px; height: 25px;}
*/

/* 탑 커버 */
@media (max-width: 640px) {
  /* body:not(.post-type-p, .post-type-s, .post-type-i) .header .container { z-index: 9; pointer-events: none; padding-bottom: 104%;}
  body:not(.post-type-p, .post-type-s, .post-type-i) .header .inner { height: 100%; width: calc(100% - 48px); display: flex; align-content: space-between; flex-wrap: wrap; position: absolute; }
  body:not(.post-type-p, .post-type-s, .post-type-i) .header .inner > * { pointer-events: all;}
  body:not(.post-type-p, .post-type-s, .post-type-i) .header .side_nav { right: 0 !important;}
  #mobile-top-cover { position: absolute; top: 0; height: 0; overflow: hidden; width: 100%; padding-bottom: 100%; z-index: 1;}
  #mobile-top-cover > div { width: 100% !important; height: 0 !important; padding-bottom: 100%;}
  #mobile-top-cover iframe { width: 100% !important; height: 100% !important; position: absolute;}
  .mobile-top-cover { position: absolute; top: 0; height: 0; overflow: hidden; width: 100%; padding-bottom: 100%;} */

  /* #mobile-top-cover::before { content:''; position: absolute; width: 100%; height: 30%;     background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);} */

}
@media (min-width: 641px) {
  /* .mobile-top-cover { display: none;} */
}



/* 240223-데스크탑 탑배너 임시 */
/* .single .banner_pc.pc-top { height: 250px; margin-top: 30px;}
.home .banner_pc.pc-top { height: 330px; margin-top: -80px; }
.page .banner_area.pc-top:not(.home .banner_area.pc-top) { height: 250px; margin-top: 30px; margin-bottom: -30px;} */



/* 모바일 탑 커버 광고 */
@media (max-width: 640px) {
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .container { z-index: 9; pointer-events: none; padding-bottom: 104%;}
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .inner { height: 100%; width: calc(100% - 48px); display: flex; align-content: space-between; flex-wrap: wrap; position: absolute; }
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .inner > * { pointer-events: all;}
  body:not(.post-type-p, .post-type-s, .post-type-i) .cover_header .header .side_nav { right: 0 !important;}
  #mobile-top-cover { position: absolute; top: 0; height: 0; overflow: hidden; width: 100%; padding-bottom: 100%; z-index: 1;}
  /* #mobile-top-cover::before { content:''; position: absolute; width: 100%; height: 30%;     background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);} */
  #mobile-top-cover > div { width: 100% !important; height: 0 !important; padding-bottom: 100%;}
  #mobile-top-cover iframe { width: 100% !important; height: 100% !important; position: absolute;}
  .mobile-top-cover { position: absolute; top: 0; height: 0; overflow: hidden; width: 100%; padding-bottom: 100%;}
  .no-scroll-height{        touch-action: none;    }
}
      
@media (min-width: 641px) {
  .mobile-top-cover { display: none;}
}


/* 250612 몹코이 */
.mobkoi > .banner_m { margin:0 0 13.3vw; }
#mobkoi::before { display:none; }

/* 2025 광고개편 MPU */
#pc-mpu-1, #pc-mpu-2 { /*padding:0 0 130px;*/ margin: 50px 0; }
#mobile-mpu-1, #mobile-mpu-2, #mobile-mpu-3 { margin:50px auto; }
.site-main > #mobile-mpu-1 > div { margin:0; }

#mobile-inRead-3 { margin:10.6vw auto; }

.home .banner_area#mobile-top { margin-top: calc(-14.6vw + 20px); }
.home #pc-mpu-1, .home #pc-mpu-2 { margin:-50px 0 50px; }


/* iOS 11.0 버전 */
constant(safe-area-inset-top)
constant(safe-area-inset-right)
constant(safe-area-inset-bottom)
constant(safe-area-inset-left)

/* iOS 11.2 이상 */
env(safe-area-inset-top)
env(safe-area-inset-right)
env(safe-area-inset-bottom)
env(safe-area-inset-left)
