/* =======================================================
   Computational Soft Matter Group – IIT Jodhpur
   Theme: Phase-separation / MD-simulation inspired
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Playfair+Display:wght@600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0f1f3d;
  --teal:   #0d7377;
  --teal2:  #14a085;
  --cyan:   #48c9b0;
  --amber:  #f39c12;
  --red:    #c0392b;
  --light:  #f4fafa;
  --card:   #ffffff;
  --border: #d6eaea;
  --txt:    #1a1a2e;
  --muted:  #5a6a7a;
  --mono:   'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--txt);
  background: var(--light);
  line-height: 1.7;
}

a { color: var(--teal); text-decoration: none; transition: color .18s; }
a:hover { color: var(--teal2); text-decoration: underline; }

/* ── HEADER ─────────────────────────────────────────── */
.site-header { width: 100%; }


/* ── PROFILE PHOTO ────────────────────────────────── */
.profile-photo-header {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 3px solid var(--teal);
  box-shadow: 0 0 0 2px rgba(72,201,176,.3);
  filter: brightness(1.05) contrast(1.02);
}
.profile-photo-home {
  display: block;
  width: 160px; height: 190px;
  object-fit: cover; object-position: top center;
  border-radius: 8px;
  border: 3px solid var(--border);
  box-shadow: 0 4px 18px rgba(13,115,119,.18);
  margin: 0 auto 18px;
}

/* title bar */
.title-bar {
  background: var(--navy);
  padding: 0 40px;
  border-bottom: 3px solid var(--teal);
}
.title-inner {
  max-width: 100%; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 20px; padding: 16px 0;
}
.title-name-block {
  display: flex; align-items: center; gap: 16px; flex: 1;
}
.title-bar h1 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 600;
  color: #fff; letter-spacing: .3px;
}
.subtitle {
  font-size: 12.5px; color: var(--cyan);
  margin-top: 3px; letter-spacing: .2px;
  white-space: nowrap;
}
.iitj-logo {
  height: 64px; width: 64px;
  object-fit: contain; flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 500;
  border-bottom: 2px solid var(--teal);
}
nav ul {
  list-style: none;
  display: flex; flex-wrap: wrap;
  max-width: 100%; margin: 0;
  padding: 0 40px;
}
nav ul li { position: relative; }
nav ul li > a {
  display: block; padding: 13px 14px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.75);
  text-transform: uppercase; letter-spacing: .7px;
  transition: background .18s, color .18s;
}
nav ul li > a:hover,
nav ul li.active > a {
  color: var(--cyan); background: rgba(13,115,119,.25);
  text-decoration: none;
}
nav ul li.active > a { border-bottom: 2px solid var(--cyan); }
nav ul li.has-dropdown > a::after { content: ' ▾'; font-size: 9px; }

/* dropdown */
nav ul li .dropdown {
  display: none; position: absolute;
  top: 100%; left: 0; min-width: 220px;
  background: var(--navy);
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid rgba(72,201,176,.2);
  box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 600;
}
nav ul li:hover .dropdown { display: block; }
nav ul li .dropdown a {
  display: block; padding: 10px 18px;
  font-size: 12.5px; font-weight: 400;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-transform: none; letter-spacing: 0;
}
nav ul li .dropdown a:hover { background: rgba(13,115,119,.3); color: var(--cyan); }

/* ── PAGE WRAPPER ────────────────────────────────── */
.page-content {
  max-width: 1140px; margin: 0 auto;
  padding: 40px 24px 70px;
}

/* ── SECTION HEADINGS ────────────────────────────── */
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 10px; margin-bottom: 30px;
}
.sub-section-title {
  font-size: 13px; font-weight: 700;
  color: var(--teal);
  letter-spacing: .8px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  scroll-margin-top: 170px;
}
.sub-section-title::before {
  content: '';
  display: inline-block; width: 4px; height: 16px;
  background: var(--teal); border-radius: 2px; flex-shrink: 0;
}
.section-intro { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }

/* ── HOME – two-col ──────────────────────────────── */
.content-grid { display: flex; gap: 48px; align-items: flex-start; }
.contact-section { flex: 0 0 300px; }
.research-section { flex: 1; }

.contact-section h2, .research-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--navy);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 7px; margin-bottom: 16px;
}

.contact-table { width: 100%; border-collapse: collapse; }
.contact-table tr { vertical-align: top; }
.contact-table td { padding: 5px 0; font-size: 13.5px; line-height: 1.6; }
.contact-table td:first-child {
  font-weight: 600; color: var(--teal2);
  white-space: nowrap; padding-right: 14px; width: 72px;
}

.address-block {
  margin-top: 18px; padding: 14px 16px;
  background: linear-gradient(135deg, rgba(13,115,119,.06), rgba(72,201,176,.06));
  border-left: 3px solid var(--teal);
  border-radius: 0 4px 4px 0;
  font-size: 13px; line-height: 1.8; color: #333;
}
.address-block .label { font-weight: 600; color: var(--teal); display: block; margin-bottom: 4px; }

/* profile badges */
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.profile-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--navy); color: var(--cyan) !important;
  border: 1px solid rgba(72,201,176,.4); border-radius: 20px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .3px;
  transition: background .18s, border-color .18s, transform .15s;
  text-decoration: none;
}
.profile-badge:hover {
  background: var(--teal); border-color: var(--teal);
  color: #fff !important; text-decoration: none;
  transform: translateY(-1px);
}
.profile-badge svg {
  width: 13px; height: 13px; flex-shrink: 0;
  fill: currentColor;
}

/* research list */
.research-section ul { list-style: none; padding: 0; }
.research-section ul li {
  padding: 9px 0 9px 24px; border-bottom: 1px solid var(--border);
  font-size: 13.5px; position: relative;
}
.research-section ul li::before {
  content: '◈'; position: absolute; left: 0; top: 10px;
  color: var(--teal); font-size: 11px;
}
.research-section ul li:last-child { border-bottom: none; }

.research-images { display: flex; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.research-images img {
  width: 100%; height: auto; max-width: 100%;
  object-fit: unset; border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(13,115,119,.12);
}

/* ── CV / BIOSKETCH ──────────────────────────────── */
.cv-section { margin-bottom: 36px; }
.cv-section h3 {
  font-size: 13px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: .7px;
  margin-bottom: 14px; padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.cv-entry {
  display: flex; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.cv-entry:last-child { border-bottom: none; }
.cv-date { flex: 0 0 140px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--teal2); padding-top: 2px; }
.cv-details { flex: 1; font-size: 13.5px; line-height: 1.65; color: var(--txt); }
.cv-details strong { color: var(--navy); }

/* Institution logo thumbnail — floats right inside details block */
.cv-logo-link {
  float: right;
  margin: 2px 0 10px 18px;
  display: block;
  flex-shrink: 0;
}
.cv-logo-link:hover .cv-inst-logo {
  border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(13,115,119,.18);
}
.cv-inst-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: border-color .18s, box-shadow .18s;
}

.cv-supervisor {
  display: block;
  font-size: 12.5px;
  color: var(--teal2);
  font-weight: 500;
  margin-top: 3px;
}
.cv-note {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  font-style: italic;
}

.cv-badge {
  display: inline-block;
  padding: 2px 9px;
  background: rgba(13,115,119,.10);
  border: 1px solid rgba(13,115,119,.25);
  border-radius: 3px;
  font-size: 11px; font-weight: 600;
  color: var(--teal); letter-spacing: .2px;
  vertical-align: middle;
}
.cv-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.cv-list li {
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  font-size: 13.5px; color: var(--txt);
  line-height: 1.55;
}
.cv-details em { color: var(--muted); font-size: 13px; }

/* ── AWARDS ──────────────────────────────────────── */
.awards-list { display: flex; flex-direction: column; }
.award-item { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.award-item:last-child { border-bottom: none; }
.award-period { flex: 0 0 170px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--teal2); padding-top: 2px; }
.award-details { flex: 1; }
.award-name { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.award-org { display: block; font-size: 13px; color: var(--muted); }

/* ── GROUP MEMBERS ───────────────────────────────── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px; margin-bottom: 36px;
}
.member-card {
  background: var(--card);
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(13,115,119,.07);
}
.member-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(13,115,119,.15); }
.member-card img {
  width: 100%; height: 220px;
  object-fit: cover; object-position: top center;
  display: block; background: #e2eff0;
  border-bottom: 2px solid var(--teal);
}
.member-info { padding: 16px; }
.member-info strong { font-size: 14px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 4px; }
.member-id { font-family: var(--mono); font-size: 11px; color: var(--teal2); font-weight: 500; display: block; margin-bottom: 6px; }
.member-tag {
  display: inline-block; padding: 2px 9px; margin-bottom: 8px;
  background: rgba(13,115,119,.1); color: var(--teal);
  border-radius: 12px; font-size: 11px; font-weight: 600; letter-spacing: .3px;
}
.member-edu { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 4px; display: block; }
.member-now-at {
  display: block; font-size: 11.5px; color: var(--teal2);
  font-style: italic; margin-bottom: 8px; margin-top: 2px;
}
.member-now-at::before { content: '📍 Now at: '; font-style: normal; font-weight: 600; }
.member-research { margin-bottom: 10px; }
.research-topics-label {
  font-size: 10px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: .6px;
  display: block; margin-bottom: 5px;
}
.research-topics {
  list-style: none; padding: 0; margin: 0;
}
.research-topics li {
  font-size: 11.5px; color: var(--txt); line-height: 1.5;
  padding: 2px 0 2px 14px; position: relative;
}
.research-topics li::before {
  content: '▸'; position: absolute; left: 0; top: 5px;
  color: var(--teal); font-size: 8px;
}
.member-coadvisor {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 7px; font-size: 11px;
}
.coadv-label {
  display: inline-block; padding: 1px 7px; border-radius: 10px;
  background: rgba(20,160,133,.12); color: var(--teal2);
  border: 1px solid rgba(20,160,133,.3);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px; flex-shrink: 0;
}
.coadv-name { color: var(--muted); font-style: italic; }
.member-skills { margin-top: 10px; }
.skills-label {
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .6px;
  display: block; margin-bottom: 4px;
}
.member-tools {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.tool-chip {
  font-family: var(--mono); font-size: 10.5px;
  padding: 2px 8px; border-radius: 3px;
  background: var(--navy); color: var(--cyan);
  border: 1px solid rgba(72,201,176,.25);
}
.member-social { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.msoc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  text-decoration: none; transition: opacity .15s, transform .12s;
  flex-shrink: 0;
}
.msoc-btn:hover { opacity: .80; transform: translateY(-2px); }
.msoc-li { background: #0A66C2; color: #fff; }
.msoc-gs { background: #4285F4; color: #fff; }
.msoc-wp { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.msoc-ei { background: #1a5276; color: #fff; }
.msoc-ep { background: #d35400; color: #fff; }

/* project students / former members */
.plain-list { list-style: none; padding: 0; }
.plain-list li {
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px; position: relative;
}
.plain-list li:last-child { border-bottom: none; }
.plain-list li::before { content: '–'; position: absolute; left: 0; color: var(--teal); }
.plain-list li .proj { font-size: 12px; color: var(--muted); display: block; }
.plain-list li strong { color: var(--navy); font-weight: 600; }

/* ── PUBLICATIONS ────────────────────────────────── */
.pub-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pub-filter-btn {
  padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .18s; letter-spacing: .3px;
}
.pub-filter-btn.active, .pub-filter-btn:hover {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.pub-section-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 18px;
}
.pub-section-link {
  padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); font-size: 12px; font-weight: 600;
  transition: all .18s; letter-spacing: .3px;
}
.pub-section-link:hover {
  background: var(--teal); color: #fff; border-color: var(--teal);
  text-decoration: none;
}

.pub-list { list-style: none; padding: 0; counter-reset: pubcounter; }
.pub-item {
  counter-increment: pubcounter;
  display: flex; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.pub-item:last-child { border-bottom: none; }
.pub-num {
  flex: 0 0 32px; font-family: var(--mono); font-size: 13px;
  font-weight: 700; color: var(--teal); padding-top: 2px;
  text-align: right;
}
.pub-body { flex: 1; }
.pub-title { font-size: 14px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 4px; line-height: 1.5; }
.pub-authors { font-size: 12.5px; color: var(--muted); margin-bottom: 5px; display: block; }
.pub-authors em { color: var(--teal); font-style: normal; font-weight: 600; }
.pub-venue { font-size: 12.5px; color: var(--txt); display: block; margin-bottom: 6px; }
.pub-venue strong { color: var(--navy); }
.pub-doi {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 11px; color: var(--teal);
  background: rgba(13,115,119,.08); padding: 2px 8px; border-radius: 4px;
  border: 1px solid rgba(13,115,119,.2);
}
.pub-doi:hover { background: var(--teal); color: #fff; text-decoration: none; }
.pub-badge {
  display: inline-block; margin-left: 8px;
  padding: 1px 8px; border-radius: 10px; font-size: 10.5px; font-weight: 700;
  vertical-align: middle;
}
.badge-prl  { background: rgba(192,57,43,.1); color: #c0392b; border: 1px solid rgba(192,57,43,.25); }
.badge-chaos { background: rgba(142,68,173,.1); color: #8e44ad; border: 1px solid rgba(142,68,173,.25); }
.badge-sm   { background: rgba(20,160,133,.1); color: var(--teal2); border: 1px solid rgba(20,160,133,.25); }
.badge-pre  { background: rgba(243,156,18,.1); color: #d68910; border: 1px solid rgba(243,156,18,.25); }
.pub-cited  {
  display: inline-block; margin-left: 8px;
  padding: 1px 7px; border-radius: 10px; font-size: 10px; font-weight: 600;
  vertical-align: middle; color: #555; background: #f2f2f2;
  border: 1px solid #ddd; white-space: nowrap;
}

/* ── TEACHING ────────────────────────────────────── */
.teach-semester {
  background: var(--card);
  border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 20px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(13,115,119,.06);
}
.teach-sem-header {
  background: linear-gradient(135deg, var(--navy), #1a3a5c);
  color: var(--cyan); padding: 12px 20px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .4px; display: flex; justify-content: space-between; align-items: center;
}
.teach-sem-header > span:first-child { color: var(--cyan); font-size: 14px; font-weight: 700; letter-spacing: .3px; }
.teach-sem-header > span:last-child { color: rgba(72,201,176,.65); font-size: 11px; }
.teach-table { width: 100%; border-collapse: collapse; }
.teach-table thead tr { background: rgba(13,115,119,.05); border-bottom: 2px solid var(--border); }
.teach-table tbody tr { border-bottom: 1px solid var(--border); }
.teach-table tbody tr:last-child { border-bottom: none; }
.teach-table tbody tr:hover { background: rgba(13,115,119,.03); }
.teach-table th { padding: 8px 16px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; text-align: left; }
.teach-table td { padding: 10px 16px; font-size: 13.5px; vertical-align: middle; }
.teach-table td:first-child, .teach-table th:first-child {
  font-family: var(--mono); font-size: 11.5px; color: var(--teal2);
  width: 110px; font-weight: 500;
}
.teach-table td:nth-child(3), .teach-table th:nth-child(3) { width: 140px; }
.teach-table td:nth-child(4), .teach-table th:nth-child(4) { color: var(--muted); font-size: 12px; width: 70px; text-align: center; }
.teach-table td:nth-child(5), .teach-table th:nth-child(5) { color: var(--muted); font-size: 12px; width: 90px; text-align: center; }
.level-badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 10.5px; font-weight: 700; margin-left: 8px;
}
.level-pg  { background: rgba(13,115,119,.12); color: var(--teal); }
.level-ug  { background: rgba(243,156,18,.12); color: #d68910; }
.level-mix { background: rgba(142,68,173,.12); color: #8e44ad; }

/* ── COLLABORATORS ───────────────────────────────── */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.collab-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(13,115,119,.07);
  transition: box-shadow .18s, transform .18s;
}
.collab-card:hover {
  box-shadow: 0 4px 16px rgba(13,115,119,.15);
  transform: translateY(-2px);
}
.collab-flag { font-size: 26px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.collab-info { display: flex; flex-direction: column; gap: 3px; }
.collab-info strong { font-size: 14px; color: var(--navy); font-weight: 600; line-height: 1.3; }
.collab-inst { font-size: 12.5px; color: var(--txt); line-height: 1.4; }
.collab-country {
  font-size: 11px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: .5px;
}
.collab-email {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); word-break: break-all;
  margin-top: 2px;
}
.collab-email:hover { color: var(--teal2); }
.collab-name-link { text-decoration: none; }
.collab-name-link strong { transition: color .18s; }
.collab-name-link:hover strong { color: var(--teal2); }
.collab-name-link::after {
  content: ' ↗';
  font-size: 10px; color: var(--teal);
  opacity: 0; transition: opacity .18s;
  vertical-align: super;
}
.collab-name-link:hover::after { opacity: 1; }

/* ── ADMINISTRATION ──────────────────────────────── */
.admin-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 14px 10px; margin: 0 -10px;
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
  transition: background .15s;
}
.admin-item:last-child { border-bottom: none; }
.admin-item:hover { background: rgba(13,115,119,.05); }
.admin-role {
  flex: 0 0 180px;
  align-self: flex-start;
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--teal); text-transform: uppercase; letter-spacing: .5px;
  text-align: center; line-height: 1.4;
  padding: 5px 10px;
  background: rgba(13,115,119,.08);
  border: 1px solid rgba(13,115,119,.18);
  border-radius: 5px;
}
.admin-desc { flex: 1; font-size: 13.5px; color: var(--txt); line-height: 1.65; padding-top: 4px; }

/* Role badge color variants */
.admin-role-amber { color: var(--amber); background: rgba(243,156,18,.10);  border-color: rgba(243,156,18,.28); }
.admin-role-teal  { color: var(--teal);  background: rgba(13,115,119,.08);  border-color: rgba(13,115,119,.18); }
.admin-role-cyan  { color: #0e7c8a;      background: rgba(72,201,176,.14);  border-color: rgba(72,201,176,.32); }
.admin-role-navy  { color: var(--navy);  background: rgba(15,31,61,.06);    border-color: rgba(15,31,61,.16); }

/* Date/period tag inside description */
.admin-period {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
  white-space: nowrap;
}
.admin-period-active { color: var(--teal2); font-weight: 700; }

/* Former roles — visually muted */
.admin-section-former { background: var(--light); }
.admin-section-former .admin-role,
.admin-section-former .admin-role-amber,
.admin-section-former .admin-role-teal,
.admin-section-former .admin-role-cyan,
.admin-section-former .admin-role-navy {
  color: var(--muted);
  background: rgba(90,106,122,.10);
  border-color: rgba(90,106,122,.22);
}
.admin-section-former .admin-period-active { color: var(--muted); font-weight: 500; }

/* ── LINKS ───────────────────────────────────────── */
.links-grid {
  columns: 3;
  column-gap: 22px;
}
.links-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13,115,119,.07);
  transition: box-shadow .2s, transform .2s;
  break-inside: avoid;
  margin-bottom: 22px;
}
.links-card:hover {
  box-shadow: 0 6px 24px rgba(13,115,119,.14);
  transform: translateY(-3px);
}
.links-card-header {
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  border-bottom: 2px solid var(--teal);
}
.links-card-header h3 {
  font-size: 11.5px; font-weight: 700; color: var(--cyan);
  text-transform: uppercase; letter-spacing: .8px;
  margin: 0;
}
.links-card ul { list-style: none; padding: 10px 0; margin: 0; }
.links-card ul li {
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.links-card ul li:last-child { border-bottom: none; }
.links-card ul li a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  font-size: 13px; color: var(--txt);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.links-card ul li a::before {
  content: '→';
  color: var(--teal); font-size: 12px;
  flex-shrink: 0; transition: transform .15s;
}
.links-card ul li a:hover {
  background: rgba(13,115,119,.06);
  color: var(--teal2);
  text-decoration: none;
}
.links-card ul li a:hover::before {
  transform: translateX(3px);
}

/* ── GALLERY ─────────────────────────────────────── */
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; }
.gallery-item {
  overflow: hidden; border-radius: 6px;
  border: 1px solid var(--border); cursor: pointer; background: #e2eff0;
  transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,115,119,.18); }
.gallery-item img { width: 100%; height: auto; display: block; transition: opacity .2s; }
.gallery-item:hover img { opacity: .9; }
.gallery-item figcaption {
  padding: 8px 10px; font-size: 12px; color: var(--txt);
  background: #fff; text-align: center; border-top: 1px solid var(--border);
  line-height: 1.5; font-weight: 500;
}
.gallery-item figcaption em {
  display: block; font-size: 10.5px; color: var(--teal);
  font-style: italic; margin-top: 1px; font-weight: 400;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .2px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--teal); text-decoration: none; }

/* ── UTILITY ─────────────────────────────────────── */
.card-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px 28px; margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(13,115,119,.06);
}
.tag { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 11px; font-weight: 600; margin: 2px; }
.tag-blue { background: rgba(13,115,119,.1); color: var(--teal); border: 1px solid rgba(13,115,119,.2); }

/* research list on research.html */
.research-list { list-style: none; padding: 0; }
.research-list li {
  padding: 9px 0 9px 24px; border-bottom: 1px solid var(--border);
  font-size: 13.5px; position: relative;
}
.research-list li::before {
  content: '◈'; position: absolute; left: 0; top: 10px;
  color: var(--teal); font-size: 11px;
}
.research-list li:last-child { border-bottom: none; }

/* admin section wrapper */
.admin-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 22px 24px;
  box-shadow: 0 1px 4px rgba(13,115,119,.06);
}

/* ── UTILITY SPACING ─────────────────────────────── */
.mt-lg  { margin-top: 40px; }
.mt-md  { margin-top: 28px; }
.mt-sm  { margin-top: 10px; }
.mb-md  { margin-bottom: 28px; }
.mb-sm  { margin-bottom: 18px; }

/* footer sub-line */
.footer-sub { margin-top: 4px; font-size: 11px; opacity: .65; }
.footer-sub a { display: inline-flex; align-items: center; gap: 4px; }
.claude-logo { width: 11px; height: 11px; opacity: .8; }

/* ── PUBLICATION PAGE STATS ──────────────────────── */
.pub-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  margin-bottom: 32px;
}
.page-title-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 10px; margin-bottom: 30px;
}
.page-title-row .page-title {
  border-bottom: none; padding-bottom: 0; margin-bottom: 0;
}
.pub-stats-inline {
  display: flex; gap: 0; margin-bottom: 4px;
}
.pub-stats-inline .pub-stat-item {
  border-right: 1px solid var(--border);
  padding: 0 16px;
  flex: none; min-width: auto;
}
.pub-stats-inline .pub-stat-item:last-child { border-right: none; padding-right: 0; }
.pub-stats-inline .pub-stat-num { font-size: 20px; }
.pub-stat-item {
  flex: 1; min-width: 110px;
  text-align: center; padding: 1px 12px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  transition: color .18s, opacity .18s;
}
.pub-stat-item:hover { opacity: .78; text-decoration: none; }
.pub-stat-item:last-child { border-right: none; }
.pub-stat-num {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 600; color: var(--teal);
  line-height: 1.1;
}
.pub-stat-lbl {
  display: block; font-size: 10.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .6px; margin-top: 5px;
}
.pub-note { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.pub-editor { font-size: 12px; color: var(--muted); display: block; margin-top: 3px; }

/* ── RECENT PUBLICATIONS (HOME PAGE) ─────────────── */
.recent-pubs {
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  background: var(--card);
}
.recent-pub-item {
  display: flex; gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background .15s;
}
.recent-pub-item:last-child { border-bottom: none; }
.recent-pub-item:hover { background: rgba(13,115,119,.03); }
.recent-pub-year {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--teal2); flex-shrink: 0; padding-top: 2px; width: 34px;
}
.recent-pub-body { flex: 1; }
.recent-pub-title {
  font-size: 13px; font-weight: 600; color: var(--navy);
  display: block; line-height: 1.4; margin-bottom: 3px;
  transition: color .15s;
}
.recent-pub-title:hover { color: var(--teal); text-decoration: none; }
.recent-pub-meta { font-size: 11.5px; color: var(--muted); }
.recent-pub-meta strong { color: var(--txt); font-weight: 500; font-style: normal; }
.recent-pubs-footer {
  padding: 9px 18px;
  background: rgba(13,115,119,.04);
  border-top: 1px solid var(--border);
  text-align: right;
}
.recent-pubs-footer a {
  font-size: 12px; font-weight: 700;
  color: var(--teal); letter-spacing: .2px;
}
.recent-pubs-footer a:hover { color: var(--teal2); text-decoration: none; }

/* citation metrics banner */
.scholar-metrics {
  display: flex; gap: 0; flex-wrap: wrap;
  background: var(--navy);
  border-radius: 8px; overflow: hidden;
  margin-bottom: 28px;
}
.scholar-metric-item {
  flex: 1; min-width: 110px;
  text-align: center; padding: 16px 10px;
  border-right: 1px solid rgba(72,201,176,.12);
}
.scholar-metric-item:last-child { border-right: none; }
.scholar-metric-num {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 600; color: var(--cyan); line-height: 1;
}
.scholar-metric-lbl {
  display: block; font-size: 10px; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .7px; margin-top: 5px;
}
.scholar-metrics-src {
  font-size: 11px; color: var(--muted);
  margin-bottom: 28px; text-align: right;
}
.scholar-metrics-src a { color: var(--teal); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  .content-grid { flex-direction: column; gap: 32px; }
  .contact-section { flex: none; width: 100%; }
  .links-grid { columns: 2; }
}
@media (max-width: 680px) {
  .banner { height: 140px; }
  .title-bar { padding: 0 14px; }
  .title-bar h1 { font-size: 17px; }
  .subtitle { white-space: normal; font-size: 11px; line-height: 1.5; }
  .title-name-block { gap: 10px; }
  .profile-photo-header { width: 52px; height: 52px; }
  .iitj-logo { height: 42px; width: 42px; }
  nav ul { padding: 0; }
  nav ul li > a { padding: 11px 8px; font-size: 10.5px; }
  .page-content { padding: 24px 14px 50px; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .teach-table td:nth-child(3),
  .teach-table td:nth-child(4) { display: none; }
  .cv-entry, .award-item, .admin-item { flex-direction: column; gap: 4px; }
  .cv-date, .award-period, .admin-role { flex: none; }
  .gallery-grid { columns: 2; }
  .links-grid { columns: 1; }
}

/* ── DOWNLOADS / ASSETS ──────────────────────────── */
.assets-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.asset-filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  color: var(--muted);
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: .15s;
  letter-spacing: .3px;
}
.asset-filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.asset-filter-btn.active {
  background: var(--teal); border-color: var(--teal);
  color: #fff;
}

.assets-grid {
  display: flex; flex-direction: column; gap: 12px;
}

.asset-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 1px 4px rgba(13,115,119,.06);
  transition: box-shadow .18s, transform .18s;
}
.asset-card:hover {
  box-shadow: 0 4px 18px rgba(13,115,119,.13);
  transform: translateY(-2px);
}
.asset-card[hidden] { display: none; }

.asset-type-badge {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 10px;
  font-size: 10px; font-weight: 800;
  letter-spacing: .4px; text-transform: uppercase;
  text-align: center; line-height: 1.2;
}
.asset-card[data-type="pdf"]     .asset-type-badge { background: rgba(192,57,43,.12); color: #c0392b; border: 1px solid rgba(192,57,43,.25); }
.asset-card[data-type="ppt"]     .asset-type-badge,
.asset-card[data-type="pptx"]    .asset-type-badge { background: rgba(230,126,34,.12); color: #d35400; border: 1px solid rgba(230,126,34,.25); }
.asset-card[data-type="xls"]     .asset-type-badge,
.asset-card[data-type="xlsx"]    .asset-type-badge { background: rgba(39,174,96,.12); color: #27ae60; border: 1px solid rgba(39,174,96,.25); }
.asset-card[data-type="doc"]     .asset-type-badge,
.asset-card[data-type="docx"]    .asset-type-badge { background: rgba(41,128,185,.12); color: #2980b9; border: 1px solid rgba(41,128,185,.25); }
.asset-card[data-type="gsheet"]  .asset-type-badge { background: rgba(30,132,73,.12); color: #1e8449; border: 1px solid rgba(30,132,73,.25); }
.asset-card[data-type="gdoc"]    .asset-type-badge { background: rgba(41,128,185,.12); color: #1a6fa0; border: 1px solid rgba(41,128,185,.25); }
.asset-card[data-type="gslides"] .asset-type-badge { background: rgba(243,156,18,.12); color: #b7770d; border: 1px solid rgba(243,156,18,.25); }
.asset-card[data-type="link"]    .asset-type-badge { background: rgba(90,106,122,.1); color: var(--muted); border: 1px solid var(--border); }

.asset-body { flex: 1; min-width: 0; }
.asset-title {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--navy); margin-bottom: 3px; line-height: 1.35;
}
.asset-desc {
  font-size: 12.5px; color: var(--muted);
  margin: 0 0 4px; line-height: 1.5;
}
.asset-meta {
  font-size: 11.5px; color: rgba(90,106,122,.7);
  font-family: var(--mono);
}
.asset-cat-tag {
  display: inline-block; padding: 1px 7px;
  background: rgba(13,115,119,.08); color: var(--teal);
  border-radius: 10px; font-size: 10.5px; font-weight: 700;
  font-family: 'Inter', sans-serif; letter-spacing: .3px;
  margin-left: 6px; vertical-align: middle;
}

.asset-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  background: var(--teal); color: #fff !important;
  border-radius: 6px; font-size: 12px; font-weight: 600;
  text-decoration: none; transition: background .15s, transform .12s;
  white-space: nowrap;
}
.asset-btn:hover { background: var(--teal2); transform: translateY(-1px); text-decoration: none; }

.assets-empty {
  text-align: center; padding: 60px 20px;
  color: var(--muted); font-size: 14px;
  background: var(--card); border: 1px dashed var(--border);
  border-radius: 10px;
}

@media (max-width: 680px) {
  .asset-card { flex-wrap: wrap; gap: 12px; }
  .asset-btn { width: 100%; justify-content: center; }
}

/* ── Journal Ticker ───────────────────────────────────────── */
.jl-section {
  margin: 28px 0 32px;
  overflow: hidden;
}
.jl-label {
  font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 12px; padding-left: 2px;
  display: flex; align-items: center; gap: 8px;
}
.jl-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}
.jl-wrap {
  overflow: hidden; position: relative; cursor: default;
}
.jl-wrap::before, .jl-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 64px; z-index: 2; pointer-events: none;
}
.jl-wrap::before { left: 0;  background: linear-gradient(to right, var(--light, #f4fafa), transparent); }
.jl-wrap::after  { right: 0; background: linear-gradient(to left,  var(--light, #f4fafa), transparent); }
.jl-track {
  display: flex; width: max-content; gap: 10px;
  padding: 4px 0;
  animation: jl-scroll 38s linear infinite;
}
.jl-wrap:hover .jl-track { animation-play-state: paused; }
@keyframes jl-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.jl-card {
  display: inline-flex; flex-direction: row; align-items: center; gap: 10px;
  min-width: 150px; height: 68px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--jl-clr, #0d7377);
  border-radius: 0 6px 6px 0;
  padding: 7px 14px 7px 11px;
  flex-shrink: 0; user-select: none;
  transition: box-shadow .15s, border-color .15s;
}
.jl-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border-color: var(--jl-clr, #0d7377);
}
.jl-logo {
  height: 42px; width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}
.jl-text {
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
}
.jl-pub  { font-size: 8.5px; font-weight: 700; letter-spacing: 1px;
           text-transform: uppercase; color: var(--jl-clr, #0d7377); line-height: 1; margin-bottom: 4px; }
.jl-name { font-size: 12.5px; font-weight: 600; color: var(--txt); line-height: 1.2; white-space: nowrap; }
.jl-cnt  { font-size: 9px; color: var(--muted); margin-top: 2px; line-height: 1; }

/* clickable "Published in" label */
.jl-label-clickable { cursor: pointer; }
.jl-label-clickable:hover { color: var(--navy); }

/* Published-In modal */
.jl-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(7,17,31,.6); z-index: 999;
  align-items: center; justify-content: center;
  padding: 24px;
}
.jl-modal-overlay.open { display: flex; }
.jl-modal {
  background: var(--card, #fff);
  border-radius: 10px;
  padding: 24px 26px;
  max-width: 640px; width: 100%;
  max-height: 80vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 12px 48px rgba(0,0,0,.25);
}
.jl-modal-title {
  font-size: 14px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--teal);
  margin: 0 0 16px;
}
.jl-modal-close {
  position: absolute; top: 14px; right: 18px;
  font-size: 26px; line-height: 1; font-weight: 300;
  color: var(--muted); cursor: pointer; transition: color .15s;
}
.jl-modal-close:hover { color: var(--navy); }
.jl-modal-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.jl-modal-list .jl-card {
  width: 100%; min-width: 0; height: auto;
}
.jl-modal-list .jl-text { min-width: 0; flex: 1; }
.jl-modal-list .jl-name { white-space: normal; word-break: break-word; }
@media (max-width: 600px) {
  .jl-modal-list { grid-template-columns: 1fr; }
}

/* ── Announcements bar (home page) ───────────────────────────── */
.announce-bar {
  background: linear-gradient(90deg, #fff8e1, #fffdf5);
  border-bottom: 2px solid var(--amber);
}
.announce-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 10px 28px;
}
.announce-list {
  display: flex; flex-direction: column; gap: 6px;
}
.announce-item {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px;
  font-size: 13px; color: #6b4e00; line-height: 1.5;
}
.announce-icon { flex-shrink: 0; font-size: 12px; }
.announce-date {
  font-size: 10px; font-weight: 800; letter-spacing: .6px;
  text-transform: uppercase; color: var(--amber); white-space: nowrap;
}
.announce-text a { color: var(--teal); font-weight: 600; }

/* ═══════════ JOIN THE GROUP ═══════════ */
.join-intro {
  font-size: 15px; line-height: 1.7; color: var(--txt);
  max-width: 820px; margin-bottom: 28px;
}
.opening-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.opening-item:last-child { border-bottom: none; }
.opening-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.opening-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.opening-status {
  font-size: 10px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; padding: 2px 10px; border-radius: 20px;
}
.status-open   { background: rgba(13,115,119,.12); color: var(--teal); }
.status-closed { background: rgba(120,130,140,.15); color: var(--muted); }
.opening-desc { font-size: 13.5px; line-height: 1.65; color: var(--txt); max-width: 860px; margin: 0; }
.join-apply { font-size: 13.5px; line-height: 1.7; max-width: 860px; }
.join-apply p { margin: 0 0 10px; }

/* ═══════════ PUBLICATION SEARCH / FILTER ═══════════ */
.pub-filter-bar {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0 22px; flex-wrap: wrap;
}
.pub-filter-bar input[type="search"] {
  flex: 1; min-width: 220px; max-width: 380px;
  padding: 8px 12px; font-size: 13px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--card); color: var(--txt); outline: none;
}
.pub-filter-bar input[type="search"]:focus { border-color: var(--teal); }
.pub-filter-bar select {
  padding: 8px 10px; font-size: 13px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--card); color: var(--txt); outline: none; cursor: pointer;
}
.pub-filter-count { font-size: 12px; color: var(--muted); }

/* slides / poster link on talks list */
.talk-slides {
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  color: var(--teal);
}

/* ═══════════ PER-PAPER CITE BUTTON ═══════════ */
.pub-cite-btn {
  display: inline-block; padding: 1px 10px;
  font-size: 10.5px; font-weight: 700; font-family: inherit;
  color: var(--teal); background: transparent;
  border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; transition: .15s; vertical-align: middle;
  margin-left: 6px;
}
.pub-cite-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.cite-modal { max-width: 560px; }
.cite-pre {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.55;
  background: var(--light); border: 1px solid var(--border);
  border-radius: 6px; padding: 14px 16px; margin: 0 0 14px;
  white-space: pre-wrap; word-break: break-word;
  max-height: 50vh; overflow-y: auto;
}
.cite-copy-btn {
  padding: 7px 18px; font-size: 12px; font-weight: 700; font-family: inherit;
  color: #fff; background: var(--teal); border: none; border-radius: 6px;
  cursor: pointer; transition: .15s;
}
.cite-copy-btn:hover { background: var(--teal2); }

/* ═══════════ RESEARCH HIGHLIGHTS (home) ═══════════ */
.hl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.hl-card {
  margin: 0; background: var(--card);
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13,115,119,.08);
  transition: transform .18s, box-shadow .18s;
}
.hl-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(13,115,119,.18); }
.hl-card img {
  display: block; width: 100%; height: 190px;
  object-fit: cover; object-position: top center;
}
.hl-card figcaption {
  padding: 9px 12px; font-size: 11.5px; line-height: 1.55;
  color: var(--muted);
}
.hl-card figcaption em { color: var(--txt); }
@media (max-width: 680px) {
  .hl-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════ CV PDF DOWNLOAD ═══════════ */
.cv-title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cv-title-row .page-title { flex: 1; min-width: 260px; }
.cv-download-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; margin-top: 4px;
  background: var(--teal); color: #fff !important;
  border-radius: 6px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .3px; text-decoration: none;
  transition: background .18s, transform .15s;
}
.cv-download-btn:hover {
  background: var(--teal2); text-decoration: none;
  transform: translateY(-1px);
}
