.wcpi-related-posts-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.wcpi-related-posts-header {
  text-align: center;
  margin-bottom: 36px;
}
.wcpi-related-posts-label {
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.4;
  opacity: .95;
  margin-bottom: 12px;
}
.wcpi-related-posts-title {
  color: #FFFFFF;
  font-size: 66px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 18px;
}
.wcpi-related-posts-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1.55;
  opacity: .95;
}
.wcpi-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.wcpi-related-card {
  background: #081B3A;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.wcpi-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}
.wcpi-related-card-thumb {
  display: block;
  aspect-ratio: 390 / 260;
  background: #0a1d39;
  overflow: hidden;
}
.wcpi-related-card-thumb-img,
.wcpi-related-card-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wcpi-related-card-thumb-placeholder {
  background: linear-gradient(180deg, #10264a 0%, #081b3a 100%);
}
.wcpi-related-card-body {
  padding: 22px 20px 20px;
}
.wcpi-related-card-category {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.wcpi-related-card-title {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}
.wcpi-related-card-title a {
  color: #FFFFFF;
  text-decoration: none;
}
.wcpi-related-card-excerpt {
  color: #BFC9D7;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.wcpi-related-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.wcpi-related-card-avatar {
  width: 42px;
  flex: 0 0 42px;
}
.wcpi-related-card-avatar-img,
.wcpi-related-card-avatar .avatar,
.wcpi-related-avatar-initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wcpi-related-card-avatar-img,
.wcpi-related-card-avatar .avatar {
  display: block;
}
.wcpi-related-avatar-initials {
  color: #041533;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}
.wcpi-related-avatar-gold { background: linear-gradient(135deg, #d8c18a, #f2e6b3); }
.wcpi-related-avatar-blue { background: linear-gradient(135deg, #6fa8dc, #9fc5e8); }
.wcpi-related-avatar-purple { background: linear-gradient(135deg, #8e7cc3, #b4a7d6); }
.wcpi-related-avatar-teal { background: linear-gradient(135deg, #76a5af, #a2c4c9); }
.wcpi-related-avatar-rose { background: linear-gradient(135deg, #c27ba0, #d5a6bd); }
.wcpi-related-card-author {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}
.wcpi-related-card-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #D9E1EC;
  font-size: 12px;
  line-height: 1.3;
}
.wcpi-related-card-dot {
  opacity: .9;
}
.wcpi-related-posts-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.wcpi-related-posts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 1px solid rgba(255,255,255,0.65);
  color: #FFFFFF;
  text-decoration: none;
  line-height: 1;
  transition: all .25s ease;
}
.wcpi-related-posts-button:hover {
  background: rgba(255,255,255,0.05);
}
@media (max-width: 1024px) {
  .wcpi-related-posts-title {
    font-size: 50px;
  }
  .wcpi-related-posts-subtitle {
    font-size: 18px;
  }
  .wcpi-related-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .wcpi-related-posts-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .wcpi-related-posts-title {
    font-size: 38px;
  }
  .wcpi-related-posts-subtitle {
    font-size: 16px;
  }
  .wcpi-related-posts-grid {
    grid-template-columns: 1fr;
  }
}
