.editorial-article {
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
    padding-block: 2rem 4rem;
    color: var(--sos-theme-ink, #172b27);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.editorial-article h1,
.editorial-article h2,
.editorial-article h3 {
    line-height: 1.18;
    color: var(--sos-theme-ink, #172b27);
    text-wrap: pretty;
}

.editorial-article h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin: .8em 0 .7em;
    max-width: 24ch;
}

.editorial-article h2 {
    margin-block: 1.5em .7em;
    scroll-margin-top: 8rem;
}

.editorial-article h3 {
    margin-block: 1.3em .6em;
}

.editorial-breadcrumb {
    font-size: .88rem;
    color: var(--sos-theme-quiet, #3d554b);
}

.editorial-article a {
    text-decoration: underline;
    text-underline-offset: .15em;
}

.editorial-article p,
.editorial-article ul,
.editorial-article ol {
    margin-block: .65em 1.15em;
}

.editorial-article p,
.editorial-intro {
    max-width: 78ch;
}

.editorial-article img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: .6rem;
}

.editorial-article figure {
    margin: 1.5rem 0;
}

.editorial-article figcaption {
    color: var(--sos-theme-quiet, #3d554b);
    font-size: .88rem;
}

.editorial-article .info-box,
.editorial-article .cta-box,
.editorial-article .warning-box,
.editorial-observatory .obs-tldr,
.editorial-observatory .obs-cta {
    padding: 1rem 1.3rem;
    margin: 1.6rem 0;
    border: 1px solid var(--sos-theme-line, #ccdbce);
    background: var(--sos-theme-paper, #f8f7f1);
    border-radius: .7rem;
}

.editorial-table {
    max-width: 100%;
    overflow-x: auto;
    margin-block: 1.25rem 1.75rem;
}

.editorial-table table {
    border-collapse: collapse;
    width: 100%;
    min-width: 35rem;
}

.editorial-table th,
.editorial-table td {
    padding: .55rem .65rem;
    text-align: start;
    border: 1px solid var(--sos-theme-line, #ccdbce);
}

.editorial-table th {
    color: var(--sos-theme-ink, #172b27);
    background: var(--sos-theme-tint, #e9f0e8);
}

.editorial-article video,
.editorial-article iframe {
    max-width: 100%;
}

.editorial-search {
    margin: 2rem 0;
    max-width: 36rem;
}

.editorial-search label {
    display: block;
    font-weight: 700;
    margin-bottom: .45rem;
}

.editorial-search input {
    width: 100%;
    font: inherit;
    padding: .65rem .8rem;
    border: 1px solid var(--sos-theme-quiet, #3d554b);
    border-radius: .5rem;
    color: var(--sos-theme-ink, #172b27);
    background: #fff;
}

.editorial-search p {
    font-size: .88rem;
    min-height: 1.3em;
    margin: .4rem 0;
}

.editorial-cards {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: .8rem;
}

.editorial-cards li {
    padding: 1rem;
    border-radius: .65rem;
    border: 1px solid var(--sos-theme-line, #ccdbce);
    background: #fff;
}

.editorial-cards a {
    font-weight: 700;
}

.editorial-cards p {
    margin-bottom: 0;
}

.editorial-index [hidden] {
    display: none !important;
}

.editorial-index details {
    scroll-margin-top: 8rem;
}

.editorial-sources {
    padding-inline-start: 1.2rem;
}

.editorial-observatory .obs-toc {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
}

.editorial-observatory .obs-body,
.editorial-observatory .obs-hero .container {
    width: auto;
    padding-inline: 0;
}

@media (max-width: 600px) {
    .editorial-article {
        width: calc(100% - 32px);
        padding-top: 1.3rem;
    }
}
