/* Achievements section relies on shared card grid styling. */

/* Featured Achievement Section */
.featured-achievement {
  margin: 48px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.featured-achievement .card.featured {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 2px solid var(--color-accent, #4A90E2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 40px;
  transition: all 0.3s ease;
}

.featured-achievement .card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.featured-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text, #333);
  margin: 0 0 20px;
  line-height: 1.4;
}

.featured-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary, #555);
  margin-bottom: 32px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-thumbnail {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  aspect-ratio: 16 / 9;
}

.video-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.video-thumbnail:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text, #333);
  margin: 0 0 8px;
  line-height: 1.5;
}

.video-info p {
  font-size: 0.9rem;
  color: var(--color-text-secondary, #666);
  margin: 0;
  line-height: 1.6;
}

.featured-note {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary, #555);
  padding: 20px;
  background: rgba(74, 144, 226, 0.05);
  border-left: 4px solid var(--color-accent, #4A90E2);
  border-radius: 4px;
  margin-bottom: 24px;
}

.featured-cta {
  text-align: center;
  margin-top: 32px;
}

.featured-cta .btn.primary {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-cta .btn.primary:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .featured-achievement .card.featured {
    padding: 28px 20px;
  }

  .featured-title {
    font-size: 1.4rem;
  }

  .featured-description {
    font-size: 1rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-info h4 {
    font-size: 0.9rem;
  }

  .featured-cta .btn.primary {
    width: 100%;
    font-size: 1rem;
    padding: 14px 20px;
  }
}

/* Regular Case Studies */
.card-visual {
  margin: -28px -28px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.card-visual img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-visual img {
  transform: scale(1.05);
}
