/* 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;
}



/*---여기부터 뉴스레터 에러---*/

/* 1) 뉴스레터 단일 글에서 Dyad-2의 분홍 반쪽 배경/레이아웃 끄기 */
body.single-post.category-newsletter,
body.single-post.category-newsletter #page,
body.single-post.category-newsletter .site,
body.single-post.category-newsletter .site-inner,
body.single-post.category-newsletter .site-content {
  background: #ffffff !important;   /* 분홍 배경 제거 */
}

/* 왼쪽 컬러 패널을 만드는 ::before / ::after 숨기기 */
body.single-post.category-newsletter .site-inner::before,
body.single-post.category-newsletter .site-inner::after,
body.single-post.category-newsletter .site-content::before,
body.single-post.category-newsletter .site-content::after {
  content: none !important;
  display: none !important;
}

/* 콘텐츠 영역을 “한 줄 가운데 정렬” 레이아웃으로 고정 */
body.single-post.category-newsletter .site-content,
body.single-post.category-newsletter #content,
body.single-post.category-newsletter .content-area,
body.single-post.category-newsletter #primary {
  max-width: 1140px !important;  /* 사이트 기본 콘텐츠 폭 */
  width: 100% !important;
  margin: 0 auto !important;     /* 가운데 정렬 */
  float: none !important;        /* 오른쪽으로 띄우던 것 제거 */
}

/* 2) Elementor의 section-stretched 인라인 width/left 무효화 (템플릿 8305 전용) */
body.single-post.elementor-page-8305 .elementor-section.elementor-section-stretched {
  width: 100% !important;
  left: 0 !important;
  right: auto !important;
}


