@import url("tokens.css");
@import url("bootstrap-public.css");
@import url("bootstrap-icons.min.css");
@import url("bootstrap-theme.css");
@import url("public.css");

.detail-photo,
.blog-card-photo,
.related-article-thumb img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.detail-photo {
    max-height: 440px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.detail-content > .detail-photo {
    max-height: none;
    height: auto;
    object-fit: contain;
}

.blog-card-photo {
    height: 180px;
}

.related-article-thumb img {
    height: 100%;
}

.related-article-thumb {
    position: relative;
    background: #f3f4f6;
}

.related-article-thumb .blog-card-image-fallback {
    background: #f3f4f6;
    color: #6b7280;
}

.article-body p,
.detail-article .article-body p,
.article-body ul,
.article-body ol,
.detail-article .article-body ul,
.detail-article .article-body ol,
.article-body blockquote,
.detail-article .article-body blockquote {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.7;
}

.article-body h2,
.detail-article .article-body h2 {
    margin-top: 24px !important;
    margin-bottom: 8px !important;
    font-size: 24px;
    line-height: 1.3;
}

.article-body h3,
.detail-article .article-body h3 {
    margin-top: 20px !important;
    margin-bottom: 8px !important;
    font-size: 20px;
    line-height: 1.3;
}

.article-body h4,
.detail-article .article-body h4 {
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    font-size: 17.6px;
    line-height: 1.3;
}

.article-body > :first-child,
.detail-article .article-body > :first-child {
    margin-top: 0 !important;
}

.article-body li,
.detail-article .article-body li {
    margin-bottom: 0.35rem;
    line-height: 1.7;
}

.article-body li:last-child,
.detail-article .article-body li:last-child {
    margin-bottom: 0;
}

.article-body li[data-list="bullet"] {
    list-style-type: disc;
}

.article-body li[data-list="ordered"] {
    list-style-type: decimal;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-body .ql-align-center { text-align: center; }
.article-body .ql-align-right { text-align: right; }
.article-body .ql-align-justify { text-align: justify; }
