body {
  background: #f7f7f7;
  color: #222;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

.resume-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0, 255, 128, 0.10);
  overflow: hidden;
  border: 1px solid #b2eac7;
}

.sidebar {
  background: #eaf7ee;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 2px solid #116c3f;
}

.profile {
  text-align: left;
  width: 100%;
  margin-bottom: 32px;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  background: url('images/profile.png') center/cover no-repeat, linear-gradient(135deg, #00ff80 40%, #fff 100%);
  margin-bottom: 16px;
  border: 4px solid #116c3f;
}

.name {
  color: #116c3f;
  font-size: 2.1rem;
  margin: 0 0 4px 0;
  font-weight: 700;
}

.title {
  color: #222;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  font-weight: 500;
}

.subtitle {
  font-size: 1rem;
  /* color: #116c3f; */
  font-weight: 400;
  font-style: italic;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.contact-info li {
  margin-bottom: 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  font-size: 1.1em;
  margin-right: 6px;
}

.sidebar-section {
  width: 100%;
  margin-bottom: 18px;
}

.sidebar-section h2 {
  color: #116c3f;
  font-size: 1.05rem;
  margin-bottom: 8px;
  text-transform: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.line {
  flex: 1;
  height: 1px;
  background: #b2eac7;
  margin-left: 8px;
  border-radius: 2px;
}

.dot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dot-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 8px;
}

.dots {
  display: inline-flex;
  gap: 2px;
  margin-left: 8px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b2eac7;
  display: inline-block;
  border: 1px solid #116c3f;
}

.dot.filled {
  background: #116c3f;
}

.tech-list .icon {
  font-size: 1em;
  margin-right: 2px;
}

.tech-list .icon-img,
.dot-list .icon-img,
.sidebar-section ul li .icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #b2eac7;
}

.skill-title .icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #b2eac7;
}

.main-content {
  padding: 32px 40px;
}

.section {
  margin-bottom: 32px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: #b2eac7;
  border: none;
  margin: 32px 0;
}

.blue-header {
  color: #116c3f;
  font-size: 1.3rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.exp-item {
  margin-bottom: 24px;
}

.exp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.exp-date {
  color: #116c3f;
  font-size: 1rem;
  font-weight: 600;
  min-width: 90px;
}

.exp-company {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  margin-left: auto;
  font-style: italic;
}

.exp-header strong {
  color: #053a13;
  font-weight: 600;
}

.exp-item ul {
  margin: 0 0 0 18px;
  padding: 0;
}

.exp-item li {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #222;
}

.skills .skill-block {
  margin-bottom: 18px;
}

.skill-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #116c3f;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.skill-desc {
  font-size: 1rem;
  color: #222;
  margin-left: 24px;
}

.skill-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px 0;
}

.bubble {
  background: #eaf7ee;
  color: #116c3f;
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(17, 108, 63, 0.08);
  border: 1px solid #b2eac7;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

.bubble:hover {
  background: #116c3f;
  color: #fff;
}

.summary {
  margin-bottom: 32px;
}

.summary-text {
  font-size: 0.9rem;
  color: #222;
  background: #eaf7ee;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(17, 108, 63, 0.06);
}

.edu-item {
  margin-bottom: 24px;
}

.edu-item .exp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.edu-item .exp-date {
  color: #116c3f;
  font-size: 1rem;
  font-weight: 600;
  min-width: 90px;
}

.edu-item .exp-company {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  margin-left: auto;
  font-style: italic;
}

.edu-item strong {
  color: #053a13;
  font-weight: 600;
}

.edu-item ul {
  margin: 0 0 0 18px;
  padding: 0;
}

.edu-item ul li {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #222;
}

.strength-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.strength-list li {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  font-size: 1rem;
  gap: 10px;
  flex-wrap: nowrap;
}

.strength-list .icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #b2eac7;
}

.strength-list strong {
  min-width: 110px;
  font-weight: 600;
  color: #116c3f;
}

.strength-desc {
  display: inline-block;
  width: auto;
  margin-left: 8px;
  color: #222;
  font-size: 0.98rem;
  flex-grow: 1;
}

.strength-list .dots {
  margin-left: 16px;
  margin-right: 0;
  flex-shrink: 0;
  align-self: center;
}

/* Align publication bullets to the left, matching working experience */
.publication-list {
  margin: 0 0 0 18px;
  padding: 0;
}

.publication-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #222;
  list-style-position: outside;
}

/* Truncate long publication names with ellipsis, matching exp-header style */
.publication-list strong {
  display: inline-block;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.pub-main strong {
  color: #053a13;
  font-weight: 600;
}

/* Make publication authors smaller, italic, and bold Pierre Gleize */
.pub-authors {
  font-size: 0.9em;
  font-style: italic;
}

.pub-authors b {
  font-weight: bold;
  font-style: normal;
}

/* Left-align the text in sidebar dot-list labels */
.dot-label {
  display: inline-block;
  text-align: left;
  width: 100%;
}

.coursera .dot-label {
  /* font-weight: 600; */
  color: #053a13;
  font-size: normal;
  padding: 2px;
  padding-left: 6px;
}

.coursera .dot-label:hover {
  color: #65a776;
  background-color: #053a13;
  border-radius: 16px;
}

/* @media (max-width: 900px) {
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: none;
    border-bottom: 2px solid #116c3f;
    align-items: center;
    padding: 24px 12px;
  }

  .main-content {
    padding: 24px 12px;
  }
} */

/* @media print {
  body {
    background: #fff !important;
    color: #222 !important;
  }

  .resume-grid {
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    max-width: 100% !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: visible !important;
  }

  .sidebar {
    background: #eaf7ee !important;
    border-right: 2px solid #116c3f !important;
    padding: 32px 24px !important;
    align-items: flex-start !important;
  }

  .main-content {
    padding: 32px 40px !important;
  }

  .avatar {
    background: url('images/profile.png') center/cover no-repeat, linear-gradient(135deg, #00ff80 40%, #fff 100%) !important;
    border: 4px solid #116c3f !important;
  }

  .sidebar-section h2,
  .name,
  .subtitle,
  .blue-header,
  .skill-title {
    color: #116c3f !important;
  }

  .dot {
    background: #b2eac7 !important;
    border: 1px solid #116c3f !important;
  }

  .dot.filled {
    background: #116c3f !important;
  }

  .icon-img {
    background: #fff !important;
    border: 1px solid #b2eac7 !important;
  }

  .strength-list .icon-img {
    width: 32px !important;
    height: 32px !important;
  }
} */