.gpw-post:not(.gpw-post--horizontal) .gpw-post__thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 5/3;
  margin-bottom: 0.9375rem;
}
.gpw-post .gpw-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gpw-post .gpw-post__title a {
  color: var(--text-color);
  transition: color 200ms ease-in-out;
}
.gpw-post .gpw-post__title a:hover {
  color: var(--primary-medium);
}
.gpw-post .gpw-post__meta {
  list-style: none;
  display: flex;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-darker);
  margin-bottom: 0.625rem;
}
.gpw-post .gpw-post__meta .gpw-post__meta-item {
  margin: 0;
}
.gpw-post .gpw-post__meta .gpw-post__meta-item a {
  color: inherit;
  transition: color 200ms ease-in-out;
}
.gpw-post .gpw-post__meta .gpw-post__meta-item a:hover {
  color: var(--primary-medium);
}
.gpw-post.gpw-post--horizontal {
  display: grid;
  grid-template-columns: var(--_thumbnail-width, 40%) minmax(0, 1fr);
  gap: 1.25rem;
}
.gpw-post.gpw-post--horizontal .gpw-post__thumbnail {
  aspect-ratio: 3/2;
  border-radius: 0.5rem;
  overflow: hidden;
}
.gpw-post.gpw-post--horizontal .gpw-post__content {
  align-self: center;
}

.gpw-single-post {
  padding-block: clamp(1.25rem, 4cqi, 3rem) 5rem;
}
.gpw-single-post .section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
}
.gpw-single-post .gpw-single-post__title, .gpw-single-post .comment-reply-title {
  font-family: var(--heading-font);
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--primary-medium);
  margin-bottom: 0.9375rem;
}
.gpw-single-post .gpw-single-post__header, .gpw-single-post .gpw-single-post__post-content, .gpw-single-post .gpw-related-posts:has(+ .gpw-single-post__comment-form) {
  margin-bottom: 1.875rem;
}
.gpw-single-post .gpw-single-post__meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-darker);
}
.gpw-single-post .gpw-single-post__meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.gpw-single-post .gpw-single-post__meta p {
  margin: 0;
}
.gpw-single-post .gpw-single-post__share-btns {
  margin-left: auto;
}
.gpw-single-post .gpw-single-post__share-btns .social-icons {
  display: flex;
  gap: 0.3125rem;
}
.gpw-single-post .gpw-single-post__share-btns .social-icons a {
  margin: 0;
}
.gpw-single-post .gpw-single-post__post-content img, .gpw-single-post .gpw-single-post__post-content figure {
  display: inline-block;
  max-width: 100%;
}
.gpw-single-post .gpw-single-post__post-content ul {
  margin-left: 1.875rem;
}
.gpw-single-post .gpw-single-post__post-content ul li p {
  margin: 0;
}
.gpw-single-post .gpw-single-post__thumbnail {
  margin-bottom: 1.25rem;
}
.gpw-single-post .gpw-single-post__thumbnail img {
  width: 100%;
  height: auto;
}
.gpw-single-post p img {
  margin-bottom: 0.625rem;
}

.gpw-related-posts .section__title {
  margin-inline: 0 auto;
}
.gpw-related-posts .gpw-related-posts__list {
  display: grid;
  grid-template-columns: repeat(var(--_posts-per-row, 1), minmax(0, 1fr));
  gap: 1.25rem;
}

.comment-respond .comment-form {
  margin-inline: 0;
}
.comment-respond .submit {
  margin: 0;
  background-color: var(--primary-medium);
  color: #fff;
  border-radius: 2rem;
}

.gpw-sidebar {
  position: relative;
}
.gpw-sidebar .gpw-sidebar__inner {
  position: sticky;
  top: 5rem;
  z-index: 1;
}
.gpw-sidebar .gpw-widget {
  background-color: #fff;
  padding: 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0.125rem 0.125rem rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1), 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1), 0 0.125rem 1rem rgba(0, 0, 0, 0.1);
}
.gpw-sidebar .gpw-widget .gpw-widget__header {
  margin-bottom: 0.9375rem;
}
.gpw-sidebar .gpw-widget .gpw-widget__title {
  font-size: 1.25rem;
  color: var(--primary-medium);
  text-transform: capitalize;
}
.gpw-sidebar .recent-posts__list {
  list-style: none;
  margin: 0;
}
.gpw-sidebar .gpw-recent-post a {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: 0.9375rem;
}
.gpw-sidebar .gpw-recent-post a:hover .gpw-recent-post__title {
  color: var(--primary-medium);
}
.gpw-sidebar .gpw-recent-post .gpw-recent-post__title {
  align-self: center;
  color: var(--text-color);
  --_font-size: .9375rem;
  --_line-height: 1.4;
  transition: color 200ms ease-in-out;
}
.gpw-sidebar .gpw-category-list {
  margin-bottom: 0;
  list-style: none;
}
.gpw-sidebar .gpw-category-list .gpw-category-list__item a {
  transition: color 300ms ease-in-out;
}
.gpw-sidebar .gpw-category-list .gpw-category-list__item .gpw-category-list__item--active a, .gpw-sidebar .gpw-category-list .gpw-category-list__item .gpw-category-list__item:hover a {
  color: var(--primary-medium);
}

@media screen and (min-width: 550px ) {
  .gpw-single-post .gpw-single-post__title, .gpw-single-post .comment-reply-title {
    font-size: 2rem;
  }
  .gpw-related-posts {
    --_posts-per-row: 2;
  }
}
@media screen and (min-width: 850px) {
  .gpw-single-post .gpw-single-post__title, .gpw-single-post .comment-reply-title {
    font-size: 2.5rem;
  }
  .gpw-single-post .section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(25%, 15.625rem);
  }
  .gpw-related-posts {
    --_posts-per-row: 4;
  }
}