/* 首页布局 */
.yc-home {
  background: #f4f6f8;
  color: #1c1c1c;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Muli, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.yc-home h1,
.yc-home h2,
.yc-home h3,
.yc-home p {
  margin: 0;
}

.yc-banner {
  height: 600px;
  background: #e7eaee url(/images/banner.jpg) center 42% / cover no-repeat;
  position: relative;
}

.yc-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(244, 246, 248, 0), #f4f6f8 88%);
}

.yc-intro {
  position: relative;
  z-index: 2;
  margin-top: -78px;
}

.yc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: #fff;
  border-radius: 16px;
  border-top: 3px solid #e23b3b;
  box-shadow: 0 16px 40px rgba(20, 24, 32, 0.08);
  overflow: hidden;
}

.yc-panel-main {
  padding: 28px 32px 12px;
}

.yc-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #e23b3b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.yc-kicker i {
  width: 8px;
  height: 8px;
  background: #e23b3b;
  display: inline-block;
}

.yc-panel-main h1 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: #171717;
}

.yc-lead {
  margin-top: 8px;
  color: #667085;
  font-size: 15px;
}

.yc-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 32px 12px;
}

.yc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.yc-btn-dark {
  background: #1c1c1c;
  color: #fff;
}

.yc-btn-dark:hover {
  background: #e23b3b;
  color: #fff;
}

.yc-btn-line {
  background: #fff;
  color: #1c1c1c;
  border-color: #d8dee6;
}

.yc-btn-line:hover {
  border-color: #1c1c1c;
  color: #1c1c1c;
}

.yc-btn-light {
  background: #fff;
  color: #1c1c1c;
}

.yc-btn-light:hover {
  background: #fff5f5;
  color: #e23b3b;
}

.yc-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #eef1f4;
}

.yc-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  color: #1c1c1c;
  border-right: 1px solid #eef1f4;
}

.yc-links a:last-child {
  border-right: 0;
}

.yc-links a:hover {
  background: #fafbfc;
  color: #1c1c1c;
}

.yc-links a:hover strong {
  color: #e23b3b;
}

.yc-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: #f6f7f9;
  color: #1c1c1c;
  font-size: 16px;
}

.yc-links strong,
.yc-links em {
  display: block;
  font-style: normal;
}

.yc-links strong {
  font-size: 15px;
  line-height: 1.3;
}

.yc-links em {
  margin-top: 2px;
  color: #8a94a3;
  font-size: 12px;
}

.yc-section {
  padding: 46px 0 6px;
}

.yc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.yc-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: #171717;
  line-height: 1.3;
}

.yc-head h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: #e23b3b;
  vertical-align: 0.08em;
}

.yc-head p {
  margin-top: 4px;
  padding-left: 18px;
  color: #8a94a3;
  font-size: 13px;
}

.yc-more {
  color: #1c1c1c;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.yc-more:hover {
  color: #e23b3b;
}

.yc-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.yc-mosaic > .yc-card:first-child {
  grid-row: span 2;
}

.yc-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.yc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  overflow: hidden;
  color: #1c1c1c;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.yc-card:hover {
  color: #1c1c1c;
  border-color: #f0c7c7;
  box-shadow: 0 10px 24px rgba(20, 24, 32, 0.06);
  transform: translateY(-2px);
}

.yc-cover {
  position: relative;
  display: block;
  height: 128px;
  flex: none;
  overflow: hidden;
  background: #eef1f4 url(/images/nophoto.png) center / cover no-repeat;
}

.yc-mosaic > .yc-card:first-child .yc-cover {
  flex: 1;
  height: auto;
  min-height: 220px;
}

.yc-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.yc-card:hover .yc-cover img {
  transform: scale(1.04);
}

.yc-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 12px;
}

.yc-card h3 {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #1c1c1c;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.9em;
}

.yc-mosaic > .yc-card:first-child h3 {
  font-size: 20px;
  min-height: 0;
}

.yc-card:hover h3 {
  color: #e23b3b;
}

.yc-desc {
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.yc-mosaic > .yc-card:first-child .yc-desc {
  -webkit-line-clamp: 3;
  font-size: 14px;
}

.yc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: #98a2b3;
  font-size: 12px;
}

.yc-meta em {
  min-width: 0;
  flex: 1;
  font-style: normal;
  color: #475467;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yc-meta time {
  flex: none;
}

.yc-list {
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  overflow: hidden;
}

.yc-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 128px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f5;
  color: #1c1c1c;
}

.yc-row:last-child {
  border-bottom: 0;
}

.yc-row:hover {
  background: #fffafa;
  color: #1c1c1c;
}

.yc-row img {
  width: 84px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.yc-row strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yc-row:hover strong {
  color: #e23b3b;
}

.yc-row .yc-desc {
  margin-top: 4px;
  -webkit-line-clamp: 1;
}

.yc-row-side {
  text-align: right;
  color: #98a2b3;
  font-size: 12px;
}

.yc-row-side b {
  display: block;
  margin-bottom: 4px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yc-close {
  padding: 48px 0 12px;
}

.yc-close-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 16px;
  background: #1c1c1c url(/images/banner.jpg) right center / cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.yc-close-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.94) 0%, rgba(20, 20, 20, 0.82) 52%, rgba(20, 20, 20, 0.45) 100%);
}

.yc-close-box > * {
  position: relative;
  z-index: 1;
}

.yc-close-box h2 {
  font-size: 22px;
  font-weight: 700;
}

.yc-close-box h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: #e23b3b;
  vertical-align: 0.08em;
}

.yc-close-box p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.yc-close-actions {
  display: flex;
  flex: none;
  gap: 12px;
}

.yc-close-box .yc-btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.yc-close-box .yc-btn-line:hover {
  background: #fff;
  color: #1c1c1c;
  border-color: #fff;
}

@media (max-width: 1199px) {
  .yc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .yc-banner {
    height: 260px;
  }

  .yc-intro {
    margin-top: -48px;
  }

  .yc-panel,
  .yc-links,
  .yc-mosaic {
    grid-template-columns: 1fr;
  }

  .yc-mosaic > .yc-card:first-child {
    grid-row: auto;
  }

  .yc-mosaic > .yc-card:first-child .yc-cover {
    flex: none;
    height: 200px;
    min-height: 0;
  }

  .yc-panel-actions {
    padding-top: 0;
    padding-bottom: 18px;
  }

  .yc-links a {
    border-right: 0;
    border-bottom: 1px solid #eef1f4;
  }

  .yc-links a:last-child {
    border-bottom: 0;
  }

  .yc-close-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .yc-banner {
    height: 210px;
    background-position: center center;
  }

  .yc-panel-main,
  .yc-panel-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .yc-panel-main h1,
  .yc-close-box h2 {
    font-size: 22px;
  }

  .yc-panel-actions,
  .yc-close-actions {
    flex-wrap: wrap;
  }

  .yc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .yc-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .yc-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
  }

  .yc-row img {
    width: 72px;
    height: auto;
  }

  .yc-row strong {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .yc-row-side {
    grid-column: auto;
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
  }

  .yc-row-side b {
    margin-bottom: 0;
  }

  .yc-close-box {
    padding: 24px 18px;
  }
}

@media (max-width: 520px) {
  .yc-grid {
    grid-template-columns: 1fr;
  }
}
