body.blog-page {
  background: #fbf6ef;
}

body.blog-page::before {
  display: none;
}

body.blog-page--detail {
  background: #fbf6ef;
}

.blog-page .site-header {
  position: sticky;
}

.blog-page-main {
  padding: 34px 0 86px;
}

.blog-page-wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

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

.blog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 13px;
}

.blog-breadcrumbs a {
  color: #1d4ed8;
}

.blog-intro h1,
.blog-article-header h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 28px;
  line-height: 1.08;
}

.blog-intro p {
  max-width: 760px;
  color: #4b5563;
  font-size: 17px;
}

.blog-group {
  margin-top: 34px;
}

.blog-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.blog-group__head h2 {
  position: relative;
  margin: 0;
  color: #111827;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

.blog-group__head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: #7ca8ff;
}

.blog-group__view {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.blog-group__view:hover {
  text-decoration: underline;
}

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

.blog-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border: 1px solid #dde3ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.blog-post-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #e9eef7;
  overflow: hidden;
}

.blog-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.blog-post-card:hover .blog-post-card__media img {
  transform: scale(1.03);
}

.blog-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 14px 16px;
}

.blog-post-card__title {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.blog-post-card__title a {
  color: #1d4ed8;
}

.blog-post-card__title a:hover {
  text-decoration: underline;
}

.blog-post-card__meta {
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.blog-post-card__meta .blog-post-card__meta-sep {
  margin: 0 6px;
  color: #9ca3af;
}

.blog-post-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  min-height: 76px;
  margin: 0 0 16px;
  color: #374151;
  font-size: 15px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-post-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 14px;
  border: 1px solid #1d4ed8;
  border-radius: 6px;
  color: #1d4ed8;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.blog-post-card__button:hover {
  color: #fff;
  background: #1d4ed8;
}

.blog-article-shell {
  width: min(980px, 92%);
  margin: 0 auto;
  padding: 36px 0 86px;
}

.blog-page--detail .blog-article-shell {
  width: min(1320px, 94%);
}

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

.blog-article-main-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  padding: 26px 20px 30px;
}

.blog-article-header {
  margin-bottom: 22px;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: #6b7280;
  font-size: 14px;
}

.blog-article-meta strong {
  color: #111827;
  font-weight: 700;
}

.blog-article-feature {
  margin: 18px 0 20px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
}

.blog-article-feature img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-article-body {
  border: 1px solid #dde3ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  padding: 28px;
}

.blog-page--detail .blog-article-body {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.blog-page--detail .blog-article-feature {
  margin: 0 0 20px;
  border: 0;
  border-radius: 0;
}

.blog-article-body p,
.blog-article-body li {
  color: #374151;
  font-size: 16px;
  line-height: 1.82;
}

.blog-article-body p + p {
  margin-top: 16px;
}

.blog-article-body h2 {
  margin: 34px 0 14px;
  color: #111827;
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.blog-article-body h3 {
  margin: 24px 0 10px;
  color: #111827;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.blog-article-body a {
  color: #1d4ed8;
  text-decoration: none;
}

.blog-article-body a:hover {
  text-decoration: underline;
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 16px 0 0 22px;
}

.blog-article-body li + li {
  margin-top: 10px;
}

.blog-article-intro {
  font-size: 17px;
}

.blog-article-toc {
  margin: 22px 0 26px;
  padding: 22px 22px 22px 26px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fbff;
}

.blog-article-toc h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 22px;
}

.blog-article-toc ol {
  margin: 0 0 0 22px;
}

.blog-article-toc a {
  color: #1d4ed8;
}

.blog-article-toc a[data-active="true"] {
  color: #0f172a;
  font-weight: 700;
  text-decoration: underline;
}

.blog-article-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid #1d4ed8;
  border-radius: 8px;
  background: #eff6ff;
}

.blog-article-note p {
  margin: 0;
}

.blog-inline-figure {
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
}

.blog-inline-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-inline-figure figcaption {
  padding: 10px 14px;
  color: #6b7280;
  font-size: 13px;
  background: #f8fafc;
}

.blog-detail-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  height: 4px;
  background: #1d4ed8;
  transform: scaleX(0);
  transform-origin: left center;
}

.blog-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.blog-faq-list details {
  border: 1px solid #dde3ee;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}

.blog-faq-list summary {
  cursor: pointer;
  color: #111827;
  font-weight: 700;
}

.blog-faq-list details p {
  margin-top: 10px;
}


.blog-article-sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 18px;
}

.blog-sidebar-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.blog-sidebar-card__body {
  padding: 20px;
}

.blog-sidebar-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  line-height: 1.35;
}

.blog-sidebar-card p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.blog-sidebar-form__grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.blog-sidebar-form__grid input,
.blog-sidebar-form__grid select,
.blog-sidebar-form__grid textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 14px;
}

.blog-sidebar-form__grid textarea {
  min-height: 110px;
  resize: vertical;
}

.blog-sidebar-form__grid button {
  min-height: 44px;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.blog-sidebar-form__grid button:hover {
  background: #163db3;
  border-color: #163db3;
}

.blog-sidebar-head {
  padding: 18px 20px 16px;
  background: #2f7ecf;
  color: #fff;
}

.blog-sidebar-head h3 {
  margin: 0;
  color: #fff;
}

.blog-sidebar-link-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 14px;
}

.blog-sidebar-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dde5f0;
  border-radius: 8px;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  background: #fff;
}

.blog-sidebar-link-list a::after {
  content: "\203A";
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
}

.blog-sidebar-link-list a:hover {
  color: #1d4ed8;
  border-color: #bfd3fb;
}

.blog-sidebar-posts {
  display: grid;
  gap: 14px;
  padding: 18px 20px 20px;
}

.blog-sidebar-post {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #111827;
}

.blog-sidebar-post img {
  width: 86px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-sidebar-post span {
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.blog-sidebar-post:hover span {
  color: #1d4ed8;
}

.blog-sidebar-post + .blog-sidebar-post {
  padding-top: 14px;
  border-top: 1px solid #e5eaf2;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-page--detail .blog-article-shell {
    width: min(1000px, 94%);
  }

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

  .blog-article-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .blog-page-main,
  .blog-article-shell {
    padding-top: 24px;
    padding-bottom: 70px;
  }

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

  .blog-group__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-post-card__excerpt {
    min-height: 0;
  }

  .blog-article-body {
    padding: 20px;
  }

  .blog-article-body h2 {
    font-size: 25px;
  }

  .blog-article-body h3 {
    font-size: 20px;
  }
}
