.blog-page {
  background: #f7f8fb;
  color: #15171d;
  min-height: 60vh;
}

.blog-page .container {
  max-width: 1180px;
}

.blog-page .breadcrumb-nav {
  background: #fff;
  border-bottom: 1px solid #e8ebf1;
  margin-bottom: 0;
}

.blog-page .breadcrumb {
  margin: 0;
  padding: 16px 0;
  font-size: 14px;
}

.blog-list-wrap,
.blog-detail-wrap {
  padding: 36px 0 64px;
}

.blog-list-head {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.blog-list-head h1,
.blog-detail h1 {
  color: #15171d;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.blog-list-head p {
  color: #667085;
  margin: 8px 0 0;
}

.blog-search {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4ee;
  border-radius: 8px;
  display: flex;
  min-height: 46px;
  overflow: hidden;
  width: min(360px, 100%);
}

.blog-search input {
  background: transparent;
  border: 0;
  color: #15171d;
  flex: 1;
  height: 46px;
  min-width: 0;
  outline: 0;
  padding: 0 14px;
}

.blog-search button {
  align-items: center;
  background: #15171d;
  border: 0;
  color: #fff;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 48px;
}

.blog-layout {
  align-items: flex-start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

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

.blog-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  background: #eef1f6;
  display: block;
  overflow: hidden;
}

.blog-card-image img,
.blog-detail-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 18px;
}

.blog-card-meta,
.blog-detail-meta {
  align-items: center;
  color: #7a8190;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.blog-card-meta a,
.blog-detail-meta a {
  color: #0f766e;
  font-weight: 700;
}

.blog-card h2,
.blog-card h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 10px;
}

.blog-card h3 {
  font-size: 17px;
}

.blog-card h2 a,
.blog-card h3 a {
  color: #15171d;
}

.blog-card p {
  color: #596171;
  line-height: 1.55;
  margin: 0;
}

.blog-sidebar {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  padding: 18px;
  position: sticky;
  top: 18px;
}

.blog-sidebar h2,
.blog-related h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
}

.blog-sidebar a {
  align-items: center;
  border-radius: 8px;
  color: #303744;
  display: flex;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 10px;
}

.blog-sidebar a + a {
  margin-top: 4px;
}

.blog-sidebar a.active,
.blog-sidebar a:hover {
  background: #e8f6f4;
  color: #0f766e;
}

.blog-sidebar small {
  color: #7a8190;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.blog-pagination a {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4ee;
  border-radius: 8px;
  color: #15171d;
  display: inline-flex;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  min-width: 40px;
  padding: 0 12px;
}

.blog-pagination a.active,
.blog-pagination a:hover {
  background: #15171d;
  border-color: #15171d;
  color: #fff;
}

.blog-empty {
  background: #fff;
  border: 1px dashed #ccd3df;
  border-radius: 8px;
  color: #667085;
  padding: 34px;
  text-align: center;
}

.blog-detail {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  margin: 0 auto;
  max-width: 940px;
  padding: 34px;
}

.blog-detail-summary {
  color: #4f5868;
  font-size: 18px;
  line-height: 1.6;
  margin: 18px 0 0;
}

.blog-detail-image {
  aspect-ratio: 16 / 8;
  background: #eef1f6;
  border-radius: 8px;
  margin: 28px 0;
  overflow: hidden;
}

.blog-detail-content {
  color: #262b35;
  font-size: 17px;
  line-height: 1.75;
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
  color: #15171d;
  font-weight: 800;
  line-height: 1.25;
  margin: 28px 0 12px;
}

.blog-detail-content p,
.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 18px;
}

.blog-detail-content ul,
.blog-detail-content ol {
  list-style-position: outside;
  padding-left: 24px;
}

.blog-detail-content ul {
  list-style-type: disc;
}

.blog-detail-content ol {
  list-style-type: decimal;
}

.blog-detail-content img {
  border-radius: 8px;
  height: auto;
  max-width: 100%;
}

.blog-detail-content a {
  color: #0f766e;
  font-weight: 700;
}

.blog-related {
  margin: 34px auto 0;
  max-width: 940px;
}

@media (max-width: 991px) {
  .blog-list-head,
  .blog-layout {
    display: block;
  }

  .blog-search {
    margin-top: 18px;
  }

  .blog-sidebar {
    margin-top: 24px;
    position: static;
  }
}

@media (max-width: 767px) {
  .blog-list-wrap,
  .blog-detail-wrap {
    padding: 24px 0 44px;
  }

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

  .blog-detail {
    padding: 22px;
  }

  .blog-detail-image {
    aspect-ratio: 4 / 3;
  }
}
