/* Guide page layout */
body.guide-page {
  background: var(--sky-100, #e9f4ff);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-900, #17191d);
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96,116,139,0.15);
}

.guide-header__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.guide-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-900, #17191d);
  flex-shrink: 0;
}

.guide-header nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  flex-wrap: wrap;
}

.guide-header nav a {
  font-size: 13px;
  color: var(--ink-700, #353a43);
  text-decoration: none;
  white-space: nowrap;
}

.guide-header nav a:hover { color: var(--blue-600, #1a6bcc); }

.guide-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* Hero */
.guide-hero {
  padding: 56px 0 32px;
}

.guide-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 12px 0 16px;
}

.guide-hero p { max-width: 620px; line-height: 1.65; }

.guide-hero .primary-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--blue-600, #1a6bcc);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.guide-hero .primary-button:hover { background: var(--blue-700, #155bb5); }

/* TOC */
.guide-toc {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(96,116,139,0.18);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 36px;
}

.guide-toc strong { font-size: 13px; display: block; margin-bottom: 10px; }

.guide-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}

.guide-toc a {
  font-size: 13px;
  color: var(--blue-600, #1a6bcc);
  text-decoration: none;
}

.guide-toc a:hover { text-decoration: underline; }

/* Sections */
.guide-section {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(96,116,139,0.12);
}

.guide-section__number {
  font-size: 28px;
  font-weight: 800;
  color: rgba(26,107,204,0.18);
  line-height: 1.1;
  padding-top: 4px;
  flex-shrink: 0;
}

.guide-section__body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}

.guide-section__body p { line-height: 1.7; margin: 0 0 10px; }

/* Steps */
.guide-steps {
  margin: 16px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-steps li { line-height: 1.6; }

.guide-step-en {
  display: block;
  font-size: 0.82em;
  opacity: 0.5;
  font-style: italic;
  margin-top: 2px;
}

html.en-only .guide-step-en {
  font-size: 1em;
  opacity: 1;
  font-style: normal;
  margin-top: 0;
}

/* Tip box */
.guide-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(26,107,204,0.06);
  border-left: 3px solid var(--blue-400, #4d9bec);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.guide-tip i { color: var(--blue-500, #2d7fd4); margin-top: 2px; flex-shrink: 0; }

/* Tips list */
.guide-tips-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-tips-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.guide-tips-list i {
  color: #22c55e;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.guide-tips-list p { margin: 4px 0 0; line-height: 1.65; font-size: 14px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.faq-list details {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(96,116,139,0.18);
  border-radius: 8px;
  padding: 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

.faq-list details p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; }

/* Size table */
.size-table {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(96,116,139,0.18);
  font-size: 13px;
}

.size-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.size-row--header {
  background: rgba(26,107,204,0.08);
  font-weight: 700;
}

.size-row span {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(96,116,139,0.1);
}

.size-row:last-child span { border-bottom: none; }

.size-row:nth-child(even) { background: rgba(255,255,255,0.6); }
.size-row:nth-child(odd):not(.size-row--header) { background: rgba(255,255,255,0.3); }

.size-table--2col .size-row { grid-template-columns: 1fr 1fr; }

.content-source {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-tertiary, #7b8a9a);
}

@media (max-width: 500px) {
  .size-row { grid-template-columns: 1fr 1fr; }
  .size-table:not(.size-table--2col) .size-row span:last-child { display: none; }
}

/* CTA */
.guide-cta {
  text-align: center;
  padding: 48px 24px;
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  border: 1px solid rgba(96,116,139,0.15);
  margin-top: 16px;
}

.guide-cta h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.guide-cta p  { color: var(--ink-500, #6d7480); margin-bottom: 20px; }

.guide-cta .primary-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--blue-600, #1a6bcc);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.guide-cta .primary-button:hover { background: var(--blue-700, #155bb5); }

/* 광고 영역 */
.guide-ad-wrap {
  max-width: 860px;
  margin: 0 auto 8px;
  padding: 0 20px;
}

/* Responsive */
@media (max-width: 600px) {
  .guide-section { grid-template-columns: 1fr; }
  .guide-section__number { font-size: 20px; margin-bottom: 4px; }
  .guide-toc ol { grid-template-columns: 1fr; }
  .guide-header nav a:not(:first-child) { display: none; }
}
