.top-posts-block {
  height: 100%;
  width: 100%;
  background: #ffffff;
  padding: 4rem 2rem 4rem;
  box-sizing: border-box; 
}

.top-posts-block .wrapper {
  display: grid;
  grid-template-columns: 30% 70%;
  margin: 0 auto;
  max-width: 1120px;
}

.top-posts-block .single-post {
  display: grid;
  grid-template-columns: 272px 50%;
  width: 100%;
  padding-left: 2rem;
  box-sizing: border-box;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.top-posts-block .single-post .image {
  width: 100%;
  position: relative;
}

.top-posts-block .single-post .image p.meta-date {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 1rem 13px;
  box-sizing: border-box;
  background: rgba(0,0,0,0.5);
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  text-align: center;
}

.top-posts-block .single-post .image > img {
  width: 272px;
  height: 272px;
  object-fit: cover;
}

.top-posts-block .single-post .details {
  width: 100%;
  height: 100%;
  margin-left: 2rem;
}

.top-posts-block .single-post .details h3 {
  font-size: 24px;
  font-family: 'Vidaloka-Regular'; 
  line-height: 1.2;
  font-weight: 400; 
  color: #2b2c26;
  margin-bottom: 1rem;
  border-bottom: 1px solid #efedf3;
  padding-bottom: 1rem;
}

.top-posts-block .single-post .details .content p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
}

.top-posts-block .single-post .details a.cta-button {
  font-family: 'Lato', sans-serif;
  background-color: transparent;
  padding-top: 16px;
  padding-left: 36px;
  padding-right: 36px;
  padding-bottom: 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #b5a167;
  border-right-color: #b5a167;
  border-bottom-color: #b5a167;
  border-left-color: #b5a167;
  border-radius: 0;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-property: all;
  color: #010101;
  display: block;
  margin-top: 25px;
}

.top-posts-block .single-post .details a.cta-button:hover {
  text-decoration: none;
  background: #bcbcbc;
  color: #ffffff;
}

/* --- */
.top-posts-block .top-posts {
  border-right: 10px solid #efedf3;
  padding-right: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

.top-posts-block .top-posts h3 {
  font-size: 34px;
  font-family: 'Vidaloka-Regular'; 
  line-height: 1.2;
  font-weight: 400; 
  color: #2b2c26;
  margin-bottom: 2rem;
  text-align: right;
}

.top-posts-block .top-posts .post {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0;
}

.top-posts-block .top-posts .post:last-of-type {
  margin-bottom: 0;
}

.top-posts-block .top-posts .post p.meta-date {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #95949e;
  margin-bottom: 6px;
  font-weight: 400;
}

.top-posts-block .top-posts .post .meta-stars {
  margin: 0px 0;
}

.top-posts-block .top-posts .post .meta-stars span.star {
  font-size: 25px;
  color:#b62121;
}

.top-posts-block .top-posts .post a {
  text-decoration: none;
  color: #b5a167;
  text-align: right;
}

.top-posts-block .top-posts .post a > p.post-title {
  font-family: Lato; 
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: #b5a167;
}

@media only screen and (max-width: 1024px) {
  .top-posts-block .wrapper { 
    grid-template-columns: 100%; 
    max-width: 100%;
  }

  .top-posts-block .top-posts {
    border-right: none;
    padding-right: 0;  
    padding-bottom: 0;
  }

  .top-posts-block .top-posts .post { 
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 0;
  }
  .top-posts-block .top-posts .post a > p.post-title,
  .top-posts-block .top-posts h3 {
    text-align: left;
  }
  .top-posts-block .single-post {
    display: flex;
    flex-direction: column; 
    width: 100%;
    padding-left: 0rem;
    box-sizing: border-box;
    padding-top: 0rem;
    padding-bottom: 0rem;
    margin-top: 2rem;
  }
  .top-posts-block .single-post .details {
    width: 100%;
    height: 100%;
    margin-left: 0;
    margin-top: 1rem;
  }

  .top-posts-block .top-posts {
    padding-top: 0;
  }

  .top-posts-block .single-post .image {
    width: fit-content;
  }


}

@media only screen and (max-width: 768px) {
  .top-posts-block {
    padding: 1rem 2rem 2rem;
  }
  body.single .top-posts-block {
    padding: 2rem 0;
  }
  .top-posts-block .single-post .image > img {
    width: 100%;
  }
  .top-posts-block .top-posts h3 {
    margin-bottom: 1rem;
  }
  body.page .top-posts-block .wrapper {
    margin-top: 0rem;
  }
}

/* EDITOR */
.block-editor-block-list__block .top-posts-block {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
} 
