/* 需求卡片样式 */
.demand-card-container { display: flex; flex-wrap: wrap; margin: 0 -8px; /* 负边距抵消卡片间距 */ }
.demand-card { width: calc(25% - 16px); /* 4个卡片，每个减去左右间距 */ margin: 0 8px 16px 8px; /* 上下左右间距 */ box-sizing: border-box; }
.demand-card { display: flex; background: #ffffff; border-radius: 3px; overflow: hidden; transition: all 0.3s ease; height: 100%; min-height: 195px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.demand-card:hover { /* 悬停时阴影稍微加深 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transform: translateY(-2px); /* 减少悬停上移距离 */ border-color: #217B62; }
.demand-card-left { width: 28%; background: #F2F8F6; padding: 20px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: left; }
.demand-date { margin-bottom: 15px; }
.date-day { font-size: 19px; font-weight: 600; color: #217B62; line-height: 1.2; display: block; }
.date-year { font-size: 14px; color: #666666; line-height: 1.2; display: block; margin-top: 5px; }
.demand-divider { width: 62px; height: 2px; background: #217B62; margin: 10px 0; }
.demand-progress { font-size: 13px; color: #217b62; font-weight: 500; background: #c2e3c2; border-radius: 3px; padding: 1px 2px; }
.demand-card-right { width: 72%; max-height:200px; padding: 20px 10px; display: flex; flex-direction: column; }
.demand-title { font-size: 16px; font-weight: 600; color: #333333; line-height: 1.4; margin-bottom: 10px; display: block; transition: color 0.3s ease; text-decoration: none; }
.demand-title:hover { color: #217B62; }
.demand-content { font-size: 14px; color: #666666; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

/* 响应式设计 - 确保桌面端每行4个 */
@media (min-width: 992px) {
 .demand-card {
 width: calc(25% - 16px); /* 桌面端保持每行4个 */
}
}
 @media (max-width: 1200px) and (min-width: 992px) {
 .demand-card {
 width: calc(25% - 16px); /* 中等屏幕也保持每行4个 */
}
}
 @media (max-width: 992px) and (min-width: 768px) {
 .demand-card {
 width: calc(50% - 16px); /* 平板端每行2个 */
}
 .demand-card-left {
 padding: 15px 10px;
}
 .demand-card-right {
 padding: 15px 10px;
}
 .date-day {
 font-size: 20px;
}
 .demand-title {
 font-size: 15px;
}
}
 @media (max-width: 768px) {
 .demand-card {
 width: calc(100% - 16px); /* 手机端每行1个 */
 margin-bottom: 15px;
}
 .demand-card-container {
 margin: 0 -8px;
}
 .demand-card-left {
 padding: 15px 10px;
}
 .demand-card-right {
 padding: 15px 10px;
}
 .date-day {
 font-size: 18px;
}
 .date-year {
 font-size: 12px;
}
 .demand-title {
 font-size: 14px;
}
 .demand-content {
 font-size: 13px;
}
}
 @media (max-width: 480px) {
 .demand-card {
 flex-direction: column;
 min-height: auto;
 width: calc(100% - 16px);
}
 .demand-card-left,  .demand-card-right {
 width: 100%;
}
 .demand-card-left {
 padding: 15px;
 flex-direction: row;
 justify-content: space-between;
 align-items: center;
}
 .demand-date {
 margin-bottom: 0;
 text-align: left;
}
 .demand-divider {
 width: 2px;
 height: 40px;
 margin: 0 15px;
}
 .demand-progress {
 text-align: right;
}
  
  /* 移动端减少阴影 */
  .demand-card {
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
 .demand-card:hover {
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
}


