/* 제트미디어 사운드 노트 — 샘플 블로그 공통 스타일 */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #16171a;
  --ink-2: #4a4d55;
  --ink-3: #8a8e98;
  --line: #e3e1dc;
  --accent: #3f9a2a;      /* 포인트 색 (제트미디어 로고 초록): 바꾸려면 이 값만 수정 */
  --accent-soft: #eef7e9;
  --accent-bright: #6cc24a;
  --dark: #121316;
  --radius: 14px;
  --max: 1120px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--dark); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 900;
  border-bottom: 3px solid var(--accent-bright);
}
.logo small { font-weight: 500; color: var(--ink-3); font-size: 13px; }
.nav { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active { font-weight: 700; }

/* ---------- 히어로 ---------- */
.hero { background: var(--dark); color: #fff; padding: 72px 0 64px; }
.hero .eyebrow { color: var(--accent-bright); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.25; letter-spacing: -0.03em; margin: 14px 0 18px; }
.hero p { color: #b9bcc4; font-size: 17px; max-width: 620px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-tags a {
  border: 1px solid #34363c; border-radius: 99px; padding: 7px 15px; font-size: 14px; color: #d6d8dd;
}
.hero-tags a:hover { border-color: var(--accent-bright); color: #fff; }

/* ---------- 섹션 ---------- */
section.block { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.section-head h2 { font-size: 24px; letter-spacing: -0.02em; }
.section-head span { color: var(--ink-3); font-size: 14px; }

/* ---------- 카드 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.07); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 18px; line-height: 1.45; letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card .meta { margin-top: auto; padding-top: 10px; color: var(--ink-3); font-size: 13px; }
.badge {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 6px; padding: 3px 9px;
}
.featured { grid-column: span 2; flex-direction: row; }
.featured .thumb { flex: 1.2; aspect-ratio: auto; min-height: 300px; }
.featured .card-body { flex: 1; padding: 30px; }
.featured h3 { font-size: 24px; }

/* 사진 자리 (실제 사진으로 교체) */
.thumb {
  aspect-ratio: 16 / 10; background: #2a2c31; color: #8d919b; position: relative;
  display: grid; place-items: center; font-size: 13px; text-align: center;
}
.thumb svg { width: 46%; max-width: 180px; opacity: .9; }
.thumb .ph-label {
  position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; color: #9ea2ab;
  background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 4px;
}
.thumb.warm { background: #3a2a22; }
.thumb.cool { background: #1f2a33; }

/* ---------- 카테고리 ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
}
.cat strong { display: block; font-size: 16px; }
.cat span { color: var(--ink-3); font-size: 13.5px; }
.cat:hover { border-color: var(--accent); }

/* ---------- 문의 배너 ---------- */
.cta {
  background: var(--accent); color: #fff; border-radius: var(--radius); padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta h2 { font-size: 24px; letter-spacing: -0.02em; }
.cta p { opacity: .9; }
.btn {
  display: inline-block; background: #fff; color: var(--accent); font-weight: 700;
  padding: 12px 22px; border-radius: 10px; white-space: nowrap;
}
.btn.dark { background: var(--dark); color: #fff; }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-3); font-size: 13.5px; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.site-footer p { margin: 2px 0; }
.footer-brand b { color: var(--ink); font-size: 15px; }
.footer-info { text-align: right; }
.footer-info a:hover { color: var(--accent); }
.footer-info .copy { margin-top: 10px; }

/* ---------- 사업 분야 ---------- */
.biz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.biz-item { background: var(--dark); color: #fff; border-radius: 12px; padding: 22px 20px; }
.biz-item b { color: var(--accent-bright); font-size: 13px; }
.biz-item strong { display: block; font-size: 18px; margin: 6px 0 4px; }
.biz-item span { color: #a9adb6; font-size: 13.5px; }

.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }

/* =========================================================
   글 상세 페이지
   ========================================================= */
.post-hero { background: var(--dark); color: #fff; padding: 56px 0 48px; }
.post-hero .wrap { max-width: 820px; }
.crumbs { font-size: 13.5px; color: #8f939c; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }
.post-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; letter-spacing: -0.03em; }
.post-hero .summary { color: #c3c6cd; font-size: 17px; margin-top: 14px; }
.post-meta { display: flex; gap: 16px; color: #8f939c; font-size: 14px; margin-top: 22px; flex-wrap: wrap; }

.post-layout { max-width: 1040px; margin: 0 auto; padding: 40px 24px 0; display: grid; grid-template-columns: 1fr 240px; gap: 48px; }
article { min-width: 0; }
article h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 14px; scroll-margin-top: 84px; }
article h3 { font-size: 18px; margin: 28px 0 8px; }
article p { font-size: 16.5px; color: #2b2d33; margin-bottom: 16px; }
article ul { margin: 0 0 18px 22px; }
article li { font-size: 16.5px; margin-bottom: 6px; }
article .lead-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
article .lead-photo .thumb { aspect-ratio: 16 / 9; }
.caption { font-size: 13.5px; color: var(--ink-3); margin-bottom: 26px; }

/* 한 줄 요약 박스 */
.tldr {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 20px 22px; margin: 8px 0 8px;
}
.tldr strong { color: var(--accent); font-size: 13px; letter-spacing: .06em; display: block; margin-bottom: 4px; }
.tldr p { margin: 0; font-size: 17px; font-weight: 600; }

/* 스펙 표 */
.spec { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin: 6px 0 10px; font-size: 15px; }
.spec th, .spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 34%; color: var(--ink-2); font-weight: 600; background: #faf9f7; }
.spec-note { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }

/* 장단점 */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 20px; }
.proscons > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.proscons h4 { font-size: 15px; margin-bottom: 8px; }
.proscons .pro h4 { color: #2b8a3e; }
.proscons .con h4 { color: #c92a2a; }
.proscons ul { margin: 0 0 0 18px; }
.proscons li { font-size: 15px; }

/* 추천 대상 */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 20px; }
.fit div { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; font-size: 15px; }
.fit b { display: block; margin-bottom: 4px; }

/* 수치 하이라이트 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-size: 26px; letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: var(--ink-3); }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; font-size: 16px; }
details p { margin: 10px 0 0; font-size: 15.5px; }

/* 편집 안내 메모 (실제 발행 전 삭제) */
.editor-note {
  border: 1.5px dashed #f08c00; background: #fff9db; color: #7a5200; border-radius: 10px;
  padding: 12px 16px; font-size: 14px; margin: 14px 0 20px;
}

/* 사이드바 목차 */
aside.toc { position: sticky; top: 88px; align-self: start; font-size: 14px; }
aside.toc h4 { font-size: 13px; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 10px; }
aside.toc a { display: block; padding: 6px 0 6px 12px; color: var(--ink-2); border-left: 2px solid var(--line); }
aside.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
aside.toc .side-cta { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
aside.toc .side-cta p { color: var(--ink-2); margin: 6px 0 12px; font-size: 13.5px; }
aside.toc .side-cta .btn { font-size: 14px; padding: 9px 14px; }

.related { max-width: 1040px; margin: 56px auto 0; padding: 0 24px; }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .featured { grid-column: span 2; flex-direction: column; }
  .featured .thumb { min-height: 220px; }
  .cats { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  aside.toc { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .biz { grid-template-columns: 1fr 1fr; }
  .footer-info { text-align: left; }
}
@media (max-width: 620px) {
  .nav { display: none; }
  .grid { grid-template-columns: 1fr; }
  .featured { grid-column: span 1; }
  .cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .proscons, .fit { grid-template-columns: 1fr; }
}

/* 실제 사진·영상 썸네일 */
.thumb.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .play {
  position: relative; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.6);
  color: #fff; display: grid; place-items: center; font-size: 20px; padding-left: 4px;
}
.featured .thumb.photo { min-height: 300px; }

/* 유튜브 영상 */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 8px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 흰 배경 제품 사진 */
.thumb.product { background: #fff; }
.thumb.product img { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.lead-photo .thumb.product { aspect-ratio: 16 / 9; }

/* 참고 자료 */
article ul.refs li { font-size: 14px; color: var(--ink-2); }
article ul.refs a { text-decoration: underline; text-underline-offset: 3px; }
article p a, article li a { color: var(--accent); }
