/* Elementor 아이콘 제거 */
.entry-inner::before,
.entry-inner::after {
  content: none !important;
  display: none !important;
}

/* entry-content 상단의 회색선 제거 */
.entry-content::before {
  content: none !important;
  display: none !important;
  border: none !important;
}

/* 메인 콘텐츠 영역 상단 여백 제거 */
main#primary.content-area {
  padding-top: 0 !important;
}

/* 반응형: 1200px 이하에서 상단 여백 제거 */
@media (max-width: 1200px) {
  .is-singular .entry-content {
    padding-top: 0 !important;
  }
}

/* 반응형: 680px 이하 배너 여백/테두리 제거 */
@media (max-width: 680px) {
  .is-singular.home #site-banner {
    margin-bottom: 0 !important;
  }

  .site-banner {
    border-bottom: 0 !important;
  }
}

/* 반응형: 400px 이하에서 홈 단일 페이지 entry-inner 상단 여백 제거 */
@media (max-width: 400px) {
  .home.is-singular .entry-inner {
    margin-top: 0 !important;
  }
}

/* 단일 페이지 entry-inner 상단 여백 제거 */
.is-singular .entry-inner {
  margin-top: 0 !important;
}

/* 메인 콘텐츠 영역 하단 여백 제거 */
.is-singular .content-area article {
  padding-bottom: 0 !important;
}

/* 푸터 하단 여백 제거 */
.footer-bottom-info {
  padding: 0 !important;
}

/* 홈 단일 페이지 entry-inner 안쪽 하단 여백 제거 */
.home.is-singular .entry-inner {
  padding-bottom: 0 !important;
}



/*---여기부터 뉴스레터 에러---*/
/* =========================
   뉴스레터 Elementor 페이지(8305) 레이아웃 고정
   ========================= */

html, body{
  overflow-x: hidden !important;
}

/* Dyad2 split 패널 제거 */
body.elementor-page-8305 .site-inner{
  padding-left: 0 !important;
}

body.elementor-page-8305 .site::before,
body.elementor-page-8305 .site::after,
body.elementor-page-8305 .site-inner::before,
body.elementor-page-8305 .site-inner::after,
body.elementor-page-8305 .site-content::before,
body.elementor-page-8305 .site-content::after{
  content: none !important;
  display: none !important;
}

/* 사이트 래퍼 폭 제한 해제 */
body.elementor-page-8305 #page,
body.elementor-page-8305 .site,
body.elementor-page-8305 .site-inner,
body.elementor-page-8305 #content.site-content,
body.elementor-page-8305 .site-content{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

/* 본문은 1140 중앙 */
body.elementor-page-8305 #primary,
body.elementor-page-8305 .content-area,
body.elementor-page-8305 article{
  width: 100% !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

/* Elementor stretched 섹션 정상화 */
body.elementor-page-8305 .elementor-section.elementor-section-stretched{
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Stibee iframe 100% */
body.elementor-page-8305 iframe[src*="stibee"]{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* =========================
   Elementor 푸터(Theme Builder) 풀폭 처리
   ========================= */

/* 푸터 배경이 들어가는 바깥(footer 자체)을 100vw로 풀폭 */
body.elementor-page-8305 .elementor-location-footer,
body.elementor-page-8305 .elementor-location-footer > .elementor-section-wrap,
body.elementor-page-8305 .elementor-location-footer .elementor-section,
body.elementor-page-8305 .elementor-location-footer .e-con{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto !important;
  right: auto !important;
}

/* 푸터 안쪽 내용만 1140으로 중앙 */
body.elementor-page-8305 .elementor-location-footer .elementor-container,
body.elementor-page-8305 .elementor-location-footer .e-con-inner{
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  width: 100% !important;
}