.p-posts__list-item {
  display: flex;
  align-items: stretch;
}

.p-posts__list-item-inner {
  width: 100%;
  box-shadow: var(--v-shadow-default);
  border-radius: var(--v-border-radius-md);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--v-color-1);
}

/*
.p-posts__list-item-inner:hover {
  transform: scale(1.05);
}
*/

.p-posts__list-item h2 strong {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
  background-color: var(--v-color-3);
  color: var(--v-color-2);
  border-radius: var(--v-border-radius-sm);
}

.p-posts__list-item-image {
  display: flex;
  aspect-ratio: 400 / 250;
  position: relative;
  z-index: 10;
}

.p-posts__list-item-image--resume {
  aspect-ratio: 400 / 500;
  padding: 1rem 1rem 0 1rem;
}

.p-posts__list-item-image img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.p-posts__list-item-image--resume img {
  object-fit: contain;
}

.p-posts__list-item-details {
  padding: var(--v-layout-container-padding);
  position: relative;
  z-index: 20;
}

.p-posts__list-item-date {
  width: 4.5rem;
  aspect-ratio: 1 / 1;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--v-font-weight-bold);
  background-color: var(--v-color-3);
  color: var(--v-color-2);
  font-size: 90%;
  border-radius: 50%;
  margin: 0 auto;
  border: 5px solid var(--v-color-2);
}

.p-posts__list-item-inner.has-image .p-posts__list-item-date {
  margin-top: -3.5rem;
}

.p-posts__list-item-categories {
  padding: 1rem 0;
  text-align: center;
  color: var(--v-color-3);
}

.p-posts__list-item-categories a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--v-color-3);
}

.p-posts__list-item-categories a:hover {
  color: var(--v-color-1);
}

.p-posts__list-item-details h3 a {
  text-decoration: none;
}

.p-posts__list-item-details h3 a:hover {
  color: var(--v-color-3);
}

.p-posts__list-item-excerpt {
  font-size: 90%;
  line-height: 1.3;
}

.p-posts__list-item-files {
  padding-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

@media (min-width: 500px) {
  .p-posts__list-item--resume {
    flex-basis: 50% !important;
  }
}

@media (min-width: 800px) {
  .p-posts__list-item--resume {
    flex-basis: 33.33% !important;
  }
}
