.mi-blog-hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(36, 164, 223, .18), transparent 36%),
    radial-gradient(circle at 90% 15%, rgba(18, 98, 155, .14), transparent 34%),
    #f6f9fc;
  padding: 108px 0 82px;
  overflow: hidden;
}

.mi-blog-hero-inner {
  text-align: center;
  max-width: 920px;
}

.mi-blog-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 35, 55, .08);
  border-radius: 999px;
  background: #fff;
  color: #12629b;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 16px 35px rgba(10, 37, 64, .06);
  margin-bottom: 24px;
}

.mi-blog-hero h1 {
  color: #0a2540;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 0 0 22px;
}

.mi-blog-hero p {
  color: #425466;
  font-size: 20px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.mi-blog-shell {
  padding: 52px 0 92px;
  background: #fff;
}

.mi-blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.mi-blog-filters a {
  border: 1px solid rgba(15, 35, 55, .1);
  border-radius: 999px;
  padding: 11px 16px;
  color: #64748b;
  font-weight: 800;
  font-size: 14px;
  background: #fff;
  text-decoration: none;
}

.mi-blog-filters a:hover,
.mi-blog-filters a.active {
  border-color: rgba(36, 164, 223, .32);
  background: #eef8fd;
  color: #0a2540;
}

.mi-featured-post {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 0;
  border: 1px solid rgba(15, 35, 55, .08);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 80px -58px rgba(10, 37, 64, .55);
  margin-bottom: 28px;
}

.mi-featured-media,
.mi-blog-card-media {
  display: block;
  background: #f6f9fc;
  overflow: hidden;
}

.mi-featured-media img,
.mi-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mi-featured-media {
  min-height: 430px;
}

.mi-featured-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mi-post-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.mi-post-meta span:first-child {
  color: #12629b;
}

.mi-featured-content h2,
.mi-blog-card h3,
.mi-blog-detail-head h1,
.mi-blog-related h2,
.mi-blog-newsletter h2 {
  color: #0a2540;
  letter-spacing: -.035em;
  font-weight: 800;
}

.mi-featured-content h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  margin: 18px 0;
}

.mi-featured-content p,
.mi-blog-card p {
  color: #425466;
  line-height: 1.7;
}

.mi-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #24a4df;
  font-weight: 900;
  margin-top: 24px;
  text-decoration: none;
}

.mi-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mi-blog-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mi-blog-card {
  border: 1px solid rgba(15, 35, 55, .08);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 70px -60px rgba(10, 37, 64, .5);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.mi-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 164, 223, .32);
  box-shadow: 0 34px 80px -58px rgba(10, 37, 64, .62);
}

.mi-blog-card-media {
  aspect-ratio: 16 / 10;
}

.mi-blog-card-body {
  padding: 24px;
}

.mi-blog-card h3 {
  font-size: 22px;
  line-height: 1.18;
  margin: 14px 0 12px;
}

.mi-blog-card h3 a,
.mi-featured-content h2 a {
  text-decoration: none;
}

.mi-blog-image-fallback {
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(36, 164, 223, .12), rgba(10, 37, 64, .05)),
    #f6f9fc;
  color: #24a4df;
}

.mi-blog-image-fallback .material-symbols-outlined {
  font-size: 64px;
}

.mi-blog-newsletter {
  margin-top: 54px;
  border: 1px solid rgba(15, 35, 55, .08);
  border-radius: 26px;
  background: #0a2540;
  background-image: url('/assets/img/cubes-pattern.svg');
  background-size: 420px;
  color: #fff;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.mi-blog-newsletter span {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mi-blog-newsletter h2 {
  color: #fff;
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 36px);
}

.mi-blog-newsletter-form {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
}

.mi-blog-newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #0a2540;
  padding: 0 20px;
}

.mi-blog-newsletter-form button {
  border: 0;
  border-radius: 999px;
  background: #24a4df;
  color: #fff;
  padding: 14px 24px;
  font-weight: 900;
  white-space: nowrap;
}

.mi-blog-detail {
  background: #fff;
  padding: 64px 0 86px;
}

.mi-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #12629b;
  font-weight: 900;
  text-decoration: none;
  margin-bottom: 32px;
}

.mi-blog-detail-head {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

.mi-blog-detail-head h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  margin: 20px 0;
}

.mi-blog-detail-head p {
  color: #425466;
  font-size: 20px;
  line-height: 1.65;
}

.mi-blog-detail-cover {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(15, 35, 55, .08);
  box-shadow: 0 34px 80px -58px rgba(10, 37, 64, .55);
}

.mi-blog-content {
  max-width: 780px;
  margin: 48px auto 0;
}

.mi-blog-content p {
  color: #334155;
  font-size: 19px;
  line-height: 1.85;
  margin: 0 0 24px;
}

.mi-blog-content h2,
.mi-blog-content h3,
.mi-blog-content h4 {
  color: #0a2540;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 42px 0 18px;
}

.mi-blog-content h2 {
  font-size: 32px;
}

.mi-blog-content h3 {
  font-size: 26px;
}

.mi-blog-content h4 {
  font-size: 22px;
}

.mi-blog-content ul,
.mi-blog-content ol {
  color: #334155;
  font-size: 19px;
  line-height: 1.85;
  margin: 0 0 28px;
  padding-left: 28px;
}

.mi-blog-content li {
  margin: 0 0 10px;
}

.mi-blog-content li p {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

.mi-blog-content a {
  color: #12629b;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mi-blog-content img {
  display: block;
  width: min(100%, 860px);
  height: auto;
  margin: 34px auto;
  border-radius: 20px;
  border: 1px solid rgba(15, 35, 55, .08);
  box-shadow: 0 28px 70px -58px rgba(10, 37, 64, .55);
}

.mi-blog-content figure {
  margin: 34px 0;
}

.mi-blog-content figure img {
  margin: 0 auto;
}

.mi-blog-content figcaption {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  margin-top: 10px;
}

.mi-blog-content blockquote {
  border-left: 4px solid #24a4df;
  color: #0a2540;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  margin: 34px 0;
  padding: 4px 0 4px 22px;
}

.mi-blog-related {
  background: #f6f9fc;
  padding: 72px 0;
}

.mi-blog-related h2 {
  font-size: 34px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .mi-featured-post,
  .mi-blog-newsletter {
    grid-template-columns: 1fr;
  }

  .mi-blog-grid,
  .mi-blog-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mi-blog-hero {
    padding: 82px 0 58px;
  }

  .mi-blog-hero p,
  .mi-blog-detail-head p {
    font-size: 17px;
  }

  .mi-blog-content h2 {
    font-size: 27px;
  }

  .mi-blog-content h3 {
    font-size: 23px;
  }

  .mi-blog-content p,
  .mi-blog-content ul,
  .mi-blog-content ol {
    font-size: 17px;
  }

  .mi-featured-media {
    min-height: 260px;
  }

  .mi-featured-content,
  .mi-blog-newsletter {
    padding: 24px;
  }

  .mi-blog-grid,
  .mi-blog-grid.compact {
    grid-template-columns: 1fr;
  }

  .mi-blog-newsletter-form {
    border-radius: 24px;
    flex-direction: column;
  }

  .mi-blog-newsletter-form input,
  .mi-blog-newsletter-form button {
    min-height: 52px;
    width: 100%;
  }
}
