.blog__wrapper {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .blog__wrapper {
    grid-template-columns: 1fr clamp(
        240px,
        240px + (306 - 240) * ((100vw - 768px) / (1548 - 768)),
        306px
      );
  }
}
.bloglist-header {
}
.blog__articles {
  --grid-max-col-count: 2;
  --grid-min-col-size: 280px;
  --grid-gap: 18px;
  --grid-col-size-calc: calc(
    (100% - var(--grid-gap) * var(--grid-max-col-count)) /
      var(--grid-max-col-count)
  );
  --grid-col-min-size-calc: min(
    100%,
    max(var(--grid-min-col-size), var(--grid-col-size-calc))
  );
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--grid-col-min-size-calc), 1fr)
  );
  gap: 40px var(--grid-gap);
}
.widget-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.1px;

  color: #000102;

  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.pwm-sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pwm-sidebar-post {
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 16px;
}
.pwm-sidebar-post__thumb {
  margin-bottom: 24px;
  display: block;
  aspect-ratio: 306/366;
}
.pwm-sidebar-post__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}
.pwm-sidebar-post__meta time {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #727272;
  margin-bottom: 16px;
}
.pwm-sidebar-post__title {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.1px;

  color: #000102;
  margin-bottom: 16px;
}
.pwm-sidebar-post__title a {
  color: inherit;
  text-decoration: none;
}
.pwm-sidebar-post__excerpt {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.2px;

  color: #373f41;
}

.blog__articles article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog__articles .post-thumbnail {
  margin-bottom: 24px;
}
.blog__articles .post-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 492/382;
  border-radius: 24px;
}

.blog__articles .entry-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.1px;

  color: #000102;
  margin-bottom: 24px;
}
.blog__articles .entry-title a {
  color: inherit;
  text-decoration: none;
}

.blog__articles .entry-summary,
.blog__articles .entry-summary p {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.2px;

  color: #373f41;
}
.blog__articles .entry-meta {
  margin-bottom: 16px;
}
.blog__articles .entry-meta time {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;

  color: #727272;
}
.post__actions {
  margin-top: 24px;
}

.breadcrumbs {
  margin-bottom: 30px;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumbs__item {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;

  color: #5e6b78;

  display: flex;
  align-items: center;
}
.breadcrumbs__item a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs__item:not(:last-child):after {
  content: "/";
  margin: 0 0.5rem;
  color: inherit;
}

.bloglist-header,
.single-post .entry-header {
  margin-bottom: clamp(32px, 3.618vw, 56px);
}
.bloglist-header h1,
.single-post h1 {
  font-weight: 700;
  font-size: clamp(30px, 2.261vw, 35px);
  line-height: 1.2;
  letter-spacing: 0.2px;

  color: #000000;
}

.post-content h2 {
  font-weight: 700;
  font-size: clamp(28px, 2.261vw, 35px);
  line-height: 1.2;
  letter-spacing: 0.2px;

  color: #000000;
  margin-top: 30px;
  margin-bottom: 20px;
}

.post-content ol,
.post-content ul {
  padding-left: 20px;
  margin: 10px 0 20px 0;
}
.post-content ul {
  list-style: disc;
}
.post-content li:not(:last-child) {
  margin-bottom: 10px;
}
.post-content ul ::marker {
  color: var(--accent-color);
  font-size: 18px;
}
.post-content .wp-block-image {
  margin: 20px 0;
}
.post-content .post-thumbnail {
  margin-bottom: 30px;
}
.blog-categories-wrapper {
  margin-bottom: 40px;
}
.blog-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.blog-categories__link {
  display: block;
  border: solid 1px #5e6b78;
  border-radius: 30px;
  padding: 12px 18px;

  font-weight: 600;
  font-size: 14px;
  line-height: 17px;

  color: #5e6b78;
  text-decoration: none;

  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.blog-categories__link.active,
.blog-categories__link:hover {
  background-color: #5e6b78;
  color: #ffffff;
}

.custom-pagination,
.custom-pagination__counter {
  display: flex;
  align-items: center;
}
.custom-pagination {
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: #b0b0b0;
  justify-content: center;
  margin-top: 40px;
  gap: 16px;
}
.custom-pagination .current {
  font-weight: 600;
  color: #333333;
}
.custom-pagination__btn {
  width: 44px;
  height: 44px;
  background-color: #e3edf9;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out;
}
.custom-pagination__btn.is-disabled {
  background-color: #e3edf996;
}
.custom-pagination__btn:not(.is-disabled):hover {
  background-color: #cfe1f7;
}

@media (min-width: 768px) {
  .widget-area {
    transform: translate3d(0, -65px, 0);
  }
}
@media (max-width: 767px) {
  .blog__articles {
    gap: 32px;
  }
  .blog__articles .entry-meta {
    margin-bottom: 12px;
  }
  .blog__articles .entry-title {
    margin-bottom: 18px;
  }
  .post__actions {
    margin-top: 18px;
  }
}
