/*
 * Trang #33985 - Hội nghị kết nối tuyển dụng, đào tạo.
 * Design read: landing page sự kiện nhân lực, trust-first / editorial.
 * Dials: variance 3, motion 2, density 4. Chỉ áp dụng cho trang này.
 */
body.page-id-33985 {
  --recruitment-ink: #092848;
  --recruitment-blue: #0874b8;
  --recruitment-red: #c52d2b;
  --recruitment-line: #d8e2ec;
  --recruitment-surface: #f4f8fb;
}

body.page-id-33985 .heza-page-main { padding-bottom: clamp(48px, 6vw, 88px) !important; }
body.page-id-33985 .wp-block-post-content > .heza-pc-section { margin-bottom: clamp(28px, 4vw, 56px); }

/* Thay marquee cũ bằng thông báo tĩnh, không gây xao nhãng hoặc mất nội dung khi giảm chuyển động. */
body.page-id-33985 .scrolling-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
  color: var(--recruitment-ink);
  font-family: var(--heza-font__main);
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.35;
  white-space: normal;
}

body.page-id-33985 .scrolling-text-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 20px);
  width: 100%;
  padding: clamp(18px, 2.5vw, 30px) clamp(18px, 4vw, 48px);
  border: 1px solid var(--recruitment-line);
  border-left: 4px solid var(--recruitment-red);
  background: var(--recruitment-surface);
  box-sizing: border-box;
  animation: none !important;
  transform: none !important;
}

body.page-id-33985 .scrolling-text-wrapper span {
  flex: 0 1 auto;
  font-weight: 700;
  text-align: center;
}

body.page-id-33985 .scrolling-text-wrapper img {
  flex: 0 0 auto;
  display: none !important;
  width: clamp(32px, 3.5vw, 48px) !important;
  height: auto;
  margin: 0 !important;
}

/* Địa điểm và ảnh sự kiện có chung chiều cao, tạo một khối thông tin duy nhất. */
body.page-id-33985 .heza-pc--cols-2 > .wp-block-columns { gap: clamp(12px, 1.8vw, 24px); align-items: stretch; }
body.page-id-33985 .heza-pc--cols-2 .wp-block-column { min-width: 0; }
body.page-id-33985 .heza-pc--cols-2 .heza-map,
body.page-id-33985 .heza-pc--cols-2 .wp-block-image { display: block; margin: 0 !important; overflow: hidden; background: var(--recruitment-surface); }
body.page-id-33985 .heza-pc--cols-2 .heza-map iframe,
body.page-id-33985 .heza-pc--cols-2 .wp-block-image img:not(.emoji):not(.wp-smiley) { display: block; width: 100% !important; height: clamp(300px, 29vw, 420px) !important; min-height: 0 !important; margin: 0 !important; border: 0; object-fit: cover; }

/* Nhãn HEZA bên dưới ảnh là thông tin phụ, không cạnh tranh với tiêu đề trang. */
body.page-id-33985 .heza-pc--cols-2 .scrolling-text { margin-top: 14px; color: var(--recruitment-blue); font-size: clamp(14px, 1.25vw, 17px); letter-spacing: .04em; }
body.page-id-33985 .heza-pc--cols-2 .scrolling-text-wrapper { padding: 0; border: 0; background: transparent; }

/* Nút đăng ký có nhịp, độ tương phản và vùng bấm phù hợp. */
body.page-id-33985 .register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 52px;
  margin: 0 auto !important;
  padding: 14px 28px !important;
  border: 1px solid var(--recruitment-red);
  border-radius: 2px !important;
  background: var(--recruitment-red) !important;
  color: #fff !important;
  font-family: var(--heza-font__main) !important;
  font-size: clamp(16px, 1.55vw, 20px) !important;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
body.page-id-33985 .register-button:hover,
body.page-id-33985 .register-button:focus-visible { border-color: #a82324; background: #a82324 !important; color: #fff; }
body.page-id-33985 .register-button:active { transform: translateY(1px); }
body.page-id-33985 .register-button:focus-visible { outline: 3px solid rgba(8, 116, 184, .35); outline-offset: 3px; }

/* Bản tin: ảnh, tiêu đề và mô tả có thứ bậc rõ trên một khung biên tập. */
body.page-id-33985 .heza-pc-title.is-accent { margin: 0 !important; color: var(--recruitment-ink); font-size: clamp(23px, 2.25vw, 31px); font-weight: 700; }
body.page-id-33985 .news-container { max-width: 900px; margin: 0 auto; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--recruitment-line); border-top: 4px solid var(--recruitment-blue); background: #fff; }
body.page-id-33985 .news-title { margin: 0 0 18px !important; padding: 0 0 14px !important; border: 0 !important; border-bottom: 1px solid var(--recruitment-line) !important; color: var(--recruitment-ink) !important; font-family: var(--heza-font__main); font-size: clamp(21px, 2.1vw, 29px) !important; font-weight: 700; line-height: 1.3; }
body.page-id-33985 .news-image,
body.page-id-33985 .news-container > img { display: block; width: 100% !important; height: auto; max-height: 520px; margin: 0 0 20px !important; object-fit: cover; }
body.page-id-33985 .news-description { margin: 0; color: #334155; font-family: var(--heza-font__main); font-size: 17px !important; line-height: 1.65; }
body.page-id-33985 .read-more { display: inline-flex; align-items: center; min-height: 38px; margin-top: 18px !important; padding: 0; border-bottom: 2px solid currentColor !important; color: var(--recruitment-blue) !important; font-family: var(--heza-font__main); font-size: 16px !important; font-weight: 700; line-height: 1.2; text-decoration: none; }
body.page-id-33985 .read-more:hover,
body.page-id-33985 .read-more:focus-visible { color: var(--recruitment-red) !important; }

@media (max-width: 781px) {
  body.page-id-33985 .scrolling-text-wrapper { padding: 16px; border-left-width: 3px; }
  body.page-id-33985 .scrolling-text { font-size: 17px; }
  body.page-id-33985 .scrolling-text-wrapper img { width: 28px !important; }
  body.page-id-33985 .heza-pc--cols-2 > .wp-block-columns { gap: 14px !important; }
  body.page-id-33985 .heza-pc--cols-2 .heza-map iframe,
  body.page-id-33985 .heza-pc--cols-2 .wp-block-image img:not(.emoji):not(.wp-smiley) { height: 250px !important; }
  body.page-id-33985 .heza-pc--cols-2 .scrolling-text-wrapper { padding: 0; }
  body.page-id-33985 .news-container { padding: 20px; }
}

@media (max-width: 480px) {
  body.page-id-33985 .scrolling-text-wrapper img { display: none !important; }
  body.page-id-33985 .register-button { width: 100%; padding-inline: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-33985 .register-button { transition: none; }
}
