/* css styles */

/* Photo credit caption under an image */
.photo-credit {
  display: block;
  font-size: 0.8rem;
  color: #9a9a92;
  margin-top: 0.3rem;
}

/* ---- Collaborations page: single-column row list ---- */
 
.collab-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
 
.collab-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.25rem;
  background: #fafaf8;              /* light, warm off-white */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0.75rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
 
.collab-row:hover {
  background: #f3f2ee;
  transform: translateY(-1px);
}
 
/* Icon avatar — swap this for <img class="collab-icon"> once you have
   a real thumbnail (app icon, cover art, video thumbnail, etc.) */
.collab-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
 
/* Use this class instead of .collab-icon when you have a real photo */
img.collab-icon {
  object-fit: cover;
  font-size: 0; /* hide alt text if broken */
}
 
.collab-body {
  flex: 1;
  min-width: 0; /* allow text truncation/wrap inside flex */
}
 
.collab-meta {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9a9a92;
  margin-bottom: 0.2rem;
}
 
.collab-title {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.15rem;
}
 
.collab-title:hover {
  text-decoration: underline;
}
 
.collab-body > p:last-child {
  margin: 0;
  font-size: 0.9rem;
  color: #6b6b63;
}
 
 
/* Mobile: shrink the avatar and tighten padding */
@media (max-width: 600px) {
  .collab-row {
    padding: 0.85rem 1rem;
    gap: 0.85rem;
  }
  .collab-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .collab-title {
    font-size: 0.98rem;
  }
}

/* about page flexible */
.profile-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.profile-columns .column {
  flex: 1 1 auto;
}

@media (max-width: 600px) {
  .profile-columns {
    flex-direction: column-reverse; /* photo on top, text below on mobile */
  }

  .profile-columns .column {
    width: 100% !important; /* overrides the inline width="65%"/"35%" */
    flex: 1 1 100%;
  }
}

/* for adjusting profile photo */
.profile-photo {
  text-align: center;
}

.profile-photo img {
  border-radius: 50%;
  width: 300px;   /* adjust to taste */
  height: 300px;
  object-fit: cover;
}

.profile-photo p:last-child {
  font-size: 1.3em;
  margin-top: 0.75em;
}

/* not showing the BibTex link */
.bibbase_page {
  display: none !important;
}

/* Add a subtle drop shadow to the top navigation bar */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Add a subtle drop shadow to the bottom of the title banner */
.quarto-title-banner {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  position: relative; /* Ensures the shadow renders on top of the page content below */
  z-index: 1;
}



/* Nav bar styling */
.navbar-brand,
.navbar-title {
  font-weight: 700; /* Bold (or 800 for extra bold) */
}



/* Mobile Devices (Screens 768px and smaller) */
@media (max-width: 768px) {
  body {
    font-size: 0.9375rem; /* ~15px base size for mobile, matching standard Hugo themes */
    line-height: 1.5;
  }

  /* Adjust headings on mobile so they don't look overly large */
  h1, .title {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.2rem;
  }
}


/* Enable parallax scroll on title banners */
.quarto-title-banner {
  background-attachment: fixed;  /* Keeps the background image fixed in place */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents image tiling */
  background-size: cover;       /* Ensures the image fills the banner area */
  min-height: 150px;            /* Gives enough height to see the effect */
}