:root {
  --bg-canvas: #F8F4EC;
  --bg-card: #FFFFFF;
  --bg-card-sub: #FFFDF9;
  --border-soft: #EDE4D6;
  --text-main: #2D2825;
  --text-sub: #68605A;
  --text-muted: #9E948C;
  --accent-peach: #C85A38;
  --accent-peach-soft: #FDEEE9;
  --accent-sage: #578670;
  --accent-sage-soft: #EBF4EF;
  --accent-butter-soft: #FDF7E7;
  --shadow-card: 0 8px 24px -6px rgba(120, 95, 75, 0.06), 0 2px 6px -1px rgba(120, 95, 75, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

html, body {
  width: 100%;
  overflow-x: clip;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.guide-hero {
  padding: 56px 0 36px;
  text-align: center;
}

.guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.guide-hero h1 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 14px;
}

.guide-hero p {
  font-size: 16.5px;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 24px auto 72px;
}

.guide-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-soft);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: #E79273;
}

.guide-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-peach-soft);
  color: var(--accent-peach);
  margin-bottom: 12px;
}

.guide-card h2 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.guide-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-sage);
}

/* Article Layout */
.article-wrap {
  max-width: 820px;
  margin: 40px auto 72px;
  padding: 0 20px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--accent-peach);
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
}

.article-header {
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.article-header h1 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin-bottom: 12px;
}

.article-info {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-body h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #F4A284;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  margin: 22px 0 8px;
}

.article-body p {
  font-size: 15.5px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin: 12px 0 20px 22px;
  color: var(--text-sub);
  font-size: 15px;
}

.article-body li {
  margin-bottom: 8px;
}

.tip-box {
  background: var(--accent-sage-soft);
  border: 1px solid rgba(87, 134, 112, 0.35);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 14.5px;
  color: #2A5842;
}

.warn-box {
  background: var(--accent-butter-soft);
  border: 1px solid rgba(247, 208, 112, 0.7);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 14.5px;
  color: #6B4D07;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 14px;
}

.guide-table th, .guide-table td {
  border: 1px solid var(--border-soft);
  padding: 12px 14px;
  text-align: left;
}

.guide-table th {
  background: #FAF7F0;
  font-weight: 800;
  color: var(--text-main);
}

.article-cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #FDF7E7 0%, #FDEEE9 100%);
  border: 1.5px solid #F5E5D5;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
}

.article-cta h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.article-cta p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.btn-guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  background: var(--accent-peach);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-guide-cta:hover {
  background: #B34D2E;
  transform: translateY(-2px);
}

.related-box {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.related-box h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.related-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-peach);
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-hero h1 { font-size: 28px; }
  .article-card { padding: 28px 20px; border-radius: 22px; }
  .article-header h1 { font-size: 23px; }
}
