/* The site's article, image, quotation, accordion, and link styles remain in their shared sheets. */
html.foz-document,
html.foz-document body {
    overflow-x: clip;
}

.foz-section {
    margin: 28px 0 72px;
}

.foz-layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 4vw, 64px);
}

.foz-side {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.foz-side .further-read {
    margin: 0;
}

.foz-side .further-read .title {
    margin-top: 24px;
}

.foz-side .further-read .title:first-child {
    margin-top: 0;
}

.foz-mobile {
    display: none;
}

.foz-article {
    min-width: 0;
}

.foz-article > section {
    scroll-margin-top: 24px;
}

.foz-article > section:first-child > h3 {
    margin-top: 0;
}

.foz-article .image.center {
    max-width: 100%;
    margin: 28px auto;
}

.foz-article .image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 650px;
    height: auto;
}

.foz-article .image .caption {
    width: 100%;
}

.foz-return {
    margin: 24px 0 48px;
}

.foz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 960px) {
    .foz-layout {
        display: block;
    }

    .foz-side {
        position: static;
        max-height: none;
        overflow: visible;
        margin-bottom: 36px;
    }

    .foz-desktop {
        display: none;
    }

    .foz-mobile {
        display: block;
    }
}
