/*
 * CVPro — 6 Professional CV Templates
 * =====================================
 * Drop this file into:  css/cv-templates.css
 *
 * Template classes:
 *   .cv-t1  Academic Classic   (Times New Roman · Navy · PDF replica)
 *   .cv-t2  Academic Modern    (Times New Roman · Black · PDF replica)
 *   .cv-t3  Executive Prestige (Garamond · Dark navy header · Gold)
 *   .cv-t4  Nordic Minimal     (Lato · Teal · Two-column · Skill bars)
 *   .cv-t5  Creative Scholar   (Merriweather · Amber · Timeline · Avatar)
 *   .cv-t6  Journal Editorial  (Lato · Dark masthead · Metrics sidebar)
 *
 * PDF source measurements (CV_Naeem_Ur_Rehman.pdf — Letter 612×792pt):
 *   Name:         x244.8 y56.4  16pt bold  #002060
 *   Email:        x228.9 y76.9  12pt       #0563c1
 *   Section heads:           14pt bold  #002060
 *   Dates column: x45.8–163  = 117pt → 122px
 *   Section rules: x39.1–582.1 full-width #002060
 *   Blue underline under name: x228.9–392.2 = 163pt wide
 *
 * PDF source measurements (CV__Naeem_Ur_Rehman___1_.pdf):
 *   Name:         16pt bold  #000000 (black, not navy)
 *   Section rules: 1.5px black full-width
 *   Entry layout: bullet(▪) + role bold left + dates bold right
 *   Sub-lines:    "- " prefix, indented 20px
 */

/* ─── Shared reset ──────────────────────────────────────────── */
.cv-doc * { box-sizing: border-box; margin: 0; padding: 0; }
.cv-doc { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }


/* ════════════════════════════════════════════════════════════════
   TEMPLATE 1 · ACADEMIC CLASSIC
   Pixel-perfect replica of CV_Naeem_Ur_Rehman.pdf
   ════════════════════════════════════════════════════════════════ */
.cv-t1 {
  font-family: "Times New Roman", "TimesNewRomanPSMT", Georgia, serif;
  font-size: 12px;
  line-height: 1.46;
  color: #111;
  padding: 26px 46px 46px 46px;
  background: #fff;
}

/* Top-right running header: "CV (Name)" */
.cv-t1 .run-head {
  text-align: right;
  font-size: 10px;
  color: #002060;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

/* Centered name block */
.cv-t1 .hdr { text-align: center; }

.cv-t1 .name {
  font-size: 18px;
  font-weight: 700;
  color: #002060;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 4px;
}

/* Blue underline — 163pt wide (x228.9→392.2 on 612pt Letter page) */
.cv-t1 .name-line {
  width: 163px;
  height: 1.5px;
  background: #0563c1;
  margin: 0 auto 5px;
}

.cv-t1 .email { font-size: 12px; color: #0563c1; margin-bottom: 2px; }
.cv-t1 .email a { color: #0563c1; text-decoration: none; }
.cv-t1 .cline { font-size: 11px; color: #333; line-height: 1.5; }

/* Full-width navy rule — x39.1→582.1 */
.cv-t1 .hrule { height: 2px; background: #002060; margin: 8px 0 10px; }

.cv-t1 .sec { margin-bottom: 13px; }

/* Section head: 14pt bold navy */
.cv-t1 .sh { font-size: 14px; font-weight: 700; color: #002060; line-height: 1.25; margin-bottom: 1px; }
.cv-t1 .sr { height: 1px; background: #002060; margin: 1px 0 7px; }

/* Two-column layout — dates(122px) | content */
.cv-t1 .row {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 0 6px;
  margin-bottom: 10px;
  align-items: start;
}
.cv-t1 .dt { font-size: 11px; color: #111; line-height: 1.5; padding-top: 1px; }
.cv-t1 .deg { font-size: 12px; font-weight: 700; color: #111; margin-bottom: 1px; line-height: 1.4; }
.cv-t1 .inst { font-size: 11.5px; color: #333; line-height: 1.4; margin-bottom: 2px; }
.cv-t1 .bl { font-weight: 700; }
.cv-t1 .sl { font-size: 11px; color: #333; line-height: 1.45; margin-bottom: 1px; }

/* CGPA / Class Ranking right-aligned column headers */
.cv-t1 .mh { display: flex; justify-content: flex-end; gap: 28px; font-size: 11px; font-weight: 700; color: #111; margin-bottom: 2px; }
.cv-t1 .mv { display: flex; justify-content: flex-end; gap: 28px; font-size: 10.5px; color: #111; }

/* Navy-bordered skill chips */
.cv-t1 .cr { display: flex; flex-wrap: wrap; gap: 3px 4px; margin-top: 4px; }
.cv-t1 .ch {
  font-size: 9.5px; color: #002060; background: #eef1f8;
  border: 1px solid #002060; padding: 1px 6px; border-radius: 2px;
  white-space: nowrap; line-height: 1.5;
}

/* Publications */
.cv-t1 .pub { display: flex; gap: 4px; margin-bottom: 5px; font-size: 11.5px; color: #222; line-height: 1.5; align-items: start; }
.cv-t1 .pn { flex-shrink: 0; min-width: 18px; }
.cv-t1 .pb { flex: 1; }
.cv-t1 .pt { font-style: italic; }
.cv-t1 .pd { color: #0563c1; }

/* Bullet lists */
.cv-t1 ul { list-style: none; padding: 0; }
.cv-t1 li { display: flex; gap: 7px; font-size: 11.5px; color: #222; line-height: 1.45; margin-bottom: 2px; align-items: start; }
.cv-t1 li::before { content: "▪"; flex-shrink: 0; color: #111; font-size: 12px; line-height: 1.3; }

/* Skill lines (▪ prefix) */
.cv-t1 .skl { display: flex; gap: 7px; font-size: 11.5px; color: #222; line-height: 1.45; margin-bottom: 3px; }
.cv-t1 .skl::before { content: "▪"; flex-shrink: 0; color: #111; }

.cv-t1 .sum { font-size: 11.5px; color: #222; line-height: 1.65; margin-bottom: 4px; }

/* References: 2-column */
.cv-t1 .rg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.cv-t1 .rn { font-weight: 700; font-size: 11.5px; }
.cv-t1 .rs { font-size: 11px; color: #444; line-height: 1.45; }
.cv-t1 .re { color: #0563c1; font-size: 11px; }
.cv-t1 .re a { color: #0563c1; text-decoration: none; }


/* ════════════════════════════════════════════════════════════════
   TEMPLATE 2 · ACADEMIC MODERN
   Pixel-perfect replica of CV__Naeem_Ur_Rehman___1_.pdf
   All-black scheme · 1.5px black rules · Bullet+right-dates entries
   ════════════════════════════════════════════════════════════════ */
.cv-t2 {
  font-family: "Times New Roman", "TimesNewRomanPSMT", Georgia, serif;
  font-size: 12px;
  line-height: 1.45;
  color: #111;
  padding: 30px 44px 46px 44px;
  background: #fff;
}

.cv-t2 .hdr { text-align: center; margin-bottom: 12px; }
.cv-t2 .name { font-size: 18px; font-weight: 700; color: #000; letter-spacing: 0.03em; line-height: 1.2; margin-bottom: 5px; }
.cv-t2 .name-line { width: 163px; height: 1.5px; background: #0563c1; margin: 0 auto 6px; }
.cv-t2 .cline { font-size: 11.5px; color: #333; line-height: 1.6; }
.cv-t2 .cline a { color: #0563c1; text-decoration: none; }

.cv-t2 .sec { margin-bottom: 14px; }

/* Section head: 14pt bold BLACK */
.cv-t2 .sh { font-size: 14px; font-weight: 700; color: #000; line-height: 1.25; margin-bottom: 1px; }
.cv-t2 .sr { height: 1.5px; background: #000; margin: 1px 0 7px; }

/* Entry block */
.cv-t2 .entry { margin-bottom: 11px; }

/* Role line: bullet(■) + role bold left + dates bold right */
.cv-t2 .etop { display: flex; align-items: baseline; margin-bottom: 1px; }
.cv-t2 .bul { flex-shrink: 0; color: #111; font-size: 14px; margin-right: 6px; line-height: 1.2; }
.cv-t2 .role { font-size: 12px; font-weight: 700; color: #000; flex: 1; line-height: 1.4; }
.cv-t2 .dates { font-size: 12px; font-weight: 700; color: #000; flex-shrink: 0; white-space: nowrap; margin-left: 8px; }

/* Organisation line — indented to match PDF x≈46 */
.cv-t2 .org { font-size: 11.5px; color: #333; padding-left: 20px; line-height: 1.4; margin-bottom: 1px; }

/* Sub-lines: "- Project:", "- Advisor:" */
.cv-t2 .sub { font-size: 11.5px; color: #333; padding-left: 20px; line-height: 1.45; margin-bottom: 1px; }
.cv-t2 .sub b { font-weight: 700; color: #111; }

.cv-t2 .sum { font-size: 11.5px; color: #222; line-height: 1.65; padding-left: 20px; }

.cv-t2 .pub { display: flex; gap: 4px; margin-bottom: 5px; font-size: 11.5px; color: #222; line-height: 1.5; padding-left: 8px; align-items: start; }
.cv-t2 .pn { flex-shrink: 0; min-width: 18px; }
.cv-t2 .pb { flex: 1; }
.cv-t2 .pt { font-style: italic; }
.cv-t2 .pd { color: #0563c1; }

.cv-t2 ul { list-style: none; padding: 0; }
.cv-t2 li { display: flex; gap: 7px; font-size: 11.5px; color: #222; line-height: 1.45; margin-bottom: 2px; padding-left: 8px; }
.cv-t2 li::before { content: "▪"; flex-shrink: 0; color: #111; }

.cv-t2 .skl { display: flex; gap: 7px; font-size: 11.5px; color: #222; line-height: 1.45; margin-bottom: 2px; padding-left: 8px; }
.cv-t2 .skl::before { content: "▪"; flex-shrink: 0; color: #111; }

.cv-t2 .rg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; padding-left: 8px; }
.cv-t2 .rn { font-weight: 700; font-size: 11.5px; }
.cv-t2 .rs { font-size: 11px; color: #444; line-height: 1.45; }
.cv-t2 .re { color: #0563c1; font-size: 11px; }
.cv-t2 .re a { color: #0563c1; text-decoration: none; }


/* ════════════════════════════════════════════════════════════════
   TEMPLATE 3 · EXECUTIVE PRESTIGE
   Dark navy gradient header · 3px gold bar · Garamond serif
   Date-badge columns · Gold accent · Senior faculty / professors
   ════════════════════════════════════════════════════════════════ */
.cv-t3 {
  font-family: "Garamond", "EB Garamond", "Georgia", "Times New Roman", serif;
  font-size: 11px;
  line-height: 1.5;
  color: #1c1c2e;
  background: #fff;
}

.cv-t3 .hdr {
  background: linear-gradient(155deg, #0c1928 0%, #162843 55%, #0c1928 100%);
  padding: 0 44px 26px 44px;
}
.cv-t3 .gold-bar {
  height: 3px;
  background: linear-gradient(90deg, #6b3e08, #c8921e 25%, #f0d060 50%, #c8921e 75%, #6b3e08);
  margin-bottom: 24px;
}
.cv-t3 .name { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 5px; text-transform: uppercase; }
.cv-t3 .title-sub { font-size: 11px; color: rgba(255,255,255,0.48); letter-spacing: 0.8px; margin-bottom: 18px; font-style: italic; }
.cv-t3 .contacts { display: flex; flex-wrap: wrap; gap: 5px 24px; }
.cv-t3 .ci { font-size: 9.5px; color: rgba(255,255,255,0.48); }
.cv-t3 .ci a { color: rgba(255,255,255,0.62); text-decoration: none; }

.cv-t3 .body { padding: 24px 44px 44px 44px; }
.cv-t3 .sec { margin-bottom: 20px; }

/* Section head: gold left accent bar */
.cv-t3 .sh {
  display: flex; align-items: center; gap: 10px;
  font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px;
  color: #a07020; margin-bottom: 13px;
}
.cv-t3 .sh::before {
  content: ""; display: block; width: 3px; height: 16px;
  background: linear-gradient(180deg, #f0d060, #a07020);
  flex-shrink: 0; border-radius: 1px;
}

/* Two-col: date badge | content */
.cv-t3 .entry { display: grid; grid-template-columns: 95px 1fr; gap: 0 14px; margin-bottom: 15px; align-items: start; }
.cv-t3 .db {
  display: flex; align-items: center; justify-content: center;
  background: rgba(160,112,32,0.08); border: 1px solid rgba(160,112,32,0.22);
  color: #6a4808; font-size: 8.5px; font-weight: 600;
  padding: 4px 7px; border-radius: 3px; text-align: center; line-height: 1.4; width: 100%;
}
.cv-t3 .role { font-size: 12.5px; font-weight: 700; color: #0c1928; line-height: 1.3; margin-bottom: 2px; }
.cv-t3 .org { font-size: 10.5px; color: #a07020; font-weight: 600; margin-bottom: 4px; }
.cv-t3 .desc { font-size: 10.5px; color: #444; line-height: 1.6; }
.cv-t3 .sub { font-size: 10.5px; color: #444; line-height: 1.45; margin-bottom: 1px; }

/* Summary spanning full content column */
.cv-t3 .sum-e { display: grid; grid-template-columns: 95px 1fr; gap: 0 14px; }
.cv-t3 .sum { font-size: 11px; color: #333; line-height: 1.7; }

/* Skill cloud */
.cv-t3 .cloud { display: flex; flex-wrap: wrap; gap: 5px; }
.cv-t3 .ct { background: rgba(160,112,32,0.07); border: 1px solid rgba(160,112,32,0.2); color: #5c3e08; font-size: 9.5px; padding: 3px 10px; border-radius: 3px; font-weight: 500; }

.cv-t3 .pub { display: flex; gap: 5px; margin-bottom: 6px; font-size: 10.5px; color: #333; line-height: 1.6; }
.cv-t3 .pn { flex-shrink: 0; min-width: 18px; color: #a07020; font-weight: 700; }
.cv-t3 .pt { font-style: italic; }
.cv-t3 .pd { color: #0563c1; }

.cv-t3 ul { list-style: none; padding: 0; }
.cv-t3 li { font-size: 10.5px; color: #333; padding: 4px 0 4px 12px; border-left: 2px solid rgba(160,112,32,0.25); margin-bottom: 4px; line-height: 1.5; }

.cv-t3 .rg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-left: 109px; }
.cv-t3 .rn { font-weight: 700; font-size: 11px; color: #0c1928; }
.cv-t3 .rs { font-size: 10px; color: #555; line-height: 1.5; font-style: italic; }
.cv-t3 .re { color: #0563c1; font-size: 10px; }
.cv-t3 .re a { color: #0563c1; text-decoration: none; }


/* ════════════════════════════════════════════════════════════════
   TEMPLATE 4 · NORDIC MINIMAL
   Dark teal header · Two-column body (main + sidebar)
   Skill progress bars · Red accent markers · ATS 99%
   ════════════════════════════════════════════════════════════════ */
.cv-t4 {
  font-family: "Lato", "Calibri", "Trebuchet MS", sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

/* Dark teal header band */
.cv-t4 .hdr {
  background: #183848;
  padding: 24px 36px 20px 36px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.cv-t4 .name { font-size: 31px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1.05; margin-bottom: 5px; }
.cv-t4 .title-sub { font-size: 10.5px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1px; }
.cv-t4 .hc { text-align: right; flex-shrink: 0; }
.cv-t4 .hc p { font-size: 9.5px; color: rgba(255,255,255,0.45); line-height: 1.9; margin: 0; }
.cv-t4 .hc a { color: rgba(255,255,255,0.62); text-decoration: none; }

/* Two-column body */
.cv-t4 .body { display: flex; }
.cv-t4 .main { flex: 1; padding: 22px 26px 36px 36px; border-right: 1px solid #e5e5e5; }
.cv-t4 .side { width: 188px; flex-shrink: 0; padding: 22px 20px 36px 20px; background: #f6f7f8; }

.cv-t4 .sec { margin-bottom: 22px; }

/* Section head — red accent dash */
.cv-t4 .sh {
  display: flex; align-items: center; gap: 10px;
  font-size: 7.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 2.2px;
  color: #183848; margin-bottom: 13px;
}
.cv-t4 .sh::before { content: ""; display: block; width: 22px; height: 3px; background: #c0392b; flex-shrink: 0; border-radius: 1.5px; }

/* Sidebar section head */
.cv-t4 .sbh { font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.8px; color: #183848; border-bottom: 2px solid #183848; padding-bottom: 4px; margin-bottom: 11px; }
.cv-t4 .ssec { margin-bottom: 20px; }

/* Entry */
.cv-t4 .entry { margin-bottom: 14px; }
.cv-t4 .etop { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.cv-t4 .role { font-size: 12px; font-weight: 700; color: #111; line-height: 1.3; }
.cv-t4 .dates { font-size: 9px; font-weight: 700; color: #c0392b; flex-shrink: 0; white-space: nowrap; }
.cv-t4 .org { font-size: 10.5px; color: #555; margin-bottom: 2px; }
.cv-t4 .desc { font-size: 10.5px; color: #555; line-height: 1.6; }
.cv-t4 .sub { font-size: 10.5px; color: #555; line-height: 1.45; margin-bottom: 1px; }
.cv-t4 .sum { font-size: 10.5px; color: #444; line-height: 1.7; }

/* Skill progress bars */
.cv-t4 .sk { margin-bottom: 10px; }
.cv-t4 .sn { font-size: 9.5px; color: #222; font-weight: 600; margin-bottom: 3px; }
.cv-t4 .st { height: 3.5px; background: #ddd; border-radius: 2px; overflow: hidden; }
.cv-t4 .sf { height: 100%; background: #183848; border-radius: 2px; }

/* Languages */
.cv-t4 .lg { margin-bottom: 6px; }
.cv-t4 .ln { font-size: 10px; font-weight: 700; color: #111; }
.cv-t4 .ll { font-size: 9px; color: #888; }

.cv-t4 .pub { display: flex; gap: 4px; margin-bottom: 5px; font-size: 10.5px; color: #333; line-height: 1.55; }
.cv-t4 .pn { flex-shrink: 0; min-width: 16px; }
.cv-t4 .pt { font-style: italic; }
.cv-t4 .pd { color: #0563c1; }

.cv-t4 ul { list-style: none; padding: 0; }
.cv-t4 li { font-size: 10.5px; color: #444; padding: 2px 0 2px 14px; position: relative; margin-bottom: 2px; line-height: 1.45; }
.cv-t4 li::before { content: "—"; position: absolute; left: 0; color: #c0392b; font-weight: 900; }

/* Sidebar awards */
.cv-t4 .aw { margin-bottom: 8px; }
.cv-t4 .at { font-size: 9.5px; font-weight: 600; color: #111; line-height: 1.4; }
.cv-t4 .ay { font-size: 8.5px; color: #999; }

.cv-t4 .ref { margin-bottom: 10px; }
.cv-t4 .rn { font-size: 10px; font-weight: 700; color: #183848; }
.cv-t4 .rs { font-size: 9px; color: #555; font-style: italic; }
.cv-t4 .re { font-size: 9px; color: #0563c1; }
.cv-t4 .re a { color: #0563c1; text-decoration: none; }


/* ════════════════════════════════════════════════════════════════
   TEMPLATE 5 · CREATIVE SCHOLAR
   5px amber gradient stripe · Cream header · Initials avatar
   Merriweather serif · Amber timeline dots · Pill tags
   ════════════════════════════════════════════════════════════════ */
.cv-t5 {
  font-family: "Merriweather", "Georgia", "Times New Roman", serif;
  font-size: 11px;
  line-height: 1.5;
  color: #1a1200;
  background: #fff;
}

/* 5px amber gradient stripe */
.cv-t5 .stripe { height: 5px; background: linear-gradient(90deg, #8c5010, #c87820 30%, #e8a030 60%, #c07818); }

/* Cream header with avatar */
.cv-t5 .hdr {
  background: #faf5e8;
  border-bottom: 1px solid #e6d8b0;
  padding: 22px 36px 20px 36px;
  display: flex; align-items: flex-start; gap: 18px;
}

/* Initials avatar */
.cv-t5 .av {
  width: 60px; height: 60px; border-radius: 12px;
  background: linear-gradient(145deg, #b86e10, #e09c30);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff;
  flex-shrink: 0; letter-spacing: -1px; line-height: 1;
}
.cv-t5 .hi { flex: 1; }
.cv-t5 .name { font-size: 25px; font-weight: 700; color: #1a0e00; line-height: 1.15; margin-bottom: 3px; }
.cv-t5 .title-sub { font-size: 11px; color: #8c5e10; font-weight: 700; font-style: italic; margin-bottom: 9px; }
.cv-t5 .hcr { display: flex; flex-wrap: wrap; gap: 2px 18px; margin-bottom: 9px; font-size: 9.5px; color: #555; font-family: "Lato","Calibri",sans-serif; }
.cv-t5 .hcr a { color: #0563c1; text-decoration: none; }
.cv-t5 .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.cv-t5 .tag { font-size: 8.5px; background: #f0e2c0; border: 1px solid #c8a040; color: #6a4a00; padding: 2px 9px; border-radius: 12px; font-weight: 700; font-family: "Lato","Calibri",sans-serif; }

.cv-t5 .body { padding: 22px 36px 40px 36px; }
.cv-t5 .sec { margin-bottom: 20px; }

/* Section head — amber dot */
.cv-t5 .sh { display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: #1a0e00; margin-bottom: 13px; font-family: "Lato","Calibri",sans-serif; }
.cv-t5 .sd { width: 9px; height: 9px; border-radius: 50%; background: #c88020; flex-shrink: 0; }

/* Timeline */
.cv-t5 .tl { border-left: 2px solid #e8d090; padding-left: 20px; margin-left: 4px; }
.cv-t5 .ti { position: relative; margin-bottom: 14px; }
.cv-t5 .ti::before {
  content: ""; position: absolute; left: -26px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #c88020; border: 2.5px solid #fff; box-shadow: 0 0 0 1.5px #c88020;
}
.cv-t5 .role { font-size: 12.5px; font-weight: 700; color: #1a0e00; line-height: 1.3; margin-bottom: 1px; }
.cv-t5 .org { font-size: 10.5px; color: #8c5e10; font-weight: 700; margin-bottom: 2px; font-family: "Lato","Calibri",sans-serif; }
.cv-t5 .meta { font-size: 9.5px; color: #bbb; margin-bottom: 4px; font-family: "Lato","Calibri",sans-serif; }
.cv-t5 .desc { font-size: 10.5px; color: #444; line-height: 1.6; }
.cv-t5 .sub { font-size: 10.5px; color: #555; line-height: 1.45; margin-bottom: 1px; }
.cv-t5 .sum { font-size: 11px; color: #444; line-height: 1.7; margin-left: 24px; }

/* Skill pills */
.cv-t5 .cloud { display: flex; flex-wrap: wrap; gap: 5px; }
.cv-t5 .ct { background: #f0e2c0; border: 1px solid #c8a040; color: #5a3c00; font-size: 9.5px; padding: 3px 11px; border-radius: 20px; font-weight: 600; font-family: "Lato","Calibri",sans-serif; }

.cv-t5 .pub { display: flex; gap: 4px; margin-bottom: 6px; font-size: 10.5px; color: #333; line-height: 1.55; margin-left: 24px; }
.cv-t5 .pn { flex-shrink: 0; min-width: 18px; color: #c88020; font-weight: 700; }
.cv-t5 .pt { font-style: italic; }
.cv-t5 .pd { color: #0563c1; }

.cv-t5 ul { list-style: none; padding: 0; }
.cv-t5 li { font-size: 10.5px; color: #333; padding: 3px 0 3px 16px; position: relative; margin-bottom: 3px; line-height: 1.45; }
.cv-t5 li::before { content: "◆"; position: absolute; left: 0; color: #c88020; font-size: 7px; top: 6px; }

.cv-t5 .rg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-left: 24px; }
.cv-t5 .rn { font-weight: 700; font-size: 11px; color: #1a0e00; }
.cv-t5 .rs { font-size: 10px; color: #666; font-style: italic; line-height: 1.45; }
.cv-t5 .re { color: #0563c1; font-size: 10px; }
.cv-t5 .re a { color: #0563c1; text-decoration: none; }


/* ════════════════════════════════════════════════════════════════
   TEMPLATE 6 · JOURNAL EDITORIAL
   Dark ink masthead · 3px gold bottom rule · Editorial two-col
   Metrics sidebar with large stats · STEM / data science
   ════════════════════════════════════════════════════════════════ */
.cv-t6 {
  font-family: "Lato", "Calibri", "Trebuchet MS", sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

/* Dark masthead */
.cv-t6 .mast { background: #0d0d18; padding: 24px 36px 18px 36px; border-bottom: 3px solid #c49a28; }
.cv-t6 .ey { font-size: 7.5px; text-transform: uppercase; letter-spacing: 4px; color: #c49a28; margin-bottom: 6px; font-weight: 700; }
.cv-t6 .name { font-size: 36px; font-weight: 900; color: #fff; letter-spacing: -2px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.cv-t6 .mm { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.cv-t6 .mm span { font-size: 9px; color: rgba(255,255,255,0.35); }
.cv-t6 .mm a { color: rgba(255,255,255,0.5); text-decoration: none; }

/* Editorial body — main + sidebar */
.cv-t6 .body { display: flex; }
.cv-t6 .main { flex: 1; padding: 22px 24px 40px 36px; border-right: 1px solid #e2e2e2; }
.cv-t6 .side { width: 165px; flex-shrink: 0; padding: 22px 17px 40px 17px; background: #f4f4f4; }

.cv-t6 .sec { margin-bottom: 20px; }
.cv-t6 .sh { font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: 2.2px; color: #0d0d18; border-bottom: 2px solid #0d0d18; padding-bottom: 4px; margin-bottom: 12px; }
.cv-t6 .sbh { font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; color: #0d0d18; border-bottom: 1.5px solid #c49a28; padding-bottom: 3px; margin-bottom: 10px; }
.cv-t6 .ssec { margin-bottom: 18px; }

/* Large metric stats */
.cv-t6 .stat { margin-bottom: 13px; }
.cv-t6 .snum { font-size: 28px; font-weight: 900; color: #0d0d18; line-height: 1; display: block; letter-spacing: -1.5px; margin-bottom: 1px; }
.cv-t6 .slbl { font-size: 7.5px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }

/* Entry: date-col | content */
.cv-t6 .entry { display: grid; grid-template-columns: 54px 1fr; gap: 0 13px; margin-bottom: 15px; align-items: start; }
.cv-t6 .dc { font-size: 8.5px; color: #bbb; padding-top: 3px; line-height: 1.4; text-align: right; }
.cv-t6 .role { font-size: 12px; font-weight: 700; color: #0d0d18; line-height: 1.3; margin-bottom: 2px; }
.cv-t6 .org { font-size: 10px; color: #c49a28; font-weight: 700; margin-bottom: 3px; }
.cv-t6 .desc { font-size: 10.5px; color: #444; line-height: 1.6; }
.cv-t6 .sub { font-size: 10.5px; color: #555; margin-bottom: 1px; }

/* Summary entry */
.cv-t6 .sum-e { display: grid; grid-template-columns: 54px 1fr; gap: 0 13px; }
.cv-t6 .sum { font-size: 11px; color: #333; line-height: 1.7; }

/* Tag clouds */
.cv-t6 .cloud { display: flex; flex-wrap: wrap; gap: 4px; margin-left: 67px; }
.cv-t6 .ct { background: #0d0d18; color: #ddd; font-size: 8.5px; padding: 3px 9px; border-radius: 2px; font-weight: 500; }
.cv-t6 .stags { display: flex; flex-wrap: wrap; gap: 3px; }
.cv-t6 .stag { background: #0d0d18; color: #eee; font-size: 7.5px; padding: 2px 7px; border-radius: 2px; }

.cv-t6 .pub { display: flex; gap: 5px; margin-bottom: 6px; font-size: 10.5px; color: #333; line-height: 1.55; margin-left: 67px; }
.cv-t6 .pn { flex-shrink: 0; min-width: 18px; font-weight: 700; color: #c49a28; }
.cv-t6 .pt { font-style: italic; }
.cv-t6 .pd { color: #0563c1; }

.cv-t6 ul { list-style: none; padding: 0; margin-left: 67px; }
.cv-t6 li { font-size: 10.5px; color: #333; padding: 3px 0 3px 11px; border-left: 2px solid #c49a28; margin-bottom: 4px; line-height: 1.45; }

/* Sidebar awards */
.cv-t6 .aw { margin-bottom: 8px; }
.cv-t6 .at { font-size: 9px; font-weight: 600; color: #111; line-height: 1.4; }
.cv-t6 .ay { font-size: 8px; color: #bbb; }

.cv-t6 .ref { margin-bottom: 9px; }
.cv-t6 .rn { font-size: 10px; font-weight: 700; color: #0d0d18; }
.cv-t6 .rs { font-size: 8.5px; color: #555; font-style: italic; }
.cv-t6 .re { font-size: 8.5px; color: #0563c1; }
.cv-t6 .re a { color: #0563c1; text-decoration: none; }



/* Education 3-column layout for Template 1 (Classic)
   Header:  [dates spacer] | Institution | CGPA | Class Ranking
   Values:  Institution left-aligned | CGPA centred | Ranking centred      */
.cv-t1 .edu-hdr {
  display: grid;
  grid-template-columns: 122px 1fr 66px 90px;
  gap: 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #002060;
  margin-bottom: 3px;
  padding-bottom: 2px;
  border-bottom: 1px solid #c8d0e0;
}
.cv-t1 .edu-hdr-dates { /* spacer matches .dt column width */ }
.cv-t1 .edu-hdr-inst  { }
.cv-t1 .edu-hdr-cgpa  { text-align: center; }
.cv-t1 .edu-hdr-rank  { text-align: center; }

.cv-t1 .edu-3col {
  display: grid;
  grid-template-columns: 1fr 66px 90px;
  gap: 0 6px;
  font-size: 11px;
  margin-top: 1px;
  margin-bottom: 2px;
}
.cv-t1 .edu-3col-inst { color: #333; }
.cv-t1 .edu-3col-cgpa { text-align: center; color: #111; font-weight: 600; }
.cv-t1 .edu-3col-rank { text-align: center; color: #111; font-weight: 600; }

/* ─── Watermark (preview panel only) ──────────────────────── */
.cv-wm {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none; z-index: 99; overflow: hidden;
}
.cv-wm span {
  font-size: 80px; font-weight: 900;
  color: rgba(120,120,120,0.05);
  transform: rotate(-32deg); white-space: nowrap; letter-spacing: 6px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
