/* 뉴스 상세 본문 MORE / LESS (news/desc-toggle.js) — news-detail.css 뒤에 로드.
   긴 칼럼만 columns.json detail_css 로 켠다: 문단 4번째부터 접고, 버튼은 JS 가 본문 아래에 만든다. */
.custom-news-detail .detail-desc p:nth-of-type(n+4) {
  display: none;
}

/* is-expanded 클래스가 추가되면 4번째 이후 p 태그 노출 */
.custom-news-detail .detail-desc.is-expanded p:nth-of-type(n+4) {
  display: block;
}

/* 토글 버튼 래퍼 */
.desc-toggle-wrap {
  margin-top: 20px;
  display: block;
}

/* 토글 버튼 디자인 */
.desc-toggle-btn {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: #999;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.3s ease;
}

.desc-toggle-btn:hover {
  color: #1d1d1d;
}

@media (max-width: 959px) {
  /* 본문(order 3) 바로 아래 — 링크(VIEW ORIGINAL) 자리 */
  .desc-toggle-wrap {
    order: 4 !important;
    position: relative !important;
    width: 100% !important;
    margin: 20px 0 80px !important;
    display: block !important;
  }

  .desc-toggle-btn {
    font-size: 13px;
  }
}
