.post-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    margin-bottom: 30px;
    background-color: #fff;
}

.content-description-post-card {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 👈 mostrar solo 2 líneas */
}

.content-description-post-card.expanded {
    -webkit-line-clamp: unset; /* 👈 mostrar todo */
}

.toggle-description-post-card{
    font-size: 11px;
    font-weight: 200;
    text-decoration: underline;
    color: #6a7282;
}

.alert-title-header{
    background-color: #fceee6;
    color: #ea583d;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #fceee6;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    display: flex;
    align-items: end;
}

.alert-title-header svg{
    width: 20px;
}

.post-header {
    padding: 25px 29px 14px 29px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.post-info-left {
    display: flex;
    align-items: center;
}

.profile-img img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    color: #fff;
    margin-right: 10px;
}

.name-user-certificate svg{
    height: 18px;
    color: #2b7fff;
    margin-bottom: -3.5px;
}

.post-meta a{
    color: #000;
}

.post-meta small {
    display: block;
    color: #666;
}

.post-action-btn {
    background: transparent;
    border-radius: 6px;
    padding: 4px 10px !important;
    cursor: pointer;
    transition: background 0.2s;
    color: #000 !important;
}

.post-action-btn:hover {
    background: #ea583d;
    color: #fff !important;
}

.post-price{
    padding: 15px 29px;
}

.span-tag-post-price, .span-tag-post-opportunity, .span-tag-post-offer, .span-tag-post-type{
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 13px;
}

.span-tag-post-price{
    background-color: #dbfce7;
    color: #016653; 
}

.span-tag-post-opportunity{
    background-color: #dbeafe;
    color: #193cc8;
}

.span-tag-post-offer{
    background-color: #ffedd4;
    color: #a4370b;
}

.span-tag-post-type{
    background-color: #ffedd4;
    color: #a4370b;
}

.alert-price, .alert-opportunity, .alert-offer{
    display: flex;
    justify-content: space-between;
    color: #000;
    font-weight: 500;
    margin-top: 15px;
    border-radius: 9px;
}

.alert-price{
    background-color: #f0fdf4;
    border: 2px solid #b9f8cf;
}

.alert-opportunity{
    background-color: #eff6ff;
    border: 2px solid #bedbff;
}

.alert-offer{
    background-color: #fff7ed;
    border: 2px solid #ffd7a8;
}

.post-body{
    padding: 15px 29px;
    font-size: 16px;
    font-weight: 200;
}

.post-image {
    width: 90%;
    max-height: 400px;
    object-fit: cover;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 0px auto;
    border-radius: 16px;
}

.hashtags {
    padding: 20px 29px;
}

.hashtags span {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 6px 15px;
    margin-right: 5px;
    font-size: 13px;
    font-weight: 400;
    color: #1a2032;
}

.post-footer {
    padding: 0px 29px 10px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-weight: 200;
}

.post-actions {
    padding: 20px 29px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    color: #666;
}

.post-actions i, .like-button {
    cursor: pointer;
}

.like-button, .toggle-comments, .share-post, .save-post{
    padding: 5px 15px;
    border-radius: 5px;
}

.like-button.active {
    color: #e7000b;
}

.like-button:hover{
    background-color: #ffbfbfd2;
    color: #fff;
}

.toggle-comments:hover, .save-post:hover{
    background-color: #cedff8e5;
    color: #fff;
}

.share-post:hover{
    background-color: #f0fdf4;
    color: #fff;
}

.comment-section {
    display: none;
    padding: 18px 29px 30px;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.comment-section .media-body .content-comment{
    background-color: #f8fafc;
    padding: 15px 13px;
    border-radius: 8px;
}

.comment-section .media-body .content-comment strong{
    font-weight: 500;
}

.comment-section .media-body .content-comment p{
    font-weight: 300;
}

.content-form-comment input{
    background-color: #f8fafc;
    border: none;
    border-radius: 8px !important;
    margin-right: 8px;
}

.btn-send-form-comment{
    background-color: #2563eb;
    border: none;
    border-radius: 8px;
}

.content-form-comment input:focus {
    border: 1px solid #2563eb;
    outline: 3.2px solid rgb(146, 176, 244);
    outline-offset: 0px;
}

@media (max-width: 767.98px) {
    .alert-price, .alert-opportunity, .alert-offer{
        display: block;
    }

    .span-tag-post-price, .span-tag-post-opportunity, .span-tag-post-offer, .span-tag-post-type{
        display: block;
        margin-bottom: 10px;
    }

    .content-description-post-card{
        -webkit-line-clamp: 2; /* 👈 mostrar solo 2 líneas */
    }
}
