/* ── Typography ─────────────────────────────────────────────────────── */
body {
  font-size: 16px;
  line-height: 1.7;
}

/* ── Header: tighten the default large hero padding ─────────────────── */
.page-header {
  padding: 2rem 1rem;
}

/* ── Navigation: style the header_pages links ───────────────────────── */
.main-nav {
  margin-top: 0.75rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0 0.6rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.main-nav a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

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

th {
  background: #159957;
  color: #fff;
  padding: 0.6rem 1rem;
  text-align: left;
}

td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e8e8e8;
}

tr:nth-child(even) td {
  background: #f6f8fa;
}

/* ── Project cards ───────────────────────────────────────────────────── */
.project-card {
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.project-card h3 {
  margin-top: 0;
  color: #159957;
}

.stack-tag {
  display: inline-block;
  background: #eaf5ee;
  color: #159957;
  border: 1px solid #c3e6cb;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-family: monospace;
  margin: 2px;
}

/* ── CTA buttons (content area — override Cayman's header-only white styles) */
.main-content a.btn {
  display: inline-block;
  color: #fff !important;
  background-color: #159957;
  border: 1px solid #159957;
  border-radius: 0.3rem;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background-color 0.2s, border-color 0.2s;
  margin-bottom: 1rem;
}

.main-content a.btn:hover {
  background-color: #107a42;
  border-color: #107a42;
}

.main-content a.btn + a.btn {
  margin-left: 0.75rem;
}

.main-content a.btn.btn-secondary {
  background-color: transparent;
  color: #159957 !important;
  border-color: #159957;
}

.main-content a.btn.btn-secondary:hover {
  background-color: #eaf5ee;
}
