.blog-body {
  background-color: #F8FAFB;
}

.blog-main {
  max-width: 84rem;
  margin: 0 auto;
  padding: 10rem 2.4rem 6.4rem;
}

/* Breadcrumb */
.blog-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 1.2rem;
  color: #677B93;
  margin-bottom: 3.2rem;
}

.blog-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 0.4rem;
}

.blog-breadcrumb a {
  color: #48B7CE;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-breadcrumb a:hover {
  color: #1B3359;
}

/* Article */
.blog-article {
  background: #FFF;
  border-radius: 1.6rem;
  padding: 4.8rem;
  box-shadow: 0 0.2rem 0.8rem rgba(27, 51, 89, 0.06);
}

.blog-article__header {
  margin-bottom: 3.2rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid #E8ECF0;
}

.blog-article__category {
  display: inline-block;
  padding: 0.4rem 1.6rem;
  background: linear-gradient(90deg, #f65a7a 0%, #89a8d8 50%, #3ac0dc 100%);
  color: #FFF;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.blog-article__title {
  font-size: 3.2rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 1.6rem;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 1.3rem;
  color: #677B93;
  margin-bottom: 1.2rem;
}

.blog-article__reading-time {
  color: #48B7CE;
}

.blog-article__author {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: baseline;
  font-size: 1.3rem;
}

.blog-article__author-name {
  font-weight: 700;
}

.blog-article__author-title {
  color: #677B93;
}

.blog-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.blog-article__tag {
  font-size: 1.2rem;
  color: #48B7CE;
  background: rgba(72, 183, 206, 0.1);
  padding: 0.2rem 1rem;
  border-radius: 999px;
}

/* Table of Contents */
.blog-toc {
  background: #F4F6F9;
  border-radius: 1rem;
  padding: 2.4rem 3.2rem;
  margin-bottom: 3.2rem;
}

.blog-toc__title {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: #1B3359;
}

.blog-toc__list {
  counter-reset: toc;
  list-style: none;
}

.blog-toc__item {
  counter-increment: toc;
  margin-bottom: 0.6rem;
}

.blog-toc__item a {
  color: #48B7CE;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-size: 1.4rem;
  line-height: 1.6;
}

.blog-toc__item a:hover {
  color: #1B3359;
}

.blog-toc__item--h3 {
  padding-left: 2rem;
}

/* Article Content */
.blog-article__content {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.08em;
}

.blog-article__content h2 {
  font-size: 2.4rem;
  margin: 4rem 0 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #48B7CE;
  line-height: 1.4;
}

.blog-article__content h3 {
  font-size: 2rem;
  margin: 3.2rem 0 1.2rem;
  padding-left: 1.2rem;
  border-left: 4px solid #EB6581;
  line-height: 1.4;
}

.blog-article__content h4 {
  font-size: 1.8rem;
  margin: 2.4rem 0 1rem;
  font-weight: 700;
}

.blog-article__content p {
  margin-bottom: 1.6rem;
}

.blog-article__content ul,
.blog-article__content ol {
  margin: 1.6rem 0;
  padding-left: 2.4rem;
  list-style: disc;
}

.blog-article__content ol {
  list-style: decimal;
}

.blog-article__content li {
  margin-bottom: 0.6rem;
  line-height: 1.8;
}

.blog-article__content blockquote {
  border-left: 4px solid #48B7CE;
  padding: 1.6rem 2.4rem;
  margin: 2.4rem 0;
  background: #F4F6F9;
  border-radius: 0 0.8rem 0.8rem 0;
  color: #4A5E75;
}

.blog-article__content strong {
  color: #1B3359;
  font-weight: 700;
}

.blog-article__content a {
  color: #48B7CE;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-article__content a:hover {
  color: #1B3359;
}

.blog-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.4rem 0;
  font-size: 1.4rem;
}

.blog-article__content th,
.blog-article__content td {
  border: 1px solid #E8ECF0;
  padding: 1rem 1.6rem;
  text-align: left;
}

.blog-article__content th {
  background: #F4F6F9;
  font-weight: 700;
}

.blog-article__content img {
  border-radius: 0.8rem;
  margin: 2.4rem 0;
}

/* CTA */
.blog-cta {
  margin-top: 4.8rem;
  padding: 4.8rem;
  background: linear-gradient(180deg, rgba(246, 90, 122, 0.08) 0%, rgba(137, 168, 216, 0.08) 50%, rgba(58, 192, 220, 0.08) 100%);
  border-radius: 1.6rem;
  text-align: center;
}

.blog-cta__title {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  line-height: 1.5;
}

.blog-cta__text {
  color: #677B93;
  margin-bottom: 2.4rem;
  font-size: 1.4rem;
}

/* Share */
.blog-share {
  margin-top: 3.2rem;
  padding-top: 3.2rem;
  border-top: 1px solid #E8ECF0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.blog-share__label {
  font-size: 1.4rem;
  font-weight: 700;
  color: #677B93;
}

.blog-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 2rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFF;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-share__link:hover {
  opacity: 0.8;
}

.blog-share__link--x {
  background: #1B3359;
}

.blog-share__link--facebook {
  background: #1877F2;
}

.blog-share__link--linkedin {
  background: #0A66C2;
}

/* Blog Index */
.blog-index {
  max-width: 84rem;
  margin: 0 auto;
  padding: 10rem 2.4rem 6.4rem;
}

.blog-index__title {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 1.6rem;
}

.blog-index__description {
  text-align: center;
  color: #677B93;
  margin-bottom: 4.8rem;
  font-size: 1.6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
  gap: 3.2rem;
}

.blog-card {
  background: #FFF;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0.2rem 0.8rem rgba(27, 51, 89, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 0.4rem 1.6rem rgba(27, 51, 89, 0.12);
  transform: translateY(-0.2rem);
}

.blog-card__body {
  padding: 2.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__category {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 1.2rem;
  background: linear-gradient(90deg, #f65a7a 0%, #89a8d8 50%, #3ac0dc 100%);
  color: #FFF;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.blog-card__title {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
}

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

.blog-card__title a:hover {
  color: #48B7CE;
}

.blog-card__excerpt {
  font-size: 1.3rem;
  color: #677B93;
  line-height: 1.7;
  margin-bottom: 1.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  font-size: 1.2rem;
  color: #9AABBF;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .blog-main,
  .blog-index {
    padding: 20vw 4.2667vw 12.8vw;
  }

  .blog-article {
    padding: 6.4vw;
    border-radius: 2.6667vw;
  }

  .blog-article__title {
    font-size: 5.8667vw;
  }

  .blog-article__content h2 {
    font-size: 4.8vw;
  }

  .blog-article__content h3 {
    font-size: 4.2667vw;
  }

  .blog-cta {
    padding: 6.4vw;
  }

  .blog-cta__title {
    font-size: 4.8vw;
  }

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

  .blog-toc {
    padding: 4.2667vw;
  }

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