/* ===== BỔ SUNG CHO TRANG CHỦ (GUTENBERG / GENERATEBLOCKS) ===== */

/* 1. Ảnh nền & lớp phủ Hero (thay thế .hero__bg và .hero__veil để editor hiển thị chuẩn) */
.hero {
  background: var(--navy) url("./hero-home.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(1, 84, 149, 0.92), rgba(1, 84, 149, 0.65));
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
@media (min-width: 981px) {
  .hero::before {
    width: 883px;
    background: linear-gradient(90.5deg, #015495 0.3%, rgba(1, 84, 149, 0) 98.8%);
  }
}

/* 2. Ảnh nền & lớp phủ 5 bước (thay thế .steps__bg và .steps__fade) */
.steps {
  background: var(--navy) url("./steps-bg.jpg") center / cover no-repeat;
}
.steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 84, 149, 0.4);
  pointer-events: none;
}
.steps::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 440px;
  background: linear-gradient(180deg, #015495 0%, rgba(1, 84, 149, 0) 100%);
  pointer-events: none;
}
.steps .wrap {
  position: relative;
  z-index: 1;
}
.steps .h-section {
  text-align: center;
}
.step__no {
  width: 100%;
}

/* 3. Khối Đào tạo & Hoạt động */
.training .h-section {
  max-width: 620px;
}
.training__media figure,
.act__media figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

/* Danh sách dấu tích xanh dùng core wp:list */
.training ul.wp-block-list {
  margin: 28px 0 40px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.training ul.wp-block-list li::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: #d1e0cd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%230B9444'%3E%3Cpath d='M378-246 154-470l43-43 181 181 384-384 43 43-427 427Z'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* 4. Icon mũi tên cho nút bấm và liên kết "Xem tất cả" */
.btn--arrow::after,
.link-all::after {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.btn--arrow::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.link-all::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8941e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}