.rwsc-form {
    display: grid;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--rwsc-max-width, 560px);
    padding: 24px;
    border-radius: 8px;
    background: var(--rwsc-background, #fff);
    color: var(--rwsc-text, #202020);
}

.rwsc-intro h2 {
    margin: 0 0 8px;
    color: inherit;
}

.rwsc-description > :first-child {
    margin-top: 0;
}

.rwsc-description > :last-child {
    margin-bottom: 0;
}

.rwsc-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.rwsc-field input[type="email"] {
    box-sizing: border-box;
    width: 100%;
}

.rwsc-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rwsc-footnote {
    font-size: 13px;
    line-height: 1.4;
}

.rwsc-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.rwsc-submit[disabled] {
    cursor: wait;
    opacity: .65;
}

.rwsc-submit {
    justify-self: start;
    padding: 12px 18px;
    border: 0;
    border-radius: 4px;
    background: var(--rwsc-primary, #8b1e24);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.rwsc-status {
    min-height: 1.5em;
    margin: 0;
}

.rwsc-status--success {
    color: #16733c;
}

.rwsc-status--error {
    color: #a21d1d;
}

/* The production theme already contains the original newsletter banner styles.
 * Keep the protected form visually identical while retaining RWSC behaviour. */
.rwsc-form.rwsc-form--legacy {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.rwsc-form--legacy .rwsc-submit {
    justify-self: auto;
    min-width: 150px;
    height: 52px;
    padding: 0 50px;
    border: 2px solid #1d1d1b;
    border-radius: 6px;
    background: #1d1d1b;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
}

.rwsc-form--legacy .rwsc-submit:hover {
    border-color: #903f11;
    background: #903f11;
}

.rwsc-form--legacy .rwsc-turnstile {
    min-height: 65px;
    margin: 12px 0 8px;
}

.rwsc-form--legacy .rwsc-status {
    min-height: 0;
    margin: 5px 0 0;
}

@media (max-width: 768px) {
    .rwsc-form--legacy .rwsc-submit {
        width: 100%;
        min-width: auto;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .rwsc-form--legacy .rwsc-submit {
        padding: 0 20px;
    }
}
