.blog-text {
    color: #2f3a4a;
    font-size: 16px;
    line-height: 1.9;
}

.blog-text h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 1.8rem 0 0.9rem;
}

.blog-text h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 1.6rem 0 0.8rem;
}

.blog-text h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 1.4rem 0 0.75rem;
}

.blog-text h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 1.25rem 0 0.65rem;
}

.blog-text h5 {
    font-size: 1.05rem;
    line-height: 1.45;
    margin: 1.1rem 0 0.5rem;
}

.blog-text h6 {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 1rem 0 0.45rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-text p {
    margin-bottom: 1rem;
}

.blog-text ul,
.blog-text ol {
    margin-bottom: 1rem;
    padding-inline-start: 1.5rem;
}

.blog-text blockquote {
    margin: 1.4rem 0;
    padding: 0.9rem 1rem;
    border-inline-start: 4px solid #d7dde6;
    background: #f8fafc;
    color: #2f3a4a !important;
    border-radius: 0.75rem;
}

.blog-text blockquote p {
    color: #2f3a4a !important;
}

.blog-text img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.blog-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.blog-text th,
.blog-text td {
    border: 1px solid #e5e7eb;
    padding: 0.65rem 0.8rem;
}

.blog-text a {
    text-underline-offset: 0.18em;
}

.post-meta-chips {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reading-time-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.toc-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    margin-bottom: 28px;
}

.toc-card--desktop {
    position: relative;
}

.sidebar-wrapper {
    position: relative;
}

.sidebar-toc-track {
    position: relative;
    width: 100%;
}

.sidebar-toc-sticky {
    position: sticky;
    top: 110px;
    z-index: 2;
    width: 100%;
}

.toc-card-header {
    padding: 18px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.toc-card-header h4 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.toc-toggle {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    padding: 0;
    color: #2f3a4a;
    font-weight: 600;
    margin-bottom: 12px;
}

.toc-toggle i {
    transition: transform 0.2s ease;
}

.toc-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0 20px 20px;
}

.toc-list > li + li {
    margin-top: 10px;
}

.toc-list--nested {
    padding: 10px 0 0 16px;
}

.toc-link {
    display: inline-flex;
    color: #526174;
    text-decoration: none;
    line-height: 1.7;
    transition: color 0.2s ease;
}

.toc-link.is-active,
.toc-link:hover {
    color: #00bcd4;
}

.faq-block {
    margin: 2rem 0;
    padding-top: 1rem;
}

.faq-block-title h3 {
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .toc-card--mobile {
        margin-bottom: 24px;
    }

    .toc-card--desktop {
        position: relative;
    }

    .sidebar-toc-track {
        display: block;
        height: auto !important;
    }

    .sidebar-toc-sticky {
        position: static;
    }
}
