/* --- Carousel Container (Single Card Display) --- */

#carousel-container {
  width: 100%;
}

.carousel-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e4ec;
  border-top: 4px solid transparent;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  max-height: 400px;
  overflow-y: auto;
}

.carousel-card::-webkit-scrollbar {
  width: 6px;
}

.carousel-card::-webkit-scrollbar-track {
  background: transparent;
}

.carousel-card::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

/* --- Category Label/Pill --- */

.category-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  width: fit-content;
}

/* --- Card Title --- */

.card-body .title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 12px;
}

/* --- Takeaways List --- */

.takeaways {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.takeaways li {
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}

.takeaways li:last-child {
  margin-bottom: 0;
}

.takeaways li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #999;
}

/* --- Card Footer (Date) --- */

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
  color: #aaa;
  flex-shrink: 0;
}

/* --- Arrow Buttons --- */

.carousel-arrow:hover {
  background: #f3f4f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.carousel-arrow:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}
