/* ==========================================================================
   elementor.css — SuaraBaca Elementor Compatibility Styles
   ========================================================================== */

/* Prevent header/footer duplication when Elementor Pro Theme Builder is active */
.elementor-template-canvas .site-header,
.elementor-template-canvas .site-footer,
.elementor-template-canvas .primary-navigation,
.elementor-template-canvas .header-utility,
.elementor-template-canvas .header-branding {
    display: none !important;
}

/* Full-width layout */
.elementor-page-suarabaca-full #page,
.page-template-elementor_full_width #page {
    max-width: 100%;
}

/* Elementor canvas (completely blank) */
.elementor-template-canvas #page {
    padding: 0;
}

/* Gutenberg alignment support */
.alignwide {
    margin-left: calc(50% - 50vw + 24px);
    margin-right: calc(50% - 50vw + 24px);
    max-width: calc(100vw - 48px);
}

@media (min-width: 1280px) {
    .alignwide {
        margin-left: -120px;
        margin-right: -120px;
        max-width: calc(100% + 240px);
    }
}

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

/* Elementor container spacing */
.elementor-section,
.e-con,
.e-container {
    box-sizing: border-box;
}

/* Gutenberg block editor styles */
.editor-styles-wrapper {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 19px;
    color: var(--sb-text, #222222);
    max-width: 760px;
}

.editor-styles-wrapper h1 { font-family: 'Inter', system-ui, sans-serif; font-size: 46px; font-weight: 700; color: var(--sb-heading, #171717); line-height: 1.2; }
.editor-styles-wrapper h2 { font-family: 'Inter', system-ui, sans-serif; font-size: 28px; font-weight: 700; color: var(--sb-heading, #171717); line-height: 1.25; }
.editor-styles-wrapper h3 { font-family: 'Inter', system-ui, sans-serif; font-size: 23px; font-weight: 600; color: var(--sb-heading, #171717); line-height: 1.3; }

/* Featured image – don't duplicate in Elementor templates */
.elementor-widget-theme-featured-image + .article-featured-image {
    display: none;
}
