@font-face{
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/merriweather-latin-400-normal.woff2") format("woff2");
}

@font-face{
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/merriweather-latin-700-normal.woff2") format("woff2");
}

/* Optional (recommended) */
@font-face{
  font-family: "Merriweather";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/merriweather-latin-400-italic.woff2") format("woff2");
}


/* ===== Academic CV look (Merriweather) ===== */

:root{
  --page-width: 800px;
  --text: #111827;
  --muted: #6b7280;
  --rule: #111827;
  --bg: #ffffff;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  padding:0;
  background:#f5f5f5;
  color:var(--text);
  font-family:"Merriweather", Georgia, serif;
  font-size:12pt;
  line-height:1.6;
}

.page{
  max-width:var(--page-width);
  margin:0 auto;
  padding:50px 40px;
  background:var(--bg);
}

/* Header: centered like the screenshot */
.header{
  margin-bottom:40px;
  padding-bottom:20px;
  border-bottom:1px solid var(--muted);
  text-align:center;
}

.name{
  font-size:28pt;
  font-weight:700;
  margin:0 0 8px 0;
  letter-spacing:0.5px;
}

.label{
  font-size:14pt;
  font-style:italic;
  font-weight:400;
  margin-bottom:16px;
  color:#1f2937;
}

.contact{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:11pt;
  color:#1f2937;
}

.contact__sep{ color:#9ca3af; }

.contact a{
  color:#1f2937;
  text-decoration:underline;
}

.summary{
  margin:20px 0 0 0;
  text-align:left;
  font-size:12pt;
  color:#1f2937;
}

/* Sections: bold uppercase title + thick underline */
.section{
  margin:32px 0 0 0;
}

.section__title{
  font-size:16pt;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  margin:0 0 16px 0;
  padding-bottom:6px;
  border-bottom:2px solid var(--rule);
}

/* Entries */
.entry{
  margin-bottom:24px;
}
.entry:last-child{ margin-bottom:0; }

.entry__title{
  font-size:13pt;
  font-weight:700;
  margin:0 0 4px 0;
}

/* Make link area not inherit bold */
.entry__link{
  font-weight:400;
  font-size:11pt;
}
.entry__link a{ font-weight:400; }

.entry__meta{
  font-size: 11pt;
  color: #6b7280;
  margin-bottom: 8px;
}

.date-range{
  
  white-space: nowrap;
  color: #6b7280;
}


.entry__summary{
  font-size:11pt;
  color:#1f2937;
  margin:8px 0 0 0;
}

.entry ul{
  margin:8px 0 0 0;
  padding-left:20px;
  list-style:disc;
}
.entry li{
  margin:4px 0;
  font-size:11pt;
  color:#1f2937;
}

/* Quote style like the theme */
.quote{
  margin-top:12px;
  padding-left:20px;
  border-left:3px solid #9ca3af;
  color:#1f2937;
  font-size:11pt;
}

/* Your kv skills table can keep using these */
.kv{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.kv__row{
  display:flex;
  gap:8px;
}
.kv__key{
  min-width:140px;
  font-weight:700;
  color:#111827;
  font-size:12pt;
}
.kv__val{
  color:#1f2937;
  font-size:11pt;
}

/* Footer */
.footer{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid #e5e7eb;
  color:var(--muted);
  font-size:10.5pt;
}

/* Print */
@media print{
  body{ background:white; }
  .page{ padding:30px; }
  .btn, .skip-link{ display:none !important; }
}


/* --- Education: cleaner hierarchy + smaller dates --- */
.entry--edu { margin: 0 0 22px; }
.entry--edu:last-child { margin-bottom: 0; }

.entry__head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:16px;
}

.entry__date{
  color: var(--muted);
  font-size: 10.5pt;     /* smaller date range */
  white-space: nowrap;
}

.date-range{
  font-size: 10.5pt;     /* in case used directly */
  letter-spacing: 0.2px;
}

.entry__sub{
  margin-top: 4px;
  font-style: italic;
  color: #1f2937;
  font-size: 12pt;
}

.entry__details{
  margin-top: 10px;
}

.entry__line{
  margin-top: 6px;
  font-size: 11pt;
  line-height: 1.55;
  color: #1f2937;
}

.entry__label{
  font-weight: 700;
  color: #111827;
}
