/* 메인 '밤하늘 띠'(절기 현판 아래, 2026-09-24 디자인 캔버스 시안 HomeNight). 메인에서만 불러온다.
 * 사진 위 글은 왼쪽을 짙게 덮어 대비 4.5:1 이상. 제목은 자체 호스팅 마루 부리(site.css 의 Sangcheon Buri) */
.hn { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center; background: #070d1c; color: #fffdf8; }
.hn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 13, 28, 0.82) 0%, rgba(7, 13, 28, 0.5) 34%, rgba(7, 13, 28, 0) 56%, rgba(7, 13, 28, 0.18) 100%); }
.hn-inner { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 64px 120px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hn-text { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.hn-chip { align-self: flex-start; padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #ebcb99; color: #1b2744; }
.hn-today .hn-chip { background: #b5452f; color: #fffdf8; }
.hn-cancelled .hn-chip { background: rgba(255, 253, 248, 0.16); color: #fffdf8; }
.hn-eyebrow { font-size: 13px; letter-spacing: 0.28em; color: #ebcb99; }
.hn-title { margin: 0; font-family: "Sangcheon Buri", var(--font-buri), serif; font-weight: 300; font-size: 42px; line-height: 1.3; letter-spacing: -0.01em; white-space: pre-line; word-break: keep-all; }
.hn-sub { margin: 0; font-size: 16px; line-height: 1.8; color: #d9e0ea; word-break: keep-all; }
.hn-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hn-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px; border: 1px solid rgba(255, 253, 248, 0.6); border-radius: 999px; color: #fffdf8; font-size: 15px; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.hn-btn:hover { background: rgba(255, 253, 248, 0.1); }
.hn-btn-fill { background: #ebcb99; border-color: #ebcb99; color: #1b2744; font-weight: 700; }
.hn-btn-fill:hover { background: #f3dbb4; }
.hn-btn:focus-visible { outline: 2px solid #ebcb99; outline-offset: 3px; }
.hn-card { flex-shrink: 0; width: 380px; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border: 1px solid rgba(235, 203, 153, 0.4); border-radius: 14px; background: rgba(7, 13, 28, 0.74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hn-card p { margin: 0; }
.hn-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 12px; color: #b4c0d2; }
.hn-card-head span:first-child { font-family: "Sangcheon Buri", var(--font-buri), serif; font-weight: 300; font-size: 20px; color: #fffdf8; }
.hn-moon { display: flex; align-items: center; gap: 14px; }
.hn-moon svg { flex-shrink: 0; }
.hn-moon p { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #b4c0d2; }
.hn-moon p > b { font-size: 16px; color: #fffdf8; }
.hn-moon p > b span { font-weight: 400; font-size: 13px; color: #b4c0d2; }
.hn-sunset { font-family: "Sangcheon Buri", var(--font-buri), serif; font-weight: 300; font-size: 17px; color: #ebcb99; }
.hn-tip { font-size: 13px; line-height: 1.6; color: #d9e0ea; }
.hn-stars { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hn-stars li { padding: 4px 11px; border: 1px solid rgba(180, 192, 210, 0.35); border-radius: 999px; font-size: 13px; color: #d9e0ea; }
.hn-stars li.is-season { border-color: rgba(235, 203, 153, 0.7); background: rgba(235, 203, 153, 0.12); color: #ebcb99; }

@media (max-width: 1080px) {
  .hn { min-height: 420px; }
  .hn-img { object-position: 40% 45%; }
  .hn::before { background: linear-gradient(90deg, rgba(7, 13, 28, 0.85) 0%, rgba(7, 13, 28, 0.5) 50%, rgba(7, 13, 28, 0.25) 100%); }
  .hn-inner { padding: 56px 40px; gap: 28px; }
  .hn-title { font-size: 32px; line-height: 1.35; }
  .hn-sub { font-size: 15px; line-height: 1.75; }
  .hn-btn { font-size: 14px; }
  .hn-card { width: 320px; padding: 18px; }
}
/* 휴대폰: 위에 사진, 아래로 짙은 바탕에 글 · 단추 · 카드 */
@media (max-width: 767.98px) {
  .hn { display: block; min-height: 0; }
  .hn-img { inset: 0 0 auto; height: 330px; object-position: 30% 50%; }
  .hn::before { inset: 0 0 auto; height: 330px; background: linear-gradient(180deg, rgba(7, 13, 28, 0.25) 0%, rgba(7, 13, 28, 0.1) 45%, #070d1c 100%); }
  .hn-inner { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 150px 20px 40px; }
  .hn-text { gap: 12px; }
  .hn-eyebrow { font-size: 12px; letter-spacing: 0.26em; }
  .hn-title { font-size: 27px; }
  .hn-sub { font-size: 14px; }
  .hn-card { width: 100%; }
}

/* 별자리 이야기로 가는 링크(2026-09-28) */
.hn-stars li a { color: inherit; text-decoration: none; }
.hn-stars li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hn-storylink { align-self: flex-start; font-size: 13px; color: #ebcb99; text-decoration: none; }
.hn-storylink:hover { text-decoration: underline; text-underline-offset: 3px; }
