/* ===================================================
   Page Content — Typography for WYSIWYG Content
   =================================================== */

.page-body-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.page-content-wrap {
    max-width: 820px;
    margin: 0 auto;
}

/* ── Headings ── */
.page-content-wrap h1 {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 36px 0 16px;
    line-height: 1.3;
}
.page-content-wrap h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 32px 0 14px;
    line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f3ff;
}
.page-content-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 12px;
    line-height: 1.4;
}
.page-content-wrap h4,
.page-content-wrap h5,
.page-content-wrap h6 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 24px 0 10px;
}

/* ── Body Text ── */
.page-content-wrap p {
    font-size: 16px;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 20px;
}
.page-content-wrap p:last-child {
    margin-bottom: 0;
}

/* ── Lists ── */
.page-content-wrap ul,
.page-content-wrap ol {
    padding-left: 24px;
    margin-bottom: 20px;
    color: #4a5568;
    line-height: 1.8;
}
.page-content-wrap li {
    margin-bottom: 8px;
    font-size: 16px;
}
.page-content-wrap li::marker {
    color: #667eea;
}

/* ── Links ── */
.page-content-wrap a {
    color: #667eea;
    text-decoration: underline;
    transition: color .2s ease;
}
.page-content-wrap a:hover {
    color: #764ba2;
}

/* ── Blockquotes ── */
.page-content-wrap blockquote {
    background: #f8fdf9;
    border-left: 4px solid #44ce6f;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    font-style: italic;
}

/* ── Tables ── */
.page-content-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}
.page-content-wrap table th,
.page-content-wrap table td {
    border: 1px solid #e8ecf4;
    padding: 12px 16px;
    text-align: left;
    color: #4a5568;
}
.page-content-wrap table th {
    background: #f0f3ff;
    font-weight: 600;
    color: #1a1a2e;
}
.page-content-wrap table tr:nth-child(even) {
    background: #fafbfe;
}

/* ── Images ── */
.page-content-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

/* ── Strong/Bold ── */
.page-content-wrap strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* ── Code ── */
.page-content-wrap pre,
.page-content-wrap code {
    background: #f7f8fc;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}
.page-content-wrap pre {
    padding: 16px 20px;
    margin: 20px 0;
    overflow-x: auto;
    border: 1px solid #e8ecf4;
}
.page-content-wrap code {
    padding: 2px 6px;
}

/* ── Horizontal Rules ── */
.page-content-wrap hr {
    border: none;
    height: 2px;
    background: #f0f3ff;
    margin: 32px 0;
}

/* ── Last Updated ── */
.page-last-updated {
    text-align: center;
    font-size: 13px;
    color: #a0aec0;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f0f3ff;
}
.page-last-updated i {
    margin-right: 4px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .page-content-wrap {
        padding: 0 4px;
    }
    .page-content-wrap h1 { font-size: 24px; }
    .page-content-wrap h2 { font-size: 21px; }
    .page-content-wrap h3 { font-size: 18px; }
    .page-content-wrap p,
    .page-content-wrap li { font-size: 15px; }
    .page-content-wrap table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
    }
}
