:root {
    --font-sans: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-serif: "Literata", Georgia, serif;
    --head-nav-gap: 4.8rem;
}

.gh-head-logo {
    font-family: var(--font-serif);
    font-weight: 400;
}

.gh-head-menu,
.gh-head-actions,
.gh-head .nav {
    font-size: 1.6rem;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6,
.gh-card-title,
.gh-article-title,
.gh-pagehead-title,
.gh-about-title,
.gh-subscribe-title,
.gh-navigation-title {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="date"],
textarea,
select {
    font-family: var(--font-serif) !important;
}

.gh-form-input,
.gh-subscribe-input,
.gh-search-input,
.kg-signup-card input,
.kg-header-card input,
.kg-product-card input,
[data-members-form] input,
[data-members-form] select,
[data-members-form] textarea,
#ghost-portal-root input,
#ghost-portal-root select,
#ghost-portal-root textarea {
    font-family: var(--font-serif) !important;
}

.gh-head-link,
.gh-head-btn,
.nk-foot-signup,
[data-portal] {
    font-family: var(--font-serif);
}

#ghost-portal-root {
    font-family: var(--font-sans) !important;
}

#ghost-portal-root h1,
#ghost-portal-root h2,
#ghost-portal-root h3,
#ghost-portal-root [class*="heading"],
#ghost-portal-root button,
#ghost-portal-root a {
    font-family: var(--font-serif) !important;
}

.nk-logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 2.1rem + 0.9vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.nk-logo-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18em 0.32em 0.22em;
    margin-right: 0.04em;
    color: #fff;
    background: #000;
}

.nk-logo-word {
    color: #000;
}

.gh-hero {
    display: flex;
    align-items: center;
    min-height: unset;
    padding-top: 2.4rem;
    margin: 0 0 5.6rem;
}

.gh-hero-inner {
    width: 100%;
    max-width: none;
}

.gh-hero-title {
    font-family: var(--font-serif);
    max-width: 100%;
    font-size: clamp(4.2rem, 3.2rem + 1.8vw, 6.8rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.gh-section > .gh-feed > .gh-card.has-preview-image + .gh-card.has-preview-image {
    margin-top: 5.6rem;
}

.gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-link {
    display: grid;
    grid-template-columns: minmax(28rem, 1fr) minmax(32rem, 1.08fr);
    align-items: stretch;
    gap: 2.8rem;
}

.gh-card-media {
    height: 100%;
    overflow: hidden;
    background: #ebebeb;
    border-radius: 0.6rem;
}

.gh-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gh-card.has-preview-image .gh-card-link:hover .gh-card-image {
    transform: scale(1.03);
}

.gh-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-title {
    font-size: clamp(3.1rem, 2.3rem + 0.8vw, 4.1rem);
    line-height: 1.12;
}

.gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-excerpt {
    margin-top: 1.5rem;
}

.gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-meta {
    margin-top: 2.2rem;
}

@media (max-width: 1080px) {
    .gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-link {
        grid-template-columns: minmax(22rem, 0.95fr) minmax(26rem, 1.05fr);
        gap: 2rem;
    }

    .gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-title {
        font-size: clamp(2.6rem, 2rem + 0.9vw, 3.3rem);
    }
}

@media (max-width: 767px) {
    .gh-head-menu,
    .gh-head-actions,
    .gh-head .nav {
        font-size: 1.5rem;
    }

    :root {
        --head-nav-gap: 3.2rem;
    }

    .gh-hero {
        min-height: auto;
        padding-top: 1.2rem;
        margin-bottom: 4.8rem;
    }

    .gh-hero-title {
        font-size: clamp(3.2rem, 2.6rem + 3vw, 4.8rem);
    }

    .gh-section > .gh-feed > .gh-card.has-preview-image + .gh-card.has-preview-image {
        margin-top: 4.2rem;
    }

    .gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-link {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .gh-section > .gh-feed > .gh-card.has-preview-image .gh-card-title {
        font-size: clamp(2.6rem, 2.1rem + 2vw, 3.4rem);
    }
}
