/* =========================================================
   SOCIAL DAS NOTÍCIAS
========================================================= */

.news-social {
    max-width: 760px;
    margin: 38px auto 10px;
    padding-top: 25px;
    border-top: 1px solid #e3e9f0;
}

.news-social-profile {
    margin-bottom: 13px;
    color: #778698;
    font-size: 13px;
}

.news-social-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 9px;
}

.news-social-button {
    min-height: 50px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d7e0ea;
    border-radius: 12px;
    background: #fff;
    color: #17304f;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.news-social-button:hover {
    background: #f7f9fc;
}

.news-social-button.liked {
    border-color: #efc2c9;
    background: #fff3f5;
    color: #d8405a;
}

.news-social-button.share {
    border-color: #0863df;
    background: #0863df;
    color: #fff;
}

.news-comment-form {
    margin-top: 15px;
    padding: 15px;
    border-radius: 13px;
    background: #f6f8fb;
}

.news-comment-form.hidden {
    display: none;
}

.news-comment-form textarea {
    width: 100%;
    min-height: 105px;
    padding: 12px;
    border: 1px solid #ced9e5;
    border-radius: 10px;
    resize: vertical;
    font: inherit;
    font-size: 15px;
}

.news-comment-form button {
    min-height: 43px;
    margin-top: 8px;
    padding: 0 17px;
    border: 0;
    border-radius: 10px;
    background: #0863df;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.news-comments {
    max-width: 760px;
    margin: 30px auto 0;
}

.news-comments h2 {
    margin-bottom: 15px;
    font-size: 22px;
}

.news-comments-list {
    display: grid;
    gap: 11px;
}

.news-comment {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 10px;
    padding: 13px;
    border: 1px solid #e0e7ef;
    border-radius: 13px;
    background: #fff;
}

.news-comment-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f2ff;
    color: #0863df;
    font-size: 15px;
    font-weight: 900;
}

.news-comment-content strong {
    display: block;
    font-size: 14px;
}

.news-comment-content span {
    display: block;
    margin-top: 2px;
    color: #8996a7;
    font-size: 11px;
}

.news-comment-content p {
    margin: 7px 0 0;
    color: #364960;
    font-size: 14px;
    line-height: 1.55;
}


/* MODAL IDENTIFICAÇÃO */

.news-identity-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(5,18,36,.72);
    backdrop-filter: blur(5px);
}

.news-identity-modal.hidden {
    display: none;
}

.news-identity-box {
    width: min(100%, 420px);
    position: relative;
    padding: 25px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 70px rgba(0,0,0,.22);
}

.news-identity-close {
    position: absolute;
    top: 11px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #eff3f7;
    color: #19324f;
    font-size: 19px;
    cursor: pointer;
}

.news-identity-box > span {
    color: #0863df;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.news-identity-box h2 {
    margin: 6px 0 7px;
    font-size: 27px;
}

.news-identity-box > p {
    margin: 0 0 18px;
    color: #6e7d91;
    font-size: 13px;
    line-height: 1.5;
}

.news-identity-box label {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 800;
}

.news-identity-box input {
    width: 100%;
    min-height: 46px;
    margin-top: 5px;
    padding: 0 12px;
    border: 1px solid #ccd7e4;
    border-radius: 10px;
    font-size: 14px;
}

.news-identity-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 15px;
    border: 0;
    border-radius: 11px;
    background: #0863df;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.news-identity-error {
    min-height: 17px;
    margin-top: 8px;
    color: #b33d4d;
    font-size: 11px;
}

.news-identity-privacy {
    display: block;
    margin-top: 10px;
    color: #8995a4;
    font-size: 10px;
    line-height: 1.45;
}

body.news-modal-open {
    overflow: hidden;
}


/* MOBILE */

@media (max-width: 600px) {

    .news-social-actions {
        grid-template-columns: 1fr 1fr;
    }

    .news-social-button.share {
        grid-column: 1 / -1;
    }

    .news-social-button {
        min-height: 48px;
        font-size: 13px;
    }

    .news-identity-box {
        padding: 22px 17px;
    }

}
