.blog-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.blog-head {
  text-align: center;
  margin-bottom: 36px;
}

.blog-head h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-head p {
  color: #6a7280;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 10px 30px rgba(43, 55, 89, 0.12);
  transform: translateY(-2px);
  border-color: #c4cefe;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: #8091a7;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card__excerpt {
  color: #5c6680;
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-card__more {
  font-weight: 600;
  color: #5a67d8;
  font-size: 0.92rem;
}

.blog-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.blog-article__meta {
  font-size: 0.85rem;
  color: #8091a7;
  margin-bottom: 14px;
}

.blog-article h1 {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
}

.blog-article h2 {
  font-size: 1.45rem;
  font-weight: 600;
  margin: 36px 0 14px;
}

.blog-article h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 26px 0 10px;
}

.blog-article p,
.blog-article li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2f3a4c;
}

.blog-article ul,
.blog-article ol {
  padding-left: 22px;
  margin: 14px 0;
}

.blog-article li {
  margin-bottom: 8px;
}

.blog-article a {
  color: #5a67d8;
  font-weight: 500;
}

.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.98rem;
}

.blog-article th,
.blog-article td {
  border: 1px solid #e5e9f2;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.blog-article th {
  background: #f5f7fb;
  font-weight: 600;
}

.blog-article code {
  background: #f1f3f9;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.92em;
  color: #b5295c;
}

.blog-callout {
  background: #f5f7fb;
  border-left: 4px solid #5a67d8;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 24px 0;
}

.blog-callout p {
  margin: 0;
  font-size: 0.98rem;
}

.blog-related {
  margin-top: 44px;
  border-top: 1px solid #e5e9f2;
  padding-top: 24px;
}

.blog-related h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.blog-related ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-related li {
  margin: 0;
}

.blog-related a {
  display: inline-block;
  border: 1px solid #c4cefe;
  background: #f3f5ff;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.92rem;
  text-decoration: none;
}

.blog-backlink {
  display: inline-block;
  margin-bottom: 22px;
  color: #5a67d8;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.92rem;
}
