/* Scoped portfolio teaser on the homepage — four images, all link to the portfolio page. */

.portfolio-preview {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-align: left;
    margin: 0.75rem 0;
}

.portfolio-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.pp-card-wrap {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pp-card-wrap:hover .pp-card {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-color: rgba(25, 25, 25, 0.18);
}

.pp-card-wrap:focus-visible .pp-card {
    outline: 2px solid #554c4c;
    outline-offset: 2px;
}

.pp-card {
    border: 1px solid rgba(25, 25, 25, 0.1);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.pp-card-img {
    display: block;
    width: 100%;
    height: 92px;
    object-fit: cover;
    object-position: center;
}
