  .article-card {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    margin: 20px;
  }

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

  .overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .overlay-text h2 {
    margin: 0;
    font-size: 1.2em;
  }

  .overlay-text p {
    margin: 5px 0 0;
    font-size: 0.9em;
  }
