.pdf-article-content { overflow-wrap: anywhere; word-break: break-word; }
.pdf-article-content p  { margin-bottom: 1em; color: #374151; line-height: 1.8; }
.pdf-article-content h1,
.pdf-article-content h2 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    padding-left: 0.55rem;
    border-left: 4px solid #1a3a6b;
    font-size: 1.45em;
    font-weight: 800;
    line-height: 1.45;
    color: #12325f;
}
.pdf-article-content h3 {
    margin-top: 1.35em;
    margin-bottom: 0.5em;
    padding-left: 0.9rem;
    border-left: 3px solid #93c5fd;
    font-size: 1.16em;
    font-weight: 700;
    line-height: 1.55;
    color: #1e3a5f;
}
.pdf-article-content h4 {
    margin-top: 1.05em;
    margin-bottom: 0.4em;
    padding-left: 1.15rem;
    font-size: 1.02em;
    font-weight: 650;
    line-height: 1.6;
    color: #334155;
}
.pdf-article-content img { display: block; max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1em auto; }
.pdf-article-content figure { margin: 1.4em 0; text-align: center; }
.pdf-article-content .figure_caption,
.pdf-article-content .table_caption { text-align: center; color: #64748b; font-size: 0.92em; }
.pdf-article-content table { display: block; max-width: 100%; overflow-x: auto; }
.pdf-article-content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.pdf-article-content details { margin: 1em 0; padding: 0.5em 1em; background: #f8fafc; border-radius: 0.5rem; }
.pdf-article-content details summary { cursor: pointer; font-size: 0.85em; color: #64748b; }
.pdf-article-content blockquote { margin: 1em 0; padding: 0.5em 1em; border-left: 3px solid #2563eb; background: #f8fafc; }
.pdf-article-preview {
    position: relative;
    max-height: none;
    overflow: hidden;
}
.pdf-preview-gate {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    margin-bottom: 36px;
    padding: 0;
    text-align: left;
}
.pdf-preview-gate__text {
    display: block;
    margin: 0;
    padding: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.8;
}
