/* Hero Article */
.hero-article {
  position: relative;
  min-height: 50vh;
  max-height: 50vh;
  border-bottom: 1px solid var(--text-color); /* Horizontal line */
  display: flex;
  justify-content: center;
}
.hero-article:hover {
    --gray-scale: 0;
}
.hero-img {
    min-height: 50vh;
    max-height: 50vh;
    filter: grayscale(var(--gray-scale));
}
.hero-meta-top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-color);
}
.hero-author {
  font-weight: bold;
}
.hero-date {
  color: var(--text-color);
}
.hero-title {
    position: absolute;
    bottom: 1.0rem;
    left: 1.5rem;
}
.hero-title h2 {
  margin: 0;
  font-size: 2.2rem;
}
.hero-title h4 {
  margin: 0.25rem 0 0;
  color: var(--text-color);
  font-weight: normal;
  font-size: x-large;
}

.hero-article:hover .hero-title h2,
.hero-article:hover .hero-title h4 {
  text-decoration: underline;
}

/* Tags */
.tags {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--text-color); /* Horizontal line */
}
.tag-link {
  flex: 1;
}
.tag-item {
  font-size: 1.85rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin: 0;
  text-align: center;
}


.vertical-line {
    border-left: 1px solid var(--text-color);
}

/* More Article */
.further-articles {
  display: flex;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--text-color);
}
/* Der gesamte Link soll block-level sein und alle Styles übernehmen */
.article-link {
  flex: 1;
  text-decoration: none;
}
.article-card {
  margin: 0;
  padding-left: 2%;
  padding-top: 2%;
  padding-bottom: 2%;
}
.article-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}
.article-card .about {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-color);
}

.article-link:hover .article-card h3,
.article-link:hover .article-card h4 {
  text-decoration: underline;
}

.more-posts {
  font-size: 2rem;
  text-align: center;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

/* Placeholder */
.placeholder {
  font-size: 3rem;
  text-align: center;
  color: var(--text-color);
  margin: 1rem 0;
}

/* Responsive: Bei kleinen Bildschirmen vertikal angeordnet */
@media (max-width: 768px) {
  .hero-article {
    min-height: 80vh;
  }
  .hero-img {
    min-height: 80vh;
  }
  .further-articles {
    flex-direction: column;
    align-items: center;
  }
  /* .article-link {
    min-width: 100%;
  } */
  .article-card {
    min-width: 100vw;
    max-width: 100%;
    padding-bottom: 2%;
    border-bottom: 1px solid var(--text-color);
  }
}