/**
 * VJInfotech Docs Desk - Changelog CSS
 * Modern, clean, distraction-free release notes & version history design system
 *
 * @package VJInfotech_Docs
 */

/* ==========================================================================
   1. Shell, Hero & Breadcrumbs
   ========================================================================== */
.vji-changelog-shell {
  padding-bottom: 60px;
}

.vji-changelog-hero {
  text-align: center;
  padding: 40px 0 28px;
  max-width: 860px;
  margin: 0 auto;
}

.vji-changelog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #4338ca;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vji-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: vji-pulse 2s infinite;
}

@keyframes vji-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.vji-changelog-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.vji-changelog-sub {
  font-size: 16px;
  color: #64748b;
  margin: 0 auto 28px;
  line-height: 1.6;
  max-width: 680px;
}

/* Stats Row */
.vji-changelog-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.vji-ch-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.vji-ch-stat-number {
  font-size: 14px;
  font-weight: 700;
  color: #4f46e5;
}

.vji-ch-stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* Search Box */
.vji-changelog-search-box {
  max-width: 640px;
  margin: 0 auto 12px;
}

.vji-changelog-search-box .vji-search-wrap {
  display: flex;
  align-items: center;
  position: relative;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  padding: 4px 6px 4px 14px;
  transition: all 180ms ease;
}

.vji-changelog-search-box .vji-search-wrap:focus-within {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15), 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

.vji-changelog-search-box input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 15px;
  color: #0f172a;
  outline: none;
}

.vji-changelog-search-box input[type="search"]::-webkit-search-cancel-button,
.vji-ch-search-field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

/* ==========================================================================
   2. Changelog Hub: Plugin Cards Grid (Doc Structure)
   ========================================================================== */
.vji-changelog-products-section {
  padding: 30px 0 40px;
}

.vji-section-header-row {
  margin-bottom: 24px;
}

.vji-section-subheading {
  font-size: 14px;
  color: #64748b;
  margin: 4px 0 0;
}

.vji-changelog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.vji-ch-plugin-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
}

.vji-ch-plugin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.vji-ch-plugin-card__top {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.vji-ch-plugin-card__icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vji-ch-prod-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.vji-ch-prod-icon--woo-import-export {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.vji-ch-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.vji-ch-badge--primary {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.vji-ch-badge--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.vji-ch-plugin-card__titles {
  flex: 1;
}

.vji-ch-plugin-card__titles .vji-hub-prod-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #0f172a;
}

.vji-ch-plugin-card__titles .vji-hub-prod-title a {
  color: inherit;
  text-decoration: none;
}

.vji-ch-plugin-card__titles .vji-hub-prod-title a:hover {
  color: #4f46e5;
}

.vji-ch-plugin-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vji-ch-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 9999px;
}

.vji-ch-version-pill .vji-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.vji-ch-count-pill {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.vji-ch-date-pill {
  font-size: 11px;
  color: #94a3b8;
}

.vji-ch-plugin-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 18px;
  flex-grow: 1;
}

/* Latest Preview in Card */
.vji-ch-latest-preview {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.vji-ch-latest-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.vji-ch-latest-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.vji-ch-latest-ver {
  font-size: 12px;
  font-weight: 700;
  color: #4f46e5;
}

.vji-ch-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vji-ch-latest-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}

.vji-ch-item-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vji-tag-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.vji-tag-chip--feature {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.vji-tag-chip--improvement {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.vji-tag-chip--fix {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.vji-tag-chip--security {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

/* Card Footer */
.vji-ch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.vji-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 160ms ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.vji-btn--primary {
  background: #4f46e5;
  color: #ffffff !important;
}

.vji-btn--primary:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

.vji-btn--secondary {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #cbd5e1;
}

.vji-btn--secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.vji-ch-docs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 150ms ease, background-color 150ms ease;
}

.vji-ch-docs-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* Cross-Navigation Banner */
.vji-changelog-docs-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0 24px;
}

.vji-ch-banner-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vji-ch-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vji-ch-banner-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.vji-ch-banner-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   3. Modern Product Changelog Header & Topbar
   ========================================================================== */
.vji-ch-product-header {
  position: relative;
  padding: 12px 0 36px;
  margin-bottom: 24px;
}

/* Ambient subtle background glow */
.vji-ch-product-header::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 960px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.03) 50%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

.vji-ch-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
  z-index: 2;
}

.vji-ch-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Topbar Action Link */
.vji-ch-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  text-decoration: none;
  transition: all 160ms ease;
}

.vji-ch-topbar-link:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

/* Plugin Switcher Dropdown Pill */
.vji-ch-switcher-wrap {
  position: relative;
}

.vji-ch-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all 160ms ease;
}

.vji-ch-switcher-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.vji-ch-switcher-cur-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.vji-ch-prod-icon--woo-import-export .vji-ch-switcher-cur-icon,
.vji-changelog-product-view[data-product="woo-import-export"] .vji-ch-switcher-cur-icon {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.vji-ch-switcher-cur-name {
  color: #0f172a;
}

.vji-ch-switcher-arrow {
  color: #94a3b8;
  transition: transform 150ms ease;
}

.vji-ch-switcher-btn[aria-expanded="true"] .vji-ch-switcher-arrow {
  transform: rotate(180deg);
}

/* Switcher Dropdown Popover */
.vji-ch-switcher-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 8px 12px -6px rgba(15, 23, 42, 0.04);
  min-width: 290px;
  padding: 8px;
  z-index: 1000;
  display: none;
}

.vji-ch-switcher-dropdown.is-open {
  display: block;
  animation: vji-pop-down 160ms ease-out;
}

@keyframes vji-pop-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vji-ch-switcher-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  padding: 6px 12px 4px;
}

.vji-ch-switcher-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  transition: background-color 150ms ease;
}

.vji-ch-switcher-item:hover,
.vji-ch-switcher-item.is-active {
  background: #f8fafc;
}

.vji-ch-switcher-item.is-active {
  color: #4f46e5;
  background: #eef2ff;
}

.vji-ch-switcher-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vji-ch-switcher-icon.vji-ch-prod-icon--woo-import-export {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.vji-ch-switcher-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vji-ch-switcher-name {
  font-size: 13.5px;
  line-height: 1.3;
  color: #0f172a;
}

.vji-ch-switcher-sub {
  font-size: 11.5px;
  color: #64748b;
}

.vji-ch-check {
  color: #10b981;
  margin-left: auto;
}

/* ==========================================================================
   4. Center Grand Hero Section
   ========================================================================== */
.vji-ch-hero-center {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 16px;
}

/* Floating Version Pill Badge */
.vji-ch-hero-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 12.5px;
  color: #065f46;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.08);
}

.vji-ch-hvp-ver {
  font-weight: 700;
}

.vji-ch-hvp-sep {
  color: #6ee7b7;
  font-size: 10px;
}

.vji-ch-hvp-date {
  font-weight: 500;
  color: #047857;
}

/* Grand Hero Title */
.vji-ch-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.vji-ch-title-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.vji-ch-hero-subtitle {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 680px;
}

/* Clean Metric Badges Row (No awkward slashes) */
.vji-ch-hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

.vji-ch-hbadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: #475569;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 150ms ease;
}

.vji-ch-hbadge:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-1px);
}

.vji-ch-hbadge-icon {
  display: inline-flex;
  align-items: center;
  color: #6366f1;
}

.vji-ch-hbadge-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* ==========================================================================
   5. Modern Timeline Rail & Version Cards
   ========================================================================== */
.vji-ch-timeline-container {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 36px;
}

.vji-ch-timeline-track {
  position: absolute;
  top: 10px;
  bottom: 30px;
  left: 11px;
  width: 2px;
  background: linear-gradient(to bottom, #4f46e5 0%, #cbd5e1 30%, #e2e8f0 100%);
  z-index: 1;
}

.vji-ch-version-card {
  position: relative;
  margin-bottom: 28px;
  transition: opacity 180ms ease;
}

.vji-ch-version-card.is-hidden {
  display: none !important;
}

/* Node Dot on Left Rail */
.vji-ch-timeline-node {
  position: absolute;
  top: 20px;
  left: -36px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vji-ch-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #94a3b8;
  transition: all 180ms ease;
}

.vji-ch-version-card:hover .vji-ch-node-dot {
  border-color: #4f46e5;
  transform: scale(1.2);
}

.vji-ch-node-dot--latest {
  width: 14px;
  height: 14px;
  border-color: #10b981;
  background: #10b981;
  box-shadow: 0 0 0 4px #ecfdf5, 0 0 0 6px #a7f3d0;
}

/* Version Card Box */
.vji-ch-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.vji-ch-version-card:hover .vji-ch-card-box {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.06);
}

.vji-ch-version-card--latest .vji-ch-card-box {
  border-color: #c7d2fe;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.06);
}

/* Version Header */
.vji-ch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.vji-ch-card-header__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.vji-ch-version-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.vji-ch-anchor-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vji-ch-anchor-icon {
  opacity: 0;
  color: #94a3b8;
  transition: opacity 150ms ease;
}

.vji-ch-anchor-link:hover .vji-ch-anchor-icon {
  opacity: 1;
  color: #4f46e5;
}

.vji-ch-tag-latest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vji-ch-items-count {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.vji-ch-card-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vji-ch-release-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.vji-ch-copy-link-btn {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 150ms ease;
}

.vji-ch-copy-link-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Change Items List */
.vji-ch-change-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vji-ch-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.vji-ch-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  margin-top: 2px;
}

.vji-badge-icon {
  display: inline-flex;
  align-items: center;
}

.vji-ch-item__badge--feature {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.vji-ch-item__badge--improvement {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.vji-ch-item__badge--fix {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.vji-ch-item__badge--security {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.vji-ch-item__badge--update {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.vji-ch-item__content {
  flex: 1;
}

.vji-ch-item__text a {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vji-ch-item__text code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #0f172a;
}

/* ==========================================================================
   7. Load More & Empty States
   ========================================================================== */
.vji-ch-load-more-wrap {
  text-align: center;
  padding: 24px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vji-ch-load-more-btn {
  padding: 12px 24px;
  font-size: 14px;
}

.vji-ch-load-subtext {
  font-size: 12px;
  color: #94a3b8;
}

/* Bottom Banner */
.vji-ch-bottom-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.vji-ch-bottom-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.vji-ch-bottom-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.vji-ch-bottom-banner__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Toast */
.vji-ch-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.vji-ch-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vji-ch-toast svg {
  color: #10b981;
}

/* ==========================================================================
   8. Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
  .vji-ch-timeline-container {
    padding-left: 20px;
  }

  .vji-ch-timeline-track {
    left: 4px;
  }

  .vji-ch-timeline-node {
    left: -24px;
  }

  .vji-ch-card-box {
    padding: 18px 16px;
  }

  .vji-ch-hero-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vji-ch-hero-top-row {
    justify-content: center;
  }

  .vji-ch-stats-strip {
    justify-content: center;
  }

  .vji-changelog-cards-grid {
    grid-template-columns: 1fr;
  }

  .vji-changelog-docs-banner {
    flex-direction: column;
    text-align: center;
  }

  .vji-ch-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .vji-ch-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .vji-ch-card-header__right {
    width: 100%;
    justify-content: space-between;
  }
}
