/* 每日大赛mrds - 吃瓜爆料 校园大赛 反差大赛 每日大赛聚集地 - 浅紫主题 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #3730a3;
  background: #f5f3ff;
  line-height: 1.65;
}

a {
  color: #7c3aed;
  text-decoration: none;
}

a:hover {
  color: #6d28d9;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== 顶栏 ========== */
.head {
  background: #fff;
  border-bottom: 1px solid #e9d5ff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(124, 58, 237, 0.06);
}

.head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.head .logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #5b21b6;
}

.head .logo:hover {
  color: #7c3aed;
  text-decoration: none;
}

.head .slogan {
  font-size: 0.7rem;
  color: #7c3aed;
  margin-left: 6px;
  font-weight: 500;
}

.head .nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.head .nav a {
  padding: 8px 14px;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
}

.head .nav a:hover,
.head .nav a.on {
  background: #ede9fe;
  color: #6d28d9;
  text-decoration: none;
}

.head .menu-btn {
  display: none;
  padding: 8px 12px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  color: #5b21b6;
  font-size: 0.875rem;
  cursor: pointer;
}

/* ========== Hero：左文 + 三丸 + 右图 ========== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 320px;
  align-items: center;
  background: linear-gradient(to right, #ede9fe 0%, #f5f3ff 50%);
}

.hero .left {
  padding: 36px 28px 36px 20px;
}

.hero .left .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7c3aed;
  margin-bottom: 10px;
}

.hero .left h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #4c1d95;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero .left p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 380px;
}

.hero .left .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero .left .pills a {
  display: inline-block;
  padding: 8px 16px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
}

.hero .left .pills a:hover {
  background: #6d28d9;
  text-decoration: none;
  color: #fff;
}

.hero .right {
  min-height: 320px;
  background: #ddd6fe;
}

.hero .right img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* ========== 三分类卡片 ========== */
.sec {
  padding: 38px 0;
}

.sec.dark {
  background: #fff;
  border-top: 1px solid #e9d5ff;
}

.sec .tit {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 6px;
}

.sec .tit::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: #7c3aed;
  margin-left: 8px;
  vertical-align: -0.1em;
}

.sec .desc {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.three-cards .c {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e9d5ff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.three-cards .c:hover {
  border-color: #c4b5fd;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

.three-cards .c a {
  display: block;
  color: inherit;
}

.three-cards .c a:hover {
  text-decoration: none;
  color: inherit;
}

.three-cards .c .img {
  aspect-ratio: 16/10;
  background: #ede9fe;
}

.three-cards .c .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.three-cards .c .cap {
  padding: 16px;
}

.three-cards .c .cap .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7c3aed;
  margin-bottom: 6px;
}

.three-cards .c .cap h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #4c1d95;
  line-height: 1.4;
}

/* ========== 简表：标题左 + 日期右 ========== */
.simple-list {
  list-style: none;
}

.simple-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid #e9d5ff;
}

.simple-list li:last-child {
  border-bottom: none;
}

.simple-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4c1d95;
  flex: 1;
  min-width: 0;
}

.simple-list a:hover {
  color: #7c3aed;
  text-decoration: none;
}

.simple-list .date {
  font-size: 0.8rem;
  color: #9ca3af;
  flex-shrink: 0;
}

/* ========== 内容页 ========== */
.art {
  padding: 28px 0 44px;
}

.art .path {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 14px;
}

.art .path a {
  color: #6b7280;
}

.art .path a:hover {
  color: #7c3aed;
}

.art .art-h h1 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #4c1d95;
  margin-bottom: 8px;
  line-height: 1.35;
}

.art .art-h .meta {
  font-size: 0.875rem;
  color: #6b7280;
}

.art .art-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid #e9d5ff;
}

.art .art-img img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.art .art-b {
  max-width: 680px;
}

.art .art-b p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 14px;
}

.art .art-b h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4c1d95;
  margin: 22px 0 10px;
}

.art .art-b h2:first-of-type {
  margin-top: 0;
}

.art .art-b .tags {
  margin-top: 22px;
}

.art .art-b .tags span {
  display: inline-block;
  padding: 4px 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.8rem;
  border-radius: 6px;
}

.art .art-b .back {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
}

/* ========== 列表页 ========== */
.lst {
  padding: 28px 0 44px;
}

.lst .path {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 14px;
}

.lst .path a {
  color: #6b7280;
}

.lst .path a:hover {
  color: #7c3aed;
}

.lst .lst-h h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #4c1d95;
  margin-bottom: 6px;
}

.lst .lst-h p {
  font-size: 0.9rem;
  color: #6b7280;
}

.lst .back {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
}

/* ========== 页脚 ========== */
.foot {
  margin-top: auto;
  background: #4c1d95;
  color: #ddd6fe;
  padding: 22px 20px 18px;
  font-size: 0.875rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.foot .copy {
  font-size: 0.8rem;
  color: #ddd6fe;
}

.foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.foot .links a {
  color: #ddd6fe;
}

.foot .links a:hover {
  color: #c4b5fd;
  text-decoration: none;
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero .right {
    min-height: 260px;
  }

  .hero .right img {
    min-height: 260px;
  }

  .three-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .head .nav {
    display: none;
  }

  .head .nav.open {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .head .menu-btn {
    display: block;
  }

  .hero .left h1 {
    font-size: 1.35rem;
  }
}
