<commit_before>.newsletter,
.newsletter-thanks {
    position: relative;
    margin: 40px auto 0;
    padding: 40px;
    border-top: 3px solid $text-color;
    max-width: $max-width-default;

    .newsletter-form {
        display: block;

        @media #{$mq-small-desktop-and-up} {
            display: grid;
            column-gap: 20px;
            grid-template-columns: 2fr 1fr;
        }
    }
}<commit_msg>Fixes #5803, incorrect top margin and border on newsletter, landing page (#5804)<commit_after>.newsletter,
.newsletter-thanks {
    position: relative;
    margin: 40px auto 0;
    padding: 40px;
    border-top: 3px solid $text-color;
    max-width: $max-width-default;

    .newsletter-form {
        display: block;

        @media #{$mq-small-desktop-and-up} {
            display: grid;
            column-gap: 20px;
            grid-template-columns: 2fr 1fr;
        }
    }
}

/* Specific styling for newsletter on landing page */
.callout-newsletter {
    .newsletter,
    .newsletter-thanks {
        margin-top: 0;
    }

    .newsletter-thanks {
        border-top: 0;
    }
}
{'fraction_non_alphanumeric': 0.12159709618874773, 'fraction_numerical': 0.02722323049001815, 'mean_word_length': 2.03021978021978, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6984417', 'n_tokens_mistral': 396, 'n_tokens_neox': 350, 'n_words': 82}