/* Neumorphic card wrapper */
.content-card {
  padding: var(--space-sm) var(--space-xs);
  margin-bottom: var(--space-md);
}

/* Section Titles */
.content-card h1 {
  font-size: 2rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-md);
}

/* Articles Section */
.articles-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.articles-card li {
  background: var(--gray-6);
  padding: var(--space-md);
  border-radius: 12px;
  margin-bottom: var(--space-md);
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.articles-card li:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px var(--ambient-shadow);
}

.articles-card h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
}

.articles-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.articles-card h2 a:hover {
  color: var(--highlight-color);
}

.articles-card small {
  font-size: 0.9rem;
  color: var(--highlight-color);
}

.articles-card p {
  margin-top: var(--space-2xs);
  font-size: 1rem;
  color: var(--white-1);
}

/* Project Section */
.project-card .project-content {
  background: var(--gray-6);
  padding: var(--space-md);
  border-radius: 12px;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card .project-content:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px var(--ambient-shadow);
}

.project-card h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
}

.project-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.project-card h2 a:hover {
  color: var(--highlight-color);
}

.project-card p {
  margin-top: var(--space-2xs);
  font-size: 1rem;
  color: var(--white-1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  .articles-card h2, .project-card h2 {
    font-size: 1.4rem;
  }
}

/* More Button */
.articles-card .more-link,
.project-card .more-link {
  text-align: center;
  margin-top: var(--space-md);
}

.articles-card .btn-more,
.project-card .btn-more {
  display: inline-block;
  background: var(--gray-6);
  color: var(--text-primary);
  text-decoration: none;
  padding: var(--space-xs) var(--space-md);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: color 0.3s ease, transform 0.2s ease;
}

.articles-card .btn-more:hover,
.project-card .btn-more:hover {
  color: var(--accent-muted-contrast);
  background: var(--highlight-color-muted);
  transform: translateY(-2px);
}

/* Wave + Glow */
.animated-heading {
  position: relative;
  animation: wave 1s 1 ease-in-out;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
