.ai-blog-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 20px 82px;
}

.ai-blog-intro {
  margin-bottom: 24px;
}

.ai-blog-kicker {
  margin: 0 0 12px;
  color: #057c78;
  font-size: 14px;
  font-weight: 700;
}

.ai-blog-title {
  margin: 0 0 8px;
  max-width: 520px;
  font-family: Georgia, "Times New Roman", "PingFang SC", serif;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: 0;
}

.ai-blog-subtitle {
  max-width: 780px;
  margin: 0;
  color: #666f69;
  font-size: 15px;
  line-height: 1.7;
}

.ai-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe6dc;
}

.ai-blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.ai-blog-tab,
.ai-sort-button {
  height: 34px;
  padding: 0 14px;
  border: 1px solid #dfe6dc;
  border-radius: 999px;
  background: transparent;
  color: #4e5751;
  cursor: pointer;
}

.ai-blog-tab.active,
.ai-sort-button.active {
  color: #057c78;
  background: #d9f5ef;
  border-color: #8ed8ce;
}

.ai-sort-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  color: #666f69;
  font-size: 13px;
}

.ai-sort-controls span {
  white-space: nowrap;
}

.ai-sort-button {
  background: #fff;
  white-space: nowrap;
}

.ai-result-status {
  display: none;
  max-width: 980px;
  margin: -14px 0 22px;
  color: #666f69;
  font-size: 14px;
}

.ai-result-status.show {
  display: block;
}

.ai-blog-layout {
  max-width: 980px;
}

.ai-article-list {
  display: grid;
  gap: 0;
}

.ai-article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 152px;
  gap: 32px;
  padding: 31px 0 34px;
  border-bottom: 1px solid #dfe6dc;
}

.ai-article-row:first-child {
  padding-top: 4px;
}

.ai-article-main h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", "PingFang SC", serif;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
}

.ai-article-main h2 button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.ai-article-main h2 button:hover {
  color: #057c78;
}

.ai-article-summary {
  margin: 0 0 14px;
  color: #4f5752;
  font-size: 16px;
  line-height: 1.85;
}

.ai-read-link {
  padding: 0;
  color: #000;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.ai-read-link:hover {
  color: #057c78;
}

.ai-keypoints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.ai-keypoints li {
  padding: 5px 9px;
  color: #3f5651;
  background: #edf4ef;
  border: 1px solid #d5e3dc;
  border-radius: 999px;
  font-size: 13px;
}

.ai-article-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 5px;
  color: #666f69;
  font-size: 14px;
}

.ai-date,
.ai-tag {
  padding: 5px 10px;
  border-radius: 999px;
}

.ai-date {
  border: 1px solid #d7ddd5;
  background: #fff;
  color: #4f5752;
}

.ai-tag {
  border: 1px solid #8ed8ce;
  background: #d9f5ef;
  color: #057c78;
}

.ai-source {
  font-size: 13px;
  line-height: 1.45;
}

.ai-empty {
  display: none;
  padding: 48px 0;
  color: #666f69;
}

.ai-empty.show {
  display: block;
}

.ai-pagination {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #dfe6dc;
}

.ai-pagination.show {
  display: flex;
}

.ai-page-button {
  min-width: 36px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid #dfe6dc;
  border-radius: 999px;
  background: transparent;
  color: #4e5751;
  cursor: pointer;
}

.ai-page-button.active {
  color: #057c78;
  background: #d9f5ef;
  border-color: #8ed8ce;
}

.ai-page-button:disabled {
  color: #a4aaa6;
  cursor: not-allowed;
  background: #f1f4f0;
}

.ai-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(17, 24, 20, 0.32);
}

.ai-drawer.open {
  display: block;
}

.ai-detail {
  position: absolute;
  right: 0;
  top: 0;
  width: min(760px, 100%);
  height: 100%;
  overflow: auto;
  padding: 42px 48px 56px;
  background: #f7f9f5;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.14);
}

.ai-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 1px solid #dfe6dc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ai-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.ai-detail h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", "PingFang SC", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.ai-detail .lead {
  margin: 0 0 26px;
  color: #666f69;
  font-size: 18px;
  line-height: 1.9;
}

.ai-detail-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #dfe6dc;
}

.ai-detail-section h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.ai-detail-section p,
.ai-detail-section li {
  color: #4f5752;
  font-size: 16px;
  line-height: 1.9;
}

.ai-origin {
  display: inline-flex;
  margin-top: 24px;
  padding: 10px 14px;
  color: #fff;
  background: #0aa59f;
  border-radius: 7px;
}

.ai-static-archive {
  margin: 26px 0 24px;
  padding: 22px 0;
  border-top: 1px solid #dfe6dc;
  border-bottom: 1px solid #dfe6dc;
}

.ai-static-archive h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.ai-static-archive > p {
  max-width: 860px;
  color: #606a64;
  font-size: 15px;
  line-height: 1.8;
}

.ai-static-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.ai-static-list article {
  border-left: 2px solid #0aa59f;
  padding-left: 12px;
}

.ai-static-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.ai-static-list p {
  margin: 0;
  color: #606a64;
  font-size: 13.5px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .ai-blog-page {
    padding: 34px 16px 62px;
  }

  .ai-blog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-sort-controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ai-article-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .ai-article-meta {
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
  }

  .ai-article-main h2 {
    font-size: 21px;
  }

  .ai-article-summary {
    font-size: 15px;
  }

  .ai-detail {
    padding: 42px 22px 48px;
  }

  .ai-static-list {
    grid-template-columns: 1fr;
  }
}
