/* The gallery shares the venue's type and light-page palette. */
@font-face {
    font-family: "Bodoni Moda";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/bodoni-moda-latin-variable.woff2") format("woff2");
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
}

:root {
    --gallery-paper: #faf9f7;
    --gallery-ink: #1b1b1a;
    --gallery-focus: #85837e;
    --font-sans: Manrope, Arial, sans-serif;
    --font-serif: "Bodoni Moda", Georgia, serif;
    --color-base: var(--gallery-ink);
    --color-primary-text: var(--gallery-ink);
    --color-darker-gray: var(--gallery-ink);
    --color-secondary-text: #67645f;
    --color-border: #dedbd5;
}

body {
    --gh-font-heading: var(--font-serif);
    --gh-font-body: var(--font-sans);
    --ghost-accent-color: var(--gallery-ink);
    color: var(--gallery-ink);
    background-color: var(--gallery-paper);
    font-family: var(--font-sans);
}

.gh-head,
.gh-dropdown,
.is-head-open:not(.is-head-brand):not(.is-head-dark):not(.is-head-transparent) #gh-head,
.is-head-open #gh-head .gh-head-actions {
    background-color: var(--gallery-paper);
}

.post-card {
    background: var(--gallery-paper);
}

.gh-head .gh-dropdown li a {
    color: var(--gallery-ink) !important;
}

.gh-head-logo {
    color: var(--gallery-ink);
    text-transform: none;
    letter-spacing: normal;
}

.gallery-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--gallery-ink);
    white-space: nowrap;
}

.gallery-wordmark-the,
.gallery-wordmark-label {
    font: 500 1rem/1.2 var(--font-sans);
}

.gallery-wordmark-the {
    margin: 0 -0.22em 5px 0;
    letter-spacing: 0.22em;
}

.gallery-wordmark-name {
    font: 400 3.4rem/1 var(--font-serif);
    font-optical-sizing: auto;
    letter-spacing: 0.015em;
}

.gallery-wordmark-label {
    margin: 6px -0.28em 0 0;
    letter-spacing: 0.28em;
}

.gh-head-menu,
.gh-head-actions,
.gh-btn {
    font-family: var(--font-sans);
}

.gh-head-menu,
.gh-head-actions {
    font-weight: 500;
}

.page-head-title,
.post-content-title,
.gh-content > h1,
.gh-content > h2,
.gh-content > h3,
.gh-content > h4,
.gh-content > h5,
.gh-content > h6 {
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.post-content-title {
    font-size: clamp(3.4rem, 4.3vw, 5.6rem);
    line-height: 1.15;
}

.post-content-date {
    display: block;
    margin: -4px 0 20px;
    color: var(--color-secondary-text);
    font: 400 1.3rem/1.5 var(--font-sans);
    text-align: center;
}

.page-head-description {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.015em;
}

.post-card-title {
    --gh-font-heading: var(--font-sans);
    font-family: var(--font-sans);
    font-weight: 500;
}

.gh-content {
    font-family: var(--font-sans);
    line-height: 1.8;
}

/* Keep full-width post content within the theme's existing page insets. */
.gh-canvas {
    margin-inline: calc(-1 * min(var(--gap), 3vw));
}

@media (max-width: 850px) {
    .gh-canvas {
        margin-inline: calc(-1 * min(var(--gap), 6vw));
    }
}

body :focus-visible,
.post-card-link:focus-visible {
    outline-color: var(--gallery-focus);
}

@media (min-width: 768px) {
    .is-head-left-logo .gh-head-inner {
        grid-template-columns: auto 1fr auto;
    }

    .is-head-left-logo .gh-head-menu {
        justify-content: flex-end;
    }

    .is-head-left-logo .gh-head-menu .nav {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    body:not(.is-head-open) #gh-head,
    #gh-head .gh-head-brand {
        height: 88px;
    }

    .gallery-wordmark-name {
        font-size: 3rem;
    }
}

@media (max-width: 500px) {
    .page-head-description {
        font-size: 1.9rem;
    }
}
