﻿        :root { --bg-color: #f3f2f1; --card-bg: #ffffff; --gap: 12px; --primary-color: #007bff; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: "Segoe UI", Arial, sans-serif; background-color: var(--bg-color); color: #252423; padding-bottom: 40px; }
        
        /* ==================== 
           三行页眉样式开始 
           ==================== */
        
        /* 第一行：顶部工具栏 (Top Bar) */
        .top-bar { background-color: #f8f9fa; border-bottom: 1px solid #e9ecef; font-size: 12px; color: #666; height: 35px; line-height: 35px; }
        .top-bar .container { display: flex; justify-content: space-between; align-items: center; }
        .top-links a { margin-left: 15px; color: #666; text-decoration: none; }
        .top-links a:hover { color: var(--primary-color); }

        /* 第二行：主要头部 (Main Header: Logo + Search) */
        .main-header { background-color: #fff; padding: 20px 0; border-bottom: 1px solid #eee; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; }
        .logo { font-size: 28px; font-weight: bold; color: #333; margin-right: 40px; text-decoration: none; }
        .logo span { color: var(--primary-color); font-size: 14px; font-weight: normal; margin-left: 10px; }
        
        .search-box { display: flex; border: 2px solid var(--primary-color); border-radius: 4px; overflow: hidden; }
        .search-box input { border: none; padding: 8px 15px; outline: none; width: 250px; }
        .search-box button { background: var(--primary-color); color: white; border: none; padding: 0 20px; cursor: pointer; font-weight: bold; }
        .search-box button:hover { background: #0056b3; }

        /* 第三行：导航栏 (Navigation) */
        .nav-bar { background-color: #333; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
        .nav-menu { display: flex; list-style: none; }
        .nav-menu li { position: relative; }
        .nav-menu li a { display: block; padding: 0 25px; height: 45px; line-height: 45px; color: white; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 0.3s; }
        .nav-menu li a:hover, .nav-menu li.current a { background-color: var(--primary-color); }
        
        /* 移动端适配页眉 */
        @media (max-width: 768px) {
            .top-bar { display: none; } /* 移动端隐藏顶栏 */
            .header-inner { flex-direction: column; gap: 15px; text-align: center; }
            .logo { margin-right: 0; }
            .search-box { width: 100%; }
            .search-box input { width: 100%; }
            .nav-menu { overflow-x: auto; white-space: nowrap; justify-content: flex-start; }
            .nav-menu li a { padding: 0 15px; font-size: 13px; }
        }

        /* --- 主容器与Grid系统 --- */
        .container { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
        .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
        
        /* --- 卡片基础样式 --- */
        .card { background: var(--card-bg); border-radius: 4px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); transition: transform 0.2s; display: flex; flex-direction: column; height: 100%; }
        .card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
        .card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background-color: #ddd; }
        .card-content { padding: 12px; flex: 1; display: flex; flex-direction: column; }
        .card-title { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; color: #333; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .card-title:hover { color: #0078d4; }
        .card-meta { font-size: 11px; color: #666; line-height:1.6; }
        .card-class { color:#0078d4; }
        .card-desc { font-size:12px; color:#777; margin:8px 0; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
        
        /* --- 列宽控制类 --- */
        .col-1 { grid-column: span 1; } 
        .col-2 { grid-column: span 2; } 
        .col-3 { grid-column: span 3; } 
        .col-4 { grid-column: span 4; }

        /* --- 响应式适配 --- */
        @media (max-width: 768px) { .row { grid-template-columns: repeat(2, 1fr); } .col-1, .col-2, .col-3, .col-4 { grid-column: span 2; } }
        @media (max-width: 480px) { .row { grid-template-columns: 1fr; } [class^="col-"] { grid-column: span 1 !important; } }

        /* ========================================= */
        /* 下方2格小轮播【多实例通用，无固定ID，可无限复制】 */
        /* ========================================= */
        .hero-card { position: relative; width:100%; height:100%; }
        .hero-slider { 
            position: relative; 
            width: 100%; 
            height: 100%;
            min-height: 280px; 
            overflow: hidden; 
            background: #000; 
        }
        .hero-slide { 
            position: absolute; 
            top: 0; left: 0; 
            width: 100%; height: 100%; 
            background-size: cover; 
            background-position: center bottom; /* 图片底部对齐，杜绝底部空白 */
            display: flex; 

            align-items: flex-end; 
            text-decoration: none; 
            opacity: 0; 
            transition: opacity 0.5s ease-in-out; 
            z-index: 1; 
        }
        /* 统一底部渐变遮罩 */
        .hero-slide::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(transparent, rgba(0,0,0,0.55));
            pointer-events: none;
            z-index: 2;
        }
        .hero-slide.active { opacity: 1; z-index: 2; }
        .hero-content { 
            width: 100%; 
            position: absolute; 
            left:0;
            bottom: 40px; 
            padding: 12px 15px 16px 15px; 
            box-sizing: border-box; 
            z-index: 3; 
        }
        .hero-title { color: #FFEB3B; font-size: 18px; margin: 0; line-height: 1.4; word-break: break-all; }
        .hero-meta { font-size:12px; color:#eee; margin:6px 0 4px; }
        .hero-desc { font-size:11px; color:#ddd; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
        
        /* 小轮播圆点移入图片内部，无白底 */
        .slider-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 4;
        }
        .slider-dots { display: flex; gap: 6px; z-index: 5; }
        .dot { width: 4px; height: 4px; background-color: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: all 0.3s; display: inline-block; }
        .dot.active { background-color: #ffffff; transform: scale(1.5); }
        
        .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.8); color: #000; font-size: 24px; line-height: 40px; text-align: center; cursor: pointer; z-index: 10; border-radius: 50%; user-select: none; transition: background-color 0.3s; }
        .slider-arrow:hover { background-color: #fff; } 
        .slider-arrow-left { left: 10px; }
        .slider-arrow-right { right: 10px; }

        /* --- 特殊布局：图文混排大卡片内部样式 --- */
        .big-card-inner { display: flex; height: 100%; }
        .big-card-img-wrap { width: 50%; position: relative; }
        .big-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
        .big-card-text-wrap { width: 50%; padding: 15px; display: flex; flex-direction: column; justify-content: center; }
        .big-card-desc { font-size: 13px; color: #666; line-height: 1.6; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

        /* ========================================= */
        /* 正规大型网站页脚样式 */
        /* ========================================= */
        footer { background: #252423; color: #999; padding-top: 50px; font-size: 12px; margin-top: 60px; }
        .footer-links { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 40px; }
        .footer-col { width: 20%; min-width: 150px; margin-bottom: 20px; }
        .footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 15px; font-weight: 600; }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 8px; }
        .footer-col a { color: #999; text-decoration: none; transition: color 0.3s; }
        .footer-col a:hover { color: #fff; }
        
        .footer-bottom { background: #1a1a1a; padding: 20px 0; text-align: center; margin-top: 0; }
        .footer-bottom p { margin-bottom: 5px; line-height: 1.8; }
        .footer-bottom a { color: #999; text-decoration: none; margin: 0 5px; }
        .footer-bottom a:hover { color: #fff; }
        .icp-info { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 10px; }
        
        @media (max-width: 768px) {
            .footer-links { flex-direction: column; }
            .footer-col { width: 100%; }
        }

        /* =========【重点：第一行自适应等高核心修复】========= */
        .first-row-height-fix {
            grid-auto-rows: 1fr;
        }
        .first-row-height-fix .card-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        /* 左侧2格卡片内部垂直布局，轮播自动填满卡片高度 */
        .first-row-height-fix .card.col-2 {
            display: flex;
            flex-direction: column;
        }
        .first-row-height-fix .card.col-2 .hero-card {
            flex: 1;
        }

/* 通栏全屏轮播样式 · 统一单一层渐变，文字+圆点共享遮罩 */
.hero-card-full {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.hero-slider-full {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.hero-slide-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}
.hero-slide-full::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    pointer-events: none;
    z-index: 2;
}
.hero-slide-full.active {
    opacity: 1;
    z-index: 2;
}
.hero-content-full {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 50px;
    padding: 24px 30px 20px 30px;
    box-sizing: border-box;
    z-index: 3;
}
.hero-title-full {
    color: #fff;
    font-size: 24px;
    margin: 0 0 10px 0;
    line-height: 1.4;
    word-break: break-all;
}
.hero-meta-full {
    font-size:13px;
    color:#eee;
    margin-bottom: 8px;
}
.hero-desc-full {
    font-size:14px;
    color:#ddd;
    display: -webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.slider-controls-full {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}
.slider-dots-full {
    display: flex;
    gap: 4px;
    z-index: 5;
}
.slider-dots-full .dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}
.slider-dots-full .dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}
.hero-slider-full .slider-arrow {
    z-index: 6;
}








/* ===== 网友言论赏析 - 背景图容器 ===== */
/* 用途：用一张固定背景图作为容器背景，上层显示文字，看起来像图片但实际是HTML */
/* 比例：16:9，背景图原始尺寸 1024x575 */
/* 前缀：bjt- ，避免与其他项目样式冲突 */
/* ========== 背景图外层容器 ========== */
.bjt-quote-box {
  width: 100%;
  max-width: 1024px;
  margin: 15px auto;
  aspect-ratio: 16 / 9;
  background-image: url('/a/0.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
/* ========== 文字定位容器 ========== */
.bjt-quote-inner {
  position: absolute;
  top: 8%;
  left: 11%;
  width: 78%;
  height: 68%;
  overflow: hidden;
}
/* ========== 白色虚线边框容器【已添加红调半透明渐变背景，匹配海报】 ========== */
.bjt-quote-border {
  border: 2px dashed rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  padding-top: 20px;
  padding-right: 25px;
  padding-bottom: 20px;
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  /* 红调半透明渐变，匹配截图红绸国风海报效果，修改透明度只需要调整rgba最后一个数字 */
  background: linear-gradient(
    180deg,
    rgba(80, 10, 10, 0.32) 0%,
    rgba(60, 8, 8, 0.22) 50%,
    rgba(80, 10, 10, 0.32) 100%
  );
}
/* ========== 文字内容统一样式【海报金字风格 + 响应式字号】 ========== */
.bjt-quote-content {
  margin: 0;
  padding: 0;
  color: #ffd782;
  font-weight: bold;
  font-family: "SimSun", "Noto Serif SC", serif;
  /* 响应式字号：最小16px，最大24px，随容器宽度自动缩放，解决手机文字溢出 */
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.7;
  letter-spacing: 1px;
  word-break: break-all;
  text-shadow:
    1px 1px 2px #7c4c10,
    0 0 6px rgba(255,220,130,0.4),
    2px 2px 4px rgba(0,0,0,0.7);
  width: 100%;
  text-align: left;
}
/* ========== 正文段落 ========== */
.bjt-quote-content .bjt-quote-text {
  margin: 0 0 18px 0;
  text-indent: 2em;
  text-align: left;
}
/* ========== 落款段落：右对齐，整体向左偏移15mm + 响应式字号 ========== */
.bjt-quote-content .bjt-quote-sign {
  margin: 0;
  text-align: right;
  /* 落款响应式字号：最小14px，最大21px */
  font-size: clamp(14px, 1.9vw, 21px);
  margin-right: 15mm;
}

/* ========== 移动端额外适配（屏幕宽度小于768px时触发） ========== */
@media screen and (max-width:768px) {
  /* ↑ 媒体查询：只在"屏幕"这类设备上，且视口宽度 ≤ 768px 时才启用花括号内的规则。
     电脑浏览器视口一般远大于 768px，所以整块不会生效；手机竖屏基本都会命中。
     注意它只按"宽度"判断，和横竖屏、设备真实分辨率无关——平板横屏也可能不触发。 */

  .bjt-quote-border {
    /* ↑ 选中白色虚线边框那一层（真正包住文字、带红调渐变底的容器） */

    /* 手机端缩小内边距，腾出更多空间给文字 */
    padding-top: 8px;      /* 上内边距：电脑端是 20px，压到 12px，省出 8px 高度 */
    padding-right: 14px;    /* 右内边距：电脑端 25px → 14px，把横向空间还给文字，一行能多排字 */
    padding-bottom: 8px;   /* 下内边距：20px → 12px */
    padding-left: 14px;     /* 左内边距：25px → 14px。左右合计少 22px，是这段里对"多排字"贡献最大的一处 */
  }

  .bjt-quote-content .bjt-quote-text {
    /* ↑ 后代选择器：只选中"文字容器里的正文段落"，不会误伤落款那一段 */

    margin: 0 0 10px 0;     /* 四值顺序是 上 右 下 左：段落之间只留 10px（电脑端 18px），
                               上/左/右清零，段落首行紧贴容器，减少空行浪费。
                               注意这里没动 text-indent:2em，正文首行缩进两字仍然保留 */
  }
}



