.entry {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.entry h3 a {
  text-decoration: none;
}

.entry-meta {
  align-items: flex-start;
}

.taxonomy-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.taxonomy-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.taxonomy-link.category {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.article-taxonomy,
.browse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0;
}

.browse {
  margin-top: 28px;
}

.browse > span {
  margin-right: 5px;
  font-size: 13px;
  font-weight: 700;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 70px;
}

.topic-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  text-decoration: none;
}

.topic-card:hover {
  border-color: var(--ink);
}

.topic-card span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .entry-meta {
    flex-direction: column;
  }

  .topic-card {
    padding: 20px;
  }
}

.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 30px 0;
  overflow: hidden;
  background: var(--ink);
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-embed.ratio-4-3 {
  aspect-ratio: 4 / 3;
}
