        #hsNewsletterFooter *,
        #hsNewsletterFooter *::before,
        #hsNewsletterFooter *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        #hsNewsletterFooter {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 13px;
            color: #333;
            background: #fff;
            padding: 12px 0;
            max-width: 575px;
        }

        /* --- Row layout: put all three fields side-by-side --- */
        #hsNewsletterFooter .hs-form fieldset {
            max-width: 100% !important;
            display: flex !important;
            flex-wrap: nowrap !important;
            gap: 6px !important;
        }

        /* Each field group takes equal width */
        #hsNewsletterFooter .hs-form-field {
            flex: 1 1 0 !important;
            min-width: 0 !important;
        }

        /* Hide the label (Pardot form uses placeholder-only labels) */
        #hsNewsletterFooter .hs-form-field>label {
            display: none !important;
        }

        /* --- Inputs --- */
        #hsNewsletterFooter .hs-input,
        #hsNewsletterFooter input[type="text"],
        #hsNewsletterFooter input[type="email"] {
            width: 100% !important;
            height: 32px !important;
            padding: 4px 8px !important;
            font-family: Arial, Helvetica, sans-serif !important;
            font-size: 13px !important;
            font-style: italic !important;
            /* Pardot uses italic placeholders AND input text */
            color: #555 !important;
            background: #fff !important;
            border: 1px solid #ccc !important;
            border-radius: 2px !important;
            outline: none !important;
            box-shadow: none !important;
            transition: border-color 0.15s ease !important;
        }

        #hsNewsletterFooter .hs-input:focus {
            border-color: #999 !important;
        }

        /* Italic placeholder text */
        #hsNewsletterFooter .hs-input::placeholder {
            font-style: italic;
            color: #999;
        }

        /* --- Required asterisk next to placeholder --- */
        /* HubSpot adds .hs-form-required span with * — we keep it inside the field */
        #hsNewsletterFooter .hs-form-required {
            color: #b30000 !important;
            font-style: normal !important;
            margin-left: 1px !important;
        }

        /* --- Error state: red border + icon --- */
        #hsNewsletterFooter .hs-input.invalid,
        #hsNewsletterFooter .hs-input.error {
            border-color: #c0002a !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23c0002a'/%3E%3Ctext x='10' y='15' text-anchor='middle' fill='white' font-size='13' font-family='Arial' font-weight='bold'%3E!%3C/text%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: right 6px center !important;
            background-size: 18px 18px !important;
            padding-right: 30px !important;
        }

        /* Error message text ("Please complete all required fields.") */
        #hsNewsletterFooter .hs-error-msgs {
            list-style: none !important;
            padding: 0 !important;
            margin: 4px 0 0 0 !important;
        }

        #hsNewsletterFooter .hs-error-msgs li label,
        #hsNewsletterFooter .hs-error-msg {
            color: #c0002a !important;
            font-size: 12px !important;
            font-style: italic !important;
        }

        /* Global form-level error message */
        #hsNewsletterFooter .hs_error_rollup .hs-error-msgs label {
            color: #c0002a !important;
            font-size: 12px !important;
            font-style: italic !important;
            display: none !important;
            margin: 6px 0 4px 0 !important;
        }

        /* --- Submit button --- */
        #hsNewsletterFooter .hs-button,
        #hsNewsletterFooter input[type="submit"] {
            margin-top: 8px !important;
            padding: 8px 18px !important;
            background: #B8103D !important;
            /* Pardot crimson */
            background-image: none !important;
            border: none !important;
            border-radius: 3px !important;
            color: #fff !important;
            font-family: Arial, Helvetica, sans-serif !important;
            font-size: 14px !important;
            font-weight: bold !important;
            font-style: normal !important;
            cursor: pointer !important;
            line-height: 1.2 !important;
            letter-spacing: 0 !important;
            box-shadow: none !important;
        }

        #hsNewsletterFooter .hs-button:hover {
            background: #8f0000 !important;
        }

        /* Hide the submit fieldset's default styling */
        #hsNewsletterFooter .hs-submit {
            display: block !important;
        }

        /* --- Privacy disclaimer --- */
        .form-disclaimer {
            margin-top: 8px;
            font-size: 11px;
            color: #555;
        }

        .form-disclaimer a {
            color: #555;
            text-decoration: underline;
        }

        .form-disclaimer a:hover {
            color: #000;
        }

        /* Hide the Comments field visually but keep it accessible to HubSpot */
        #hsNewsletterFooter .hs-fieldtype-textarea,
        #hsNewsletterFooter .hs-comments {
            display: none !important;
        }

        .PrivacyText {
            color: #6e6e6e;
            font-size: 10px;
        }