.endo-article-page {
    --article-bg: rgba(253, 121, 226, .055);
    --article-sidebar-width: 230px;
    --article-content-width: 680px;

    overflow-x: clip;
    background:
        radial-gradient(ellipse at 8% 8%,
            rgba(253, 121, 226, .09),
            transparent 30%),
        var(--article-bg);
    color: var(--text);
}


/* Header */

body.single-endo_article .site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    padding: 18px 0;
    background: transparent;
}


/* Shared */

.endo-article-page>section {
    position: relative;
}

.endo-article-page .container {
    width: min(calc(100% - var(--container-left) - var(--container-right)),
            calc(var(--container) - var(--container-left) - var(--container-right)));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}


/* Hero */

.endo-article-hero {
    padding: 148px 0 72px;
}

.endo-article-hero__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: clamp(60px, 8vw, 100px);
    align-items: end;
}

.endo-article-hero__heading,
.endo-article-hero__summary {
    min-width: 0;
}

.endo-article-hero__title {
    width: min(100%, 680px);
    margin: 0;
    color: var(--text);
    font-size: 64px;
    line-height: 70px;
    font-weight: 800;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.endo-article-hero__title-primary,
.endo-article-hero__title-accent {
    display: block;
}

.endo-article-hero__title-primary {
    color: var(--text);
}

.endo-article-hero__title-accent {
    color: var(--blue);
}

.endo-article-hero__summary {
    padding-bottom: 4px;
}

.endo-article-hero__meta {
    display: flex;
    gap: 8px 18px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
}

.endo-article-hero__category {
    display: inline-flex;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    align-items: center;
    background: rgba(253, 121, 226, .14);
    color: #d42086;
    font-weight: 700;
}

.endo-article-hero__date,
.endo-article-hero__read-time {
    color: var(--muted);
}

.endo-article-hero__excerpt {
    width: min(100%, 500px);
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: .25px;
}

.endo-article-hero__author {
    display: flex;
    gap: 9px;
    margin-top: 24px;
    align-items: center;
}

.endo-article-hero__author-mark {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: var(--pink);
}

.endo-article-hero__author-name {
    color: var(--blue);
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    text-decoration: none;
}

a.endo-article-hero__author-name {
    transition:
        opacity .2s ease,
        transform .2s ease;
}


/* Main */

.endo-article-main {
    padding: 0 0 112px;
}


/* Featured image */

.endo-article-featured {
    position: relative;
    width: 100%;
    margin: 0 0 54px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--soft);
}

.endo-article-featured__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}


/* Main layout */

.endo-article-main__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) var(--article-sidebar-width);
    gap: 72px;
    align-items: start;
}

.endo-article-main__content {
    min-width: 0;
    max-width: var(--article-content-width);
}


/* Article content */

.endo-article-content {
    min-width: 0;
}

.endo-article-content__body {
    color: var(--text);
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: .25px;
}

.endo-article-content__body> :first-child {
    margin-top: 0;
}

.endo-article-content__body> :last-child {
    margin-bottom: 0;
}


/* Paragraphs */

.endo-article-content__body p {
    margin: 0 0 20px;
}

/*
 * Editorial formatting reset
 *
 * Prevent pasted formatting from Word, Google Docs and external websites
 * from overriding the ENDO article design system.
 */

.endo-article-content__body p,
.endo-article-content__body p span,
.endo-article-content__body p font,
.endo-article-content__body li,
.endo-article-content__body li span,
.endo-article-content__body li font {
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: .25px !important;
}

.endo-article-content__body p,
.endo-article-content__body p span,
.endo-article-content__body p font,
.endo-article-content__body li,
.endo-article-content__body li span,
.endo-article-content__body li font {
    color: inherit !important;
}

.endo-article-content__body h2,
.endo-article-content__body h2 * {
    font-family: inherit !important;
    font-size: 32px !important;
    line-height: 40px !important;
    font-weight: 800 !important;
    letter-spacing: -.03em !important;
    color: var(--blue) !important;
}

.endo-article-content__body h3,
.endo-article-content__body h3 * {
    font-family: inherit !important;
    font-size: 24px !important;
    line-height: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -.02em !important;
    color: #d42086 !important;
}

.endo-article-content__body h4,
.endo-article-content__body h4 * {
    font-family: inherit !important;
    font-size: 18px !important;
    line-height: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -.015em !important;
    color: var(--text) !important;
}

.endo-article-content__body h5,
.endo-article-content__body h5 *,
.endo-article-content__body h6,
.endo-article-content__body h6 * {
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
}

.endo-article-content__body a,
.endo-article-content__body a * {
    color: var(--blue) !important;
}

.endo-article-content__body strong,
.endo-article-content__body b {
    font-weight: 700 !important;
}

.endo-article-content__body em,
.endo-article-content__body i {
    font-style: italic !important;
}


/* Headings */

.endo-article-content__body h2,
.endo-article-content__body h3,
.endo-article-content__body h4,
.endo-article-content__body h5,
.endo-article-content__body h6 {
    text-wrap: balance;
}

.endo-article-content__body h2 {
    margin: 52px 0 16px;
    color: var(--blue);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.endo-article-content__body h3 {
    margin: 38px 0 14px;
    color: var(--pink);
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: -.015em;
}

.endo-article-content__body h4 {
    margin: 36px 0 14px;
    color: var(--text);
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: -.015em;
}

.endo-article-content__body h5,
.endo-article-content__body h6 {
    margin: 30px 0 12px;
    color: var(--text);
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}


/* Inline content */

.endo-article-content__body strong {
    font-weight: 700;
}

.endo-article-content__body em {
    font-style: italic;
}

.endo-article-content__body a {
    color: var(--blue);
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Inline citations */

.endo-article-citation {
    position: relative;
    padding: 0 1px;
    border-radius: 4px;
    background:
        linear-gradient(to top,
            rgba(253, 121, 226, .16) 0,
            rgba(253, 121, 226, .16) 38%,
            transparent 38%);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 61, 196, .4);
    text-underline-offset: 3px;
    cursor: help;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    transition:
        background-color .18s ease,
        text-decoration-color .18s ease;
}

.endo-article-citation:hover,
.endo-article-citation.is-citation-active {
    background:
        linear-gradient(to top,
            rgba(253, 121, 226, .24) 0,
            rgba(253, 121, 226, .24) 44%,
            transparent 44%);
    text-decoration-color: var(--blue);
}

.endo-article-citation:focus-visible {
    outline: 2px solid rgba(0, 61, 196, .2);
    outline-offset: 3px;
}

.endo-article-citation__number {
    margin-left: 2px;
    font-size: .72em;
    line-height: 0;
    vertical-align: super;
}

.endo-article-content__body .endo-article-citation__number-link {
    color: var(--blue) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        color .18s ease,
        opacity .18s ease;
}


/* Lists */

.endo-article-content__body ul,
.endo-article-content__body ol {
    margin: 24px 0;
    padding-left: 24px;
}

.endo-article-content__body li {
    padding-left: 4px;
}

.endo-article-content__body li+li {
    margin-top: 10px;
}

.endo-article-content__body li::marker {
    color: var(--blue);
}


/* Quote */

.endo-article-content__body blockquote {
    margin: 42px 0;
    padding: 22px 26px;
    border: 0;
    border-left: 4px solid var(--pink);
    border-radius: 0 18px 18px 0;
    background: rgba(253, 121, 226, .08);
    color: var(--text);
    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.endo-article-content__body blockquote p {
    margin-bottom: 14px;
}

.endo-article-content__body blockquote p:last-child {
    margin-bottom: 0;
}

.endo-article-content__body blockquote cite {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
    font-style: normal;
    font-weight: 500;
}


/* Images */

.endo-article-content__body figure,
.endo-article-content__body .wp-block-image {
    width: 100%;
    max-width: 100%;
    margin: 44px 0;
}

.endo-article-content__body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}


/* Centered media */

.endo-article-content__body .aligncenter {
    margin-right: auto;
    margin-left: auto;
}

.endo-article-content__body figure.aligncenter img,
.endo-article-content__body .wp-block-image.aligncenter img {
    margin-inline: auto;
}


/* Wide media */

.endo-article-content__body .alignwide {
    position: relative;
    left: 50%;
    width: calc(100% + 48px);
    max-width: calc(100vw - 48px);
    margin-right: 0;
    margin-left: 0;
    transform: translateX(-50%);
}

.endo-article-content__body .alignwide img {
    width: 100%;
}


/* Full editorial media */

.endo-article-content__body .alignfull {
    position: relative;
    left: 50%;
    width: calc(100% + 96px);
    max-width: calc(100vw - 48px);
    margin-right: 0;
    margin-left: 0;
    transform: translateX(-50%);
}

.endo-article-content__body .alignfull img {
    width: 100%;
}


/* Floating images */

.endo-article-content__body .alignleft {
    width: min(42%, 280px);
    margin:
        6px 28px 20px 0;
    float: left;
}

.endo-article-content__body .alignright {
    width: min(42%, 280px);
    margin:
        6px 0 20px 28px;
    float: right;
}


/* Captions */

.endo-article-content__body figcaption,
.endo-article-content__body .wp-element-caption,
.endo-article-content__body .wp-caption-text {
    margin-top: 10px;
    color: var(--muted);
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: .15px;
}


/* Galleries */

.endo-article-content__body .wp-block-gallery {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 44px 0;
}

.endo-article-content__body .wp-block-gallery figure {
    margin: 0;
}

.endo-article-content__body .wp-block-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Video and embeds */

.endo-article-content__body iframe,
.endo-article-content__body video,
.endo-article-content__body embed,
.endo-article-content__body object {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 24px;
}

.endo-article-content__body .wp-block-embed {
    margin: 44px 0;
}

.endo-article-content__body .wp-block-embed__wrapper {
    overflow: hidden;
    border-radius: 24px;
}


/* Separator */

.endo-article-content__body hr {
    width: 100%;
    height: 1px;
    margin: 48px 0;
    border: 0;
    background: var(--line);
}


/* Tables */

.endo-article-content__body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 36px 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 19px;
}

.endo-article-content__body th,
.endo-article-content__body td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.endo-article-content__body th {
    color: var(--blue);
    font-weight: 700;
}


/* Code */

.endo-article-content__body pre {
    max-width: 100%;
    margin: 36px 0;
    padding: 20px;
    overflow-x: auto;
    border-radius: 18px;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 19px;
}

.endo-article-content__body code {
    font-size: .92em;
}

/* Citation preview */

.endo-article-citation-preview {
    position: fixed;
    z-index: 1000;
    width: min(340px, calc(100vw - 24px));
    padding: 17px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow:
        0 22px 60px rgba(0, 0, 0, .14);
    color: var(--text);
    font-family:
        "Poppins",
        sans-serif;
    text-align: left;
    pointer-events: auto;
    backdrop-filter: blur(14px);
    animation:
        endoArticleCitationPreviewIn .16s ease both;
}

.endo-article-citation-preview[hidden] {
    display: none;
}

.endo-article-citation-preview__label {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 10px;
    line-height: 14px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.endo-article-citation-preview__title {
    display: block;
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.endo-article-citation-preview__source {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 17px;
    font-weight: 400;
}

@keyframes endoArticleCitationPreviewIn {
    from {
        opacity: 0;
        transform: translateY(4px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* References */

.endo-article-references {
    margin-top: 64px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.endo-article-references__header {
    margin-bottom: 26px;
}

.endo-article-references__eyebrow {
    margin: 0 0 6px;
    color: #d42086;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.endo-article-references__header h2 {
    margin: 0;
    color: var(--blue);
    font-size: 32px;
    line-height: 40px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.endo-article-references__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: endo-reference;
}

.endo-article-references__item {
    counter-increment: endo-reference;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
    border-radius: 16px;
    transition:
        background-color .2s ease;
}

.endo-article-references__item:first-child {
    padding-top: 0;
}

.endo-article-references__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.endo-article-references__item::before {
    content: counter(endo-reference);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 61, 196, .06);
    color: var(--blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.endo-article-references__content {
    min-width: 0;
}

.endo-article-references__link,
.endo-article-references__title {
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.endo-article-references__link {
    display: inline-flex;
    gap: 6px;
    align-items: flex-start;
    text-decoration: none;
    transition:
        color .2s ease,
        opacity .2s ease;
}

.endo-article-references__link .material-symbols-outlined {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 15px;
    line-height: 16px;
    color: var(--blue);
}

.endo-article-references__source {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

.endo-article-references__link,
.endo-article-references__title,
.endo-article-references__source {
    overflow-wrap: anywhere;
}

.endo-article-references__item {
    scroll-margin-top: 120px;
    transition:
        background-color .22s ease,
        box-shadow .22s ease;
}



/* Sidebar */

.endo-article-sidebar {
    position: sticky;
    top: 120px;
    min-width: 0;
    align-self: start;
}

.endo-article-sidebar__section+.endo-article-sidebar__section {
    margin-top: 36px;
}

.endo-article-sidebar__title {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.endo-article-sidebar__category-list,
.endo-article-sidebar__recent-list,
.endo-article-sidebar__tag-list {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* Categories */

.endo-article-sidebar__category-list {
    display: grid;
    gap: 8px;
}

.endo-article-sidebar__category-link {
    display: inline-block;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color .2s ease,
        transform .2s ease;
}


/* Recent posts */

.endo-article-sidebar__recent-list {
    display: grid;
    gap: 12px;
}

.endo-article-sidebar__recent-link {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color .2s ease,
        transform .2s ease;
}


/* Tags */

.endo-article-sidebar__tag-list {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.endo-article-sidebar__tag-link {
    display: inline-flex;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    align-items: center;
    background: rgba(255, 255, 255, .58);
    color: var(--muted);
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    text-decoration: none;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


/* Share */

.endo-article-sidebar__share {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.endo-article-sidebar__share-button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .55);
    color: var(--muted);
    font: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: lowercase;
    cursor: pointer;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.endo-article-sidebar__share-button .material-symbols-outlined {
    font-size: 16px;
}

.endo-article-sidebar__share-button--success {
    border-color: var(--blue);
    color: var(--blue);
    transform: scale(.96);
}


/* Author */

.endo-author-section {
    padding: 0 0 110px;
}

.endo-author-card {
    box-sizing: border-box;
    width: min(100%, 720px);
    margin: 0 auto 0 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
}

.endo-author-card__main {
    display: grid;
    grid-template-columns:
        116px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.endo-author-card__avatar {
    width: 116px;
    height: 116px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--soft);
}

.endo-author-card__avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.endo-author-card__content {
    min-width: 0;
}

.endo-author-card__title {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.endo-author-card__meta {
    margin: 6px 0 0;
    color: var(--blue);
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
}

.endo-author-card__bio {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .25px;
}

.endo-author-card__website {
    display: inline-flex;
    gap: 5px;
    margin-top: 14px;
    align-items: center;
    color: var(--blue);
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.endo-author-card__website .material-symbols-outlined {
    font-size: 15px;
    text-decoration: none;
}

.endo-author-card__footer {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
}

.endo-author-card__date {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--muted);
    font-size: 11px;
    line-height: 16px;
}

.endo-author-card__date--reviewed {
    color: var(--blue);
}

.endo-author-card__date .material-symbols-outlined {
    font-size: 16px;
}


/* Error */

.endo-article-error {
    min-height: 65vh;
    padding: 130px 0 100px;
}

.endo-article-error__panel {
    width: min(100%, 650px);
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
}

.endo-article-error__eyebrow {
    margin: 0 0 12px;
    color: #d42086;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.endo-article-error__panel h1 {
    margin: 0;
    color: var(--text);
    font-size: 48px;
    line-height: 54px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.endo-article-error__panel>p:not(.endo-article-error__eyebrow) {
    width: min(100%, 500px);
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .25px;
}

.endo-article-error__action {
    display: inline-flex;
    min-height: 48px;
    gap: 12px;
    margin-top: 28px;
    padding: 12px 18px;
    border-radius: 10px;
    align-items: center;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-decoration: none;
}

.endo-article-error__action .material-symbols-outlined {
    font-size: 18px;
}


/* Overflow protection */

html:has(body.single-endo_article),
body.single-endo_article {
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
}

body.single-endo_article {
    position: relative;
}

.endo-article-hero__heading,
.endo-article-hero__summary,
.endo-article-main__layout,
.endo-article-main__content,
.endo-article-content,
.endo-article-content__body,
.endo-article-sidebar,
.endo-author-card,
.endo-author-card__main,
.endo-author-card__content {
    min-width: 0;
    max-width: 100%;
}

.endo-article-content__body p,
.endo-article-content__body a,
.endo-article-content__body li,
.endo-article-content__body blockquote,
.endo-article-sidebar__recent-link {
    overflow-wrap: anywhere;
    word-break: normal;
}


/* Hover */

@media (hover: hover) {
    a.endo-article-hero__author-name:hover {
        opacity: .68;
        transform: translateX(2px);
    }

    .endo-article-content__body a:hover {
        color: #002d91;
    }

    .endo-article-content__body .endo-article-citation__number-link:hover {
        color: var(--pink) !important;
    }

    .endo-article-sidebar__category-link:hover,
    .endo-article-sidebar__recent-link:hover {
        color: var(--blue);
        transform: translateX(3px);
    }

    .endo-article-sidebar__tag-link:hover {
        border-color: rgba(0, 61, 196, .22);
        background: #fff;
        color: var(--blue);
        transform: translateY(-1px);
    }

    .endo-article-sidebar__share-button:hover {
        border-color: var(--blue);
        background: var(--blue);
        color: #fff;
        transform: translateY(-2px);
    }

    .endo-article-references__link:hover {
        color: var(--blue);
    }

    .endo-article-references__item:hover {
        background: rgba(255, 255, 255, .48);
    }

    .endo-article-references__item:hover::before {
        background: var(--blue);
        color: #fff;
    }
}


/* Tablet */

@media (max-width: 900px) {
    .endo-article-hero {
        padding: 118px 0 58px;
    }

    .endo-article-hero__layout {
        grid-template-columns: 1fr;
        gap: 34px;
        align-items: start;
    }

    .endo-article-hero__title {
        width: min(100%, 700px);
    }

    .endo-article-hero__summary {
        width: min(100%, 620px);
    }

    .endo-article-featured__image {
        aspect-ratio: 16 / 8;
    }

    .endo-article-main__layout {
        grid-template-columns:
            minmax(0, 1fr) 200px;
        gap: 42px;
    }

    .endo-article-content__body .alignwide,
    .endo-article-content__body .alignfull {
        left: auto;
        width: 100%;
        max-width: 100%;
        transform: none;
    }
}


/* Mobile */

@media (max-width: 720px) {
    body.single-endo_article .site-header {
        padding: 0;
    }

    .endo-article-page .container {
        width: calc(100% - 40px);
    }

    .endo-article-hero {
        padding: 98px 0 46px;
    }

    .endo-article-hero__title {
        font-size: 48px;
        line-height: 54px;
    }

    .endo-article-featured {
        margin-bottom: 42px;
        border-radius: 24px;
    }

    .endo-article-featured__image {
        aspect-ratio: 16 / 10;
    }

    .endo-article-main__layout {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .endo-article-main__content {
        max-width: none;
    }

    .endo-article-sidebar {
        position: static;
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    .endo-article-sidebar__section+.endo-article-sidebar__section {
        margin-top: 0;
    }

    .endo-article-citation-preview {
        width: calc(100vw - 24px);
        padding: 16px;
        border-radius: 16px;
    }

    .endo-article-citation {
        cursor: pointer;
    }

    .endo-article-content__body .alignleft,
    .endo-article-content__body .alignright {
        width: 100%;
        margin:
            36px 0;
        float: none;
    }

    .endo-article-content__body figure,
    .endo-article-content__body .wp-block-image,
    .endo-article-content__body .wp-block-gallery,
    .endo-article-content__body .wp-block-embed {
        margin: 36px 0;
    }

    .endo-article-content__body img,
    .endo-article-content__body iframe,
    .endo-article-content__body video {
        border-radius: 20px;
    }

    .endo-author-section {
        padding-bottom: 84px;
    }

    .endo-author-card {
        padding: 22px;
    }

    .endo-author-card__main {
        grid-template-columns:
            90px minmax(0, 1fr);
        gap: 18px;
    }

    .endo-author-card__avatar {
        width: 90px;
        height: 90px;
        border-radius: 16px;
    }

    .endo-author-card__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}


/* Small mobile */

@media (max-width: 520px) {
    .endo-article-main {
        padding-bottom: 80px;
    }

    .endo-article-hero__title {
        font-size: 42px;
        line-height: 48px;
    }

    .endo-article-hero__meta {
        gap: 7px 12px;
    }

    .endo-article-featured__image {
        aspect-ratio: 4 / 3;
    }

    .endo-article-content__body h2 {
        margin-top: 48px;
        font-size: 28px;
        line-height: 35px;
    }

    .endo-article-content__body h3 {
        margin-top: 38px;
        font-size: 22px;
        line-height: 28px;
    }

    .endo-article-content__body blockquote {
        padding: 18px 20px;
        font-size: 16px;
        line-height: 24px;
    }

    .endo-article-content__body .wp-block-gallery {
        grid-template-columns: 1fr;
    }

    .endo-article-sidebar {
        grid-template-columns: 1fr;
    }

    .endo-author-card__main {
        grid-template-columns:
            64px minmax(0, 1fr);
        gap: 14px;
    }

    .endo-author-card__avatar {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .endo-author-card__title {
        font-size: 20px;
        line-height: 26px;
    }

    .endo-article-error__panel {
        padding: 34px 24px;
    }

    .endo-article-error__panel h1 {
        font-size: 38px;
        line-height: 44px;
    }

    .endo-article-references {
        margin-top: 52px;
        padding-top: 30px;
    }

    .endo-article-references__header h2 {
        font-size: 28px;
        line-height: 35px;
    }

    .endo-article-references__item {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    .endo-article-references__item::before {
        width: 26px;
        height: 26px;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .endo-article-hero__author-name,
    .endo-article-sidebar__category-link,
    .endo-article-sidebar__recent-link,
    .endo-article-sidebar__tag-link,
    .endo-article-citation,
    .endo-article-citation__number-link,
    .endo-article-references__item .endo-article-sidebar__share-button {
        transition: none;
    }

    .endo-article-citation-preview {
        animation: none;
    }
}