/* ============================================================
   gioi-thieu-hoat-dong.css — màn GIỚI THIỆU và HOẠT ĐỘNG (mầm non, 15/9/2026)
   Bố cục Hoạt động theo ảnh thầy Chung gửi 15/9/2026: lối dẫn · tiêu đề lớn · chip loại
   bên trái, tìm + lọc lớp + lọc tháng bên phải · lưới 3 thẻ album · "Xem thêm".
   Màu: xanh ngọc --dam cho chữ/nền chip đang chọn · CAM --cam chỉ cho nút chính trên nền
   trắng — KHÔNG chồng cam lên xanh ngọc (CLAUDE.md mục 5).
   ============================================================ */

/* ── GIỚI THIỆU ── */
#mh-gioithieu .gt-khung { max-width: 980px; margin: 0 auto; }
#mh-gioithieu .dang-dung { max-width: none; margin-bottom: 14px; }
.gt-muc {
  background: var(--the); border: 1px solid var(--vien); border-radius: 16px;
  padding: 16px 20px; margin-top: 14px; box-shadow: 0 1px 2px rgba(10, 60, 62, .05);
}
.gt-muc-dau { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gt-muc h3 { margin: 0; font-size: 18px; color: var(--dam); font-weight: 800; }
.gt-phu { color: var(--chu-nhat); font-size: 13px; }
.gt-chu { white-space: pre-wrap; color: var(--chu); font-size: 15px; line-height: 1.65; margin-top: 8px; overflow-wrap: anywhere; }
.gt-trong { color: var(--chu-nhat); font-size: 13.5px; margin-top: 8px; font-style: italic; }
.gt-muc.sua textarea { margin-top: 10px; min-height: 140px; }
.gt-doi-ngu { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 10px; }
.gt-nguoi { background: var(--o-con); border: 1px solid var(--ke); border-radius: 12px; padding: 9px 12px; min-width: 0; }
.gt-nguoi b { display: block; color: var(--chu); font-size: 14.5px; }
.gt-nguoi span { display: block; color: var(--chu-mo); font-size: 13px; }

/* ── HOẠT ĐỘNG ── */
#mh-hoatdong .hdb-khung { max-width: 1260px; margin: 0 auto; }
.hdb-duong { font-size: 13.5px; color: var(--chu-nhat); margin: 2px 0 6px; }
.hdb-duong a { color: var(--chu-mo); text-decoration: none; }
.hdb-duong a:hover { color: var(--dam); text-decoration: underline; }
.hdb-dau { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hdb-dau h2 { margin: 0; font-size: clamp(28px, 4.6vw, 44px); color: var(--dam); font-weight: 800; line-height: 1.1; }
.hdb-dau p { margin: 6px 0 0; color: var(--chu-mo); font-size: 15.5px; }
.hdb-nut-dang {
  background: var(--cam); color: #fff; border: 0; border-radius: 32px; padding: 11px 20px;
  font-weight: 800; font-size: 14.5px; cursor: pointer; text-decoration: none; font-family: inherit;
  box-shadow: 0 4px 14px rgba(231, 115, 44, .28);
}
.hdb-nut-dang:hover { filter: brightness(1.05); }

.hdb-thanh-loc { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hdb-loc-loai { display: flex; gap: 8px; flex-wrap: wrap; }
.hdb-chip {
  background: var(--the); border: 1px solid var(--vien-dam); color: var(--chu); border-radius: 12px;
  padding: 9px 18px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit;
}
.hdb-chip:hover { border-color: var(--dam); }
.hdb-chip.on { background: var(--dam); border-color: var(--dam); color: #fff; }
.hdb-loc-phai { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.hdb-tim {
  display: flex; align-items: center; gap: 8px; background: var(--the); border: 1px solid var(--vien-dam);
  border-radius: 12px; padding: 0 12px; min-width: 220px; flex: 1 1 220px;
}
.hdb-tim input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; padding: 9px 0; width: 100%; color: var(--chu); }
.hdb-tim:focus-within { border-color: var(--dam); box-shadow: 0 0 0 3px rgba(24, 114, 116, .12); }
.hdb-chon {
  background: var(--the); border: 1px solid var(--vien-dam); border-radius: 12px; padding: 9px 12px;
  font: inherit; font-size: 14px; color: var(--chu); cursor: pointer; max-width: 100%;
}

.hdb-luoi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .hdb-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 620px)  { .hdb-luoi { grid-template-columns: 1fr; } .hdb-tim { min-width: 0; } }

.hdb-the {
  background: var(--the); border: 1px solid var(--vien); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 60, 62, .06), 0 8px 24px rgba(10, 60, 62, .06);
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column; min-width: 0;
}
.hdb-the:hover, .hdb-the:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 60, 62, .14); outline: none; }
.hdb-the.minh-hoa { cursor: default; }
.hdb-the.minh-hoa:hover { transform: none; }
.hdb-anh { position: relative; aspect-ratio: 16 / 9; background: var(--mint); overflow: hidden; }
.hdb-anh img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.hdb-khung-trong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; opacity: .45; }
.hdb-so-anh, .hdb-noi-bo, .hdb-nhan-mh {
  position: absolute; z-index: 2; border-radius: 10px; padding: 5px 10px; font-size: 13px; font-weight: 700;
}
.hdb-so-anh { right: 10px; bottom: 10px; background: rgba(20, 30, 30, .72); color: #fff; }
.hdb-noi-bo { left: 10px; top: 10px; background: rgba(255, 255, 255, .92); color: var(--chu); }
.hdb-nhan-mh { left: 10px; top: 10px; background: #fff; color: var(--vang-sam); border: 1px solid #f2c9ad; letter-spacing: .02em; }
.hdb-than { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hdb-than h3 { margin: 0; font-size: 18px; color: var(--dam); font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.hdb-loai { align-self: flex-start; font-size: 12.5px; font-weight: 700; border-radius: 8px; padding: 3px 9px; background: #e3f2f1; color: #17605f; }
.hdb-loai.l-nghe_thuat { background: #fdeee4; color: #a4471a; }
.hdb-loai.l-van_dong { background: #e6f0fb; color: #1d4f86; }
.hdb-loai.l-vui_choi { background: #fff4d9; color: #8f5d14; }
.hdb-loai.l-le_hoi { background: #fde8ea; color: #a12a3a; }
.hdb-chan { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.hdb-meta { color: var(--chu-nhat); font-size: 13.5px; }
.hdb-xem { color: var(--dam); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.hdb-them-hang { text-align: center; margin: 22px 0 6px; }
.hdb-nut-them {
  background: var(--the); border: 1.5px solid var(--dam); color: var(--dam); border-radius: 32px;
  padding: 10px 34px; font-weight: 700; font-size: 14.5px; cursor: pointer; font-family: inherit;
}
.hdb-nut-them:hover { background: var(--o-con); }
.hdb-chu-cuoi { text-align: center; color: var(--chu-nhat); font-size: 13px; margin: 18px 0 4px; font-style: italic; }
.hdb-mh-dau {
  background: var(--dao); color: var(--vang-sam); border-radius: 12px; padding: 10px 14px;
  font-size: 14px; margin: 12px 0 14px;
}

/* Form đăng bài */
.hdb-form {
  background: var(--the); border: 1px solid var(--vien); border-left: 5px solid var(--cam); border-radius: 16px;
  padding: 16px 18px; margin-bottom: 18px;
}
.hdb-form-hang { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hdb-form-hang label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--chu-mo); font-weight: 600; flex: 1 1 160px; min-width: 0; }
.hdb-form-hang label.rong { flex: 2 1 280px; }
.hdb-form-hang .dh-o-nhap { margin-top: 0; width: 100%; box-sizing: border-box; }
.hdb-cong-khai {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 12px;
  background: var(--o-con); border: 1px solid var(--vien-dam); border-radius: 12px; font-size: 13.5px; color: var(--chu); cursor: pointer;
}
.hdb-cong-khai input { margin-top: 3px; width: 18px; height: 18px; flex: none; }

/* Hộp chi tiết */
.hdb-phu {
  position: fixed; inset: 0; background: rgba(10, 30, 30, .55); z-index: 900;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.hdb-hop {
  background: var(--the); border-radius: 18px; max-width: 760px; width: 100%; max-height: 100%; overflow: auto;
  position: relative; box-shadow: var(--bong-lon);
}
.hdb-hop-anh { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.hdb-hop-than { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.hdb-hop-than h3 { margin: 4px 0 0; font-size: 22px; color: var(--dam); }
.hdb-x {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .95); font-size: 16px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
