@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* =========================================================
   BrandNote 디자인 시스템
   - 톤앤매너: 다크 베이스 + 골드 포인트 (눈이 편한 다크 테마)
   ========================================================= */

:root {
  --color-navy-900: #060708;
  --color-navy-800: #0c0e11;
  --color-navy-700: #14171b;
  --color-navy-600: #1c2126;
  --color-gold-500: #e3a83e;
  --color-gold-400: #f0bd5e;
  --color-teal-600: #2dd4bf;

  --gradient-gold: linear-gradient(135deg, #ffd873 0%, #eaa63d 55%, #d9861f 100%);

  --color-bg: #0a0b0d;
  --color-bg-soft: #101216;
  --color-bg-soft-2: #171a1f;
  --color-text: #eef0f3;
  --color-text-muted: #9aa2ad;
  --color-text-faint: #6d7580;
  --color-border: #23262c;
  --color-border-strong: #343941;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);

  --container-w: 1120px;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.6em; color: var(--color-text); }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.25; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--color-text); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gold-400);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--color-gold-400);
  display: inline-block;
}
.lead { font-size: 1.1rem; color: var(--color-text-muted); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-primary { background: var(--gradient-gold); color: #1c1305; }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--color-border-strong); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-gold-500); background: var(--color-bg-soft-2); }
.btn-danger { background: transparent; border-color: #b3352f; color: #ff6b6b; }
.btn-danger:hover { background: rgba(179,53,47,0.12); border-color: #ff6b6b; }
.btn-danger:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-gold { background: var(--color-gold-500); color: #1c1305; }
.btn-gold:hover { background: var(--color-gold-400); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,11,13,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 92px; }
/* 모바일에서 [햄버거 메뉴][로고]를 왼쪽에 함께 묶어 표시하기 위한 래퍼.
   PC에서는 햄버거 버튼이 display:none이라 로고만 보이므로 기존과 동일하게 보임. */
.header-left { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.55rem; color: var(--color-text); }
/* 커스터마이저에서 업로드한 로고 이미지는 원본 크기와 무관하게 항상 이 높이에 맞춰 표시됨 (가로 비율은 유지) */
.brand-logo img,
.brand-logo .custom-logo {
  display: block;
  height: 40px; width: auto; max-width: 160px;
  object-fit: contain;
}
.brand-logo .mark {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  color: #1c1305; font-size: 1.15rem; font-weight: 800;
}
.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.main-nav a.is-active { color: var(--color-text); background: var(--color-bg-soft-2); }
.main-nav a:hover { color: var(--color-gold-400); background: var(--color-bg-soft-2); }
.nav-icon-badge {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-icon-badge svg { width: 12px; height: 12px; }
.nav-icon-badge svg path, .nav-icon-badge svg circle, .nav-icon-badge svg rect { fill: #1c1305; stroke: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }

.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px; flex-shrink: 0;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  color: var(--color-text); cursor: pointer;
}
.mobile-menu-btn svg { width: 20px; height: 20px; }
.mobile-menu-btn .icon-close { display: none; }
.site-header.mobile-nav-open .mobile-menu-btn .icon-burger { display: none; }
.site-header.mobile-nav-open .mobile-menu-btn .icon-close { display: block; }

.mobile-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-bg); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header.mobile-nav-open .mobile-nav { display: block; }
.mobile-nav .mobile-nav-inner {
  display: flex; flex-direction: column;
  max-width: var(--container-w); margin: 0 auto; padding: 6px 24px 14px;
}
.mobile-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 2px; font-weight: 600; font-size: 0.98rem;
  color: var(--color-text-muted); border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.is-active { color: var(--color-gold-400); }

.btn-chat {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-text-muted);
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem;
}
.btn-chat:hover { color: var(--color-text); background: var(--color-bg-soft-2); }
.btn-chat svg { width: 16px; height: 16px; fill: currentColor; }
.btn-text { color: var(--color-text-muted); font-weight: 600; font-size: 0.9rem; padding: 10px 6px; }
.btn-text:hover { color: var(--color-text); }

.btn-telegram {
  display: inline-flex; align-items: center; gap: 8px;
  background: #229ED9; color: #fff;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem;
}
.btn-telegram:hover { background: #1c86ba; }
.btn-telegram svg { width: 16px; height: 16px; fill: #fff; }

.btn-inquiry {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-gold); color: #1c1305;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem;
}
.btn-inquiry:hover { filter: brightness(1.06); }
.btn-inquiry svg { width: 18px; height: 18px; }
.btn-inquiry svg .plane-base { fill: #1c1305; }
.btn-inquiry svg .plane-fold { fill: #fff6df; opacity: 0.6; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 88px 0 96px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; }
.hero-stats .stat b { display: block; font-size: 1.6rem; color: var(--color-gold-400); }
.hero-stats .stat span { font-size: 0.85rem; color: var(--color-text-muted); }
.hero-visual {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-600));
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(234,166,61,0.28), transparent 55%);
}
.hero-visual .badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: #fff;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-soft { background: var(--color-bg-soft); border-top: 1px solid var(--color-border); }
.section-navy { background: var(--color-navy-700); color: #fff; }
.section-navy h2, .section-navy .eyebrow { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.65); }

/* ---------- Value / Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: var(--color-bg-soft-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color .18s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.value-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(234,166,61,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--color-gold-400); font-size: 1.3rem;
}
.value-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.value-card p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Post / Board cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: var(--color-bg-soft-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.post-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-navy-600), var(--color-navy-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-faint); font-size: 1.6rem; font-weight: 800;
}
.post-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  margin-bottom: 12px;
  width: fit-content;
}
.tag.tag-notice { background: rgba(234,166,61,0.14); border-color: rgba(234,166,61,0.3); color: var(--color-gold-400); }
.tag.tag-community { background: rgba(45,212,191,0.12); border-color: rgba(45,212,191,0.3); color: var(--color-teal-600); }
.tag.tag-brand { background: rgba(255,255,255,0.06); border-color: var(--color-border-strong); color: var(--color-text-muted); }
.post-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.post-card .excerpt { color: var(--color-text-muted); font-size: 0.92rem; flex: 1; }
.post-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--color-text-faint);
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border);
}

/* ---------- Board list (community/table-ish list) ---------- */
.board-list { border-top: 2px solid var(--color-gold-500); }
.board-row {
  display: grid;
  grid-template-columns: 90px 1fr 130px 90px;
  gap: 16px;
  align-items: center;
  padding: 18px 12px;
  border-bottom: 1px solid var(--color-border);
}
.board-row .title { font-weight: 600; }
.board-row .title a:hover { color: var(--color-gold-400); text-decoration: underline; }
.board-row .meta { color: var(--color-text-faint); font-size: 0.85rem; }
.board-row.cols-reviews { grid-template-columns: 110px 1fr 100px 90px; }
.review-title-link { display: flex; align-items: center; gap: 10px; min-width: 0; }
.review-row-thumb {
  width: 36px; height: 36px; border-radius: 6px; object-fit: cover; flex-shrink: 0;
}
.review-row-title-text {
  /* flex-grow:0(기본값)로 두어 실제 제목 길이만큼만 너비를 차지하게 하고,
     댓글 수([N])가 제목 바로 오른쪽에 붙어 표시되도록 합니다.
     (이전에 flex:1을 주었을 때는 제목 칸 전체 너비를 차지해버려서
     댓글 수가 제목과 멀리 떨어진 닉네임 칸 근처까지 밀려나 보였습니다.)
     제목이 너무 길어 한 줄에 다 들어가지 못할 때만 축소되며 말줄임 처리됩니다. */
  flex-shrink: 1; min-width: 0; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.review-row-comment-count { color: var(--color-text-faint); font-size: 0.82rem; font-weight: 700; flex-shrink: 0; }
.board-row.cols-request { grid-template-columns: 120px 1fr 110px 90px; }
.board-filter { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.board-filter a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--color-border-strong);
  font-size: 0.88rem; font-weight: 600; color: var(--color-text-muted);
}
.board-filter a.is-active { background: var(--gradient-gold); color: #1c1305; border-color: transparent; }

.board-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.board-toolbar .board-filter { margin-bottom: 0; flex: 1; }
.board-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--color-bg-soft-2); border: 1px solid var(--color-border-strong);
  border-radius: 999px; padding: 9px 16px 9px 14px;
  width: 100%; max-width: 260px; flex-shrink: 0;
}
.board-search svg { width: 16px; height: 16px; color: var(--color-text-faint); flex-shrink: 0; }
.board-search input {
  background: none; border: none; outline: none; width: 100%;
  color: var(--color-text); font-size: 0.9rem; font-family: var(--font-sans);
}
.board-search input::placeholder { color: var(--color-text-faint); }
.board-search:focus-within { border-color: var(--color-gold-500); }

.board-row.is-pinned { background: rgba(234,166,61,0.05); }
.board-row.is-pinned .title { color: var(--color-gold-400); }
.pin-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 700; color: var(--color-gold-400);
  background: rgba(234,166,61,0.12); border-radius: 4px; padding: 2px 8px; margin-right: 8px;
}
.board-count { color: var(--color-text-muted); font-size: 0.9rem; }
.board-count b { color: var(--color-text); }

/* ---------- Single post ---------- */
.post-header { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.post-header .tag { margin-left: auto; margin-right: auto; }
.post-content { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.post-content h2 { margin-top: 1.6em; }
.post-content img { border-radius: var(--radius-md); margin: 1.4em 0; }
.post-content blockquote {
  border-left: 3px solid var(--color-gold-500);
  margin: 1.6em 0; padding: 4px 0 4px 20px;
  color: var(--color-text-muted); font-style: italic;
}
/* 자동 수집(RSS) 스포츠뉴스 글 하단의 출처/원문 링크 */
.post-content .bn-news-source {
  margin-top: 1.4em; padding-top: 14px; border-top: 1px solid var(--color-border);
  font-size: 0.9rem; color: var(--color-text-faint);
}
.post-content .bn-news-source a { color: var(--color-gold-400); font-weight: 600; }
.post-content .bn-news-source a:hover { text-decoration: underline; }

/* ---------- 이전 글 / 다음 글 내비게이션 ---------- */
.post-adjacent-nav {
  max-width: 760px; margin: 8px auto 0;
  display: flex; align-items: stretch; gap: 0;
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
}
.post-adjacent-link, .post-adjacent-empty {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 4px; justify-content: center;
  padding: 16px 20px 16px 0;
}
.post-adjacent-link { text-decoration: none; color: var(--color-text); transition: opacity .15s ease; }
.post-adjacent-link:hover { opacity: 0.65; }
.post-adjacent-link.next, .post-adjacent-empty.next {
  align-items: flex-end; text-align: right;
  border-left: 1px solid var(--color-border);
  padding: 16px 0 16px 20px;
}
.post-adjacent-nav .nav-label { font-size: 0.78rem; color: var(--color-gold-500); font-weight: 700; }
.post-adjacent-nav .nav-title {
  font-size: 0.95rem; font-weight: 600; width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.post-adjacent-empty { color: var(--color-text-faint); font-size: 0.9rem; }
@media (max-width: 640px) {
  .post-adjacent-nav .nav-title { max-width: 140px; }
}

/* ---------- Comments ---------- */
.comments-wrap { max-width: 760px; margin: 56px auto 0; }
.comment-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--color-border); }
.comment-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-bg-soft-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--color-gold-400);
}
.comment-author { font-weight: 700; font-size: 0.92rem; }
.comment-date { font-size: 0.8rem; color: var(--color-text-faint); margin-left: 8px; font-weight: 400; }
.comment-form textarea, .comment-form input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.95rem;
  background: var(--color-bg-soft-2); color: var(--color-text);
}
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form .row { display: flex; gap: 12px; margin-bottom: 12px; }

/* 댓글 폼의 "닉네임 저장" 체크박스 - 위 규칙(width:100% 등)이 checkbox에는
   적용되지 않도록 제외했으므로, 여기서 별도로 작고 정상적인 체크박스 모양을 지정합니다. */
.comment-form-cookies-consent {
  display: flex; align-items: center; gap: 8px; margin: 4px 0 16px;
  font-size: 0.85rem; color: var(--color-text-muted);
}
.comment-form-cookies-consent input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin: 0;
  accent-color: var(--color-gold-500); cursor: pointer;
}
.comment-form-cookies-consent label { cursor: pointer; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-navy-700);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.65); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-navy-800); border-top: 1px solid var(--color-border); color: rgba(255,255,255,0.65); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--color-gold-400); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border); font-size: 0.9rem; color: var(--color-text-muted);
}
.pagination .current { background: var(--gradient-gold); color: #1c1305; border-color: transparent; font-weight: 700; }

/* ---------- Banners ---------- */
:root { --banner-strip-h: 132px; --banner-main-h: 420px; --banner-main-ratio: 1280 / 420; --banner-mid-h: 118px; --banner-mid-ratio: 575 / 144; --banner-gap: 32px; }

.banner-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  aspect-ratio: var(--banner-main-ratio);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--color-navy-800) 0%, var(--color-navy-700) 55%, var(--color-navy-600) 100%);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 0 56px;
  position: relative;
  overflow: hidden;
}
.banner-main::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 22%, rgba(234,166,61,0.32), transparent 55%);
}
.banner-main .banner-label {
  position: relative; z-index: 1;
  display: inline-flex; width: fit-content; flex-shrink: 0;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px; border-radius: 999px;
  color: var(--color-gold-400);
}
.banner-main .banner-main-title {
  position: relative; z-index: 1;
  font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em;
  color: #fff; line-height: 1.4; max-width: 660px;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.banner-main .banner-main-title span { display: block; font-size: 0.95rem; font-weight: 400; color: rgba(255,255,255,0.62); margin-top: 8px; }

/* 이미지 업로드형 배너 슬라이드 */
.banner-main.has-photo { padding: 0; background: var(--color-navy-800); }
.banner-main.has-photo::before { display: none; }
.banner-photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; z-index: 0;
  margin: 0; display: block;
}
.banner-main.has-photo .banner-label,
.banner-main.has-photo .banner-main-title {
  position: relative; z-index: 2;
}
.banner-main.has-photo.has-caption { padding: 0 56px; }
.banner-main.has-photo.has-caption::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,17,32,0.82) 0%, rgba(11,17,32,0.35) 55%, rgba(11,17,32,0.05) 100%);
}

/* ---------- Main banner carousel ---------- */
.banner-carousel { position: relative; }
.banner-carousel .carousel-viewport { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.banner-carousel .carousel-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.banner-carousel .carousel-track .banner-main { flex: 0 0 100%; border-radius: var(--radius-lg); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-arrow:hover { background: rgba(0,0,0,0.55); border-color: var(--color-gold-500); color: var(--color-gold-400); }
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.carousel-dots button {
  width: 6px; height: 6px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.35); cursor: pointer;
}
.carousel-dots button.is-active { background: var(--color-gold-500); width: 16px; border-radius: 4px; }

/* ---------- Scrolling notice ticker ---------- */
.notice-ticker {
  display: flex; align-items: center; gap: 18px;
  background: var(--color-bg-soft-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 0 22px; height: 56px; overflow: hidden;
}
.home-banner-stack { display: flex; flex-direction: column; gap: var(--banner-gap); }
.notice-ticker .ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--color-gold-400);
}
.notice-ticker a.ticker-label:hover { color: var(--color-gold-500); text-decoration: underline; }
.ticker-badge {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5f4d 0%, #ffb020 100%);
  display: inline-flex; align-items: center; justify-content: center;
  animation: ticker-badge-pulse 1.4s ease-in-out infinite;
}
.ticker-badge svg { width: 12px; height: 12px; }
.ticker-badge svg path { fill: #2a0e05; }
@keyframes ticker-badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 95, 77, 0.45); }
  50% { transform: scale(1.22); box-shadow: 0 0 0 5px rgba(255, 95, 77, 0); }
}
.notice-ticker .ticker-viewport { flex: 1; overflow: hidden; }
.notice-ticker .ticker-track { display: flex; width: max-content; animation: ticker-scroll 22s linear infinite; }
.notice-ticker .ticker-track:hover { animation-play-state: paused; }
.notice-ticker .ticker-item {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 0.9rem; color: var(--color-text-muted); padding-right: 56px;
}
.notice-ticker .ticker-item b { color: var(--color-text); font-weight: 600; }
.notice-ticker .ticker-item .date { color: var(--color-text-faint); font-size: 0.8rem; }
.notice-ticker .ticker-item .stars { color: var(--color-gold-500); font-size: 0.8rem; letter-spacing: 1px; }
.notice-ticker .ticker-item a:hover b { color: var(--color-gold-400); text-decoration: underline; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Mid banners (2-up row) ---------- */
.banner-mid-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.banner-mid {
  height: var(--banner-mid-h);
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--color-bg-soft-2) 0%, var(--color-navy-600) 100%);
  border: 1px solid var(--color-border);
  padding: 0 28px;
  display: flex; align-items: center; justify-content: flex-start; gap: 24px;
  transition: border-color .15s ease;
  position: relative; overflow: hidden;
}
.banner-mid:hover { border-color: var(--color-gold-500); }
.banner-mid .eyebrow { margin-bottom: 4px; }
.banner-mid h3 { margin-bottom: 2px; font-size: 1.05rem; }
.banner-mid p { margin: 0; color: var(--color-text-muted); font-size: 0.85rem; }

/* 이미지 업로드형 중간 배너 (권장 이미지 비율 그대로 채워지도록 높이 대신 비율로 계산) */
.banner-mid.has-photo {
  height: auto; aspect-ratio: var(--banner-mid-ratio);
  padding: 0; background: var(--color-navy-800);
}
.banner-mid-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; z-index: 0;
  margin: 0; display: block;
}
.banner-mid.has-photo > div { position: relative; z-index: 2; }
.banner-mid.has-photo.has-caption { padding: 0 28px; }
.banner-mid.has-photo.has-caption::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,17,32,0.82) 0%, rgba(11,17,32,0.3) 65%, rgba(11,17,32,0.05) 100%);
}

.banner-small {
  height: var(--banner-strip-h);
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--color-bg-soft-2) 0%, var(--color-navy-700) 100%);
  border: 1px solid var(--color-border);
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: border-color .15s ease;
}
.banner-small:hover { border-color: var(--color-gold-500); }
.banner-small strong { color: var(--color-gold-400); display: block; font-size: 1.05rem; }
.banner-small span { color: var(--color-text-muted); font-size: 0.9rem; }
.banner-small .btn { flex-shrink: 0; }

/* ---------- Review list (home widget) ---------- */
.review-mini-list { border-top: 1px solid var(--color-border); }
.review-mini-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--color-border);
}
.review-mini-row .stars { color: var(--color-gold-500); font-size: 0.85rem; letter-spacing: 1px; white-space: nowrap; }
.review-mini-row .title { flex: 1; font-weight: 600; }
.review-mini-row .meta { color: var(--color-text-faint); font-size: 0.85rem; white-space: nowrap; }

/* ---------- Image board grid ---------- */
.image-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.image-item { display: block; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-bg-soft-2); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.image-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.image-item .thumb { aspect-ratio: 1/1; background: linear-gradient(135deg, var(--color-navy-600), var(--color-navy-700)); display:flex; align-items:center; justify-content:center; color: var(--color-text-faint); font-weight: 700; }
.image-item .info { padding: 14px 16px; }
.image-item .info h4 { margin: 0 0 4px; font-size: 0.95rem; }
.image-item .info span { font-size: 0.78rem; color: var(--color-text-faint); }

/* ---------- Star rating input ---------- */
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.star-input label { font-size: 1.6rem; color: var(--color-border-strong); cursor: pointer; border-radius: 4px; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--color-gold-500); }
.star-input input:focus-visible ~ label { outline: 2px solid var(--color-gold-500); outline-offset: 2px; }

/* ---------- Form feedback + honeypot (spam guard placeholder) ---------- */
.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}
.form-feedback.is-success { display: block; background: rgba(45,212,191,0.12); color: var(--color-teal-600); border: 1px solid rgba(45,212,191,0.3); }
.form-feedback.is-error { display: block; background: rgba(255,95,77,0.12); color: #ff9a86; border: 1px solid rgba(255,95,77,0.3); }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Keyboard focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-gold-500);
  outline-offset: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .notice-ticker .ticker-track { animation: none; }
  .ticker-badge { animation: none; }
  .banner-carousel .carousel-track { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Forms (request / review submit) ---------- */
.form-card {
  background: var(--color-bg-soft-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 40px; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.95rem;
  background: var(--color-bg-soft); color: var(--color-text);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-text-faint); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field textarea.template-filled { color: var(--color-text); font-family: var(--font-sans); line-height: 1.8; }
.form-note { font-size: 0.82rem; color: var(--color-text-faint); margin-top: 6px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--color-text-muted); }

.editor-tabs { display: flex; gap: 4px; }
.editor-tabs button {
  padding: 8px 18px; border: 1px solid var(--color-border-strong); border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--color-bg-soft); color: var(--color-text-muted);
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.editor-tabs button.is-active { background: var(--color-bg-soft-2); color: var(--color-gold-400); border-color: var(--color-gold-500); }
.editor-pane { display: none; }
.editor-pane.is-active { display: block; }
.editor-pane textarea { border-top-left-radius: 0; margin-top: -1px; }
.editor-pane textarea.html-mode { font-family: "SFMono-Regular", Consolas, "Courier New", monospace; font-size: 0.85rem; color: var(--color-teal-600); }

/* "에디터" 탭 - 실제로 렌더링된 모습을 보면서 편집할 수 있는 영역(contenteditable).
   HTML 탭에 입력한 코드가 이 영역에 그대로 렌더링되어 보이고, 여기서 수정하면
   HTML 탭/실제 등록되는 내용에도 자동으로 반영된다. */
.editor-pane .rich-editor {
  width: 100%; min-height: 130px; padding: 12px 14px;
  border: 1px solid var(--color-border-strong); border-top-left-radius: 0; margin-top: -1px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.7;
  background: var(--color-bg-soft); color: var(--color-text);
  overflow-y: auto; cursor: text;
}
.editor-pane .rich-editor:focus { outline: none; border-color: var(--color-gold-500); }
.editor-pane .rich-editor:empty::before { content: attr(data-placeholder); color: var(--color-text-faint); }
.editor-pane .rich-editor img { max-width: 100%; }
.editor-pane .rich-editor iframe { max-width: 100%; }
.bn-visually-hidden { display: none !important; }

/* "에디터" 탭 상단의 간단한 서식 도구모음 (굵게/정렬/글자 크기/색상) */
.editor-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--color-border-strong); border-top-left-radius: 0; border-bottom: none;
  margin-top: -1px;
  background: var(--color-bg-soft);
}
.editor-toolbar + .rich-editor { border-top-right-radius: 0; }
.editor-tool {
  padding: 6px 12px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  background: var(--color-bg-soft-2); color: var(--color-text-muted);
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; cursor: pointer;
  white-space: nowrap;
}
.editor-tool:hover { color: var(--color-text); border-color: var(--color-gold-500); }
.editor-tool.is-bold { font-weight: 800; }
.editor-tool-select {
  padding: 6px 8px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  background: var(--color-bg-soft-2); color: var(--color-text-muted);
  font-family: var(--font-sans); font-size: 0.78rem; cursor: pointer;
}
.editor-tool-select:hover { color: var(--color-text); border-color: var(--color-gold-500); }
.editor-tool-color {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 3px;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  background: var(--color-bg-soft-2); cursor: pointer;
}
.editor-tool-color:hover { border-color: var(--color-gold-500); }
.editor-tool-color input[type="color"] {
  width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: pointer;
}
.editor-tool-sep { width: 1px; align-self: stretch; background: var(--color-border-strong); margin: 2px 0; }

.form-locked { position: relative; max-width: 640px; margin: 0 auto; }
.form-locked .form-card { opacity: 0.22; filter: grayscale(0.4) blur(1.5px); pointer-events: none; user-select: none; margin: 0; }
.form-lock-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 20px;
  background: rgba(10, 11, 13, 0.72); backdrop-filter: blur(2px);
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
}
.form-lock-overlay .lock-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-bg-soft-2); border: 1px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
}
.form-lock-overlay .lock-icon svg { width: 22px; height: 22px; color: var(--color-gold-400); }
.form-lock-overlay h3 { font-size: 1.05rem; }
.form-lock-overlay p { max-width: 360px; color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- File upload ---------- */
.file-drop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px dashed var(--color-border-strong); border-radius: var(--radius-sm);
  padding: 22px; cursor: pointer; color: var(--color-text-muted); font-size: 0.9rem;
  transition: border-color .15s ease, color .15s ease;
}
.file-drop:hover { border-color: var(--color-gold-500); color: var(--color-gold-400); }
.file-drop svg { width: 20px; height: 20px; fill: currentColor; }
.file-drop input[type="file"] { display: none; }
.file-drop .filename { font-weight: 600; color: var(--color-text); }

/* ---------- Private request list ---------- */
.status-pill { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status-pill.pending { background: rgba(234,166,61,0.14); color: var(--color-gold-400); }
.status-pill.done { background: rgba(45,212,191,0.12); color: var(--color-teal-600); }
.notice-box {
  background: var(--color-bg-soft); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 18px 20px; font-size: 0.9rem; color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ---------- News feature widget (homepage sports news) ---------- */
.news-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.news-feature-main {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.news-feature-main:hover { opacity: 0.88; }
.news-feature-main .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,0.22), rgba(20,22,28,0.6));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 1.1rem;
  font-weight: 600;
  overflow: hidden;
  margin-bottom: 16px;
}
.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-gold);
  color: #1c1305;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.news-feature-main h3 {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.news-byline .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #1c1305;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.news-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news-feature-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.15s ease;
}
.news-feature-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-feature-item:hover { opacity: 0.85; }
.news-feature-item .thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(20,22,28,0.6));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.85rem;
  font-weight: 600;
}
.news-feature-item .info { flex: 1; min-width: 0; }
.news-feature-item h4 {
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feature-item .news-byline { font-size: 0.78rem; }

/* ---------- Write-form related-event subsection ---------- */
.form-subsection {
  margin: 28px 0;
  padding: 20px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft-2);
}
.form-subsection h4 { margin: 0 0 6px; font-size: 1rem; color: var(--color-gold-400); }

/* ---------- Related-event block (post detail) + lightbox popup ---------- */
.event-block {
  background: var(--color-bg-soft-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 8px;
}
.event-block-head { margin-bottom: 16px; }
.event-block-head .tag { margin-bottom: 8px; }
.event-block-head h3 { margin: 0; font-size: 1.15rem; }
.event-thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(212,175,55,0.22), var(--color-navy-700));
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  padding: 0;
  overflow: hidden;
}
.event-thumb:hover { border-color: var(--color-gold-500); }
.event-thumb .event-thumb-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10,11,13,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.event-thumb .event-thumb-zoom svg { width: 16px; height: 16px; }
.event-thumb .event-thumb-label {
  width: 100%;
  background: rgba(10,11,13,0.55);
  color: #fff;
  font-size: 0.82rem;
  padding: 9px 12px;
  text-align: left;
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,7,8,0.86);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-box {
  position: relative;
  max-width: 720px;
  width: 100%;
  background: var(--color-bg-soft-2);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.lightbox-box .lightbox-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-navy-600), var(--color-navy-700));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.lightbox-box h4 { margin: 0 0 4px; font-size: 1.05rem; }
.lightbox-box p { margin: 0; color: var(--color-text-muted); font-size: 0.88rem; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-bg-soft-2);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close svg { width: 16px; height: 16px; }

/* ---------- News list grid (sports-news page listing) ---------- */
.news-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}
.news-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}
.news-list-item:hover { opacity: 0.85; }
.news-list-item .info { flex: 1; min-width: 0; }
.news-list-item h3 {
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-text);
}
.news-list-item .source { font-size: 0.82rem; color: var(--color-text-faint); }
.news-list-item .thumb {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-navy-600), var(--color-navy-700));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- Section background tiers ---------- */
.section-soft-2 { background: var(--color-bg-soft-2); border-top: 1px solid var(--color-border); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .post-grid, .image-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .board-row, .board-row.cols-reviews, .board-row.cols-request { grid-template-columns: 60px 1fr 80px; }
  .board-row .meta:last-child { display: none; }
  /* 리뷰 게시판은 모바일에서 별점 칸을 없애고, 그만큼 제목 영역이 넓어지도록 함 */
  .board-row.cols-reviews .stars { display: none; }
  .board-row.cols-reviews { grid-template-columns: 1fr 80px; }
  .cta-band { flex-direction: column; gap: 20px; text-align: center; }
  .banner-main { padding: 48px 32px; }
  .banner-mid { padding: 28px; }
  .banner-mid-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .carousel-arrow { display: none; }
  .news-feature { grid-template-columns: 1fr; }
  .news-list-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .post-grid { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .review-mini-row .meta { display: none; }

  .banner-main { padding: 16px 20px; gap: 6px; }
  .banner-main .banner-label { font-size: 0.65rem; padding: 3px 9px; }
  .banner-main .banner-main-title { font-size: 0.95rem; line-height: 1.3; -webkit-line-clamp: 2; }
  .banner-main .banner-main-title span { display: none; }

  /* 모바일에서는 메인 배너(캐러셀)가 컨테이너 좌우 여백을 벗어나 화면 끝까지 꽉 차게 표시 (PC 버전은 변경 없음) */
  .banner-carousel {
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
  }
  .banner-carousel .carousel-viewport,
  .banner-carousel .carousel-track .banner-main {
    border-radius: 0;
  }

  .post-card { flex-direction: row; }
  .post-card .thumb { width: 110px; aspect-ratio: 1/1; flex-shrink: 0; font-size: 1rem; }
  .post-card .body { padding: 14px 16px; }
  .post-card .excerpt { display: none; }
  .post-card h3 {
    font-size: 0.98rem; margin-bottom: 6px;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .post-card .tag { margin-bottom: 6px; font-size: 0.7rem; padding: 3px 8px; }
  .post-card .post-meta { margin-top: 8px; padding-top: 8px; font-size: 0.76rem; }

  .board-toolbar { flex-direction: column; align-items: stretch; }
  .board-search { max-width: none; }

  .site-header .container { height: auto; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
  .header-left { gap: 10px; }
  .brand-logo { font-size: 1.05rem; gap: 8px; white-space: nowrap; }
  .brand-logo img,
  .brand-logo .custom-logo { height: 32px; max-width: 125px; }
  .brand-logo .mark { width: 34px; height: 34px; font-size: 0.85rem; border-radius: 8px; }
  .header-cta { gap: 6px; }
  .btn-inquiry { padding: 8px 12px; font-size: 0.8rem; gap: 5px; white-space: nowrap; }
  .btn-inquiry svg { width: 15px; height: 15px; }
  .mobile-menu-btn { width: 40px; height: 40px; }
  .mobile-menu-btn svg { width: 22px; height: 22px; }

  .banner-small { flex-direction: column; align-items: flex-start; height: auto; padding: 20px; gap: 14px; }
  .banner-small .btn-telegram { width: 100%; justify-content: center; }

  .news-feature { padding: 16px; gap: 18px; }
  .news-feature-main h3 { font-size: 1.05rem; }
  .news-feature-item .thumb { width: 58px; height: 58px; font-size: 0.75rem; }
  .news-feature-item h4 { font-size: 0.86rem; }

  .news-list-item { padding: 16px 0; }
  .news-list-item .thumb { width: 64px; height: 64px; }
  .news-list-item h3 { font-size: 0.92rem; }
}
