:root {
  --blog-bg: #f7f8fc;
  --blog-surface: #ffffff;
  --blog-text: #222333;
  --blog-subText: #616575;
  --blog-accent: #5a57ff;
  --blog-accentSoft: #ecebff;
  --blog-border: #e5e7f1;
  --blog-shadow: 0 10px 30px rgba(34, 35, 51, 0.08);
}

.blogContainer {
  margin: 0 auto;
  max-width: 100%;
}

.blogMain {
  padding: 36px 0 60px;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: auto;
}

.blogIntro {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--blog-border);
  overflow-wrap: anywhere;
  word-break: normal;
}

.blogEyebrow {
  margin: 0 0 10px;
  color: var(--blog-accent);
  font-size: 14px;
  font-weight: 700;
}

.blogTitle {
  margin: 0 0 16px;
  color: var(--blog-text);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
}

.blogLead {
  margin: 0;
  color: var(--blog-subText);
  font-size: 16px;
  line-height: 1.8;
}

.blogLead + .blogLead {
  margin-top: 12px;
}

.blogGuide {
  margin-bottom: 34px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blogGuideHeading {
  margin-bottom: 18px;
}

.blogGuideTitle {
  margin: 0 0 8px;
  color: var(--blog-text);
  font-size: 24px;
  font-weight: 700;
}

.blogGuideDesc {
  margin: 0;
  color: var(--blog-subText);
  font-size: 15px;
  line-height: 1.7;
}

.blogTopicGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.blogTopicBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 184px;
  padding: 18px 14px;
  border: 1px solid var(--blog-border);
  border-radius: 10px;
  background-color: var(--blog-surface);
  text-align: center;
  box-shadow: 0 8px 20px rgba(34, 35, 51, 0.04);
}

.blogTopicIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--color-purple2);
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(135deg, rgba(111, 77, 196, 0.18), rgba(111, 77, 196, 0.07));
  border-radius: 50%;
}

.blogTopicIcon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.blogTopicBlock h3 {
  margin: 0 0 8px;
  color: var(--blog-text);
  font-size: 18px;
  font-weight: 700;
}

.blogTopicBlock p {
  margin: 0;
  color: var(--blog-subText);
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.blogNotice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--color-purple2) 10%, var(--blog-border));
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(111, 77, 196, 0.08), rgba(255, 255, 255, 0.96));
  color: var(--blog-text);
  font-size: 14px;
  line-height: 1.7;
}

.blogNoticeIcon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--color-purple2);
  font-size: 20px;
  background-color: rgba(111, 77, 196, 0.1);
  border-radius: 50%;
}

.blogSectionHeading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blogSectionTitle {
  margin: 0;
  color: var(--blog-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.blogCount {
  font-size: 14px;
  color: var(--blog-subText);
}

.blogPostList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.blogPostItem {
  background-color: var(--blog-surface);
  border: 1px solid var(--blog-border);
  border-radius: 16px;
  box-shadow: var(--blog-shadow);
  overflow: hidden;
}

.blogPostLink {
  display: block;
  padding: 20px 22px;
}

.blogPostLink:hover {
  background-color: #fafaff;
}

.blogCategory {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--blog-accentSoft);
  color: var(--blog-accent);
  font-size: 12px;
  font-weight: 600;
}

.blogPostTitle {
  margin: 12px 0 6px;
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blogPostExcerpt {
  margin: 0;
  color: var(--blog-subText);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blogPostDate {
  display: block;
  font-size: 13px;
  color: #888ca0;
}

.postArticle {
  background-color: var(--blog-surface);
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  box-shadow: var(--blog-shadow);
  padding: 2rem;
}

.postMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 1.6rem;
}

.postTitle {
  margin: 0 0 12px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: normal;
}

.postLead {
  margin: 0;
  color: var(--blog-subText);
  font-size: 1.8rem;
  line-height: 1.7;
}

.postLead + .postLead {
  margin-top: 16px;
}

.postLeadIntro {
  font-size: 1.6rem;
}

.postContent {
  margin-top: 28px;
}

.postContent img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-l);
  margin-bottom: 2rem;
}

.postContentSection {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--blog-border);
}
.postContent h2 {
  margin: 0 0 0.6rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.postContent h3 {
  margin: 0.8rem 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.45;
}

.postContent p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: normal;
}
.postContent ul {
  list-style: disc;
  padding-left: 2rem;
}
.postContent ul li {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  line-height: 1.75;
}

.postNav {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.postNavLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blog-accent);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.5;
}

.postNavLink:hover {
  text-decoration: underline;
}

.postNavLink.isDisabled {
  color: #9da1b3;
  pointer-events: none;
  text-decoration: none;
}

body[data-page='blog']:not([data-post-id]) .blogEyebrow {
  font-size: 13px;
}

body[data-page='blog']:not([data-post-id]) .blogTitle {
  font-size: var(--size-xl);
  line-height: 1.35;
}

body[data-page='blog']:not([data-post-id]) .blogLead {
  font-size: var(--size-sm);
  line-height: 1.75;
}

body[data-page='blog']:not([data-post-id]) .blogGuideTitle,
body[data-page='blog']:not([data-post-id]) .blogSectionTitle {
  font-size: var(--size-lg);
}

body[data-page='blog']:not([data-post-id]) .blogGuideDesc,
body[data-page='blog']:not([data-post-id]) .blogTopicBlock p,
body[data-page='blog']:not([data-post-id]) .blogPostExcerpt {
  font-size: var(--size-sm);
}

body[data-page='blog']:not([data-post-id]) .blogTopicBlock p {
  font-size: calc(var(--size-sm) - 1px);
}

body[data-page='blog']:not([data-post-id]) .blogTopicBlock h3 {
  font-size: calc(var(--size-base) - 1px);
}

body[data-page='blog']:not([data-post-id]) .blogPostTitle {
  font-size: var(--size-base);
  line-height: 1.45;
}

body[data-page='blog']:not([data-post-id]) .blogNotice,
body[data-page='blog']:not([data-post-id]) .blogCount {
  font-size: var(--size-xs);
}

@media (max-width: 768px) {
  .blogHeader {
    padding-top: 44px;
  }

  .blogTitle {
    font-size: 26px;
  }

  .blogLead {
    font-size: 15px;
  }

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

  .blogPostTitle {
    font-size: 18px;
  }

  .blogPostExcerpt {
    font-size: 15px;
  }

  body[data-page='blog']:not([data-post-id]) .blogTitle {
    font-size: var(--size-lg);
  }

  body[data-page='blog']:not([data-post-id]) .blogLead,
  body[data-page='blog']:not([data-post-id]) .blogPostExcerpt {
    font-size: var(--size-sm);
  }

  body[data-page='blog']:not([data-post-id]) .blogPostTitle {
    font-size: var(--size-base);
  }
}

@media (max-width: 480px) {
  .blogTopicGrid {
    grid-template-columns: 1fr;
  }

  .blogTopicBlock {
    min-height: auto;
  }
}
