.tp-article {
    font-family: var(--font-family);
}

.tp-article :is(.article-title, .article-prose, .blog-detail-breadcrumb, .popular-item-content) {
    overflow-wrap: anywhere;
}

.tp-article .article-title {
    font-family: inherit;
    font-weight: 800;
    text-wrap: pretty;
}

.tp-article .article-date-meta {
    flex-wrap: wrap;
    align-items: center;
}

.tp-article .share-btn {
    border: 0;
    flex-shrink: 0;
}

.tp-article .share-btn:focus-visible {
    outline: 2px solid #0e82fd;
    outline-offset: 3px;
}

.tp-article .tp-article-widgets {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.tp-article .popular-item-content h3 {
    font-size: .9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 4px;
}

.tp-article .sidebar-popular-item:hover h3 {
    color: #0e82fd;
}

.tp-article .article-prose {
    font-family: inherit;
}

.tp-article .article-prose :is(p, li, span) {
    font-family: inherit !important;
}

.tp-article .article-prose :is(img, video, iframe) {
    max-width: 100%;
    height: auto;
}

.tp-article .article-prose :is(figure, pre, .table-wrapper) {
    max-width: 100%;
    overflow-x: auto;
}

.tp-article .article-prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.tp-article .article-prose td,
.tp-article .article-prose th {
    padding: 10px;
    border: 1px solid #e2e8f0;
}

.tp-article .article-prose blockquote {
    border-left: 4px solid #0e82fd;
    background: #f8fafc;
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

@media (max-width: 991px) {
    .tp-article .article-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .tp-article .article-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .tp-article .article-prose {
        font-size: 1rem;
    }

    .tp-article .article-prose h2 {
        font-size: 1.4rem;
    }

    .tp-article .article-prose h3 {
        font-size: 1.2rem;
    }

    .tp-article .sidebar-widget {
        padding: 20px;
    }
}
