/* ============================================
   报价宝 CNET 风格改版样式
   创建时间: 2026-09-09
   设计参考: https://www.cnet.com
   ============================================ */

/* 全局基础 */
.cnet-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
}

.cnet-wrap a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.cnet-wrap a:hover {
    color: #d42223;
}

.cnet-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cnet-wrap h1, .cnet-wrap h2, .cnet-wrap h3, .cnet-wrap h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

/* 头条要闻 — Hero Section */
.cnet-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin: 24px 0 32px;
}

.cnet-hero-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.cnet-hero-main a {
    display: block;
    position: relative;
}

.cnet-hero-main img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.cnet-hero-main a:hover img {
    transform: scale(1.04);
}

.cnet-hero-main .cnet-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 28px 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.85) 100%);
    color: #fff;
}

.cnet-hero-main .cnet-cat {
    display: inline-block;
    padding: 4px 10px;
    background: #d42223;
    color: #fff;
    font-size: 12px;
    letter-spacing: .5px;
    border-radius: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.cnet-hero-main h2 {
    font-size: 30px;
    margin-bottom: 10px;
    line-height: 1.25;
}

.cnet-hero-main .cnet-meta {
    font-size: 13px;
    color: rgba(255,255,255,.85);
}

.cnet-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 18px;
}

.cnet-hero-side-item {
    display: flex;
    gap: 14px;
    align-items: stretch;
}

.cnet-hero-side-item a.thumb {
    flex: 0 0 130px;
    overflow: hidden;
    border-radius: 6px;
    display: block;
}

.cnet-hero-side-item a.thumb img {
    width: 130px;
    height: 96px;
    object-fit: cover;
    transition: transform .4s ease;
}

.cnet-hero-side-item a.thumb:hover img {
    transform: scale(1.08);
}

.cnet-hero-side-item .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cnet-hero-side-item h3 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 6px;
    font-weight: 600;
}

.cnet-hero-side-item .cnet-cat-sm {
    font-size: 11px;
    color: #d42223;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 4px;
}

.cnet-hero-side-item .cnet-meta {
    font-size: 12px;
    color: #888;
}

/* Section 标题 */
.cnet-section {
    margin: 36px 0;
}

.cnet-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 10px;
    margin-bottom: 22px;
}

.cnet-section-head h2 {
    font-size: 22px;
    letter-spacing: .5px;
}

.cnet-section-head h2 .en {
    color: #888;
    font-weight: 400;
    font-size: 14px;
    margin-left: 8px;
    letter-spacing: 0;
}

.cnet-section-head a.more {
    font-size: 13px;
    color: #666;
}

.cnet-section-head a.more:hover {
    color: #d42223;
}

/* 卡片网格 */
.cnet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cnet-card {
    background: #fff;
    overflow: hidden;
}

.cnet-card a.thumb {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16/10;
}

.cnet-card a.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.cnet-card a.thumb:hover img {
    transform: scale(1.06);
}

.cnet-card .body {
    padding: 14px 2px 4px;
}

.cnet-card .cnet-cat {
    display: inline-block;
    font-size: 11px;
    color: #d42223;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 6px;
}

.cnet-card h3 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 600;
}

.cnet-card .cnet-meta {
    font-size: 12px;
    color: #888;
}

.cnet-card .cnet-meta .author {
    color: #555;
}

/* 最新资讯 — Latest List */
.cnet-latest {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
}

.cnet-latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cnet-latest-list li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    align-items: start;
}

.cnet-latest-list li:last-child {
    border-bottom: none;
}

.cnet-latest-list .cnet-date {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding-top: 2px;
}

.cnet-latest-list .cnet-date .day {
    display: block;
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
}

.cnet-latest-list h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 6px;
    font-weight: 600;
}

.cnet-latest-list .cnet-meta {
    font-size: 12px;
    color: #888;
}

.cnet-latest-side .cnet-pick {
    background: #f7f7f7;
    padding: 18px;
    border-radius: 8px;
}

.cnet-latest-side .cnet-pick h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #d42223;
    font-weight: 700;
}

.cnet-latest-side .cnet-pick p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* 双列混合布局 */
.cnet-mix {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.cnet-mix-featured {
    grid-row: span 2;
}

.cnet-mix-featured a.thumb {
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.cnet-mix-featured a.thumb img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform .4s ease;
}

.cnet-mix-featured a.thumb:hover img {
    transform: scale(1.05);
}

.cnet-mix-featured .body {
    padding: 14px 0 0;
}

.cnet-mix-featured h3 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 8px;
}

/* 三栏话题 */
.cnet-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cnet-3col .cnet-card h3 {
    font-size: 17px;
}

/* Cover Story */
.cnet-cover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    padding: 36px 32px;
    border-radius: 8px;
    margin: 32px 0;
}

.cnet-cover .cnet-cat {
    color: #d42223;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 12px;
    display: block;
}

.cnet-cover h2 {
    color: #fff;
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.cnet-cover p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cnet-cover .cnet-meta {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

/* 内容页样式 */
.cnet-article {
    max-width: 760px;
    margin: 32px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 17px;
}

.cnet-article .crumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
}

.cnet-article .crumbs a {
    color: #666;
}

.cnet-article .crumbs a:hover {
    color: #d42223;
}

.cnet-article h1.cnet-title {
    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
    color: #1a1a1a;
    margin: 8px 0 14px;
    letter-spacing: -.5px;
}

.cnet-article .cnet-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
    font-size: 13px;
    color: #666;
}

.cnet-article .cnet-meta-bar .author {
    color: #1a1a1a;
    font-weight: 600;
}

.cnet-article .cnet-meta-bar .source {
    color: #888;
}

.cnet-article .cnet-meta-bar .update-tag {
    background: #d42223;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    letter-spacing: .3px;
}

.cnet-article .cnet-body {
    font-size: 17px;
    line-height: 1.85;
    color: #222;
}

.cnet-article .cnet-body p {
    margin: 0 0 22px;
}

.cnet-article .cnet-body img {
    max-width: 100%;
    height: auto;
    margin: 12px auto;
    border-radius: 6px;
    display: block;
}

.cnet-article .cnet-tags {
    margin: 30px 0 24px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.cnet-article .cnet-tags .label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
    font-weight: 600;
}

.cnet-article .cnet-tags a {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 6px 6px 0;
    background: #f4f4f4;
    color: #444;
    font-size: 13px;
    border-radius: 14px;
    transition: background .2s ease;
}

.cnet-article .cnet-tags a:hover {
    background: #d42223;
    color: #fff;
}

.cnet-article .cnet-related {
    margin: 30px 0;
}

.cnet-article .cnet-related h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a1a1a;
}

.cnet-article .cnet-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.cnet-article .cnet-related li {
    display: flex;
    gap: 12px;
}

.cnet-article .cnet-related li a.thumb {
    flex: 0 0 110px;
    overflow: hidden;
    border-radius: 4px;
}

.cnet-article .cnet-related li a.thumb img {
    width: 110px;
    height: 76px;
    object-fit: cover;
}

.cnet-article .cnet-related li h4 {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.cnet-article .cnet-related li .cnet-meta {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .cnet-hero {
        grid-template-columns: 1fr;
    }
    .cnet-hero-main img {
        height: 320px;
    }
    .cnet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cnet-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .cnet-latest {
        grid-template-columns: 1fr;
    }
    .cnet-mix {
        grid-template-columns: 1fr 1fr;
    }
    .cnet-mix-featured {
        grid-column: span 2;
    }
    .cnet-mix-featured a.thumb img {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .cnet-hero-side-item a.thumb {
        flex: 0 0 100px;
    }
    .cnet-hero-side-item a.thumb img {
        width: 100px;
        height: 76px;
    }
    .cnet-hero-side-item h3 {
        font-size: 14px;
    }
    .cnet-hero-main h2 {
        font-size: 22px;
    }
    .cnet-grid,
    .cnet-3col,
    .cnet-mix {
        grid-template-columns: 1fr;
    }
    .cnet-mix-featured {
        grid-column: span 1;
    }
    .cnet-mix-featured a.thumb img {
        height: 200px;
    }
    .cnet-mix-featured h3 {
        font-size: 20px;
    }
    .cnet-article h1.cnet-title {
        font-size: 26px;
    }
    .cnet-article .cnet-related ul {
        grid-template-columns: 1fr;
    }
    .cnet-cover h2 {
        font-size: 22px;
    }
}