
:root {
    --font-sans: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif; /* stylelint-disable-line value-keyword-case */
    --font-serif: Lora, Georgia, Times, serif; /* stylelint-disable-line value-keyword-case */
    --head-nav-gap: 32px;
    --color-primary-text: var(--color-darker-gray);
    --h1-size: 4.4rem;
    --footer-spacing: 120px;
}

@media (max-width: 767px) {
    :root {
        --footer-spacing: 64px;
    }
}

figcaption {
    font-size: 1.3rem;
}

.has-full-image figcaption {
    padding: 0 16px;
}

.gh-btn {
    font-weight: 500;
}

body:not(.is-head-stacked) .gh-head {
    height: 88px;
}

body:not(.is-head-stacked) .gh-head-inner {
    border-bottom: 1px solid var(--color-light-gray);
}

.nav {
    letter-spacing: -0.006em;
}

body:not(.is-head-transparent):not(.is-head-brand):not(.is-head-dark) .gh-head-logo img + img {
    display: none;
}

body:is(.is-head-transparent, .is-head-brand, .is-head-dark) .gh-head-logo img + img {
    opacity: 1;
}

.is-head-transparent .gh-head-logo img:first-of-type:not(:only-child) {
    display: block;
    opacity: 0;
}

/* Ora Decima homepage introduction */

.od-intro {
    --od-accent: var(--ghost-accent-color);
    --od-ink: #15171a;
    --od-reading: #fbfbfa;
    --od-muted: #f2f3f2;
    position: relative;
    overflow: hidden;
    padding-top: 48px;
}

.od-intro-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 56px;
    padding: 44px 48px 48px;
    color: var(--od-ink);
    background: linear-gradient(145deg, #eceeef 0%, var(--od-muted) 48%, #eef0f1 100%);
    border-radius: 36px;
    box-shadow:
        inset 0 0 32px rgba(21, 23, 26, 0.12),
        inset 0 14px 24px rgba(21, 23, 26, 0.055),
        inset 0 -2px 0 rgba(255, 255, 255, 0.86);
}

.od-intro-heading,
.od-intro-content {
    position: relative;
    z-index: 2;
}

.od-intro-title {
    max-width: 760px;
    font-family: Sora, var(--font-sans);
    font-size: clamp(3.2rem, 4.4vw, 5.8rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--od-ink);
}

.od-intro-title strong {
    position: relative;
    z-index: 0;
    display: inline-block;
    font-weight: inherit;
    white-space: nowrap;
}

.od-intro-title strong::after {
    position: absolute;
    right: -0.04em;
    bottom: -0.03em;
    left: -0.04em;
    z-index: -1;
    height: 0.09em;
    content: "";
    background-color: var(--od-accent);
}

.od-intro-content {
    align-self: end;
    max-width: 430px;
    padding: 28px 30px 30px;
    color: var(--od-ink);
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    box-shadow:
        0 18px 42px rgba(21, 23, 26, 0.095),
        0 3px 10px rgba(21, 23, 26, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.od-intro-description {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 560;
    line-height: 1.45;
    color: var(--od-ink);
}

.od-intro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}

.od-intro-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--od-reading);
    background-color: var(--od-accent);
    border: 1px solid color-mix(in srgb, var(--od-accent) 76%, #15171a);
    border-radius: 999px;
    box-shadow:
        0 10px 18px color-mix(in srgb, var(--od-accent) 29%, transparent),
        0 3px 6px rgba(120, 20, 31, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -2px 0 rgba(120, 20, 31, 0.18);
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.od-intro-button:hover {
    color: var(--od-reading);
    background-color: var(--od-ink);
    border-color: var(--od-ink);
    opacity: 1;
    transform: translateY(-2px);
}

.od-intro-button:active {
    transform: translateY(1px);
}

.od-intro-button:focus-visible,
.od-intro-link:focus-visible {
    outline: 3px solid var(--od-accent);
    outline-offset: 4px;
}

.od-intro-link {
    padding: 4px 0;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 650;
    line-height: 1.2;
    color: var(--od-ink);
    border-bottom: 2px solid var(--od-accent);
}

.od-intro-link:hover {
    opacity: 0.7;
}

.od-intro-socials {
    position: absolute;
    inset: 0;
    z-index: 6;
    margin: 0;
    pointer-events: none;
}

.od-intro-social {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    align-items: center;
    justify-items: center;
    width: 68px;
    height: 68px;
    filter:
        drop-shadow(0 12px 16px rgba(21, 23, 26, 0.13))
        drop-shadow(0 3px 4px rgba(21, 23, 26, 0.08));
    touch-action: none;
    cursor: grab;
    pointer-events: auto;
    user-select: none;
    will-change: transform;
}

.od-intro-social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    --od-ios-icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%20100'%3E%3Cpath%20d%3D'M%2064.208%200%20c%2012.5284%200%2018.7926%200%2023.5778%202.4382%20a%2022.3700%2022.3700%200%200%201%209.7760%209.7760%20c%202.4382%204.7852%202.4382%2011.0494%202.4382%2023.5778%20L%20100%2064.208%20c%200%2012.5284%200%2018.7926%20-2.4382%2023.5778%20a%2022.3700%2022.3700%200%200%201%20-9.7760%209.7760%20c%20-4.7852%202.4382%20-11.0494%202.4382%20-23.5778%202.4382%20L%2035.792%20100%20c%20-12.5284%200%20-18.7926%200%20-23.5778%20-2.4382%20a%2022.3700%2022.3700%200%200%201%20-9.7760%20-9.7760%20c%20-2.4382%20-4.7852%20-2.4382%20-11.0494%20-2.4382%20-23.5778%20L%200%2035.792%20c%200%20-12.5284%200%20-18.7926%202.4382%20-23.5778%20a%2022.3700%2022.3700%200%200%201%209.7760%20-9.7760%20c%204.7852%20-2.4382%2011.0494%20-2.4382%2023.5778%20-2.4382%20Z'%20fill%3D'black'%2F%3E%3C%2Fsvg%3E");
    -webkit-mask: var(--od-ios-icon-mask) center / 100% 100% no-repeat;
    mask: var(--od-ios-icon-mask) center / 100% 100% no-repeat;
    pointer-events: none;
    -webkit-user-drag: none;
}

.od-intro-social:hover {
    opacity: 1;
}

.od-intro-social:active {
    cursor: grabbing;
}

.od-intro-social:focus-visible {
    outline: 3px solid var(--od-accent);
    outline-offset: 3px;
}

.od-signal-screen {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.od-physics-reset {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 7;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: var(--od-ink);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(21, 23, 26, 0.1);
    border-radius: 50%;
    box-shadow:
        0 8px 18px rgba(21, 23, 26, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.72);
    transition:
        opacity 180ms ease,
        transform 220ms cubic-bezier(0.2, 1.3, 0.35, 1),
        box-shadow 160ms ease;
}

.od-physics-reset.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.od-physics-reset:hover {
    box-shadow:
        0 11px 22px rgba(21, 23, 26, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: scale(1.06);
}

.od-physics-reset:active {
    transform: scale(0.94);
}

.od-physics-reset:focus-visible {
    outline: 3px solid var(--od-accent);
    outline-offset: 3px;
}

.od-physics-reset img {
    width: 18px;
    height: 18px;
}

.od-sound-toggle {
    display: none;
}

/* Hide the old code-injected card while it is being removed from Ghost settings. */
#martino-wrapper {
    display: none !important;
}

.home-template .gh-main {
    padding-top: 72px;
}

@media (prefers-reduced-motion: no-preference) {
    .od-intro-title strong::after {
        animation: od-underline-draw 720ms 140ms cubic-bezier(0.16, 1, 0.3, 1) both;
        transform-origin: left center;
    }
}

@keyframes od-underline-draw {
    from {
        opacity: 0.35;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 991px) {
    .od-intro-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .od-intro-content {
        max-width: 680px;
    }
}

@media (max-width: 767px) {
    .od-intro {
        padding-top: 24px;
    }

    .od-intro-inner {
        gap: 0;
        padding: 28px 24px 30px;
        border-radius: 24px;
    }

    .od-intro-title {
        font-size: clamp(3rem, 9.5vw, 3.5rem);
        line-height: 1.04;
    }

    .od-intro-title strong {
        white-space: normal;
    }

    .od-intro-description {
        font-size: 1.6rem;
    }

    .od-intro-actions {
        gap: 18px;
        margin-top: 24px;
    }

    .od-intro-content {
        margin-top: 108px;
        padding: 22px;
    }

    .od-intro-social {
        width: 50px;
        height: 50px;
    }

    .od-physics-reset {
        bottom: 12px;
        left: 12px;
        width: 34px;
        height: 34px;
    }

    .od-physics-reset img {
        width: 17px;
        height: 17px;
    }

    .od-sound-toggle {
        position: absolute;
        right: 12px;
        bottom: 12px;
        z-index: 7;
        display: grid;
        width: 38px;
        height: 38px;
        padding: 0;
        place-items: center;
        color: var(--od-ink);
        cursor: pointer;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(21, 23, 26, 0.1);
        border-radius: 50%;
        box-shadow:
            0 8px 18px rgba(21, 23, 26, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.92);
        transition:
            color 160ms ease,
            background-color 160ms ease,
            transform 180ms cubic-bezier(0.2, 1.3, 0.35, 1),
            box-shadow 160ms ease;
    }

    .od-sound-toggle:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    .od-sound-toggle:active {
        transform: scale(0.93);
    }

    .od-sound-toggle:focus-visible {
        outline: 3px solid var(--od-accent);
        outline-offset: 3px;
    }

    .od-sound-toggle[aria-pressed="true"] {
        color: var(--od-reading);
        background: var(--od-ink);
        border-color: var(--od-ink);
        box-shadow:
            0 9px 20px rgba(21, 23, 26, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    .od-sound-toggle-icon {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .od-sound-toggle-icon-on {
        display: none;
    }

    .od-sound-toggle[aria-pressed="true"] .od-sound-toggle-icon-off {
        display: none;
    }

    .od-sound-toggle[aria-pressed="true"] .od-sound-toggle-icon-on {
        display: block;
    }

    .od-signal-screen {
        opacity: 0.78;
    }

    .home-template .gh-main {
        padding-top: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .od-intro-social {
        cursor: pointer;
        will-change: auto;
    }

    .od-physics-reset {
        transition: none;
    }

    .od-sound-toggle {
        transition: none;
    }
}

/* Styles specific to grid style sections */

.gh-topic-grid + .gh-topic-grid {
    margin-top: 80px;
}

.gh-topic-grid .gh-topic-name {
    margin-bottom: 40px;
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.gh-topic-grid .gh-topic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
}

body:not(.home-template) .gh-topic-grid .gh-topic-content {
    row-gap: 48px;
    justify-items: center;
}

.gh-topic-footer {
    padding-top: 20px;
    margin-top: 48px;
    text-align: right;
    border-top: 1px solid var(--color-light-gray);
}

.gh-topic-grid .gh-card.large,
body:not(.home-template) .gh-topic-grid .gh-card {
    grid-column: 1 / 3;
}

.gh-topic-grid .gh-card.large {
    width: 100%;
}

.gh-topic-grid .gh-card:not(.large) {
    width: 100%;
    max-width: 720px;
}

.gh-topic-grid .gh-card:not(:only-child).large {
    padding-bottom: 48px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-light-gray);
}

.gh-topic-grid .gh-card-link {
    display: flex;
    gap: 24px;
}

.gh-topic-grid .gh-card-link:hover {
    opacity: 1 !important;
}

.gh-topic-grid .gh-card-link:hover .gh-card-title {
    opacity: 0.8;
}

.gh-topic-grid .gh-card.large .gh-card-link {
    gap: 40px;
}

.gh-topic-grid .gh-card.featured.large .gh-card-link {
    position: relative;
    align-items: flex-end;
    min-height: 600px;
    padding: 48px 40px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 60%);
}

.gh-topic-grid .gh-card.featured.no-image.large .gh-card-link {
    min-height: 400px;
    background: var(--ghost-accent-color);
}

.gh-topic-grid .gh-card.large .gh-card-link > * {
    flex: 1;
}

.gh-topic-grid .gh-card-image {
    position: relative;
    flex-shrink: 0;
    width: 128px;
    height: 100%;
}

.gh-topic-grid .gh-card-image::before {
    display: block;
    padding-bottom: 70%;
    content: "";
}

.gh-topic-grid .gh-card.large .gh-card-image::before {
    padding-bottom: 60%;
}

.gh-topic-grid .gh-card.featured.large .gh-card-image {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
}

.gh-topic-grid .gh-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-topic-grid .gh-card-wrapper {
    margin-top: -3px;
}

.gh-topic-grid .gh-card.featured.large .gh-card-wrapper {
    max-width: 560px;
}

.gh-topic-grid .gh-card-title {
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
    word-break: break-word;
}

.gh-topic-grid .gh-card.large .gh-card-title {
    font-size: 2.8rem;
    letter-spacing: -0.02em;
}

.gh-topic-grid .gh-card.no-image.large .gh-card-title {
    font-size: 4.2rem;
    line-height: 1.2;
}

.gh-topic-grid .gh-card.featured.large .gh-card-title {
    font-size: 4.2rem;
    line-height: 1.2;
    color: var(--color-white);
}

.gh-topic-grid .gh-card.featured.large .gh-card-link:hover .gh-card-title {
    opacity: 0.9;
}

.gh-topic-grid .gh-card-excerpt {
    margin-top: 12px;
    font-size: 1.7rem;
    word-break: break-word;
}

.gh-topic-grid .gh-card.no-image.large .gh-card-excerpt {
    max-width: 720px;
}

.gh-topic-grid .gh-card:not(.large) .gh-card-excerpt {
    display: -webkit-box;
    margin-top: 4px;
    overflow-y: hidden;
    font-size: 1.6rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gh-topic-grid .gh-card.featured.large .gh-card-excerpt {
    display: none;
}

.gh-card-footer {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-secondary-text);
    text-transform: uppercase;
}

.gh-card:not(.large) .gh-card-footer {
    margin-top: 12px;
}

.gh-topic-grid .gh-card.featured.large .gh-card-footer {
    margin-top: 20px;
    color: var(--color-white);
}

.gh-card-footer > * {
    display: inline-block;
}

.gh-card-external {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ghost-accent-color);
    text-transform: uppercase;
}

.gh-topic-grid .gh-card.featured.large .gh-card-external {
    color: inherit;
}

.gh-card-footer > * + *:not(script)::before {
    display: inline-flex;
    width: 2px;
    height: 2px;
    margin-right: 6px;
    margin-left: 4px;
    content: "";
    background-color: currentColor;
    border-radius: 50%;
    transform: translateY(-3px);
}

/* Styles specific to list style sections */

.gh-topic-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 80px 48px;
    margin-top: 120px;
}

.gh-topic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-light-gray);
}

.gh-topic-header .gh-topic-name {
    font-size: 2rem;
    letter-spacing: -0.015em;
}

.gh-topic-header .gh-topic-link {
    color: var(--color-secondary-text);
}

.gh-topic-minimal .gh-card {
    max-width: 720px;
}

.gh-topic-minimal .gh-card-link {
    display: block;
}

.gh-topic-minimal .gh-card-title {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    word-break: break-word;
}

.gh-topic-minimal .gh-card-external {
    display: inline-block;
    margin-top: 4px;
}

.gh-topic-minimal .gh-card + .gh-card {
    margin-top: 16px;
}

/* Global elements used for both grid and list style sections */

.gh-topic-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: -0.011em;
}

.gh-topic-link svg {
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

/* Article */

.gh-article-header {
    position: relative;
    justify-items: start;
}

.gh-article-tag {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.gh-article-excerpt {
    font-size: 1.9rem;
}

.has-full-image .gh-article-excerpt {
    margin-bottom: -8px;
}

.gh-article-image {
    grid-column: main-start / main-end;
    width: 100%;
}

.has-wide-image .gh-article-image {
    grid-column: wide-start / wide-end;
}

.gh-article-sidebar {
    position: absolute;
    left: 0;
    grid-column: wide-start/main-start;
    padding-right: 32px;
}

.has-wide-image .gh-article-sidebar {
    top: calc(100% + 40px);
}

.gh-author-image-list {
    display: flex;
    margin-left: -2px;
}

.gh-author-image {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 50%;
}

.gh-author-image-list .gh-author-image {
    margin-bottom: 16px;
    border: 2px solid var(--color-white);
}

.gh-author-image-list .gh-author-image:only-child {
    width: 68px;
    height: 68px;
}

.gh-author-image-list .gh-author-image:hover {
    opacity: 1;
}

.gh-author-image-list .gh-author-image + .gh-author-image {
    margin-left: -20px;
}

.gh-author-image-list .gh-author-image:nth-child(1) {
    z-index: 30;
}

.gh-author-image-list .gh-author-image:nth-child(2) {
    z-index: 20;
}

.gh-author-image-list .gh-author-image:nth-child(3) {
    z-index: 10;
}

.gh-author-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-author-icon {
    background-color: var(--color-light-gray);
}

.gh-author-name-list {
    display: flex;
    flex-wrap: wrap;
    font-weight: 800;
    line-height: 1.35;
}

.gh-author-name {
    display: flex;
    font-size: 1.8rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.gh-article-meta {
    margin-top: 3px;
    font-size: 1.3rem;
    color: var(--color-secondary-text);
    letter-spacing: -0.003em;
}

.gh-article-meta-inner {
    display: flex;
    align-items: center;
}

.gh-article-meta-sep {
    width: 2px;
    height: 2px;
    margin: 0 6px;
    background-color: currentColor;
    border-radius: 50%;
}

.gh-read-next {
    margin-top: 80px;
}

.gh-read-next .gh-pagehead {
    max-width: none;
    margin-bottom: 48px;
}

.gh-read-next .gh-pagehead-title {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
}

.gh-read-next .gh-pagehead-title::after {
    flex-grow: 1;
    height: 1px;
    margin-left: 1.6rem;
    content: "";
    background-color: var(--color-light-gray);
}

/* Full screen cover */

.gh-cover {
    --cover-height: 50vh;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -16px;
    background-color: rgba(0, 0, 0, 0.4);
}

.post-template .gh-cover {
    --cover-height: 100vh;

    align-items: flex-end;
    padding-top: 120px;
    padding-bottom: 0;
    margin-bottom: -56px;
    background-color: transparent;
}

.post-template .gh-cover::before {
    position: absolute;
    inset: 0;
    content: "";
    background-color: var(--color-black);
    opacity: 0.3;
    transition: opacity 1.5s ease;
}

.post-template .gh-cover.loading::before {
    opacity: 1;
}

.post-template .gh-cover-image {
    transition: transform 1.5s ease;
    transform: scale(1);
}

.post-template .gh-cover.loading .gh-cover-image {
    transform: scale(1.02);
}

.gh-cover-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    margin-top: 100px;
    text-align: center;
}

.post-template .gh-cover-content {
    position: sticky;
    bottom: 80px;
    align-items: flex-start;
    max-width: 1200px;
    margin-bottom: 64px;
    text-align: left;
}

.gh-cover-content .gh-article-tag {
    color: var(--color-white);
}

.gh-cover-title {
    font-size: 7.2rem;
    color: var(--color-white);
    text-transform: uppercase;
    word-break: break-word;
}

.tag-template .gh-cover-title {
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
}

.post-template .gh-cover-title {
    text-transform: none;
}

.gh-cover-description {
    margin-top: 20px;
    font-size: 1.9rem;
    color: var(--color-white);
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-cover-description {
    font-family: var(--gh-font-body, var(--font-serif));
}

/* Page head */

.gh-pagehead {
    display: flex;
    flex-direction: column;
    max-width: 560px;
    margin-bottom: 40px;
}

.gh-pagehead-title {
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.gh-pagehead-description {
    margin-top: 12px;
    font-size: 1.7rem;
    color: var(--color-secondary-text);
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-pagehead-description {
    font-family: var(--gh-font-body, var(--font-serif));
}

/* Subscription banner */

.gh-subscribe {
    margin-top: 40px;
    margin-bottom: 80px;
    text-align: center;
}

.gh-subscribe-title {
    font-size: 4.4rem;
    color: var(--color-white);
    white-space: break-spaces;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-subscribe-title {
    font-family: var(--gh-font-heading, var(--font-serif));
}

.gh-subscribe-description {
    margin-top: 16px;
    font-size: 2rem;
    white-space: break-spaces;
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-subscribe-description {
    font-family: var(--gh-font-body, var(--font-serif));
}

.gh-subscribe-btn {
    margin-top: 40px;
    color: var(--color-darker-gray);
    letter-spacing: -0.011em;
    background-color: var(--color-white);
}

.gh-subscribe-btn:hover {
    opacity: 0.9;
}

.gh-subscribe-btn svg {
    margin-right: 6px;
}

/* Site footer */

.gh-foot {
    padding-top: 80px;
    padding-bottom: 120px;
    margin-top: 120px;
    background-color: var(--color-darker-gray);
}

.page-template .gh-foot {
    margin-top: 0;
}

.gh-foot,
.gh-foot a,
.gh-foot a:hover {
    color: var(--color-white);
}

.gh-foot-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.4rem;
}

.gh-foot-menu {
    width: 100%;
    padding-bottom: 32px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.gh-subscribe ~ .gh-foot-menu {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.gh-foot-menu .nav {
    gap: 32px;
    font-weight: 500;
}

.gh-foot-menu .nav li + li::before {
    display: none;
}

.gh-copyright {
    margin-top: 32px;
    color: var(--color-secondary-text);
    letter-spacing: -0.006em;
}

.gh-subscribe ~ .gh-copyright {
    margin-top: 64px;
}

/* Media queries */

@media (max-width: 767px) {
    .gh-main {
        padding-top: 6.4rem;
        padding-bottom: 6.4rem;
    }

    .gh-cover-content {
        margin-top: 40px;
    }

    .post-template .gh-cover-content {
        bottom: 32px;
        margin-bottom: 32px;
    }

    .gh-cover-title {
        font-size: 3.2rem;
    }

    .gh-cover-description {
        font-size: 1.7rem;
    }

    .gh-topic-grid .gh-topic-content {
        row-gap: 32px !important;
    }

    .gh-topic-grid .gh-card:not(:only-child).large {
        padding-bottom: 36px;
        margin-bottom: 4px;
    }

    .gh-topic-grid .gh-card-link {
        gap: 16px;
    }

    .gh-topic-grid .gh-card.large .gh-card-link {
        gap: 32px;
    }

    .gh-topic-grid .gh-card.featured.large a.gh-card-link {
        min-height: 400px;
        padding: 32px 24px;
    }

    .gh-topic-grid .gh-card-image {
        width: 100px;
    }

    .gh-topic-grid .gh-card-title {
        font-size: 1.6rem;
    }

    .gh-topic-grid .gh-card.featured.large .gh-card-title {
        font-size: 3.2rem;
    }

    .gh-topic-grid .gh-card:not(.large) .gh-card-excerpt {
        display: none;
    }

    .gh-card:not(.large) .gh-card-footer {
        margin-top: 8px;
    }

    .gh-topic-grid .gh-card:not(.large) :where(.gh-card-author, .gh-card-footer-sep) {
        display: none;
    }

    .gh-topic-minimal .gh-card + .gh-card {
        margin-top: 12px;
    }

    .gh-topic-minimal .gh-card-title {
        font-size: 1.5rem;
    }

    .gh-read-next {
        margin-top: 64px;
    }

    .gh-foot {
        padding-top: 64px;
        padding-bottom: 160px;
        margin-top: 64px;
    }

    .gh-subscribe {
        margin-bottom: 32px;
    }

    .gh-subscribe-title {
        font-size: 3.2rem;
    }

    .gh-subscribe-description {
        font-size: 1.7rem;
    }

    .gh-foot-menu {
        padding: 24px 0;
    }

    .gh-foot-menu .nav {
        gap: 12px;
    }

    .gh-copyright {
        margin-top: 32px;
    }
}

@media (min-width: 768px) {
    body:not(.home-template) .gh-topic-grid .gh-card:not(.large) .gh-card-image {
        width: 160px;
    }
}

@media (max-width: 991px) {
    .gh-topic-grid .gh-topic-content {
        grid-template-columns: 1fr;
    }

    .gh-topic-grid .gh-card.large {
        grid-column: auto;
    }

    .gh-topic-grid .gh-card:not(.featured).large .gh-card-link {
        flex-direction: column;
    }

    .gh-topic-grid .gh-card.featured.large .gh-card-link {
        min-height: 480px;
    }

    .gh-topic-grid .gh-card.large .gh-card-link > * {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .gh-head {
        font-size: 1.4rem;
        font-weight: 500;
    }

    .has-full-image .gh-article-excerpt {
        margin-top: 36px;
        font-size: 2.4rem;
    }
}

@media (max-width: 1199px) {
    .gh-article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-column: main-start / main-end;
        column-gap: 12px;
        align-items: center;
        padding-right: 0;
        margin-top: 24px;
    }

    .gh-article-sidebar .gh-author-image-list {
        grid-row: 1 / 3;
    }

    .gh-article-sidebar .gh-author-image {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
    }

    .gh-author-image-list .gh-author-image + .gh-author-image {
        margin-left: -16px;
    }

    .gh-author-name-list {
        font-weight: 600;
    }

    .gh-author-name {
        font-size: 1.7rem;
        font-weight: 600;
    }

    .gh-article-meta {
        margin-top: -6px;
        line-height: 1;
    }
}
