/* css/feed/photo_card.css — картка фото в стрічці (гео-сторінки).
   Той самий .post-card, що й у пости (css/post/style.css), тому
   свій блок медіа з каруселькою, схожий на .pp-media з photo_popup. */
.pcard-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 620px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #000;
    display: block;
}
.pcard-slide {
    display: none;
    position: absolute;
    inset: 0;
}
.pcard-slide.is-active { display: block; }
.pcard-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pcard-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #1a1a2e;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
}
.pcard-has-group .pcard-arrow { display: flex; }
.pcard-arrow--prev { left: 12px; }
.pcard-arrow--next { right: 12px; }

.pcard-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
}
.pcard-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.pcard-dot.is-active { background: #fff; }

@media (max-width: 900px) {
    .pcard-media { aspect-ratio: 4 / 5; max-height: none; }
}