/* ── Section Headers ─────────────────────────────────────────────── */
h2 {
  color: #333;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h3 {
  color: #444;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ── Tables ──────────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

table thead th {
  background-color: #f5f5f5;
  color: #333;
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}

table tbody td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #eee;
}

table tbody tr:hover {
  background-color: #fafafa;
}

/* ── Lists ───────────────────────────────────────────────────────── */
#quarto-content ul {
  padding-left: 1.2rem;
}

#quarto-content ul li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* ── Paragraphs ──────────────────────────────────────────────────── */
#quarto-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── Project / Achievement descriptions ──────────────────────────── */
h4 + p {
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #ddd;
  color: #555;
  line-height: 1.7;
}

/* ── Section separators ──────────────────────────────────────────── */
.column-page h2:not(:first-of-type)::before,
#quarto-content .quarto-body-content h2:not(:first-of-type)::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  margin-bottom: 2rem;
}

/* ── Pill Tabs ──────────────────────────────────────────────────── */
.panel-tabset .nav-tabs {
  border-bottom: none;
}

.panel-tabset .nav-tabs .nav-link {
  border-radius: 50px !important;
  padding: 0.4rem 1.2rem;
  margin-right: 0.4rem;
  color: #555;
  background-color: #f0f0f0;
  border: none !important;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.panel-tabset .nav-tabs .nav-link:hover {
  background-color: #e0e0e0;
  color: #333;
  border: none !important;
}

.panel-tabset .nav-tabs .nav-link.active {
  background-color: #333;
  color: #fff;
  border: none !important;
}

.panel-tabset .tab-content {
  border: none !important;
}
