/* Email Protection Styles */

/* Hide email from bots using CSS */
.email-protect {
    unicode-bidi: bidi-override;
    direction: rtl;
}

/* Additional obfuscation using pseudo-elements */
.email-protect-advanced::before {
    content: attr(data-user);
}

.email-protect-advanced::after {
    content: "@" attr(data-domain);
}

/* Hide from screen readers to prevent confusion */
[data-email] {
    speak: none;
}

/* Fallback text for no-JS users */
.no-js [data-email]::before {
    content: "Enable JavaScript to view email";
    font-style: italic;
    color: #666;
}

/* Contact form styles for spam prevention */
.honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Visual indication for protected emails */
[data-email]:not(.processed) {
    position: relative;
    cursor: help;
}

[data-email]:not(.processed)::after {
    content: "🔒";
    font-size: 0.8em;
    margin-left: 0.2em;
    opacity: 0.5;
}