/**
 * White Paper Section Styles
 */

 .white-paper-section {
    padding: 60px 0;
}

.white-paper-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
    align-items: stretch;
}

/* Left Column: Image */
.white-paper-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.white-paper-image img {
    width: 100%;
    height: auto;
    display: flex;
    align-self: stretch;
    object-fit: cover;
    object-position: center;
}

/* Right Column: Content */
.white-paper-content-wrapper {
    padding: 30px;
    background: black;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.white-paper-sub-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.white-paper-heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: #fff;
}

.white-paper-content {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.white-paper-form {
    margin-top: 0;
}

/* Gravity Forms Overrides */
.white-paper-form .gform_wrapper {
    margin: 0 !important;
}

.white-paper-form .gform_body {
    margin-bottom: 0;
}

.white-paper-form .gfield {
    margin-bottom: 0;
}

.white-paper-form .gfield_label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.white-paper-content-wrapper label {
    color: #fff;
}

.white-paper-content-wrapper .white-paper-form input {
    border-radius: 0;
}

.white-paper-form input[type="email"],
.white-paper-form input[type="text"],
.white-paper-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: border-color 0.3s;
}

.white-paper-form input:focus {
    outline: none;
    border-color: #0073aa;
}

.white-paper-form .gform_button,
.white-paper-dload-btn {
    background: #0073aa;
    color: #ffffff;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-color: #0073aa;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.white-paper-form .gform_button:hover,
.white-paper-dload-btn:hover {
    background: #005a87;
}

/* Admin Error Message */
.white-paper-error {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

/* Confirmation Message Styles */
.white-paper-form .gform_confirmation_wrapper {
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

/* Download Button Styles */
.white-paper-dload-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    border: none;
}

/* Highlight Animation for Confirmation */
.wpp-highlight-confirmation {
    animation: wpp-highlight-pulse 2s ease;
}

@keyframes wpp-highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 115, 170, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 115, 170, 0); }
}

/* Responsive */
@media (max-width: 992px) {
    .white-paper-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .white-paper-heading {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .white-paper-section {
        margin: 40px 0;
        padding: 40px 0;
    }

    .white-paper-heading {
        font-size: 24px;
    }

    .white-paper-content {
        font-size: 14px;
    }
}