/* Blue header bar for all posts */
.post-header-blue {
    background-color: #2F7FDF;
    height: 6px;
    border-radius: 8px 8px 0 0;
    margin: 0;
    width: 100%;
}

.chc-custom-resource-info {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 5px;
    /* Although it's a single text, keeping for consistency if elements are added later */
    padding: 8px 24px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 1px solid #e0e0e0;
    background: #F8F9FB;
    box-sizing: border-box;
    font-size: 12px;
    color: #65676b;
    text-transform: uppercase;
}

.chc-custom-group-info {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    /* Reverted padding */
    background: #FFFFFF;
    /* Reverted background */
    border-right: 1px solid #E0E5EB;
    /* Reverted border */
    border-bottom: 1px solid #E0E5EB;
    /* Reverted border */
    border-left: 1px solid #E0E5EB;
    /* Reverted border */
    margin-bottom: 20px;
    /* Keep original margin-bottom */
    box-sizing: border-box;
}

.chc-custom-group-info .chc-custom-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #ccc;
    /* Placeholder */
    background-image: url('https://via.placeholder.com/24');
    /* Placeholder image */
    background-size: cover;
}

.chc-custom-group-info .chc-custom-name {
    font-family: "Mona Sans", sans-serif;
    /* Apply new font family */
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: #050505;
    /* Keep original color */
}

.group_name_post_header {
    /* Removed padding to allow full width border */

}

.group-header-inner {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 15px;
    /* Adjusted padding to match original .group_name_post_header padding */
    display: flex;
    align-items: center;
    width: 100%;
    /* Ensure full width */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.group-header-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.group-avatar {
    height: 30px;
    width: 30px;
    margin-right: 8px;
    border-radius: 50%;
}

.group-title-text {
    font-size: 14px;
    font-weight: 350;
    color: #000;
}


#act-new-comment-15 {
    border: 1px solid #E0E5EB;
    height: 80px;
    gap: 12px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-width: 1px;
    padding: 20px 24px;
}

.ps-comments__input-wrapper {
    display: flex;
    align-items: center;
    height: 40px;
    border-radius: 50px;

    background: var(--Grays-White, #FFFFFF);
    padding: 10px 16px;
    gap: 12px;
}

.ps-postbox__input-tag {
    display: flex;
    align-items: center;
    width: 100%;
}

textarea.ps-comments__input {
    height: 40px !important;
    padding: 9px 0 0 0;
    margin: 0;
    border: none;
    background: transparent;
    resize: none;
    width: 100%;
    font: inherit;
    line-height: 20px;
}

.ps-post__postedby {
    font-family: "Mona Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    vertical-align: middle;
    background: #000000;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
}

.ps-js-comment-giphy {
    display: none !important;
}



.chc-follow-label {
    font-family: Mona Sans;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
}

/* Save Button Icons */
i.gcir.gci-bookmark,
i.gcis.gci-bookmark {
    display: inline-block;
    width: 16px;
    /* Adjust as needed */
    height: 16px;
    /* Adjust as needed */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    font-size: 0;
    /* Hide the original font icon */
    color: transparent;
    /* Ensure the font icon color is transparent */
}



.chc-save-label {
    font-family: Mona Sans;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
}

/* Remove border from reaction element */
.ps-reactions__likes {
    border: 0px !important;
}

.ps-reactions__likes::before,
.ps-reactions__likes::after {
    border: 0px !important;
}

/* ===== RESOURCE CARD TRANSFORMATION STYLES ===== */
.cd-resource {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    margin: 0 0 18px 0;
    /* top = 0 */
}

.cd-name {
    font-size: 16px !important;
    /* requested */
    font-weight: 500 !important;
    /* requested */
    margin: 12px 0 12px 0 !important;
    line-height: 1.3;
    color: #111827;
}

.cd-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #f6f8fa;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    border-radius: 8px;
    word-break: break-all;
    color: #0366d6;
    font-size: 13px;
    /* requested */
    transition: background-color .12s ease, border-color .12s ease;
}

.cd-link:hover {
    background: #eef2f7;
    border-color: #d1d5db;
}

.cd-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.cd-desc {
    margin-top: 12px;
    font-size: .95rem;
    line-height: 1.45;
    color: #374151;
}

/* Slot for the original label, positioned top-right */
.cd-label-slot {
    position: absolute;
    top: 10px;
    right: 12px;
}

/* If your theme had specific styles for .resource-card-label, they will still apply */
.cd-label-slot .resource-card-label {
    margin: 0;
}

.resource-card-label {
    margin: -10px -12px 0px 0px !important;
    width: 225px !important;
    font-size: 12px !important;
    padding: 6px 16px !important;
}