/* ========================================= */
/* 4. סטיילינג לכרטיסי המתנדבים */
/* ========================================= */

.volunteer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* רווח בין כרטיסים */
    justify-content: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.volunteer-card {
    /* מידות הכרטיס */
    width: 100%;
    max-width: 300px; 
    
    /* עיצוב */
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-5px); /* אפקט ריחוף קל */
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
}

/* עטיפת תמונה עגולה */
.volunteer-image-wrapper {
    display: block;
    width: 96px; 
    height: 96px; 
    margin: 0 auto 16px auto; /* ממורכז */
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    /* טבעת סביב התמונה (צבע ראשי: #007bff) */
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2); 
    line-height: 0; /* מונע רווחים מיותרים מתחת לתמונה */
}

.volunteer-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* חיתוך התמונה למילוי העיגול */
    border-radius: 50%;
}

/* כותרות וטקסטים */
.volunteer-name {
    font-size: 1.5rem; /* גודל כותרת */
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.volunteer-key-sentence,
.volunteer-role {
    font-size: 1rem;
    font-weight: 500;
    color: #007bff; /* צבע ראשי (Primary Color) */
    margin-bottom: 8px;
}

.volunteer-details {
    font-size: 0.875rem;
    color: #6c757d; /* צבע טקסט משני (Muted Color) */
    margin-bottom: 16px;
    line-height: 1.5;
}

/* עיצוב בלוק הציטוט */
.volunteer-blockquote {
    font-size: 1rem;
    font-style: italic;
    color: #6c757d;
    text-align: center;
    padding-right: 15px; /* רווח לפני הבלוק */
    border-right: 4px solid #007bff; /* קו צד בצבע ראשי */
    margin-bottom: 20px;
}

/* טקסט התקציר */
.volunteer-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* רספונסיביות (אופציונלי אך מומלץ) */
@media (max-width: 768px) {
    .volunteer-card {
        max-width: 45%; /* שני כרטיסים בשורה בטאבלט */
    }
}
@media (max-width: 500px) {
    .volunteer-card {
        max-width: 100%; /* כרטיס אחד בשורה בנייד */
    }
}

/* ========================================= */
/* 5. סטיילינג לאזור ראש העמוד (Hero Section) */
/* ========================================= */

.volunteer-hero-section {
    /* מדמה את bg-gradient-to-br from-primary/10 to-secondary/10 */
    background: linear-gradient(to bottom right, #f0f8ff, #f8f0ff); /* כחול בהיר/לבן לסגול בהיר/לבן */
    padding: 80px 0; /* py-20 */
    text-align: center;
    margin-bottom: 40px; /* רווח לפני רשימת המתנדבים */
}

/* הגדרות הקונטיינר הכללי (אם לא מוגדר בתבנית האב) */
.hero-content-wrapper {
    max-width: 1024px; /* container mx-auto px-4 */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-title {
    font-size: 2.5rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    color: #333; /* text-foreground */
    margin-bottom: 1.5rem; /* mb-6 */
}

.hero-description {
    font-size: 1.25rem; /* text-xl */
    color: #6c757d; /* text-muted-foreground */
    max-width: 600px; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem; /* mb-8 */
}

/* גריד הסטטיסטיקות */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* ברירת מחדל: עמודה אחת */
    gap: 2rem; /* gap-8 */
    max-width: 768px; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
}

/* מדיה קוורי לטאבלטים ומעלה */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem; /* md:text-5xl */
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 */
    }
}

/* סטיילינג לכל פריט סטטיסטיקה */
.stat-item {
    text-align: center;
}

.stat-icon-wrapper {
    width: 64px; /* w-16 */
    height: 64px; /* h-16 */
    background-color: rgba(0, 123, 255, 0.2); /* bg-primary/20 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto; /* mx-auto mb-4 */
}

.stat-icon {
    width: 32px; /* w-8 */
    height: 32px; /* h-8 */
    color: #007bff; /* text-primary */
    stroke-width: 2;
}

.stat-number {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: #333; /* text-foreground */
    margin-bottom: 0.5rem; /* mb-2 */
}

.stat-label {
    color: #6c757d; /* text-muted-foreground */
}

/* ========================================= */
/* 6. סטיילינג לעמוד מתנדב בודד (Single Volunteer) */
/* ========================================= */

.single-volunteer-page {
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
}

.volunteer-profile-box {
    display: flex;
    flex-wrap: wrap; /* מאפשר גלישה בנייד */
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* אזור תמונה */
.volunteer-image-area {
    flex: 0 0 300px; /* רוחב קבוע לתמונה בדסקטופ */
    text-align: center;
}

.volunteer-large-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* אזור פרטים */
.volunteer-info-area {
    flex-grow: 1;
    text-align: right; /* עברית */
}

.volunteer-name-single {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 5px;
}

.volunteer-role-single {
    font-size: 1.2rem;
    color: #007bff; /* Primary */
    font-weight: 600;
    margin-bottom: 15px;
}

.volunteer-key-sentence-single {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    background-color: #f8f8f8;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.volunteer-specs-single p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 5px;
    line-height: 1.5;
}

/* בלוק הציטוט הגדול */
.volunteer-blockquote-single {
    font-size: 1.4rem;
    font-style: italic;
    color: #007bff; /* Primary */
    border-right: 6px solid #007bff;
    padding-right: 20px;
    margin: 30px 0;
    line-height: 1.6;
}

/* כותרת תוכן ותקציר */
.volunteer-bio-content .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* רספונסיביות */
@media (max-width: 768px) {
    .volunteer-profile-box {
        flex-direction: column;
        text-align: center;
    }
    .volunteer-image-area {
        flex-basis: auto;
        max-width: 300px;
        margin: 0 auto;
    }
    .volunteer-info-area {
        text-align: center;
    }
    .volunteer-name-single {
        font-size: 2rem;
    }
    .volunteer-blockquote-single {
        font-size: 1.2rem;
        border-right: none;
        border-left: 6px solid #007bff; /* מעביר את קו הציטוט לצד שמאל בנייד */
        padding-right: 0;
        padding-left: 15px;
    }
}