/* Editor Styles for Gutenberg Blocks */

/* Base editor styles */
.editor-styles-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.editor-styles-wrapper h1 { font-size: 2.5em; }
.editor-styles-wrapper h2 { font-size: 2em; }
.editor-styles-wrapper h3 { font-size: 1.75em; }
.editor-styles-wrapper h4 { font-size: 1.5em; }
.editor-styles-wrapper h5 { font-size: 1.25em; }
.editor-styles-wrapper h6 { font-size: 1.1em; }

/* Custom blocks editor styles */
.wp-block-modern-blog-steps {
    border: 2px dashed #ddd;
    padding: 20px;
    margin: 20px 0;
    background: #f9f9f9;
}

.wp-block-modern-blog-steps .step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wp-block-modern-blog-steps .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #007cba;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.wp-block-modern-blog-steps .step-content {
    flex: 1;
}

.wp-block-modern-blog-steps .step-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.wp-block-modern-blog-steps .step-description {
    margin: 0;
    color: #666;
}

.wp-block-modern-blog-pros-cons {
    border: 2px dashed #ddd;
    padding: 20px;
    margin: 20px 0;
    background: #f9f9f9;
}

.wp-block-modern-blog-pros-cons .pros-cons-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.wp-block-modern-blog-pros-cons .pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wp-block-modern-blog-pros-cons .pros-column,
.wp-block-modern-blog-pros-cons .cons-column {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wp-block-modern-blog-pros-cons .pros-title {
    color: #28a745;
    margin-bottom: 15px;
    text-align: center;
}

.wp-block-modern-blog-pros-cons .cons-title {
    color: #dc3545;
    margin-bottom: 15px;
    text-align: center;
}

.wp-block-modern-blog-pros-cons .pros-list,
.wp-block-modern-blog-pros-cons .cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-modern-blog-pros-cons .pro-item,
.wp-block-modern-blog-pros-cons .con-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.wp-block-modern-blog-pros-cons .pro-icon {
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
}

.wp-block-modern-blog-pros-cons .con-icon {
    color: #dc3545;
    margin-right: 10px;
    font-weight: bold;
}

.wp-block-modern-blog-cta {
    border: 2px dashed #ddd;
    padding: 30px;
    margin: 20px 0;
    background: #007cba;
    color: white;
    text-align: center;
    border-radius: 8px;
}

.wp-block-modern-blog-cta .cta-title {
    margin-bottom: 15px;
    font-size: 1.8em;
}

.wp-block-modern-blog-cta .cta-description {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.wp-block-modern-blog-cta .cta-button {
    display: inline-block;
    background: white;
    color: #007cba;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.wp-block-modern-blog-cta .cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.wp-block-modern-blog-faq {
    border: 2px dashed #ddd;
    padding: 20px;
    margin: 20px 0;
    background: #f9f9f9;
}

.wp-block-modern-blog-faq .faq-item {
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wp-block-modern-blog-faq .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-block-modern-blog-faq .faq-question:hover {
    background: #f8f9fa;
}

.wp-block-modern-blog-faq .faq-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.wp-block-modern-blog-faq .faq-answer {
    padding: 0 20px 20px 20px;
    color: #666;
}

/* Block editor controls */
.components-placeholder {
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.components-placeholder__label {
    color: #666;
    font-weight: 600;
    margin-bottom: 10px;
}

.components-placeholder__instructions {
    color: #888;
    font-size: 0.9em;
}

/* Responsive design for editor */
@media (max-width: 768px) {
    .wp-block-modern-blog-pros-cons .pros-cons-container {
        grid-template-columns: 1fr;
    }
    
    .wp-block-modern-blog-steps .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .wp-block-modern-blog-steps .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
