/* ===========================================================
   CONVUM KOREA BLOG - 회사 블로그 스타일
   기존 convum-korea-home / convum-korea 와 동일한 브랜드 시스템
   레퍼런스: HubSpot Blog (blog.hubspot.com)
   =========================================================== */

:root {
  /* ===== 브랜드 컬러 (홈페이지/쇼핑몰과 동일) ===== */
  --color-primary: #e73828;
  --color-primary-dark: #c52a1d;
  --color-primary-soft: #fdecea;

  /* 블루 톤 (홈페이지 히어로와 동일) */
  --hero-blue-deep:  #082553;
  --hero-blue:       #0d3d83;
  --hero-blue-mid:   #1a5ab5;
  --hero-blue-light: #b8d0ec;

  /* 텍스트 / 보더 */
  --color-text:       #1f2937;
  --color-text-light: #5a6573;
  --color-text-muted: #8e98a4;
  --color-border:     #e2e6ea;
  --color-border-soft:#eef0f3;

  /* HubSpot 스타일 - 따뜻한 베이지 배경 */
  --bg-cream:    #f8f5ee;
  --bg-white:    #ffffff;
  --bg-soft:     #f5f7fa;

  /* 카테고리 컬러 (홈페이지의 카테고리 하이라이트와 동일) */
  --cat-tech:      #1a5ab5;   /* 진공 기술 - 블루 */
  --cat-case:      #34c1b3;   /* 적용 사례 - 틸 */
  --cat-product:   #f08a1c;   /* 제품 가이드 - 오렌지 */
  --cat-industry:  #4cb04a;   /* 산업 동향 - 그린 */
  --cat-news:      #e73828;   /* 회사 소식 - 컨범 레드 */

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

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

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Noto Sans KR', 'Malgun Gothic', -apple-system, BlinkMacSystemFont,
    'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  min-width: 0;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

:where(a, button, input):focus-visible {
  outline: 3px solid rgba(26, 90, 181, 0.35);
  outline-offset: 3px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* 영문 / 디스플레이 폰트 */
.font-display { font-family: 'Inter', 'Noto Sans KR', sans-serif; letter-spacing: -0.02em; }

/* ===========================================================
   1. 상단 빨간 브랜드 라인 (쇼핑몰과 동일)
   =========================================================== */
.brand-line {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* ===========================================================
   2. 상단 안내바 (쇼핑몰과 동일)
   =========================================================== */
.top-bar {
  background: #f7f8fa;
  border-bottom: 1px solid var(--color-border);
  font-size: 12.5px;
  color: var(--color-text-light);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.top-bar-left { display: flex; align-items: center; gap: 10px; }
.top-bar-left .divider { color: var(--color-border); }
.top-bar a:hover { color: var(--color-primary); }

/* ===========================================================
   3. 메인 헤더 (로고 + 검색 + 아이콘)
   =========================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-img {
  height: 38px;
  width: auto;
}
.logo-img-red {
  height: 36px;
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--color-text);
  align-self: flex-end;
  padding-bottom: 4px;
}
.logo-blog-tag {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary);
  border-left: 1px solid var(--color-border);
  padding-left: 12px;
  margin-left: 4px;
  align-self: center;
}

.header-search {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.header-search input {
  width: 100%;
  padding: 11px 44px 11px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  background: var(--bg-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-width: 0;
  appearance: none;
}
.header-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-text-light);
}
.header-icons a:hover { background: var(--bg-soft); color: var(--color-primary); }

/* ===========================================================
   4. 메인 네비게이션 (블로그 카테고리)
   =========================================================== */
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--color-border);
}
.main-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.main-nav-inner::-webkit-scrollbar { display: none; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s ease;
}
.main-nav a:hover {
  color: var(--color-primary);
}
.main-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 999px;
  font-size: 13px !important;
  border: none !important;
  margin-bottom: 0 !important;
}
.nav-cta:hover { background: var(--color-primary-dark); }

/* ===========================================================
   5. 히어로 - 추천 글 (HubSpot 스타일)
   =========================================================== */
.blog-hero {
  background: var(--bg-cream);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--color-border);
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.blog-hero-grid > * { min-width: 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}
.blog-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-text);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.blog-hero h1 a:hover { color: var(--color-primary); }
.blog-hero .hero-excerpt {
  font-size: 17px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-light);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--color-text); font-weight: 600; }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--color-text-muted); }
.blog-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--hero-blue);
}
.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================================================
   6. 섹션 공통
   =========================================================== */
.section {
  padding: 64px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-title .section-accent {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}
.section-link::after { content: '→'; transition: transform 0.15s ease; }
.section-link:hover::after { transform: translateX(4px); }

/* ===========================================================
   7. 추천 글 4개 그리드 (HubSpot Featured Posts 스타일)
   =========================================================== */
.featured-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===========================================================
   8. 포스트 카드 (HubSpot 스타일)
   =========================================================== */
.post-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--color-border-soft);
  min-width: 0;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post-card-image {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-image img {
  transform: scale(1.04);
}
.post-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.post-card-cat {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  flex: 1;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.post-card h3 a:hover { color: var(--color-primary); }
.post-card-meta {
  font-size: 12.5px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--color-text-muted); }

/* ===========================================================
   9. 카테고리 섹션 (HubSpot의 Marketing/Sales/Service 스타일)
   =========================================================== */
.category-section {
  border-top: 1px solid var(--color-border);
}
.category-section + .category-section { border-top: 1px solid var(--color-border); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===========================================================
   10. 뉴스레터 가입 (HubSpot 스타일)
   =========================================================== */
.newsletter {
  background: linear-gradient(135deg, var(--hero-blue-deep) 0%, var(--hero-blue) 60%, var(--hero-blue-mid) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.08), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(231, 56, 40, 0.18), transparent 55%);
  pointer-events: none;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.newsletter h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.newsletter h2 .highlight { color: var(--color-primary); }
.newsletter p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14.5px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  min-width: 0;
}
.newsletter-form input:focus { outline: none; background: #fff; }
.header-search input:focus-visible,
.newsletter-form input:focus-visible {
  outline: 3px solid rgba(26, 90, 181, 0.35);
  outline-offset: 2px;
}
.newsletter-form button {
  padding: 14px 28px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.newsletter-form button:hover { background: var(--color-primary-dark); }

/* ===========================================================
   11. 사이드바 (포스트 페이지)
   =========================================================== */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 80px;
}
.post-layout > * { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sidebar-card h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
.sidebar-card ul { display: flex; flex-direction: column; gap: 10px; }
.sidebar-card a {
  font-size: 14px;
  color: var(--color-text);
  display: block;
  line-height: 1.5;
}
.sidebar-card a:hover { color: var(--color-primary); }

/* 관련 글 - 각 글을 구분되는 카드로 표시 */
#related-posts { gap: 12px; }
#related-posts li { list-style: none; }
.related-item {
  display: block;
  position: relative;
  padding: 12px 14px 12px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--accent, var(--color-primary));
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 37, 83, 0.1);
  border-color: var(--accent, var(--color-primary));
}
.related-item .related-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text);
}
.related-item:hover .related-title { color: var(--accent, var(--color-primary)); }
.related-item .related-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--color-text-muted);
}
.related-item .related-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--accent, var(--color-primary));
}
.related-item .related-cat::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--color-primary));
}

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tag {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--color-text-light);
}
.sidebar-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ===========================================================
   12. 단일 포스트 본문
   =========================================================== */
.post-header {
  padding: 48px 0 36px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--color-border);
}
.post-cat-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.post-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: none;
  /* 한글 단어가 줄 중간에서 끊기지 않도록(예: 이젝터 → 이/젝터 방지) */
  word-break: keep-all;
  overflow-wrap: break-word;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--color-text-light);
}
.post-meta .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hero-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.post-cover {
  max-width: 1080px;
  margin: -24px auto 0;
  padding: 0 24px;
}
.post-cover img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  /* 카탈로그 이미지가 잘리지 않도록 자연 비율로 전체 표시 */
  object-fit: contain;
}
.post-content {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--color-text);
  min-width: 0;
  overflow-wrap: break-word;
}
.post-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.post-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.post-content p { margin-bottom: 18px; color: var(--color-text); }
.post-content ul, .post-content ol {
  margin: 0 0 18px 22px;
  list-style: disc;
}
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  color: var(--color-text-light);
  font-style: italic;
  background: var(--bg-cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-content code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.post-content pre {
  max-width: 100%;
  margin: 24px 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  -webkit-overflow-scrolling: touch;
}
.post-content pre code {
  padding: 0;
  white-space: pre;
}
.post-content .table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.post-content .table-scroll:focus-visible,
.post-content figure.spec-figure.scrollable-diagram:focus-visible {
  outline: 3px solid rgba(26, 90, 181, 0.35);
  outline-offset: 2px;
}
.post-content .table-scroll table {
  width: max-content !important;
  min-width: 100%;
  margin: 0 !important;
}
.post-content iframe,
.post-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
.post-content svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.post-content img {
  border-radius: var(--radius-md);
  margin: 28px 0;
}
.post-content a { color: var(--color-primary); text-decoration: underline; }

/* 리치 콘텐츠 컴포넌트 (SMC 스타일) */
.post-content .q-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fb 100%);
  border: 1px solid #d3e4f7;
  border-radius: 14px;
  padding: 22px 26px;
  margin: 28px 0;
  position: relative;
}
.post-content .q-box .q-tag {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.post-content .q-box .q-question {
  font-weight: 800;
  font-size: 18px;
  color: #082553;
  margin-bottom: 8px;
  line-height: 1.45;
}
.post-content .q-box .q-answer {
  color: #1a3463;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.post-content .feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 14px;
}
.post-content .feature-row img { margin: 0; border-radius: 10px; }
.post-content .feature-row h3 { margin-top: 0; color: var(--color-primary); }
.post-content .feature-row ul { margin-bottom: 0; }
.post-content .img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.post-content .img-grid figure { margin: 0; }
.post-content .img-grid img { margin: 0; border-radius: 10px; box-shadow: var(--shadow-sm); }
.post-content .img-grid figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 8px;
  font-weight: 600;
}
.post-content .callout {
  background: linear-gradient(135deg, #fff8ee 0%, #fff1d9 100%);
  border-left: 5px solid var(--cat-product);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 16px;
  color: #5a3a0e;
}
.post-content .callout strong { color: #c66800; }
.post-content .recommend-card {
  background: linear-gradient(135deg, #082553 0%, #1a5ab5 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 30px;
  margin: 36px 0;
  text-align: center;
}
.post-content .recommend-card h3 {
  color: #fff;
  margin-top: 0;
  font-size: 22px;
}
.post-content .recommend-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.65;
}
.post-content .recommend-card p strong { color: #fff; }
.post-content .recommend-card .phone {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  padding: 12px 28px;
  border-radius: 999px;
  margin-top: 14px;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.post-content .recommend-card .phone:hover { background: var(--color-primary-dark); }
.post-content figure.spec-figure {
  margin: 28px 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.post-content figure.spec-figure img { margin: 0; }
.post-content figure.spec-figure figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 10px;
  font-weight: 600;
}
/* ===========================================================
   13. 푸터 (홈페이지/쇼핑몰과 동일한 톤)
   =========================================================== */
.site-footer {
  background: #1a2030;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.site-footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-brand .logo-img {
  height: 32px;
  filter: none;
  opacity: 0.95;
}
.footer-brand p {
  margin-top: 14px;
  line-height: 1.7;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===========================================================
   14. 반응형
   =========================================================== */
@media (max-width: 1024px) {
  .blog-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .featured-posts { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .container,
  .container-narrow {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 13px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  }
  .logo { gap: 5px; min-width: 0; }
  .logo-img-red { height: 28px; }
  .logo-sub {
    display: none;
  }
  .logo-blog-tag {
    font-size: 10px;
    letter-spacing: 1.2px;
    padding-left: 8px;
    margin-left: 2px;
  }
  .header-icons { gap: 2px; justify-self: end; }
  .header-icons a { width: 44px; height: 44px; font-size: 17px; }
  .header-search {
    grid-column: 1 / -1;
    order: 3;
    max-width: 100%;
    margin-top: 1px;
  }
  .header-search input {
    min-height: 48px;
    padding: 10px 52px 10px 16px;
    font-size: 16px;
  }
  .header-search button { right: 2px; width: 44px; height: 44px; }
  .top-bar { display: none; }

  .main-nav-inner {
    justify-content: flex-start;
    gap: 2px;
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
    overflow-x: auto;
    scroll-padding-inline: 12px;
  }
  .main-nav ul { flex: 0 0 auto; flex-wrap: nowrap; min-width: max-content; gap: 0; }
  .main-nav a {
    min-height: 46px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .nav-cta {
    flex: 0 0 auto;
    margin: 0 4px 0 8px !important;
    padding: 8px 14px !important;
  }

  .featured-posts, .category-grid { grid-template-columns: 1fr; }
  .featured-posts, .category-grid { gap: 18px; }

  .blog-hero { padding: 24px 0 38px; }
  .blog-hero-grid { gap: 24px; }
  .blog-hero-image {
    order: -1;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }
  .hero-eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: 1.5px; }
  .hero-eyebrow::before { width: 18px; }
  .blog-hero h1 {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.28;
    margin-bottom: 14px;
  }
  .blog-hero .hero-excerpt { font-size: 15.5px; line-height: 1.7; margin-bottom: 18px; }
  .hero-meta { gap: 8px; font-size: 12.5px; }

  .section { padding: 40px 0; }
  .section-featured { padding-top: 40px; }
  .section-header { align-items: center; margin-bottom: 22px; gap: 10px; }
  .section-title { font-size: 23px; }
  .section-title .section-accent { width: 7px; height: 7px; margin-right: 7px; }
  .section-link { min-height: 44px; font-size: 13px; }
  .post-card-body { padding: 16px 17px 18px; }
  .post-card h3 { font-size: 16.5px; }
  .post-card-meta { font-size: 12px; gap: 7px; }
  .post-card:hover { transform: none; }

  .newsletter { padding: 42px 0 46px; }
  .newsletter-inner { gap: 24px; }
  .newsletter h2 { font-size: 25px; line-height: 1.35; margin-bottom: 11px; word-break: keep-all; }
  .newsletter p { font-size: 14px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .post-header { padding: 34px 0 30px; }
  .post-cat-badge { margin-bottom: 13px; }
  .post-title { font-size: clamp(25px, 7.5vw, 32px); line-height: 1.32; margin-bottom: 16px; }
  .post-meta { gap: 10px; font-size: 13px; }
  .post-meta .author-avatar { width: 34px; height: 34px; flex: 0 0 auto; }
  .post-cover {
    margin-top: -16px;
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }
  .post-cover img { border-radius: 12px; }
  .post-layout { gap: 34px; padding-top: 34px; padding-bottom: 52px; }
  .post-content { font-size: 16px; line-height: 1.8; word-break: keep-all; }
  .post-content h2 { font-size: 23px; line-height: 1.4; margin: 34px 0 14px; }
  .post-content h3 { font-size: 19px; line-height: 1.45; margin: 28px 0 11px; }
  .post-content p { margin-bottom: 16px; }
  .post-content ul,
  .post-content ol { margin: 0 0 16px 19px; }
  .post-content blockquote { padding-left: 15px; margin: 20px 0; }
  .post-content img { margin: 22px 0; border-radius: 8px; }
  .post-content .q-box { padding: 18px; margin: 22px 0; border-radius: 12px; }
  .post-content .q-box .q-question { font-size: 17px; }
  .post-content .q-box .q-answer { font-size: 15.5px; }
  .post-content .feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
    padding: 17px;
    border-radius: 12px;
  }
  .post-content .img-grid { grid-template-columns: 1fr; gap: 14px; margin: 22px 0; }
  .post-content .callout { padding: 16px 17px; margin: 20px 0; font-size: 15.5px; }
  .post-content .recommend-card { padding: 23px 18px; margin: 28px 0; border-radius: 14px; }
  .post-content .recommend-card h3 { font-size: 20px; }
  .post-content .recommend-card p { font-size: 15.5px; }
  .post-content .recommend-card .phone {
    width: 100%;
    padding: 12px 16px;
    font-size: clamp(18px, 6vw, 21px);
  }
  .post-content .table-scroll { margin: 20px 0; }
  .post-content .table-scroll table { min-width: 560px; font-size: 13px !important; }
  .post-content figure.spec-figure { margin: 22px 0; padding: 10px; }
  .post-content figure.spec-figure.scrollable-diagram svg { width: 620px; max-width: none; }
  .post-content figure.spec-figure figcaption { font-size: 12.5px; text-align: left; }
  .sidebar { gap: 18px; }
  .sidebar-card { padding: 20px; }
  .sidebar-card > ul:not(#related-posts) a { display: flex; align-items: center; min-height: 44px; }

  .site-footer { padding: 44px 0 max(24px, env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
  .site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 360px) {
  .header-inner {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }
  .logo-img-red { height: 26px; }
  .section-header { align-items: flex-start; flex-direction: column; }
  .blog-hero h1 { font-size: 26px; }
  .newsletter h2 { font-size: 23px; }
}

/* ===========================================================
   플로팅 퀵메뉴 (오른쪽 고정 사이드바)
   =========================================================== */
.quick-menu {
  position: fixed;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  z-index: 900;
  width: 58px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(8, 37, 83, 0.13);
  overflow: hidden;
  will-change: transform;
}
.quick-menu-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  background: linear-gradient(135deg, var(--hero-blue), var(--hero-blue-mid));
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  text-align: center;
}
.quick-menu-head .qm-head-ico { font-size: 14px; line-height: 1; }
.quick-menu-list { display: flex; flex-direction: column; }
.quick-menu-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 3px;
  border-top: 1px solid var(--color-border-soft);
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease;
}
.quick-menu-list a:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.quick-menu-list .qm-ico {
  font-size: 15px;
  line-height: 1;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-menu-list .qm-label { font-size: 9.5px; font-weight: 600; }
.quick-menu-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 7px 3px;
  border: none;
  border-top: 1px solid var(--color-border);
  background: var(--bg-cream, #f6f3ee);
  color: var(--hero-blue);
  cursor: pointer;
  font-weight: 800;
}
.quick-menu-top:hover { background: var(--color-primary); color: #fff; }
.quick-menu-top .qm-top-arrow { font-size: 10px; line-height: 1; }
.quick-menu-top .qm-top-text { font-size: 8.5px; letter-spacing: 0.5px; }

/* Customer-question articles: scoped so legacy article layouts remain intact. */
.post-content .readable-article { font-size:18px; line-height:1.9; word-break:keep-all; overflow-wrap:anywhere; }
.post-content .readable-article h2 { margin:48px 0 18px; line-height:1.5; font-size:27px; }
.post-content .readable-article h3 { line-height:1.5; }
.post-content .readable-visual { margin:28px 0; padding:22px; background:#f3f6f7; border-radius:10px; }
.post-content .readable-visual img.readable-product { display:block; width:auto; height:auto; max-width:min(100%,240px); max-height:260px; margin:12px auto; border-radius:0; object-fit:contain; }
.post-content .readable-visual svg { width:100%; max-width:440px; height:auto; display:block; margin:auto; }
.post-content .readable-visual figcaption { font-size:15px; line-height:1.8; color:#46545d; margin-top:16px; }
.post-content .readable-flow { padding:0; margin:0; list-style:none; counter-reset:readable; }
.post-content .readable-flow li { position:relative; padding:20px 6px 20px 42px; margin:0; border-bottom:1px solid #d1dbdf; }
.post-content .readable-flow li:last-child { border-bottom:0; }
.post-content .readable-flow li::before { counter-increment:readable; content:counter(readable,decimal-leading-zero); position:absolute; left:0; color:#b71539; font-size:16px; font-weight:700; }
.post-content .readable-flow strong,.post-content .readable-flow span { display:block; }
.post-content .readable-flow strong { font-size:20px; }
.post-content .readable-flow span { font-size:17px; margin-top:5px; }
.post-content .readable-safety { padding:18px 20px; background:#f7f4ef; font-size:15px; }
.post-content .readable-article details { margin:30px 0; border-block:1px solid #d1dbdf; padding:15px 0; font-size:16px; }
.post-content .readable-article summary { cursor:pointer; min-height:44px; align-content:center; font-weight:700; }
.post-content .readable-related { display:grid; gap:12px; padding:20px 0; }
.post-content .readable-contact { padding:30px; margin-top:42px; border-top:4px solid #b71539; background:#f3f6f7; }
.post-content .readable-contact h2 { margin:18px 0; font-size:26px; }
.post-content .readable-contact img.readable-logo { width:166px; height:auto; border-radius:0; margin:0 0 20px; display:block; }
.post-content a.readable-phone { display:inline-block; font-size:34px; font-weight:800; margin:10px 0 20px; text-decoration:none; color:#23343d; }
.post-content .readable-contact-links { display:flex; flex-wrap:wrap; gap:10px; }
.post-content .readable-contact-links a { display:flex; align-items:center; min-height:48px; padding:10px 14px; background:white; border:1px solid #aab7be; border-radius:5px; text-decoration:none; font-size:15px; color:#23343d; max-width:100%; }
.post-content .readable-article .motion-toggle { min-height:44px; padding:8px 14px; background:white; color:#23343d; border:1px solid #89939b; border-radius:5px; font:inherit; font-size:15px; cursor:pointer; }
.post-content .readable-article .motion-toggle:disabled { cursor:default; color:#626970; }
.post-content .readable-article .motion-track { animation:readable-flow 1.8s linear infinite; animation-play-state:paused; }
.post-content .readable-article g.motion-track { animation-name:readable-bellows; animation-timing-function:ease-in-out; }
.post-content .readable-article .air { fill:none; stroke:#17678a; stroke-width:5; stroke-dasharray:6 13; animation:readable-flow 1.7s linear infinite; animation-play-state:paused; }
.post-content .readable-article .playing .motion-track,.post-content .readable-article .playing .air { animation-play-state:running; }
.post-content .readable-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.post-content .readable-photos img { width:100%; height:auto; display:block; }
.post-content .readable-article .motion-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.post-content .readable-article .label,.post-content .readable-article .small { font-size:14px; }
.post-content .readable-article .answer { border-block:1px solid #aab7be; padding:20px 0; font-size:23px; }
.post-content .readable-article .answer small { display:block; font-size:15px; }
.post-content .readable-article :is(a,button,summary):focus-visible { outline:3px solid #17678a; outline-offset:4px; }
@keyframes readable-flow { to { stroke-dashoffset:-52; } }
@keyframes readable-bellows { 0%,100% { transform:scaleY(1); } 50% { transform:scaleY(.88); } }
@media(prefers-reduced-motion:reduce) { .post-content .readable-article .motion-track,.post-content .readable-article .air { animation:none!important; } }
@media(max-width:500px) {
  .post-content .readable-article { font-size:17px; }
  .post-content .readable-visual { padding:16px 8px; }
  .post-content .readable-flow { padding:0 10px; }
  .post-content .readable-contact { padding:22px 16px; }
  .post-content .readable-contact-links a { width:100%; }
  .post-content .readable-photos { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .post-content .readable-photos>div:last-child { grid-column:1/-1; width:60%; justify-self:center; }
}


@media (max-width: 1280px) {
  .quick-menu { right: 10px; }
}
@media (max-width: 1024px) {
  .quick-menu { display: none; }
}
