/* Image Text CTA Block Styles */
.wp-block-cakeclub-image-text-cta {
    width: 100%;
    position: relative;
}

.image-text-cta-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
    min-height: 300px;
}

.image-text-cta-image {
    flex: 0 0 auto;
    max-width: 400px;
    width: 100%;
}

.image-text-cta-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.image-text-cta-content {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.image-text-cta-subheading {
    font-family: 'BN Tillsdale', serif !important;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin: 0 0 5px 0;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: none;
    color: #394A78;
}

.image-text-cta-main-heading {
    font-family: 'Mindset', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    margin: 0 0 25px 0;
    padding: 0;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #394A78;
}

.image-text-cta-button {
    display: inline-block;
    background-color: #ff0000;
    color: #ffffff;
    border: 2px solid #ff0000;
    padding: 12px 24px;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Mindset', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: 0.5px;
}

.image-text-cta-button:hover {
    background-color: #ffffff;
    color: #ff0000;
    border-color: #ff0000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tablet and Mobile Responsive */
@media (max-width: 768px) {
    .image-text-cta-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 20px;
    }
    
    .image-text-cta-image {
        order: 1;
        max-width: 300px;
        flex: none;
    }
    
    .image-text-cta-content {
        order: 2;
        padding: 0;
        width: 100%;
    }
    
    .image-text-cta-subheading {
        font-size: 1rem;
        margin-bottom: 4px;
        letter-spacing: 0.3px;
    }
    
    .image-text-cta-main-heading {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .image-text-cta-button {
        padding: 10px 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .image-text-cta-container {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .image-text-cta-image {
        max-width: 250px;
    }
    
    .image-text-cta-subheading {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .image-text-cta-main-heading {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .image-text-cta-button {
        padding: 8px 16px;
        font-size: 1rem;
    }
}

/* Editor specific styles */
.wp-block-editor .wp-block-cakeclub-image-text-cta {
    margin-bottom: 20px;
}

.wp-block-editor .image-text-cta-container {
    border: 2px dashed #ccc;
}

.wp-block-editor .image-text-cta-button {
    pointer-events: none;
}
