/* Person Hobbies Card Container */
.person-hobbies-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.person-hobbies-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.person-hobbies-card:last-child {
    margin-bottom: 0;
}

/* Hobbies Profile Section */
.hobbies-profile {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    gap: 15px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    flex-shrink: 0;
}

.avatar-hobbies {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.profile-title {
    font-size: 14px;
    color: #4CAF50;
    font-weight: 600;
    margin: 0;
}

/* Hobbies Grid */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Individual Hobby Cards */
.hobby-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.hobby-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Hobby Image Placeholder */
.hobby-image-placeholder {
    width: 100%;
    height: 160px;
    background-color: #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #9ca3af;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.hobby-photos {
    width: 100%;
    height: 160px;
    border-radius: 6px;
    object-fit: cover;
}


.hobby-card:hover .hobby-image-placeholder {
    background-color: #d1d5db;
}

/* Hobby Content */
.hobby-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 10px 0;
}

.hobby-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .person-hobbies-card {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .hobbies-profile {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hobby-card {
        padding: 16px;
    }
    
    .hobby-image-placeholder {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .person-hobbies-card {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .hobbies-grid {
        gap: 12px;
    }
    
    .hobby-card {
        padding: 12px;
    }
    
    .hobby-image-placeholder {
        height: 120px;
        font-size: 20px;
    }
    
    .hobby-title {
        font-size: 16px;
    }
    
    .hobby-description {
        font-size: 13px;
    }
}

/* Alternative grid layout for larger screens */
@media (min-width: 1200px) {
    .hobbies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 