/* 活动培训 */
.act-page {
    --act-accent: #1a5fd0;
    --act-deep: #1147a8;
    --act-soft: #e8f1ff;
    --act-warm: #f59e0b;
    --act-line: #e2e8f0;
    padding: 24px 0 56px;
    background:
        radial-gradient(760px 280px at 12% -10%, rgba(245, 158, 11, .10), transparent 70%),
        radial-gradient(760px 280px at 88% -10%, rgba(26, 95, 208, .10), transparent 70%),
        #f5f7fb;
}
.act-list-page { padding: 0 0 56px; }
.act-page .pt-inner { width: min(100% - 32px, 1280px); }
.act-list-page .pt-inner { width: min(100% - 40px, 1280px); }
.act-hero {
    padding: 46px 0 26px;
    border-radius: 0;
    border-bottom: 1px solid rgba(26, 95, 208, .10);
    background:
        radial-gradient(760px 320px at 4% -30%, rgba(245, 158, 11, .22), transparent 68%),
        radial-gradient(820px 360px at 96% -20%, rgba(26, 95, 208, .20), transparent 70%),
        linear-gradient(115deg, #fff9ef 0%, #f2f7ff 50%, #eaf2ff 100%);
}
.act-hero-inner { position: relative; }
.act-kicker { margin: 0 0 8px; color: #c2740a; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.act-hero h1 { margin: 0 0 10px; color: #0f172a; font-size: 30px; }
.act-lead { margin: 0 0 20px; color: #64748b; font-size: 14px; }
.act-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 780px; }
.act-search input,
.act-search select {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #cbd8ea;
    border-radius: 10px;
    background: #fff;
    color: #1e293b;
    outline: none;
}
.act-search input { flex: 1; min-width: 240px; }
.act-search select { width: 140px; }
.act-search button {
    height: 44px;
    padding: 0 26px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--act-accent), var(--act-deep));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.act-stats { display: flex; gap: 32px; margin: 20px 0 0; padding: 0; list-style: none; }
.act-stats li { display: flex; align-items: baseline; gap: 6px; color: #64748b; font-size: 13px; }
.act-stats b { color: var(--act-deep); font-size: 20px; }
.act-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.act-side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--act-line);
    border-radius: 12px;
    background: #fff;
}
.act-side-nav a { padding: 9px 10px; border-radius: 8px; color: #475569; font-size: 13px; text-decoration: none; }
.act-side-nav a:hover,
.act-side-nav a.is-active { background: var(--act-soft); color: var(--act-deep); font-weight: 600; }
.act-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.act-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--act-line);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.act-card:hover { transform: translateY(-2px); border-color: #bfdbfe; box-shadow: 0 12px 28px rgba(26, 95, 208, .12); }
.act-card-cover { position: relative; height: 150px; background: linear-gradient(135deg, #dbeafe, #fef3c7); }
.act-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.act-card-cover > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--act-deep); font-size: 30px; font-weight: 700; }
.act-card-type {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .92);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}
.act-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px; }
.act-card-body h3 { margin: 0 0 8px; color: #0f172a; font-size: 17px; line-height: 1.5; }
.act-card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 10px; color: var(--act-accent); font-size: 12px; }
.act-card-meta span { display: inline-flex; align-items: center; }
.act-card-meta span + span::before { content: '·'; margin-right: 12px; color: #cbd5e1; }
.act-card-summary { flex: 1; margin: 0 0 14px; color: #64748b; font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.act-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #eef2f7; color: #94a3b8; font-size: 12px; }
.act-card-foot strong { color: var(--act-accent); }
.act-empty { padding: 60px 20px; border: 1px dashed #cbd5e1; border-radius: 14px; background: #fff; color: #64748b; text-align: center; }
.act-pager { margin-top: 20px; }
.act-crumb { margin-bottom: 16px; color: #94a3b8; font-size: 13px; }
.act-crumb a { color: #64748b; text-decoration: none; }
.act-crumb span { margin: 0 8px; }
.act-crumb strong { color: #0f172a; }
.act-detail-hero {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--act-line);
    border-radius: 16px;
    background: #fff;
}
.act-detail-cover { height: 220px; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #dbeafe, #fef3c7); }
.act-detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.act-detail-cover span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--act-deep); font-size: 42px; font-weight: 700; }
.act-detail-main { min-width: 0; }
.act-detail-badges { display: flex; gap: 10px; align-items: center; color: #94a3b8; font-size: 12px; }
.act-detail-badges .act-card-type { position: static; }
.act-detail-main h1 { margin: 12px 0 14px; color: #0f172a; font-size: 28px; line-height: 1.4; }
.act-detail-meta { margin: 0 0 14px; padding: 0; list-style: none; }
.act-detail-meta li { margin-bottom: 6px; color: #475569; font-size: 13px; }
.act-detail-meta strong { display: inline-block; min-width: 46px; margin-right: 10px; color: #94a3b8; font-weight: 500; }
.act-detail-summary { margin: 0 0 16px; color: #64748b; font-size: 14px; line-height: 1.8; }
.act-back { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid #bfdbfe; border-radius: 9px; color: var(--act-accent); font-size: 13px; text-decoration: none; }
.act-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; margin-top: 20px; }
.act-detail-content,
.act-side-card { padding: 24px; border: 1px solid var(--act-line); border-radius: 14px; background: #fff; }
.act-rich { color: #334155; font-size: 14px; line-height: 1.9; word-break: break-word; }
.act-rich h1, .act-rich h2, .act-rich h3 { margin: 24px 0 12px; color: #0f172a; line-height: 1.5; }
.act-rich h2 { font-size: 20px; }
.act-rich h3 { font-size: 17px; }
.act-rich p { margin: 0 0 14px; }
.act-rich img { max-width: 100%; height: auto; border-radius: 10px; }
.act-rich ul, .act-rich ol { padding-left: 22px; }
.act-side-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.act-side-card h3 { margin: 0; color: #0f172a; font-size: 16px; }
.act-side-card-head a { color: var(--act-accent); font-size: 12px; text-decoration: none; }
.act-related-list { margin: 0; padding: 0; list-style: none; }
.act-related-list li + li { border-top: 1px solid #eef2f7; }
.act-related-list a { display: flex; gap: 10px; padding: 11px 0; color: #334155; text-decoration: none; }
.act-related-list img,
.act-related-list span { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 9px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--act-soft); color: var(--act-deep); font-size: 12px; font-weight: 700; }
.act-related-list em { min-width: 0; display: flex; flex-direction: column; gap: 4px; font-style: normal; }
.act-related-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.act-related-list small { color: #94a3b8; font-size: 11px; }
@media (max-width: 1000px) {
    .act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .act-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .act-layout { grid-template-columns: 1fr; }
    .act-side-nav { flex-direction: row; flex-wrap: wrap; }
    .act-hero { padding: 30px 0 20px; }
    .act-detail-hero { grid-template-columns: 1fr; }
    .act-detail-cover { height: 180px; }
}
@media (max-width: 560px) {
    .act-page .pt-inner { width: min(100% - 20px, 1280px); }
    .act-list-page .pt-inner { width: min(100% - 26px, 1280px); }
    .act-grid { grid-template-columns: 1fr; }
    .act-search input { min-width: 100%; }
}
