/**
 * Anti-spam CSS
 * Hides the honeypot field so bots cannot detect it
 */

.antispam-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Clip-based alternative for better accessibility */
.antispam-field input,
.antispam-field label {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    width: 1px;
}

/* Turnstile layout */
.antispam-block {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    margin: 0.5rem 0 1rem;
}

.antispam-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(16, 24, 40, 0.65);
}

.antispam-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.5rem 0 0;
}

.antispam-actions.is-right {
    align-items: flex-end;
}

.antispam-actions.is-centered {
    align-items: center;
}

.antispam-actions .antispam-block {
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .antispam-actions {
        align-items: stretch;
    }

    .antispam-actions .antispam-block {
        width: 100%;
    }
}

.section.is-black .antispam-block,
.section.is-100.is-contact .antispam-block,
.section[data-bg="blue"] .antispam-block {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.section.is-black .antispam-label,
.section.is-100.is-contact .antispam-label,
.section[data-bg="blue"] .antispam-label {
    color: rgba(255, 255, 255, 0.75);
}

.section.is-grey .antispam-block {
    background: rgba(255, 255, 255, 0.95);
}

/* Cloudflare Turnstile widget */
.cf-turnstile {
    margin: 0;
}

.cf-turnstile iframe {
    max-width: 100%;
}
