.wp-posts-list {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .wp-posts-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .wp-posts-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ckc-wp-post {
  position: relative;
  display: block;
  min-height: 430px;
  container-type: inline-size;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.ckc-wp-post-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.ckc-wp-post-bg,
.ckc-wp-post-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ckc-wp-post-bg-placeholder {
  background: #e8e8e8;
}

.ckc-wp-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: all 0.6s ease;
  display: flex;
  align-items: flex-end;
  padding: 0;
  padding-right: 20px;
}

.ckc-wp-post:hover .ckc-wp-post-overlay {
  background: linear-gradient(180deg, rgba(218, 180, 157, 0) 0%, #dab49d 100%);
}

.ckc-wp-post-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  gap: 15px;
  margin-left: 30px;
  margin-bottom: 50px;
  padding: 20px 24px;
  border-radius: 100px;
  max-width: 530px;
  height: auto;
  transition: all 0.6s ease;
}

.ckc-wp-post:hover .ckc-wp-post-content {
  margin-bottom: 70px;
  margin-left: 30px;
}

.ckc-wp-post-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ckc-wp-post-title {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 4cqi, 22px);
  line-height: 110%;
  color: #0d3f60;
  overflow-wrap: break-word;
}

.ckc-wp-post-excerpt {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #0d3f60;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ckc-wp-post-excerpt p {
  margin: 0 0 0.25em 0;
}

.ckc-wp-post-excerpt p:last-child {
  margin-bottom: 0;
}

.ckc-wp-post-link {
  font-weight: 600;
  font-size: 14px;
  color: #0d3f60;
}

@media (max-width: 1680px) {
  .ckc-wp-post-content {
    margin-left: 1rem;
  }

  .ckc-wp-post:hover .ckc-wp-post-content {
    margin-left: 1rem;
  }
}

@media (max-width: 768px) {
  .ckc-wp-post {
    min-height: 280px;
  }

  .ckc-wp-post-content {
    margin-left: 1rem;
    margin-bottom: 20px;
    padding: 16px 20px;
  }

  .ckc-wp-post:hover .ckc-wp-post-content {
    margin-bottom: 30px;
    margin-left: 1rem;
  }

  .ckc-wp-post-excerpt {
    font-size: 13px;
  }
}
