/* Match the News masthead across the main website pages. */
body > main.site-page-main {
    padding-top: 24px;
}

body > main.site-page-main .site-page-banner {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0 0 22px;
    padding: 26px 28px;
    border-bottom: 4px solid #b69ae5;
    border-radius: 0;
    background: #ede5fb;
    text-align: left;
}

body > main .site-page-banner .site-page-banner-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15em .45em;
    margin: 0;
    color: #452376;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

.site-page-banner-title > span {
    min-width: 0;
    max-width: 100%;
}

.site-page-banner-title > [lang="zh-Hans"] {
    letter-spacing: .08em;
}

body > main .site-page-banner .site-page-banner-copy,
body > main .site-page-banner .site-page-banner-context {
    max-width: 760px;
    margin: 10px 0 0;
    color: #62428f;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

body > main .site-page-banner .site-page-banner-context {
    font-weight: 700;
}

.account-page:not([data-account-state="signed-in"]) main.site-page-main {
    max-width: 1600px;
}

.account-page:not([data-account-state="signed-in"]) .account-shell {
    max-width: 500px;
}

.account-page[data-account-state="signed-in"] .site-page-banner-context {
    display: none;
}

html[data-theme="dark"] body > main.site-page-main .site-page-banner {
    background: #302042;
    border-color: #8e6cb8;
}

html[data-theme="dark"] body > main .site-page-banner :is(.site-page-banner-title, .site-page-banner-copy, .site-page-banner-context) {
    color: #e9ddff;
}

@media (max-width: 600px) {
    body > main.site-page-main .site-page-banner {
        padding: 22px 20px;
    }
}
