.post-card {
    position: relative;
    padding: 0;
    cursor: pointer;
}

.post-card__stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}

.post-card:has(.job-card),
.post-card:has(.team-card) {
    text-align: left;
    background-color: transparent;
}

.post-card:has(.team-card) {
    padding-top: 0;
}

.post-card__content.job-card .wp-block-buttons,
.post-card__content.team-card .wp-block-buttons {
    justify-content: flex-start;
}

.post-card__inner.type-team {
    padding: 0;
    border-top: 0;
}

.post-card__inner.type-team .post-card__image {
    width: calc(100% + 12px);
    border-top-left-radius: var(--wp--preset--border-radius--sm);
    border-top-right-radius: var(--wp--preset--border-radius--sm);
    left: -6px;
    position: relative;
}

.post-card__inner.type-team .titles p {
    margin-top: 0;
}

.post-card__inner.type-team .post-card__content.team-card {
    padding: var(--wp--custom--global--spacing--padding--background);
}

.post-card .post-card__content.job-card,
.post-card .post-card__content.team-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: 0;
}

.post-card__inner.team .team-meta a {
    position: relative;
    z-index: 20;
}

.post-card .post-card__content.job-card h3 {
    color: var(--secondary);
    font-weight: normal;
}

.job-meta,
.team-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.job-meta__item,
.team-meta__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.job-meta__icon {
    color: var(--primary);
    flex-shrink: 0;
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-card .post-card__inner {
    flex: 1;
}