﻿:root {
  --bg-color: #fff;
  --text-color: #2d3748;
  --text-secondary: #4a5568;
  --accent-color: #4a74b9;
  --accent-hover: #3a5c9e;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0,0,0,0.05);
  --animation-offset: 3px;
  --transition-time: 0.3s;
}

body {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  font-weight: 300;
}

header {
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content {
  flex: 1;
}

.header-image img {
  max-width: clamp(110px, 16vw, 150px);
  max-height: clamp(110px, 16vw, 180px);
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 15%;
  border: 2px solid var(--border-color);
  transition: transform var(--transition-time) ease, box-shadow var(--transition-time) ease;
}

.header-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px var(--shadow-color);
}

h1 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 1.75rem 0 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: -0.01em;
}

/* Section-heading icons (Font Awesome, replacing the original emoji).
   Fixed width keeps every heading label starting at the same x. */
h2 i {
  display: inline-block;
  width: 1.15em;
  margin-right: 0.5rem;
  font-size: 0.85em;
  text-align: center;
  color: var(--accent-color);
}

/* Navigation */
nav {
  margin-top: 1.5rem;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

nav a, .social-links-header a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition-time) ease;
  font-weight: 400;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

nav a:hover, .social-links-header a:hover {
  color: var(--accent-color);
  background-color: rgba(74, 116, 185, 0.08);
  transform: translateX(var(--animation-offset));
}

.social-links-header {
  display: flex;
  gap: 1.25rem;
  margin: 1.2rem 0 0.4rem 0;
}

.social-links-header a i {
  margin-right: 0.4rem;
}

/* Unified hover feedback. Text rows nudge right; items with a thumbnail
   (.publication-item: papers, patents, activities, competitions, certs)
   zoom the thumbnail instead -- a nudge shifts a large block and would
   drag the grid lines in the two-column lists. Titles never change colour
   on hover: they aren't links. */
.award-item, .service-category, .misc-item, .news-list li,
.experience-item {
  transition: transform var(--transition-time) ease;
}

.award-item:hover, 
.service-category:hover, .misc-item:hover, .news-list li:hover,
.experience-item:hover {
  transform: translateX(var(--animation-offset));
}

/* hover: hover keeps a tap on mobile from leaving a thumbnail zoomed. */
@media (hover: hover) {
  .publication-item:hover .pub-thumbnail img {
    transform: scale(1.08);
  }
}

/* Section animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(var(--animation-offset));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

section {
  margin-bottom: 2rem;
  scroll-margin-top: 1rem;
  animation: fadeIn 0.8s ease-out;
  width: 100%;
}

/* Publication styles */
.publications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.toggle-publications {
  background-color: rgba(74, 116, 185, 0.08);
  color: var(--accent-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-time) ease;
}

.toggle-publications:hover {
  background-color: var(--accent-color);
  color: white;
}

.publication-item {
  margin-bottom: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  /* The TL;DR panel wraps onto a second line under thumbnail + text, so the
     first line (and the thumbnail centred in it) never changes height.
     row-gap 0: spacing above the panel is its own margin-top.
     align-content: lines pack at the top when a grid cell is stretched by
     its row-neighbour. */
  flex-wrap: wrap;
  row-gap: 0;
  align-content: flex-start;
}

.pub-thumbnail {
  width: 160px;
  height: 160px;
  align-self: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.pub-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-time) ease;
}

.pub-thumbnail:hover img {
  transform: scale(1.08);
}

.pub-content {
  flex: 1;
}

/* Items with no thumbnail keep the same text indent as the ones that have
   a thumbnail (160px + 2px border + the 1.25rem flex gap), so a mixed list
   still reads as one column. No-op on mobile: .pub-content is display:contents
   there, and the empty 80px grid column does the same job. */
.publication-item > .pub-content:first-child {
  margin-left: calc(162px + 1.25rem);
}

/* Experience-tab lists (activities, competitions, certifications) carry no
   author line and keep their detail behind TL;DR, so a 160px thumb dwarfs
   the text. Sized to the usual text block there (2-line title + venue +
   buttons = 119px): 118px + 2px border. The no-thumbnail / TL;DR indent
   follows suit (120px + gap). Mobile is unaffected: its 80px !important
   rules win. */
#experience-tab .pub-thumbnail {
  width: 118px;
  height: 118px;
}

#experience-tab .publication-item > .pub-content:first-child {
  margin-left: calc(120px + 1.25rem);
}

/* With the smaller thumbs these lists fit two per row on desktop.
   Mobile (<=768px) stays single-column.
   Rules: no per-item bottom border (an odd last item would leave a
   half-width rule). Instead:
   - the grid closes with one full-width rule (the h2's underline opens it);
   - rows are separated by a full-width rule drawn from each left-column
     item from row 2 on (200% of its column = the whole grid), so an odd
     last row still gets a complete line;
   - the column divider is drawn from each left-column item's right edge,
     joined into one continuous line through every row (even beside an
     empty right cell) and inset only at the very top and bottom of the
     grid, so it crosses the row rules but never touches the h2 underline
     or the closing rule. */
@media (min-width: 769px) {
  #projects-container,
  #competitions-container,
  #certifications-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
    border-bottom: 1px solid var(--border-color);
  }

  #projects-container > .publication-item,
  #competitions-container > .publication-item,
  #certifications-container > .publication-item {
    border-bottom: none;
    padding-right: 1.5rem;
    position: relative;
  }

  /* Column divider: one segment per row, edge to edge, so the segments
     join into a single line... */
  #projects-container > .publication-item:nth-child(odd)::after,
  #competitions-container > .publication-item:nth-child(odd)::after,
  #certifications-container > .publication-item:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--border-color);
    pointer-events: none;
  }

  /* ...inset at the top of the first row... */
  #projects-container > .publication-item:first-child::after,
  #competitions-container > .publication-item:first-child::after,
  #certifications-container > .publication-item:first-child::after {
    top: 1.25rem;
  }

  /* ...and at the bottom of the last row (its left item is one of the
     last two children). */
  #projects-container > .publication-item:nth-child(odd):nth-last-child(-n+2)::after,
  #competitions-container > .publication-item:nth-child(odd):nth-last-child(-n+2)::after,
  #certifications-container > .publication-item:nth-child(odd):nth-last-child(-n+2)::after {
    bottom: 1.25rem;
  }

  /* Row separator, full grid width, above every row after the first. */
  #projects-container > .publication-item:nth-child(odd):nth-child(n+3)::before,
  #competitions-container > .publication-item:nth-child(odd):nth-child(n+3)::before,
  #certifications-container > .publication-item:nth-child(odd):nth-child(n+3)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 1px;
    background-color: var(--border-color);
    pointer-events: none;
  }

  #projects-container > .publication-item:nth-child(even),
  #competitions-container > .publication-item:nth-child(even),
  #certifications-container > .publication-item:nth-child(even) {
    padding-left: 1.5rem;
    padding-right: 0;
  }
}

.pub-title {
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.pub-authors {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.highlight-name {
  font-weight: 600;
  color: var(--accent-color);
}

.pub-venue-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pub-venue {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* Holds one or more .pub-award badges (e.g. "Short Paper" + "Oral Presentation"). */
.pub-awards {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pub-award {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--accent-color);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.pub-links {
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pub-links a {
  color: var(--accent-color);
  transition: all var(--transition-time) ease;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background-color: rgba(74, 116, 185, 0.08);
}

.pub-links a:hover {
  color: #fff;
  background-color: var(--accent-color);
  transform: translateX(3px);
  box-shadow: 0 2px 5px rgba(74, 116, 185, 0.2);
}

/* TL;DR toggle: same chip as the [PDF]/[DOI] links, but bold and always
   first in the row, so it reads as the entry point. Filled while open. */
.tldr-toggle {
  font: inherit;
  font-weight: 700;
  color: var(--accent-color);
  background-color: rgba(74, 116, 185, 0.08);
  border: none;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-time) ease;
}

.tldr-toggle:hover,
.tldr-toggle[aria-expanded="true"] {
  color: #fff;
  background-color: var(--accent-color);
  box-shadow: 0 2px 5px rgba(74, 116, 185, 0.2);
}

.tldr-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Expanded TL;DR text. Left rule borrowed from the news feed. */
/* Slides open by animating a one-row grid from 0fr to 1fr (height: auto
   can't be transitioned directly). JS un-hides it, then adds .open. */
.pub-tldr {
  flex-basis: 100%; /* full row width, under thumbnail and text */
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-time) ease;
}

.pub-tldr[hidden] {
  display: none; /* author display:grid would otherwise override [hidden] */
}

.pub-tldr.open {
  grid-template-rows: 1fr;
}

.pub-tldr-clip {
  overflow: hidden;
  min-height: 0;
}

.pub-tldr-body {
  margin-top: 0.6rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(74, 116, 185, 0.35);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity var(--transition-time) ease;
}

.pub-tldr.open .pub-tldr-body {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .pub-tldr, .pub-tldr-body {
    transition: none;
  }
}

/* Awards section */
.award-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.1rem;
}

.award-year {
  font-weight: 500;
  color: var(--accent-color);
  flex: 0 0 80px;
}

.award-desc {
  flex: 1;
}

.award-desc small {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

/* News section */
.news-container {
  max-height: 420px;
  overflow-y: auto;
  /* .news-list li:hover nudges 3px right; without this the overflow
     briefly summons a horizontal scrollbar on every hover. */
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 116, 185, 0.3) transparent;
}

/* Same accent tint as the .news-list li left rules, so the bar reads as
   part of the feed rather than as browser chrome. */
.news-container::-webkit-scrollbar {
  width: 6px;
}

.news-container::-webkit-scrollbar-track {
  background: transparent;
}

.news-container::-webkit-scrollbar-thumb {
  background-color: rgba(74, 116, 185, 0.3);
  border-radius: 3px;
}

.news-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(74, 116, 185, 0.55);
}

.news-list {
  padding-left: 0;
  list-style-type: none;
  margin: 0.5rem 0;
}

.news-list li {
  margin-bottom: 0.9rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(74, 116, 185, 0.2);
  padding-bottom: 0.7rem;
}

.news-list li:hover {
  border-left-color: var(--accent-color);
}

/* The last About-me section carries the closing rule itself, so all three
   tabs meet the footer the same way (the other tabs get it for free from
   the trailing .publication-item). */
.misc-item {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}

.misc-item p:last-child {
  margin-bottom: 0;
}

/* Services and misc */
.service-title {
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--accent-color);
}

.service-category p, .misc-item p {
  margin: 0.25rem 0 0.75rem;
}

/* Footer */
/* No padding-top or border here on purpose: it lets the last section's
   2rem bottom margin collapse through and govern the gap, so the footer
   sits exactly one section-break away, same as any other section. */
footer {
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Generic styles */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-time) ease;
}

a:hover {
  color: var(--accent-hover);
}

em {
  font-style: italic;
  color: var(--text-secondary);
}

ul {
  padding-left: 1.25rem;
}

p {
  margin: 0.5rem 0 0.75rem;
}

strong {
  font-weight: 600;
  color: var(--accent-color);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
  transition: opacity var(--transition-time);
  opacity: 0;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 85%;
  max-height: 85%;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: zoom var(--transition-time) ease-out;
}

@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 35px;
  font-weight: normal;
  cursor: pointer;
  transition: color var(--transition-time);
  opacity: 0.8;
}

.modal-close:hover {
  color: #fff;
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive design fixes */
@media (max-width: 768px) {
  /* Make header stack vertically on mobile */
  header {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  /* Center social links on mobile */
  .social-links-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Disable right-moving hover animations on mobile */
  .award-item:hover, 
  .service-category:hover, .misc-item:hover, .news-list li:hover,
  .experience-item:hover,
  nav a:hover, .social-links-header a:hover, .pub-links a:hover, .tldr-toggle:hover {
    transform: none !important;
  }
}

/* Tabs Navigation & Switching */
.tabs-nav {
  display: flex;
  justify-content: space-between;
  gap: 0;
  margin: 0.5rem 0 2rem;
  background: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}

.tab-btn {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  background: none;
  border: none;
  padding: 0.8rem 1rem;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-time) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  border-radius: 0;
}

.tab-btn i {
  font-size: 0.95rem;
}

.tab-btn:hover {
  color: var(--accent-color);
  background-color: rgba(74, 116, 185, 0.04);
}

.tab-btn.active {
  color: var(--accent-color);
  font-weight: 500;
  background-color: rgba(74, 116, 185, 0.08);
}

.tab-content {
  display: none;
  animation: tabFadeIn 0.5s ease forwards;
}

.tab-content.active {
  display: block;
}

/* Disable nested section animations to prevent double-fading */
.tab-content section {
  animation: none;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Projects grid styling */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.experience-content {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  /* Stack tab bar vertically */
  .tabs-nav {
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
  }
  
  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    justify-content: center;
    border-radius: 6px;
    width: 100%;
  }

  /* Experience Mobile Layout: Title, Date, Desc each occupies one line */
  .exp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.2rem;
  }

  .exp-date {
    margin-left: 0;
  }

  /* Publications Mobile Layout: Grid alignment */
  .publication-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 1rem;
    row-gap: 0.5rem;
    align-items: center;
    padding: 1rem 0;
  }

  .pub-thumbnail {
    grid-column: 1;
    grid-row: 1;
    width: 80px !important;
    height: 80px !important;
    min-height: 80px !important;
    align-self: center !important;
  }

  .pub-content {
    display: contents; /* Promote children to direct grid items */
  }

  .pub-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0;
  }

  .pub-authors {
    grid-column: 1 / span 2;
    grid-row: 2;
    margin-bottom: 0;
  }

  /* Separate Venue and Links into different rows.
     Promote .pub-venue and .pub-award from .pub-venue-container. */
  .pub-venue-container {
    display: contents;
  }

  .pub-venue {
    grid-column: 1 / span 2;
    grid-row: 3;
    justify-self: start;
    margin-bottom: 0;
  }

  /* Shorter badges on mobile: "Oral Presentation" -> "Oral". */
  .pub-award-long {
    display: none;
  }

  /* Award badges and Links occupy Row 4 together (side-by-side) */
  .pub-awards {
    grid-column: 1 / span 2;
    grid-row: 4;
    justify-self: start;
    align-self: center;
    margin-bottom: 0;
  }

  .pub-links {
    grid-column: 1 / span 2;
    grid-row: 4;
    justify-self: end;
    align-self: center;
    margin-top: 0;
  }

  .pub-tldr {
    grid-column: 1 / span 2;
    grid-row: 5;
  }

  .pub-tldr-body {
    margin-top: 0; /* the grid row-gap already spaces it */
  }

  /* Activities/competitions have no authors row (their description sits
     behind TL;DR), so move everything up a row instead of leaving an empty
     track that doubles the row-gap under the title. */
  .publication-item.no-middle .pub-venue { grid-row: 2; }
  .publication-item.no-middle .pub-awards,
  .publication-item.no-middle .pub-links { grid-row: 3; }
  .publication-item.no-middle .pub-tldr { grid-row: 4; }

  /* Font size adjustments on mobile */
  /* 1. Important texts (decreased a bit) */
  h1 {
    font-size: 1.7rem !important;
  }
  
  h2 {
    font-size: 1.2rem !important;
  }

  .pub-title {
    font-size: 0.95rem !important;
  }

  .exp-title {
    font-size: 0.95rem !important;
  }

  /* 2. Content texts (decreased a bit more) */
  body {
    font-size: 0.88rem !important;
  }

  p, li {
    font-size: 0.88rem !important;
  }

  .pub-authors {
    font-size: 0.8rem !important;
  }

  .pub-venue {
    font-size: 0.8rem !important;
  }

  .pub-links {
    font-size: 0.78rem !important;
  }

  .exp-org {
    font-size: 0.85rem !important;
  }

  .exp-advisors {
    font-size: 0.78rem !important;
    margin-top: 0.37rem !important; /* smaller font, so more margin for the same gap */
  }

  .exp-bullets li {
    font-size: 0.82rem !important;
  }

  .award-year {
    flex: 0 0 60px !important;
    font-size: 0.85rem !important;
  }
}








/* Experience Section Styles */
/* Symmetric padding, no margin: the same rhythm as .publication-item, so
   the gap above and below each dashed rule is equal. */
.experience-item {
  margin-bottom: 0;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border-color);
}

/* Close the list with a solid rule (matching .publication-item lists) and
   drop the trailing margin, so the gap to the next section heading is
   identical to every other section on the Experience tab. */
.experience-item:last-child {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.exp-title {
  font-size: 1.05rem;
  color: var(--accent-color);
  font-weight: 600;
}

.exp-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: 'Merriweather', Georgia, serif;
}

.exp-org {
  font-weight: 400;
  font-style: italic;
  margin-top: 0.1rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Lab / department links inside an experience entry. .exp-org is quiet
   italic body text, so accent colour alone is a weak affordance here --
   underline carries it. Deliberately NOT bold: .exp-org is weight 400 so
   that .exp-title above stays the focus of the block. */
.exp-org a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* margin-top tuned by measured ink gaps so title -> institution and
   institution -> advisors read the same (14px on desktop). */
.exp-advisors {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.275rem;
}

.exp-bullets {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.exp-bullets li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  transition: transform var(--transition-time) ease;
}

.exp-bullets li:hover {
  transform: translateX(var(--animation-offset));
}

.education-item {
  margin-bottom: 1.5rem;
}








/* Spacing alignment below h2 headers */
.education-item,
.news-container,
.misc-item,
main section > p:first-of-type {
  margin-top: 0.8rem;
}


