/* Public Projects page: admin-published showcase entries (BuildEase_JS/public-showcase.js).
   Everything else uses the page's existing pf-* styles; only the photo slideshow frame and the
   optional description are new. */
.projects-page .pf-media-slides {
    position: relative;
    flex: none;   /* the only child of its media box; a 0 basis would collapse it when the box stacks on phones */
    min-width: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--pf-media-bg, #eef2f6);
}

.projects-page .pf-media-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.projects-page .pf-media-slides img.is-active {
    opacity: 1;
}

.projects-page .pf-description {
    margin: 12px 0 0;
    line-height: 1.6;
    white-space: pre-line;
}

@media (prefers-reduced-motion: reduce) {
    .projects-page .pf-media-slides img { transition: none; }
}
