/* === Home split layout === */

.split-container {
  display: grid;
  grid-template-columns: 25% 75%;
  column-gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}

/* Left side (photo + links) */
.profile-sidebar {
  align-self: flex-start;
  position: sticky;      /* stays in place while you scroll */
  top: 80px;             /* adjust if navbar is taller/shorter */
  padding-right: 2rem;
  border-right: 1px solid #e1e4e8;
  background-color: #f8f9fa;
}

/* Profile image */
.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid #e1e4e8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
  display: block;
  margin-bottom: 1.5rem;
}

/* Links under the photo */
.profile-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.profile-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  background: #ffffff;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  color: #333 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.profile-link:hover {
  background: #3498db;
  color: #fff !important;
  border-color: #3498db;
  transform: translateX(3px);
}

.profile-link i,
.profile-link .bi {
  margin-right: 0.6rem;
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

/* Right side (About / Research / Background) */
.main-content {
  padding-left: 1rem;
}

/* Make it stack nicely on small screens */
@media (min-width: 1200px) {
  #quarto-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
  }
}