.legacy-blog {
  padding: 40px 20px 0;
}

.legacy-blog .inner-content {
  max-width: 1044px;
}

.legacy-blog__article {
  background: #fff;
  padding: 32px;
}

.legacy-blog__header {
  margin-bottom: 24px;
}

.legacy-blog__title {
  color: var(--wp--preset--color--sango-main, #eb6120);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}

.legacy-blog__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legacy-blog__date {
  color: #888;
  font-size: 14px;
}

.legacy-blog__content {
  font-size: 16px;
  line-height: 1.9;
  padding: 0;
}

.legacy-blog__content h2,
.legacy-blog__content h3,
.legacy-blog__content h4 {
  color: var(--wp--preset--color--sango-main, #eb6120);
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 16px;
}

.legacy-blog__content h2 {
  font-size: 24px;
}

.legacy-blog__content h3 {
  font-size: 20px;
  line-height: 1.6;
}

.legacy-blog__content h4 {
  font-size: 18px;
}

.legacy-blog__content--h2-band h2 {
  background: #fff2e0;
  border: 0;
  border-left: 8px solid var(--wp--preset--color--sango-main, #eb6120);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: #2b2b2b;
  padding: 16px 16px 16px 20px;
}

.legacy-blog__content--h2-underline h2 {
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--wp--preset--color--sango-main, #eb6120);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 8px;
}

.legacy-blog__content--h3-left-line h3 {
  background: #fff;
  border: 0;
  border-left: 5px solid var(--wp--preset--color--sango-main, #eb6120);
  color: #2b2b2b;
  padding: 8px 12px;
}

.legacy-blog__content--h3-underline h3 {
  background: transparent;
  border: 0;
  border-bottom: 2px solid #f3c7a8;
  padding: 0 0 6px;
}

.nc-blog-cta {
  background: #fff7ef;
  border: 1px solid #f3c7a8;
  border-radius: 12px;
  margin-top: 48px;
  padding: 32px;
  text-align: center;
}

.nc-blog-cta__title {
  color: #2b2b2b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.nc-blog-cta__text {
  margin: 12px 0 0;
}

.nc-blog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.nc-blog-cta__button {
  align-items: center;
  background: var(--wp--preset--color--sango-main, #eb6120);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
}

.nc-blog-cta__button--line {
  background: #06c755;
}

.legacy-blog__content .nc-blog-cta__button,
.legacy-blog__content .nc-blog-cta__button:hover {
  color: #fff;
  text-decoration: none;
}

.nc-blog-cta__button:hover {
  opacity: 0.8;
}

.legacy-blog__content a {
  color: var(--wp--preset--color--sango-main, #eb6120);
}

.legacy-blog__content a:hover {
  text-decoration: underline;
}

.legacy-blog__post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 42px 0 80px;
}

.legacy-blog__post-nav-item a {
  align-items: center;
  background: var(--wp--preset--color--sango-main, #eb6120);
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 240px;
}

.legacy-blog__post-nav-item--archive a {
  background: #fff;
  border: 1px solid var(--wp--preset--color--sango-main, #eb6120);
  color: var(--wp--preset--color--sango-main, #eb6120);
}

.legacy-blog__post-nav-item a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .legacy-blog {
    padding: 24px 12px 0;
  }

  .legacy-blog__article {
    padding: 24px 16px;
  }

  .nc-blog-cta {
    padding: 24px 16px;
  }

  .nc-blog-cta__title {
    font-size: 20px;
  }

  .nc-blog-cta__button {
    width: 100%;
  }

  .legacy-blog__post-nav {
    gap: 12px;
  }

  .legacy-blog__post-nav-item a {
    font-size: 16px;
    width: 104px;
  }

  .legacy-blog__post-nav-item span {
    display: none;
  }
}
