/*
 * CoinsProbe — Elementor Compatibility Styles
 */

/* Full width sections */
.elementor-section.elementor-section-stretched {
    left: 0 !important;
    width: 100% !important;
}

/* Reset Elementor defaults to match CoinsProbe design */
.elementor-widget-container {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    color: var(--text-primary, #0e1120);
}

/* Elementor heading widgets use Syne font */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-display, 'Syne', sans-serif);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Elementor button matches CoinsProbe style */
.elementor-button {
    font-family: var(--font-display, 'Syne', sans-serif);
    font-weight: 700;
    border-radius: 6px !important;
}

.elementor-button-primary,
.elementor-button[data-button-type="default"] {
    background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(124,58,237,.35) !important;
}

/* Full width page content area for Elementor pages */
.elementor-page .site-content,
.elementor-page .page-content,
.elementor-page #content {
    padding: 0;
    max-width: 100%;
}

/* Remove default page padding when Elementor takes over */
.elementor-page .static-page-layout,
.elementor-page .home-layout,
.elementor-page .article-layout {
    padding: 0;
    max-width: 100%;
}

/* Elementor section background matches dark theme */
.elementor-section.cp-dark {
    background: var(--text-primary, #0e1120);
}

.elementor-section.cp-purple {
    background: linear-gradient(135deg, #0e1120 0%, #1a1040 100%);
}

/* Elementor inner section */
.elementor-inner-section .elementor-container {
    max-width: 1320px;
}

/* Ticker strip stays on top of Elementor content */
.ticker-strip {
    position: relative;
    z-index: 999;
}

.header {
    z-index: 1000;
}

/* Preview mode fix */
.cp-elementor-preview .ticker-strip,
.cp-elementor-preview .topbar,
.cp-elementor-preview .header,
.cp-elementor-preview .footer {
    display: none;
}

/* Elementor Kit color palette overrides */
:root {
    --e-global-color-primary: var(--accent, #7c3aed);
    --e-global-color-secondary: var(--accent-2, #1e5fd4);
    --e-global-color-text: var(--text-primary, #0e1120);
    --e-global-color-accent: var(--accent, #7c3aed);
    --e-global-typography-primary-font-family: 'Syne';
    --e-global-typography-secondary-font-family: 'DM Sans';
    --e-global-typography-text-font-family: 'DM Sans';
    --e-global-typography-accent-font-family: 'JetBrains Mono';
}

/* Ad slots styling */
.cp-ad {
    text-align: center;
    padding: 10px 0;
}

.cp-ad-header {
    background: var(--bg-off, #f0f1f7);
    border-bottom: 1px solid var(--border, #e4e6f0);
    padding: 8px 24px;
}

.cp-ad-sidebar-top,
.cp-ad-sidebar-mid {
    margin: 0 0 20px;
    border-radius: 8px;
    overflow: hidden;
}

.cp-ad-after-article {
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
}

.cp-ad-between-posts {
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
}

/* Hide the dummy the_content() div used for Elementor compatibility */
div[style*="position:absolute;visibility:hidden;height:0"] {
    display: none !important;
}
