/* landing/Liturgy.svelte */

    section.liturgy.svelte-1isps61 {
        padding: var(--gap-regular);
        border-radius: var(--border-radius);
        background-color: var(--content-secondary-background-color);
        border: 1px solid var(--border-primary-color);
    }


/* landing/SocialMedia.svelte */

    .social-media.svelte-1g7hru8 {
        display: flex;
        flex-direction: row;
        border-radius: var(--border-radius);
        background-color: var(--content-secondary-background-color);
        border: 1px solid var(--border-primary-color);

        >a:where(.svelte-1g7hru8) {
            flex-grow: 1;
            flex-basis: 0;
            padding: var(--gap-regular);
            display: flex;
            align-items: center;
            justify-content: center;

            &:not(:last-child) {
                border-right: 1px solid var(--border-primary-color);
            }

            >svg:where(.svelte-1g7hru8) {
                width: 36px;
                fill: var(--text-primary-color);
                transition: fill .1s;
            }

            &.facebook:hover>svg:where(.svelte-1g7hru8) {
                fill: #0866FF;
            }

            &.youtube:hover>svg:where(.svelte-1g7hru8) {
                fill: #FF0000;
            }
        }
    }


/* shared/ContentArticle.svelte */

    /* :global(.markdown) - the <Markdown> child component's own root div, not part of this component's template */
    article.page-article.svelte-1n65qdi {
        overflow: hidden;
        border-radius: var(--border-radius);
        background-color: var(--content-primary-background-color);
        border: 1px solid var(--border-primary-color);
        position: relative;

        > .cover:where(.svelte-1n65qdi) {
            width: 100%;

            > img:where(.svelte-1n65qdi) {
                width: 100%;
                display: block;
            }
        }

        > header:where(.svelte-1n65qdi) {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: var(--gap-large);
            color: var(--markdown-text-primary-color);
            border-bottom: 1px solid var(--border-primary-color);
            padding: var(--gap-large);
        }

        > .markdown {
            padding: var(--gap-large);
            padding-bottom: var(--gap-large);
        }

        > footer:where(.svelte-1n65qdi) {
            display: flex;
            flex-direction: row;
            color: var(--markdown-text-secondary-color);
            padding: var(--gap-regular);
            border-top: 1px solid var(--border-primary-color);

            > .actions:where(.svelte-1n65qdi) {
                display: flex;
                flex-direction: row;
                gap: var(--gap-small);
                flex-grow: 1;

                > button:where(.svelte-1n65qdi) {
                    border-radius: var(--border-radius);
                    padding: var(--gap-small);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: min-content;
                    border: 1px solid var(--border-primary-color);
                    background: none;
                    color: var(--markdown-text-secondary-color);
                    cursor: pointer;
                    font: inherit;

                    &:hover {
                        background-color: var(--action-hover-mask);
                    }

                    &:disabled /* (unused) &.is-loading*/ {
                        opacity: 0.5;
                        cursor: wait;
                    }
                }
            }

            > .dates:where(.svelte-1n65qdi) {
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                gap: var(--gap-small);
            }
        }

        &.has-ribbon {
            --ribbon-size: 8px;
            padding-left: var(--ribbon-size);

            > .ribbon:where(.svelte-1n65qdi) {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                width: var(--ribbon-size);
            }
        }
    }

    /*
        The gallery archetype's own photos - pulled out of <Markdown> above
        (see extractGalleryImages()) and rendered as a plain column, with no
        card background or border of their own, only rounded corners.
    */
    div.gallery-photos.svelte-1n65qdi {
        display: flex;
        flex-direction: column;
        gap: var(--gap-regular);
        width: 100%;

        > img:where(.svelte-1n65qdi) {
            display: block;
            width: 100%;
            border-radius: var(--border-radius);
        }
    }


/* shared/ContentMagazine.svelte */

    article.page-magazine.svelte-qs8ra6 {
        overflow: hidden;
        border-radius: var(--border-radius);
        background-color: var(--content-primary-background-color);
        border: 1px solid var(--border-primary-color);
        position: relative;

        >header:where(.svelte-qs8ra6) {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: var(--gap-large);
            color: var(--markdown-text-primary-color);
            border-bottom: 1px solid var(--border-primary-color);
            padding: var(--gap-large);
        }

        >.content:where(.svelte-qs8ra6) {
            display: flex;
            flex-direction: row;

            >.cover:where(.svelte-qs8ra6) {
                flex-grow: 1;
                padding: var(--gap-small);
                border-right: 1px solid var(--border-primary-color);
                background-color: var(--content-secondary-background-color);

                >img:where(.svelte-qs8ra6) {
                    width: 100%;
                    border-radius: var(--border-radius);
                }
            }

            /* :global() - the <Markdown> child component's own root div */
            >.markdown {
                flex-grow: 2;
                padding: var(--gap-large);
            }

            @media (max-width: 600px) {
                flex-direction: column;

                >.cover:where(.svelte-qs8ra6) {
                    border-right: none;
                    border-bottom: 1px solid var(--border-primary-color);
                }
            }
        }

        >footer:where(.svelte-qs8ra6) {
            display: flex;
            flex-direction: row;
            padding: var(--gap-regular);
            border-top: 1px solid var(--border-primary-color);

            >a:where(.svelte-qs8ra6) {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: var(--gap-small);
                width: min-content;
                white-space: nowrap;
                padding: var(--gap-small) var(--gap-regular);
                border-radius: var(--border-radius);
                border: 1px solid var(--border-primary-color);
                color: var(--markdown-text-secondary-color);
                text-decoration: none;
                font-size: var(--action-font-size);
                font-weight: var(--action-font-weight);

                &:hover {
                    background-color: var(--action-hover-mask);
                }
            }
        }

        &.has-ribbon {
            --ribbon-size: 8px;
            padding-left: var(--ribbon-size);

            >.ribbon:where(.svelte-qs8ra6) {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                width: var(--ribbon-size);
            }
        }
    }


/* shared/Footer.svelte */

    footer.svelte-1ufa92w {
        padding: var(--gap-small);
        text-align: center;
        font-size: var(--caption-font-size);
        background-color: var(--component-secondary-color);
    }


/* shared/GalleryHeader.svelte */

    header.gallery.svelte-1fayz42 {
        display: flex;
        flex-direction: column;
        position: relative;
        padding: var(--gap-small);
        border-radius: var(--border-radius);
        border: 1px solid var(--border-secondary-color);
        margin: var(--gap-regular);
        max-height: 50vh;
        background-color: var(--component-secondary-color);
        overflow: hidden;

        >.wrapper:where(.svelte-1fayz42) {
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
            border-radius: var(--border-radius-inner);

            >img:where(.svelte-1fayz42) {
                width: 100%;
                transition: transform 2s;
                filter: brightness(.8);
            }
        }

        >.text:where(.svelte-1fayz42) {
            position: absolute;
            left: var(--gap-small);
            right: var(--gap-small);
            bottom: var(--gap-small);
            padding: var(--gap-large);
            background: linear-gradient(0deg, rgba(52, 50, 49, 0.65) 0%, rgba(250, 247, 243, 0) 100%);
            border-radius: 0 0 var(--border-radius-inner) var(--border-radius-inner);
            color: white;
            text-decoration: none;

            >h1:where(.svelte-1fayz42) {
                font-size: var(--display-font-size);
            }

            >.subtitle:where(.svelte-1fayz42) {
                font-size: var(--headline-1-font-size);
                font-family: var(--fancy-font-family);
                font-weight: var(--headline-font-weight);
            }
        }
    }


/* shared/IndexHeader.svelte */

    header.index.svelte-qyoe6s {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--gap-large);
        border-top: 1px solid var(--border-primary-color);
        background-image: url("/assets/patterns/geometric-leaves-transparent.png");
        padding: var(--gap-display) var(--gap-large);

        >.text:where(.svelte-qyoe6s) {
            display: flex;
            flex-direction: column;
            gap: var(--gap-small);

            >h1:where(.svelte-qyoe6s) {
                font-size: var(--display-font-size);
            }

            >.subtitle:where(.svelte-qyoe6s) {
                font-size: var(--headline-1-font-size);
                font-family: var(--fancy-font-family);
                font-weight: var(--headline-font-weight);
                line-height: var(--headline-1-font-size);
                color: var(--text-secondary-color);
            }

            >.back-button:where(.svelte-qyoe6s) {
                display: flex;
                flex-direction: row;
                align-items: center;
                align-self: flex-start;
                gap: var(--gap-small);
                text-decoration: none;
                color: var(--text-secondary-color);
                padding: var(--gap-small);
                border: 1px solid var(--border-secondary-color);
                border-radius: var(--border-radius);
                font-size: 14px;
                font-weight: 500;
                cursor: pointer;

                &:hover {
                    background-color: var(--action-hover-mask);
                }
            }
        }

        @media (max-width: 600px) {
            flex-direction: column;
            text-align: center;
            padding: var(--gap-large) var(--gap-regular);

            >.text:where(.svelte-qyoe6s) {
                align-items: center;

                >h1:where(.svelte-qyoe6s) {
                    font-size: var(--headline-1-font-size);
                }

                >.back-button:where(.svelte-qyoe6s) {
                    align-self: center;
                }
            }
        }
    }


/* shared/IndexYears.svelte */

    ol.index-years.svelte-tqlz8b {
        display: flex;
        flex-direction: column;
        gap: var(--gap-small);
        padding: 0;
        margin: 0;
        list-style: none;
        position: relative;

        &::before {
            content: '';
            display: block;
            left: 0;
            position: absolute;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: var(--border-primary-color);
        }

        >li:where(.svelte-tqlz8b) {
            position: relative;
            padding: var(--gap-regular) 0;
            text-indent: var(--gap-regular);
            font-size: var(--action-font-size);

            line-height: var(--action-line-height);

            &::before {
                content: '';
                display: block;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background-color: var(--border-primary-color);
                position: absolute;
                left: -3px;
            }

            >a:where(.svelte-tqlz8b) {
                font-weight: var(--action-font-weight);
                text-decoration: none;
                color: var(--text-primary-color);

                &:hover {
                    color: var(--accent-color);
                }
            }
        }
    }


/* shared/Markdown.svelte */

    /*
        The markdown itself is injected via {@html} (see the script above),
        so none of it is part of this component's own template as far as
        the Svelte compiler is concerned - every selector reaching into it
        needs :global(), or it would be scoped to elements that don't
        actually exist here and silently never match.
    */
    .markdown.svelte-1tu7l0u {
        color: var(--markdown-text-primary-color);
    }

    .markdown.svelte-1tu7l0u h1,
    .markdown.svelte-1tu7l0u h2,
    .markdown.svelte-1tu7l0u h3,
    .markdown.svelte-1tu7l0u h4,
    .markdown.svelte-1tu7l0u h5,
    .markdown.svelte-1tu7l0u h6 {
        margin-bottom: var(--gap-regular);
        color: var(--page-color);
    }

    .markdown.svelte-1tu7l0u p {
        margin: var(--gap-regular) 0;
    }

    .markdown.svelte-1tu7l0u strong {
        color: var(--markdown-text-secondary-color);
    }

    .markdown.svelte-1tu7l0u a {
        color: var(--accent-color);
        font-weight: var(--action-font-weight);
        text-decoration: none;
    }

    .markdown.svelte-1tu7l0u ul {
        list-style: none;
        padding: 0;
        margin: 0;
        margin-bottom: var(--gap-small);
    }

    .markdown.svelte-1tu7l0u ul li {
        position: relative;
        padding-left: var(--gap-regular);
        font-size: var(--paragraph-font-size);
        font-weight: var(--paragraph-font-weight);
        line-height: var(--paragraph-line-height);
    }

    .markdown.svelte-1tu7l0u ul li::before {
        content: '•';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
    }


/* shared/PageDate.svelte */

    .page-date.svelte-momoxc {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--gap-small);
        font-size: var(--caption-font-size);
        font-weight: var(--caption-font-weight);
        line-height: var(--caption-line-height);
    }


/* shared/Tabs.svelte */

    .tabs.svelte-pbfw6t {
        display: flex;
        flex-direction: column;
        align-items: flex-end;

        >input:where(.svelte-pbfw6t) {
            display: none;
        }

        >.panels:where(.svelte-pbfw6t) {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
            position: relative;
            max-height: 50vh;
            width: 100%;

            /*
                :global() - each panel is whatever the caller's `panel`
                snippet rendered (e.g. GalleryHeader's own root element),
                not part of this component's own template.
            */
            >* {
                grid-column: 1/2;
                grid-row: 1/2;
                margin: 0;
                opacity: 0;
                transform: translateY(8px);
                pointer-events: none;
                transition: opacity .2s, transform .2s;
            }
        }

        >.labels:where(.svelte-pbfw6t) {
            display: flex;
            flex-direction: row;
            border: 1px solid var(--border-secondary-color);
            border-radius: 0 0 0 var(--border-radius);
            background-color: var(--component-primary-color);
            overflow: hidden;
            border-top: unset;

            >label:where(.svelte-pbfw6t) {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: var(--gap-regular);
                padding: var(--gap-regular);
                font-size: var(--action-font-size);
                font-weight: var(--action-font-weight);
                line-height: var(--action-line-height);

                &:first-child {
                    padding-right: var(--gap-large);
                }

                &:not(:last-child) {
                    border-right: 1px solid var(--border-secondary-color);
                }

                &:hover {
                    background-color: var(--action-hover-mask);
                }
            }
        }
    }

    /*
        Generic N-tab wiring: <input> and each of .panels/.labels' children
        are rendered from the same #each items, in the same order, so the
        Nth <input> always corresponds to the Nth panel and Nth label -
        matched purely by position, so this works for any `items` list.
        Capped at 8 tabs (a practical ceiling for an editor-curated list -
        see Landing.svelte's own galleryTabs); extend by adding more
        nth-of-type()/nth-child() pairs below if that's ever not enough.
    */
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(1):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(1),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(2):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(2),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(3):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(3),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(4):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(4),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(5):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(5),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(6):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(6),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(7):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(7),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(8):checked~.panels:where(.svelte-pbfw6t)>*:nth-child(8) {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(1):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(1),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(2):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(2),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(3):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(3),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(4):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(4),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(5):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(5),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(6):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(6),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(7):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(7),
    .tabs.svelte-pbfw6t>input:where(.svelte-pbfw6t):nth-of-type(8):checked~.labels:where(.svelte-pbfw6t)>label:where(.svelte-pbfw6t):nth-child(8) {
        background-color: var(--component-secondary-color);
        background-image: url("/assets/patterns/light-grey-terrazzo-transparent.png");
        background-size: 256px;
    }


/* shared/TopNavigation.svelte */

    header.top.svelte-akdnwo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: var(--gap-regular);
        background-color: var(--website-primary-background-color);
        margin: var(--gap-regular) 0;
        position: sticky;
        z-index: 1;
        top: 0;

        /* (unused) &.sticky {
            border-bottom: 1px solid var(--border-primary-color);
            box-shadow: 0 0 16px #b8b1a84f;
        }*/

        > a.home:where(.svelte-akdnwo) {
            flex-grow: 0;
            flex-basis: 0;
            flex-shrink: 0;
            display: flex;
            flex-direction: row;
            gap: var(--gap-regular);
            padding-right: var(--gap-regular);
            color: var(--text-primary-color);
            text-decoration: none;

            > img:where(.svelte-akdnwo) {
                flex-shrink: 0;
                padding: 2px;
                width: 64px;
                background-color: var(--accent-color);
                border-radius: var(--border-radius);
                overflow: hidden;
            }

            > .text:where(.svelte-akdnwo) {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                font-family: var(--fancy-font-family);

                > span:where(.svelte-akdnwo) {
                    font-size: 20px;
                    line-height: 20px;
                    white-space: nowrap;

                    &:nth-child(3) {
                        font-size: 16px;
                        line-height: 16px;
                        color: var(--text-secondary-color);
                    }
                }
            }

            @media (max-width: 600px) {
                > .text:where(.svelte-akdnwo) > span:where(.svelte-akdnwo) {
                    font-size: 17px;
                    line-height: 17px;

                    &:nth-child(3) {
                        font-size: 14px;
                        line-height: 14px;
                    }
                }
            }

            &:hover {
                span:where(.svelte-akdnwo):nth-child(1),
                span:where(.svelte-akdnwo):nth-child(2) {
                    color: var(--accent-color);
                }
            }

            /*
                The three name lines are nowrap by design (see > .text >
                span above) so they never break mid-word, but on a narrow
                phone that runs them past the viewport edge - let them wrap
                there instead.
            */
            @media (max-width: 400px) {
                > .text:where(.svelte-akdnwo) > span:where(.svelte-akdnwo) {
                    white-space: normal;
                }
            }
        }

        > details:where(.svelte-akdnwo) {
            flex-grow: 1;
            width: 100%;

            > summary:where(.svelte-akdnwo) {
                list-style: none;
                position: absolute;
                right: var(--gap-regular);
                top: var(--gap-regular);
                padding: var(--gap-small);
                border: 1px solid var(--border-secondary-color);
                border-radius: var(--border-radius);
                background-color: var(--website-primary-background-color);

                &:hover {
                    background-color: var(--action-hover-mask);
                }

                &::marker {
                    content: '';
                }

                /*
                    On narrow screens this sits on top of the header's own
                    title (see header.top's doc comment on flex-direction) -
                    rather than a hard edge where it covers the text, fade
                    the title out into the header's own background color as
                    it approaches the button.
                */
                &::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    right: 100%;
                    width: var(--gap-display);
                    background: linear-gradient(to left, var(--website-primary-background-color), transparent);
                    pointer-events: none;
                }
            }

            > nav:where(.svelte-akdnwo) {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: var(--gap-small);
                padding-top: var(--gap-regular);

                /*
                    When the link count is odd, the last link would
                    otherwise sit alone in the final row (an "orphan") -
                    matches only when the last child also falls on an odd
                    position, i.e. the total count is odd, and spans it
                    across both columns instead.
                */
                > a.regular:where(.svelte-akdnwo):last-child:nth-child(odd) {
                    grid-column: 1 / -1;
                }

                > a.regular:where(.svelte-akdnwo) {
                    flex-grow: 1;
                    flex-basis: 0;

                    display: flex;
                    flex-direction: row;
                    align-items: center;

                    color: var(--text-primary-color);
                    text-decoration: none;

                    &:not(.home) {
                        flex-grow: 1;
                        font-size: var(--action-font-size);
                        font-weight: var(--action-font-weight);
                        padding: var(--button-padding);
                        border-radius: var(--border-radius);
                        border: 1px solid var(--text-primary-color);
                        background-image: url('/assets/patterns/light-grey-terrazzo-transparent.png');
                        background-size: 256px;

                        > span:where(.svelte-akdnwo) {
                            margin-left: var(--gap-regular);
                            padding-left: var(--gap-regular);
                            border-left: 1px solid var(--text-primary-color);
                        }
                    }
                }
            }
        }

        @media (min-width: 1600px) {
            flex-direction: row;
            gap: var(--gap-regular);

            > details:where(.svelte-akdnwo) {
                &::details-content {
                    content-visibility: visible;
                }

                > summary:where(.svelte-akdnwo) {
                    display: none;
                }

                > nav:where(.svelte-akdnwo) {
                    display: flex;
                    flex-direction: row;
                    padding-top: 0;
                }
            }
        }
    }


/* shared/summary/PageTile.svelte */

    article.page-summary-tile.svelte-mvdthn {
        border-radius: var(--border-radius);
        border: 1px solid var(--border-secondary-color);
        background-color: var(--component-secondary-color);

        >header:where(.svelte-mvdthn) {
            display: flex;
            flex-direction: row;
            align-items: center;
            color: var(--markdown-text-primary-color);
            padding: var(--gap-regular);

            >h2:where(.svelte-mvdthn) {
                flex-grow: 1;
            }

            >.status:where(.svelte-mvdthn) {
                display: flex;
                flex-direction: row;
                align-items: center;
                padding: var(--gap-small);
                gap: var(--gap-small);
                border: 1px solid var(--border-secondary-color);
                border-radius: var(--border-radius);
                font-size: 14px;
                font-weight: 500;
            }
        }

        /* :global() - the <Markdown> child component's own root div */
        >.markdown {
            padding: 0 var(--gap-regular);
            padding-bottom: var(--gap-regular);
        }

        >footer:where(.svelte-mvdthn) {
            border-top: 1px solid var(--border-secondary-color);

            >a:where(.svelte-mvdthn) {
                display: flex;
                flex-direction: row;
                align-items: center;
                padding: var(--gap-regular);
                color: var(--markdown-text-primary-color);
                text-decoration: none;
                font-size: var(--action-font-size);
                font-weight: var(--action-font-weight);
                line-height: var(--action-line-height);

                >span:where(.svelte-mvdthn) {
                    flex-grow: 1;
                }

                &:hover {
                    background-color: var(--action-hover-mask);
                }
            }
        }
    }


/* templates/Landing.svelte */

    /* :global(.landing-tabs) - <Tabs>'s own root element, not part of this component's template */
    .landing-tabs {
        margin: var(--gap-regular);
    }

    main#landing.svelte-1sin47y {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: var(--gap-regular);
        background-color: var(--website-secondary-background-color);
        margin-top: var(--gap-large);
        padding: var(--gap-large) var(--gap-regular);
        border-top: 1px solid var(--border-primary-color);

        > .content:where(.svelte-1sin47y) {
            display: flex;
            flex-direction: column;
            gap: var(--gap-regular);
            flex-grow: 1;
            max-width: var(--main-content-max-width);
        }

        > aside:where(.svelte-1sin47y) {
            width: max-content;
            max-width: var(--secondary-content-max-width);
            flex-basis: 0;
            display: flex;
            flex-direction: column;
            gap: var(--gap-regular);
        }

        @media (max-width: 768px) {
            flex-direction: column;
            gap: var(--gap-small);
            padding: var(--gap-regular);

            > .content:where(.svelte-1sin47y),
            > aside:where(.svelte-1sin47y) {
                width: 100%;
                max-width: 100%;
                gap: var(--gap-small);
            }
        }
    }


/* templates/PageArticle.svelte */

    /* :global(article) - <ContentArticle>'s own root element, not part of this component's template */
    main.svelte-sxmlna {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: var(--gap-large);
        gap: var(--gap-regular);
        border-top: 1px solid var(--border-primary-color);
        background-color: var(--website-secondary-background-color);

        >article {
            max-width: var(--main-content-max-width);
        }

        @media (max-width: 768px) {
            padding: var(--gap-regular);
            gap: var(--gap-small);
        }
    }


/* templates/PageGallery.svelte */

    /*
        :global(article)/:global(.gallery-photos) - <ContentArticle>'s own
        root elements, not part of this component's template (the card and
        the plain photo column rendered after it - see ContentArticle.svelte).
    */
    main.svelte-kea722 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: var(--gap-large);
        gap: var(--gap-regular);
        border-top: 1px solid var(--border-primary-color);
        background-color: var(--website-secondary-background-color);

        > article,
        > .gallery-photos {
            max-width: var(--main-content-max-width);
            width: 100%;
        }

        @media (max-width: 768px) {
            padding: var(--gap-regular);
            gap: var(--gap-small);
        }
    }


/* templates/PageMagazine.svelte */

    /* :global(article) - <ContentMagazine>'s own root element, not part of this component's template */
    main.svelte-1fugu32 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: var(--gap-large);
        gap: var(--gap-regular);
        border-top: 1px solid var(--border-primary-color);
        background-color: var(--website-secondary-background-color);

        >article {
            max-width: var(--main-content-max-width);
        }

        @media (max-width: 768px) {
            padding: var(--gap-regular);
            gap: var(--gap-small);
        }
    }


/* templates/RegionIndex.svelte */

    /*
        :global(header.index) - <IndexHeader>'s own root element. This
        border only applies when IndexHeader is used as a full index header
        (as here) - PageArticle/Gallery/Magazine reuse the same component as
        a back-button header instead and don't get it (see IndexHeader.svelte's
        own doc comment).
    */
    header.index {
        border-bottom: 1px solid var(--border-primary-color);
    }

    main.index.svelte-1ieqxo7 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: var(--gap-large);
        padding: var(--gap-large) 0;

        >aside:where(.svelte-1ieqxo7) {
            width: max-content;
            max-width: var(--secondary-content-max-width);
            flex-basis: 0;
            display: flex;
            flex-direction: column;
            gap: var(--gap-regular);
        }

        @media (max-width: 768px) {
            flex-direction: column;
            gap: var(--gap-regular);
            padding: var(--gap-regular);

            >ol.entries:where(.svelte-1ieqxo7),
            >aside:where(.svelte-1ieqxo7) {
                width: 100%;
                max-width: 100%;
            }
        }
    }

    main.text-archetype.svelte-1ieqxo7>ol.entries:where(.svelte-1ieqxo7) {
        display: flex;
        flex-direction: column;
        gap: var(--gap-large);
        flex-grow: 1;
        max-width: var(--main-content-max-width);
        padding: 0;
        margin: 0;
        list-style: none;

        >li:where(.svelte-1ieqxo7) {
            display: flex;
            flex-direction: column;
            gap: var(--gap-small);

            >.index-date:where(.svelte-1ieqxo7) {
                padding-left: var(--gap-large);
                font-size: var(--caption-font-size);
                font-weight: var(--caption-font-weight);
                line-height: var(--caption-line-height);
            }

            >.card:where(.svelte-1ieqxo7) {
                display: flex;
                flex-direction: column;
                color: inherit;
                text-decoration: none;
                border-radius: var(--border-radius);
                background-color: var(--content-primary-background-color);
                border: 1px solid var(--border-primary-color);
                overflow: hidden;

                /*
                    Same top-of-card cover as ContentArticle's own .cover,
                    just trimmed to a fixed height (object-fit: cover crops
                    rather than squashing it) - a full, unconstrained hero
                    image reads fine for one article but would make a long
                    list of entries unwieldy to scan.
                */
                >.cover:where(.svelte-1ieqxo7) {
                    width: 100%;
                    height: 200px;

                    >img:where(.svelte-1ieqxo7) {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                    }
                }

                >.card-content:where(.svelte-1ieqxo7) {
                    padding: var(--gap-regular) var(--gap-large);
                }

                &:hover {
                    >.card-content:where(.svelte-1ieqxo7)>h1:where(.svelte-1ieqxo7) {
                        color: var(--accent-color);
                    }
                }
            }
        }
    }

    main.image-archetype.svelte-1ieqxo7>ol.entries:where(.svelte-1ieqxo7) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: var(--gap-regular);
        flex-grow: 1;
        max-width: var(--main-content-max-width);
        padding: 0;
        margin: 0;
        list-style: none;

        @media (max-width: 480px) {
            grid-template-columns: 1fr;
        }

        >li:where(.svelte-1ieqxo7)>a:where(.svelte-1ieqxo7) {
            display: block;
            width: 100%;
            overflow: hidden;
            border-radius: var(--border-radius);
            border: 1px solid var(--border-secondary-color);
            background-color: var(--component-secondary-color);
            padding: var(--gap-small);
            text-decoration: none;
            position: relative;

            /*
                A fixed aspect ratio (rather than each tile's own natural
                image height) keeps every tile in the grid the same size
                regardless of how the underlying photos were cropped -
                without it, mixing portrait and landscape covers produces a
                jagged grid with mismatched tile heights. Also doubles as a
                placeholder box (component-secondary-color background) for
                the rare summary with no cover at all.
            */
            >.thumb:where(.svelte-1ieqxo7) {
                aspect-ratio: 4 / 3;
                overflow: hidden;
                border-radius: var(--border-radius-inner);
                background-color: var(--content-secondary-background-color);

                >img:where(.svelte-1ieqxo7) {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    filter: brightness(.8);
                    display: block;
                    transition: transform .4s;
                }
            }

            >.text:where(.svelte-1ieqxo7) {
                display: flex;
                flex-direction: column;
                position: absolute;
                left: var(--gap-small);
                right: var(--gap-small);
                bottom: var(--gap-small);
                font-family: var(--fancy-font-family);
                font-weight: var(--headline-font-weight);
                color: white;
                font-size: var(--headline-3-font-size);
                padding: var(--gap-regular);
                background: linear-gradient(0deg, rgba(52, 50, 49, 0.65) 0%, rgba(250, 247, 243, 0) 100%);
                border-radius: 0 0 var(--border-radius-inner) var(--border-radius-inner);

                >span:where(.svelte-1ieqxo7):first-child {
                    font-size: var(--headline-2-font-size);
                }
            }

            &:hover>.thumb:where(.svelte-1ieqxo7)>img:where(.svelte-1ieqxo7) {
                transform: scale(1.05);
            }
        }
    }

