body {
  overflow-x: hidden;
}

.container-lp .vg-nav {
  padding-bottom: 20px;
  padding-top: 0px;
  margin-top: 0px;
}

.container-lp .vg-nav.scrolled {
  padding-top: 20px;
}

.container-lp .full-bleed {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  transition: width 0.4s ease, margin-left 0.4s ease, margin-right 0.4s ease;
  padding-left: 160px;
  padding-right: 160px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container-lp .full-bleed {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ── Article header ──────────────────────────────── */
.blog-article__category {
  display: inline-block;
  background: rgba(234, 0, 43, .08);
  color: var(--primary-color-homepage);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.blog-article__title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--secondary-color-homepage);
  letter-spacing: -.01em;
  margin: 0 0 22px;
  max-width: 900px;
}

.blog-article__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e4e8f0;
  font-size: 14px;
  color: #6b7a9a;
}

.blog-article__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-article__author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary-color-homepage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.blog-article__author-name {
  font-weight: 700;
  color: var(--secondary-color-homepage);
  font-size: 14px;
  display: block;
  line-height: 1.3;
}

.blog-article__meta-dot {
  color: #cdd4e3;
}

/* ── Body ─────────────────────────────────────────── */
.blog-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #374151;
}

.blog-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--secondary-color-homepage);
  margin: 44px 0 18px;
  letter-spacing: -.01em;
}

.blog-body p {
  margin-bottom: 20px;
}

.blog-body ul {
  margin: 0 0 24px 24px;
  padding: 0;
}

.blog-body ul li {
  margin-bottom: 10px;
  padding-left: 8px;
}

.blog-body ul li::marker {
  color: var(--primary-color-homepage);
}

.blog-body b {
  font-weight: 600;
  color: var(--secondary-color-homepage);
}

.blog-article__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 32px 0 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.blog-article__table th,
.blog-article__table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
}

.blog-article__table thead th {
  background: var(--secondary-color-homepage);
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 13px;
}

.blog-article__table thead th:first-child {
  text-align: left;
}

.blog-article__table thead th a {
  color: #fff;
  text-decoration: none;
}

.blog-article__table thead th a:hover {
  text-decoration: underline;
}

.blog-article__table tbody tr:hover {
  background: #f9fafb;
}

.blog-article__table tbody tr:last-child td {
  border-bottom: none;
}

.blog-article__table td:first-child {
  background: #f8fafc;
  font-weight: 600;
  color: var(--secondary-color-homepage);
  width: 20%;
}

.blog-article__table td:not(:first-child) {
  text-align: center;
  color: #374151;
  font-weight: 500;
}

.blog-article__table td .fa-check {
  color: #16a34a;
  font-size: 15px;
}

.blog-article__table strong {
  color: var(--secondary-color-homepage);
}

.blog-article__table-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: var(--primary-color-homepage);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: opacity .2s;
}

.blog-article__table-btn:hover {
  opacity: .85;
  color: #fff;
}

.blog-article__table-btn i {
  font-size: 10px;
  transition: transform .2s;
}

.blog-article__table-btn:hover i {
  transform: translateX(3px);
}

/* ── Footer CTA + back link ───────────────────────── */
.blog-article__footer-cta {
  margin-top: 56px;
  padding: 36px;
  background: #f5f7fc;
  border-radius: 18px;
  text-align: center;
}

.blog-article__footer-cta h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color-homepage);
  margin: 0 0 10px;
}

.blog-article__footer-cta p {
  color: #6b7a9a;
  font-size: 15px;
  margin: 0 0 20px;
}

.blog-article__footer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color-homepage);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 26px;
  transition: opacity .2s;
}

.blog-article__footer-cta a:hover {
  opacity: .9;
}

.blog-article__footer-cta a i {
  transition: transform .2s;
}

.blog-article__footer-cta a:hover i {
  transform: translateX(4px);
}

.blog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  background: rgba(27, 40, 85, .07);
  color: var(--secondary-color-homepage);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 24px;
  transition: background .3s ease, color .3s ease;
}

.blog-article__back:hover {
  background: #0f1e45;
  color: #fff;
}

@media (max-width: 768px) {
  .blog-article__title {
    font-size: 1.7rem;
  }

  .blog-body,
  .blog-body p {
    font-size: 16px;
  }

  .blog-article__table {
    font-size: 12px;
  }

  .blog-article__table th,
  .blog-article__table td {
    padding: 12px 10px;
  }
}

/* ── Related articles sidebar (foldable) ──────────── */
#articleCol,
#sidebarCol {
  transition: width .35s ease, opacity .3s ease, padding .35s ease;
}

.blog-related {
  position: sticky;
  top: 100px;
}

.blog-related__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary-color-homepage);
  cursor: pointer;
}

.blog-related__toggle i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  color: #6b7a9a;
  transition: background .2s ease, color .2s ease;
}

/* Unfolded (expanded) — light blue badge */
.blog-related__toggle[aria-expanded="true"] i {
  background: rgba(27, 40, 85, .08);
}

/* Hover — darker navy, regardless of state */
.blog-related__toggle:hover i {
  background: var(--secondary-color-homepage);
  color: #fff;
}

.blog-related__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Compact variant of .blog-card for the sidebar */
.blog-card--sm .blog-card__img {
  height: 140px;
}

.blog-card--sm .blog-card__body {
  padding: 16px 18px 18px;
}

.blog-card--sm .blog-card__title {
  font-size: 14.5px;
  margin-bottom: 4px;
}

/* Folded state — sidebar shrinks away, article takes its place */
@media (min-width: 992px) {
  #sidebarCol.is-collapsed {
    width: 0%;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  #articleCol.is-full {
    width: 100%;
  }
}

/* Reopen tab — pinned to the viewport edge while folded */
.blog-related__reopen {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 44px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--secondary-color-homepage);
  border: 1px solid var(--secondary-color-homepage);
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: #fff;
  box-shadow: -4px 4px 16px rgba(27, 40, 85, .08);
  cursor: pointer;
  z-index: 1030;
  transition: background .2s ease, color .2s ease;
}

.blog-related__reopen i {
  font-size: 12px;
}

.blog-related__reopen span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.blog-related__reopen:hover {
  background: rgba(27, 40, 85, .08);
  border-color: rgba(27, 40, 85, .08);
  color: var(--secondary-color-homepage);
}

@media (max-width: 991px) {
  .blog-related {
    position: static;
    margin-top: 40px;
  }

  .blog-related__reopen {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .blog-related__toggle {
    cursor: default;
  }

  .blog-related__toggle i {
    display: none !important;
  }
}
