.work-list > .empty-state,
.post-list > .empty-state,
.latest-post > .empty-state,
.similar-post-list > .empty-state {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-height: 96px;
  margin: 0;
  padding: 24px 28px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 17px;
  color: #4b5551;
  background: #f8f7f2;
  border: 1px solid #d7dad3;
  border-left: 3px solid #accd2b;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.empty-state .api-state-icon {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  border: 1px solid #bac1b8;
  background: #fff;
}

.empty-state.api-empty .api-state-icon::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 11px;
  width: 14px;
  height: 1px;
  background: #78817d;
}

.empty-state.api-loading .api-state-icon {
  border-color: #d7dbd1;
  border-top-color: #849919;
  border-radius: 50%;
  animation: api-state-spin .8s linear infinite;
}

.empty-state.api-error {
  color: #713c3c;
  background: #fbf5f3;
  border-color: #e3d3cf;
  border-left-color: #a65a4f;
}

.empty-state.api-error .api-state-icon::before,
.empty-state.api-error .api-state-icon::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 10px;
  width: 16px;
  height: 1px;
  background: #a65a4f;
  transform: rotate(45deg);
}

.empty-state.api-error .api-state-icon::after {
  transform: rotate(-45deg);
}

@keyframes api-state-spin {
  to { transform: rotate(360deg); }
}

@media screen and (max-width: 767px) {
  .work-list > .empty-state,
  .post-list > .empty-state,
  .latest-post > .empty-state,
  .similar-post-list > .empty-state {
    min-height: 82px;
    padding: 19px 20px;
    gap: 13px;
    font-size: 13px;
  }

  .empty-state .api-state-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .empty-state.api-empty .api-state-icon::before {
    top: 15px;
    left: 9px;
    width: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .empty-state.api-loading .api-state-icon {
    animation: none;
  }
}
