/*!
 * mang-luoi.css — trang Mạng lưới dựng bằng AVADA (Figma frame `Mạng lưới`,
 * node 552-6091, 1600 x 4112). Cùng cách làm với gioi-thieu.css: nội dung là
 * container / column / text / title / post cards / form gốc của Avada, container
 * tự khai lớp lb-ml-*, file này chỉ tạo kiểu. Không bám ID trang.
 *
 * Số đo: avada-newsite/25-dupcheck-mang-luoi.md (cmd+click từng lớp, 16/09/2026):
 *   khung 1600, cột 1200 (lề 200) · hero 504 gradient #041691 → #000526
 *   hàng nhãn: chữ 16/500 uppercase tracking 5% #FF3251 + kẻ 1px #1B1B38 10%, gap 15
 *   tiêu đề khối: Source Serif 4 500 31.25 #000
 *   dải số liệu 1201 x 132 bo 16 viền 10%, vạch màu 82 x 3, kẻ dọc 82 x 1
 *   thẻ nhóm 384 x 331 bo 8 pad 16 gap 16 (khe 25) · icon 64 bo 8
 *   thanh lọc 1202 x 50 bo 16 pad 8 · lưới 4 cột khe 23 · thẻ thành viên 283 x 476 bo 16
 *   khối gia nhập 640 #0F0F2E: cột chữ 552 @201,143 · thẻ form 564 @800,105 bo 16 pad 29
 *
 * Cần !important vì Avada in kiểu bằng biến --awb-* ngay trên phần tử (inline).
 * Chỉ --lb-font-sans / --lb-font-serif được dùng — hai token ở :root.
 */

/* ============================================================
 * Khung chung: cột 1200, huỷ máng cột của Avada
 * ============================================================ */
[class*="lb-ml-"] > .fusion-row {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

[class*="lb-ml-"] > .fusion-row > .fusion-layout-column {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
}

[class*="lb-ml-"] > .fusion-row > .fusion-layout-column > .fusion-column-wrapper {
  margin: 0 !important;
  width: 100% !important;
}

/* Hàng trong: Avada in width:104% !important inline — giữ 104% + lề −2%, đệm 1.923% để hộp = 1200 (xem gioi-thieu.css). */
[class*="lb-ml-"] .fusion-builder-row-inner {
  margin-left: -2% !important;
  margin-right: -2% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 1.923% !important;
  box-sizing: border-box;
}

[class*="lb-ml-"] .fusion-builder-row-inner > .fusion-layout-column {
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

[class*="lb-ml-"] .fusion-builder-row-inner > .fusion-layout-column > .fusion-column-wrapper {
  margin: 0 !important;
  width: 100% !important;
}

[class*="lb-ml-"] .fusion-text p { margin: 0; }
[class*="lb-ml-"] .fusion-title { margin: 0 !important; }
[class*="lb-ml-"] .fusion-title .fusion-title-heading { margin: 0 !important; letter-spacing: 0 !important; text-transform: none !important; }
[class*="lb-ml-"] :where(a) { text-decoration: none; }
[class*="lb-ml-"] svg { display: inline-block; flex: 0 0 auto; }
body:has(.lb-ml-join) #main { padding-bottom: 0 !important; }   /* đệm 60px của Avada giữa khối Gia nhập và footer */

/* ---- Hàng nhãn + tiêu đề khối (Frame 550: 1201 x 20, gap 15; H2 cách nhãn 9) ---- */
.lb-ml-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 9px !important;
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase;
  color: #FF3251 !important;
}

.lb-ml-eyebrow span { flex: 0 0 auto; }
.lb-ml-eyebrow::after { content: ""; flex: 1 1 auto; height: 1px; background: rgba(27, 27, 56, .1); }

.lb-ml-head__title .fusion-title-heading {
  font-family: var(--lb-font-serif) !important;
  font-size: 31.25px !important;
  font-weight: 500 !important;
  line-height: 1.38 !important;        /* hộp 43px */
  color: #000 !important;
}

/* Số kiểu "570+": Source Serif 600 39.06, Figma cắt cap-height → hộp 26px */
.lb-ml-num {
  font-family: var(--lb-font-serif);
  font-size: 39.06px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0;
}

/* ============================================================
 * 01 · Hero — Frame 361 (1600 x 504)
 * ============================================================ */
.lb-ml-hero {
  background: linear-gradient(90deg, #041691 0%, #000526 100%) !important;
  padding: 0 !important;
  min-height: 504px;
  position: relative;
  overflow: hidden;
  color: #FFF;
}

.lb-ml-hero > .fusion-row { position: relative; z-index: 1; }

/* Cột chữ 623 @199,110 | ảnh 499 x 374 @902,65 (dán mép phải cột 1200) */
.lb-ml-hero .fusion-builder-row-inner {
  display: grid !important;
  grid-template-columns: 623px minmax(0, 1fr);
  min-height: 504px !important;
}

.lb-ml-hero__text > .fusion-column-wrapper {
  padding-top: 110px !important;
  display: flex !important;
  flex-direction: column;
  gap: 16px !important;
}

.lb-ml-hero__eyebrow {
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7) !important;
}

.lb-ml-hero__title .fusion-title-heading {
  font-family: var(--lb-font-serif) !important;
  font-size: 48.83px !important;
  font-weight: 700 !important;
  line-height: 56px !important;
  color: #FFF !important;
}

.lb-ml-hero__title em { font-style: italic; }
.lb-ml-hero__sub p { font-family: var(--lb-font-sans); font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .9); }

/* Hàng số Frame 508: @205,346 (mô tả đáy 322 → 24), ô 101 khe 35, số 26 + 8 + nhãn 14 */
.lb-ml-hero__stats-wrap { margin-top: 8px !important; padding-left: 6px; }
.lb-ml-hero__stats { display: flex; gap: 35px; }
.lb-ml-hero__stat { width: 101px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.lb-ml-hero__num { font-family: var(--lb-font-serif); font-size: 39.06px; font-weight: 600; line-height: 26px; color: #FFF; }
.lb-ml-hero__lbl { font-family: var(--lb-font-sans); font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* Ảnh bản đồ: 499 x 374, bo 17, top 65, dán mép phải; Avada bọc imageframe trong .fusion-image-element */
.lb-ml-hero__media > .fusion-column-wrapper { display: flex !important; flex-direction: column; align-items: flex-end; padding-top: 65px !important; }   /* Avada đặt flex-direction cột → dán phải bằng align-items */
.lb-ml-hero__media .fusion-image-element, .lb-ml-hero__media .lb-ml-hero__map-wrap { width: 499px; max-width: 100%; margin: 0 0 0 auto !important; }
.lb-ml-hero__map, .lb-ml-hero__map img { display: block; width: 100% !important; height: auto !important; border-radius: 17px; margin: 0 !important; }
.lb-ml-hero__map-note { width: 499px; max-width: 100%; height: 374px; display: grid; place-items: center; padding: 24px; box-sizing: border-box; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 17px; font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center; }
.lb-ml-hero__media:has(img) .lb-ml-hero__map-wrap { display: none; }

/* ============================================================
 * 02 · Dải số liệu — Frame 508 (1201 x 132 @693; cách hero 55, cách khối 03 55)
 * ============================================================ */
.lb-ml-figures { padding: 55px 0 !important; }

.lb-ml-stats {
  position: relative;
  display: flex;
  align-items: center;
  gap: 35px;
  height: 132px;
  padding: 30px 53px;
  box-sizing: border-box;
  border: 1px solid rgba(27, 27, 56, .1);
  border-radius: 16px;
  background: #FFF;
}

.lb-ml-stat {
  --lb-c: #1B1B38;
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.lb-ml-stat--lim   { --lb-c: #8E32FF; }
.lb-ml-stat--lisa  { --lb-c: #2CD17F; }
.lb-ml-stat--group { --lb-c: #FF3251; }

/* Vạch màu 82 x 3 nằm ngay mép trên hộp (đè lên viền), giữa ô */
.lb-ml-stat::before { content: ""; position: absolute; top: -31px; left: 50%; width: 82px; height: 3px; margin-left: -41px; background: var(--lb-c); }
/* Kẻ dọc 82 x 1 giữa các ô (Line 28–30): đặt ở giữa khe 35 */
.lb-ml-stat + .lb-ml-stat::after { content: ""; position: absolute; top: 50%; left: -18px; width: 1px; height: 82px; margin-top: -41px; background: rgba(27, 27, 56, .1); }

.lb-ml-stat__num { font-family: var(--lb-font-serif); font-size: 39.06px; font-weight: 600; line-height: 26px; color: var(--lb-c); }
.lb-ml-stat__lbl { font-family: var(--lb-font-sans); font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; color: #676673; }
.lb-ml-stat__sub { font-family: var(--lb-font-sans); font-size: 11px; font-weight: 500; line-height: 14px; color: #676673; }

/* ============================================================
 * 03 · Ba nhóm thành viên — Frame 553 (1600 x 606, #F8F8F8)
 * ============================================================ */
.lb-ml-groups { background: #F8F8F8 !important; padding: 70px 0 70px !important; }

/* Tiêu đề đáy 142 → thẻ 205 = 63; 3 thẻ 384 khe 25 */
.lb-ml-groups .fusion-builder-row-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 63px !important;
}

.lb-ml-group {
  --lb-c: #1B1B38;
  min-height: 331px;
  box-sizing: border-box;
  border: 1px solid rgba(27, 27, 56, .1);
  border-radius: 8px;
  background: #FFF;
  transition: transform .25s ease, box-shadow .25s ease;
}

.lb-ml-group:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(15, 15, 46, .35); }
.lb-ml-group--lim  { --lb-c: #8E32FF; }
.lb-ml-group--lisa { --lb-c: #2CD17F; }

.lb-ml-group > .fusion-column-wrapper { padding: 16px !important; display: flex !important; flex-direction: column; gap: 16px !important; height: 100%; }

/* Icon 64 x 64 bo 8 pad 8, icon 48 trắng */
.lb-ml-group__icon { width: 64px; height: 64px; padding: 8px; box-sizing: border-box; border-radius: 8px; background: var(--lb-c); color: #FFF; display: grid; place-items: center; }
.lb-ml-group__icon svg { width: 48px; height: 48px; }

.lb-ml-group__num { font-family: var(--lb-font-serif) !important; font-size: 39.06px !important; font-weight: 600 !important; line-height: 26px !important; color: var(--lb-c) !important; }
.lb-ml-group__name .fusion-title-heading { font-family: var(--lb-font-serif) !important; font-size: 20px !important; font-weight: 500 !important; line-height: 27px !important; color: #000 !important; }
.lb-ml-group__text p { font-family: var(--lb-font-sans); font-size: 16px; line-height: 24px; color: #676673; min-height: 72px; }

/* "Xem danh sách →": Buttons Outline 144 x 44, pad 12 dọc, gap 8, chữ 16/500 màu nhóm, viền trong suốt */
.lb-ml-group__more-wrap { margin-top: auto !important; }
.lb-ml-group__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 0;
  box-sizing: border-box;
  font-family: var(--lb-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--lb-c) !important;
  transition: gap .2s ease;
}

.lb-ml-group__more a:hover { gap: 12px; }
.lb-ml-group__more svg { width: 16px; height: 16px; }

/* ============================================================
 * 04 · Khám phá Cộng đồng — Frame 565 (1202 x 1260 @1551); thẻ Post Card "Thẻ thành viên"
 * ============================================================ */
.lb-ml-community { padding: 65px 0 88px !important; }

/* Thanh lọc Frame 556 ([libero_mangluoi_loc], inc/mangluoi-filter.php): 1202 x 50 trắng bo 16 viền 10% pad 8 gap 8 có bóng;
 * ô tìm Frame 557 618 x 32 bo 8 viền 10% pad 8 gap 8 (icon 16 + placeholder 16/24 nature 50%);
 * 3 ô chọn Frame 558 Fill 175.33 x 32 bo 8 viền 10% pad 8, chữ 16/24 nature 80% + chevron phải. Thanh đáy 148 → lưới 201 = 53. */
.lb-ml-filter-wrap { margin: 26px 0 53px !important; }
.lb-ml-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid rgba(27, 27, 56, .1);
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0 8px 24px -16px rgba(15, 15, 46, .25);
}

.lb-ml-filter__search {
  flex: 0 1 618px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 8px;
  box-sizing: border-box;
  border: 1px solid rgba(27, 27, 56, .1);
  border-radius: 8px;
  margin: 0;
}

.lb-ml-filter__ico { width: 16px; height: 16px; flex: 0 0 16px; background: rgba(27, 27, 56, .5); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") center / contain no-repeat; }

.lb-ml-filter input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: #1B1B38 !important;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}

.lb-ml-filter input[type="search"]::placeholder { color: rgba(27, 27, 56, .5); opacity: 1; }
.lb-ml-filter input[type="search"]::-webkit-search-decoration,
.lb-ml-filter input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.lb-ml-filter__select { flex: 1 1 0; min-width: 0; margin: 0; position: relative; }
.lb-ml-filter__select select {
  width: 100% !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 28px 0 8px !important;
  box-sizing: border-box;
  border: 1px solid rgba(27, 27, 56, .1) !important;
  border-radius: 8px !important;
  background: #FFF !important;
  box-shadow: none !important;
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: rgba(27, 27, 56, .8) !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.lb-ml-filter__select::after { content: ""; position: absolute; right: 8px; top: 8px; width: 16px; height: 16px; pointer-events: none; background: rgba(27, 27, 56, .8); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / contain no-repeat; }
.lb-ml-filter__select select:hover, .lb-ml-filter__select select:focus { border-color: #1B1B38 !important; outline: 0; }
.lb-ml-filter__select select { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }   /* term dài vẫn không tràn ra ngoài ô */
.lb-ml-filter__reset { padding: 0 4px; font-size: 13px; }

.lb-ml-filter__submit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }   /* Figma không vẽ nút; Enter vẫn gửi */
.lb-ml-filter__reset { flex: 0 0 auto; padding: 0 8px; font-family: var(--lb-font-sans); font-size: 14px; line-height: 32px; color: #FF3251 !important; white-space: nowrap; }
.lb-ml-community .fusion-post-cards { margin-top: 0 !important; }
/* Đang lọc bằng fetch (mang-luoi.js): mờ lưới, chặn bấm */
.lb-ml-community--dang-tai .fusion-post-cards { opacity: .45; pointer-events: none; transition: opacity .2s ease; }
.lb-ml-community .fusion-post-cards { transition: opacity .2s ease; }
.lb-ml-empty { padding: 32px 0 8px; }
.lb-ml-empty__msg { font-family: var(--lb-font-sans); font-size: 16px; line-height: 24px; color: #676673; }

/* Lưới Frame 563: 4 cột khe 23 — Avada tự xếp (.fusion-grid flex, cột 25%, đệm 11.5 mỗi bên = --awb-column-spacing/2;
 * lọc = isotope xếp tuyệt đối). KHÔNG đè width/flex/margin của cột. Avada gộp cột của Post Card thành chính
 * .fusion-grid-column (lớp lb-ml-member + lớp term cg_vaitro cùng một phần tử) → viền/nền/bo đặt ở .fusion-column-wrapper. */
.lb-ml-community .fusion-post-cards .fusion-grid { margin: -11.5px !important; align-items: stretch !important; }   /* cột đệm 11.5 bốn phía → lưới đúng 1201 x 975; stretch = thẻ cùng hàng cao bằng nhau */
.lb-ml-member { min-height: 0; display: flex !important; flex-direction: column; }
.lb-ml-member > .fusion-column-inner-bg { display: none; }

/* Thẻ Article 283 x 476, bo 16, viền .74 #DDDAD5, trắng; thân pad 16 gap 8;
 * vai trò + lĩnh vực cùng một dòng (hai text riêng của Avada → xếp bằng grid 2 cột) */
.lb-ml-member > .fusion-column-wrapper {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 476px !important;
  flex: 1 1 auto;                    /* cao bằng thẻ cao nhất trong hàng (tên 2 dòng) */
  /* Avada đặt min-height:1px, border, background, radius cho .fusion-column-wrapper bằng biến --awb-* → phải !important */
  box-sizing: border-box;
  border: .74px solid #DDDAD5 !important;
  border-radius: 16px !important;
  background: #FFF !important;
  box-shadow: 0 1px 2px rgba(15, 15, 46, .04), 0 8px 24px -20px rgba(15, 15, 46, .35);
  overflow: hidden !important;         /* Avada mở overflow → góc vuông của ảnh lòi ra khỏi bo 16 */
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto auto 1fr;
  grid-template-areas: "media media" "role field" "name name" "title title" "more more";
  align-content: start;
  column-gap: 6px !important;
  row-gap: 8px !important;             /* Avada đặt gap cho .fusion-column-wrapper */
  transition: transform .25s ease, box-shadow .25s ease;
}

.lb-ml-member:hover > .fusion-column-wrapper { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(15, 15, 46, .45) !important; }

.lb-ml-member__media { grid-area: media; position: relative; aspect-ratio: 283 / 290; margin: 0 0 8px !important; background: #EEF0F4; overflow: hidden; }
.lb-ml-member__media .fusion-image-wrapper, .lb-ml-member__media a { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; }
.lb-ml-member__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: top center; display: block; }

/* Huy hiệu phạm vi Frame 562: @8 phải 8, bo 100, pad 4/8, nền nature 50%, chữ 13.33 trắng (không có chấm) */
.lb-ml-member__scope { position: absolute; z-index: 2; top: 8px; right: 8px; margin: 0 !important; padding: 0 !important; line-height: 0; }
.lb-ml-member__scope:empty, .lb-ml-member__scope p:empty { display: none; }
.lb-ml-member__scope p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 100px;
  background: rgba(27, 27, 56, .5);
  font-family: var(--lb-font-sans);
  font-size: 13.33px;
  line-height: 17px;
  color: #FFF;
}


.lb-ml-member__role  { grid-area: role;  padding: 0 0 0 16px !important; margin: 0 !important; }
.lb-ml-member__field { grid-area: field; padding: 0 16px 0 0 !important; margin: 0 !important; min-width: 0; }
.lb-ml-member__role p, .lb-ml-member__field p {
  font-family: var(--lb-font-sans) !important;
  font-size: 13.33px !important;
  line-height: 17px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  color: var(--lb-role, #8E32FF) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-ml-member__field p:not(:empty)::before { content: "• "; }

/* Màu chip theo vai trò: Avada gắn slug term cg_vaitro làm lớp của cột khi filters="yes" */
.lb-ml-member.doi-tac  { --lb-role: #1B1B38; }
.lb-ml-member.hoc-vien { --lb-role: #2CD17F; }

.lb-ml-member__name { grid-area: name; padding: 0 16px !important; }
.lb-ml-member__name .fusion-title-heading { font-family: var(--lb-font-serif) !important; font-size: 20px !important; font-weight: 500 !important; line-height: 27px !important; color: #171717 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }   /* Figma tên 1 dòng; tên dài (PGS.TS …) xuống 2 dòng, thẻ cao thêm 27 */
.lb-ml-member__name a { color: inherit !important; }

.lb-ml-member__title { grid-area: title; padding: 0 16px !important; }
.lb-ml-member__title p { font-family: var(--lb-font-sans); font-size: 16px; line-height: 24px; color: #56534E; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 48px; }

/* "Xem hồ sơ →": Buttons Outline 143 x 44 pad 12 dọc gap 8, chữ 16/500 nature; Figma chỉ vẽ ở thẻ hover → hiện khi rê chuột */
/* Avada bọc fusion_button trong <div> trần → chính div đó là ô lưới "more" */
.lb-ml-member > .fusion-column-wrapper > div:has(> .lb-ml-member__more) { grid-area: more; align-self: end; margin: 0 16px 16px; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.lb-ml-member:hover > .fusion-column-wrapper > div:has(> .lb-ml-member__more),
.lb-ml-member:focus-within > .fusion-column-wrapper > div:has(> .lb-ml-member__more) { opacity: 1; transform: none; }
.lb-ml-member__more { margin: 0 !important; }
.lb-ml-member__more.fusion-button {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1B1B38 !important;
}

.lb-ml-member__more.fusion-button:hover { color: #FF3251 !important; }
.lb-ml-member__more.fusion-button i { font-size: 12px; margin: 0 !important; }

/* Nút "Xem thêm hồ sơ" (load more của Avada): Outline 195 x 44 @1216 (lưới đáy 1176 → 40), bo 8, viền 2, pad 12/24, icon refresh trái */
.lb-ml-community .fusion-load-more-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content !important;
  min-width: 195px;
  height: 44px;
  margin: 40px auto 0 !important;
  padding: 12px 24px !important;
  box-sizing: border-box;
  border: 2px solid rgba(27, 27, 56, .2) !important;
  border-radius: 8px;
  background: #FFF !important;
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1B1B38 !important;
  transition: border-color .2s ease, background .2s ease;
}

.lb-ml-community .fusion-load-more-button::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a9 9 0 1 1-2.6-6.4'/><path d='M21 4v5h-5'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a9 9 0 1 1-2.6-6.4'/><path d='M21 4v5h-5'/></svg>") center / contain no-repeat;
}

.lb-ml-community .fusion-load-more-button:hover { border-color: #1B1B38 !important; }
/* Hết trang: Avada .hide() ghi style="display:none" inline — display:flex !important ở trên đè mất → trả lại. */
.lb-ml-community .fusion-load-more-button[style*="display: none"],
.lb-ml-community .fusion-load-more-button[style*="display:none"] { display: none !important; }
.lb-ml-community .fusion-loading-container { display: none !important; }   /* "Loading the next set of chuyên gia." của Avada */

/* ============================================================
 * 05 · Gia nhập cộng đồng — contact (1600 x 640, #0F0F2E)
 * ============================================================ */
.lb-ml-join { background: #0F0F2E !important; padding: 105px 0 95px !important; color: #FFF; }

/* Cột chữ 552 @201 (top 143 = 105 + 38) | thẻ 564 @800 (600 trong cột) */
.lb-ml-join .fusion-builder-row-inner {
  display: grid !important;
  grid-template-columns: 552px 564px;
  justify-content: start;
  column-gap: 47px;                    /* cột chữ 201→753, thẻ @800 */
  align-items: start;
}

.lb-ml-join .lb-ml-join__text { width: auto !important; }
.lb-ml-join .lb-ml-join__card { width: auto !important; }

.lb-ml-join__text > .fusion-column-wrapper { padding-top: 38px !important; }
.lb-ml-join__eyebrow { font-family: var(--lb-font-sans) !important; font-size: 16px !important; font-weight: 500 !important; line-height: 1.25 !important; letter-spacing: .05em !important; text-transform: uppercase; color: #FF3251 !important; }
.lb-ml-join__title { margin-top: 10px !important; }   /* nhãn đáy 20 → H2 30 */
.lb-ml-join__title .fusion-title-heading { max-width: 510px; font-family: var(--lb-font-serif) !important; font-size: 48.83px !important; font-weight: 700 !important; line-height: 56px !important; color: #FFF !important; }
.lb-ml-join__sub { margin-top: 14px !important; }      /* H2 đáy 142 → mô tả 156 */
.lb-ml-join__sub p { max-width: 497px; font-family: var(--lb-font-sans); font-size: 16px; line-height: 24px; color: #FFF; }
.lb-ml-join__list-wrap { margin-top: 14px !important; } /* mô tả đáy 204 → danh sách 218 */
.lb-ml-join__list { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.lb-ml-join__list li { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0 4px 8px; font-family: var(--lb-font-sans); font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .7); }
.lb-ml-join__list svg { width: 16px; height: 16px; margin-top: 4px; color: #FF3251; }

/* Thẻ form Frame 80: 564 x 440, bo 16, viền trắng 50%, nền trắng 10%, pad 29, gap 24
 * (tiêu đề 34 + 8 + phụ 24 → 24 → nhóm ô Frame 89 gap 12, mỗi ô 66 = nhãn 20 + 8 + ô 38 → 24 → nút 44) */
.lb-ml-join__card > .fusion-column-wrapper {
  padding: 29px !important;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .5) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .1) !important;
  display: flex !important;
  flex-direction: column;
  gap: 8px !important;
}

.lb-ml-join__form-title .fusion-title-heading { font-family: var(--lb-font-serif) !important; font-size: 25px !important; font-weight: 500 !important; line-height: 34px !important; color: #FFF !important; }
.lb-ml-join__form-sub p { font-family: var(--lb-font-sans); font-size: 16px; line-height: 24px; color: #FFF; }
.lb-ml-join__form { margin-top: 16px !important; }   /* 8 (gap thẻ) + 16 = 24 */

/* Ô nhập: nhãn 16/500/20 trắng 80% (dấu * đỏ, cách 7), ô 38 bo 8 pad 8 nền trắng 20% viền trắng 30%, chữ/placeholder 16/500 (trắng / trắng 60%) */
.lb-ml-join__form .fusion-form-field { margin: 0 0 12px !important; padding: 0 !important; }
.lb-ml-join__form .fusion-form-recaptcha-field { margin-bottom: 24px !important; }   /* không có trong Figma — giữ chống spam, cách nút 24 như nhóm ô */
.lb-ml-join__form .fusion-form-submit-field { margin: 12px 0 0 !important; }         /* 12 + 12 của ô trước = 24 */
.lb-ml-join__form .fusion-form-field:has(+ .fusion-form-submit-field) { margin-bottom: 12px !important; }
.lb-ml-join__form .fusion-form-label-wrapper { line-height: 0; margin: 0 0 8px !important; padding: 0 !important; }   /* wrapper của Avada cao 31.5 (line-height 27.5) → ô 70 thay vì 66 */
.lb-ml-join__form .fusion-form-label,
.lb-ml-join__form label { display: block; margin: 0 !important; padding: 0 !important; font-family: var(--lb-font-sans) !important; font-size: 16px !important; font-weight: 500 !important; line-height: 20px !important; color: rgba(255, 255, 255, .8) !important; }
.lb-ml-join__form label abbr.fusion-form-element-required { margin-left: 3px; color: #FF3251 !important; text-decoration: none !important; border: 0 !important; font-weight: 500; }
.lb-ml-join__form input[type="text"],
.lb-ml-join__form input[type="email"],
.lb-ml-join__form select,
.lb-ml-join__form .fusion-form-input {
  display: block;
  width: 100% !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 8px !important;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .3) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .2) !important;
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #FFF !important;
  box-shadow: none !important;
}

.lb-ml-join__form ::placeholder { color: rgba(255, 255, 255, .6) !important; opacity: 1; }
.lb-ml-join__form select.fusion-form-input { color: rgba(255, 255, 255, .6) !important; padding-right: 32px !important; -webkit-appearance: none; appearance: none; }   /* (0,1,2) để thắng rule .fusion-form-input trắng 100% ở trên */
.lb-ml-join__form select.fusion-form-input:has(option:checked:not([value=""])) { color: #FFF !important; }
/* Avada tô nền riêng cho khung form (biến --awb-form-bg) → thẻ Figma là một màu trắng 10% */
.lb-ml-join__form .fusion-form, .lb-ml-join__form .fusion-fullwidth, .lb-ml-join__form .fusion-form-form-wrapper { background: transparent !important; }
.lb-ml-join__form select option { color: #1B1B38; }
.lb-ml-join__form .fusion-form-field .fusion-form-input:focus { border-color: rgba(255, 255, 255, .8) !important; }

/* Chevron 16 trắng 60% của ô chọn (Avada in .select-arrow bằng font icon → thay bằng mask) */
.lb-ml-join__form .fusion-select-wrapper { position: relative; }
.lb-ml-join__form .fusion-select-wrapper .select-arrow { display: none !important; }
.lb-ml-join__form .fusion-select-wrapper::after { content: ""; position: absolute; right: 8px; top: 11px; width: 16px; height: 16px; pointer-events: none; background: rgba(255, 255, 255, .6); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / contain no-repeat; }

/* Avada Form: container đệm 0 10px, cột là flex dọc → chuyển sang flex ngang cuộn dòng để hai ô đầu
 * (Họ và tên · Email) chung một hàng 244 + 16 + 244, các ô còn lại trọn hàng */
.lb-ml-join__form .fusion-form .fusion-fullwidth { padding: 0 !important; }
.lb-ml-join__form .fusion-form .fusion-column-wrapper { flex-direction: row !important; flex-wrap: wrap !important; column-gap: 16px; }
.lb-ml-join__form .fusion-form-field { flex: 0 0 100%; width: 100%; }
.lb-ml-join__form .fusion-form-field.lb-ml-half { flex: 0 0 calc(50% - 8px); width: calc(50% - 8px); }

/* Nút "Hoàn tất đăng ký": Filled 504 x 44 bo 8 pad 12/24 #FF3251, chữ 16/500 trắng, icon check trái */
.lb-ml-join__form .fusion-form-submit-field button,
.lb-ml-join__form .fusion-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  height: 44px;
  padding: 0 24px !important;
  border: 1px solid #FF3251 !important;
  border-radius: 8px !important;
  background: #FF3251 !important;
  font-family: var(--lb-font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #FFF !important;
  box-shadow: none !important;
  transition: background .2s ease, border-color .2s ease;
}

.lb-ml-join__form .fusion-form-submit-field button:hover,
.lb-ml-join__form .fusion-button:hover { background: #D20F12 !important; border-color: #D20F12 !important; }
.lb-ml-join__form .fusion-form-submit-field button::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M8 12l3 3 5-6'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M8 12l3 3 5-6'/></svg>") center / contain no-repeat;
}

.lb-ml-join__form .fusion-form-response { font-family: var(--lb-font-sans); font-size: 14px; color: #FFF; }

/* ============================================================
 * Khổ hẹp
 * ============================================================ */
@media (max-width: 1100px) {
  [class*="lb-ml-"] > .fusion-row { padding: 0 24px; }
  .lb-ml-hero .fusion-builder-row-inner { grid-template-columns: minmax(0, 1fr); min-height: 0 !important; }
  .lb-ml-hero__text > .fusion-column-wrapper { padding: 56px 0 24px !important; }
  .lb-ml-hero__media > .fusion-column-wrapper { justify-content: flex-start; padding: 0 0 48px !important; }
  .lb-ml-stats { flex-wrap: wrap; height: auto; padding: 31px 24px; row-gap: 40px; }   /* height 132 chỉ đúng khi 4 ô một hàng; xuống dòng thì tràn đè khối dưới */
  .lb-ml-stat { flex: 1 1 40%; }
  .lb-ml-stat + .lb-ml-stat::after { display: none; }
  .lb-ml-groups .fusion-builder-row-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-ml-join .fusion-builder-row-inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .lb-ml-join__text > .fusion-column-wrapper { padding-top: 0 !important; }
  .lb-ml-join { padding: 64px 0 !important; }
}

@media (max-width: 767px) {
  .lb-ml-hero__title .fusion-title-heading { font-size: 39px !important; line-height: 1.15 !important; }
  /* Khổ điện thoại: Figma không vẽ mobile cho trang này; nhãn 11px uppercase quá nhỏ trên máy thật (khách báo 17/09) */
  .lb-ml-hero__eyebrow { font-size: 14px !important; }
  .lb-ml-hero__sub p { font-size: 17px; line-height: 26px; }
  .lb-ml-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }   /* 3 ô đều, không rơi "30+" xuống dòng */
  .lb-ml-hero__stat { width: auto; min-width: 0; gap: 6px; }
  .lb-ml-hero__lbl { white-space: normal; }
  .lb-ml-hero__num { font-size: 36px; line-height: 30px; }
  .lb-ml-hero__lbl { font-size: 13px; line-height: 16px; letter-spacing: .03em; color: rgba(255, 255, 255, .75); }
  .lb-ml-stat__num { font-size: 40px; line-height: 32px; }
  .lb-ml-stat__lbl { font-size: 13px; line-height: 16px; letter-spacing: .04em; }
  .lb-ml-stat__sub { font-size: 14px; line-height: 20px; }
  .lb-ml-stat { gap: 6px; }
  .lb-ml-stats::before { display: none; }
  .lb-ml-stats { padding: 24px 16px; row-gap: 28px; }
  .lb-ml-stat { flex: 1 1 100%; padding-top: 12px; }
  .lb-ml-stat::before { top: 0; }
  .lb-ml-groups .fusion-builder-row-inner { grid-template-columns: minmax(0, 1fr); }
  .lb-ml-filter { flex-wrap: wrap; height: auto; }
  .lb-ml-filter__search { flex-basis: 100%; }
  .lb-ml-filter__select { flex-basis: calc(50% - 4px); }
  .lb-ml-member > .fusion-column-wrapper > div:has(> .lb-ml-member__more) { opacity: 1; transform: none; }
  .lb-ml-join__title .fusion-title-heading { font-size: 39px !important; line-height: 1.15 !important; }
  .lb-ml-join__card > .fusion-column-wrapper { padding: 20px !important; }
  .lb-ml-join__form .fusion-form-field.lb-ml-half { flex-basis: 100%; width: 100%; }
}
