﻿/* 技术问答列表业务样式 */

.question-page {
    background: #f7f7f7;
}

.question-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: #d71920;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .18em;
}

.question-shell {
    width: calc(100% - 48px);
    max-width: 1200px;
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
}

.question-category-row {
    align-items: start;
}

.question-category-options {
    padding-top: 0;
}

.question-results-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: -6px 0 24px;
    padding: 16px 18px;
    border: 1px solid #f0d2d4;
    border-radius: 4px;
    background: #fff7f7;
}

.question-results-actions p {
    margin: 0;
    color: #555c65;
}

.question-result-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eceef1;
}

.question-result-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 25px 0;
    border-bottom: 1px solid #eceef1;
}

.question-result-card__mark {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #d71920;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(215, 25, 32, .18);
}

.question-result-card__body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.45;
}

.question-result-card__body h3 a {
    color: #202124;
}

.question-result-card__body h3 a:hover {
    color: #d71920;
}

.question-result-card__body p {
    margin: 0 0 14px;
    color: #626a74;
    font-size: 14px;
    line-height: 1.8;
}

.question-result-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #8a9098;
    font-size: 12px;
}

.question-result-card__meta a {
    margin-left: auto;
    color: #d71920;
    font-weight: 700;
}

.question-empty {
    padding: 70px 20px;
    text-align: center;
}

.question-empty h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.question-empty p {
    margin: 0 0 20px;
    color: #777d86;
}

.question-empty .button + .button {
    margin-left: 10px;
}

@media (max-width: 760px) {
    .question-results-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .question-result-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .question-result-card__mark {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .question-result-card__meta a {
        width: 100%;
        margin-left: 0;
    }
}
