/* ========================================
   WordPress / Astra Override Fixes
   ======================================== */

/* Remove ALL carets, cursors, outlines from non-input elements */
body:not(.wp-admin) *:not(input):not(textarea):not(select):not([contenteditable="true"]) {
    caret-color: transparent !important;
    outline: none !important;
}

/* Remove any pseudo-element lines */
body:not(.wp-admin) h1 *::before,
body:not(.wp-admin) h1 *::after,
body:not(.wp-admin) h2 *::before,
body:not(.wp-admin) h2 *::after,
body:not(.wp-admin) h3 *::before,
body:not(.wp-admin) h3 *::after,
body:not(.wp-admin) .section-title *::before,
body:not(.wp-admin) .section-title *::after,
body:not(.wp-admin) .hero-title *::before,
body:not(.wp-admin) .hero-title *::after,
body:not(.wp-admin) .dns-features-title *::before,
body:not(.wp-admin) .dns-features-title *::after,
body:not(.wp-admin) .dns-pricing-title *::before,
body:not(.wp-admin) .dns-pricing-title *::after {
    display: none !important;
    content: none !important;
}

/* Force no border/outline on all span elements with primary color */
span[style*="color:var(--primary)"],
span[style*="color: var(--primary)"] {
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    -webkit-user-modify: read-only !important;
}

/* Remove WordPress editor visual artifacts */
.wp-site-blocks,
.ast-container,
.site-content {
    border: none !important;
    outline: none !important;
}

/* Astra scroll-to-top override */
#ast-scroll-top,
.ast-scroll-top-icon {
    display: none !important;
}

/* Remove any Astra separator lines */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    border: none !important;
    box-shadow: none !important;
}
