/* Container */
.eruditus-slider-container {
    width: 100%;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.eruditus-swiper {
    padding-bottom: 40px !important; /* Space for pagination */
}

/* Card Wrapper */
.eruditus-card {
    background-color: #fff;
    border-radius: 0.5rem; /* rounded-lg */
    border: 2px solid #1A2E4F; /* border-2 border-[#1A2E4F] */
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    color: #1f2937; /* text-card-foreground */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.eruditus-card:hover {
    border-color: #2A3E5F; /* hover:border-[#2A3E5F] */
    transform: translateY(-5px); /* hover-lift approximation */
}

/* Image Section */
.eruditus-card-image-wrapper {
    position: relative;
}

.aspect-square {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: rgba(243, 244, 246, 0.3); /* bg-muted/30 */
}

.eruditus-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eruditus-card:hover .eruditus-card-img {
    transform: scale(1.05); /* group-hover:scale-105 */
}

.eruditus-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 46, 79, 0.4), transparent); /* from-[#1A2E4F]/40 */
    pointer-events: none;
}

/* Badge Icon Top Right */
.absolute { position: absolute; }
.top-3 { top: 0.75rem; }
.right-3 { right: 0.75rem; }
.bottom-3 { bottom: 0.75rem; }
.left-3 { left: 0.75rem; }

.eruditus-badge-icon {
    background-color: rgba(26, 46, 79, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.25rem;
    border: 1px solid rgba(26, 46, 79, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glass Card Bottom */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.font-medium { font-weight: 500; }
.text-muted-foreground { color: #6b7280; }

/* Content Section */
.eruditus-card-content {
    padding: 1rem; /* p-4 */
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
    flex-grow: 1;
}

.eruditus-card-name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    transition: color 0.3s;
}

.eruditus-card:hover .eruditus-card-name {
    color: #1A2E4F;
}

.eruditus-card-role {
    margin: 0;
    color: #1A2E4F;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
}

.eruditus-card-meta {
    margin: 0;
    color: #6b7280;
    font-size: 0.75rem; /* text-xs */
}

.eruditus-card-bio {
    margin: 0;
    color: #6b7280;
    font-size: 0.75rem; /* text-xs */
    line-height: 1.625; /* leading-relaxed */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.eruditus-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: auto; /* Push to bottom if flex column */
}

.eruditus-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(26, 46, 79, 0.3);
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem; /* text-xs */
    font-weight: 600;
    color: #1A2E4F;
    background-color: rgba(26, 46, 79, 0.05);
    border-radius: 0.375rem; /* rounded-md */
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet-active {
    background-color: #1A2E4F !important;
}
