/* General Style */
.article-margin {
  margin-bottom: 20px;
}
/* Card Style */

.article-card-container {
  display: flex;
  height: 400px;
  margin-top: 20px;
  background: var(--body-bg);
}
.article-card-text-container {
  padding: 35px 20px;
  width: 100%;
  border-bottom: 2px solid var(--secondary-color);
}
.article-card-even {
  flex-direction: row-reverse;
}
.article-image-container {
  flex: 1 0 auto;
  height: 100%;
  max-width: 400px;
}
.article-card-title {
  text-transform: capitalize;
  color: var(--secondary-color);
  width: fit-content;
}
.article-card-image {
  width: 100%;
  height: 100%;
}

.article-card-text {
  flex: 2 1 auto;
  align-self: center;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #000;
}

.article-card-p {
  text-align: justify;
  padding-right: 8px;
}

@media (max-width: 992px) {
  .article-card-container {
    flex-direction: column;
  }
  .article-image-container {
    order: 0;
    height: 500px;
    min-height: 300px;
    max-width: none;
  }
  .article-card-text {
    min-height: 300px;
    overflow-y: auto;
  }
  .article-card-container {
    height: auto;
  }
}
@media (max-width: 768px) {
  .article-image-container {
    height: 350px;
  }
}
