.hot-articles-section {
  width: 100%;
  margin: 52px auto 0;
  padding: 46px clamp(18px, 5vw, 56px) 54px;
  border-top: 1px solid rgba(24, 37, 55, .1);
  background: #f6f7f6;
  color: #172438;
}

.hot-articles-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, 1120px);
  margin: 0 auto 24px;
}

.hot-articles-heading span {
  display: block;
  margin-bottom: 7px;
  color: #8e63ad;
  font-size: 12px;
  font-weight: 700;
}

.hot-articles-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hot-articles-heading p {
  max-width: 540px;
  margin: 0;
  color: #667184;
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

.hot-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hot-article-card {
  display: flex;
  min-width: 0;
  min-height: 178px;
  padding: 20px 18px;
  flex-direction: column;
  border: 1px solid #e2e5e7;
  border-radius: 6px;
  background: #fff;
  color: #172438;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.hot-article-card:focus,
.hot-article-card:focus-visible,
.hot-article-card:active {
  border-color: #e2e5e7;
  outline: none;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .hot-article-card:hover {
    transform: translateY(-3px);
    border-color: #c9b2da;
  }
}

.hot-article-card > span {
  display: block;
  margin: 0 0 8px;
  color: #8e63ad;
  font-size: 12px;
  font-weight: 700;
}

.hot-article-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

.hot-article-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: auto 0 0;
  color: #687386;
  font-size: 13px;
  line-height: 1.7;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hot-articles-loader {
  width: min(100%, 1120px);
  min-height: 42px;
  margin: 18px auto 0;
  color: #7b8492;
  font-size: 13px;
  line-height: 42px;
  text-align: center;
}

.hot-articles-loader[data-state="loading"]::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid #d9cbe3;
  border-top-color: #8e63ad;
  border-radius: 50%;
  content: "";
  vertical-align: -2px;
  animation: hot-articles-loading .7s linear infinite;
}

.hot-articles-loader[data-state="error"] {
  color: #a15c5c;
}

@keyframes hot-articles-loading {
  to { transform: rotate(360deg); }
}

.home-shell > .hot-articles-section {
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
}

.official-site-page .hot-articles-section {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hot-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hot-articles-section {
    margin-top: 38px;
    padding: 34px 16px 38px;
  }

  .hot-articles-heading {
    display: block;
  }

  .hot-articles-heading h2 {
    font-size: 25px;
  }

  .hot-articles-heading p {
    margin-top: 10px;
    text-align: left;
  }

  .hot-articles-grid {
    grid-template-columns: 1fr;
  }

  .hot-article-card {
    min-height: 126px;
    padding: 16px;
  }

  .hot-article-card h3 {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hot-article-card p {
    font-size: 12px;
  }
}
