/* ═══ 3b. TRANG CHỦ & CHUYÊN MỤC: mục, thẻ câu hỏi, thẻ bài, thẻ điểm đến ═══ */

/* ── Mục (section) trong khung trang chủ / chuyên mục ────────────────── */
.tlk-trang-chu { padding-bottom: 8px; }
.tlk-the-noi + .tlk-trang__mo { margin-top: 28px; }
.tlk-muc { padding: 56px 0 8px; }
.tlk-muc__dau { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.tlk-muc__de {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 32px;
  font-weight: 800;
  margin: 0;
}
.tlk-muc__de::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--brand);
  transform: rotate(45deg) translateY(-4px);
}
.tlk-muc__de span { font: 500 13px var(--chu-nhan); letter-spacing: 0; color: var(--muted); }
.tlk-muc__mo { margin: 6px 0 0; font-size: 17px; color: var(--muted); }
.tlk-muc__dau .tlk-nhan { margin-top: 8px; }
.tlk-luoi { display: grid; gap: 20px; }

/* ── Dải nhảy theo dạng bài: dính đầu khi cuộn ──────────────────────── */
.tlk-nhay-dang {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 10px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.tlk-nhay-dang a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  font: 600 13.5px var(--chu-de);
  color: var(--ink);
  text-decoration: none;
}
.tlk-nhay-dang a span { font: 500 12px var(--chu-nhan); color: var(--muted); }
.tlk-nhay-dang a:hover { background: var(--surface); }
.tlk-nhay-dang a.tat { opacity: 0.45; pointer-events: none; }

/* ── Thẻ câu hỏi (4 dạng bài) ────────────────────────────────────────── */
.tlk-the--chu { padding: 22px; gap: 8px; border-radius: 10px; }
.tlk-the__de { font-family: var(--chu-de); font-size: 20px; font-weight: 700; line-height: 1.2; }
.tlk-the__mo { font-size: 16px; color: var(--muted); line-height: 1.5; }
.tlk-the__lk { margin-top: auto; padding-top: 8px; font-family: var(--chu-de); font-size: 15px; font-weight: 600; color: var(--action); }

/* ── Thẻ bài: ảnh 3:2 bo góc, nhãn dạng bài, tiêu đề, ngày ──────────── */
.tlk-tb { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.tlk-tb:hover { color: var(--ink); }
.tlk-tb__anh { display: block; overflow: hidden; border-radius: 8px; background: var(--rule-2); }
.tlk-tb__anh img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tlk-tb:hover .tlk-tb__anh img { transform: scale(1.04); }
.tlk-tb__than { display: flex; flex-direction: column; gap: 6px; }
.tlk-tb__de { font-family: var(--chu-de); font-size: 17px; font-weight: 700; line-height: 1.3; }
.tlk-tb:hover .tlk-tb__de { color: var(--brand); }
.tlk-tb__ngay { font: 12px var(--chu-nhan); color: var(--muted); }
.tlk-luoi--bai.tlk-luoi--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Thẻ điểm đến: ảnh phủ kín, chữ trắng trên lớp phủ tối ─────────── */
.tlk-dd {
  position: relative;
  isolation: isolate;
  justify-content: flex-end;
  min-height: 250px;
  border: 0;
  background: var(--ink);
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.tlk-dd:hover { color: #fff; transform: translateY(-3px); }
.tlk-dd__anh { position: absolute; inset: 0; z-index: -1; }
.tlk-dd__anh img { width: 100%; height: 100%; object-fit: cover; }
.tlk-dd__anh::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 17, 22, 0) 30%, rgba(11, 17, 22, 0.78)); }
.tlk-dd .tlk-toado { left: 12px; top: 12px; bottom: auto; font-size: 11px; padding: 4px 8px; }
.tlk-dd__than { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.tlk-dd__dau { display: flex; flex-direction: column; gap: 2px; }
.tlk-dd__ten { font-family: var(--chu-de); font-size: 22px; font-weight: 800; line-height: 1.1; }
.tlk-dd__nuoc { font: 12px var(--chu-nhan); opacity: 0.9; }
.tlk-dd__tag { display: flex; flex-wrap: wrap; gap: 5px; }
.tlk-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 3px 8px;
  font: 600 11px var(--chu-de);
  color: #fff;
}

/* ── "How triplarks is made" ─────────────────────────────────────────── */
.tlk-cach-lam { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding: 56px 0 64px; }
.tlk-cach-lam .tlk-muc__de { margin-bottom: 22px; }
.tlk-cach-lam .tlk-lk-mui { display: inline-block; margin-top: 20px; }
.tlk-y { display: flex; flex-direction: column; gap: 8px; }
.tlk-y h3 { font-size: 19px; font-weight: 700; margin: 6px 0 0; }
.tlk-y p { margin: 0; font-size: 16.5px; color: var(--muted); }
.tlk-ai-viet { border: 1px solid var(--rule); border-radius: 10px; padding: 22px; background: var(--surface); }
.tlk-ai-viet__ten { display: flex; align-items: center; gap: 10px; font-family: var(--chu-de); font-size: 18px; font-weight: 800; margin: 12px 0 8px; }
.tlk-ai-viet__ten .tlk-thoi { width: 11px; height: 11px; }
.tlk-ai-viet p:not(.tlk-nhan):not(.tlk-ai-viet__ten) { font-size: 16.5px; color: var(--body-2); margin: 0 0 12px; }
