*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: #f0f4f8;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 상단 헤더 */
header {
  height: 58px;
  background: #ffffff;
  border-bottom: 3px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 16px;
}

/* 로고 */
.logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 19px;
  color: #1e293b;
  text-decoration: none;
  flex-shrink: 0;
}

.logo span {
  color: #3b82f6;
}

/* 헤더 중앙 (현재 위치 표시 WEB > Vulnerability) */
.header-crumb {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.header-crumb a {
  color: #94a3b8;
  text-decoration: none;
}
.header-crumb a:hover {
  color: #3b82f6;
}
.header-crumb .sep {
  color: #e2e8f0;
}
.header-crumb .active {
  color: #64748b;
  font-weight: 500;
}

/* 목록 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}

.btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

/* 카테고리 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

/* 카테고리 - Vulnerability */
.tag-vul {
  background: #e74c3c;
}

/* 카테고리 - Security */
.tag-sec {
  background: #2ecc71;
}

/* 카테고리 - CVE */
.tag-cve {
  background: #34495e;
}

/* ==========================================================================
   실시간 보안 뉴스 전광판 (Ticker) 스타일 - common.css 최하단에 그대로 추가
   ========================================================================== */
.ticker-wrapper {
  width: 100%;
  height: 40px;
  background-color: #1e293b; /* 헤더 텍스트와 동일한 다크 네이비 */
  color: #f8fafc;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Noto Sans KR', sans-serif;
  font-size: 13px;
}

.ticker-title {
  padding: 0 20px;
  background: #3b82f6; /* 헤더 보더와 동일한 메인 시그니처 블루 */
  color: #ffffff;
  font-weight: 700;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.3);
}

.ticker-rail {
  display: flex;
  white-space: nowrap;
  padding-left: 20px;
}

.ticker-item {
  padding-right: 60px; /* 뉴스 간의 간격 보정 */
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ticker-link {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.ticker-link:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.ticker-date {
  color: #94a3b8;
  font-size: 12px;
}
