.public-article-main {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 40px 24px;
}

.public-article {
    width: 100%;
}

.public-article-header {
    max-width: 780px;
    margin: 0 auto 36px;
    background: transparent;
}

.public-article-category {
    display: inline-block;
    margin: 0 0 15px;
    color: #18181b;
    font-family: News, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-transform: uppercase;
}

a.public-article-category:hover {
    color: #52525b;
}

.public-article h1,
.public-article-error h1 {
    max-width: 100%;
    margin: 0;
    color: #18181b;
    font-family: Title, serif;
    font-size: 52px;
    font-weight: normal;
    line-height: 1.04;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.public-article-subtitle {
    max-width: 100%;
    margin: 20px 0 0;
    color: #52525b;
    font-family: News, sans-serif;
    font-size: 21px;
    line-height: 1.45;
}

.public-article-byline {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #d4d4d8;
    color: #71717a;
    font-family: News, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.public-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.public-article-author-profile {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.public-article-author {
    color: #18181b;
    text-transform: uppercase;
}

.author-contact-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.public-article-meta-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.public-article-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 9px;
}

.public-article-meta-actions time {
    white-space: nowrap;
}

.public-article-edited {
    color: #71717a;
    font-size: 12px;
}

.author-contact-link {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    color: #3f3f46;
    font-size: 13px;
    line-height: 1;
    transition: color .2s ease, background .2s ease;
}

.author-contact-link:hover {
    background: #f4f4f5;
    color: #18181b;
}

.author-contact-link:focus-visible,
.article-share-trigger:focus-visible,
.article-share-button:focus-visible {
    outline: 2px solid #18181b;
    outline-offset: 2px;
}

.public-article-share {
    position: relative;
    flex: 0 0 28px;
}

.article-share-trigger {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d4d4d8;
    border-radius: 0;
    background: #fff;
    color: #18181b;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.article-share-trigger:hover {
    border-color: #18181b;
    background: #f4f4f5;
}

.public-article-share-actions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    grid-template-columns: repeat(3, 34px);
    gap: 6px;
    padding: 10px;
    border: 1px solid #d4d4d8;
    background: #fff;
    box-shadow: 0 10px 24px rgb(0 0 0 / 12%);
}

.public-article-share-actions[hidden] {
    display: none;
}

.article-share-button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d4d4d8;
    border-radius: 0;
    background: #fff;
    color: #18181b;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.article-share-button:hover {
    border-color: #18181b;
    background: #f4f4f5;
}

.article-share-status {
    grid-column: 1 / -1;
    color: #166534;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

.article-share-status:empty {
    display: none;
}

.article-share-status[data-state="error"] {
    color: #b91c1c;
}

.public-article-cover {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 42px;
}

.public-article-cover img,
.article-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    background: #f4f4f5;
}

.public-article-cover figcaption,
.article-inline-image figcaption {
    margin: 9px 0 0;
    color: #71717a;
    font-family: News, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

.public-article-body {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    color: #27272a;
    font-family: News, sans-serif;
    font-size: 19px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.public-article-body p {
    margin: 0 0 24px;
}

.public-article-body h2,
.public-article-body h3 {
    margin: 42px 0 18px;
    color: #18181b;
    font-family: Title, serif;
    font-weight: normal;
    letter-spacing: 0;
}

.public-article-body h2 {
    font-size: 34px;
    line-height: 1.12;
}

.public-article-body h3 {
    font-size: 27px;
    line-height: 1.18;
}

.public-article-body strong {
    color: #18181b;
    font-weight: 700;
}

.public-article-body a {
    color: #18181b;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.public-article-body a:hover {
    color: #18181b;
}

.public-article-body ul,
.public-article-body ol {
    margin: 0 0 26px;
    padding-left: 28px;
}

.public-article-body ul {
    list-style: disc;
}

.public-article-body ol {
    list-style: decimal;
}

.public-article-body li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.public-article-body blockquote {
    margin: 34px 0;
    padding: 5px 0 5px 24px;
    border-left: 3px solid #2563eb;
    color: #3f3f46;
    font-family: Title, serif;
    font-size: 27px;
    line-height: 1.35;
}

.article-inline-image {
    width: 100%;
    margin: 38px 0;
}

.public-article-error {
    max-width: 820px;
    min-height: 360px;
    margin: 0 auto;
    padding: 56px 0;
}

.public-article-error > p:not(.public-article-category) {
    max-width: 620px;
    margin: 22px 0 28px;
    color: #52525b;
    font-size: 18px;
    line-height: 1.55;
}

html.dark .public-article h1,
html.dark .public-article-error h1,
html.dark .public-article-category,
html.dark .public-article-author,
html.dark .public-article-body h2,
html.dark .public-article-body h3,
html.dark .public-article-body strong {
    color: #f4f4f5;
}

html.dark .public-article-subtitle,
html.dark .public-article-cover figcaption,
html.dark .article-inline-image figcaption,
html.dark .public-article-error > p:not(.public-article-category) {
    color: #a1a1aa;
}

html.dark .public-article-byline {
    border-color: #3f3f46;
    color: #a1a1aa;
}

html.dark .author-contact-link {
    color: #d4d4d8;
}

html.dark .author-contact-link:hover {
    background: #27272a;
    color: #f4f4f5;
}

html.dark .article-share-trigger {
    border-color: #52525b;
    background: #18181b;
    color: #f4f4f5;
}

html.dark .article-share-trigger:hover {
    border-color: #f4f4f5;
    background: #27272a;
}

html.dark .public-article-share-actions {
    border-color: #52525b;
    background: #18181b;
    box-shadow: 0 10px 24px rgb(0 0 0 / 35%);
}

html.dark .article-share-button {
    border-color: #52525b;
    background: #18181b;
    color: #f4f4f5;
}

html.dark .article-share-button:hover {
    border-color: #f4f4f5;
    background: #27272a;
}

html.dark .author-contact-link:focus-visible,
html.dark .article-share-trigger:focus-visible,
html.dark .article-share-button:focus-visible {
    outline-color: #f4f4f5;
}

html.dark .article-share-status {
    color: #86efac;
}

html.dark .article-share-status[data-state="error"] {
    color: #fca5a5;
}

html.dark .public-article-cover img,
html.dark .article-inline-image img {
    background: #18181b;
}

html.dark .public-article-body {
    color: #e4e4e7;
}

html.dark .public-article-body a {
    color: #f4f4f5;
}

html.dark .public-article-body a:hover {
    color: #f4f4f5;
}

html.dark a.public-article-category:hover {
    color: #d4d4d8;
}

html.dark .public-article-body blockquote {
    border-color: #60a5fa;
    color: #d4d4d8;
}

.legal-article .public-article-body a,
.legal-article .public-article-body a:hover,
html.dark .legal-article .public-article-body a,
html.dark .legal-article .public-article-body a:hover {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .public-article-main {
        padding: 34px 20px 8px;
    }

    .public-article-header {
        margin-bottom: 26px;
    }

    .public-article h1,
    .public-article-error h1 {
        font-size: 36px;
        line-height: 1.08;
    }

    .public-article-subtitle {
        margin-top: 16px;
        font-size: 18px;
        line-height: 1.45;
    }

    .public-article-byline {
        margin-top: 24px;
    }

    .public-article-meta {
        align-items: center;
        flex-wrap: wrap;
        gap: 9px 6px;
    }

    .public-article-author-profile,
    .author-contact-links,
    .public-article-meta-actions {
        display: contents;
    }

    .public-article-author {
        min-width: 0;
        flex: 1 1 0;
        overflow: hidden;
        order: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .author-contact-link,
    .public-article-share {
        order: 1;
    }

    .public-article-meta-actions time {
        flex: 0 0 auto;
        order: 2;
    }

    .public-article-dates {
        flex: 1 1 100%;
        order: 2;
        justify-content: flex-start;
        text-align: left;
    }

    .public-article-dates > time {
        order: 0;
    }

    .public-article-edited {
        order: 1;
    }

    .public-article-share-actions {
        right: 0;
        left: auto;
    }

    .public-article-cover {
        margin-bottom: 32px;
    }

    .public-article-body {
        font-size: 17px;
        line-height: 1.7;
    }

    .public-article-body p {
        margin-bottom: 21px;
    }

    .public-article-body h2 {
        margin-top: 34px;
        font-size: 29px;
    }

    .public-article-body h3 {
        margin-top: 32px;
        font-size: 24px;
    }

    .public-article-body blockquote {
        margin: 28px 0;
        padding-left: 18px;
        font-size: 23px;
    }

    .article-inline-image {
        margin: 32px 0;
    }

    .public-article-error {
        min-height: 300px;
        padding: 34px 0;
    }
}

@media (max-width: 390px) {
    .public-article-main {
        padding-right: 16px;
        padding-left: 16px;
    }

    .public-article h1,
    .public-article-error h1 {
        font-size: 33px;
    }

}

.simple-brand-icon {
    display: block;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    object-fit: contain;
}

.author-contact-link .simple-brand-icon,
.article-share-button .simple-brand-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
}
.author-contact-link img[src*="/x/"],
.article-share-button img[src*="/x/"] {
    width: 11px;
    height: 11px;
    flex-basis: 11px;
}
.article-share-button[data-copy-article-link] .lucide {
    width: 15px;
    height: 15px;
}

html.dark .simple-brand-icon {
    filter: invert(1);
}