@charset "UTF-8";

/* ============================================================
   ORANGE HELP CENTER
   Brand: #FF7D00 | BG: #F9FAFB | Card: #FFFFFF
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --brand:        #FF7D00;
  --brand-dark:   #D96A00;
  --brand-light:  #FF9A3C;
  --brand-pale:   #FFF4E8;
  --brand-pale2:  #FFE8CC;
  --white:        #FFFFFF;
  --text-primary: #111827;
  --text-secondary:#4B5563;
  --text-muted:   #9CA3AF;
  --bg-page:      #F9FAFB;
  --bg-card:      #FFFFFF;
  --border:       #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-xs:    0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:    0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:    0 20px 25px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.04);
  --shadow-orange:0 4px 14px rgba(255,125,0,.35);
  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-full:  9999px;
  --transition:   all .2s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .15s ease;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) { body > main { min-height: 65vh; } }

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; font-weight: 600; }

a { color: var(--brand); text-decoration: none; transition: var(--transition-fast); }
a:hover { opacity: .8; }

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1200px) { .container { padding: 0 48px; } }

.container-divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

.error-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   FORMS
   ============================================================ */
input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
}

input[type="text"], input[type="email"],
input[type="search"], input[type="password"] {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

input[type="text"]:focus, input[type="email"]:focus,
input[type="search"]:focus, input[type="password"]:focus, input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,125,0,.15);
  outline: none;
}

input[disabled] { background: var(--border-light); cursor: not-allowed; }

select {
  -webkit-appearance: none;
  background: url(/hc/theming_assets/01KKXWQC3KJHCYSME37EMMWADQ) no-repeat var(--white);
  background-position: right 12px center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px;
  outline: none;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}
select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,125,0,.15); }
select::-ms-expand { display: none; }

textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 12px 14px;
  transition: var(--transition);
}
textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,125,0,.15); }

/* ============================================================
   BUTTONS
   ============================================================ */
.button, [role="button"] {
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-xs);
  color: var(--brand);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 20px;
  text-align: center;
  transition: var(--transition);
  user-select: none;
  white-space: nowrap;
  width: 100%;
  background: transparent;
}
@media (min-width: 768px) { .button, [role="button"] { width: auto; } }

.button:hover, .button:active, .button:focus,
.button[aria-selected="true"],
[role="button"]:hover, [role="button"]:active,
[role="button"]:focus, [role="button"][aria-selected="true"] {
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  opacity: 1;
  box-shadow: var(--shadow-orange);
}

.button[data-disabled], [role="button"][data-disabled] { cursor: default; }

.button-large, input[type="submit"] {
  background: var(--brand);
  border: 0;
  border-radius: var(--radius-xs);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  min-width: 140px;
  padding: 14px 28px;
  transition: var(--transition);
  width: 100%;
  box-shadow: var(--shadow-orange);
}
@media (min-width: 768px) { .button-large, input[type="submit"] { width: auto; } }

.button-large:hover, .button-large:active, .button-large:focus,
input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"]:focus {
  background: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(255,125,0,.45);
  transform: translateY(-1px);
  color: var(--white);
  text-decoration: none;
  opacity: 1;
}

.button-large[disabled], input[type="submit"][disabled] {
  background: var(--border);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  color: var(--text-muted);
}

.button-secondary {
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  background: var(--white);
}
.button-secondary:hover, .button-secondary:focus {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-pale);
  box-shadow: none;
  opacity: 1;
}

/* ============================================================
   TABLES
   ============================================================ */
.table { width: 100%; border-collapse: collapse; table-layout: fixed; }
@media (min-width: 768px) { .table { table-layout: auto; } }

.table th, .table th a {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-align: left;
}
[dir="rtl"] .table th, [dir="rtl"] .table th a { text-align: right; }

.table tr { border-bottom: 1px solid var(--border-light); display: block; padding: 16px 0; }
@media (min-width: 768px) {
  .table tr { display: table-row; padding: 0; }
  .table tr:hover { background: var(--brand-pale); }
}

.table td { display: block; padding: 3px 0; }
@media (min-width: 768px) { .table td { display: table-cell; } }
@media (min-width: 1024px) { .table td, .table th { padding: 14px 20px; } }
@media (min-width: 768px) {
  .table td:first-child, .table th:first-child { padding-left: 0; }
}

/* ============================================================
   ★★★ LANGUAGE BAR (최상단) ★★★
   ============================================================ */
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  font-family: inherit;
  line-height: 1;
}
.lang-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.lang-menu { min-width: 140px; }
.lang-menu a { color: var(--text-primary) !important; font-size: 13px; }

/* ============================================================
   ★★★ HEADER — WHITE BG, ORANGE ACCENTS ★★★
   ============================================================ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
@media (min-width: 1200px) { .header-inner { padding: 0 48px; } }

/* Orange left accent bar */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
}

.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { max-height: 36px; width: auto; object-fit: contain; }
.logo a:hover { opacity: .85; }

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

/* ── Desktop nav ── */
.user-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-nav[aria-expanded="false"] { display: none; }
@media (min-width: 768px) {
  .user-nav, .user-nav[aria-expanded="false"] { display: flex; }
}

.user-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  white-space: nowrap;
}
.user-nav a:hover {
  color: var(--brand);
  background: var(--brand-pale);
  text-decoration: none;
  opacity: 1;
}

/* 문의하기 CTA */
.user-nav a.submit-a-request,
.nav-cta {
  background: var(--brand) !important;
  color: var(--white) !important;
  border-radius: var(--radius-xs) !important;
  padding: 9px 18px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 1px 4px rgba(255,125,0,.35) !important;
  margin-left: 8px !important;
  border: 0 !important;
}

/* 원격지원 버튼 */
.remote-support-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: var(--brand) !important;
  color: var(--white) !important;
  border-radius: var(--radius-xs) !important;
  padding: 9px 18px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 1px 4px rgba(255,125,0,.35) !important;
  margin-left: 8px !important;
  border: 0 !important;
  text-decoration: none !important;
  transition: var(--transition-fast) !important;
}
.remote-support-btn:hover {
  background: var(--brand-dark) !important;
  opacity: 1 !important;
  color: var(--white) !important;
}
.user-nav a.submit-a-request:hover,
.nav-cta:hover {
  background: var(--brand-dark) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  box-shadow: 0 3px 10px rgba(255,125,0,.4) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* Menu button (mobile) */
.menu-button {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.menu-button:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-pale); }
@media (min-width: 768px) { .menu-button { display: none; } }

/* User info (Zendesk injected) */
.user-info { display: flex; align-items: center; }

/* ============================================================
   ★★★ HERO — ORANGE GRADIENT ★★★
   ============================================================ */
/* ============================================================
   HERO — Warm Peach Gradient (시안 반영)
   배경: #fff0d7 → #ffe8c2  |  글자: #222222
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #fff0d7 0%, #ffe8c2 100%);
  padding: 52px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* 왼쪽 원 데코 (#fff4e3) */
.hero::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: #fff4e3;
  border-radius: 50%;
  pointer-events: none;
}
/* 오른쪽 원 데코 (#ffedd2) */
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: #ffedd2;
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* 중앙 콘텐츠 영역 — 더 이상 필요 없음 (eyebrow, title이 hero-inner 직속) */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 580px;
  flex-shrink: 0;
  padding-bottom: 0;
}

/* 검색창 + 마스코트 한 줄 */
.hero-search-row {
  position: relative;
  display: flex;
  justify-content: flex-start;
  padding-left: 180px;
  align-items: flex-end;
  width: 100%;
}

/* eyebrow 배지 — 주황 solid */
.hero-eyebrow {
  display: inline-block;
  background: #ff7f00;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: none;
}

/* 타이틀 — 어두운 텍스트 (#222222) */
.hero-title {
  color: #222222;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: none;
  margin: 0;
}
@media (min-width: 768px) { .hero-title { font-size: 2.3rem; } }

/* highlight span — 주황 */
.hero-title-highlight { color: #ff7f00; }

.hero-subtitle {
  color: #555555;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

/* ── 마스코트 이미지 공통 ── */
/* ── 마스코트: hero-search-row 안에서 검색창 양 옆 30px ── */
.hero-mascot {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero-mascot img {
  display: block;
  object-fit: contain;
}

.hero-mascot--left {
  left: 15px;
}
.hero-mascot--left img {
  height: 100px;
  width: auto;
}

.hero-mascot--right {
  right: 0;
  transform: translateX(-38px);
}
.hero-mascot--right img {
  height: 130px;
  width: auto;
}

/* 데코 원 클래스 (HBS에서 aria-hidden) */
.hero-deco-circle { display: none; }

/* Community hero (dark) */
.community-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  padding: 64px 24px;
}
.community-hero::before, .community-hero::after { display: none; }

/* ============================================================
   SEARCH
   ============================================================ */
.search { width: 100%; position: relative; }

.search-full { max-width: 520px; width: 100%; }

/* Hero search — white on warm peach bg */
.search-full input[type="search"],
.search-full input[type="text"] {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: var(--radius-full);
  padding: 0 64px 0 52px;
  font-size: 15px;
  font-weight: 400;
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  outline: none;
  -webkit-appearance: none;
  transition: var(--transition);
}
.search-full input[type="search"]:focus,
.search-full input[type="text"]:focus {
  background: #ffffff;
  box-shadow: 0 4px 28px rgba(255,127,0,.18), 0 0 0 2px rgba(255,127,0,.25);
}
.search-full input::placeholder { color: #AAAAAA; }

.search::before {
  content: '';
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

/* Sub-nav search (smaller) */
.sub-nav .search input[type="search"],
.sub-nav .search input[type="text"] {
  height: 40px;
  border-radius: var(--radius-full);
  padding: 0 16px 0 40px;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 14px;
  box-shadow: none;
}
.sub-nav .search::before { left: 14px; font-size: 14px; }
.sub-nav .search input[type="search"]:focus,
.sub-nav .search input[type="text"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,125,0,.12);
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown { position: relative; display: inline-block; }

.dropdown-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dropdown-toggle:focus { outline: 0; }
.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: var(--transition);
  flex-shrink: 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 50;
  overflow: hidden;
  padding: 6px;
}
.dropdown-menu-end { left: auto; right: 0; }

.dropdown-menu a {
  display: block;
  padding: 9px 14px;
  color: var(--text-primary);
  font-size: 14px;
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
}
.dropdown-menu a:hover,
.dropdown-menu a[aria-selected="true"] {
  background: var(--brand-pale);
  color: var(--brand);
  text-decoration: none;
  opacity: 1;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumbs li + li::before {
  content: '›';
  margin: 0 6px;
  color: var(--border);
  font-size: 15px;
}

.breadcrumbs li:last-child { color: var(--text-secondary); font-weight: 500; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand); opacity: 1; }

/* ============================================================
   SUB-NAV
   ============================================================ */
.sub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .sub-nav input[type="search"] { min-width: 280px; } }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* ============================================================
   ★★★ CATEGORY CARDS — IMAGE FIRST ★★★
   ============================================================ */
.knowledge-base { padding: 56px 0 40px; }

.section { margin-bottom: 40px; }
@media (min-width: 768px) { .section { margin-bottom: 60px; } }

.blocks-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
}
@media (min-width: 540px) { .blocks-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .blocks-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .blocks-list { grid-template-columns: repeat(4, 1fr); } }

.blocks-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.blocks-item:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  transform: translateY(-5px);
}

.blocks-item-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--text-primary);
  text-decoration: none;
}
.blocks-item-link:hover { text-decoration: none; opacity: 1; }

/* ── 아이콘 영역 ── */
.blocks-item-icon {
  width: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.blocks-item-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.35) 0%, transparent 60%);
  pointer-events: none;
}
.blocks-item-icon svg {
  position: relative;
  z-index: 1;
  transition: transform .3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
}
.blocks-item:hover .blocks-item-icon svg { transform: scale(1.14) translateY(-3px); }

/* 카테고리별 색상 (6가지 순환) */
.blocks-item:nth-child(6n+1) .blocks-item-icon { background: linear-gradient(135deg,#FFF0E0,#FFD4A3); color: #D45800; }
.blocks-item:nth-child(6n+2) .blocks-item-icon { background: linear-gradient(135deg,#EEF4FF,#C7DBFF); color: #1D4ED8; }
.blocks-item:nth-child(6n+3) .blocks-item-icon { background: linear-gradient(135deg,#ECFDF5,#A7F3D0); color: #047857; }
.blocks-item:nth-child(6n+4) .blocks-item-icon { background: linear-gradient(135deg,#F5F3FF,#DDD6FE); color: #6D28D9; }
.blocks-item:nth-child(6n+5) .blocks-item-icon { background: linear-gradient(135deg,#FFF1F2,#FECDD3); color: #BE123C; }
.blocks-item:nth-child(6n+0) .blocks-item-icon { background: linear-gradient(135deg,#ECFEFF,#A5F3FC); color: #0E7490; }

/* 카드 하단 컬러 강조 바 */
.blocks-item:nth-child(6n+1) { border-bottom: 3px solid #FF7D00; }
.blocks-item:nth-child(6n+2) { border-bottom: 3px solid #2563EB; }
.blocks-item:nth-child(6n+3) { border-bottom: 3px solid #059669; }
.blocks-item:nth-child(6n+4) { border-bottom: 3px solid #7C3AED; }
.blocks-item:nth-child(6n+5) { border-bottom: 3px solid #E11D48; }
.blocks-item:nth-child(6n+0) { border-bottom: 3px solid #0891B2; }

/* ── 텍스트 바디 ── */
.blocks-item-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blocks-item-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  transition: var(--transition-fast);
}
.blocks-item:hover .blocks-item-title { color: var(--brand); }

.blocks-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.blocks-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 4px;
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}
.blocks-item:hover .blocks-item-cta {
  opacity: 1;
  transform: translateX(0);
}

.blocks-item-internal {
  opacity: .65;
  border-style: dashed;
}

/* ============================================================
   ANNOUNCEMENTS
   ============================================================ */
.home-announcements { margin-bottom: 0; }
.home-products-section { padding-top: 32px !important; }

.announcements-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* 헤더: 📢 아이콘 + 공지사항 타이틀 */
.announcements-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1.5px solid var(--border);
  background: var(--brand-pale);
}
.announcements-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.announcements-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
  color: var(--brand-dark);
}

.announcements-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* 최대 6개 표시 */
.announcements-list > li:nth-child(n+7) { display: none; }

.announcement-item:not(:last-child) { border-bottom: 1px solid var(--border-light); }

.announcement-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}
.announcement-link:hover {
  background: var(--brand-pale);
  color: var(--text-primary);
  text-decoration: none;
  opacity: 1;
}

/* 작은 오렌지 점 */
.announcement-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
.announcement-title { flex: 1; font-size: 14px; font-weight: 500; line-height: 1.4; }

/* 공지 없을 때 안내 */
.announcements-empty {
  padding: 20px 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.announcement-arrow { flex-shrink: 0; color: var(--text-muted); transition: transform .2s ease; }
.announcement-link:hover .announcement-arrow { color: var(--brand); transform: translateX(4px); }

/* 공지사항 카드 하단 탭 연결부 — 제거됨 (탭이 카드 외부로 분리) */

/* ============================================================
   ★★★ HOME PRODUCT TABS ★★★
   ============================================================ */
.home-products-section { padding-top: 32px; }

.home-tabs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.home-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  white-space: nowrap;
  font-family: inherit;
}
.home-tab-btn:hover {
  color: var(--brand);
  background: var(--brand-pale);
}
.home-tab-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: var(--brand-pale);
}

.home-tab-pane { display: none; }
.home-tab-pane.active { display: block; }

/* ── 제품 탭 — 4열 그리드 ── */
.blocks-list--products-tab {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px;
}
@media (min-width: 768px) {
  .blocks-list--products-tab { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ── 기타 섹션 간격 ── */
/* ── 섹션 구분선 ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-divider-text {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-others-section {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}
.home-products-section {
  margin-top: 0 !important;
}

/* ── 기타 탭 — 2열 고정 + 가운데 정렬 ── */
.blocks-list--others-tab {
  grid-template-columns: 1fr !important;
  gap: 16px;
  justify-content: center;
}
@media (min-width: 540px) {
  .blocks-list--others-tab {
    grid-template-columns: repeat(2, minmax(0, 216px)) !important;
  }
}

/* ── 기타 섹션 카드: 세로형 리디자인 ── */
.blocks-list--others-tab .blocks-item-link {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.blocks-list--others-tab .blocks-item-icon {
  width: 100%;
  min-height: 90px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-right: none;
  position: relative;
  overflow: hidden;
}
/* 데코 원형 */
.blocks-list--others-tab .blocks-item-icon::after {
  content: '';
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  right: -24px; bottom: -28px;
  pointer-events: none;
}
.blocks-list--others-tab .blocks-item-icon::before {
  content: '';
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  left: -14px; top: -14px;
  pointer-events: none;
}
.blocks-list--others-tab .blocks-item-icon svg {
  width: 32px; height: 32px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.10));
}

/* 공지사항 카드 */
.others-card--notice .blocks-item-icon {
  background: linear-gradient(135deg, #FFF3E0, #FFCC80);
  color: #BF360C;
}
.others-card--notice {
  border-bottom: 3px solid #F4511E !important;
}

/* 자주 묻는 질문 카드 */
.others-card--faq .blocks-item-icon {
  background: linear-gradient(135deg, #E8F4FD, #90CAF9);
  color: #0D47A1;
}
.others-card--faq {
  border-bottom: 3px solid #1565C0 !important;
}

.blocks-list--others-tab .blocks-item-body { padding: 12px 14px 14px; flex: 1; text-align: center; }
.blocks-list--others-tab .blocks-item-title { font-size: .85rem; }
.blocks-list--others-tab .blocks-item-desc  { font-size: .75rem; }
.blocks-list--others-tab .blocks-item-cta   { font-size: .72rem; justify-content: center; }

/* ── 제품 CI 이미지 영역 ── */
.product-ci-area {
  width: 100%;
  height: 80px;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: none;
  transition: transform .3s ease;
  padding: 12px 16px;
}
.blocks-item--product:hover .product-ci-area { transform: scale(1.02); }

/* CI 이미지 — JS가 data-name 보고 .ci-spamsniper 등 클래스 부여 */
.ci-spamsniper  .product-ci-area { background-image: url(/hc/theming_assets/01KMHMFM6R2TDF126T3YJ84VZK); }
.ci-mailscreen  .product-ci-area { background-image: url(/hc/theming_assets/01KMHMG3D5ZR5F1QF0YF0V2D2D); }
.ci-jvault      .product-ci-area { background-image: url(/hc/theming_assets/01KMHMGTZ3V5SVNEFMP131VKY5); background-size: 36%; }
.ci-mudfix      .product-ci-area { background-image: url(/hc/theming_assets/01KKXXPVY1MWBDTETWFXS2VND5); background-size: 36%; }

/* 제품 카드 하단 강조선 — 제품별 고유 색 */
.blocks-list--products-tab .ci-spamsniper { border-bottom: 3px solid #E8452A !important; }
.blocks-list--products-tab .ci-mailscreen { border-bottom: 3px solid #1B72BE !important; }
.blocks-list--products-tab .ci-jvault     { border-bottom: 3px solid #F57C00 !important; }
.blocks-list--products-tab .ci-mudfix     { border-bottom: 3px solid #2D7D46 !important; }

/* 제품 카드 hover 음영 + 제목·CTA 색상 — 제품별 */
.blocks-list--products-tab .ci-spamsniper:hover { box-shadow: 0 10px 28px rgba(232, 68,  42, .30) !important; }
.blocks-list--products-tab .ci-mailscreen:hover { box-shadow: 0 10px 28px rgba(27,  114, 190, .30) !important; }
.blocks-list--products-tab .ci-jvault:hover     { box-shadow: 0 10px 28px rgba(245, 124,   0, .30) !important; }
.blocks-list--products-tab .ci-mudfix:hover     { box-shadow: 0 10px 28px rgba(45,  125,  70, .30) !important; }

.blocks-list--products-tab .ci-spamsniper:hover .blocks-item-title,
.blocks-list--products-tab .ci-spamsniper:hover .blocks-item-cta { color: #E8452A !important; }

.blocks-list--products-tab .ci-mailscreen:hover .blocks-item-title,
.blocks-list--products-tab .ci-mailscreen:hover .blocks-item-cta { color: #1B72BE !important; }

.blocks-list--products-tab .ci-jvault:hover .blocks-item-title,
.blocks-list--products-tab .ci-jvault:hover .blocks-item-cta     { color: #F57C00 !important; }

.blocks-list--products-tab .ci-mudfix:hover .blocks-item-title,
.blocks-list--products-tab .ci-mudfix:hover .blocks-item-cta     { color: #2D7D46 !important; }

.blocks-item--product .blocks-item-body { padding: 14px 16px 16px; }
.blocks-item--product .blocks-item-title { font-size: .9rem; text-align: center; }

/* Community topics grid */
.topics-list { }
.topics-item .blocks-item-link { align-items: flex-start; }

/* ============================================================
   PROMOTED ARTICLES
   ============================================================ */
.promoted-section { margin-top: 48px; }

.promoted-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 768px) { .promoted-articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promoted-articles { grid-template-columns: repeat(3, 1fr); } }

.promoted-articles-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.promoted-articles-item a:hover {
  background: var(--brand-pale);
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
  opacity: 1;
}
.promoted-articles-item a::before {
  content: '→';
  color: var(--brand);
  flex-shrink: 0;
  font-weight: 700;
}

/* ============================================================
   COMMUNITY SECTION (HOME)
   ============================================================ */
.home-section.community {
  margin: 48px 0;
}

.community-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 52px;
  background: linear-gradient(130deg, #0F172A 0%, #1E3A5F 100%);
  border-radius: var(--radius-xl);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.community-inner::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 250px;
  height: 250px;
  background: rgba(255,125,0,.08);
  border-radius: 50%;
  pointer-events: none;
}

.community-text { flex: 1; min-width: 240px; position: relative; z-index: 1; }

.community-badge {
  display: inline-block;
  background: rgba(255,125,0,.2);
  color: var(--brand-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(255,125,0,.3);
}

.community-text h2 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 8px;
  margin-top: 0;
}

.community-text p {
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
  font-size: 15px;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white) !important;
  padding: 13px 26px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}
.community-link:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,125,0,.45);
  opacity: 1 !important;
  text-decoration: none !important;
}

.community-image {
  width: 180px;
  height: 130px;
  background: url(/hc/theming_assets/01KKXWQDVRD90M2NZMQ1HBHYBQ) center/contain no-repeat;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   ARTICLE LIST
   ============================================================ */
.article-list { display: flex; flex-direction: column; }

.article-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
}
.article-list-item:last-child { border-bottom: 0; }

.article-list-link {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  transition: var(--transition-fast);
}
.article-list-link::before {
  content: '·';
  color: var(--brand);
  font-weight: 900;
  margin-right: 6px;
}
.article-list-link:hover { color: var(--brand); text-decoration: none; opacity: 1; }

.article-promoted .article-list-link { font-weight: 700; }

.see-all-articles {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  padding: 8px 0;
}
.see-all-articles:hover { text-decoration: underline; opacity: 1; }

/* ============================================================
   SECTION / CATEGORY PAGES
   ============================================================ */
.section-container, .category-container {
  padding: 0 0 60px;
  display: flex;
  justify-content: flex-end;
}

.section-content, .category-content {
  flex: 1;
}
@media (min-width: 1024px) {
  .section-content, .category-content { flex: 0 0 80%; }
}

.page-header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0 28px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--border);
}
@media (min-width: 768px) {
  .page-header { align-items: baseline; flex-direction: row; margin-top: 0; }
}
.page-header h1 { flex-grow: 1; margin-bottom: 8px; }
.page-header-description {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 0 8px;
  font-style: italic;
  font-weight: 300;
  width: 100%;
}

/* Section list */
.section-list { margin: 32px 0; display: flex; flex-direction: column; gap: 6px; }
.section-list--collapsed .section-list-item:nth-child(1n+6) { display: none; }

.section-list-item {
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  padding: 12px 0;
}
.section-list-item:first-child { border-top: 1px solid var(--border-light); }

.section-list-item a {
  align-items: center;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  transition: var(--transition-fast);
}
.section-list-item a:hover { color: var(--brand); opacity: 1; text-decoration: none; }
.section-list-item svg { color: var(--text-muted); transition: var(--transition); }
.section-list-item a:hover svg { color: var(--brand); transform: translateX(4px); }

.see-all-sections-trigger {
  cursor: pointer;
  display: none;
  padding: 12px;
  text-align: center;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}
.see-all-sections-trigger:not([aria-hidden="true"]) { display: block; }
.see-all-sections-trigger[aria-hidden="true"] { display: none; }

/* Section tree */
.section-tree {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (min-width: 768px) { .section-tree { flex-direction: row; } }
.section-tree .section { flex: initial; margin-bottom: 40px; }
@media (min-width: 768px) { .section-tree .section { flex: 0 0 45%; } }

.section-tree-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-tree-title a {
  color: var(--text-primary);
  display: block;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  transition: var(--transition-fast);
}
.section-tree-title a:hover { color: var(--brand); border-color: var(--brand); opacity: 1; }
.section-tree .see-all-articles { display: block; padding: 12px 0; }

.section-empty, .category-empty { color: var(--text-muted); font-style: italic; font-size: 14px; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 0 60px;
}
@media (min-width: 1024px) { .article-container { flex-direction: row; } }

/* Sidebar */
.article-sidebar {
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .article-sidebar { width: 220px; position: sticky; top: 84px; align-self: start; }
}

.collapsible-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.collapsible-sidebar-title, .sidenav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-muted);
  padding: 14px 18px 12px;
  margin: 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-page);
}

.collapsible-sidebar-toggle { display: none; }

.collapsible-sidebar-body { padding: 6px 0; }
.collapsible-sidebar-body ul { display: flex; flex-direction: column; }

.collapsible-sidebar-body li a,
.sidenav-item {
  display: block;
  padding: 9px 18px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}
.collapsible-sidebar-body li a:hover,
.sidenav-item:hover {
  background: var(--brand-pale);
  color: var(--brand);
  border-left-color: var(--brand);
  text-decoration: none;
  opacity: 1;
}

.current-article {
  color: var(--brand) !important;
  font-weight: 700 !important;
  background: var(--brand-pale) !important;
  border-left-color: var(--brand) !important;
}

.article-sidebar-item {
  display: block;
  padding: 9px 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid var(--border-light);
}
.article-sidebar-item:hover { background: var(--brand-pale); opacity: 1; }

/* Article main content */
.article {
  flex: 1 0 auto;
  min-width: 0;
}
@media (min-width: 1024px) {
  .article { flex: 1 0 66%; max-width: 66%; min-width: 640px; padding: 0 20px; }
}

.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 32px;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--border);
}
@media (min-width: 768px) { .article-header { flex-direction: row; margin-top: 0; } }

.article-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  flex-basis: 100%;
}
@media (min-width: 768px) { .article-title { flex-basis: 100%; } }

.article-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.article-meta { font-size: 13px; color: var(--text-muted); }
.article-meta a { color: var(--text-muted); }
.article-meta a:hover { color: var(--brand); }

.meta-group { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.meta-data {
  font-size: 12px;
  color: var(--text-muted);
  display: inline;
  font-weight: 300;
}
.meta-data + .meta-data::before { content: ' · '; margin: 0 3px; }

/* Article body */
.article-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
}
.article-body h2, .article-body h3, .article-body h4 {
  margin-top: 2em;
  margin-bottom: .6em;
}
.article-body p { margin-bottom: 1.2em; }
.article-body a { color: var(--brand); text-decoration: underline; }
.article-body ul { list-style: disc; padding-left: 24px; margin-bottom: 1.2em; }
.article-body ol { list-style: decimal; padding-left: 24px; margin-bottom: 1.2em; }
.article-body blockquote {
  border-left: 4px solid var(--brand);
  padding: 14px 20px;
  margin: 20px 0;
  background: var(--brand-pale);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.article-body code {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .875em;
  font-family: 'Courier New', monospace;
  color: #d63384;
}
.article-body pre {
  background: #1E293B;
  color: #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 18px;
  overflow-x: auto;
  margin-bottom: 1.2em;
}
.article-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: 13px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; font-size: 14px; }
.article-body table th {
  background: var(--brand-pale);
  color: var(--brand-dark);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
}
.article-body table td { padding: 10px 14px; border: 1px solid var(--border); }
.article-body table tr:nth-child(even) td { background: var(--bg-page); }
.article-body img { max-width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* Attachments */
.article-attachments { margin-top: 28px; }
.attachments { display: flex; flex-direction: column; gap: 8px; }
.attachment-item {
  padding: 10px 14px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.attachment-item:hover { border-color: var(--brand); background: var(--brand-pale); }
.attachment-item a { color: var(--brand); font-size: 14px; font-weight: 500; }
.attachment-meta { display: flex; gap: 12px; }
.attachment-meta-item { font-size: 12px; color: var(--text-muted); }

/* Article footer */
.article-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.article-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px;
  background: var(--brand-pale);
  border: 1.5px solid var(--brand-pale2);
  border-radius: var(--radius-md);
  margin-top: 32px;
  text-align: center;
}
.article-votes-question { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.article-votes-controls { display: flex; gap: 12px; }

.article-vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-xs);
  width: auto;
  min-width: 90px;
}
.article-vote-up { border-color: #10B981; color: #10B981; }
.article-vote-up::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #10B981;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3H14z'/%3E%3Cpath d='M7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3H14z'/%3E%3Cpath d='M7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.article-vote-up:hover::before, .article-vote-up[aria-selected="true"]::before {
  background-color: var(--white);
}
.article-vote-up:hover, .article-vote-up[aria-selected="true"] {
  background: #10B981; color: var(--white); border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16,185,129,.25);
}
.article-vote-down { border-color: #EF4444; color: #EF4444; }
.article-vote-down::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #EF4444;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3H10z'/%3E%3Cpath d='M17 2h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3H10z'/%3E%3Cpath d='M17 2h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.article-vote-down:hover::before, .article-vote-down[aria-selected="true"]::before {
  background-color: var(--white);
}
.article-vote-down:hover, .article-vote-down[aria-selected="true"] {
  background: #EF4444; color: var(--white); border-color: #EF4444;
  box-shadow: 0 4px 12px rgba(239,68,68,.25);
}
.article-votes-count { color: var(--text-muted); font-size: 13px; }

.article-return-to-top { margin-top: 24px; text-align: right; }
.article-return-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
}
.article-return-to-top a:hover { color: var(--brand); opacity: 1; }
.icon-arrow-up::before { content: '↑'; }

.article-relatives { margin-top: 48px; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comment-list { display: flex; flex-direction: column; }

.comment { padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.comment:last-child { border-bottom: 0; }

.comment-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.comment-info { display: flex; flex-direction: column; gap: 14px; }
.comment-author { display: flex; align-items: center; gap: 12px; }
.comment-meta { display: flex; flex-direction: column; gap: 2px; }
.comment-meta a { color: var(--text-primary); font-weight: 600; font-size: 14px; }
.comment-meta a:hover { color: var(--brand); }

.comment-body { font-size: 14px; line-height: 1.7; color: var(--text-primary); }
.comment-overview {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
@media (min-width: 600px) {
  .comment-overview { flex-direction: row; align-items: center; justify-content: space-between; }
}

.comment-heading { font-size: 1.15rem; font-weight: 700; margin: 0; }
.comment-callout { font-size: 13px; color: var(--text-muted); margin: 0; }

.comment-actions-container { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.comment-labels { display: flex; gap: 6px; flex-wrap: wrap; }

.comment-form {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}
.comment-container { flex: 1; }

.comment-show-container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 18px;
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.comment-show-container:hover {
  border-color: var(--brand);
  background: var(--brand-pale);
  color: var(--brand);
}

.comment-fields { display: none; }
.comment-fields.shown { display: block; }

.comment-form-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.comment-ccs { margin-bottom: 10px; }
.comment-official {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-xs);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #1D4ED8;
}

/* ============================================================
   VOTE
   ============================================================ */
.vote { display: flex; align-items: center; gap: 6px; }
.vote-up, .vote-down {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
  padding: 0;
}
.vote-up:hover, .vote-up.vote-voted { border-color: #10B981; color: #10B981; background: rgba(16,185,129,.08); }
.vote-down:hover, .vote-down.vote-voted { border-color: #EF4444; color: #EF4444; background: rgba(239,68,68,.08); }
.vote-sum { font-size: 13px; font-weight: 700; color: var(--text-primary); min-width: 18px; text-align: center; }

/* ============================================================
   AVATARS
   ============================================================ */
.avatar { display: inline-block; position: relative; flex-shrink: 0; }
.user-avatar {
  height: 36px; width: 36px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--brand-pale);
}
.avatar img { height: 40px; width: 40px; }
.avatar .icon-agent::before {
  background-color: var(--brand);
  border: 2px solid var(--white);
  border-radius: 50%;
  bottom: -3px;
  color: var(--white);
  content: "\1F464";
  font-size: 10px;
  height: 16px;
  line-height: 16px;
  position: absolute;
  right: -2px;
  text-align: center;
  width: 16px;
}

.profile-avatar img { height: 80px; width: 80px; border-width: 3px; }

/* ============================================================
   STATUS LABELS
   ============================================================ */
.status-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-label-new      { background: #EFF6FF; color: #1D4ED8; }
.status-label-open     { background: #FFF7ED; color: #C2410C; }
.status-label-pending  { background: #FFFBEB; color: #92400E; }
.status-label-solved   { background: #F0FDF4; color: #15803D; }
.status-label-closed   { background: var(--border-light); color: var(--text-muted); }
.status-label-hold     { background: #F5F3FF; color: #6D28D9; }
.status-label-pinned   { background: var(--brand-pale); color: var(--brand-dark); }
.status-label-featured { background: var(--brand-pale); color: var(--brand-dark); }
.status-label-official { background: #EFF6FF; color: #1D4ED8; }
.status-label-under-review { background: #FFFBEB; color: #92400E; }
.status-label-planned  { background: #F0FDF4; color: #15803D; }
.status-label-completed{ background: #F0FDF4; color: #15803D; }
.status-label-not-planned { background: var(--border-light); color: var(--text-muted); }
.escalation-badge { background: var(--brand-pale); color: var(--brand); border: 1px solid var(--brand-pale2); }
.request-closed { opacity: .65; }

/* ============================================================
   MY ACTIVITIES NAV
   ============================================================ */
.my-activities-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.my-activities-nav .container { padding-top: 0; padding-bottom: 0; }

.collapsible-nav { position: relative; }
.collapsible-nav-toggle { display: none; }

.collapsible-nav-list {
  display: flex;
  align-items: center;
  overflow-x: auto;
}
.collapsible-nav-list li { white-space: nowrap; }

.collapsible-nav-list li a {
  display: block;
  padding: 14px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}
.collapsible-nav-list li a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
  text-decoration: none;
  opacity: 1;
}
.collapsible-nav-list li[aria-selected="true"] {
  display: block;
  padding: 14px 18px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
}

.collapsible-nav-border .collapsible-nav-list li a,
.collapsible-nav-border .collapsible-nav-list li[aria-selected="true"] {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border-bottom: 0;
  font-size: 13px;
}
.collapsible-nav-border .collapsible-nav-list li[aria-selected="true"] {
  background: var(--brand-pale);
  color: var(--brand);
}
.collapsible-nav-border .collapsible-nav-list li a:hover { background: var(--brand-pale); border-bottom: 0; }

.my-activities-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.my-activities-sub-nav { display: flex; align-items: center; }

/* Requests toolbar */
.requests-table-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.requests-table-toolbar .search { flex: 1; min-width: 180px; }
.request-table-filter { display: flex; align-items: center; gap: 8px; }
.request-filter-label { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.request-filter { font-size: 13px; min-width: 130px; }
.requests-search { width: 100%; }
.requests-search-info { padding: 10px 0; font-size: 13px; color: var(--text-muted); }
.no-activities {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.request-breadcrumbs { padding: 20px 0 0; }
.request-title {
  font-size: 1.5rem;
  font-weight: 800;
  padding: 14px 0 20px;
  border-bottom: 2px solid var(--border);
}

.request-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 28px 0 60px;
}
@media (min-width: 900px) { .request-container { grid-template-columns: 1fr 260px; } }

.request-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  align-self: start;
  overflow: hidden;
}
.request-sidebar .collapsible-sidebar-title {
  background: var(--brand-pale);
  color: var(--brand-dark);
}

.collapsible-sidebar-body dl.request-details {
  padding: 14px 18px;
  margin: 0;
  border-bottom: 1px solid var(--border-light);
}
.collapsible-sidebar-body dl.request-details:last-child { border-bottom: 0; }

.request-details dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 3px;
  margin-top: 10px;
}
.request-details dt:first-child { margin-top: 0; }
.request-details dd { font-size: 14px; color: var(--text-primary); margin: 0; }
.request-collaborators li { font-size: 13px; color: var(--text-muted); }
.mark-as-solved { font-size: 13px; }
.request-submit-comment { display: none; }
.request-submit-comment.shown { display: inline-block; }
.request-follow-up {
  padding: 14px 16px;
  background: var(--brand-pale);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 60px;
}
@media (min-width: 900px) { .search-results { grid-template-columns: 220px 1fr; } }

.search-results-sidebar { display: flex; flex-direction: column; gap: 10px; }

.filters-in-section {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.multibrand-filter-list { padding: 6px 0; }
.multibrand-filter-list--collapsed li:nth-child(n+7) { display: none; }

.see-all-filters {
  display: none;
  width: 100%;
  padding: 9px 18px;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--border-light);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.see-all-filters:not([aria-hidden="true"]) { display: block; }
.see-all-filters:hover { background: var(--brand-pale); }

.sidenav-subitem { font-size: 13px; }
.doc-count { color: var(--text-muted); margin-left: 3px; }

.search-results-subheading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border);
}

.search-results-list { display: flex; flex-direction: column; }
.search-result-list-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.search-result-list-item:last-child { border-bottom: 0; }

.search-result-title { font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.results-list-item-link { color: var(--brand); }
.results-list-item-link:hover { text-decoration: underline; opacity: 1; }

.search-result-icons { display: flex; gap: 10px; margin-bottom: 6px; }
.search-result-votes,
.search-result-meta-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-page);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.search-result-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  list-style: none;
}
.search-result-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.search-result-breadcrumbs li + li::before { content: '›'; margin-right: 4px; }
.search-result-breadcrumbs a { color: var(--text-muted); }
.search-result-breadcrumbs a:hover { color: var(--brand); }

.search-results-description { font-size: 14px; color: var(--text-secondary); margin-top: 6px; line-height: 1.6; }

.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}
.search-empty a { color: var(--brand); font-weight: 700; text-decoration: underline; }

/* ============================================================
   COMMUNITY PAGES
   ============================================================ */
.community-header { margin-bottom: 20px; }
.post-to-community { display: flex; align-items: center; }

.topic-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.topic-filters { display: flex; align-items: center; gap: 10px; }
.topic-filters .dropdown-toggle {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  transition: var(--transition);
}
.topic-filters .dropdown-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* Striped list */
.striped-list { display: flex; flex-direction: column; }
.striped-list li { border-bottom: 1px solid var(--border-light); }
.striped-list li:last-child { border-bottom: 0; }

.striped-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  transition: var(--transition-fast);
}
.striped-list-item:hover { background: var(--bg-page); border-radius: var(--radius-sm); padding-left: 8px; }

.striped-list-info { flex: 1; min-width: 0; }
.striped-list-title {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  transition: var(--transition-fast);
}
.striped-list-title:hover { color: var(--brand); text-decoration: none; opacity: 1; }

.post-overview-item { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }

.striped-list-count { display: flex; gap: 16px; flex-shrink: 0; }
.striped-list-count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  min-width: 44px;
}
.striped-list-number { font-size: 16px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.post-featured .striped-list-title { color: var(--brand); }

/* Post page */
.post-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 60px;
}
@media (min-width: 900px) { .post-container { grid-template-columns: 1fr 220px; } }

.post-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-title h1 { font-size: 1.5rem; margin-bottom: 6px; }

.post-info-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}
.post-info { min-width: 0; }
.post-author { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.post-meta { display: flex; flex-direction: column; gap: 2px; }
.post-meta a { color: var(--text-primary); font-weight: 600; font-size: 14px; }
.post-meta a:hover { color: var(--brand); }
.post-body { font-size: 15px; line-height: 1.75; }
.post-actions-wrapper { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.post-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  align-self: start;
}
.post-sidebar-title { font-size: .95rem; font-weight: 700; margin-bottom: 14px; }

.community-footer {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  margin-top: 36px;
}
.community-footer-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; }
.community-featured-posts { margin-top: 44px; }

/* ============================================================
   USER PROFILE
   ============================================================ */
.profile-header {
  background: linear-gradient(130deg, #0F172A 0%, #1E3A5F 100%);
  padding: 44px 0;
}
.profile-header .container { position: relative; z-index: 1; }

.profile-info { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.basic-info { flex: 1; min-width: 180px; }
.basic-info .name { font-size: 1.5rem; font-weight: 800; color: var(--white); margin: 0; }
.basic-info .name a { color: var(--white); }
.basic-info .name a:hover { opacity: .8; }

.options { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.profile-private-badge {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.2);
}
.description { color: rgba(255,255,255,.65); font-size: 14px; width: 100%; margin-top: 8px; }

.profile-stats { display: flex; gap: 0; flex-wrap: wrap; width: 100%; margin-top: 20px; }
.profile-stats-activity { gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.45); }
.stat-value { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }

.profile-stats-counters {
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 18px;
  gap: 0;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.1);
}
.profile-stats-counters .stat {
  flex: 1; min-width: 90px;
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.profile-stats-counters .stat:first-child { padding-left: 0; }
.profile-stats-counters .stat:last-child { border-right: 0; }

.profile-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 50;
}

.profile-section { padding: 36px 0 60px; }

.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border);
  flex-wrap: wrap;
}
.profile-section-title { font-size: 1.2rem; font-weight: 700; margin: 0; }
.profile-section-description { font-size: 13px; color: var(--text-muted); }

.profile-activity-list, .profile-contribution-list { display: flex; flex-direction: column; }
.profile-activity, .profile-contribution {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.profile-activity:last-child, .profile-contribution:last-child { border-bottom: 0; }

.profile-activity-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.profile-activity-description { font-size: 13px; color: var(--text-muted); margin: 0; }

.profile-contribution-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.profile-contribution-title a { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.profile-contribution-title a:hover { color: var(--brand); }

.profile-contribution-breadcrumbs { display: flex; align-items: center; gap: 4px; padding: 0; margin-bottom: 6px; }
.profile-contribution-breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.profile-contribution-breadcrumbs li + li::before { content: '›'; margin-right: 4px; }
.profile-contribution-breadcrumbs a { color: var(--text-muted); }
.profile-contribution-breadcrumbs a:hover { color: var(--brand); }

.profile-contribution-body { font-size: 14px; color: var(--text-secondary); margin: 0 0 6px; line-height: 1.6; }

.no-activity, .private-activity {
  display: block;
  padding: 36px;
  text-align: center;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ============================================================
   FORMS (new request / new post)
   ============================================================ */
.form { max-width: 660px; padding: 20px 0 60px; }
.form-header { margin-bottom: 28px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 7px; }
.form-field .optional { font-weight: 400; color: var(--text-muted); font-size: 12px; margin-left: 4px; }
.form-field input { border: 1.5px solid var(--border); border-radius: var(--radius-xs); padding: 10px 14px; width: 100%; }
.form-field input:focus { border-color: var(--brand); }
.form-field input[type="checkbox"] { width: auto; }
.form-field .nesty-input { border-radius: var(--radius-xs); height: 40px; line-height: 40px; outline: none; vertical-align: middle; }
.form-field textarea { vertical-align: middle; }
.form-field input[type="checkbox"] + label { margin: 0 0 0 8px; }
.form-field.required > label::after { content: "*"; color: #f00; margin-left: 2px; }
.form-field p { color: var(--text-muted); font-size: 12px; margin: 5px 0; }
.form footer { margin-top: 36px; padding-top: 24px; }
.form footer a { color: var(--text-muted); cursor: pointer; margin-right: 14px; }
.form .suggestion-list { font-size: 13px; margin-top: 24px; }
.form .suggestion-list label { border-bottom: 1px solid var(--border); display: block; padding-bottom: 5px; }
.form .suggestion-list li { padding: 8px 0; }
.form .suggestion-list li a:visited { color: var(--brand-dark); }

[data-loading="true"] input, [data-loading="true"] textarea {
  background: transparent url(/hc/theming_assets/01KKGZ9KQ0P9A7SZ0EGA782P66) 99% 50% no-repeat;
  background-size: 16px 16px;
}

.follow-up-hint { font-size: 14px; color: var(--text-muted); font-weight: 400; margin-left: 8px; }

.notification { padding: 10px 14px; border-radius: var(--radius-xs); font-size: 13px; margin-top: 6px; }
.notification-error { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 36px 0 16px;
}

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-page-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  gap: 14px;
}
.error-page-inner h1 { font-size: 2.5rem; color: var(--text-primary); }
.error-page-inner h2 { font-size: 1.15rem; color: var(--text-secondary); }
.error-page-inner p { color: var(--text-muted); max-width: 360px; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 0;
}

.footer-support {
  background: #F8F9FA;
  border-bottom: 1px solid var(--border);
}
.footer-support-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
}
@media (min-width: 1200px) { .footer-support-inner { padding: 16px 48px; } }

.footer-support-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.footer-support-item svg { color: var(--brand); flex-shrink: 0; }
.footer-support-label {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.footer-support-value { color: var(--text-secondary); white-space: nowrap; }
.footer-support-link {
  color: var(--brand) !important;
  text-decoration: none;
}
.footer-support-link:hover { text-decoration: underline; opacity: 1; }
.footer-support-divider {
  width: 1px;
  height: 14px;
  background: var(--border);
  margin: 0 20px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .footer-support-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-support-divider { display: none; }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (min-width: 1200px) { .footer-inner { padding: 24px 48px; } }

.footer-brand a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}
.footer-brand a:hover { color: var(--brand); opacity: 1; }

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================================
   ICONS
   ============================================================ */
.icon-lock { display: inline-flex; align-items: center; margin-left: 5px; color: var(--text-muted); }
.icon-lock::before { content: '\1F512'; font-size: 12px; }
.page-header .icon-lock::before { content: '\1F512'; font-size: 18px; position: relative; left: -3px; vertical-align: baseline; }
.icon-star::before { content: '\2B50'; font-size: 14px; color: var(--brand); }
.article-title .icon-lock::before { font-size: 18px; }
.icon-comments::before { content: '\1F4AC'; font-size: 14px; }

/* ============================================================
   SHARE
   ============================================================ */
.share { display: flex; align-items: center; gap: 8px; }
.share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}
.share a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); opacity: 1; }

/* ============================================================
   MISC
   ============================================================ */
.satisfaction { margin-bottom: 28px; }
.home-section.activity { padding: 36px 0 60px; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 767px) {
  .user-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--brand-pale);
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }
  .user-nav[aria-expanded="true"] { display: flex; }

  .user-nav a {
    display: block;
    padding: 12px 14px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-xs);
    text-align: left;
  }
  .user-nav a:hover { color: var(--brand); background: var(--brand-pale); opacity: 1; text-decoration: none; }

  .user-nav a.submit-a-request, .nav-cta {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
    margin-top: 4px !important;
  }

  .blocks-list { grid-template-columns: 1fr; }
  .article-container { flex-direction: column; }
  .article-sidebar { display: none; }
  .request-container { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: 1fr; }
  .post-container { grid-template-columns: 1fr; }
  .post-info-container { grid-template-columns: 1fr; }

  .hero { padding: 60px 20px 80px; }
  .hero-title { font-size: 2rem; }

  .community-inner { padding: 28px 24px; flex-direction: column; }
  .community-image { display: none; }

  .collapsible-nav-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted);
  }
  .collapsible-nav-list { flex-direction: column; padding: 8px 0; }
  .collapsible-nav[aria-expanded="false"] .collapsible-nav-list { display: none; }
  .collapsible-nav[aria-expanded="true"] .collapsible-nav-list { display: flex; }

  .profile-stats-counters { flex-direction: column; }
  .profile-stats-counters .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 10px 0;
  }
  .profile-stats-counters .stat:last-child { border-bottom: 0; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .header, .footer, .article-sidebar, .sub-nav,
  .article-votes, .article-return-to-top,
  .article-comments, .article-relatives { display: none !important; }
  .article-container { flex-direction: column !important; }
  body { background: white; }
}

/* ============================================================
   ★★★ 공지사항 날짜 뱃지 ★★★
   ============================================================ */
.announcement-date {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--border-light);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 4px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.announcement-link:hover .announcement-date {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-pale);
}

/* ── Hero 반응형 마스코트 ── */
@media (max-width: 900px) {
  .hero-mascot--left img { height: 90px; }
  .hero-mascot--right img { height: 90px; }
  .hero-mascot--left { margin-right: 16px; }
  .hero-mascot--right { margin-left: 16px; }
}
@media (max-width: 600px) {
  .hero-mascot { display: none; }
  .hero { padding: 44px 20px 56px; }
  .hero-title { font-size: 1.7rem; }
  .hero-content { width: 100%; }
}
