/* static/css/member-detail.css - MEMBER DETAIL PAGE SPECIFIC STYLES */

.member-hero-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #b8860b 100%);
  position: relative;

}

.member-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/static/img/member-detail-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.member-detail-photo {
  border: 4px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  margin-bottom: 2rem;

}

.member-detail-photo img {
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
 
}

.member-detail-photo:hover img {
  transform: scale(1.05);
}

/* Enhanced glass card effect */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Prose styling for biography */
.prose {
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1.5em;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Sticky sidebar */
.sticky {
  position: sticky;
  align-self: flex-start;
}

/* Related member cards hover effect */
.group:hover .group-hover\:text-primary {
  color: #1e3a8a;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .member-detail-photo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .member-hero-bg::before {
    opacity: 0.05;
  }
  
  .member-detail-photo {
    width: 160px;
    height: 160px;
    margin-bottom: 2rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
}

/* Animation delays for staggered effects */
.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

.stagger-5 {
  animation-delay: 0.5s;
}

/* Enhanced hover effects */
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* RTL specific styles for Arabic */
[dir="rtl"] .mr-2 {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="rtl"] .mr-3 {
  margin-right: 0;
  margin-left: 0.75rem;
}

[dir="rtl"] .ri-arrow-left-line::before {
  content: "\ea64"; /* Right arrow for RTL */
}