
/* Knowledge Sources (Wissensquellen) Styles */
.knowledge-intro {
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #3c266e;
}

.knowledge-intro h2 {
    margin-bottom: 20px;
    color: #3c266e;
    font-size: 28px;
}

.knowledge-intro p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
}

.knowledge-note {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.knowledge-note strong {
    color: #4CAF50;
}

/* Knowledge Categories */
.knowledge-category {
    margin-bottom: 50px;
    background: #100a1f;
    border: 2px solid #3c266e;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(60, 38, 110, 0.3);
}

.knowledge-category h3 {
    color: #3c266e;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.knowledge-item {
    background: rgba(60, 38, 110, 0.1);
    border: 1px solid rgba(60, 38, 110, 0.3);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.knowledge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 38, 110, 0.4);
    border-color: #5a3f8f;
}

.knowledge-item h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.knowledge-author {
    color: #3c266e;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.knowledge-item p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.knowledge-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.knowledge-stars {
    display: flex;
    gap: 2px;
}

.knowledge-star {
    color: #ffd700;
    font-size: 14px;
}

.knowledge-score {
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
}

.knowledge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.knowledge-tag {
    background: rgba(60, 38, 110, 0.3);
    color: #ccc;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(60, 38, 110, 0.5);
}

.knowledge-level {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3c266e;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.knowledge-level.beginner {
    background: #4CAF50;
}

.knowledge-level.intermediate {
    background: #ff9800;
}

.knowledge-level.advanced {
    background: #f44336;
}

/* Special highlight items */
.knowledge-featured {
    border: 2px solid #ffd700;
    background: rgba(255, 215, 0, 0.05);
    position: relative;
}

.knowledge-featured::before {
    content: "⭐ Empfehlung";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #ffd700;
    color: black;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* YouTube and Podcast specific styles */
.channel-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.channel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3c266e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.channel-stats {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .knowledge-intro {
        padding: 25px;
    }
    
    .knowledge-intro h2 {
        font-size: 24px;
    }
    
    .knowledge-intro p {
        font-size: 16px;
    }
    
    .knowledge-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .knowledge-category {
        padding: 20px;
    }
    
    .knowledge-item {
        padding: 20px;
    }
    
    .knowledge-level {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }
    
    .knowledge-featured::before {
        position: static;
        display: block;
        margin-bottom: 15px;
        text-align: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}
