/* ============================================================
   点聚资讯 - 红金渐变封面（通用组件）
   用于：新闻列表页封面、首页/关于点聚 资讯推荐大图
   结构：<div class="news-cover"><div class="news-cover-inner">
             <span class="news-cover-text">标题</span></div></div>
   ============================================================ */

.news-cover {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 220px 80px at 14% 108%, rgba(255, 226, 150, 0.85) 0%, rgba(255, 226, 150, 0) 68%),
        radial-gradient(ellipse 250px 90px at 86% 106%, rgba(255, 198, 92, 0.9) 0%, rgba(255, 198, 92, 0) 70%),
        radial-gradient(ellipse 200px 70px at 60% 118%, rgba(255, 240, 200, 0.7) 0%, rgba(255, 240, 200, 0) 72%),
        linear-gradient(135deg, #A8121B 0%, #D8271C 32%, #F0651C 62%, #F79C1E 84%, #F8C246 100%);
}

/* 底部弧形金色飘带 */
.news-cover::before {
    content: "";
    position: absolute;
    left: -18%;
    bottom: -58px;
    width: 136%;
    height: 96px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(180deg, rgba(255, 236, 176, 0.85) 0%, rgba(255, 214, 120, 0.35) 55%, rgba(255, 214, 120, 0) 100%);
    transform: rotate(-3deg);
    pointer-events: none;
}

.news-cover::after {
    content: "";
    position: absolute;
    left: -22%;
    bottom: -74px;
    width: 144%;
    height: 104px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border-top: 2px solid rgba(255, 245, 214, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 236, 176, 0.28) 100%);
    transform: rotate(4deg);
    pointer-events: none;
}

.news-cover-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 22px;
}

/* 两侧装饰横线：贴左右边缘，垂直居中 */
.news-cover-inner::before,
.news-cover-inner::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 1px;
    transform: translateY(-50%);
    pointer-events: none;
}

.news-cover-inner::before {
    left: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 245, 214, 0.95) 100%);
}

.news-cover-inner::after {
    right: 4px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 245, 214, 0.95) 100%);
}

.news-cover-text {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    font-family: "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-align: center;
    text-shadow: 0 1px 4px rgba(120, 20, 10, 0.45);
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 大图场景（首页/关于点聚 资讯推荐）：标题更大、允许更多行 */
.news-cover--large .news-cover-inner {
    padding: 0 46px;
}

.news-cover--large .news-cover-text {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 2px;
    -webkit-line-clamp: 4;
}

.news-cover--large .news-cover-inner::before,
.news-cover--large .news-cover-inner::after {
    width: 30px;
}
