/* =========================
   ARTICLE / CARD LINKS
========================= */

.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-link article {
  cursor: pointer;
}

.article-link h3 {
  transition: opacity 0.3s ease;
}

.article-link:hover h3 {
  opacity: 0.7;
}

/* =========================
   POSTS & PROJECT CARDS
========================= */

article {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--color-bg-secondary);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-bg-tertiary);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

article:hover {
  transform: translateY(-6px);
  border-color: var(--text-highlighted);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6);
}

article img {
  width: 300px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

article > div,
.article-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

article h3 {
  margin: 0;
  font-size: 1.1rem;
}

article h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

article h3 a:hover {
  color: var(--text-highlighted);
}

article p {
  margin: 0.4rem 0 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

article ul {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  list-style: none;
}

article ul li {
  background: var(--color-bg-tertiary);
  color: var(--text-secondary);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  transition: background 0.3s ease, color 0.3s ease;
  list-style: none;
}

article:hover ul li {
  background: var(--text-highlighted);
  color: #fff;
}

/* =========================
   EXPERIENCE CARDS
========================= */

.experience-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-left: 4px solid var(--text-highlighted);
  border-radius: 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform 0.25s ease, border-left-color 0.25s ease, background-color 0.25s ease;
}

.experience-card:hover {
  transform: translateX(4px);
}

/* =========================
   RESUME BUTTON
========================= */

.resume-section {
  display: flex;
  margin-top: 2rem;
}

.resume-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-primary) !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-button:visited,
.resume-button:hover,
.resume-button:focus,
.resume-button:active {
  color: var(--text-primary) !important;
}

.resume-button:hover {
  transform: translateY(-2px);
}
