/* =====================================================================
   VERSION HISTORY PAGE — Mobile-First (XS <576px)
   ===================================================================== */
:root {
  --vh-blue: #26a7fe;
  --vh-green: #02cb64;
  --vh-orange: #ff8026;
  --vh-t-1: #000000e5;
  --vh-t-2: #000000b2;
  --vh-t-3: #00000080;
  --vh-title: #132a3f;
  --vh-card-border: #26a7fe29;
  --vh-card-bg: #26a7fe14;
  --vh-entry-border: #d6d6d6;
  --vh-gradient: linear-gradient(180deg, #26a7fe 0%, #02cb64 100%);
}

/* =====================================================================
   HERO — XS (<576px)
   ===================================================================== */
.vh-hero {
  width: 100%;
  padding: 0 20px;
}

.vh-hero-bg {
  border-radius: 20px;
  overflow: hidden;
  background-image: url(../images/common/review-bg.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.vh-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}

.vh-hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--vh-title);
  text-align: center;
  margin: 0;
  padding: 0 20px;
  text-wrap: balance;
}

.vh-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.vh-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  border-radius: 4px;
  padding: 4px;
}

.vh-breadcrumb-icon {
  width: 24px;
  height: 24px;
}

.vh-breadcrumb-text {
  font-size: 18px;
  line-height: 29px;
  color: var(--vh-t-3);
}

.vh-breadcrumb-arrow {
  width: 24px;
  height: 24px;
}

.vh-breadcrumb-link {
  font-size: 18px;
  line-height: 29px;
  background: var(--vh-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 2px 4px;
}

.vh-breadcrumb-end {
  font-size: 18px;
  line-height: 29px;
  color: var(--vh-t-3);
  padding: 2px 4px;
}

.vh-hero-breadcrumb a.vh-breadcrumb-text:hover {
  background: var(--vh-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================================
   PRODUCT CARD — XS (<576px)
   ===================================================================== */
.vh-product {
  padding: 100px 20px;
}

.vh-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--vh-card-border);
  border-radius: 20px;
  background: var(--vh-card-bg);
  padding: 39px;
  row-gap: 40px;
}

.vh-product-img-wrap {
  display: flex;
  align-items: center;
  padding: 0 52px;
}

.vh-product-img {
  width: 235px;
}

.vh-product-body {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  width: 100%;
}

.vh-product-info {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.vh-product-header {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.vh-product-name {
  font-size: 36px;
  font-weight: 600;
  color: var(--vh-t-1);
  margin: 0;
}

.vh-product-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--vh-t-1);
  margin: 0;
}

.vh-product-features {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.vh-product-feature {
  font-size: 18px;
  line-height: 32px;
  color: var(--vh-t-2);
}

.vh-product-feature:hover {
  color: var(--vh-blue);
}

.vh-product-btns {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.vh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  border-radius: 999px;
  padding: 10px 36px;
  height: 58px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.vh-btn-blue {
  background: var(--vh-blue);
}

.vh-btn-orange {
  background: var(--vh-orange);
}

.vh-btn-icon-wrap {
  display: flex;
  align-items: center;
  padding: 3px;
}

.vh-btn-icon {
  width: 18px;
  height: 18px;
}

.vh-btn-orange .vh-btn-icon {
  width: 24px;
  height: 24px;
}

/* =====================================================================
   VERSION HISTORY — XS (<576px)
   ===================================================================== */
.vh-versions {
  padding: 0 20px 100px;
}

.vh-versions-wrap {
  display: flex;
  flex-direction: column;
  row-gap: 80px;
}

/* Sidebar */
.vh-sidebar {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--vh-entry-border);
  border-radius: 20px;
  overflow: hidden;
}

.vh-sidebar-header {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  padding: 0 24px;
  height: 64px;
  background: linear-gradient(98.28deg, var(--vh-blue) 0%, var(--vh-green) 99.93%);
}

.vh-sidebar-header-icon {
  width: 24px;
  height: 24px;
}

.vh-sidebar-header-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  color: #ffffff;
}

.vh-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 12px;
  row-gap: 4px;
}

.vh-sidebar-item {
  display: flex;
  align-items: center;
  padding: 20px 12px 20px 16px;
  height: 64px;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: var(--vh-t-2);
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
}

.vh-sidebar-item:hover,
.vh-sidebar-item.active {
  background: #f5f5f5;
  color: var(--vh-blue);
}

/* Entries */
.vh-content {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

/* Each major-version panel mirrors the previous .vh-content spacing while active */
.vh-content-panel {
  display: none;
}

.vh-content-panel.active {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.vh-content-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 60px;
  color: var(--vh-t-1);
  margin: 0;
  padding: 0 8px;
}

.vh-entries {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.vh-entry {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--vh-entry-border);
  border-radius: 20px;
  padding: 23px;
  row-gap: 16px;
}

.vh-entry-header {
  display: flex;
  align-items: center;
  column-gap: 12px;
}

.vh-entry-version {
  font-size: 24px;
  font-weight: 600;
  line-height: 43px;
  color: var(--vh-t-1);
}

.vh-entry-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #26a7fe33;
  padding: 0 14px;
  height: 36px;
  font-size: 16px;
  line-height: 29px;
  color: var(--vh-t-2);
}

.vh-entry-changes {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.vh-entry-change {
  font-size: 18px;
  line-height: 32px;
  color: var(--vh-t-2);
}

.vh-entry-change::marker {
  color: var(--vh-blue);
}

.vh-entry-change:hover {
  color: var(--vh-t-2);
}

@media (min-width: 768px) {
  /* Tablet & desktop H1: max-width breaks the title after the platform name (Windows / Mac) */
  .vh-hero-title {
    font-size: 40px;
    max-width: 18.5em;
    padding: 0;
    text-wrap: wrap;
  }
}

@media (min-width:576px) {
  .vh-product-btns {
    flex-direction: row;
    gap: 40px;
  }

  .vh-product-btns .vh-btn {
    flex: 1;
  }
}

@media (min-width: 992px) {
  .vh-product-card {
    flex-direction: row;
    gap: 92px;
  }

  .vh-product-img-wrap {
    padding: 0;
  }

  .vh-product-body {
    flex: 1;
    width: auto;
  }
}

@media (min-width: 1200px) {
  .vh-hero-title {
    font-size: 56px;
    line-height: 1.25;
  }

  .vh-versions-wrap {
    flex-direction: row;
    gap: 40px;
  }

  .vh-sidebar {
    width: 400px;
    height: max-content;
  }

  .vh-content {
    flex: 1;
  }

  .vh-product-btns .vh-btn {
    max-width: 240px;
  }
}

/* =====================================================================
   XXXL (>=1920px)
   ===================================================================== */
@media (min-width: 1600px) {
  .vh-product {
    padding: 100px 240px;
  }

  .vh-versions {
    padding: 0 240px 100px;
  }
}

@media (min-width: 1920px) {
  .vh-product {
    padding: 100px 320px;
  }

  .vh-versions {
    padding: 0 320px 100px;
  }

  .vh-versions-wrap {
    flex-direction: row;
    column-gap: 40px;
  }

  .vh-sidebar {
    width: 400px;
    flex-shrink: 0;
  }

  .vh-content {
    flex: 1;
  }
}
