/* ========================================
   ProsperM8 Press Release Results
======================================== */

.prosperm8-press-release-results {
    max-width: 1050px;
    margin: 40px auto;
    padding: 0 24px 50px;
}

/* Page heading */
.prosperm8-press-release-header {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e5e9;
}

.prosperm8-press-release-header h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.prosperm8-created {
    font-size: 14px;
    opacity: .7;
    margin: 0;
}

/* The actual press release */
.prosperm8-press-release-content {
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    padding: 45px 50px;
    font-size: 17px;
    line-height: 1.75;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

/* Copy action */
.prosperm8-press-release-actions {
    margin: 22px 0 35px;
}

.prosperm8-action-button {
    padding: 12px 22px;
    border: 0;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

/* Previous releases */
.prosperm8-previous-releases {
    margin-top: 35px;
    padding-top: 28px;
    border-top: 1px solid #e2e5e9;
}

.prosperm8-previous-releases h3 {
    font-size: 22px;
    margin: 0 0 18px;
}

.prosperm8-previous-release {
    padding: 12px 0;
    border-bottom: 1px solid #eceff2;
}

.prosperm8-previous-release strong {
    display: inline-block;
    margin-right: 12px;
}

.prosperm8-previous-release span {
    font-size: 14px;
    opacity: .65;
}

/* Mobile */
@media (max-width: 767px) {

    .prosperm8-press-release-results {
        margin: 20px auto;
        padding: 0 15px 35px;
    }

    .prosperm8-press-release-content {
        padding: 25px 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .prosperm8-previous-release strong,
    .prosperm8-previous-release span {
        display: block;
    }

    .prosperm8-previous-release span {
        margin-top: 4px;
    }
}






/* ========================================
   ProsperM8 Publication Permission
======================================== */

.prosperm8-publication-permission {
    margin: 28px 0 18px;
    padding: 24px 28px;
    background: #f7f9fb;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
}



.prosperm8-change-permission {
    padding: 9px 16px;
    border: 1px solid #cfd5dc;
    border-radius: 5px;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    font-weight: 600;
}

.prosperm8-change-permission:hover {
    background: #f1f3f5;
    color: #1a1a1a;
}



.prosperm8-publication-permission h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.prosperm8-publication-permission p {
    margin: 8px 0 18px;
}

.prosperm8-permission-status {
    font-size: 16px;
    line-height: 1.7;
}

.prosperm8-publish-after-status {
    margin-top: 4px;
}

.prosperm8-change-permission-form {
    margin-top: 14px;
}

.prosperm8-change-permission {
    padding: 9px 16px;
    border: 1px solid #cfd5dc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.prosperm8-press-release-actions {
    margin-top: 16px;
}

.prosperm8-copy-requirement {
    margin: 7px 0 0;
    font-size: 14px;
    opacity: .75;
}

@media (max-width: 767px) {
    .prosperm8-publication-permission {
        padding: 20px;
    }
}

/* Disabled Copy Press Release button */
#prosperm8-copy-press-release:disabled {
    background: #d6dbe1;
    color: #747b84;
    border-color: #d6dbe1;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
}

#prosperm8-copy-press-release:disabled:hover {
    background: #d6dbe1;
    color: #747b84;
    border-color: #d6dbe1;
}


#prosperm8-publish-date-wrap input[type="date"] {
    width: 280px;
    max-width: 100%;
}

#prosperm8-publish-date-wrap {
    margin-top: 20px;
    margin-bottom: 20px;
}

#prosperm8-publish-date-wrap p {
    margin: 4px 0 10px;
}



/* ========================================
   ProsperM8 Revision Buttons
======================================== */


/* Press Release Revision History */
.prosperm8-version-history {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 20px;
}

.prosperm8-version-history-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.prosperm8-version-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.prosperm8-version-button {
    transition: all 0.2s ease;
}

.prosperm8-version-button.active {
    outline: 3px solid rgba(0, 112, 210, 0.22);
    outline-offset: 2px;
    font-weight: 700;
}

.prosperm8-revision-count {
    margin-top: 7px;
    font-size: 12px;
}

/* Keep Revision History usable on smaller screens */
@media (max-width: 600px) {
    .prosperm8-version-controls {
        gap: 6px;
    }

    .prosperm8-version-button {
        flex: 1 1 calc(50% - 6px);
        max-width: 180px;
    }
}

/* ========================================
   ProsperM8 Viewing Version Top Of Page
======================================== */

.prosperm8-viewing-version {
    font-size: 0.65em;
    font-weight: 500;
    opacity: 0.65;
    white-space: nowrap;
}
