/* 홈 전용. 콘텐츠팀 안(02-content.md): 손글과 실적이 목록보다 위 */
.hero { position: relative; padding: 32px 0 48px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 30px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; max-width: 14em; padding-right: 96px; }
.hero h1 .hit { color: var(--orange); }
.hero p { margin-top: 12px; color: var(--ink-2); max-width: 34em; }
.hero .btn { margin-top: 24px; }
.hero .writer { position: absolute; right: 4px; top: 32px; width: 80px; height: 80px; transform: rotate(4deg); }
.hero .bubble { display: none; }

.sec { margin-top: 48px; }
.sec > h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }

/* 손글 2편: 앞 글은 크게, 뒤 글은 한 줄 */
.notes { display: grid; gap: 0; }
.note { display: block; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.note:last-child { border-bottom: 1px solid var(--line); }
.note h2, .note h3 { font-size: 18px; font-weight: 800; line-height: 1.4; letter-spacing: -0.01em; }
.note:hover h2, .note:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.note p { margin-top: 8px; color: var(--ink-2); max-width: 36em; }
.note .when { margin-top: 8px; font-size: 14px; color: var(--gray); }
.note.lead h3 { font-size: 24px; line-height: 1.35; }

.guides { display: grid; gap: 0; border-top: 1px solid var(--line); }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide b { font-size: 18px; font-weight: 800; }
.guide:hover b { text-decoration: underline; text-underline-offset: 4px; }
.guide span { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.guide em { font-style: normal; font-size: 14px; color: var(--gray); white-space: nowrap; }

.prizes { display: flex; flex-wrap: wrap; gap: 8px; }
.prizes a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; background: var(--soft); border-radius: var(--r-s); font-weight: 700; text-decoration: none; }
.prizes a:hover { background: var(--soft-2); }
.prizes a span { font-size: 14px; font-weight: 400; color: var(--gray); }

@media (min-width: 1024px) {
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 48px; padding-right: 0; max-width: 13em; }
  .hero p { font-size: 18px; }
  .hero .writer { display: none; }
  .hero .bubble { display: block; position: absolute; right: 208px; top: 72px; white-space: nowrap; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-l); padding: 12px 16px; font-size: 16px; font-weight: 800; line-height: 1.4; box-shadow: var(--hard); }
  .hero .bubble::after { content: ""; position: absolute; width: 16px; height: 16px; background: var(--paper); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); right: -10px; top: 50%; margin-top: -8px; transform: rotate(-45deg); }
  .hero .gang { position: absolute; right: 8px; top: 32px; width: 168px; height: 168px; transform: rotate(-3deg); }
  .home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
  .home-grid .ad { margin-top: 48px; }
}
@media (max-width: 1199px) { .hero .gang, .hero .bubble { display: none !important; } }
@media (min-width: 1024px) and (max-width: 1199px) { .hero .writer { display: block; width: 120px; height: 120px; } }
.sec .lede { margin-top: 8px; color: var(--ink-2); max-width: 36em; }

/* 홈: 경품별로 보기 */
.prize-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.prize-nav a { display: inline-block; min-height: 40px; padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); }
.prize-nav a:hover { border-color: var(--gray); }
.prize-nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
