.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  background-color: #000;
}
.content-card {
  position: relative;
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.content-card:hover .image-label {
  color: #e53e3e;
}
.card-image {
  position: relative;
  height: 21.875vw;
  min-height: 300px;
  background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
  overflow: hidden;
}
.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* transition: transform 0.3s ease; */
  /* background-size: cover;
    background-position: center; */
  background-size: 100%, 100%, cover;
  transition: all ease-in-out 0.3s;
}
.image-placeholder:hover {
  background-size: 130%, 130%, cover;
}
.magnetic-field {
  background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 50%, #e8e8e8 100%);
}
@keyframes glow {
  from {
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.6);
  }
  to {
    box-shadow: 0 0 50px rgba(76, 175, 80, 0.8);
  }
}
.chart-view {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 20px;
  position: relative;
}
.chart-dots {
  position: relative;
  width: 100%;
  height: 120px;
}
.dot-line {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  transform-origin: left center;
}
.line-1 {
  top: 20px;
  left: 20px;
  transform: rotate(-15deg);
}
.line-2 {
  top: 40px;
  left: 30px;
  transform: rotate(-10deg);
}
.line-3 {
  top: 60px;
  left: 25px;
  transform: rotate(-20deg);
}
.line-4 {
  top: 80px;
  left: 35px;
  transform: rotate(-5deg);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red {
  background-color: #ff4757;
}
.dot.blue {
  background-color: #3742fa;
}
.chart-axes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.y-axis {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: #fff;
}
.x-axis {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #fff;
}
.image-label {
  z-index: 999;
  padding: 4px 8px;
  color: #fff;
  backdrop-filter: blur(4px);
  position: absolute;
  bottom: 94px;
  left: 0;
  font-family: mon-r;
  background: #000;
  min-width: 70px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  padding: 0 20px;
}
.card-content {
  background-color: #000;
  border: 1px solid #333;
  border-top: none;
  padding: 20px;
  display: flex;
  gap: 16px;
  border-color: #333 #000 #333 #333;
}
.date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
  min-width: 60px;
  padding-right: 16px;
  position: relative;
  margin-right: 16px;
}
.date::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background-color: #e0e0e0;
}
.year {
  font-weight: 600;
  color: #999;
  margin-bottom: 1px;
}
.month-day {
  color: #666;
}
.card-info {
  width: 80%;
}
.title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subtitle {
  color: #ccc;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.description {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .container {
    padding: 20px 16px;
  }
  .card-content {
    padding: 16px;
    gap: 12px;
  }
  .date {
    min-width: 50px;
    padding-right: 12px;
    margin-right: 12px;
  }
  .date::after {
    height: 35px;
  }
}
@media (max-width: 480px) {
  .card-grid {
    gap: 16px;
  }
  .container {
    padding: 16px 12px;
  }
  .card-content {
    padding: 12px;
    gap: 10px;
  }
  .date {
    min-width: 45px;
    padding-right: 10px;
    margin-right: 10px;
  }
  .date::after {
    height: 30px;
  }
  .title {
    font-size: 15px;
  }
  .description {
    font-size: 12px;
  }
}
