 .m-blog-shell {
   background: #f8fafc;
   color: #0f172a;
 }
 
 .m-blog-shell a {
   color: inherit;
 }
 
 .m-blog-container {
   max-width: 80rem;
   margin: 0 auto;
   padding: 0 1.5rem;
 }
 
 .m-blog-hero {
   padding-top: 8.25rem;
   padding-bottom: 2rem;
 }
 
 .m-blog-kicker {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.35rem 0.8rem;
   border-radius: 9999px;
   font-size: 0.75rem;
   font-weight: 700;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   background: rgba(22, 119, 255, 0.08);
   border: 1px solid rgba(22, 119, 255, 0.18);
   color: #0b5cff;
 }
 
 .m-blog-title {
   margin-top: 1rem;
   font-size: clamp(2rem, 4.2vw, 3.2rem);
   line-height: 1.1;
   font-weight: 800;
   letter-spacing: -0.03em;
 }
 
 .m-blog-subtitle {
   margin-top: 0.85rem;
   max-width: 42rem;
   color: #475569;
   font-size: 1.05rem;
   line-height: 1.7;
 }
 
 .m-blog-toolbar {
   margin-top: 1.5rem;
   display: flex;
   flex-direction: column;
   gap: 0.9rem;
 }
 
 .m-blog-search {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   padding: 0.9rem 1rem;
   border-radius: 9999px;
   border: 1px solid rgba(15, 23, 42, 0.12);
   background: #ffffff;
   box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
 }
 
 .m-blog-search i {
   color: #64748b;
 }
 
 .m-blog-search input {
   width: 100%;
   border: 0;
   outline: none;
   background: transparent;
   color: #0f172a;
 }
 
 .m-blog-search input::placeholder {
   color: #94a3b8;
 }
 
 .m-blog-tags {
   display: flex;
   gap: 0.6rem;
   flex-wrap: nowrap;
   overflow-x: auto;
   padding-bottom: 0.25rem;
   scrollbar-width: none;
 }
 
 .m-blog-tags::-webkit-scrollbar {
   display: none;
 }
 
 .m-blog-tag {
   flex: 0 0 auto;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 0.55rem 0.95rem;
   border-radius: 9999px;
   border: 1px solid rgba(15, 23, 42, 0.12);
   background: rgba(255, 255, 255, 0.85);
   color: #334155;
   font-size: 0.85rem;
   font-weight: 600;
   text-decoration: none;
   transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
 }
 
 .m-blog-tag:hover {
   background: rgba(22, 119, 255, 0.08);
   border-color: rgba(22, 119, 255, 0.2);
   color: #0b5cff;
 }
 
 .m-blog-tag.is-active {
   background: linear-gradient(135deg, rgba(22, 119, 255, 0.16), rgba(0, 194, 255, 0.12));
   border-color: rgba(22, 119, 255, 0.28);
   color: #0b5cff;
 }
 
 .m-blog-grid {
   padding: 1.5rem 0 4.5rem;
   display: grid;
   gap: 1.35rem;
  align-items: stretch;
 }
 
 .m-blog-card {
   display: flex;
   flex-direction: column;
  height: 100%;
   border-radius: 1.4rem;
   overflow: hidden;
   background: #ffffff;
   border: 1px solid rgba(15, 23, 42, 0.08);
   box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
   text-decoration: none;
   transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
 }
 
 .m-blog-card:hover {
   transform: translateY(-4px);
   border-color: rgba(22, 119, 255, 0.24);
   box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
 }
 
 .m-blog-card-media {
   position: relative;
   aspect-ratio: 16 / 9;
   background: linear-gradient(135deg, rgba(22, 119, 255, 0.16), rgba(0, 194, 255, 0.1));
 }
 
 .m-blog-card-media img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
 }
 
 .m-blog-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
   padding: 1.25rem 1.25rem 1.35rem;
 }
 
 .m-blog-meta {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 0.5rem;
   color: #64748b;
   font-size: 0.82rem;
 }
 
 .m-blog-pill {
   display: inline-flex;
   align-items: center;
   padding: 0.22rem 0.7rem;
   border-radius: 9999px;
   background: rgba(2, 132, 199, 0.08);
   color: #0369a1;
   font-weight: 700;
   font-size: 0.72rem;
   letter-spacing: 0.08em;
   text-transform: uppercase;
 }
 
 .m-blog-card-title {
   margin-top: 0.8rem;
   font-size: 1.05rem;
   line-height: 1.35;
   font-weight: 800;
   letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
 }
 
 .m-blog-card-excerpt {
   margin-top: 0.65rem;
   color: #475569;
   font-size: 0.95rem;
   line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.65em * 3);
 }
 
.m-pagination {
  margin-top: -2.6rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.m-pagination-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.m-pagination-dot {
  color: #cbd5e1;
}

.m-pagination-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.m-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.m-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.m-page-link:hover {
  border-color: rgba(22, 119, 255, 0.24);
  background: rgba(22, 119, 255, 0.06);
  color: #0b5cff;
}

.m-page-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.m-page-number {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.m-page-number:hover {
  border-color: rgba(22, 119, 255, 0.24);
  background: rgba(22, 119, 255, 0.06);
  color: #0b5cff;
}

.m-page-number.is-active {
  border-color: rgba(22, 119, 255, 0.3);
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.18), rgba(0, 194, 255, 0.12));
  color: #0b5cff;
}

.m-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  color: #94a3b8;
  font-weight: 800;
  user-select: none;
}

 .m-blog-cta {
   margin-top: 2.2rem;
   padding: 1.4rem;
   border-radius: 1.6rem;
   background: linear-gradient(135deg, rgba(22, 119, 255, 0.1), rgba(0, 194, 255, 0.08));
   border: 1px solid rgba(22, 119, 255, 0.18);
   display: flex;
   flex-direction: column;
   gap: 1rem;
   justify-content: space-between;
 }
 
 .m-blog-cta h2 {
   font-size: 1.4rem;
   line-height: 1.2;
   font-weight: 800;
 }
 
 .m-blog-cta p {
   margin-top: 0.6rem;
   color: #475569;
   line-height: 1.7;
 }
 
 .m-blog-cta-actions {
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
 }
 
 .m-blog-button-primary,
 .m-blog-button-secondary {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
   padding: 0.85rem 1.1rem;
   border-radius: 9999px;
   font-weight: 700;
   text-decoration: none;
   transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
 }
 
 .m-blog-button-primary {
   background: linear-gradient(135deg, #1677ff, #00c2ff);
   color: #ffffff;
   box-shadow: 0 14px 35px rgba(22, 119, 255, 0.18);
 }
 
 .m-blog-button-primary:hover {
   transform: translateY(-1px);
   box-shadow: 0 18px 45px rgba(22, 119, 255, 0.22);
 }
 
 .m-blog-button-secondary {
   background: #ffffff;
   border: 1px solid rgba(15, 23, 42, 0.12);
   color: #0f172a;
 }
 
 .m-blog-button-secondary:hover {
   border-color: rgba(22, 119, 255, 0.24);
   background: rgba(22, 119, 255, 0.06);
 }
 
 .m-article-shell {
   padding: 0 0 5rem;
 }
 
 .m-article-hero {
   padding-top: 7.75rem;
   padding-bottom: 1.75rem;
 }
 
 .m-article-meta {
   margin-top: 1rem;
   display: flex;
   flex-wrap: wrap;
   gap: 0.6rem;
   align-items: center;
   color: #64748b;
   font-size: 0.9rem;
 }
 
 .m-article-hero-media {
   margin-top: 1.75rem;
   border-radius: 1.6rem;
   overflow: hidden;
   border: 1px solid rgba(15, 23, 42, 0.08);
   background: #ffffff;
   box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06);
 }
 
 .m-article-hero-media img {
   width: 100%;
   height: auto;
   display: block;
 }
 
 .m-article-layout {
   display: grid;
   gap: 2rem;
   padding-top: 1.5rem;
 }
 
 .m-article-toc {
   border-radius: 1.4rem;
   border: 1px solid rgba(15, 23, 42, 0.08);
   background: #ffffff;
   padding: 1.2rem;
   box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
 }
 
 .m-article-toc a {
   display: block;
   text-decoration: none;
   color: #334155;
   padding: 0.5rem 0.65rem;
   border-radius: 0.9rem;
   transition: background 0.2s ease, color 0.2s ease;
 }
 
 .m-article-toc a:hover {
   background: rgba(22, 119, 255, 0.08);
   color: #0b5cff;
 }
 
 .m-article-prose {
   color: #334155;
   line-height: 1.85;
   font-size: 1.02rem;
 }
 
 .m-article-prose h2 {
   margin-top: 2.1rem;
   font-size: 1.6rem;
   line-height: 1.3;
   font-weight: 900;
   letter-spacing: -0.02em;
   color: #0f172a;
 }
 
 .m-article-prose h3 {
   margin-top: 1.55rem;
   font-size: 1.2rem;
   line-height: 1.35;
   font-weight: 800;
   color: #0f172a;
 }
 
 .m-article-prose p {
   margin-top: 1rem;
 }
 
 .m-article-prose ul {
   margin-top: 1rem;
   padding-left: 1.2rem;
   list-style: disc;
 }
 
 .m-article-prose li + li {
   margin-top: 0.35rem;
 }
 
 .m-article-prose a {
   color: #0b5cff;
   text-decoration: none;
 }
 
 .m-article-prose a:hover {
   text-decoration: underline;
 }
 
 .m-article-prose table {
   width: 100%;
   margin-top: 1.25rem;
   border-collapse: collapse;
   font-size: 0.95rem;
 }
 
 .m-article-prose th,
 .m-article-prose td {
   border: 1px solid rgba(15, 23, 42, 0.12);
   padding: 0.8rem 0.9rem;
   vertical-align: top;
 }
 
 .m-article-prose th {
   background: rgba(15, 23, 42, 0.04);
   color: #0f172a;
   font-weight: 800;
 }
 
 .m-article-aside {
   display: grid;
   gap: 1rem;
 }
 
 .m-article-box {
   border-radius: 1.4rem;
   border: 1px solid rgba(15, 23, 42, 0.08);
   background: #ffffff;
   padding: 1.2rem;
   box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
 }
 
 .m-article-back {
   margin-top: 1.75rem;
   display: inline-flex;
   align-items: center;
   gap: 0.6rem;
   color: #334155;
   text-decoration: none;
   font-weight: 700;
 }
 
 .m-article-back:hover {
   color: #0b5cff;
 }
 
 @media (min-width: 768px) {
   .m-blog-toolbar {
     flex-direction: row;
     align-items: center;
     justify-content: space-between;
   }
 
   .m-blog-search {
     width: 360px;
   }
 
   .m-blog-cta-actions {
     flex-direction: row;
     align-items: center;
   }
 
   .m-blog-grid {
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 1.6rem;
   }

  .m-pagination {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .m-pagination-summary {
    white-space: nowrap;
  }
 }
 
 @media (min-width: 1024px) {
   .m-blog-container {
     padding: 0 2rem;
   }
 
   .m-blog-search {
     width: 420px;
   }
 
   .m-blog-grid {
     grid-template-columns: repeat(3, minmax(0, 1fr));
   }
 
   .m-article-layout {
     grid-template-columns: 240px minmax(0, 1fr) 320px;
     align-items: start;
   }
 
   .m-article-toc {
     position: sticky;
     top: 6.5rem;
     align-self: start;
   }
 
   .m-article-aside {
     position: sticky;
     top: 6.5rem;
     align-self: start;
   }
 }
