/* ============================================================
   HỒ SƠ LUẬT SƯ — CV PREMIUM (single-luat-su)
   Phong cách trang trọng: đỏ #8b0000 + vàng gold #c5a447 + serif
   Lưu: /wp-content/themes/<theme-con>/luat-su/single-luat-su.css
   ============================================================ */

.lawyer-cv{
  --gold:#c5a447;  --gold-dk:#a8862e;  --gold-lt:#e7d49a;
  --red:#8b0000;   --red-dk:#6d0000;
  --ink:#26303a;   --muted:#5d6b78;
  --line:#ece7da;  --cream:#fbf8f1;  --paper:#ffffff;
  --shadow:0 14px 40px rgba(20,15,5,.08);
  --serif:"Playfair Display","Times New Roman",Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Be Vietnam Pro",Roboto,sans-serif;

  max-width:1180px; margin:40px auto 64px; padding:0 20px;
  font-family:var(--sans); color:var(--ink); line-height:1.65;
}
.lawyer-cv *{ box-sizing:border-box; }

/* ─────────────────────────────  HERO  ───────────────────────────── */
.cv-hero{
  position:relative; overflow:hidden;
  background:linear-gradient(135deg,#6d0000 0%,#8b0000 52%,#560000 100%);
  border-radius:16px; border-bottom:4px solid var(--gold);
  box-shadow:var(--shadow);
  padding:40px 44px;
}
.cv-hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  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");
}
.cv-hero-inner{
  position:relative; display:grid; grid-template-columns:240px 1fr; gap:36px; align-items:center;
}

/* Chân dung */
.cv-portrait{
  position:relative; aspect-ratio:4/5; border-radius:10px; overflow:hidden;
  background:#3a0000;
  border:3px solid var(--gold);
  box-shadow:0 12px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.15);
}
.cv-portrait img{ width:100%; height:100%; object-fit:cover; display:block; }
.cv-portrait::after{
  content:""; position:absolute; inset:6px; border:1px solid rgba(255,255,255,.28); border-radius:6px; pointer-events:none;
}

/* Khối định danh */
.cv-eyebrow{
  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;
}
.cv-eyebrow svg{ width:18px; height:18px; }
.cv-name{
  font-family:var(--serif); font-weight:700;
  font-size:clamp(28px,2vw + 18px,44px); line-height:1.12;
  color:#fff; margin:0 0 6px; text-shadow:0 2px 10px rgba(0,0,0,.3);
}
.cv-role{
  color:rgba(255,255,255,.82); font-size:15px; margin:0 0 18px;
}
.cv-role b{ color:var(--gold-lt); font-weight:600; }
.cv-hero-divider{ height:2px; width:90px; background:var(--gold); border-radius:2px; margin:0 0 18px; }

.cv-hero-meta{ display:flex; flex-wrap:wrap; gap:8px 10px; margin-bottom:22px; }
.cv-chip{
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(255,255,255,.08); border:1px solid rgba(197,164,71,.45);
  color:#fff; font-size:12.5px; padding:6px 12px; border-radius:30px;
}
.cv-chip svg{ width:13px; height:13px; color:var(--gold-lt); flex-shrink:0; }

/* Nút & mạng xã hội trong hero */
.cv-hero-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.cv-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:44px; padding:0 20px; border-radius:8px;
  font-size:14px; font-weight:700; text-decoration:none; cursor:pointer;
  border:1.5px solid transparent; transition:.22s; -webkit-appearance:none; appearance:none;
}
.cv-btn svg{ width:16px; height:16px; }
.cv-btn-gold{ background:var(--gold); color:#3a2600; border-color:var(--gold); }
.cv-btn-gold:hover{ background:var(--gold-dk); border-color:var(--gold-dk); color:#fff; }
.cv-btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.cv-btn-ghost:hover{ background:#fff; color:var(--red); border-color:#fff; }

.cv-social{ display:inline-flex; gap:8px; margin-left:2px; }
.cv-social a{
  width:40px; height:40px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  transition:.25s;
}
.cv-social a svg{ width:17px; height:17px; }
.cv-social a:hover{ transform:translateY(-3px); background:var(--gold); color:#3a2600; border-color:var(--gold); }

/* ─────────────────────────────  BODY  ───────────────────────────── */
.cv-body{ display:grid; grid-template-columns:330px 1fr; gap:28px; margin-top:28px; align-items:start; }

.cv-block{
  background:var(--paper); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 6px 22px rgba(20,15,5,.05); padding:26px 28px; margin-bottom:24px;
}
.cv-block:last-child{ margin-bottom:0; }
.cv-block-title{
  font-family:var(--serif); font-size:20px; font-weight:700; color:var(--ink);
  margin:0 0 18px; padding-bottom:12px; position:relative;
}
.cv-block-title::after{
  content:""; position:absolute; left:0; bottom:0; width:54px; height:3px;
  background:var(--gold); border-radius:3px;
}
.cv-block-title small{
  display:block; font-family:var(--sans); font-size:11px; font-weight:700;
  letter-spacing:1.6px; text-transform:uppercase; color:var(--gold-dk); margin-bottom:4px;
}

/* Sidebar – liên hệ */
.cv-contact{ list-style:none; margin:0; padding:0; }
.cv-contact li{ display:flex; gap:14px; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); }
.cv-contact li:last-child{ border-bottom:0; padding-bottom:0; }
.cv-contact li:first-child{ padding-top:2px; }
.cv-contact .ic{
  flex:0 0 44px; width:44px; height:44px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#fbf3f1,#f4e6e3); color:var(--red);
  border:1px solid #ecd7d2; box-shadow:0 3px 8px rgba(120,0,0,.07);
}
.cv-contact .ic svg{ width:19px; height:19px; }
.cv-contact .tx{ min-width:0; font-size:15px; font-weight:600; color:var(--ink); line-height:1.45; word-break:break-word; }
.cv-contact .tx a{ color:inherit; text-decoration:none; transition:.18s; }
.cv-contact .tx a:hover{ color:var(--red); }

/* Sidebar – thông tin hành nghề (definition rows) */
.cv-facts{ margin:0; }
.cv-fact{ padding:10px 0; border-bottom:1px dashed var(--line); }
.cv-fact:last-child{ border-bottom:0; }
.cv-fact .lb{ font-size:11.5px; letter-spacing:.5px; text-transform:uppercase; color:var(--muted); margin-bottom:2px; }
.cv-fact .vl{ font-size:14.5px; color:var(--ink); font-weight:600; }

/* Sidebar – lĩnh vực (chips) */
.cv-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.cv-tags span{
  display:inline-flex; align-items:center;
  background:var(--cream); color:var(--red); border:1px solid var(--gold-lt);
  font-size:13px; font-weight:600; padding:6px 13px; border-radius:30px;
}

/* Main – thông điệp / quote */
.cv-quote{
  position:relative; background:var(--cream);
  border-left:4px solid var(--gold); border-radius:0 12px 12px 0;
  padding:22px 26px 22px 30px; margin:0;
  font-family:var(--serif); font-style:italic; font-size:17px; line-height:1.75; color:#3a3a36;
}
.cv-quote::before{
  content:"\201C"; position:absolute; top:2px; left:10px;
  font-family:var(--serif); font-size:54px; color:var(--gold-lt); line-height:1;
}
.cv-quote p{ margin:0 0 10px; }
.cv-quote p:last-child{ margin-bottom:0; }

/* Main – các đoạn nội dung học vấn / kinh nghiệm */
.cv-prose p{ font-size:15.5px; line-height:1.8; color:#374653; margin:0 0 14px; text-align:justify; }
.cv-prose p:last-child{ margin-bottom:0; }

/* Main – mục có icon đề mục lớn */
.cv-feature{ display:flex; gap:16px; align-items:flex-start; }
.cv-feature .fic{
  flex:0 0 44px; width:44px; height:44px; border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--red),var(--red-dk)); color:var(--gold-lt);
  box-shadow:0 6px 16px rgba(139,0,0,.25);
}
.cv-feature .fic svg{ width:22px; height:22px; }
.cv-feature .ft{ flex:1; min-width:0; }
.cv-feature .ft h4{ font-family:var(--serif); font-size:16.5px; color:var(--ink); margin:2px 0 6px; }

/* ───────────────────────  ĐỒNG NGHIỆP LIÊN QUAN  ─────────────────── */
.cv-related{ margin-top:36px; }
.cv-related-head{
  font-family:var(--serif); font-size:24px; font-weight:700; color:var(--ink);
  text-align:center; margin:0 0 6px;
}
.cv-related-sub{ text-align:center; color:var(--muted); font-size:13.5px; margin:0 0 26px; }
.cv-related-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.cv-related-card{
  background:var(--paper); border:1px solid var(--line); border-radius:12px; overflow:hidden;
  text-decoration:none; transition:.3s cubic-bezier(.25,.8,.25,1);
}
.cv-related-card:hover{ transform:translateY(-5px); box-shadow:0 14px 28px rgba(20,15,5,.1); border-color:var(--gold); }
.cv-related-card .tf{ aspect-ratio:4/5; overflow:hidden; background:#f3f0e8; }
.cv-related-card .tf img{ width:100%; height:100%; object-fit:cover; transition:.35s; }
.cv-related-card:hover .tf img{ transform:scale(1.05); }
.cv-related-card .nm{ padding:12px 10px 14px; text-align:center; }
.cv-related-card .nm .l1{ display:block; font-size:14px; font-weight:700; color:var(--ink); }
.cv-related-card .nm .l2{ display:block; font-size:12.5px; color:var(--muted); margin-top:2px; }
.cv-related-empty{ text-align:center; color:var(--muted); font-style:italic; }

/* ─────────────────────────  RESPONSIVE  ──────────────────────────── */
@media (max-width:920px){
  .cv-hero-inner{ grid-template-columns:200px 1fr; gap:26px; }
  .cv-body{ grid-template-columns:1fr; }
  .cv-related-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:680px){
  .lawyer-cv{ margin:20px auto 44px; padding:0 14px; }
  .cv-hero{ padding:28px 22px; }
  .cv-hero-inner{ grid-template-columns:1fr; gap:22px; text-align:center; }
  .cv-portrait{ width:170px; margin:0 auto; }
  .cv-eyebrow,.cv-hero-meta,.cv-hero-actions{ justify-content:center; }
  .cv-hero-divider{ margin-left:auto; margin-right:auto; }
  .cv-block{ padding:22px 20px; }
  .cv-related-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ───────────────────────────  IN HỒ SƠ  ──────────────────────────── */
@media print{
  .cv-hero-actions,.cv-social,.cv-related,.cv-print-link{ display:none !important; }
  .lawyer-cv{ margin:0; max-width:none; }
  .cv-hero{ background:#fff !important; color:var(--ink) !important; box-shadow:none; border:1px solid var(--line); }
  .cv-hero::before{ display:none; }
  .cv-name{ color:var(--red) !important; text-shadow:none; }
  .cv-role,.cv-eyebrow{ color:var(--ink) !important; }
  .cv-chip{ color:var(--ink) !important; border-color:var(--gold); }
  .cv-block{ break-inside:avoid; box-shadow:none; }
}

/* ════════════════════════════════════════════════════════════════
   POLISH — sang trọng hơn, giãn cách hợp lý, phân cấp rõ
   (Xanh lá #6d0000–#8b0000 + vàng gold)
   ════════════════════════════════════════════════════════════════ */
.lawyer-cv{ --shadow:0 18px 48px rgba(60,0,0,.09); }

/* Hero: thêm khung gold mảnh + chiều sâu */
.lawyer-cv .cv-hero{ padding:40px 46px; }
.lawyer-cv .cv-hero::before{
  opacity:1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M5 7l3 7a3 3 0 0 1-6 0l3-7zm14 0l3 7a3 3 0 0 1-6 0l3-7zM6 7h12'/%3E%3C/svg%3E") no-repeat right -40px center / auto 165%,
    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.07'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
}
.lawyer-cv .cv-hero::after{
  content:""; position:absolute; inset:14px; border:1px solid rgba(231,212,154,.30);
  border-radius:10px; pointer-events:none;
}
.lawyer-cv .cv-hero-inner{ grid-template-columns:218px 1fr; gap:40px; }
.lawyer-cv .cv-name{ margin-bottom:8px; letter-spacing:.2px; }
.lawyer-cv .cv-hero-divider{ height:3px; width:110px;
  background:linear-gradient(90deg,var(--gold),rgba(197,164,71,0)); }
.lawyer-cv .cv-chip{ padding:7px 14px; backdrop-filter:blur(2px); }

/* Khoảng cách giữa 2 cột & các khối rộng rãi hơn */
.lawyer-cv .cv-body{ grid-template-columns:340px 1fr; gap:32px; margin-top:32px; }
.lawyer-cv .cv-block{
  padding:30px 32px; border-radius:16px; margin-bottom:26px;
  box-shadow:0 8px 26px rgba(60,0,0,.05);
  transition:box-shadow .3s ease, transform .3s ease;
}
.lawyer-cv .cv-block:hover{ box-shadow:0 14px 36px rgba(60,0,0,.09); }

/* Tiêu đề khối: thêm chấm gold, phân cấp rõ, nhiều khoảng thở */
.lawyer-cv .cv-block-title{ font-size:21px; margin-bottom:22px; padding-bottom:14px; padding-left:18px; }
.lawyer-cv .cv-block-title::before{
  content:""; position:absolute; left:0; top:6px; width:8px; height:8px;
  background:var(--gold); transform:rotate(45deg); border-radius:1px;
}
.lawyer-cv .cv-block-title::after{ width:64px; height:3px;
  background:linear-gradient(90deg,var(--red),var(--gold)); }
.lawyer-cv .cv-block-title small{ margin-bottom:5px; color:var(--gold-dk); }

/* Thông tin hành nghề: dạng 2 cấp gọn, khoảng cách đều */
.lawyer-cv .cv-fact{ padding:12px 0; }
.lawyer-cv .cv-fact .lb{ margin-bottom:3px; }
.lawyer-cv .cv-fact .vl{ font-size:15px; }

/* Chip lĩnh vực: lớn, mềm, nổi bật */
.lawyer-cv .cv-tags{ gap:9px; }
.lawyer-cv .cv-tags span{
  padding:7px 15px; font-size:13.5px; border-radius:30px;
  background:linear-gradient(135deg,#fff,var(--cream));
  box-shadow:0 2px 6px rgba(60,0,0,.05);
}

/* Thông điệp: khối quote lộng lẫy hơn */
.lawyer-cv .cv-quote{
  padding:28px 30px 28px 34px; border-radius:4px 16px 16px 4px;
  font-size:17.5px; line-height:1.8;
  background:linear-gradient(135deg,#fdf5f3,var(--cream));
  border-left:5px solid var(--gold);
}
.lawyer-cv .cv-quote::before{ font-size:62px; top:6px; left:12px; color:var(--gold); opacity:.55; }

/* Học vấn / Kinh nghiệm: icon đề mục to, thân thoáng */
.lawyer-cv .cv-feature{ gap:18px; }
.lawyer-cv .cv-feature .fic{ width:50px; height:50px; flex-basis:50px; border-radius:13px; }
.lawyer-cv .cv-feature .fic svg{ width:24px; height:24px; }
.lawyer-cv .cv-prose p{ font-size:16px; line-height:1.85; }

/* Đồng nghiệp liên quan: tiêu đề rộng rãi */
.lawyer-cv .cv-related{ margin-top:44px; }
.lawyer-cv .cv-related-head{ font-size:26px; }
.lawyer-cv .cv-related-card .nm{ padding:13px 10px 15px; }

@media (max-width:920px){ .lawyer-cv .cv-body{ grid-template-columns:1fr; } }
@media (max-width:680px){
  .lawyer-cv .cv-hero{ padding:30px 22px; }
  .lawyer-cv .cv-hero::after{ inset:10px; }
  .lawyer-cv .cv-block{ padding:24px 22px; }
}

/* ════════════════════════════════════════════════════════════════
   KẾT NỐI & MẠNG XÃ HỘI (dưới các khối nội dung)
   Tương phản cao: icon trắng trên ô màu đậm, chữ tối trên nền sáng.
   ════════════════════════════════════════════════════════════════ */
.lawyer-cv .cv-connect{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.lawyer-cv .cv-cn{
  display:flex; align-items:center; gap:13px; padding:12px 15px;
  border:1px solid var(--line); border-radius:13px; background:var(--paper);
  text-decoration:none; box-shadow:0 3px 10px rgba(0,0,0,.04);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lawyer-cv .cv-cn:hover{ transform:translateY(-2px); box-shadow:0 12px 24px rgba(0,0,0,.10); }
.lawyer-cv .cv-cn .cn-ic{
  flex:0 0 44px; width:44px; height:44px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center; color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.16);
}
.lawyer-cv .cv-cn .cn-ic svg{ width:20px; height:20px; }
.lawyer-cv .cv-cn .cn-tx{ display:flex; flex-direction:column; min-width:0; }
.lawyer-cv .cv-cn .cn-lb{ font-size:11px; letter-spacing:.5px; text-transform:uppercase; color:var(--muted); font-weight:700; line-height:1.3; }
.lawyer-cv .cv-cn .cn-vl{ font-size:14.5px; font-weight:700; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Màu nhận diện từng kênh — đậm, kiểm soát, tương phản tốt (không lòe) */
.lawyer-cv .cv-cn-phone .cn-ic{ background:#8b0000; }
.lawyer-cv .cv-cn-mail  .cn-ic{ background:#b07a12; }
.lawyer-cv .cv-cn-fb    .cn-ic{ background:#1d4ed8; }
.lawyer-cv .cv-cn-yt    .cn-ic{ background:#b81414; }
.lawyer-cv .cv-cn-tt    .cn-ic{ background:#161823; }
.lawyer-cv .cv-cn-phone:hover{ border-color:#8b0000; }
.lawyer-cv .cv-cn-mail:hover{ border-color:#b07a12; }
.lawyer-cv .cv-cn-fb:hover{ border-color:#1d4ed8; }
.lawyer-cv .cv-cn-yt:hover{ border-color:#b81414; }
.lawyer-cv .cv-cn-tt:hover{ border-color:#161823; }

@media (max-width:520px){ .lawyer-cv .cv-connect{ grid-template-columns:1fr; } }

/* ════════════════════════════════════════════════════════════════
   NHẤN MẠNH (bắt mắt + tương phản cao) — Thông tin liên hệ & Thông điệp
   ════════════════════════════════════════════════════════════════ */

/* ── Thông tin liên hệ: ô icon ĐỎ ĐẶC, icon trắng → nổi bật, dễ đọc ── */
.lawyer-cv .cv-contact li{ padding:14px 0; gap:15px; }
.lawyer-cv .cv-contact .ic{
  width:46px; height:46px; flex-basis:46px; border-radius:13px;
  background:linear-gradient(135deg,#8b0000,#6d0000);
  color:#fff; border:1px solid rgba(197,164,71,.45);
  box-shadow:0 6px 16px rgba(139,0,0,.22);
}
.lawyer-cv .cv-contact .ic svg{ width:20px; height:20px; }
.lawyer-cv .cv-contact .tx{ font-size:15.5px; font-weight:600; }
.lawyer-cv .cv-contact .tx a:hover{ color:#8b0000; }

/* ── Thông điệp & lời chia sẻ: viền đôi đỏ–vàng, nền gradient, dấu nháy gold to ── */
.lawyer-cv .cv-quote{
  position:relative; margin-top:2px;
  background:linear-gradient(135deg,#ffffff 0%,#fdf3f1 100%);
  border-left:6px solid #8b0000; border-radius:4px 18px 18px 4px;
  box-shadow:0 10px 28px rgba(139,0,0,.08);
  padding:32px 36px 32px 42px;
  font-size:18px; line-height:1.85; color:#3a2c2c;
}
.lawyer-cv .cv-quote::before{
  content:"\201C"; color:#c5a447; opacity:.85; font-size:70px; top:8px; left:14px;
}
.lawyer-cv .cv-quote::after{
  content:""; position:absolute; left:6px; top:10px; bottom:10px; width:2px;
  background:linear-gradient(180deg,#c5a447,rgba(197,164,71,0)); border-radius:2px;
}
.lawyer-cv .cv-quote p{ position:relative; z-index:1; }

/* Tiêu đề khối Thông điệp: thêm chút uy nghi */
.lawyer-cv .cv-connect-block .cv-block-title small,
.lawyer-cv .cv-quote ~ * .cv-block-title small{ color:#a8862e; }
