/**
 * Documentation Page CSS
 *
 * Styles for the theme documentation page.
 */

.newsx-paper-documentation-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.newsx-paper-documentation-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.newsx-paper-documentation-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.newsx-paper-documentation-section h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.newsx-paper-documentation-section h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.newsx-paper-documentation-section ol,
.newsx-paper-documentation-section ul {
    margin-left: 20px;
}

.newsx-paper-documentation-section li {
    margin-bottom: 10px;
}
.video-setup{
    margin-bottom: 2rem;
}
.newsx-paper-notice {
    background-color: #f8f8f8;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin: 20px 0;
}

/* Demo Previews */
.newsx-paper-demo-previews {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.newsx-paper-demo-preview {
    flex: 0 0 calc(33.333% - 30px);
    margin: 0 15px 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.newsx-paper-demo-image {
    position: relative;
   height: 400px;
    overflow: hidden;
}

.newsx-paper-demo-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.newsx-paper-demo-preview:hover .newsx-paper-demo-image img {
    transform: scale(1.05);
}

.newsx-paper-demo-preview h3 {
    padding: 15px 15px 0;
    margin: 0;
}

.newsx-paper-demo-preview .button {
    margin: 15px;
}


/* Plugin card styling */
.newsx-paper-recommended-plugins {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.newsx-paper-plugin-card {
    max-width: 250px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.newsx-paper-plugin-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.newsx-paper-plugin-thumbnail {
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
}

.newsx-paper-plugin-thumbnail img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.newsx-paper-plugin-info {
    padding: 15px;
}

.newsx-paper-plugin-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.newsx-paper-plugin-info p {
    margin-bottom: 15px;
    color: #666;
    font-size: 13px;
}

.newsx-paper-plugin-actions {
    margin-top: 10px;
}

.newsx-paper-plugin-button {
    display: inline-block;
    padding: 8px 12px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}

.newsx-paper-plugin-button:hover {
    background-color: #005a87;
}

.newsx-paper-plugin-button.disabled {
    background-color: #7fb8d5;
    cursor: not-allowed;
}

.newsx-paper-plugin-button.updating-message {
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .newsx-paper-demo-preview,
    .newsx-paper-plugin-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media screen and (max-width: 782px) {
    .newsx-paper-demo-preview,
    .newsx-paper-plugin-card {
        flex: 0 0 calc(100% - 30px);
    }
}


/* Pro Version Banner */
.newsx-paper-pro-banner {
    background: linear-gradient(135deg, #41CB5B 0%, #2271b1 100%);
    color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsx-paper-pro-banner-content {
    flex: 1;
}

.newsx-paper-pro-banner h2 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 24px;
    border: none;
    padding: 0;
}

.newsx-paper-pro-banner p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.newsx-paper-pro-banner .button {
    background: #fff;
    color: #2271b1;
    font-weight: 600;
    padding: 10px 20px;
    height: auto;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    font-size: 15px;
    line-height: 1.5;
}

.newsx-paper-pro-banner .button:hover {
    background: transparent;
    color: #fff;
}


/* Support Section */
.newsx-paper-support-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.newsx-paper-support-option {
    flex: 1;
    min-width: 250px;
    background-color: #f8f8f8;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.newsx-paper-support-option:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.newsx-paper-support-option h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.newsx-paper-support-option p {
    margin-bottom: 20px;
    color: #555;
}

.newsx-paper-support-option .button {
    width: 100%;
    text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .newsx-paper-pro-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .newsx-paper-pro-banner .button {
        margin-top: 15px;
    }
}


/* Customizer Sections List */
.newsx-paper-customizer-sections {
    margin-left: 0;
    list-style-type: none;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.newsx-paper-customizer-sections li {
    padding: 12px 15px;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 30px;
    transition: background-color 0.2s ease;
}

.newsx-paper-customizer-sections li:last-child {
    border-bottom: none;
}

.newsx-paper-customizer-sections li:hover {
    background-color: #f9f9f9;
}


.newsx-paper-customizer-link {
    margin-top: 20px;
    margin-left: 25px;
}


/* Upgrade Pro Button Styling */

.newsx-paper-import-pro {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, #ff5f6d 0%, #c30010 100%) !important;
    color: #ffffff !important;
    border-color: #c30010 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease !important;
}

.newsx-paper-import-pro:hover, 
.newsx-paper-import-pro:focus {
    background: linear-gradient(135deg, #ff4c5d 0%, #a80000 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.newsx-paper-import-pro:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 95, 109, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 95, 109, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 95, 109, 0);
    }
}