
/* ── 최레터 v0.4.5 모듈 검정·라임 정합 (260831 추가) ──────────────
   플러그인이 강의CTA·커뮤니티·구독폼을 흰 카드로 내보내는데
   개별 호 페이지는 검정·라임이라 맞지 않는다. 여기서만 덮어쓴다.
   코덱스 Phase 2 「디자인 정합화」가 끝나면 이 블록만 지우면 된다. */
.cgl-issue .cgl-offer,
.cgl-issue .cgl-community,
.cgl-issue .cgl-subscribe,
.cgl-arc .cgl-subscribe {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  padding: 32px 26px;
  color: #c9ced4;
}
.cgl-issue .cgl-offer { border-color: rgba(208, 254, 24, .35); }

.cgl-issue .cgl-offer h2,
.cgl-issue .cgl-community h2,
.cgl-issue .cgl-subscribe h2,
.cgl-arc .cgl-subscribe h2 {
  color: #ffffff;
  font-weight: 900;
  line-height: 1.35;
}
.cgl-issue .cgl-offer p,
.cgl-issue .cgl-community p,
.cgl-issue .cgl-community li,
.cgl-issue .cgl-subscribe p,
.cgl-issue .cgl-subscribe label,
.cgl-arc .cgl-subscribe p,
.cgl-arc .cgl-subscribe label { color: #c9ced4; line-height: 1.7; }

.cgl-issue .cgl-offer__eyebrow {
  color: #d0fe18;
  font-weight: 900;
  letter-spacing: .14em;
}
.cgl-issue .cgl-offer p.cgl-offer__note { color: #ff6b6b; font-weight: 900; }

.cgl-issue .cgl-current-offer .cgl-public-button,
.cgl-issue .cgl-community-slot .cgl-public-button,
.cgl-arc .cgl-public-button,
.cgl-issue .cgl-subscribe button[type="submit"],
.cgl-arc .cgl-subscribe button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #d0fe18;
  color: #0b0b0b;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.cgl-issue .cgl-subscribe a,
.cgl-arc .cgl-subscribe a { color: #d0fe18; }

.cgl-issue .cgl-subscribe input[type="text"],
.cgl-issue .cgl-subscribe input[type="email"],
.cgl-arc .cgl-subscribe input[type="text"],
.cgl-arc .cgl-subscribe input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  background: #141414;
  color: #ffffff;
}
.cgl-issue .cgl-subscribe input::placeholder,
.cgl-arc .cgl-subscribe input::placeholder { color: #8a8f95; }


/* ── 아카이브 구독 박스 정리 (260831) ─────────────────────────
   상단 박스는 히어로 바로 밑이라 목록을 아래로 밀어낸다. 하나만 남긴다.
   목록과 하단 박스 사이에는 히어로와 같은 라임 줄을 넣어 갈라 준다. */
.cgl-arc > .cgl-arc__rule + .cgl-subscribe { display: none; }

.cgl-arc__pagination::after {
  content: "";
  display: block;
  height: 3px;
  margin: 44px 0 4px;
  background: #d0fe18;
}

/* ── 이전 뉴스레터 모듈 (260831 추가) ─────────────────────────
   플러그인이 이 모듈만 흰 카드로 내보내서 개별 호 페이지에서 혼자 떠 있었다.
   바깥 상자만 검정으로 맞추고 **안쪽 카드는 밝은 채로 둔다**(썸네일 대비를 남긴다).
   코덱스 Phase 2 「디자인 정합화」가 끝나면 이 블록도 같이 지운다. */
.cgl-issue .cgl-previous {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  padding: 32px 26px;
  color: #c9ced4;
}
/* h3(카드 제목)까지 흰색이 되면 밝은 카드 위에서 안 보인다. 바로 밑 h2 만. */
.cgl-issue .cgl-previous > h2 { color: #ffffff; }

/* 날짜와 「전체 글 읽기」가 한 줄에 붙어 있었다. 줄을 나눠 띄운다. */
.cgl-issue .cgl-previous__date { display: block; }
.cgl-issue .cgl-previous__cta { margin-top: 16px; }

/* 카드 제목의 「이상한 밑줄」 정체는 밑줄이 아니라 **테두리**다.
   플러그인이 `.cgl-public .cgl-previous a` 로 모듈 안 모든 링크에 검정 테두리를 주는데,
   제목은 인라인 링크라 두 줄로 감기면 줄마다 상자가 끊겨 그려진다.
   「전체 글 읽기」 버튼의 테두리는 살려야 하므로 제목 링크만 지운다. */
.cgl-issue .cgl-previous__title a {
  border: 0;
  text-decoration: none;
}

