/* css styles */

/* ───────────────────────────────────────
   Global: navbar refinement
─────────────────────────────────────── */
.navbar {
  border-bottom: 1px solid #ebebeb;
  box-shadow: none !important;
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ───────────────────────────────────────
   Home hero
─────────────────────────────────────── */
.home-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4rem 0 2rem;
}

.home-name {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.home-tagline {
  font-size: 1rem;
  color: #888;
  margin: 0 0 1.6rem;
  font-weight: 400;
}

.home-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.home-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.home-links a:hover {
  color: #0d6efd;
  border-color: #0d6efd;
}

.home-sep {
  color: #ccc;
  user-select: none;
}

/* ───────────────────────────────────────
   About page — section headings
─────────────────────────────────────── */
.about-page h2 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aaa;
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #ebebeb;
}

.about-page h2:first-of-type {
  margin-top: 0.5rem;
}

/* ───────────────────────────────────────
   Hide post date
─────────────────────────────────────── */
/* Image captions */
.img-caption {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

/* Hide post date */
.quarto-title .quarto-title-meta-heading,
.quarto-title .quarto-title-meta-contents {
  display: none;
}

/* Posts listing page — category headings */
.posts-listing-page h2 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aaa;
  margin-top: 2.75rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #ebebeb;
}

.posts-listing-page h2:first-of-type {
  margin-top: 0.5rem;
}

/* Posts listing page — grid cards */
.quarto-grid-item .card {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: transparent;
}

.quarto-grid-item .card:hover {
  border-color: #b0b0b0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.quarto-grid-item .card-body {
  padding: 0.9rem 1.1rem;
}

.quarto-grid-item .listing-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-align: left;
}

.quarto-grid-item .listing-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.quarto-grid-item .listing-title a:hover {
  color: #0d6efd;
}

.quarto-grid-item .listing-description {
  font-size: 0.84rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 1.75rem;
  border-left: 2px solid #dee2e6;
  margin-top: 1rem;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background-color: #6c757d;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #6c757d;
}

.timeline-date {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.timeline-title {
  font-size: 0.975rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.timeline-sub {
  font-size: 0.875rem;
  color: #555;
}
