.container-coffee {
  margin-bottom: 100px;
}

.article-list {
  padding: 24px;
  margin-top: -24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-list .article-card-preview {
  background: #ffffff;
  border: 1px solid #ffffff;
  box-sizing: border-box;
  box-shadow: 0px 3px 8px 2px rgba(0, 0, 0, 0.11);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.article-list .article-card-preview .article-img img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.article-list .article-card-preview .article-content {
  padding: 20px;
}

.article-list .article-card-preview .article-title {
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 0.04em;
  color: #1f1f1f;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 22px;
}

.article-list .article-card-preview .article-body-preview {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.04em;
  color: #1f1f1f;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.article-detail {
  margin-bottom: 72px;
}

.article-detail .article-img img {
  width: 100%;
}

.article-detail .article-content {
  padding: 28px 24px 24px;
}

.article-detail .article-title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #1f1f1f;
  margin-bottom: 20px;
  font-weight: bold;
}

.article-detail .article-body {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #1f1f1f;
}

.article-list-title {
  text-align: center;
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 0.04em;
  color: #1f1f1f;
}

@media screen and (min-width: 768px) {
  .container-coffee {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-title-wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-row {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 32px;
  }

  .article-list {
    width: 40%;
    max-width: 350px;
    padding: 16px;
    box-sizing: border-box;
    margin-top: 0;
    border: 1px solid #5f636385;
    border-radius: 12px;
  }

  .article-list .article-card-preview {
    box-shadow: none;
  }

  .article-list .article-card-preview .article-content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .article-list .article-card-preview .article-title {
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
    margin-bottom: 12px;
  }

  .article-list .article-card-preview .article-body-preview {
    font-size: 21px;
    line-height: 23px;
  }

  .article-list .article-card-preview .article-img img {
    border-radius: 8px;
  }

  .article-detail {
    box-shadow: 0px 3px 8px 2px rgba(0, 0, 0, 0.11);
    height: fit-content;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 820px;
  }

  .article-detail .article-title {
    font-size: 32px;
  }

  .article-detail .article-body {
    font-size: 21px;
  }

  .article-list-title {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
  }
}

@media screen and (min-width: 1000px) {
  .article-row {
    gap: 48px;
  }
}
