/* 포럼형 홈페이지 (누패스). 색은 모두 테마 토큰(partials/theme)을 쓴다. 내용은 App\Support\HomeContent. */
.hm { color: var(--ink); }
.hm h1, .hm h2, .hm h3 { color: inherit; }
.hm-sec { padding: 112px 0; }
.hm-sec.tint { background: var(--lavender); }
.hm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 44px; }
.hm-eyebrow { display: block; font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.hm-title { margin: 0; font-family: var(--font-title); font-size: 44px; line-height: 1.2; font-weight: 600; letter-spacing: -1.2px; color: var(--ink-strong); }
.hm-lead { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.75; color: var(--ink); }

/* 히어로: 사진을 올리면 사진 위에 어두운 막, 없으면 테마 색 그라데이션 */
.hm-hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--primary-strong) 130%); }
.hm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-hero.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 0%, color-mix(in srgb, var(--navy-deep) 70%, transparent) 55%, color-mix(in srgb, var(--navy-deep) 20%, transparent) 100%); }
.hm-hero-in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 150px; display: flex; flex-direction: column; gap: 18px; max-width: 1280px; }
.hm-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--on-dark-sub); }
.hm-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border: 1px solid var(--lime); border-radius: 16px; font-weight: 700; color: var(--lime); }
.hm-badge::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--lime); }
.hm-slogan { margin: 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; color: var(--lime); }
.hm-name { margin: 0; max-width: 900px; font-weight: 900; font-size: clamp(40px, 6vw, 84px); line-height: 1.1; letter-spacing: -.03em; color: var(--white); word-break: keep-all; }
.hm-en { margin: 0; font-size: clamp(16px, 1.6vw, 22px); font-weight: 300; color: var(--on-dark-sub); }
.hm-when { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 28px; font-size: 18px; font-weight: 700; text-decoration: none; }
.hm-btn-main { background: var(--lime); color: var(--navy-deep); }
.hm-btn-line { border: 1.5px solid var(--white); color: var(--white); font-weight: 500; }
.hm-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* 바로가기 카드 (히어로 아래에 걸친다) */
.hm-quick { position: relative; z-index: 2; margin-top: -56px; }
.hm-quick ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hm-quick a { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: 16px; background: var(--white); box-shadow: 0 10px 30px rgba(15, 23, 42, .12); text-decoration: none; color: var(--ink-strong); }
.hm-quick a:hover { outline: 2px solid var(--primary); }
.hm-quick .ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 26px; background: var(--primary-soft); color: var(--primary); }
.hm-quick b { display: block; font-size: 18px; }
.hm-quick small { display: block; font-size: 15px; color: var(--ink-sub); }

/* 참가 방법 */
.hm-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hm-steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; background: var(--white); border-top: 4px solid var(--primary); border-radius: 0 0 14px 14px; }
.hm-steps li:nth-child(even) { border-top-color: var(--navy); }
.hm-steps .no { font-family: var(--font-title); font-size: 15px; font-weight: 600; color: var(--primary); }
.hm-steps b { font-family: var(--font-title); font-size: 24px; font-weight: 600; color: var(--ink-strong); }
.hm-steps p { margin: 0; font-size: 16px; line-height: 1.7; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* 행사 소개 */
.hm-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px 80px; align-items: start; }
.hm-about-text { margin: 0; font-size: 17px; line-height: 1.85; white-space: pre-line; }
.hm-points { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink-strong); }
.hm-points li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hm-points .no { flex: none; width: 40px; font-family: var(--font-title); font-size: 22px; font-weight: 600; color: var(--primary); }
.hm-points b { display: block; font-size: 19px; color: var(--ink-strong); margin-bottom: 4px; }
.hm-points span { font-size: 16px; line-height: 1.65; }
.hm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 56px; }
.hm-facts div { padding: 24px; border-radius: 16px; background: var(--primary-soft); }
.hm-facts div:last-child { background: var(--navy); color: var(--on-dark-sub); }
.hm-facts dt { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hm-facts dd { margin: 0; font-family: var(--font-title); font-size: 24px; font-weight: 600; color: var(--ink-strong); }
.hm-facts div:last-child dd { color: var(--white); }

/* 프로그램 */
.hm-prog { display: flex; flex-direction: column; gap: 24px; }
.hm-part { background: var(--white); border-radius: 20px; padding: 32px 36px; }
.hm-part h3 { margin: 0 0 12px; display: inline-flex; padding: 5px 14px; border-radius: 14px; background: var(--navy); color: var(--white); font-size: 16px; font-weight: 700; }
.hm-slot { display: grid; grid-template-columns: 76px 22px minmax(0, 1fr); gap: 0 16px; }
.hm-slot .t { font-family: var(--font-title); font-size: 19px; font-weight: 600; color: var(--primary-strong); padding-top: 14px; }
.hm-slot .dot { position: relative; }
.hm-slot .dot::before { content: ''; position: absolute; left: 4px; top: 19px; width: 14px; height: 14px; box-sizing: border-box; border: 3px solid var(--primary); border-radius: 7px; background: var(--white); }
.hm-slot .dot::after { content: ''; position: absolute; left: 10px; top: 33px; bottom: -19px; width: 2px; background: var(--line); }
.hm-slot:last-child .dot::after { display: none; }
.hm-slot .body { padding: 12px 0 14px; border-bottom: 1px solid var(--line-soft); }
.hm-slot:last-child .body { border-bottom: 0; }
.hm-slot b { display: block; font-size: 18px; color: var(--ink-strong); }
.hm-slot p { margin: 4px 0 0; font-size: 16px; line-height: 1.6; }
.hm-slot small { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--primary); }

/* 연사 */
.hm-speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; }
.hm-speakers figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hm-speakers img.ph { width: 100%; height: auto; object-fit: cover; display: block; }
.hm-speakers .ph { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 20px; background: var(--primary-soft); color: var(--primary); font-family: var(--font-title); font-size: 56px; font-weight: 600; }
.hm-speakers .role { font-size: 15px; font-weight: 700; color: var(--primary); }
.hm-speakers b { font-size: 22px; color: var(--ink-strong); }
.hm-speakers span:last-child { font-size: 15px; color: var(--ink-sub); }

/* 자유 섹션 */
.hm-sec.dark { background: var(--navy); color: var(--on-dark-sub); }
.hm-sec.dark .hm-title { color: var(--white); }
.hm-sec.dark .hm-eyebrow { color: var(--lime); }
.hm-sec.dark .hm-lead { color: var(--on-dark-sub); }
.hm-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hm-cards li { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--white); border: 1px solid var(--line-soft); }
.hm-sec.plain .hm-cards li { background: var(--primary-soft); border-color: transparent; }
.hm-sec.dark .hm-cards li { background: var(--navy-2); border-color: transparent; }
.hm-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hm-cards .c { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.hm-cards b { font-size: 19px; color: var(--ink-strong); }
.hm-sec.dark .hm-cards b { color: var(--white); }
.hm-cards p { margin: 0; font-size: 16px; line-height: 1.65; }

/* 경품 */
.hm-prize { background: var(--navy); color: var(--on-dark-sub); }
.hm-prize .hm-title { color: var(--white); }
.hm-prize .hm-eyebrow { color: var(--lime); }
.hm-prize ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hm-prize li { padding: 26px; border-radius: 18px; background: var(--navy-2); }
.hm-prize .rank { font-family: var(--font-title); font-size: 18px; font-weight: 600; color: var(--lime); }
.hm-prize li b { display: block; margin: 6px 0 2px; font-size: 22px; color: var(--white); }

/* 오시는 길 */
.hm-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.hm-venue { padding: 36px; border-radius: 18px; background: var(--navy); color: var(--on-dark-sub); }
.hm-venue .lbl { font-size: 15px; font-weight: 700; color: var(--lime); }
.hm-venue p.v { margin: 10px 0 0; font-family: var(--font-title); font-size: 30px; line-height: 1.3; font-weight: 600; color: var(--white); }
.hm-venue p.a { margin: 12px 0 0; font-size: 17px; }
.hm-venue dl { display: flex; margin: 24px 0 0; border-top: 1px solid var(--navy-line); }
.hm-venue dl div { flex: 1; padding-top: 16px; }
.hm-venue dl div + div { padding-left: 20px; border-left: 1px solid var(--navy-line); }
.hm-venue dt { font-size: 15px; }
.hm-venue dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: var(--white); }
.hm-maps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hm-maps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--on-dark-dim); border-radius: 22px; color: var(--white); font-weight: 700; text-decoration: none; }
.hm-transit { margin: 0; padding: 8px 28px; border-radius: 18px; background: var(--white); }
.hm-transit div { display: flex; gap: 16px; padding: 18px 0; }
.hm-transit div + div { border-top: 1px solid var(--line); }
.hm-transit dt { flex: none; width: 72px; font-weight: 700; color: var(--primary); }
.hm-transit dd { margin: 0; font-size: 16px; line-height: 1.6; }

/* FAQ · 공지 */
.hm-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 80px; }
.hm-faq dl { margin: 0; border-top: 2px solid var(--ink-strong); }
.hm-faq dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.hm-faq dt { font-size: 18px; font-weight: 700; color: var(--ink-strong); }
.hm-faq dd { margin: 0; font-size: 16px; line-height: 1.7; }
.hm-notice { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink-strong); }
.hm-notice li { display: grid; grid-template-columns: 130px 100px minmax(0, 1fr); gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hm-notice .d { color: var(--ink-sub); }
.hm-notice .c { font-weight: 700; color: var(--primary); }
.hm-notice .s { font-weight: 500; color: var(--ink-strong); }

/* 맺음 띠 · 주최 */
.hm-end { background: var(--navy); color: var(--white); }
.hm-end .container { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.hm-end p { margin: 0; font-family: var(--font-title); font-size: 36px; font-weight: 600; line-height: 1.4; }
.hm-end small { display: block; font-family: var(--font-body); font-size: 19px; font-weight: 400; color: var(--on-dark-sub); }
.hm-partners { border-bottom: 1px solid var(--line-soft); }
.hm-partners .container { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 12px 48px; }
.hm-partners span { font-size: 15px; color: var(--ink-sub); }
.hm-partners b { margin-right: 12px; color: var(--ink-strong); }

@media (max-width: 900px) {
  .hm-sec { padding: 64px 0; }
  .hm-title { font-size: 30px; letter-spacing: -.5px; }
  .hm-hero-in { padding-top: 64px; padding-bottom: 110px; }
  .hm-about, .hm-guide, .hm-faq { grid-template-columns: 1fr; }
  .hm-faq dl div { grid-template-columns: 1fr; }
  .hm-notice li { grid-template-columns: auto 1fr; }
  .hm-notice .s { grid-column: 1 / -1; }
  .hm-part { padding: 24px 20px; }
  .hm-slot { grid-template-columns: 58px 22px minmax(0, 1fr); gap: 0 10px; }
  .hm-end p { font-size: 26px; }
}
@media (max-width: 560px) {
  .hm-quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hm-quick a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .hm-quick small { display: none; }
  .hm-speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .hm-speakers .ph { font-size: 40px; }
  .hm-speakers b { font-size: 18px; }
  .hm-btn { min-height: 50px; padding: 0 22px; font-size: 16px; }
  .hm-venue { padding: 24px; }
}
