body.blog-page {
  min-height: 100vh;
  padding: 0;
  background: #F2F7FC;
  color: #303236;
}

body.blog-page .page {
  min-height: 100vh;
  overflow: visible;
  background:
    radial-gradient(circle at 82% 4%, rgba(40, 196, 239, .12), transparent 28%),
    linear-gradient(180deg, #F5FAFF 0, #F2F7FC 320px, #F2F7FC 100%);
}

.blog-header {
  width: 100%;
  background: rgba(245, 250, 255, .96);
  border-bottom: 1px solid rgba(22, 42, 72, .06);
}

.blog-header .topnav {
  position: relative;
  top: auto;
  left: auto;
  width: min(100% - 32px, 1200px);
  max-width: 1200px;
  height: 66px;
  margin: 0 auto;
  padding: 0;
  transform: none;
  background: transparent;
  box-shadow: none;
}

.blog-header .topnav::before {
  display: none;
}

.blog-header .nav-links {
  gap: 24px;
}

.blog-header .nav-links a {
  position: relative;
  padding: 8px 0;
  color: rgba(48, 50, 54, .78);
  background: transparent;
  font-size: 15px;
  font-weight: 700;
}

.blog-header .nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #247BFF, #22C3EE);
  transition: left .2s ease, right .2s ease;
}

.blog-header .nav-links a:hover,
.blog-header .nav-links a:focus-visible,
.blog-header .nav-links a[aria-current="page"] {
  color: #1565FF;
  background: transparent;
}

.blog-header .nav-links a:hover::after,
.blog-header .nav-links a:focus-visible::after,
.blog-header .nav-links a[aria-current="page"]::after {
  left: 0;
  right: 0;
}

.blog-header .mobile-panel a[aria-current="page"] {
  color: #1565FF;
  background: #EFF7FF;
}

.site-main {
  min-height: calc(100vh - 220px);
  padding: 72px 0 96px;
}

.container {
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
}

.blog-intro {
  margin-bottom: 28px;
  text-align: center;
}

.blog-intro span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 14px;
  border: 1px solid rgba(33, 152, 255, .18);
  border-radius: 999px;
  color: #1565FF;
  background: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.blog-intro p {
  margin-top: 12px;
  color: #667085;
  font-size: 16px;
  line-height: 1.6;
}

.news-wrap {
  width: 100%;
}

.features {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.left {
  position: sticky;
  top: 24px;
}

.left ul,
.newsc > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.left ul {
  padding: 12px;
  border: 1px solid rgba(33, 152, 255, .11);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 46px rgba(22, 42, 72, .06);
}

.left a {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  color: #4B5565;
  font-size: 15px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.left a:hover,
.left a:focus-visible,
.left a.active {
  color: #fff;
  background: linear-gradient(100deg, #247BFF, #22C3EE);
  box-shadow: 0 10px 22px rgba(33, 152, 255, .2);
}

.right {
  min-width: 0;
  padding: 44px;
  border: 1px solid rgba(33, 152, 255, .1);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 64px rgba(22, 42, 72, .08);
}

.right .title,
.newsc > h1 {
  margin: 0;
  color: #303236;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.02em;
}

.newsc-desc {
  margin-top: 12px;
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
}

.newsc > ul {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.news-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(22, 42, 72, .08);
  border-radius: 22px;
  display: flex;
  gap: 24px;
  background: #F8FBFF;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.news-card:hover {
  border-color: rgba(33, 152, 255, .24);
  box-shadow: 0 16px 36px rgba(22, 42, 72, .08);
  transform: translateY(-2px);
}

.blog-thumb {
  flex: 0 0 220px;
  height: 138px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(33, 152, 255, .12), rgba(40, 196, 239, .18)),
    #EFF7FF;
}

.blog-thumb a {
  width: 100%;
  height: 100%;
  display: block;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.news-card:hover .blog-thumb img {
  transform: scale(1.035);
}

.blog-summary {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.blog-copy h2 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 800;
}

.blog-copy h2 a {
  color: #303236;
  transition: color .2s ease;
}

.blog-copy h2 a:hover,
.blog-copy h2 a:focus-visible {
  color: #1565FF;
}

.blog-copy p {
  margin-top: 12px;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
}

.blog-copy p a {
  margin-left: 5px;
  color: #1565FF;
  font-weight: 700;
  white-space: nowrap;
}

.blog-date-wrap {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.blog-date,
.post-time {
  color: #8A94A4;
  font-size: 13px;
  line-height: 1.5;
}

.post-time {
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(22, 42, 72, .08);
}

.content {
  margin-top: 30px;
  color: #4B5565;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.content h2,
.content h3,
.content h4 {
  margin: 1.8em 0 .75em;
  color: #303236;
  line-height: 1.45;
}

.content h2 {
  font-size: 26px;
}

.content h3 {
  font-size: 21px;
}

.content p,
.content ul,
.content ol,
.content blockquote,
.content pre,
.content table {
  margin: 1em 0;
}

.content ul,
.content ol {
  padding-left: 1.5em;
}

.content a {
  color: #1565FF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content img,
.content video,
.content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.content blockquote {
  padding: 14px 18px;
  border-left: 4px solid #2198FF;
  border-radius: 0 14px 14px 0;
  background: #F5FAFF;
}

.content pre {
  padding: 18px;
  overflow-x: auto;
  border-radius: 16px;
  color: #EAF7FF;
  background: #0E2140;
}

.content table {
  width: 100%;
  border-collapse: collapse;
}

.content th,
.content td {
  padding: 10px 12px;
  border: 1px solid #E5EDF7;
  text-align: left;
}

.article-nav {
  margin-top: 38px;
  padding: 22px 0;
  border-top: 1px solid rgba(22, 42, 72, .08);
  border-bottom: 1px solid rgba(22, 42, 72, .08);
  display: grid;
  gap: 10px;
}

.article-nav p {
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.article-nav a {
  color: #303236;
  font-weight: 700;
}

.article-nav a:hover,
.article-nav a:focus-visible {
  color: #1565FF;
}

.blog-detail-back {
  min-height: 44px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid rgba(33, 152, 255, .22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #1565FF;
  background: #F5FAFF;
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.blog-detail-back:hover,
.blog-detail-back:focus-visible {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(100deg, #247BFF, #22C3EE);
}

.pages {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pages a,
.pages span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(22, 42, 72, .1);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4B5565;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.pages a:hover,
.pages a:focus-visible,
.pages .current,
.pages .active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(100deg, #247BFF, #22C3EE);
}

@media (min-width: 900px) {
  .blog-header .nav-links,
  .blog-header .nav-actions {
    display: flex;
  }

  .blog-header .mobile-menu {
    display: none;
  }
}

@media (max-width: 899px) {
  .blog-header .topnav {
    position: relative;
    top: auto;
    left: auto;
    width: min(100% - 32px, 430px);
    height: 66px;
    padding: 0;
    transform: none;
  }

  .blog-header .mobile-panel {
    z-index: 120;
  }

  .site-main {
    padding: 44px 0 64px;
  }

  .container {
    width: min(100% - 28px, 640px);
  }

  .blog-intro {
    margin-bottom: 22px;
  }

  .blog-intro p {
    margin-top: 10px;
    font-size: 14px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .left {
    position: static;
  }

  .left ul {
    padding: 8px;
    border-radius: 18px;
  }

  .left a {
    min-height: 42px;
    justify-content: center;
    border-radius: 13px;
    font-size: 14px;
  }

  .right {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .right .title,
  .newsc > h1 {
    font-size: 28px;
    line-height: 1.35;
  }

  .newsc > ul {
    margin-top: 24px;
    gap: 16px;
  }

  .news-card {
    padding: 14px;
    border-radius: 20px;
    flex-direction: column;
    gap: 18px;
  }

  .blog-thumb {
    width: 100%;
    height: 190px;
    flex-basis: auto;
  }

  .blog-copy h2 {
    font-size: 18px;
  }

  .blog-copy p {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.7;
  }

  .blog-date-wrap {
    padding-top: 12px;
  }

  .content {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.85;
  }

  .content h2 {
    font-size: 23px;
  }

  .content h3 {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .blog-intro span {
    font-size: 12px;
  }

  .right {
    padding: 22px 16px;
  }

  .blog-thumb {
    height: 164px;
  }

  .content table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .blog-thumb img,
  .blog-header .nav-links a::after {
    transition: none;
  }
}
