.rh-blog {
  padding: 50px 20px 70px;
  background: #f7f8f8;
}

.rh-blog__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 38px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.rh-blog__list {
  min-width: 0;
}

.rh-post-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid #f0ccd5;
  border-radius: 14px;
  background: #fff;
}

.rh-post-card__thumb {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 9px;
  background: #f7e7eb;
}

.rh-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.rh-post-card__thumb:hover img {
  transform: scale(1.03);
}

.rh-post-card__placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: #e77c9a;
  font-family: Georgia, serif;
  letter-spacing: .12em;
}

.rh-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: #777;
  font-size: 13px;
}

.rh-post-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rh-post-card__cats span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #a9d8cf;
  color: #fff;
  line-height: 1.4;
}

.rh-post-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.55;
}

.rh-post-card h3 a {
  color: #e96f91;
  text-decoration: none;
}

.rh-post-card__excerpt {
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

.rh-post-card__excerpt p {
  margin: 0;
}

.rh-blog__side section {
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid #f0ccd5;
  border-radius: 12px;
  background: #fff;
}

.rh-blog__side h3 {
  margin: 0;
  padding: 13px 16px;
  background: #ed7d9b;
  color: #fff;
  font-size: 16px;
}

.rh-blog__side ul {
  margin: 0;
  padding: 8px 16px 12px;
  list-style: none;
}

.rh-blog__side li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  line-height: 1.6;
}

.rh-blog__side li:last-child {
  border-bottom: 0;
}

.rh-blog__side a {
  color: #555;
  text-decoration: none;
}

.rh-blog__side time {
  display: block;
  margin-bottom: 3px;
  color: #e77c9a;
  font-size: 12px;
}

.rh-blog__pager,
.rh-blog__pager .wp-pagenavi,
.rh-blog__pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.rh-blog__pager a,
.rh-blog__pager span {
  display: grid;
  min-width: 38px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #ed7d9b;
  border-radius: 8px;
  place-items: center;
  color: #e56488;
  text-decoration: none;
}

.rh-blog__pager .current {
  background: #ed7d9b;
  color: #fff;
}

@media (max-width: 767px) {
  .rh-blog {
    padding: 28px 15px 42px;
  }

  .rh-blog__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .rh-post-card {
    display: block;
    margin-bottom: 18px;
    padding: 14px;
  }

  .rh-post-card__thumb {
    margin-bottom: 16px;
    aspect-ratio: 16 / 10;
  }

  .rh-post-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .rh-post-card__excerpt {
    font-size: 14px;
    line-height: 1.85;
  }

  .rh-blog__side {
    display: grid;
    gap: 18px;
  }

  .rh-blog__side section {
    margin: 0;
  }
}

.rh-article {
  overflow: hidden;
  padding: 34px 38px 42px;
  border: 1px solid #f0ccd5;
  border-radius: 14px;
  background: #fff;
}

.rh-article__header {
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #efcbd4;
}

.rh-article__header h1 {
  margin: 0;
  color: #e96f91;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.55;
}

.rh-article__body {
  color: #444;
  font-size: 15px;
  line-height: 2;
}

.rh-article__body p {
  margin: 0 0 1.6em;
}

.rh-article__body img,
.rh-article__body video,
.rh-article__body iframe {
  max-width: 100%;
  height: auto;
}

.rh-article__body img {
  display: block;
  margin: 28px auto;
  border-radius: 10px;
}

.rh-article__body h2,
.rh-article__body h3,
.rh-article__body h4 {
  clear: both;
  color: #e96f91;
  line-height: 1.65;
}

.rh-article__body h2 {
  margin: 42px 0 20px;
  padding: 12px 16px;
  border-left: 5px solid #ed7d9b;
  background: #fbeef2;
  font-size: 22px;
}

.rh-article__body h3 {
  margin: 34px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1ccd6;
  font-size: 19px;
}

.rh-article__share {
  margin-top: 34px;
}

.rh-article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.rh-article-nav__item {
  min-height: 72px;
  padding: 11px 15px 12px;
  border: 1px solid #f0ccd5;
  border-radius: 12px;
  background: #fff;
  color: #555;
  text-decoration: none;
}

.rh-article-nav__item--next {
  text-align: right;
}

.rh-article-nav__item span,
.rh-article-nav__item strong {
  display: block;
}

.rh-article-nav__item span {
  margin-bottom: 3px;
  color: #e96f91;
  font-size: 12px;
}

.rh-article-nav__item strong {
  font-size: 14px;
  line-height: 1.45;
}

.rh-article__back {
  margin: 28px 0 0;
  text-align: center;
}

.rh-article__back a {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #ed7d9b;
  border-radius: 999px;
  color: #e56488;
  text-decoration: none;
}

@media (max-width: 767px) {
  .rh-article {
    padding: 24px 18px 30px;
  }

  .rh-article__header {
    margin-bottom: 24px;
    padding-bottom: 17px;
  }

  .rh-article__header h1 {
    font-size: 22px;
  }

  .rh-article__body {
    font-size: 15px;
    line-height: 1.9;
  }

  .rh-article__body h2 {
    margin-top: 34px;
    font-size: 19px;
  }

  .rh-article__body h3 {
    font-size: 18px;
  }

  .rh-article-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .rh-article-nav__item {
    min-height: 68px;
    padding: 9px 10px 10px;
  }

  .rh-article-nav__item strong {
    font-size: 12px;
    line-height: 1.4;
  }
}
