/* Card List Container */
.ch--post-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Card */
.ch--post {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 8px 40px rgba(44, 62, 80, 0.08);
  border: 1px solid transparent;
  overflow: hidden;
  width: 350px;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}
.ch--post--clickable {
  border: 1px solid transparent;
}
.ch--post--clickable:hover {
  box-shadow: 0 16px 64px rgba(44, 62, 80, 0.22);
  border: 1px solid transparent;
}

/* Feature Image */
.ch--post--feature-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

/* Card Content */
.ch--post--content {
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Tag List */
.ch--post--tag-list {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ch--post--pill {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 1.5rem;
  padding: 0.6rem 1.3rem;
  display: inline-block;
}

.ch--post--pill--topic {
  background: var(--color-tomato);
}

.ch--post--pill--type {
    border: 1px solid var(--color-tomato);
    color: var(--color-tomato);
}

/* Title */

.ch--post--title h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #222;
}

/* Description */

.ch--post--description p {
  font-size: 1.6rem;
  color: #555;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
}

/* Action Button */
.ch--post--action {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
}
.ch--post--button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--color-tomato);
    border: 2px solid var(--color-tomato);
    border-radius: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.ch--post--button:hover {
  background: var(--color-tomato);
  color: #fff;
}

/* Button Icon (generic, can be replaced with SVG or font icon) */
.ch--post--button-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23f16642" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M12 8v4l2 2"/></svg>') center/contain no-repeat;
}
.ch--post--button--video .ch--post--button-icon {
  background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23f16642" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><polygon points="10,8 16,12 10,16"/></svg>') center/contain no-repeat;
}
.ch--post--button--file .ch--post--button-icon {
  background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23f16642" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="8" width="12" height="8" rx="2"/><path d="M12 12v4"/></svg>') center/contain no-repeat;
}

/* Responsive */
@media (max-width: 1100px) {
  .ch--post-list {
    gap: 1rem;
  }
  .ch--post {
    width: 100%;
    min-width: 260px;
    max-width: 400px;
  }
}
@media (max-width: 800px) {
  .ch--post-list {
    flex-direction: column;
    align-items: center;
  }
  .ch--post {
    width: 100%;
    min-width: 220px;
    max-width: 100%;
  }
}
/* Converted from SCSS to plain CSS */
.section {
    padding: 48px 0;
}

.content-hub-trending-post-list {
  background-color: #f7f9ff;
}

.ch--post--feature-image {
    background-color: #ebeff4;
    background-size: cover;
    height: 175px;
    margin: -3px -3px 0;
}

.ch-trending-post-list--section-heading {
  text-align: center;
  margin-bottom: 23px;
}
.ch-trending-post-list--section-heading p {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
}
.ch--post {
  border: 0;
  box-shadow: 0 8px 46px rgba(0, 0, 0, 0.06);
}
.ch--post:hover .ch--post--feature-image {
  margin: -3px -3px 0 -3px;
}

.ch--post--clickable {
  position: relative;
  transform: rotate(0deg);
}

.ch--post--clickable:hover {
    transform: scale(1.02);
    box-shadow: 0px 9px 25px 0px rgba(167, 199, 201, 1);
}

.ch--post--clickable .ch--post--action > a::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
@media (min-width: 768px) {
  .ch-trending-post-list--section-heading {
    margin-bottom: 72px;
  }
}
