.content-frame {
    max-width: 1150px;
}

.menu-title {
    font-size: 20px;
    font-weight: 700;
}

a[aria-current="location"] .active-mark {
    visibility: visible;
}

.menu-list li:has(> a[aria-current]) > .separator {
    display: none;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.crumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--accent);
}

.crumbs a,
.topic-list a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-intro {
    max-width: 65ch;
    margin-top: 14px;
}

.story {
    text-align: start;
}

.story-copy {
    align-items: flex-start;
    align-self: center;
    gap: 10px;
}

.story .story-meta {
    justify-content: flex-start;
}

.story h3,
.story .summary {
    display: block;
    overflow: visible;
}

.story .summary {
    max-width: 65ch;
}

.story .more {
    align-self: flex-start;
    margin-top: 2px;
}

.preview,
.preview img {
    width: 100%;
    aspect-ratio: 3 / 2;
}

.preview {
    align-self: center;
}

.preview img,
.story-cover {
    display: block;
    height: auto;
}

.story-page {
    margin-inline: auto;
}

.story-cover {
    width: 100%;
    border-radius: 12px;
}

.reading,
.reading p {
    line-height: 1.55;
}

.reading > * + * {
    margin-top: 1em;
}

.reading > * + h2 {
    margin-top: 1.35em;
}

.reading > * + h3 {
    margin-top: 1.2em;
}

.reading > :is(h2, h3) + * {
    margin-top: .55em;
}

.reading ul {
    list-style-type: disc;
}

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrap table {
    min-width: 31rem;
}

.table-wrap th[scope="row"] {
    color: var(--text);
    background: var(--paper);
}

.story-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.story-links a {
    justify-self: start;
}

.story-links a:last-child {
    justify-self: end;
    margin-left: 0;
}

@media (min-width: 703px) {
    .masthead .menu-list,
    .colophon .menu-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 6px 12px;
    }

    .menu-list li {
        gap: 8px;
    }

    .story {
        --preview-width: clamp(178px, 25%, 276px);
        grid-template-columns: var(--preview-width) minmax(0, 1fr);
        gap: clamp(20px, 2.4vw, 32px);
    }

    .story-list > li:nth-child(even) .story {
        grid-template-columns: minmax(0, 1fr) var(--preview-width);
    }
}

@media (min-width: 703px) and (max-width: 940px) {
    .colophon {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .colophon .menu-list {
        justify-content: flex-start;
        column-gap: 22px;
    }
}

@media (max-width: 702px) {
    .story {
        padding: clamp(14px, 3.7vw, 22px);
    }

    .story-meta {
        gap: 4px 12px;
    }
}

@media (max-width: 570px) {
    .story-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .story-links a,
    .story-links a:last-child {
        justify-self: stretch;
    }

    .table-wrap table {
        display: block;
        min-width: 0;
        border: 1px solid var(--primary);
        border-spacing: 0;
        border-collapse: separate;
        font-size: 1rem;
    }

    .table-wrap thead,
    .table-wrap tbody {
        display: block;
    }

    .table-wrap tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-wrap th,
    .table-wrap td {
        padding: 8px 10px;
        border: 0;
        border-top: 1px solid var(--primary);
        hyphens: auto;
    }

    .table-wrap thead th {
        border-top-color: var(--paper);
    }

    .table-wrap thead th:first-child,
    .table-wrap th[scope="row"] {
        grid-column: 1 / -1;
    }

    .table-wrap thead th:first-child {
        border-top: 0;
    }

    .table-wrap th[scope="row"] {
        background: var(--background);
    }

    .table-wrap tr > :last-child {
        border-inline-start: 1px solid var(--primary);
    }

    .table-wrap thead tr > :last-child {
        border-inline-start-color: var(--paper);
    }
}
