/* ---------- Modern vertical layout ---------- */

/* Narrow, centered column with generous vertical rhythm */
#quarto-content .column-page,
main.content {
  max-width: 46rem;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2.5rem;
}

.hero .hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero .hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.hero-links .btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid #007bff;
  border-radius: 999px;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-links .btn:hover {
  background: #007bff;
  color: #fff;
}

/* Stacked sections */
main.content h2 {
  margin-top: 3rem;
  font-weight: 700;
}

/* Navbar title emphasis */
.navbar-title {
  font-weight: 700;
}

/* Social icon footer */
.social-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem 0 1rem;
  font-size: 1.6rem;
}

.social-footer .social-icon {
  color: inherit;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.social-footer .social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Contact rows: icon + label per line */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.contact-row svg,
.contact-row i {
  font-size: 1.15rem;
  opacity: 0.75;
}

.contact-row:hover span {
  text-decoration: underline;
}

.contact-row:hover i,
.contact-row:hover svg {
  opacity: 1;
}

/* Pandoc wraps the anchors in one <p>; let flex see each anchor directly */
.contact-list p {
  display: contents;
}

.contact-row {
  width: fit-content;
}

/* Alternating bands on the dashboard page */
.band {
  padding: 1.5rem 1.75rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  background: rgba(0, 123, 255, 0.05);
}

.band.band-alt {
  background: transparent;
  border: 1px solid rgba(0, 123, 255, 0.15);
}

/* About page intro */
#about-intro .about-title {
  margin-top: 0;
}

.img-block {
  margin: 2rem 0;
  text-align: center;
}
