/* Blog 详情（PC + 移动端 posts/content 等）；尺寸单位：rem，基准 1rem = 16px */
.template-blog-detail .blog-detail-section.pt-100 {
    padding-top: calc(var(--site-header-offset, 3.75rem) + 2.5rem) !important;
}

.template-blog-detail .blog-detail-section {
    background: #fff;
}

.template-blog-detail .page-inner {
    padding-bottom: 0;
}

.blog-detail-hero {
    margin-bottom: 3.75rem;
}

.blog-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.75rem;
}

.blog-detail-breadcrumb__link {
    font-family: Ubuntu, "DIN OT", system-ui, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    color: #354052;
    text-decoration: none;
}

.blog-detail-breadcrumb__link:hover,
.blog-detail-breadcrumb__link:focus {
    color: #354052;
    text-decoration: underline;
}

.blog-detail-breadcrumb__sep {
    display: inline-block;
    width: 0.0625rem;
    height: 1.25rem;
    background: #354052;
    opacity: 0.35;
    flex-shrink: 0;
}

.blog-detail-breadcrumb__current {
    font-family: Ubuntu, "DIN OT", system-ui, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    color: #625df7;
    opacity: 0.9;
}

.blog-detail-hero__title {
    margin: 0 0 1.25rem;
    max-width: 100%;
    font-family: Ubuntu, "DIN OT", system-ui, sans-serif;
    font-weight: 700;
    font-size: 3.375rem;
    line-height: 4rem;
    color: #354052;
}

.blog-detail-hero__date {
    display: block;
    font-family: Ubuntu, "DIN OT", system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2.25rem;
    color: #445268;
}

/* 单栏正文（Figma 约 1.5rem / 2.25rem 行高） */
.blog-detail-body {
    max-width: 100%;
}

.blog-detail-body,
.blog-detail-body #article_content {
    color: #040d21;
}

.blog-detail-body #article_content {
    font-family: Ubuntu, "DIN OT", system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.25rem;
    color: #354052;
}

/* reset.css 去掉的列表符号：正文内恢复 */
.blog-detail-body #article_content ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 1.5em;
    margin: 0 0 1em;
}

.blog-detail-body #article_content ol {
    list-style-type: decimal;
    list-style-position: outside;
    padding-left: 1.5em;
    margin: 0 0 1em;
}

.blog-detail-body #article_content ul ul {
    list-style-type: circle;
    margin-top: 0.35em;
    margin-bottom: 0.35em;
}

.blog-detail-body #article_content li {
    list-style: inherit;
    display: list-item;
    margin: 0.35em 0;
}

.blog-detail-body #article_content ul,
.blog-detail-body #article_content ul:hover,
.blog-detail-body #article_content ul li:hover,
.blog-detail-body #article_content h1 a:hover {
    color: #354052 !important;
}

.blog-detail-body #article_content .desc {
    color: #040d21 !important;
}

.blog-detail-body #article_content .desc:hover {
    color: #040d21 !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    display: initial;
}

.blog-detail-body #article_content ul,
.blog-detail-body #article_content ol {
    padding-left: 2.5rem;
}

.blog-detail-body #article_content a:focus,
.blog-detail-body #article_content a:hover {
    color: initial;
}

/* Figma 14987:3759：详情底部 Contact 横幅（contactUs-banner.png） */
.blog-detail-contact-cta {
    margin: 70px 0;
}

.blog-detail-contact-cta__banner {
    margin-left: auto;
    margin-right: auto;
    max-width: 96.4375rem;
    width: 100%;
    box-sizing: border-box;
    min-height: 20.6875rem;
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #1a1433;
    background-image: url("../images/hyperbid/blog/contactUs-banner.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.blog-detail-contact-cta__heading {
    margin: 0;
    max-width: 100%;
    text-align: center;
    color: #ffffff;
    font-family: Ubuntu, "DIN OT", system-ui, sans-serif;
    font-size: 3.375rem;
    font-style: normal;
    font-weight: 700;
    line-height: 4.125rem;
}

.blog-detail-contact-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 13.3125rem;
    min-height: 3.6875rem;
    padding: 1.1875rem 1.5rem;
    border-radius: 0.5rem;
    background: #625df7;
    border: none;
    font-family: Ubuntu, "DIN OT", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.25rem !important;
    line-height: 1.25rem !important;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    /* 避免继承全局 a 的 transition 导致 hover 时字号/布局被带动 */
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.blog-detail-contact-cta__btn:hover,
.blog-detail-contact-cta__btn:focus {
    color: #fff;
    opacity: 0.95;
    font-size: 1.25rem !important;
    line-height: 1.25rem !important;
    transform: none;
}

@media only screen and (max-width: 48rem) {
    .blog-detail-hero__title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.2;
    }

    .blog-detail-hero__date {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .blog-detail-breadcrumb {
        margin-bottom: 2.5rem;
    }

    .blog-detail-contact-cta__heading {
        font-size: clamp(1.75rem, 5vw, 2.625rem);
        line-height: 1.2;
    }

    .blog-detail-contact-cta__banner {
        gap: 1.5rem;
        padding: 2rem 1.25rem;
    }
}
@media (min-width: 62rem) {
    .template-blog-detail .posts-detail-container {
        padding-left: 12.5rem !important;
        padding-right: 12.5rem !important;
    }
}
