/* ============================================================
   ĐỘI NGŨ CHUYÊN VIÊN — ARCHIVE / DANH SÁCH (grid thẻ chân dung)
   Đồng bộ tông đỏ #006600 + vàng gold #c5a447 + serif
   Lưu: /wp-content/themes/<theme-con>/chuyen-vien/archive-chuyen-vien.css
   ============================================================ */

.cvn-archive{
  --gold:#c5a447; --gold-dk:#a8862e; --gold-lt:#e7d49a;
  --red:#006600;  --red-dk:#004400;
  --ink:#26303a;  --muted:#5d6b78; --line:#ece7da; --cream:#fbf8f1; --paper:#fff;
  --serif:"Playfair Display","Times New Roman",Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Be Vietnam Pro",Roboto,sans-serif;
  max-width:1240px; margin:40px auto 64px; padding:0 20px;
  font-family:var(--sans); color:var(--ink);
}
.cvn-archive *{ box-sizing:border-box; }

/* Breadcrumb */
.cvn-breadcrumb{ font-size:13px; color:var(--muted); margin-bottom:18px; display:flex; flex-wrap:wrap; gap:5px; }
.cvn-breadcrumb a{ color:var(--red); text-decoration:none; }
.cvn-breadcrumb a:hover{ text-decoration:underline; }
.cvn-breadcrumb span.sep{ color:#cfc9bb; }

/* Hero */
.cvn-hero{
  position:relative; overflow:hidden; border-radius:16px;
  background:linear-gradient(135deg,#004400 0%,#006600 52%,#003300 100%);
  border-bottom:4px solid var(--gold); box-shadow:0 14px 40px rgba(20,15,5,.1);
  padding:42px 40px; margin-bottom:34px;
}
.cvn-hero::before{
  content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c5a447' stroke-opacity='0.08'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
}
.cvn-hero-eyebrow{
  position:relative; display:inline-flex; align-items:center; gap:8px;
  color:var(--gold-lt); font-size:12px; font-weight:700; letter-spacing:2.5px;
  text-transform:uppercase; margin-bottom:12px;
}
.cvn-hero-eyebrow svg{ width:18px; height:18px; }
.cvn-hero h1{
  position:relative; font-family:var(--serif); font-weight:700;
  font-size:clamp(26px,2vw + 16px,40px); color:#fff; margin:0 0 12px; line-height:1.15;
  text-shadow:0 2px 10px rgba(0,0,0,.3);
}
.cvn-hero p{
  position:relative; color:rgba(255,255,255,.82); font-size:clamp(14px,1vw + 5px,16px);
  line-height:1.65; margin:0 0 22px; max-width:680px;
}
.cvn-hero-stats{ position:relative; display:flex; flex-wrap:wrap; gap:18px 34px; }
.cvn-stat strong{ display:block; font-family:var(--serif); font-size:24px; font-weight:700; color:var(--gold-lt); line-height:1; }
.cvn-stat span{ font-size:12px; color:rgba(255,255,255,.65); margin-top:4px; display:block; }

/* Toolbar + search */
.cvn-toolbar{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-bottom:24px; }
.cvn-count{ font-size:14px; color:var(--muted); margin:0; }
.cvn-count strong{ color:var(--ink); }
.cvn-search{ position:relative; min-width:260px; flex:0 1 340px; }
.cvn-search svg{ position:absolute; left:13px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:var(--muted); pointer-events:none; }
.cvn-search input{
  width:100%; height:44px; padding:0 14px 0 40px; border-radius:30px;
  border:1px solid var(--line); background:var(--paper); color:var(--ink);
  font-size:14px; outline:none; transition:.2s;
}
.cvn-search input:focus{ border-color:var(--gold); box-shadow:0 0 0 3px rgba(197,164,71,.18); }

/* Grid */
.cvn-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; margin-bottom:36px; }
@media(max-width:1100px){ .cvn-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px){  .cvn-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
@media(max-width:460px){  .cvn-grid{ grid-template-columns:1fr; } }

/* Card */
.cvn-card{
  display:flex; flex-direction:column; background:var(--paper);
  border:1px solid var(--line); border-radius:14px; overflow:hidden;
  box-shadow:0 6px 22px rgba(20,15,5,.05); text-decoration:none; color:inherit;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cvn-card:hover{ transform:translateY(-5px); box-shadow:0 16px 34px rgba(20,15,5,.12); border-color:var(--gold); }

.cvn-card-photo{ position:relative; aspect-ratio:4/5; overflow:hidden; background:#06330d; display:block; }
.cvn-card-photo img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.cvn-card:hover .cvn-card-photo img{ transform:scale(1.05); }
.cvn-card-photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.55) 100%);
}
.cvn-card-tag{
  position:absolute; top:12px; left:12px; z-index:2;
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(0,90,0,.92); color:var(--gold-lt);
  font-size:10.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase;
  padding:5px 10px; border-radius:20px; border:1px solid rgba(197,164,71,.5);
}
.cvn-card-tag svg{ width:11px; height:11px; }
.cvn-card-name-on{
  position:absolute; left:14px; right:14px; bottom:12px; z-index:2; color:#fff;
}
.cvn-card-name-on .nm{ font-family:var(--serif); font-size:17px; font-weight:700; line-height:1.2; text-shadow:0 1px 6px rgba(0,0,0,.5); }
.cvn-card-name-on .rl{ font-size:11.5px; color:var(--gold-lt); margin-top:2px; }

.cvn-card-body{ display:flex; flex-direction:column; flex:1; padding:14px 16px 16px; }
.cvn-card-meta{ display:flex; flex-direction:column; gap:7px; margin-bottom:12px; flex:1; }
.cvn-card-meta .row{ display:flex; gap:8px; align-items:flex-start; font-size:12.5px; color:var(--muted); line-height:1.45; }
.cvn-card-meta .row svg{ width:14px; height:14px; flex-shrink:0; color:var(--red); margin-top:1px; }
.cvn-card-meta .row b{ color:var(--ink); font-weight:600; }

.cvn-card-tags{ display:flex; flex-wrap:wrap; gap:5px; margin-bottom:12px; }
.cvn-card-tags span{
  background:var(--cream); color:var(--red); border:1px solid var(--gold-lt);
  font-size:11px; font-weight:600; padding:3px 9px; border-radius:20px;
}

.cvn-card-actions{ display:flex; gap:8px; margin-top:auto; }
.cvn-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:38px; border-radius:9px; font-size:13px; font-weight:700;
  text-decoration:none; cursor:pointer; border:1.5px solid transparent; box-sizing:border-box;
  -webkit-appearance:none; appearance:none; transition:.2s;
}
.cvn-btn svg{ width:15px; height:15px; }
.cvn-btn-fill{ flex:1; background:var(--red); color:#fff; border-color:var(--red); }
.cvn-btn-fill:hover{ background:var(--red-dk); border-color:var(--red-dk); }
.cvn-btn-icon{ width:38px; background:var(--cream); color:var(--red); border-color:var(--line); }
.cvn-btn-icon:hover{ background:var(--gold); color:#3a2600; border-color:var(--gold); }

/* Trạng thái rỗng tìm kiếm */
.cvn-empty{ text-align:center; color:var(--muted); padding:40px 20px; font-style:italic; grid-column:1/-1; display:none; }

/* Pagination */
.cvn-pagination{ display:flex; justify-content:center; flex-wrap:wrap; gap:6px; }
.cvn-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 10px;
  border:1px solid var(--line); border-radius:9px; font-size:14px; font-weight:600;
  color:var(--ink); text-decoration:none; background:var(--paper); transition:.18s;
}
.cvn-pagination .page-numbers:hover,
.cvn-pagination .page-numbers.current{ background:var(--red); color:#fff; border-color:var(--red); }
.cvn-pagination .page-numbers.dots{ border:none; background:none; }
.cvn-pagination ul{ list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; }

/* Reveal */
.cvn-card.reveal{ opacity:0; transform:translateY(12px); transition:opacity .4s ease, transform .4s ease; }
.cvn-card.reveal.in{ opacity:1; transform:none; }

@media(max-width:680px){
  .cvn-archive{ margin:20px auto 44px; padding:0 14px; }
  .cvn-hero{ padding:28px 22px; }
  .cvn-search{ flex:1 1 100%; }
}
