/* Version: v0.2.4.1.0 */
/* Shared card container */
.card {
  background: #0f1a33;
  border: 1px solid #1a2a4a;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  color: #d8e2f3;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: 0.15s ease;
}

.card:hover {
  background: #132044;
  border-color: #4fc3ff;
}

/* Thumbnail (for project + devlog cards) */
.card-thumb {
  width: 90px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background: #1a2a4a;
}

/* Card text block */
.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #4fc3ff;
  margin-bottom: 4px;
}

.card-sub {
  font-size: 0.85rem;
  color: #9bb3d6;
}

/* Project footer / compact project card (matches devlog project footer) */
.project-footer {
  background: #0f1a33;
  border: 1px solid #1a2a4a;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.project-thumb {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #1a2a4a;
  background: #0f1a33;
}

.project-info h2,
.project-info h2.project-title {
  color: #4fc3ff;
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.project-info p {
  color: #9bb3d6;
  margin: 0 0 8px 0;
  font-size: 0.9rem;
}

.project-link {
  color: #4fc3ff;
  text-decoration: none;
  font-weight: 600;
}

/* Devlog card styling used on project pages */
.devlog-card {
  background: #0a1226;
  border: 1px solid #1a2a4a;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.devlog-card:hover {
  transform: scale(1.02);
  border-color: #4fc3ff;
  box-shadow: 0 0 12px rgba(79, 195, 255, 0.35);
}

.devlog-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #1a2a4a;
  margin-bottom: 12px;
  background: #0f1a33;
}

.devlog-title {
  font-size: 1.05rem;
  color: #d8e2f3;
  margin-bottom: 6px;
}

.devlog-date {
  font-size: 0.85rem;
  color: #9bb3d6;
}

/* Hover animation for compact project card when used as a card */
.project-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: #4fc3ff;
  box-shadow: 0 6px 20px rgba(79, 195, 255, 0.12);
}
