/*
|--------------------------------------------------------------------------
| DDX教程页面
|--------------------------------------------------------------------------
*/

.study-page {
    width: calc(100% - 24px);
    max-width: 920px;
    margin: 20px auto;
    color: #344554;
    font-size: 15px;
    line-height: 1.85;
}

.study-header {
    padding: 28px 30px;
    color: #fff;
    background: linear-gradient(
        135deg,
        #126db6,
        #35a6df
    );
    border-radius: 10px;
}

.study-header h1 {
    margin: 0 0 7px;
    font-size: 27px;
    line-height: 1.4;
}

.study-header p {
    margin: 0;
    color: rgba(255,255,255,.92);
}

.study-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 7px;
}

.study-nav a {
    padding: 6px 13px;
    color: #1677c8;
    background: #f0f7fc;
    border-radius: 4px;
    text-decoration: none;
}

.study-nav a:hover {
    color: #fff;
    background: #1677c8;
}

.study-notice {
    margin-bottom: 14px;
    padding: 13px 16px;
    color: #76540b;
    background: #fff9df;
    border: 1px solid #f0d98b;
    border-radius: 7px;
}

.study-card {
    margin-bottom: 15px;
    padding: 23px 27px;
    background: #fff;
    border: 1px solid #e1e9ef;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(25,50,75,.05);
}

.study-card h2 {
    margin: 0 0 15px;
    padding-left: 12px;
    color: #1677c8;
    border-left: 4px solid #1677c8;
    font-size: 21px;
    line-height: 1.4;
}

.study-card p {
    margin: 8px 0;
}

.indicator-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-top: 17px;
}

.indicator-item {
    padding: 16px;
    background: #f6fafe;
    border: 1px solid #dbeaf5;
    border-radius: 6px;
}

.indicator-item h3 {
    margin: 0 0 8px;
    color: #d73535;
    font-size: 17px;
}

.indicator-item p {
    color: #526673;
    font-size: 14px;
}

.indicator-list {
    margin: 0;
}

.indicator-list > div {
    display: grid;
    grid-template-columns: 145px 1fr;
    padding: 11px 4px;
    border-bottom: 1px dashed #dce4ea;
}

.indicator-list > div:last-child {
    border-bottom: 0;
}

.indicator-list dt {
    color: #d73535;
    font-weight: 700;
}

.indicator-list dd {
    margin: 0;
}

.order-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.order-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.order-table th,
.order-table td {
    padding: 10px 12px;
    text-align: center;
    border: 1px solid #dce4ea;
}

.order-table th {
    color: #245a80;
    background: #edf7fc;
}

.order-table tbody tr:nth-child(even) {
    background: #fafcfd;
}

.study-muted {
    color: #798891;
    font-size: 13px;
}

.study-points,
.risk-card ul {
    margin: 12px 0;
    padding-left: 23px;
}

.study-points li,
.risk-card li {
    margin: 6px 0;
}

.study-figure {
    margin: 18px auto 5px;
    text-align: center;
}

.study-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: auto;
    border: 1px solid #dce4ea;
}

.study-figure figcaption {
    margin-top: 6px;
    color: #88959d;
    font-size: 13px;
}

.method-list {
    margin: 0;
    padding-left: 24px;
}

.method-list li {
    margin-bottom: 13px;
    padding-left: 5px;
}

.method-list strong {
    color: #1677c8;
}

.method-list p {
    margin: 2px 0;
}

.risk-card {
    background: #fffdf5;
    border-color: #eadca9;
}

.risk-card h2 {
    color: #b56c0b;
    border-left-color: #df9825;
}

.risk-text {
    margin-top: 14px !important;
    padding: 11px 13px;
    color: #b12424;
    background: #fff1f1;
    border-left: 4px solid #db4242;
}

/*
|--------------------------------------------------------------------------
| 手机
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 768px) {

    .study-page {
        width: 100%;
        margin: 0;
        font-size: 14px;
    }

    .study-header {
        padding: 20px 15px;
        border-radius: 0;
    }

    .study-header h1 {
        font-size: 22px;
    }

    .study-nav {
        margin: 0;
        padding: 10px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .study-nav a {
        flex: none;
        white-space: nowrap;
    }

    .study-notice {
        margin: 10px;
        padding: 11px 12px;
    }

    .study-card {
        margin-bottom: 10px;
        padding: 18px 14px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .study-card h2 {
        font-size: 18px;
    }

    .indicator-grid {
        grid-template-columns: 1fr;
    }

    .indicator-list > div {
        display: block;
    }

    .indicator-list dt {
        margin-bottom: 3px;
    }
}