:root {
    --primary: #b92e22;
    --primary-dark: #8f2119;
    --bg: #f5f7fb;
    --text: #101828;
    --muted: #667085;
    --border: #dce1ea;
    --border-strong: #c3c6d5
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", Arial, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

h1,
h2,
h3 {
    margin: 5px
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden
}

.news-compact-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .08)
}

.news-compact-link {
    min-height: 32px;
    padding: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
    border-bottom: 1px solid #edf0f6;
    cursor: pointer
}

.news-compact-link:last-child {
    border-bottom: 0
}

.news-compact-link:hover {
    background: #f8fbff
}

.news-compact-title {
    flex: 1;
    min-width: 0;
    color: #101828;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.news-compact-time {
    flex: 0 0 auto;
    color: #667085;
    font-size: 14px;
    line-height: 1.35
}

.home-news-list {
    background: #fff;
    border: 1px solid #c3c6d5;
    border-radius: 10px;
    overflow: hidden
}

.home-news-link {
    min-height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #edf0f6
}

.home-news-link:last-child {
    border-bottom: 0
}

.home-news-title {
    flex: 1;
    min-width: 0;
    color: #101828;
    font-size: 14px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.home-news-time {
    flex: 0 0 auto;
    color: #667085;
    font-size: 14px
}

.news-recommend-section {
    margin-top: 4px;
    padding: 0 13px;
    border-top: 0;
    background: #fff
}

.news-recommend-title {
    margin: 0 0 8px;
    color: #111;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700
}

.news-recommend-list {
    display: block
}

.news-recommend-item {
    min-height: 90px;
    padding: 0 0 12px;
    margin-bottom: 4px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0
}

.news-recommend-main {
    min-width: 0;
    flex: 1
}

.news-recommend-main strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #101828;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400
}

.news-recommend-main span {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.news-recommend-item img,
.news-recommend-thumb {
    flex: 0 0 112px;
    width: 112px;
    height: 70px;
    object-fit: cover;
    display: block;
    background: #e9edf3
}

.news-recommend-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b92e22;
    font-size: 14px;
    line-height: 1;
    font-weight: 400
}

.content-rich-text {
    color: #344054;
    font-size: 16px;
    line-height: 1.8
}

.content-rich-text p {
    margin: 0 0 1.5rem
}

.content-rich-text h2 {
    margin: 5px;
    color: #101828;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 900
}

.content-rich-text img,
.content-rich-text iframe,
.content-rich-text video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
    border-radius: 8px
}

@media (max-width:767px) {

    .shadow-lg,
    .shadow-sm,
    .shadow-md {
        box-shadow: 0 1px 3px rgba(15, 23, 42, .08) !important
    }

    .rounded-2xl {
        border-radius: 12px !important
    }

    .content-rich-text {
        font-size: 14px;
        line-height: 1.45
    }

    .content-rich-text p {
        margin-bottom: 4px;
        font-size: 20px
    }

    .content-rich-text img,
    .content-rich-text iframe,
    .content-rich-text video {
        margin: 10px auto
    }

    .news-compact-link {
        min-height: 32px;
        padding: 2px;
        gap: 2px
    }

    .news-compact-title,
    .news-compact-time {
        font-size: 14px
    }

    .home-news-link {
        min-height: 32px;
        padding: 0 10px;
        gap: 8px
    }

    .home-news-title,
    .home-news-time {
        font-size: 14px
    }
}
