/* 行业资讯：深色科技 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;
  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;
}

.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;
  font-size: 1.0625rem;
  line-height: 1.9;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 1100px) {
  .blog-hero:not(.blog-hero--article) .blog-hero-desc {
    white-space: nowrap;
  }
}

.blog-hero--article {
  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);
}

.blog-search {
  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);
}

.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: 1.0625rem;
  line-height: 1.95;
  color: #1e293b;
}

.blog-article-body.tutorial-content h2,
.blog-article-body.tutorial-content h3 {
  color: #003d7a;
  font-weight: 700;
  margin: 2.1rem 0 0.8rem;
  letter-spacing: -0.02em;
}

.blog-article-body.tutorial-content a {
  color: #0095ff;
}

.blog-article-body.tutorial-content p {
  margin: 0 0 1.1rem;
}

@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-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 {
    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%;
  }

  .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;
  }
}
