/* Layout for Post in + Visibility + POST */
.youzify-posting-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Visibility block */
.bp-activity-visibility {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Label */
.bp-vis-label {
    font-size: 13px;
    color: #7a7a7a;
}

/* nice-select match */
.bp-activity-visibility .nice-select {
    border-radius: 18px;
    border: 1px solid #17b394;
    min-width: 90px;
}





/* Pin Icon Style */
.bp-pin-post {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

.bp-pinned-label {
    color: #17b394;
    font-weight: 600;
}

.bp-pin-post i {
    font-size: 14px;
}

/* Hover state */
.bp-pin-post:hover {
    color: #17b394;
}

.bp-pin-icon {
    font-size: 15px;
    line-height: 1;
}

/* Pinned badge */
.bp-pinned-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f7f3;
    color: #17b394;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 12px;
    margin: 10px 0 6px 16px;
}


.bp-pinned-badge i {
    font-size: 12px;
}

/* Optional: highlight pinned post card */
.activity .bp-pinned-badge {
    margin-left: 16px;
}

/* Unpin state — sea green when post is pinned */
.activity.bp-pinned .bp-pin-post {
    color: #17b394; /* theme sea green */
    font-weight: 600;
}

/* Make unpin icon also sea green */
.activity.bp-pinned .bp-pin-post i {
    color: #17b394;
}

/* Optional: subtle hover polish */
.activity.bp-pinned .bp-pin-post:hover {
    opacity: 0.85;
}

/* FORCE Unpin state color (Youzify override fix) */
.activity.bp-pinned .youzify-wall-post-actions .bp-pin-post,
.activity.bp-pinned .youzify-wall-post-actions .bp-pin-post span,
.activity.bp-pinned .youzify-wall-post-actions .bp-pin-post i {
    color: #17b394 !important;
    font-weight: 600;
}

/* Slight visual feedback */
.activity.bp-pinned .youzify-wall-post-actions .bp-pin-post:hover {
    opacity: 0.85;
}
.activity.bp-pinned .bp-pin-post i {
    transform: rotate(-20deg);
}


/* Pinned Post Style */





/* =====================================
   FORCE OVERRIDE BUDDYX EVENT TITLE
===================================== */

.ph-event-page .ph-event-title {
    all: unset !important;                 /* nukes BuddyX styles */
    display: block !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #000000 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    background: transparent     !important;
    font-family: inherit !important;
    text-align: center !important;
}

/* =====================================
   SAFE CONTENT STYLES
===================================== */



.ph-event-container {
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Grid */
.ph-event-page .ph-event-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 32px;
    align-items: start;
}

/* Description */
.ph-event-page .ph-event-description {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    font-family: Lato !important;
}

.ph-event-page .ph-event-description p {
    margin-bottom: 14px;
}

/* Flyer */
.ph-event-page .ph-event-image,
.ph-event-page .ph-event-flyer {
    background: transparent;
}

.ph-event-page .ph-event-image img,
.ph-event-page .ph-event-flyer img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Details box */
.ph-event-page .ph-event-details {
    margin-top: 40px;
    padding: 22px;
    background: #61ceb91f;
    border-radius: 10px;
    font-size: medium !important;
}

/* Detail rows */
.ph-event-page .ph-event-detail-item {
    margin-bottom: 10px;
}

/* Buttons */
.ph-event-page .ph-event-register-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    background: #16af97;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.ph-event-page .ph-event-register-btn:hover {
    background: #148a63;
}

/* Highlight event detail labels */
.ph-event-page .ph-event-label {
    font-weight: 700;          /* bold */
    color: #0f5132;            /* darker accent (optional) */
    margin-right: 4px;
}




/* Secondary button: Resources */
.ph-event-page .ph-event-resources-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #ffffff;
    color: #16af97 !important;
    border: 2px solid #16af97;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.ph-event-page .ph-event-resources-btn:hover {
    background: #16af97;
    color: #ffffff !important;
}

/* Mobile */
@media (max-width: 768px) {
    .ph-event-page .ph-event-grid {
        grid-template-columns: 1fr;
    }

    .ph-event-page h1.ph-event-title {
        font-size: 26px;
    }
}


/* ============================
   Event Next / Previous Nav
============================ */

.ph-event-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 16px;
}

/* Base button */
.ph-event-nav-btn {
    padding: 10px 18px;
    border: 2px solid #16af97;
    color: #16af97;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    background: #ffffff;
    transition: all 0.2s ease;
}

/* Hover */
.ph-event-nav-btn:hover {
    background: #16af97;
    color: #ffffff;
}

/* Alignments */
.ph-event-nav-btn.prev {
    margin-right: auto;
}

.ph-event-nav-btn.next {
    margin-left: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .ph-event-nav {
        flex-direction: column;
    }

    .ph-event-nav-btn {
        width: 100%;
        text-align: center;
    }
}
