/* 案例内容 Markdown 样式 - 暗色期刊文献风格 */
.case-content {
    color: rgba(255, 255, 255, 0.78);
    text-align: justify;
}

.case-content h1,
.case-content h2,
.case-content h3,
.case-content h4 {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.case-content h1 { display: none; }
.case-content h2 {
    font-size: 1.35rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.02em;
}
.case-content h3 { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); }
.case-content h4 { font-size: 1rem; color: rgba(255, 255, 255, 0.8); }

.case-content p {
    margin-bottom: 1.1rem;
    line-height: 1.95;
    font-weight: 300;
    text-indent: 2em;
}

.case-content ul,
.case-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2.5rem;
}

.case-content ul { list-style-type: disc; }
.case-content ol { list-style-type: decimal; }

.case-content li {
    margin-bottom: 0.6rem;
    line-height: 1.85;
    font-weight: 300;
}

.case-content strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

.case-content a {
    color: rgba(125, 211, 252, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(125, 211, 252, 0.25);
    transition: all 0.3s;
}

.case-content a:hover {
    color: rgba(125, 211, 252, 1);
    border-color: rgba(125, 211, 252, 0.6);
}

.case-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.case-content th,
.case-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-content th {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.case-content td {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.case-content code {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(125, 211, 252, 0.9);
    padding: 0.125em 0.375em;
    border-radius: 0.25em;
    font-size: 0.875em;
}

.case-content pre {
    background: rgba(0, 0, 0, 0.35);
    color: #f8fafc;
    padding: 1em;
    border-radius: 0.5em;
    overflow-x: auto;
    margin-bottom: 1em;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.case-content blockquote {
    border-left: 3px solid rgba(255, 255, 255, 0.15);
    padding-left: 1.5rem;
    margin: 1.5rem 0 1.5rem 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}
