.wp-block-post-template {
  li {
    .wp-block-post-title {
      font-size: var(--wp--preset--font-size--inner-section-title);
    }
  }
}

.wp-block-post-date,
.wp-block-group.wp-block-post-meta>div,
.wp-block-post-author-name {
  position: relative;
  @include flex;
  gap: 10px;
  align-items: center;
}

.wp-block-post-date svg,
.wp-block-group.wp-block-post-meta svg,
.wp-block-post-author-name svg {
  width: 15px;
  height: 15px;
}

.wp-block-group.wp-block-post-meta>div:not(:last-child):after {
  content: "";
  background: var(--wp--preset--color--secondary-text-color);
  height: 15px;
  opacity: 0.5;
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.wp-block-group .wp-block-post-excerpt {
  margin-block-start: 1.05rem;
}

.blog-section .wp-block-post-template,
.wp-block-post-template.alignfull {
  gap: var(--wp--custom--spacing--section-heading);
}

.wp-block-post-template figure {
  margin-bottom: var(--wp--custom--spacing--extra-small);
}

figure a,
.wp-block-post-title a {
  padding: 0;
}

.featured-content-section .wp-block-post-template {
  gap: var(--wp--custom--spacing--section-heading);
}

.wp-block-post-meta {
  @include flex;
  align-items: center;
  margin-top: 7.5px;
}

.w-block-widget a {
  font-size: var(--wp--preset--font-size--upper-heading);
}

.wp-block-group.wp-block-post-container {
  margin-top: 0;
  padding: var(--wp--custom--spacing--wp-comment-vertical) var(--wp--custom--spacing--normal);
}

.wp-block-post-meta a {
  font-size: var(--wp--preset--font-size--tiny);
}

.wp-block-columns.wp-block-sidebar-on-left,
.wp-block-columns.wp-block-sidebar-on-right {
  gap: var(--wp--custom--spacing--wp-block-sidebar);
  justify-content: space-between;
}

.featured-content .wp-block-post-excerpt__excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wp-block-post-template.is-layout-grid>li {
  border: 0;
  margin: 0;
  padding: 0;

  .wp-block-columns {
    flex-direction: column;

    .wp-block-post-title {
      font-size: var(--wp--preset--font-size--content-heading);
    }
  }
}

.news-section .wp-block-post .wp-block-columns .wp-block-column:is(:empty) {
  flex: 0 !important;
}

.news-section .wp-block-columns:has(.wp-block-column:empty) {
  gap: 0;

  .wp-block-column:not(:empty) {
    flex-basis: 100% !important;
  }
}