/* Section Block Styles */
.flexcore-section {
    position: relative;
    padding: 60px 0;
    min-height: 100px;
}

/* Alignment support */
.flexcore-section.alignwide {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.flexcore-section.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Native WordPress Block Editor specific styles */
.wp-block-flexcore-section {
    position: relative;
}

.wp-block-flexcore-section .flexcore-section {
    min-height: 120px;
    border: 1px dashed #ddd;
}

.wp-block-flexcore-section.is-selected .flexcore-section {
    border-color: #007cba;
}

.wp-block-flexcore-section .section-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 3px;
    z-index: 1000;
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Editor placeholder styles */
.wp-block-flexcore-section .block-editor-inner-blocks {
    min-height: 60px;
}

.wp-block-flexcore-section .block-editor-block-list__layout {
    min-height: 60px;
}

/* Container responsive behavior */
@media (max-width: 768px) {
    .flexcore-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .flexcore-section {
        padding: 30px 0;
    }
}

/* Frontend styles (remove editor-specific borders) */
.flexcore-section:not(.wp-block-flexcore-section .flexcore-section) {
    border: none;
} 