/* Additions on top of the Minimal Light theme. */

/* Bold text inside links follows the link color, including on hover. */
a strong { color: inherit; }

/* ---- Publications ---- */
.publications { margin-top: 0; }
.publications ol.bibliography li { margin-bottom: 1.6rem; }
.publications ol.bibliography li .abbr { flex: 0 0 210px; height: auto; margin-bottom: 0; padding: 0 14px 0 0; position: relative; }
.publications ol.bibliography li .col-sm-9 { flex: 1 1 auto; min-width: 0; padding-left: 4px; position: relative; }
.publications ol.bibliography li .teaser {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 5px 0;
  background: #fff;
}
.publications ol.bibliography li .title { line-height: 1.3; margin-bottom: 3px; }
.publications ol.bibliography li .title a { color: #222; }
.publications ol.bibliography li .title a:hover { color: #39c; }
.publications ol.bibliography li .author { line-height: 1.35; }
.publications ol.bibliography li .author strong { font-weight: 600; }
.publications ol.bibliography li .periodical { margin: 2px 0 6px; }

.publications ol.bibliography li .links a.btn {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 6px 4px 0;
  border-radius: 3px;
}

/* Publication badges, with an optional venue segment. */
.awards { margin-top: 2px; }
.award {
  display: inline-flex;
  align-items: stretch;
  margin: 0 6px 4px 0;
  font-size: 11.5px;
  line-height: 1;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #043361;
  white-space: nowrap;
}
.award-kind {
  background: #043361;
  color: #fff;
  font-weight: 600;
  padding: 4px 7px;
  letter-spacing: 0.02em;
}
.award-venue {
  background: transparent;
  color: #043361;
  padding: 4px 7px;
}

/* ---- Experience / Projects / Awards lists ---- */
ul.entries { list-style: none; padding: 0; margin: 0 0 28px; }
ul.entries li { margin-bottom: 12px; }
.entry-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.entry-date { color: #8a8a8a; white-space: nowrap; font-size: 14px; }
.entry-body { font-size: 15px; line-height: 1.45; }
.experience-entry { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.company-logo { width: 24px; height: 24px; object-fit: contain; margin-top: 1px; }

/* News list a bit tighter */
section > ul > li { margin-bottom: 4px; }

/* ---- Small screens ---- */
@media (max-width: 960px) {
  header { padding-right: 0; }
  section { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 600px) {
  .pub-row { display: block !important; }
  .publications ol.bibliography li .abbr { padding: 0; margin-bottom: 10px; }
  .publications ol.bibliography li .col-sm-9 { padding-left: 0; }
  .entry-head { flex-direction: column; gap: 0; }
}

/* Sidebar contact */
header email { font-size: 18px; }

/* Sidebar icons (inline SVG, colored by the link) */
.social-icons a svg.icon { width: 1.15rem; height: 1.15rem; fill: currentColor; vertical-align: -0.2rem; }
