/* =========================================================
   cert-detail.css —— 证书详情页样式
   建议保存为 ../css/cert-detail.css
   ========================================================= */

/* ---------- 面包屑 ---------- */
.breadcrumb {
    padding: 14px 0;
    background: #fff;
    border-bottom: 1px solid #eef3f9;
    font-size: 13px;
    color: #8a9db2;
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.breadcrumb i { color: #a9bccf; }
.breadcrumb a {
    color: #66788c;
    text-decoration: none;
    transition: color .25s;
}
.breadcrumb a:hover { color: #1668b3; }
.breadcrumb .sep { color: #c3d2e0; }
.breadcrumb .current { color: #10365e; font-weight: 600; }

/* ---------- 详情主体 ---------- */
.cert-detail {
    padding: 44px 0 56px;
    background: linear-gradient(180deg, #f7fafd 0%, #ffffff 60%);
}
.cert-detail-box {
    max-width: 880px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eaf0f7;
    border-radius: 12px;
    box-shadow: 0 4px 22px rgba(16, 54, 94, .08);
}
.cert-detail-pic {
    padding: 28px;
    text-align: center;
    background: #f4f7fb;
    border-bottom: 1px solid #eaf0f7;
}
.cert-detail-pic img {
    display: inline-block;
    max-width: 100%;
    max-height: 68vh;
    border: 1px solid #eef2f7;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(16, 54, 94, .06);
}
.cert-detail-info { padding: 26px 34px 34px; }
.cert-detail-info h1 {
    position: relative;
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.5;
    color: #10365e;
}
.cert-detail-info h1::after {
    content: '';
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 14px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1668b3, #4fa8e8);
}
.cert-detail-info p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.95;
    color: #66788c;
}
.btn-back {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 22px;
    background: #1668b3;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background .25s, box-shadow .25s;
}
.btn-back:hover {
    background: #0d4f8b;
    box-shadow: 0 8px 20px rgba(22, 104, 179, .28);
}
.btn-back i { margin-right: 6px; }

/* ---------- 上一张 / 下一张 ---------- */
.cert-nav {
    display: flex;
    gap: 12px;
    max-width: 880px;
    margin: 20px auto 0;
}
.cert-nav a {
    flex: 1;
    padding: 13px 14px;
    text-align: center;
    font-size: 14px;
    color: #173a5e;
    text-decoration: none;
    background: #fff;
    border: 1px solid #eaf0f7;
    border-radius: 8px;
    transition: border-color .25s, color .25s, background .25s;
}
.cert-nav a:hover {
    border-color: #1668b3;
    color: #1668b3;
    background: #f6fbff;
}
.cert-nav a.all { flex: 0 0 120px; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
    .cert-detail { padding: 22px 0 34px; }
    .cert-detail-pic { padding: 14px; }
    .cert-detail-info { padding: 18px 16px 22px; }
    .cert-detail-info h1 { font-size: 18px; }
    .cert-detail-info p { font-size: 14px; }
    .cert-nav a { padding: 11px 8px; font-size: 13px; }
    .cert-nav a.all { flex: 0 0 84px; }
}