﻿       *{margin:0;padding:0;box-sizing:border-box;font-family:"微软雅黑", sans-serif}
        body{background:#f5f5f5;font-size:14px;padding-bottom:60px}

        .container {
            max-width: 750px; 
            margin: 0 auto;   
            background: #fff;
            min-height: 100vh;
            box-shadow: 0 0 10px rgba(0,0,0,0.1); 
        }
        a {
            text-decoration: none !important;
            color: inherit;
        }
        @media screen and (max-width: 768px) {
            .container {
                max-width: 100%;
                box-shadow: none;
                margin: 0;
            }
        }

        /* 头部导航 */
        .header {
            background-color: #e63946;
            color: white;
            padding: 15px 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
    .her {
      text-align: center;
      margin-bottom: 24px;
    }
    .her-title {
      font-size: 20px;
      font-weight: bold;
      position: relative;
      display: inline-block;
    }
    .her-title::after {
      content: "";
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 2px;
      background-color: #e74c3c; /* 红色下划线 */
    }

    .contact-info {
      font-size: 14px;
      color: #666;
      margin-top: 8px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* 图片网格容器 */
    .grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
	   margin: 10px 10px;
    }

    /* 单个卡片 */
    .card {
      background: #f9f9f9;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    /* 图片区域 —— 关键：保持比例、不挤压 */
    .image-container {
      /* 固定宽高比：例如 4:3 或 1:1；这里用 1:1 方形示例，可按需调整 */
      aspect-ratio: 1 / 1; /* 推荐：现代浏览器支持良好；若需兼容旧版，可用 padding-top 百分比 */
      background-color: #eee;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    /* 图片本身：确保不拉伸 */
    .image-placeholder {
      width: 100%;
      height: 100%;
      object-fit: contain; /* 核心！保持比例，空白留白 */
      display: block;
    }

    /* 文字区域 */
    .caption {
      padding: 4px;
      font-size: 14px;
      line-height: 1.5;
      color: #555;
      text-align: center;
    }

    /* 兼容旧浏览器的 aspect-ratio fallback（可选） */
    @supports not (aspect-ratio: 1 / 1) {
      .image-container {
        height: 0;
        padding-top: 100%; /* 1:1 比例 */
      }
      .image-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
    }
	
	
        .back{font-size:16px;cursor:pointer}
        .title{flex:1;text-align:center;font-size:18px;font-weight:bold}
        .more{
            font-size:20px;
            cursor:pointer;
            padding:8px;
            margin:-8px;
            position:relative;
            z-index:101;
        }
        .nav-bar{
            position:absolute;
            top:100%;
            right:0;
            background:#fff;
            border-radius:0 0 4px 4px;
            box-shadow:0 2px 10px rgba(0,0,0,0.1);
            display:none;
            z-index:99;
            overflow:hidden;
        }
        .nav-bar.show{display:block}
        .nav-item{
            padding:12px 16px;
            color:#333;
            font-size:14px;
            cursor:pointer;
            transition:all 0.2s;
            display:flex;
            align-items:center;
        }
        .nav-item i{margin-right:8px;color:#e63946;width:16px;text-align:center}
        .nav-item:hover{background:#f5f5f5;padding-left:20px}
        .primary-nav {position: relative;}
        .primary-nav.active .arrow {transform: rotate(90deg);}
        .secondary-nav {
            position: static;
            background-color: #f8f9fa;
            width: 100%;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
            border-top: 1px solid #eee;
            display: none;
            padding: 0;
            z-index: 100;
        }
        .primary-nav.active .secondary-nav {display: block;}
        .secondary-nav li {
            list-style: none;
            padding: 10px 16px 10px 32px;
            color: #333;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .secondary-nav li:hover {background-color: #f5f5f5;padding-left: 36px;}


        /* 底部版权 */
        .footer {
            padding: 15px;
            text-align: center;
            color: #999;
            font-size: 13px;
            border-top: 1px solid #eee;
            margin-top: 10px;
        }

        /* 返回顶部 */
        .back-to-top {
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #e63946;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .back-to-top:hover {
            background: #c1121f;
            transform: translateY(-3px);
        }

        /* 底部导航 */
        .bottom-fixed {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            display: flex;
            border-top: 1px solid #eee;
            padding: 5px 0;
            z-index: 10;
        }
        .bottom-item {
            flex: 1;
            text-align: center;
            font-size: 12px;
            color: #666;
        }
        .bottom-item i {
            font-size: 18px;
            display: block;
            margin-bottom: 2px;
        }
        .bottom-item.active { color: #e63946; }