/* 行业资讯：深色科技 Hero、编号栏目压在内容上、日历日期；列表不位移 */

body.blog-page {
  background:
    radial-gradient(ellipse 80% 40% at 50% -8%, rgba(0, 149, 255, 0.07), transparent 55%),
    #f4f7fb;
  min-height: 100vh;
}

.blog-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 128px 0 56px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #001a33 0%, #003d7a 42%, #0095ff 100%);
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 78%, rgba(0, 212, 255, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(0, 149, 255, 0.22) 0%, transparent 40%);
  pointer-events: none;
}

.blog-hero::after {
  content: '资讯';
  position: absolute;
  right: 4%;
  bottom: -0.18em;
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
}

.blog-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.blog-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #7dd3fc;
  background: rgba(0, 149, 255, 0.16);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
}

.blog-hero-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.blog-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #fff;
}

.blog-hero h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d4ff, rgba(0, 212, 255, 0));
}

.blog-hero-desc {
  margin: 0;
  max-width: 100%;
  font-size: 1.0625rem;
  line-height: 1.9;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
}

.blog-hero-desc p {
  margin: 0 0 0.85em;
}

.blog-hero-desc p:last-child {
  margin-bottom: 0;
}

.blog-hero--article {
  min-height: 0;
  display: block;
  padding: 120px 0 56px;
}

.blog-hero--article::after {
  content: none;
}

.blog-hero--article h1 {
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
  max-width: none;
  margin-bottom: 0;
}

.blog-hero--article h1::after {
  margin-top: 16px;
}

@media (min-width: 1100px) {
  .blog-hero--article h1 {
    white-space: nowrap;
  }
}

.blog-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

.blog-crumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.blog-crumb-sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
}

.blog-crumb-current {
  color: #7dd3fc;
  font-weight: 500;
  pointer-events: none;
}

.blog-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
}

.blog-byline span + time::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px 2px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.7);
  vertical-align: middle;
}

.blog-main {
  position: relative;
  z-index: 2;
  padding: 0 0 100px;
}

.blog-main > .container {
  margin-top: -28px;
}

.blog-main--article > .container {
  margin-top: -36px;
  max-width: 860px;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  margin-bottom: 22px;
}

.blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(0, 149, 255, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #334155;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.blog-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0095ff, #00b4ff);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 149, 255, 0.28);
}

@property --blog-search-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.blog-search {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 260px;
  max-width: 360px;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 26, 51, 0.08);
  transform-origin: 100% 50%;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.blog-search::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--blog-search-angle),
    transparent 0deg,
    transparent 220deg,
    #7dd3fc 270deg,
    #0095ff 300deg,
    #00d4ff 330deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.blog-search:focus-within {
  z-index: 3;
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(0, 149, 255, 0.2);
}

.blog-search:focus-within::before {
  opacity: 1;
  animation: blog-search-flow 1.8s linear infinite;
}

@keyframes blog-search-flow {
  to { --blog-search-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-search {
    transition: none;
  }

  .blog-search:focus-within {
    transform: none;
    box-shadow: 0 10px 28px rgba(0, 26, 51, 0.08), 0 0 0 2px #0095ff;
  }

  .blog-search:focus-within::before {
    animation: none;
    opacity: 0;
  }
}

.blog-search-icon {
  flex: 0 0 auto;
  color: #94a3b8;
}

.blog-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1e293b;
  font-size: 0.9rem;
  outline: none;
}

.blog-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.blog-search button {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 18px;
  border: 0;
  background: linear-gradient(135deg, #0095ff, #00b4ff);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 999px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-item {
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 26, 51, 0.06);
  overflow: hidden;
}

.blog-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
}

.blog-item-link {
  display: grid;
  grid-template-columns: 84px 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 26px 28px 26px 32px;
  text-decoration: none;
  color: inherit;
}

.blog-item-body {
  min-width: 0;
}

.blog-item-date {
  width: 76px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #f3f9ff 0%, #e7f3ff 100%);
  color: #64748b;
}

.blog-item-day {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0055a8;
}

.blog-item-month {
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.blog-item-cover {
  width: 160px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #001a33 0%, #003d7a 50%, #0095ff 100%);
  flex-shrink: 0;
}

.blog-item-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item-cover--empty {
  position: relative;
}

.blog-item-cover--empty::after {
  content: '资讯';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

.blog-item-cat {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0095ff;
  background: rgba(0, 149, 255, 0.08);
  border-radius: 999px;
}

.blog-item-title {
  margin: 0 0 6px;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #0f172a;
}

@media (min-width: 960px) {
  .blog-item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.blog-item-summary {
  margin: 0;
  color: #5b6777;
  line-height: 1.75;
  font-size: 0.9375rem;
}

.blog-item-go {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #0095ff;
  opacity: 0;
}

.blog-empty {
  padding: 72px 24px;
  text-align: center;
  color: #64748b;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 26, 51, 0.06);
}

.blog-pager {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 40px 0 8px;
}

.blog-pager-meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #64748b;
}

.blog-pager-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 26, 51, 0.06);
}

.blog-pager-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-pager-btn,
.blog-pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #003d7a;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}

.blog-pager-num {
  min-width: 40px;
  padding: 0;
}

.blog-pager-btn.is-disabled {
  color: #94a3b8;
  cursor: default;
}

.blog-pager-num.is-active {
  background: linear-gradient(135deg, #0095ff, #00b4ff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 149, 255, 0.28);
}

.blog-pager-ellipsis {
  width: 28px;
  color: #94a3b8;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.blog-article-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(0, 26, 51, 0.1);
  padding: 48px 48px 56px;
}

.blog-article-body.tutorial-content {
  font-size: 16px;
  line-height: 1.75;
  color: #1f2329;
}

.blog-article-body.tutorial-content h2,
.blog-article-body.tutorial-content h3 {
  color: #003d7a;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.blog-article-body.tutorial-content h2 {
  font-size: 1.5em;
  margin: 1.75rem 0 0.5rem;
}

.blog-article-body.tutorial-content h3 {
  font-size: 1.0625rem;
  margin: 1.4rem 0 0.4rem;
}

.blog-article-body.tutorial-content h2:first-child,
.blog-article-body.tutorial-content h3:first-child {
  margin-top: 0;
}

.blog-article-body.tutorial-content a {
  color: #0095ff;
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.blog-article-body.tutorial-content a:visited {
  color: #0095ff;
}

.blog-article-body.tutorial-content a:has(img) {
  background: none;
}

.blog-article-body.tutorial-content a:focus-visible {
  outline: 2px solid #00b4ff;
  outline-offset: 2px;
}

/* 飞书文档：段间距约 8px，明显小于段内行距，避免一行一段被拉开 */
.blog-article-body.tutorial-content p {
  margin: 0 0 8px;
}

.blog-article-body.tutorial-content p:last-child {
  margin-bottom: 0;
}

.blog-article-body.tutorial-content p:empty,
.blog-article-body.tutorial-content p:has(> br:only-child) {
  margin: 0;
  height: 0.4em;
}

.blog-article-body.tutorial-content ul,
.blog-article-body.tutorial-content ol {
  margin: 8px 0 12px;
  padding-left: 1.7em;
}

.blog-article-body.tutorial-content ul {
  list-style: disc;
}

.blog-article-body.tutorial-content ol {
  list-style: decimal;
}

.blog-article-body.tutorial-content li {
  margin: 4px 0;
  line-height: 1.75;
  padding-left: 0.2em;
}

.blog-article-body.tutorial-content li > p {
  margin: 0;
}

.blog-article-body.tutorial-content ul ul {
  list-style: circle;
  margin: 4px 0;
}

.blog-article-body.tutorial-content ul ul ul {
  list-style: square;
}

.blog-article-body.tutorial-content ol ol {
  list-style: lower-alpha;
  margin: 4px 0;
}

.blog-article-body.tutorial-content ol ol ol {
  list-style: lower-roman;
}

/* Quill 无序/有序列表都可能写在 <ol> 里，靠 data-list 区分 */
.blog-article-body.tutorial-content li[data-list="bullet"] {
  list-style-type: disc;
}

.blog-article-body.tutorial-content li[data-list="ordered"] {
  list-style-type: decimal;
}

.blog-article-body.tutorial-content li.ql-indent-1 {
  margin-left: 1.7em;
}

.blog-article-body.tutorial-content li.ql-indent-2 {
  margin-left: 3.4em;
}

.blog-article-body.tutorial-content li.ql-indent-1[data-list="bullet"] {
  list-style-type: circle;
}

.blog-article-body.tutorial-content li.ql-indent-2[data-list="bullet"] {
  list-style-type: square;
}

.blog-article-body.tutorial-content li > .ql-ui {
  display: none;
}

.blog-article-body.tutorial-content blockquote {
  margin: 12px 0;
  padding: 2px 0 2px 12px;
  border-left: 3px solid #3370ff;
  color: #646a73;
}

.blog-article-body.tutorial-content img {
  margin: 12px 0;
  cursor: zoom-in;
}

.blog-article-body .blog-table-scroll {
  margin: 20px 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  background: #fff;
}

.blog-article-body table {
  width: 100%;
  max-width: none;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  background: #fff;
  white-space: normal;
}

.blog-article-body table col,
.blog-article-body table colgroup col,
.blog-article-body table td[width],
.blog-article-body table th[width] {
  width: auto !important;
  min-width: 0 !important;
}

.blog-article-body table th,
.blog-article-body table td {
  border: none;
  border-right: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.blog-article-body table th:last-child,
.blog-article-body table td:last-child {
  border-right: none;
}

.blog-article-body table > :last-child > tr:last-child th,
.blog-article-body table > :last-child > tr:last-child td {
  border-bottom: none;
}

.blog-article-body table th {
  background: #f7f7f7;
  font-weight: 600;
  color: #1f2329;
  text-align: center;
}

.blog-article-body table:not(:has(th)) tr:first-child td {
  background: #f7f7f7;
  font-weight: 600;
  color: #1f2329;
  text-align: center;
}

.blog-article-body table td:first-child {
  text-align: center;
}

.blog-article-body table p {
  margin: 0 !important;
  font-size: inherit;
  line-height: inherit !important;
}

.blog-article-body table a {
  text-decoration: none;
}

.blog-image-preview {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.86);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.blog-image-preview.is-open {
  opacity: 1;
  visibility: visible;
}

.blog-image-preview img {
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  cursor: default;
  margin: 0;
}

.blog-image-preview-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.blog-image-preview-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

@media (hover: hover) and (pointer: fine) {
  .blog-chip:hover {
    color: #0066cc;
    border-color: rgba(0, 149, 255, 0.35);
  }

  .blog-chip.is-active:hover {
    color: #fff;
  }

  .blog-item:hover {
    box-shadow: 0 16px 40px rgba(0, 26, 51, 0.1);
  }

  .blog-item:hover::before {
    background: linear-gradient(180deg, #00d4ff, #0095ff);
  }

  .blog-item-link:hover .blog-item-title {
    color: #0095ff;
  }

  .blog-item-link:hover .blog-item-go {
    opacity: 1;
  }

  .blog-crumb a:hover {
    color: #fff;
  }

  .blog-article-body.tutorial-content a:hover {
    color: #0066cc;
    background-color: rgba(0, 180, 255, 0.12);
    text-decoration: none;
  }

  .blog-article-body.tutorial-content a:hover:has(img) {
    background: none;
    color: inherit;
  }

  .blog-search button:hover {
    background: #0086e6;
    color: #fff;
  }

  .blog-pager-btn:hover:not(.is-disabled),
  .blog-pager-num:hover:not(.is-active) {
    background: rgba(0, 149, 255, 0.1);
    color: #0095ff;
  }
}

@media (max-width: 900px) {
  .blog-item-link {
    grid-template-columns: 72px 132px minmax(0, 1fr);
    gap: 10px 16px;
    padding: 20px 20px 20px 22px;
  }

  .blog-item-go {
    display: none;
  }

  .blog-item-cover {
    width: 132px;
    height: 72px;
  }
}

@media (max-width: 720px) {
  .blog-hero {
    min-height: 0;
    display: block;
    padding: 112px 0 64px;
  }

  .blog-hero::after {
    font-size: 5.5rem;
    right: 5%;
  }

  .blog-hero-desc {
    white-space: normal;
    line-height: 1.7;
  }

  .blog-main > .container {
    margin-top: -20px;
  }

  .blog-search {
    max-width: none;
    flex-basis: 100%;
    transform-origin: center;
  }

  .blog-pager-nav {
    width: 100%;
    border-radius: 22px;
    padding: 12px;
    gap: 10px;
  }

  .blog-pager-btn {
    flex: 1 1 auto;
  }

  .blog-pager-pages {
    order: -1;
    flex: 1 1 100%;
    justify-content: center;
  }

  .blog-item {
    border-radius: 18px;
  }

  .blog-item-link {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "cover cover"
      "date body";
    align-items: start;
    gap: 12px 12px;
    padding: 14px;
  }

  .blog-item-cover {
    grid-area: cover;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

  .blog-item-link:not(:has(.blog-item-cover img)) {
    grid-template-areas: "date body";
  }

  .blog-item-cover--empty {
    display: none;
  }

  .blog-item-date {
    grid-area: date;
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .blog-item-day {
    font-size: 1.2rem;
  }

  .blog-item-month {
    margin-top: 3px;
    font-size: 0.625rem;
  }

  .blog-item-body {
    grid-area: body;
  }

  .blog-item-title {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 4px;
  }

  .blog-item-cat {
    margin-bottom: 6px;
  }

  .blog-item-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  .blog-item-go {
    display: none;
  }

  .blog-article-card {
    padding: 28px 20px 36px;
    border-radius: 18px;
  }

  .blog-article-body table th,
  .blog-article-body table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}
