/* CTA Block Styles */
.wp-block-alphaprocessing-cta {
    margin: 16rem 0;
    display: flex;
    height: 20rem;
    flex-direction: row;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.wp-block-alphaprocessing-cta.bg-primary {
    background-color: rgb(94 108 183);
}

.wp-block-alphaprocessing-cta .cta-decorative-image {
    display: none;
    height: 100%;
    width: 75%;
}

@media (min-width: 1024px) {
    .wp-block-alphaprocessing-cta .cta-decorative-image {
        display: block;
    }
}

.wp-block-alphaprocessing-cta .cta-decorative-image img {
    position: relative;
    top: -33.333333%;
    user-select: none;
    mix-blend-mode: luminosity;
    width: 100%;
    height: auto;
}

.wp-block-alphaprocessing-cta .cta-content {
    margin: auto;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    color: white;
}

@media (min-width: 1024px) {
    .wp-block-alphaprocessing-cta .cta-content {
        width: 75%;
        text-align: left;
    }
}

.wp-block-alphaprocessing-cta .cta-content h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Editor Styles */
.editor-styles-wrapper .wp-block-alphaprocessing-cta {
    margin: 2rem 0;
}

.editor-styles-wrapper .wp-block-alphaprocessing-cta .cta-content {
    z-index: 10;
    position: relative;
}

.ap-cta-block-editor .components-text-control__input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

.ap-cta-block-editor label {
    color: #333;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.ap-cta-block-editor .rich-text {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed transparent;
    border-radius: 4px;
    padding: 8px;
    transition: all 0.2s ease;
}

.ap-cta-block-editor .rich-text:hover,
.ap-cta-block-editor .rich-text:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wp-block-alphaprocessing-cta {
        height: auto;
        min-height: 20rem;
        padding: 3rem 0;
    }
    
    .wp-block-alphaprocessing-cta .cta-content h2 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}
