/* =========================
   Typography & Base Layout
========================= */

/* Base typography smaller academic style */
body {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
}

/* Headings smaller */
h1 {
  font-size: 18px;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 14px;
}

/* Navbar spacing clean */
.navbar {
  font-size: 14px;
}

/* Reduce page title clutter */
.quarto-title-block {
  display: none;
}

/* =========================
   Headings
========================= */

h1, h2, h3, h4 {
  font-family: "Lora", serif;
  font-weight: 600;
  color: #222222;
}

/* Section spacing */
h2 {
  margin-top: 2em;
}

/* =========================
   Links (accent color)
========================= */

a {
  color: #6A9A78;
  text-decoration: none;
}

a:hover {
  color: #4f7d5f;
  text-decoration: underline;
}

/* =========================
   Navbar styling
========================= */

.navbar {
  background: white;
  border-bottom: 1px solid #e8e8e8;
}

.navbar-nav .nav-link.active {
  color: #6A9A78 !important;
  font-weight: 600;
}

/* =========================
   Image styling (profile photo)
========================= */

img {
  border-radius: 12px;
}

/* Optional subtle hover effect */
img:hover {
  transform: scale(1.01);
  transition: 0.2s ease;
}

/* =========================
   Grid spacing improvement
========================= */

.grid {
  align-items: center;
  gap: 2rem;
}