/* Public news navigation and list semantics; leave other theme layouts alone. */
.news-breadcrumbs {
    padding: 16px 24px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 8px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.news-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-breadcrumbs li + li::before {
    content: "/";
    padding: 0 8px;
    color: #8d8f96;
}
.news-breadcrumbs a[aria-current="page"] {
    color: #202935;
}
.news-post-list .news-post-labels {
    margin-bottom: 12px;
}
.news-post-list .post-main {
    min-width: 0;
}
.news-post-list h2 {
    overflow-wrap: anywhere;
}
@media (max-width: 640px) {
    .news-breadcrumbs {
        padding: 12px 16px;
    }
}

.news-article-cover {
    margin: 20px 0;
}
.news-article-cover img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

/* The public news HTML is UA-independent; viewport CSS owns mobile presentation. */
@media (max-width: 768px) {
    .news-seo-page .article-footer.yia-be {
        justify-content: center;
    }
    .news-seo-page .widget {
        display: none;
    }
    .news-seo-page .widget.widget-on-phone {
        display: block;
    }
    .news-seo-page .widget.widget-on-phone.yia-author-intro {
        display: flex;
    }
    .news-seo-page .menu-tools .contact-info,
    .news-seo-page .site-tools .tools-icon .contact-info {
        display: none;
        visibility: visible;
    }
}

/* Intrinsic dimensions reserve the correct ratio; configured height must not stretch the logo. */
.news-seo-page .header img.logo-img {
    width: auto;
    height: auto;
}
