* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 全局主体宽度：PC端固定80%宽度 */
.container-wrapper {
    width: 80%;
    margin:auto;
	margin-top:50px;
}

/* 顶部导航栏 */
.header {
    width: 100%;
    height: 75px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.logo {
    display: block;
    width: 120px;
    height: auto;
    margin-right: 40px;
}

.nav {
    display: flex;
    gap: 35px;
    letter-spacing: 2px;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a i {
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav a.active i {
    color: white;
}

.nav a:hover i {
    color: white;
}

.nav a:hover {
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav a.active {
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav a.active i {
    color: white;
}

.nav a {
    transition: all 0.3s ease;
}

/* 搜索框区域 */
.search-section {
    width: 100%;
    height: 460px;
    background-image: url('https://picsum.photos/1920/400?random&blur=2');
    background-color: #f0f0f0;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.search-desc {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.search-main-title {
    font-size: 56px;
    color: #333;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 3px;
}

.search-sub-title {
    font-size: 20px;
    color: #555;
    line-height: 100px;
    max-width: 1200px;
    margin: 0 auto;
    letter-spacing: 1px;
}

.search-sub-title span {
    font-weight: bold;
    font-size: 30px;
}

/* 搜索容器 */
.search-container {
    width: 100%;
    display: flex;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 左侧分类导航 */
.category-nav {
    width: 55%;
    padding: 10px 15px;
}

.category-nav h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.category-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;
}
.category-nav li{
	margin:6px;
}
.category-nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 3px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-size: 15px;
    text-align: center;
}

.category-nav li a i {
    font-size: 14px;
    color: #666;
}

.category-nav li a:hover, .category-nav li a.active {
    background-color: #333;
    color: white;
    font-weight: bold;
    border-color: #333;
}

.category-nav li a:hover i, .category-nav li a.active i {
    color: white;
}



/* 右侧搜索框容器 */
.search-box-container {
    width: 45%;
    padding: 25px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 热门搜索 */
.hot-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
}

.hot-search-label {
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

.hot-search a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 10px;
    background-color: #f5f5f5;
    transition: all 0.2s;
}

.hot-search a:hover {
    background-color: #e5e5e5;
    color: #333;
}

/* 搜索框样式 */
.search-box {
    width: 80%;
    height: 60px;
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    margin: 0 auto;
}

.search-box form {
    width: 100%;
    height: 100%;
    display: flex;
}

.search-input {
    flex: 1;
    height: 100%;
    padding: 0 25px;
    border: none;
    font-size: 18px;
    outline: none;
    background-color: #fff;
}

.search-input:focus {
    box-shadow: 0 0 0 2px rgba(0,136,255,0.1);
}

.search-btn {
    width: 80px;
    height: 100%;
    border: none;
    background-color: transparent;
    color: #666;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.search-btn:hover {
    color: white;
    background-color: #333;
}

/* 随机图片容器 */
.random-images-container {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.random-img {
    position: absolute;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.random-img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* 图片定位 */
.img-1 {
    top: 0;
    left: 0;
    width: 380px;
    height: 380px; /* 1:1 */
    background-color: #667eea;
}

.img-2 {
    top: 0;
    left: 380px;
    width: 380px;
    height: 190px; /* 2:1 */
    background-color: #764ba2;
}

.img-3 {
    top: 190px;
    left: 380px;
    width: 380px;
    height: 190px; /* 2:1 */
    background-color: #f093fb;
}

.img-4 {
    top: 0;
    left: 760px;
    width: 285px;
    height: 380px; /* 3:4 */
    background-color: #4facfe;
}

.img-5 {
    top: 0;
    left: 1045px;
    width: 570px;
    height: 190px; /* 3:1 */
    background-color: #43e97b;
}

.img-6 {
    top: 190px;
    left: 1045px;
    width: 570px;
    height: 190px; /* 3:1 */
    background-color: #fa709a;
}

.img-7 {
    top: 0;
    left: 1615px;
    width: 420px;
    height: 380px;
    background-color: #00b4db;
}

/* 纯PC端瀑布流核心样式 */
.waterfall-container {
    width: 100%;
    position: relative;
}

/* 瀑布流卡片 */
.waterfall-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    float: left;
    padding: 5px;
    width: calc(16.666% - 12px);
    margin: 0 6px;
    position: relative;
}

.waterfall-item a {
    display: block;
    overflow: hidden;
    position: relative;
}

.item-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, opacity 0.8s ease;
    transform-origin: center center;
}

.waterfall-item:hover .item-img {
    transform: scale(1.1);
}



.item-info {
    padding: 15px;
}

.item-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* 带图标的标签样式 */
.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.item-tag {
    font-size: 12px;
    color: white;
    background-color: #333;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.item-tag:hover {
    background-color: #FFCC00;
    color: black;
}

.item-tag i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.item-tag:hover i {
    color: black;
}

.item-tag a {
    color: white;
    transition: color 0.3s ease;
}

.item-tag:hover a {
    color: black;
}

/* 带图标的发布日期+浏览次数 */
.item-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.item-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-stat-item i {
    font-size: 11px;
    color: #aaa;
}

/* 加载指示器样式 */
.loading-indicator {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.loading-indicator i {
    font-size: 16px;
    color: #333;
}

/* 底部页脚样式 - 深色背景+水平导航 */
.footer {
    width: 100%;
    background-color: #282828;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-wrapper {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* 底部内容：LOGO+联系方式 + 导航列 水平排列 */
.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 底部左侧：LOGO+简介 */
.footer-left {
    flex: 0 0 300px;
}

/* 底部导航容器 */
.footer-nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #bbb;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contact-item i {
    font-size: 12px;
    color: #0088ff;
}

/* 底部导航：水平排列 */
.footer-nav {
    display: flex;
    justify-content: flex-start;
    gap: 80px;
    padding: 0;
    border: none;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-nav-title {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 5px;
}

.footer-nav-link {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-link:hover {
    color: #0088ff;
}

/* 底部版权栏 */
.footer-copyright {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 20px;
}

/* 内容页样式 */
.zw {
    width: 80%;
    height: 90vh;
	margin:auto;
	 display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-toP:40px;
}

.zw-a {
    width:70%;
	height:90vh;
	 background-color: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zw-img {
    height: 90vh;
    
    overflow: hidden;
   
    max-width: 100%;
}

.zw-img img {
    height: 90vh;
	width:90%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
 
}

.zw-b {
   width:28%;
    height: 90vh;
    
}

.zw-b h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.keyword-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.keyword-item i {
    font-size: 12px;
    color: #888;
}

.description-container {
    margin-top: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.description-header {
    margin-bottom: 15px;
}

.description-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.description-text {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    resize: vertical;
    margin-bottom: 15px;
    font-family: "Microsoft Yahei", sans-serif;
}

.description-footer {
    display: flex;
    justify-content: flex-end;
}

.copy-btn {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    background-color: #555;
}

.warning-note {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    font-size: 14px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-note i {
    font-size: 16px;
    color: #ffc107;
}

/* 所属分类样式 */
.categories-container {
    margin-top: 20px;
}

.categories-container h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.categories-container a {
    padding: 8px 12px;
    border: 1px solid #03DED5;
    border-radius: 4px;
    background-color: #03DED5;
    font-size: 14px;
    color: #016B66;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.categories-container a:hover {
    background-color: #02c4b8;
}