.pm-post-policy-hidden .entry-content {
    position: relative;
}
.pm-post-policy-hidden .pm-truncated-overlay {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%);
    font-size: 1.2em;
    font-weight: 500;
}
.pm-post-policy-hidden .pm-truncated-overlay .btn {
    margin-top: auto;
    align-self: end;
    margin-bottom: 15%;

    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 1024px) {
    .pm-post-policy-hidden .pm-truncated-overlay .btn {
        margin-bottom: 10%;
    }
}
@media screen and (max-width: 768px) {
    .pm-post-policy-hidden .pm-truncated-overlay .btn {
        margin-bottom: 25%;
    }
}

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

.pm-truncated-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.pm-truncated-modal--open {
    display: block;
}
.pm-truncated-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.pm-truncated-modal-content h2 {
    color: var(--entry-header--color);
    letter-spacing: var(--heading--letter-spacing-h2);
    line-height: var(--heading--line-height-h2);
    overflow-wrap: break-word;
    font-size: 1.6em;
    padding-right: 15px;
    margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
    .pm-truncated-modal-content h2 {
        font-size: 1.4em;
    }
}
@media screen and (max-width: 480px) {
    .pm-truncated-modal-content h2 {
        font-size: 1.2em;
    }
}
.pm-truncated-modal-login {
    font-size: 20px;
    margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
    .pm-truncated-modal-content {
        width: 90%;
    }
}
.pm-truncated-modal-content-inner {
    position: relative;
}
.pm-truncated-modal-privacy {
    display: block;
}
@media screen and (min-width: 769px) {
    .pm-truncated-modal-privacy {
        text-align: right;
    }
}
.pm-truncated-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1;
}
.pm-truncated-modal-close:hover,
.pm-truncated-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
