/* General recent updates: repeating four-stage pink rows. */
.general-recent-updates.post-list-small {
  padding: 0;
  border: 0;
}

.general-recent-updates .item-list > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.general-recent-updates.post-list-small .item-list > ul > li {
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  background: #ffffff;
}

.general-recent-updates .item-list > ul > li:nth-child(4n + 2) {
  background: #ffe2e2;
}

.general-recent-updates .item-list > ul > li:nth-child(4n + 3) {
  background: #ffcccc;
}

.general-recent-updates .item-list > ul > li:nth-child(4n) {
  background: #cc9999;
}

.general-recent-updates.post-list-small .post-block {
  display: flex;
  align-items: stretch;
  height: calc(200px * 295 / 440);
  margin: 0;
  direction: ltr;
  background: transparent;
}

.general-recent-updates.post-list-small .post-block::before,
.general-recent-updates.post-list-small .post-block::after {
  display: none;
}

/* Twice the original 100px thumbnail width; retain its aspect ratio. */
.general-recent-updates.post-list-small .post-block .post-image {
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
  float: none;
  margin: 0;
}

.general-recent-updates.post-list-small .post-block .post-image img {
  display: block;
  width: 100%;
  height: calc(200px * 295 / 440);
  object-fit: cover;
}

.general-recent-updates.post-list-small .post-block .post-content {
  flex: 1;
  min-width: 0;
  padding: 6px;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  direction: rtl;
  text-align: center;
  overflow-wrap: anywhere;
}

.general-recent-updates .post-block .post-title a,
.general-recent-updates .post-block .post-meta {
  color: #222222;
}

@media (min-width: 992px) {
  .general-recent-updates .item-list > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Keep long titles compact so text does not enlarge the thumbnail-height row. */
.general-recent-updates.post-list-small .post-block .post-title,
.general-recent-updates.post-list-small .post-block .post-title a {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.general-recent-updates.post-list-small .post-block .post-meta,
.general-recent-updates.post-list-small .post-block .post-meta span,
.general-recent-updates.post-list-small .post-block .post-meta time {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
  margin: 0;
}

.general-recent-updates.post-list-small .post-block .post-title {
  margin-block: auto 0;
  flex-shrink: 0;
}

.general-recent-updates.post-list-small .post-block .post-meta {
  margin-block-end: auto;
  flex-shrink: 0;
}
