.questions-wrapper {
    padding:20px 20px 100px;
}
.float-grid {
    overflow: hidden; 
    width: 100%;
    max-width:1366px;
    margin:0 auto;
}
.float-grid h2 {
    font-size:30px;
    margin-bottom:30px;
}
.qa-float-block {
    float: left;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 24px;
}
.qa-float-block:hover {
    border-color: #cde1ef;
}
.question-content {
    padding:20px;
}
.question-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.q-marker {
    background: #2f865c;
    color: white;
    font-size: 18px;
    width: 32px;
    height: 32px;
    padding-top:3px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.question-text {
    font-size:20px;
    font-family: "Evolventa-Bold";
    color: #2f865c;
    line-height: 1.4;
    flex: 1;
}
.answer-btn {
    background: #ffffff;
    border: 1px solid #f6f6f6;
    padding:10px 30px;
    font-family: "Evolventa-Bold";
    border-radius: 60px;
    font-size: 0.85rem;
    color: #2f865c;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0.5rem 0 0 0;
    letter-spacing: 0.2px;
    background: #fbfeff;
}
.answer-btn:hover {
    background: #2f865c;
    color: #fff;
}
.answer-btn:active {
    transform: translateY(1px);
}
.answer-spoiler {
    margin-top: 1rem;
    background: #fafdff;
    border-radius: 20px;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #333;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.33, 1, 0.68, 1),
                opacity 0.45s ease,
                padding 0.4s ease,
                margin 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-top: 0;
    pointer-events: none;
}

.answer-spoiler.open {
    max-height: 380px;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-top: 1.2rem;
    pointer-events: auto;
    overflow-y: auto;
    background: #ffffff;
    border-left-width: 5px;
}
.answer-spoiler strong {
    color: #1d6f8f;
}
.answer-spoiler code {
    background: #eef3fc;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
}
.answer-spoiler ul {
    margin-left: 1.2rem;
    margin-top: 0.3rem;
}
@media (max-width: 700px) {
    .questions-wrapper {
        padding: 1.5rem;
    }
    .question-content {
        padding: 1.2rem;
    }
    .question-text {
        font-size: 1.15rem;
    }
    .answer-btn {
        width: 100%;
        justify-content: center;
    }
    .quiz-header h1 {
        font-size: 1.5rem;
    }
    .answer-spoiler.open {
        max-height: 480px;
    }
    .float-grid h2 {
        font-size:25px;
        margin-bottom:30px;
    }
}