/* ============================================================================
   "Activities on Feeds" — sideline (tourist) profile-page section.
   Figma F001 node 4180:3007. Namespaced .pfeed-  ·  no font-family overrides.
   ========================================================================== */
:root {
    --pfeed-pink: #e91e63;
    --pfeed-ink: #101828;
    --pfeed-purple: #2d1b69;
    --pfeed-purple-mute: #6a4faa;
    --pfeed-green: #00a63e;
}

.pfeed { width: 100%; padding-bottom: 24px; } /* clear space before the Reviews tabs below */

.pfeed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pfeed-heading {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--pfeed-ink);
    margin: 0;
}

/* slider arrows (desktop only) */
.pfeed-arrows { gap: 8px; }
@media (max-width: 767px) { .pfeed-arrows { display: none !important; } }
/* Mobile-only arrow row, centered below the slider (desktop uses .pfeed-arrows in the header). */
.pfeed-arrows-m { display: none; gap: 12px; justify-content: center; margin-top: 12px; }
@media (max-width: 767px) { .pfeed-arrows-m { display: flex; } }
.pfeed-arrow {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    border: 1px solid var(--pfeed-pink);
    background: #fff;
    color: var(--pfeed-pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.pfeed-arrow svg { width: 16px; height: 16px; }
.pfeed-arrow:disabled { opacity: .35; cursor: default; }

/* vanilla scroll-snap slider — flush to the section edges, no overflow */
.pfeed-slider { width: 100%; }
.pfeed-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* room so the cards' drop-shadow isn't clipped by overflow (top for hover-lift, bottom for shadow) */
    padding: 6px 0 22px;
}
.pfeed-track::-webkit-scrollbar { display: none; }
.pfeed-slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    display: flex;            /* let the card stretch to equal slide height */
}
@media (min-width: 768px) {
    .pfeed-slide { flex-basis: calc((100% - 24px) / 3); }
}

/* ── even card heights regardless of media type (single/multi photo, video, text, link) ── */
.pfeed-slide > .ff-post {
    width: 100%;
    display: flex;
    flex-direction: column;
}
/* normalise every media block to one height so cards line up */
.pfeed-slide .ff-grid,
.pfeed-slide .ff-video,
.pfeed-slide .ff-link .ff-media {
    height: 200px !important;
}
/* clamp the caption to 2 lines so text length doesn't skew height */
.pfeed-slide .ff-post-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* push the action bar to the bottom so equal-height cards align their footers */
.pfeed-slide .ff-actions { margin-top: auto; }

/* CTA row in the populated state — shares the section's bounds */
.pfeed-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

/* gradient-bordered container */
.pfeed-card {
    border: 1px solid var(--pfeed-pink);
    border-radius: 12px;
    background: linear-gradient(to bottom, rgba(233, 30, 99, 0.03), rgba(235, 189, 56, 0.03));
    padding: 1px;
}

/* glassy empty-state panel */
.pfeed-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1.333px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 24px 17px;
}

.pfeed-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.35);
    border: 1.333px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}
.pfeed-ico svg {
    width: 34px;
    height: 34px;
    stroke: var(--pfeed-pink);
    fill: none;
}

.pfeed-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--pfeed-purple);
    margin: 0 0 8px;
}

.pfeed-sub {
    font-size: 13px;
    line-height: 20px;
    color: var(--pfeed-purple-mute);
    margin: 0 0 16px;
    max-width: 320px;
}

.pfeed-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pfeed-pink);
    border-radius: 12px;
    padding: 10px 24px;
    color: var(--pfeed-pink);
    font-size: 14px;
    font-weight: 700;
    line-height: 17.5px;
    background: transparent;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.pfeed-btn:hover,
.pfeed-btn:focus {
    color: #fff;
    background: var(--pfeed-pink);
    text-decoration: none;
}

.pfeed-new {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--pfeed-green);
    color: #fff;
    font-size: 10px;
    line-height: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Activities-on-feeds cards are deep-links into the feed: no kebab menu here,
   and the whole card reads as clickable. */
.pfeed .ff-postmenu { display: none !important; }
.pfeed .pfeed-slide .ff-post { cursor: pointer; }
