/* ZAGO.TO 가이드 페이지. app.css 의 색·서체 변수를 그대로 쓴다. */

.g-try {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  white-space: nowrap;
}
.g-try:hover { border-color: var(--text-2); }

.g-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px var(--pad) 40px;
}

/* ─────────── 글 ─────────── */
.g-kicker { margin-bottom: 14px; }
.g-kicker a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-2);
  text-decoration: none;
}
.g-kicker a:hover { color: var(--accent); }

.g-article h1 {
  font-size: clamp(26px, 6.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  word-break: keep-all;
}
.g-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  margin: 10px 0 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.g-hero {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: var(--r-lg);
  margin: 18px 0 26px; background: #EDE9E0;
}
/* 본문 그림(정사각형 도식·장면)과 그 아래 설명, 형광펜, 인용 (2026-10-07 새 블로그 틀) */
.g-fig { margin: 26px 0 6px; }
.g-fig img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: var(--r-lg); }
.g-article .g-cap { text-align: center; font-size: 13.5px; color: var(--text-2); margin: 0 0 24px; }
.g-article mark { background: linear-gradient(transparent 55%, #FFE867 55%); color: inherit; font-weight: 700; }
.g-article blockquote { margin: 22px 0; padding: 14px 18px; border-left: 4px solid #3A64D8; background: rgba(58,100,216,.06);
  border-radius: 0 12px 12px 0; line-height: 1.7; }
.g-article h2 {
  font-size: clamp(18px, 4.4vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 38px 0 14px;
  word-break: keep-all;
}
.g-article p {
  font-size: 16.5px;
  line-height: 1.82;
  color: var(--text);
  margin-bottom: 18px;
  word-break: keep-all;
}
.g-article ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}
.g-article li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  word-break: keep-all;
}
.g-article li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
.g-article a { color: var(--text); text-underline-offset: 3px; }
.g-article strong { font-weight: 800; }

/* ─────────── 목록 ─────────── */
.g-head { padding: 10px 0 30px; }
.g-head h1 { font-size: clamp(30px, 7vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.g-head p { margin-top: 12px; font-size: 16px; color: var(--text-2); word-break: keep-all; }

.g-list { list-style: none; display: grid; gap: 12px; }
.g-card a {
  display: block;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.1s;
}
.g-card a:hover { border-color: var(--text-2); }
.g-card a:active { transform: scale(0.99); }
.g-card-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.g-card-body b { font-size: 17px; font-weight: 800; line-height: 1.35; word-break: keep-all; }
.g-card-body small { font-size: 13px; color: var(--text-2); line-height: 1.5; word-break: keep-all; }
.g-card-body em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ash-2); }

/* ─────────── 서비스로 보내는 안내 ─────────── */
.g-cta {
  display: block;
  margin-top: 40px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
}
.g-cta b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.g-cta span { display: block; margin: 10px 0 18px; font-size: 14.5px; color: var(--text-2); word-break: keep-all; }
.g-cta a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  background: var(--text); color: var(--bg);
  border-radius: var(--r);
  font-weight: 800; font-size: 15.5px;
  text-decoration: none;
}

/* ─────────── 제휴 ─────────── */
.g-spon { display: block; margin-top: 16px; }
.g-spon-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: #141416; color: #F1EFEA;
  border-radius: var(--r-lg);
  text-decoration: none;
}
.g-spon-link + .g-spon-link { margin-top: 8px; }   /* 영어 페이지는 두 장이 쌓인다 */
.g-spon-link img { width: 64px; height: 64px; flex: none; border-radius: 10px; object-fit: cover; background: #fff; }
.g-spon-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.g-spon-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: #9A9A9F; }
.g-spon-copy b { font-size: 14px; font-weight: 800; line-height: 1.3; word-break: keep-all; }
.g-spon-copy small { font-size: 11.5px; color: #B4B3AE; }
.g-spon-btn {
  flex: none;
  display: inline-flex; align-items: center;
  min-height: 38px; padding: 0 14px;
  background: var(--accent); color: #fff;
  border-radius: 10px;
  font-weight: 800; font-size: 13px;
  white-space: nowrap;
}
.g-spon-note { display: block; margin: 8px 4px 0; font-size: 10.5px; color: var(--text-2); line-height: 1.4; }

@media (min-width: 900px) {
  .g-wrap { padding-top: 28px; }
  .g-article p { font-size: 17px; }
}
/* 새 틀 표지는 정사각형(visuals.py). 가로로 자르지 않는다 */
.g-hero.g-hero-sq { aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; margin-right: auto; }
.g-toc { border: 2px solid #3A64D8; border-radius: 14px; padding: 16px 20px; margin: 22px 0; background: rgba(58,100,216,.05); }
.g-article .g-toc-h { margin: 0 0 6px; font-weight: 800; color: #3A64D8; font-size: 15px; }
.g-toc ol { margin: 0; padding-left: 20px; line-height: 1.75; }
.g-article ol { padding-left: 22px; line-height: 1.8; }
.g-article ol li::before, .g-toc li::before { content: none !important; }
.g-article ol li { padding-left: 0; }

/* 경제적 이해관계 표시(글 첫 부분). 쿠팡 파트너스 가이드: 제목 또는 첫 부분, 소비자가 쉽게 알아볼 수 있게 */
.g-disclose { margin: 6px 0 14px; font-size: 12.5px; color: var(--text-2); line-height: 1.5; word-break: keep-all; }
