/* card-1开始 */
.card-1 {
  width: 240px;
  height: 280px;
  background-color: #f0ca89;
  margin: 40px auto;
  border-radius: 20px;
  float: left;
  margin-left: 10px;
  position: fixed;
  top: 350px;
}

.card-1 .tab-1 {
  width: 120px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  float: left;
}

.card-1 .tab-2 {
  width: 120px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  float: left;
}

.card-1 a {
  color: #000;
  display: block;
}

.tab-1:hover,
.tab-2:hover a {
  text-decoration: underline #000;
}

.neirong {
  width: 240px;
  height: 240px;
  /* background-color: #9e1111; */
  float: left;
}

.tou {
  width: 240px;
  height: 100px;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  /* background-color: aqua; */
}

.neirong .touxiang {
  width: 100px;
  height: 100px;
  /* background-color: rgb(233, 233, 17); */
  overflow: hidden;
  border-radius: 50%;
}

.touxiang img {
  height: 100px;
  position: relative;
  left: -35px;
  transition: 0.5s;
}

.touxiang img:hover {
  transform: scale(1.3);
}

.neirong .mz {
  padding: 10px;
  text-align: center;
  font-size: 18px;
  color: #432719;
}

.neirong .jj {
  text-align: center;
  font-size: 14px;
  color: #c21f30;
}

/* card-1结束 */
/* card-2开始 */
.card-2 {
  width: 240px;
  height: 320px;
  background-color: #eaf5fd;
  margin: 20px auto;
  border-radius: 20px 20px 20px 20px;
  overflow: hidden;
  float: left;
  margin-left: 10px;
  position: fixed;
  top: 30px;
}

.card-2 .sm {
  width: 100%;
  height: 140px;
  background-color: #a7b4ff;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 20px 20px 0 0;
}

.sm .smbt {
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  font-size: 20px;
}

.sm .smnr {
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14px;
}

.card-2 .xm {
  width: 100%;
  height: 180px;
  background-color: #eaf5fd;
  margin: 0 auto;
}

.xmuls {
  width: 100%;
}

.xmuls a {
  color: #000;
  display: block;
}

.xmuls li {
  height: 45px;
  text-align: left;
  line-height: 40px;
  padding: 0 25px;
}

.xmuls li:hover {
  background-color: #bbb;
  color: #fff;
  cursor: pointer;
}

/* card-2结束 */

/* 新的卡片样式 */
.card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.card-content {
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-action {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.card-action:hover {
  color: var(--primary-dark);
}

.card-meta {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* 特殊卡片样式 */
.card-featured {
  background: var(--gradient-primary);
  color: white;
}

.card-featured .card-title,
.card-featured .card-content {
  color: white;
}

.card-featured .card-action {
  color: rgba(255, 255, 255, 0.9);
}

.card-featured .card-action:hover {
  color: white;
}

.card-featured .card-footer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card-tag {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-tag-primary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.card-tag-secondary {
  background: rgba(236, 72, 153, 0.1);
  color: var(--secondary-color);
}