
.answer-text,
.answer-text a,
.answer-video p, .answer-video p strong {
    font-family: Inter, "sans-serif"
}

.questions {
    font-size: 1.3em;
    margin-bottom: .5em;
    width: 100%
}

.question-link {
    text-decoration: none;
}

.question-block {
    margin-bottom: 10px;
    width: 100%;
    padding: 1em;
    border-radius: 10px;
    background-color: #4a2d6e;
    cursor: pointer;
    animation-duration: 1s;
    transition-duration: .5s
}

.question-block:hover {
    transform: translateY(-5px)
}

.title-nowrap {
    white-space: break-spaces;
}

/* Grille des tutos */
.tuto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 2em;
    margin-bottom: 2em;
}

.tuto-card {
    background: #1a0d2e;
    border-radius: 14px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.14);
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
}

.tuto-card:hover {
    transform: translateY(-5px) scale(1.025);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.tuto-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;

}

.tuto-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-block;
    font-size: 0.85em;
    font-weight: 500;
    padding: 0.22em 0.7em;
    border-radius: 7px;
    color: #fff;
    background: #5a5c7a;
    letter-spacing: 0.03em;
    margin: 0;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.tuto-badge.dll {
    background: #2196f3; /* Bleu */
}

.tuto-badge.dependances {
    background: #4caf50; /* Vert */
}

.tuto-badge.erreur {
    background: #f44336; /* Rouge */
}

.tuto-badge.gaming {
    background: #ffc107; /* Jaune */
    color: #333; /* Pour garder la lisibilité */
}

.tuto-badge.logiciels {
    background: #9c27b0; /* Violet */
}

.tuto-badge.reseau {
    background: #ff9800; /* Orange */
    color: #333; /* Texte foncé pour contraster */
}


.tuto-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    background: #1e1038;
    border-bottom: 1px solid #3d1f6e;
    border-radius: 0 0 10px 10px;
    margin-bottom: 0.2em;
}

.tuto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.7em 0.8em 0.8em 0.8em;
}

.tuto-title {
    font-family: 'Inter', 'Aldrich', Arial, sans-serif;
    font-size: 1em;
    font-weight: 600;
    color: #fff;
}

@media (max-width: 600px) {
    .tuto-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tuto-card {
        min-height: 140px;
    }

    .tuto-img {
        height: 60px;
    }

    .tuto-title {
        min-height: 24px;
        font-size: 0.95em;
    }
}
