/* 与 web.vite Home.vue 同步的展示样式（纯 CSS） */
.vol-home-sync {
  width: 100%;
  box-sizing: border-box;
  background: #f0f2f5;
  padding: 20px 0;
}

.vol-home-sync .home-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
}

/* 功能列表（位于「框架实战访问量项目」后）：标题与 .fun-list 一致，避免负 margin 上移 */
.vol-home-features-after .fun-list {
  margin-top: 36px;
  margin-bottom: 0;
}

.vol-home-features-after .vol-features-subtitle {
  margin-bottom: 14px;
  letter-spacing: 1px;
  color: #161515ee;
}

.vol-home-features-after .home-card__name {
  letter-spacing: 1px;
  color: #000 !important;
  font-size: 15px !important;
}

.vol-home-features-after .home-card__name i[class^="el-icon"] {
  color: #000;
}

.vol-home-features-after .home-card__desc {
  letter-spacing: 1px;
  color: #161515ee;
  font-size: 14px;
  line-height: 1.6;
}

.vol-home-sync .contact {
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  margin-left: 14px;
  color: #343232;
}

.vol-home-sync .contact img {
  height: 15px;
  margin-bottom: -3px;
  margin-right: 5px;
}

/* .vol-home-sync .home-section {
  margin-bottom: 15px;
} */

/* .vol-home-sync .home-section--surface {
  border-radius: 12px;
} */

.vol-home-sync .home-unified-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1100px) {
  .vol-home-sync .home-unified-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .vol-home-sync .home-unified-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .vol-home-sync .home-unified-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vol-home-sync .home-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  background: #fff;
  border-radius: 7px;
  border: 1px solid rgba(235, 238, 245, 0.4);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.2s,
    box-shadow 0.2s;
}

.vol-home-sync .home-card:hover {
  transform: scale(1.02);
  background: #ecf5f9;
  border-color: #c6e2ff;
  box-shadow: 0 4px 16px rgba(64, 158, 255, 0.12);
}

.vol-home-sync .home-card__bottom-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #0763ee;
  transition: width 0.8s ease;
  pointer-events: none;
}

.vol-home-sync .home-card:hover .home-card__bottom-line {
  width: 100%;
}

.vol-home-sync .home-card__name {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #303133;
  line-height: 1.35;
  word-break: break-word;
}

.vol-home-sync .home-card__name i[class^="el-icon"] {
  margin-right: 6px;
  font-size: 15px;
  color: #2d39da;
  vertical-align: -1px;
}

.vol-home-sync .home-card--with-icon .home-card__name i[class^="el-icon"] {
  font-size: 15px;
}

.vol-home-sync .home-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #606266;
  word-break: break-word;
}

.vol-home-sync .home-mobile-strip.home-unified-grid {
  align-items: stretch;
}

.vol-home-sync .home-mobile-panel {
  background: transparent;
}

.vol-home-sync .home-mobile-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 10px;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.vol-home-sync .home-mobile-card__bottom-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #409eff, #0763ee);
  transition: width 0.75s ease;
  pointer-events: none;
}

.vol-home-sync .home-mobile-card:hover .home-mobile-card__bottom-line {
  width: 100%;
}

.vol-home-sync .home-mobile-card__media {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vol-home-sync .home-mobile-card__media img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.vol-home-sync .home-mobile-card__icon {
  font-size: 48px;
  color: #409eff;
}

.vol-home-sync .home-mobile-card__icon.is-sm {
  font-size: 44px;
}

.vol-home-sync .home-mobile-card__media--80,
.vol-home-sync .home-mobile-card__media--80 img {
  width: 100px;
  height: 100px;
}

.vol-home-sync .home-mobile-card__body {
  flex: 1;
  min-width: 0;
  width: 100%;
  text-align: center;
}

.vol-home-sync .home-mobile-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 2px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.vol-home-sync .home-mobile-card__hint {
  font-size: 11px;
  color: #909399;
  line-height: 1.4;
  word-break: break-word;
}
