/* Profile Blog Styles - responsive, clean, and readable */
:root {
    --pb-bg: #ffffff;
    --pb-card: #ffffff;
    --pb-text: #0f172a;
    --pb-muted: #475569;
    --pb-border: #e5e7eb;
    --pb-primary: #23939E;
}
.background {
    justify-content: center;
    padding: 80px 15px;
    font-family: "Lexend", sans-serif;
}

@media screen and (max-width: 768px) {
    .background {
        justify-content: center;
        padding: 10px 20px;
    }
}ss
html, body { height: 100%; }
/* Force light background in case any global dark styles leak in */
html, body { margin: 0; font-family: "Lexend", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--pb-bg) !important; color: var(--pb-text) !important; }

.pb-container { max-width: 1100px; margin: 0 auto; padding: 100px 16px 40px; }

/* Title */
.pb-hero { text-align: center; margin-bottom: 18px; }
.pb-title { font-size: clamp(28px, 4vw, 34px); font-weight: 600; line-height: 1.2; margin: 0; }

/* Hero image */
.pb-hero-image-wrap { width: 90%;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--pb-border);
    box-shadow: 0 10px 25px rgba(2, 6, 23, 0.06);
    margin-bottom: 28px;
    margin: 0 auto 28px auto; }
.pb-hero-image { width: 100%; display: block; height: auto; }

/* Layout */
.pb-content-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }

/* TOC */
.pb-toc { position: sticky; top: 100px; height: max-content; }
.pb-toc-card { background: var(--pb-card); border: 1px solid var(--pb-border); border-radius: 14px; padding: 16px; box-shadow: 0 6px 16px rgba(2,6,23,0.05); }
.pb-toc-header { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; color: #23939e; text-transform: uppercase; font-size: 12px; letter-spacing: .4px; }
.pb-toc-list { display: flex; flex-direction: column; gap: 6px; }
.pb-toc-link { display: block; color: var(--pb-text); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; transition: .2s ease; }
.pb-toc-link:hover { background: #f1f5f9; border-color: var(--pb-border); }
.pb-toc-link.active { background: rgba(35, 147, 158, 0.1); border-color: rgba(35, 147, 158, 0.3); color: #0f172a; }
.pb-toc-link--lvl2 { padding-left: 22px; font-size: 13px; color: var(--pb-muted); }

/* Article */
.pb-article { background: var(--pb-card); border: 1px solid var(--pb-border); border-radius: 16px; padding: 26px 22px; box-shadow: 0 10px 30px rgba(2,6,23,0.06); }
.pb-article p { color: var(--pb-text); line-height: 1.8; font-size: 16px; margin: 0 0 16px; }
.pb-intro { font-size: 17px; color: #334155; }
.pb-article h2 { font-size: 22px; margin: 26px 0 12px; color: #0f172a; border-bottom: 1px solid var(--pb-border); padding-bottom: 8px; }
.pb-article h3 { font-size: 18px; margin: 18px 0 8px; color: #111827; }
.pb-article ul { margin: 0 0 16px 18px; color: var(--pb-text); }
.pb-article li { margin: 6px 0; margin-left: 18px; }
.pb-article a { color: var(--pb-primary); text-decoration: none; }
.pb-article a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
    .pb-content-layout { grid-template-columns: 1fr; }
    .pb-toc { position: static; order: -1; }
}

@media (max-width: 640px) {
    .pb-container { padding: 10px 12px 32px; }
    .pb-article { padding: 18px 14px; }
}
.pb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

