/* Villaggio Prenestino Newsletter — Stile coordinato tema Extra (ElegantThemes) */
.vpn-newsletter-module {
    background-color: #ffffff;
    border: 1px solid #e2dcda;
    border-top: 4px solid #771816;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(28, 21, 20, 0.05);
    color: #1c1514;
    margin: 0 0 30px;
    overflow: hidden;
    font-family: inherit;
    box-sizing: border-box;
}

.vpn-newsletter-module *,
.vpn-newsletter-module *::before,
.vpn-newsletter-module *::after {
    box-sizing: border-box;
}

.vpn-newsletter-module .vpn-module-head {
    padding: 15px 22px;
    border-bottom: 1px solid #efeae8;
    background-color: #ffffff;
}

.vpn-newsletter-module .vpn-module-title {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1c1514;
}

.vpn-newsletter-module .vpn-module-body {
    padding: 20px 22px 22px;
}

.vpn-newsletter-module .vpn-module-desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #574d4b;
}

.vpn-newsletter-module .vpn-hp-wrap,
.vpn-newsletter-module .vpn-hp-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.vpn-newsletter-module .vpn-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vpn-newsletter-module.vpn-layout-horizontal .vpn-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr auto;
    gap: 12px;
    align-items: end;
}

.vpn-newsletter-module .vpn-label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1c1514;
}

.vpn-newsletter-module .vpn-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    background-color: #faf8f7;
    border: 1px solid #dfd8d5;
    border-radius: 3px;
    font-size: 14px;
    color: #1c1514;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.vpn-newsletter-module .vpn-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #771816;
}

.vpn-newsletter-module .vpn-privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #574d4b;
    cursor: pointer;
}

.vpn-newsletter-module .vpn-privacy-checkbox {
    margin-top: 3px;
    width: 15px;
    height: 15px;
    accent-color: #771816;
    flex-shrink: 0;
}

.vpn-newsletter-module .vpn-privacy-link {
    color: #771816;
    font-weight: 600;
    text-decoration: underline;
}

.vpn-newsletter-module .vpn-submit-btn {
    height: 42px;
    padding: 0 20px;
    background-color: #771816;
    border: 1px solid #771816;
    border-radius: 3px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
}

.vpn-newsletter-module .vpn-submit-btn:hover {
    background-color: #5c1110;
    border-color: #5c1110;
}

.vpn-newsletter-module .vpn-submit-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.vpn-newsletter-module .vpn-submit-full {
    width: 100%;
    margin-top: 14px;
}

.vpn-newsletter-module .vpn-form-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.5;
}

.vpn-newsletter-module .vpn-form-message.is-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.vpn-newsletter-module .vpn-form-message.is-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media only screen and (max-width: 767px) {
    .vpn-newsletter-module.vpn-layout-horizontal .vpn-fields-grid {
        grid-template-columns: 1fr;
    }

    .vpn-newsletter-module.vpn-layout-horizontal .vpn-submit-btn {
        width: 100%;
    }
}
