/* 1.轮播图样式 */
.carousel {
    width: 940px;
    height: 360px;
    position: relative;
    overflow: hidden;
	float: left;
  }

  .slides {
    display: flex;
    transition: transform 0.5s ease;
  }

  .slide {
    min-width: 100%;
    height: 450px;
    background-size: cover;
  }

  /* 导航箭头 */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
  }

  .arrow:hover {
    background: rgba(0,0,0,0.8);
  }

  .prev {
    left: 20px;
  }

  .next {
    right: 20px;
  }

  /* 焦点指示器 */
  .dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }

  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: 0.3s;
  }

  .dot.active {
    background: white;
    transform: scale(1.2);
  }
/*  2.手风琴样式 */
.container {
	display: flex;
	flex-direction: column; /* 核心改动：垂直布局 */
	width: 220px;
	height: 360px;
	gap: 10px;
	overflow: hidden;
	float: left;
	margin-left: 15px;
}

.panel {
	position: relative;
	width: 100%;
	height: 15%; /* 初始高度 */
	border-radius: 15px;
	cursor: pointer;
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.panel.active {
	height: 60%; /* 展开后的高度 */
}

.panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.panel:hover img {
	transform: scale(1.05);
}

.panel h3 {
	position: absolute;
	bottom: 15px;
	left: 20px;
	color: white;
	font-size: 1.5em;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease 0.4s;
}

.panel.active h3 {
	opacity: 1;
}

@media (max-width: 768px) {
	.container {
		width: 95vw;
		height: 95vh;
	}
	
	.panel.active {
		height: 70%;
	}
}
/* 3.三块轮播图样式 */
.carousel-container {
	display: flex;
	width: 1140px;
	margin: 0 auto;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
}
.thumbnails {
	width: 180px;
	background: #f5f5f5;
	padding: 10px 0;
	margin-left: 20px;
}
.thumbnail {
	width: 150px;
	height: 95px;
	margin: 5px auto;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s;
}
.thumbnail.active {
	opacity: 1;
	border: 2px solid #4285f4;
}
.main-image {
	width: 600px;
	height: 300px;
	position: relative;
}
.main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.description {
	width: 300px;
	padding: 20px;
	background: #f9f9f9;
}
.description h3 {
	margin-top: 0;
	color: #4285f4;
}
		.user-info {
			margin-top: 15px;
			padding-top: 10px;
			border-top: 1px solid #eee;
			font-size: 12px;
			color: #666;
		}
		.time {
			font-weight: bold;
			color: #4285f4;
		}
.nav-buttons {
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	text-align: center;
}
.nav-buttons button {
	background: rgba(0,0,0,0.5);
	color: white;
	border: none;
	padding: 5px 10px;
	margin: 0 5px;
	cursor: pointer;
	border-radius: 3px;
}