/* Shared responsive CJK typography; no manual CMS markup is required. */
.page,
.site-header,
.site-nav-mobile {
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
}

zm-text {
    display: inline;
    min-width: 0;
    max-width: 100%;
    word-break: normal;
    line-break: strict;
    overflow-wrap: anywhere;
}

zm-word {
    display: inline-block;
    vertical-align: baseline;
    width: max-content;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    line-break: strict;
    overflow-wrap: anywhere;
}

/* PPT p6: keep the model on its own line; never clip a longer description. */
.sec-solutions .news .news-title {
    display: block;
    line-clamp: none;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
}

.sec-solutions .news .news-title .model {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* 1009 p1-2: retain the current font and let these models share the last line. */
.sec-solutions .news .news-title.has-inline-model .model {
    display: inline-block;
    white-space: nowrap;
}

.sec-solutions .news .news-title.has-inline-model .title-tail {
    display: inline-block;
    max-width: 100%;
}

@media (min-width: 829px) {
    .sec-solutions .news .news-title.has-inline-model .title-tail {
        white-space: nowrap;
    }
}

/* PPT p6: A is one size step smaller; ?review-font=2 previews two steps. */
.sec-solutions .news .news-title {
    font-size: calc(19 * var(--sol-f));
}
html[data-review-font="2"] .sec-solutions .news .news-title {
    font-size: calc(18 * var(--sol-f));
}
#formula-intro {
    scroll-margin-top: calc(var(--header-height) + 80px);
}

/* 1009 p3: the approved break between 热界面 and 材料 must remain visible. */
.sec-news .news-card .news-title.has-tim-break {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.has-tim-break .tim-title-term {
    display: inline-block;
    white-space: nowrap;
}
