/* ============================================================
   site-header__search -- V2 (AVA hero banner)
   ============================================================ */

/* Override default padding from theme */
.site-header .site-header__search.site-header__search--v2 {
  padding: 0;
  background: url('/sites/help/images/pages/home-v2/bg-header.webp') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

/* Inner wrapper - centered content */
.site-header__search--v2 .site-header__search-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 56px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Avatar robot */
.site-header__search--v2 .site-header__search-avatar {
  /* width: 80px; */
  /* height: 80px; */
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  /* box-shadow: 0 4px 24px rgba(80, 100, 220, 0.25); */
  /* border: 3px solid #fff; */
  flex-shrink: 0;
  margin: 0;
}

.site-header__search--v2 .site-header__search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title */
.site-header__search--v2 .site-header__search-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 28px;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(60, 80, 180, 0.18);
}

/* Search box wrapper */
.site-header__search--v2 .site-header__search-box {
  width: 100%;
  max-width: 680px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 4px 32px rgba(80, 60, 200, 0.18);
  /* Gradient border effect */
  background-image: linear-gradient(#fff, #fff),
                    linear-gradient(90deg, #3794FF 0%, #D52BFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
}

/* AI search icon inside the box */
.site-header__search--v2 .site-header__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

.site-header__search--v2 .site-header__search-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

/* Override HKB form styles inside our new box */
.site-header__search--v2 .ava-search-form {
  display: flex;
  align-items: center;
  flex: 1;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.site-header__search--v2 .ava-search-form__field {
  flex: 1;
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  color: #333;
  padding: 14px 16px 14px 12px;
  border-radius: 50px;
  min-width: 0;
}

.site-header__search--v2 .ava-search-form__field::placeholder {
  color: #999;
  font-size: 15px;
}

.site-header__search--v2 .ava-search-form__button {
  display: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 767px) {
  .site-header__search--v2 .site-header__search-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .site-header__search--v2 .site-header__search-inner {
    padding: 36px 16px 40px;
  }

  .site-header__search--v2 .site-header__search-avatar {
    width: 64px;
    height: 64px;
  }

  .site-header__search--v2 .ava-search-form__field {
    font-size: 14px;
    padding: 12px 12px 12px 10px;
  }

  .site-header__search--v2 .site-header__search-icon img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 479px) {
  .site-header__search--v2 .site-header__search-title {
    font-size: 18px;
  }
}

/* ============================================================
   Home Page — reset page layout (remove sidebar/article chrome)
   ============================================================ */

/* Hide the ht-page wrapper that single.php / page.php injects */
.home-page ~ .ht-page,
body.page-template-home-template .ht-page {
  display: none;
}

/* Remove default page padding/margin injected by theme on home template */
body.page-template-home-template .ht-page,
body.page-template-home-template .hkb-article,
body.page-template-home-template .hkb-article__header,
body.page-template-home-template .hkb-article__content {
  display: none !important;
}

/* ============================================================
   Section: Stats / Numbers (.home-stats)
   ============================================================ */

.home-stats {
  background-color: #F0F4FF;
  padding: 48px 20px;
}

.home-stats__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- Heading row --- */
.home-stats__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.home-stats__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.5;
  color: #1F1F1F;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: var(--Font-Family-Heading, Inter);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.home-stats__title-highlight {
  background: linear-gradient(98deg, #3794FF 8.87%, #D52BFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.home-stats__detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid #2563EB;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2563EB;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.home-stats__detail-btn:hover {
  background: #2563EB;
  color: #fff;
}

.home-stats__detail-btn:hover img {
  filter: brightness(0) invert(1);
}

.home-stats__detail-btn img {
  width: 16px;
  height: 16px;
}

/* --- Numbers row --- */
.home-stats__numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.home-stats__from {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #6B7280;
  flex-shrink: 0;
  color: #1F1F1F;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: var(--Font-Family-Heading, Inter);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.home-stats__items {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* Gradient number */
.home-stats__number {
  background: var(--AI_Primary, linear-gradient(98deg, #3794FF 8.87%, #D52BFF 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.home-stats__label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  text-align: left;
  color: #1F1F1F;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: var(--Font-Family-Heading, Inter);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ============================================================
   Responsive — Stats
   ============================================================ */

@media (max-width: 1023px) {
  .home-stats__number {
    font-size: 52px;
  }

  .home-stats__items {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .home-stats {
    padding: 36px 16px;
  }

  .home-stats__heading {
    flex-direction: column;
    gap: 12px;
  }

  .home-stats__title {
    font-size: 16px;
  }

  .home-stats__numbers {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .home-stats__items {
    gap: 28px;
  }

  .home-stats__number {
    font-size: 42px;
  }

  .home-stats__item {
    align-items: center;
    text-align: center;
  }

  .home-stats__label {
    text-align: center;
  }
}

@media (max-width: 479px) {
  .home-stats__number {
    font-size: 36px;
  }

  .home-stats__items {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
}

/* ============================================================
   Section: Quick Links (.home-quicklinks)
   ============================================================ */

.home-quicklinks {
  background-color: #fff;
  padding: 48px 20px;
}

.home-quicklinks__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.home-quicklinks__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.home-quicklinks__card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

/* Image wrapper */
.home-quicklinks__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #EEF2FF 0%, #DBEAFE 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(99, 146, 245, 0.15);
  transition: box-shadow 0.2s ease;
}

.home-quicklinks__card:hover .home-quicklinks__img {
  box-shadow: 0 8px 28px rgba(80, 120, 240, 0.15);
}

.home-quicklinks__img img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

/* Label */
.home-quicklinks__label {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
  padding: 0 4px;
  overflow: hidden;
    color: var(--Text-Primary, #181D27);
    text-overflow: ellipsis;

    /* Title 2/Bold */
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--Line-height-m, 28px); /* 140% */
    letter-spacing: var(--Letter-spacing-None, 0);
}

/* ============================================================
   Responsive — Quick Links
   ============================================================ */

@media (min-width: 480px) and (max-width: 767px) {
  .home-quicklinks__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .home-quicklinks {
    padding: 36px 16px;
  }

  .home-quicklinks__inner {
    gap: 16px;
  }

  .home-quicklinks__img {
    /* aspect-ratio: 16 / 7; */
  }

  .home-quicklinks__img img {
    width: 40%;
    height: 40%;
  }

  .home-quicklinks__label {
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .home-quicklinks__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Section: Tutorial Tabs (.home-tutorial)
   ============================================================ */

.home-tutorial {
  background-color: #F0F4FF;
  padding: 48px 0 56px;
}

.home-tutorial__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Heading */
.home-tutorial__heading {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin: 0 0 32px;
}

/* --- Tab nav --- */
.home-tutorial__tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid #E5E7EB;
  margin-bottom: 0;
}

.home-tutorial__tab {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #6B7280;
  padding: 12px 28px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}
.home-tutorial__tab:hover {
    background: transparent;
}

.home-tutorial__tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563EB;
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.home-tutorial__tab.active {
  color: #2563EB;
  font-weight: 600;
}

.home-tutorial__tab.active::after {
  opacity: 1;
}

.home-tutorial__tab:not(.active):hover {
  color: #2563EB;
  background: #F0F4FF;
}

.home-tutorial__tab:not(.active):hover::after {
  opacity: 0.35;
}

/* --- Panels --- */
.home-tutorial__panels {
  position: relative;
  padding-top: 32px;
}

.home-tutorial__panel {
  display: none;
  align-items: center;
  gap: 8px;
  position: relative;
}

.home-tutorial__panel.active {
  display: flex;
}

/* --- Prev/Next nav buttons --- */
.home-tutorial__nav {
  flex-shrink: 0;
  width: 40px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid #D1D5DB;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #374151;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.home-tutorial__nav:not(:disabled):not(.disabled):hover {
  border-color: #2563EB;
  color: #2563EB;
  background: #EFF6FF;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

.home-tutorial__nav:disabled,
.home-tutorial__nav.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Slider wrap (clips the sliding grid) --- */
.home-tutorial__slider-wrap {
  flex: 1;
  overflow: hidden;
}

/* --- Slider (the scrolling grid) --- */
.home-tutorial__slider {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 12px;
  /* paged sliding via transform */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* --- Single item card --- */
.home-tutorial__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 8px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #E5E7EB;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
  min-height: 142px;
}

.home-tutorial__item:hover {
  border-color: #2563EB;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.12);
  text-decoration: none;
}
.home-tutorial__item:hover span {
  color: var(--Colors-Neutrals-Neutral-800, #170F49);
leading-trim: both;
text-edge: cap;
font-feature-settings: 'liga' off, 'clig' off;

/* Display 3/Bold */
font-family: var(--Typography-Font-Family-Primary-Font, Inter);
font-size: var(--Typography-Font-Size-Display-3, 16px);
font-style: normal;
font-weight: 600;
line-height: var(--Line-Height-Body-Large, 22px);
}

/* Active/selected state */
.home-tutorial__item.is-active {
  border-color: #2563EB;
  background: #fff;
}

.home-tutorial__item.is-active .home-tutorial__icon {
  background: #2563EB;
}

.home-tutorial__item.is-active .home-tutorial__icon .ic-default {
  display: none;
}

.home-tutorial__item.is-active .home-tutorial__icon .ic-hover {
  display: block;
  filter: brightness(0) invert(1);
}

.home-tutorial__item.is-active span {
  font-weight: 700;
  color: #111827;
}

/* Icon box */
.home-tutorial__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  flex-shrink: 0;
  position: relative;
}

.home-tutorial__icon .ic-default,
.home-tutorial__icon .ic-hover {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: absolute;
  transition: opacity 0.15s;
}

.home-tutorial__icon .ic-hover {
  display: none;
}

.home-tutorial__item:hover .home-tutorial__icon {
  background: #2563EB;
}

.home-tutorial__item:hover .home-tutorial__icon .ic-default {
  display: none;
}

.home-tutorial__item:hover .home-tutorial__icon .ic-hover {
  display: block;
  filter: brightness(0) invert(1);
}

/* Item label */
.home-tutorial__item span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-align: center;
  line-height: 1.4;
  word-break: break-word;
  color: var(--Text-Secondary-Neutral, #717680);
  font-variant-numeric: lining-nums tabular-nums;

/* Body Large/Medium */
  font-family: var(--Font-Family-Body, Inter);
  font-size: var(--Font-Size-Body-Large, 16px);
  font-style: normal;
  font-weight: 500;
  line-height: var(--Line-Height-Body-Large, 22px); /* 137.5% */
}

/* ============================================================
   Responsive — Tutorial
   ============================================================ */

@media (max-width: 1023px) {
  .home-tutorial__tab {
    font-size: 14px;
    padding: 12px 20px;
  }
}

@media (max-width: 767px) {
  .home-tutorial {
    padding: 32px 0 40px;
  }

  .home-tutorial__inner {
    padding: 0 12px;
  }

  .home-tutorial__heading {
    font-size: 20px;
    margin-bottom: 20px;
    padding: 0 4px;
  }

  /* Tab bar: scroll ngang, ẩn scrollbar */
  .home-tutorial__tabs {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    border-bottom: 2px solid #E5E7EB;
    background: #F0F4FF;
  }

  .home-tutorial__tabs::-webkit-scrollbar {
    display: none;
  }

  .home-tutorial__tab {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Ẩn nav prev/next trên mobile — dùng scroll thay thế */
  .home-tutorial__nav {
    display: none;
  }

  /* Slider wrap: scroll ngang tự nhiên */
  .home-tutorial__slider-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    max-width: 100%;
    min-width: 0;
  }

  .home-tutorial__slider-wrap::-webkit-scrollbar {
    display: none;
  }

  /* Panel: clip overflow để không ảnh hưởng page */
  .home-tutorial__panel {
    overflow: hidden;
  }

  /* Slider: 2 hàng cố định, auto cols theo content */
  .home-tutorial__slider {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: unset;
    gap: 10px;
    width: max-content;
    padding: 4px 2px 8px;
  }

  /* Item card mobile */
  .home-tutorial__item {
    width: 110px;
    min-height: 110px;
    padding: 14px 8px 12px;
    gap: 8px;
    border-radius: 10px;
  }

  .home-tutorial__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .home-tutorial__icon .ic-default,
  .home-tutorial__icon .ic-hover {
    width: 22px;
    height: 22px;
  }

  .home-tutorial__item span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
  }
}

@media (max-width: 479px) {
  .home-tutorial__item {
    width: 96px;
    min-height: 100px;
    padding: 12px 6px 10px;
  }

  .home-tutorial__icon {
    width: 36px;
    height: 36px;
  }

  .home-tutorial__icon .ic-default,
  .home-tutorial__icon .ic-hover {
    width: 20px;
    height: 20px;
  }

  .home-tutorial__item span {
    font-size: 11px;
  }
}

/* ============================================================
   Section: Video (.home-video)
   ============================================================ */

.home-video {
  background-color: #fff;
  padding: 48px 20px 56px;
}

.home-video__inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Header row --- */
.home-video__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.home-video__heading {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.home-video__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1.5px solid #2563EB;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2563EB;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.home-video__view-all:hover {
  background: #2563EB;
  color: #fff;
  text-decoration: none;
}

.home-video__view-all:hover img {
  filter: brightness(0) invert(1);
}

.home-video__view-all img {
  width: 16px;
  height: 16px;
}

/* --- Grid --- */
.home-video__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-height: 120px;
}

.home-video__loading {
  grid-column: 1 / -1;
  text-align: center;
  color: #9CA3AF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 40px 0;
}

/* --- Card --- */
.home-video__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Thumbnail */
.home-video__thumb {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /* aspect-ratio: 4 / 3; */
  text-decoration: none;
  background: #1E293B;
}

.home-video__thumb img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-video__thumb:hover img:first-child {
  transform: scale(1.04);
  opacity: 0.85;
}

/* Play button overlay */
.home-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.home-video__thumb:hover .home-video__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.home-video__play img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

/* Title bar */
.home-video__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid #E5E7EB;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;

  /* Typography spec */
  color: #19213D;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}

.home-video__title:hover {
  border-radius: 12px;
  border: 1.5px solid #3990FF;
  background: #fff;
  box-shadow: 0 5px 15px 0 rgba(74, 58, 255, 0.06);
  color: #19213D;
  text-decoration: none;
}

.home-video__title-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.home-video__title-arrow .ic-default {
  display: block;
}

.home-video__title-arrow .ic-hover {
  display: none;
}

.home-video__title:hover .home-video__title-arrow {
  transform: translateX(2px);
}

.home-video__title:hover .home-video__title-arrow .ic-default {
  display: none;
}

.home-video__title:hover .home-video__title-arrow .ic-hover {
  display: block;
}

/* ============================================================
   Video popup overlay
   ============================================================ */

.home-video-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.home-video-popup.is-open {
  display: flex;
}

.home-video-popup__inner {
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.home-video-popup__inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.home-video-popup__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.home-video-popup__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   Responsive — Video
   ============================================================ */

@media (max-width: 1023px) {
  .home-video__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .home-video {
    padding: 36px 16px 44px;
  }

  .home-video__heading {
    font-size: 20px;
  }

  .home-video__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .home-video__title {
    font-size: 12px;
    padding: 8px 10px;
  }
}

@media (max-width: 479px) {
  .home-video__grid {
    grid-template-columns: 1fr;
  }

  .home-video__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media screen and (min-width: 768px) {
    .ht-page {
        padding-top: 0;
    }
}