/* Staff Grid - Index Page */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.staff-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 32, 76, 0.15);
  border-color: #e18022;
}

.staff-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  background-color: #f3f4f6;
}

.staff-content {
  padding: 2rem;
}

.staff-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00204c;
  margin-bottom: 0.5rem;
}

.staff-title {
  font-size: 1rem;
  color: #e18022;
  font-weight: 600;
  margin-bottom: 1rem;
}

.staff-excerpt {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.view-profile {
  display: inline-flex;
  align-items: center;
  color: #e18022;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
  gap: 0.5rem;
}

.staff-card:hover .view-profile {
  gap: 0.75rem;
}

.view-profile::after {
  content: "→";
  font-size: 1.25rem;
}

/* Profile Page Styles */
.profile-back {
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #00204c;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.back-link:hover {
  opacity: 1;
}

.back-link::before {
  content: "←";
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.profile-hero {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: start;
}

.profile-image-container {
  position: sticky;
  /* Increased top offset from 2rem to 6rem to account for fixed header */
  top: 6rem;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-content {
  max-width: 800px;
}

.profile-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00204c;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.profile-title {
  font-size: 1.25rem;
  color: #e18022;
  font-weight: 600;
  margin-bottom: 2rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00204c;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #e18022;
  display: inline-block;
}

.section-content {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
}

.section-content p {
  margin-bottom: 1rem;
}

.credentials-list {
  list-style: none;
  padding-left: 0;
}

.credentials-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: #4b5563;
}

.credentials-list li::before {
  content: "•";
  color: #e18022;
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.25rem;
}

.credentials-list ul {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.credentials-list ul li::before {
  content: "◦";
  font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .profile-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-image-container {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .profile-name {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .staff-image {
    height: 320px;
  }

  .staff-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .staff-name {
    font-size: 1.25rem;
  }

  .profile-name {
    font-size: 1.75rem;
  }

  .profile-title {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.25rem;
  }
}
