/* Table of contents
/* ------------------------------------------------------------

This is a development CSS file which is built to a minified
production stylesheet in assets/built/screen.css

1. Variables
2. Fonts
3. Resets
4. Globals
5. Layout
6. Navigation
  6.1. Navigation styles
  6.2. Navigation layouts
  6.3. Dropdown menu
  6.4. Mobile menu
7. Card
8. Header
  8.1. Magazine layout
  8.2. Highlight layout
  8.3. Classic layout
9. CTA
10. Featured posts
11. Container
  11.1. With sidebar
  11.2. Without sidebar
12. Post list
  12.1. List style
  12.2. Grid style
  12.3. No image list
13. Sidebar
14. Post/page
  14.1. Article
  14.2. Page template
  14.3. Page without header
15. Content
16. Cards
17. Comments
18. Recent posts
19. Archive
20. Design settings
21. Footer
  21.1. Footer styles
  21.2. Footer bar
  21.3. Footer signup
  21.4. Social links
22. Lightbox

*/

/* 1. Variables
/* ---------------------------------------------------------- */

:root {
    --color-white: #fff;
    --color-lighter-gray: rgb(0 0 0 / 0.05);
    --color-light-gray: #e6e6e6;
    --color-mid-gray: #ccc;
    --color-dark-gray: #444;
    --color-darker-gray: #15171a;
    --color-black: #000;
    --color-primary-text: var(--color-darker-gray);
    --color-secondary-text: rgb(0 0 0 / 0.55);
    --color-border: rgb(0 0 0 / 0.08);
    --color-dark-border: rgb(0 0 0 / 0.55);
    --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-serif: "EB Garamond", Georgia, Times, serif;
    --font-serif-alt: Georgia, Times, serif;
    --font-mono: "JetBrains Mono", Menlo, Consolas, Monaco, "Liberation Mono", "Lucida Console", monospace;
    --container-width: 1320px;
    --container-gap: clamp(24px, 1.7032rem + 1.9355vw, 48px);
    --grid-gap: 42px;
}

:root.has-light-text,
:is(.gh-navigation, .gh-footer).has-accent-color {
    --color-lighter-gray: rgb(255 255 255 / 0.1);
    --color-darker-gray: #fff;
    --color-secondary-text: rgb(255 255 255 / 0.64);
    --color-border: rgb(255 255 255 / 0.15);
    --color-dark-border: rgb(255 255 255 / 0.5);
}

/* 2. Fonts
/* ---------------------------------------------------------- */

/* Fonts are preloaded and defined in default.hbs to avoid layout shift */

/* 3. Resets
/* ---------------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    font-size: 62.5%;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    height: auto;
    max-width: 100%;
}

iframe {
    display: block;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

sub, sup {
    line-height: 1;
}

/* 4. Globals
/* ---------------------------------------------------------- */

body {
    font-family: var(--gh-font-body, var(--font-sans));
    font-size: 1.6rem;
    background-color: var(--background-color);
    color: var(--color-primary-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gh-font-heading, var(--font-sans));
}

a {
    color: var(--color-darker-gray);
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

.gh-button {
    display: inline-flex;
    gap: 0.4em;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.4em;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.004em;
    line-height: 1;
    color: var(--color-white);
    cursor: pointer;
    background-color: var(--ghost-accent-color);
    border: 0;
    border-radius: 100px;
}

.gh-button:hover {
    opacity: 0.95;
}

.gh-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: var(--color-darker-gray);
    cursor: pointer;
    background-color: transparent;
    border: 0;
    outline: none;
}

.gh-icon-button:hover :is(svg, span) {
    opacity: 0.8;
}

.gh-icon-button svg {
    width: 20px;
    height: 20px;
}

.gh-form {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 560px;
    width: 100%;
    height: 56px;
    font-size: 1.7rem;
    font-weight: 450;
    letter-spacing: -0.008em;
    border-radius: 40px;
    background-color: var(--color-lighter-gray);
    transition: background-color 0.2s ease;
}

.gh-form.success {
    pointer-events: none;
}

.gh-form.error {
    box-shadow: 0 0 0 1px red;
}

.gh-form:hover {
    background-color: rgb(0 0 0 / 0.065);
}

.has-light-text .gh-form:hover,
.gh-footer.has-accent-color .gh-form:hover {
    background-color: rgb(255 255 255 / 0.15);
}

.gh-form-input {
    position: absolute;
    inset: 0;
    padding-inline: 26px;
    width: 100%;
    height: 100%;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: 1.1;
    border: 0;
    border-radius: 40px;
    background-color: transparent;
    outline: none;
    transition: 0.3s ease-in-out;
}

.gh-form-input::placeholder,
button.gh-form-input {
    color: rgb(0 0 0 / 0.3);
}

:is(.has-serif-title, .has-mono-title):not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-form-input,
body[class*=" gh-font-heading"]:not(.gh-font-heading-fira-sans):not(.gh-font-heading-inter):not(.gh-font-heading-manrope):not(.gh-font-heading-noto-sans):not(.gh-font-heading-nunito):not(.gh-font-heading-poppins):not(.gh-font-heading-roboto):not(.gh-font-heading-space-grotesk) .gh-form-input,
body[class^="gh-font-heading"]:not(.gh-font-heading-fira-sans):not(.gh-font-heading-inter):not(.gh-font-heading-manrope):not(.gh-font-heading-noto-sans):not(.gh-font-heading-nunito):not(.gh-font-heading-poppins):not(.gh-font-heading-roboto):not(.gh-font-heading-space-grotesk) .gh-form-input {
    padding-inline: 20px;
}

.gh-form.gh-form.success .gh-form-input {
    opacity: 0.5;
}

.has-light-text .gh-form-input,
.gh-footer.has-accent-color .gh-form-input {
    color: #fff;
}

.has-light-text .gh-form-input::placeholder,
.has-light-text button.gh-form-input,
.gh-footer.has-accent-color .gh-form-input::placeholder {
    color: rgb(255 255 255 / 0.55);
}

.gh-header.is-classic.has-image .gh-form-input {
    color: #15171a;
}

.gh-header.is-classic.has-image .gh-form-input::placeholder,
.gh-header.is-classic.has-image button.gh-form-input,
.gh-header.is-classic.has-image .gh-form > svg {
    color: rgb(0 0 0 / 0.5);
}

button.gh-form-input {
    padding-inline-start: 56px;
    text-align: left;
    color: var(--color-secondary-text);
    cursor: pointer;
}

:is(.has-serif-title,.has-mono-title):not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) button.gh-form-input,
body[class*=" gh-font-heading"]:not(.gh-font-heading-fira-sans):not(.gh-font-heading-inter):not(.gh-font-heading-manrope):not(.gh-font-heading-noto-sans):not(.gh-font-heading-nunito):not(.gh-font-heading-poppins):not(.gh-font-heading-roboto):not(.gh-font-heading-space-grotesk) button.gh-form-input,
body[class^="gh-font-heading"]:not(.gh-font-heading-fira-sans):not(.gh-font-heading-inter):not(.gh-font-heading-manrope):not(.gh-font-heading-noto-sans):not(.gh-font-heading-nunito):not(.gh-font-heading-poppins):not(.gh-font-heading-roboto):not(.gh-font-heading-space-grotesk) button.gh-form-input {
    padding-inline-start: 50px;
}

.gh-form .gh-button {
    position: absolute;
    right: 6px;
    min-width: 132px;
    padding-inline: 24px;
    height: 44px;
    font-size: inherit;
}

.gh-form > svg {
    position: relative;
    left: 22px;
    width: 20px;
    height: 20px;
    color: var(--color-secondary-text);
}

:is(.has-serif-title,.has-mono-title):not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-form > svg {
    left: 16px;
}

.gh-form .gh-button svg {
    display: none;
    position: absolute;
    margin-top: 1px;
}

.gh-form .gh-button > span:last-child {
    display: none;
}

.gh-form:is(.loading, .success) .gh-button > span:first-child {
    visibility: hidden;
}

.gh-form.loading .gh-button svg:first-of-type {
    display: block;
}

.gh-form.success .gh-button > span:first-child {
    display: none;
}

.gh-form.success .gh-button > span:last-child {
    display: inline;
}

.gh-form [data-members-error] {
    position: absolute;
    top: 100%;
    margin-top: 10px;
    width: 100%;
    font-size: 1.4rem;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .gh-form {
        font-size: 1.6rem;
    }

    .gh-form .gh-button {
        min-width: 104px;
        padding-inline: 12px;
    }
}

/* 5. Layout
/* ---------------------------------------------------------- */

.gh-viewport {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.gh-outer {
    padding: 0 max(4vmin, 20px);
}

.gh-outer .gh-outer {
    padding: 0;
}

.gh-inner {
    margin: 0 auto;
    max-width: var(--container-width);
    width: 100%;
}

.gh-main {
    flex-grow: 1;
}

.gh-canvas,
.kg-width-full.kg-content-wide {
    --main: min(var(--content-width, 720px), 100% - var(--container-gap) * 2);
    --wide: minmax(0, calc((var(--container-width, 1200px) - var(--content-width, 720px)) / 2));
    --full: minmax(var(--container-gap), 1fr);

    display: grid;
    grid-template-columns:
        [full-start] var(--full)
        [wide-start] var(--wide)
        [main-start] var(--main) [main-end]
        var(--wide) [wide-end]
        var(--full) [full-end];
}

.gh-canvas > * {
    grid-column: main;
}

.kg-width-wide,
.kg-content-wide > div {
    grid-column: wide;
}

.kg-width-full {
    grid-column: full;
}

/* 6. Navigation
/* ---------------------------------------------------------- */

.gh-navigation {
    height: 100px;
    font-size: 1.5rem;
    font-weight: 550;
    background-color: var(--background-color);
    color: var(--color-darker-gray);
}

.gh-navigation :is(.gh-navigation-logo, a:not(.gh-button), .gh-icon-button) {
    color: inherit;
}

.gh-navigation-inner {
    display: grid;
    grid-auto-flow: row dense;
    column-gap: 24px;
    align-items: center;
    height: 100%;
}

.gh-navigation-brand {
    line-height: 1;
}

.gh-navigation-logo {
    position: relative;
    font-family: var(--gh-font-heading, var(--font-sans));
    font-size: calc(2.4rem * var(--factor, 1));
    font-weight: 725;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

.gh-navigation-logo img {
    max-height: 40px;
}

.gh-navigation-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.gh-navigation .nav {
    display: inline-flex;
    gap: 28px;
    align-items: center;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    list-style: none;
}

.gh-navigation .gh-more-toggle {
    position: relative;
    margin: 0 -6px;
    font-size: inherit;
    text-transform: inherit;
}

.gh-navigation .gh-more-toggle svg {
    width: 24px;
    height: 24px;
}

.gh-navigation-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--background-color);
}

.gh-navigation.has-accent-color .gh-navigation-actions {
    background-color: var(--ghost-accent-color);
}

.gh-navigation-members {
    display: flex;
    gap: 20px;
    align-items: center;
    white-space: nowrap;
}

.gh-navigation-members .gh-button {
    font-size: inherit;
    font-weight: 600;
}

.gh-search {
    margin-right: -2px;
    margin-left: -2px;
}

@media (max-width: 767px) {
    .gh-navigation-logo {
        white-space: normal;
    }

    .gh-navigation-members {
        flex-direction: column-reverse;
        gap: 16px;
        width: 100%;
    }

    .gh-navigation-actions .gh-search {
        display: none;
    }
}

@media (min-width: 768px) {
    .gh-navigation-brand .gh-search {
        display: none;
    }

    .gh-navigation:not(.is-dropdown-loaded) .gh-navigation-menu .nav > li {
        opacity: 0;
    }
}

/* 6.1. Navigation styles */

.gh-navigation.has-accent-color {
    background-color: var(--ghost-accent-color);
}

.gh-navigation.has-accent-color .gh-button {
    background-color: #fff;
    color: #15171a;
}

/* 6.2. Navigation layouts */

/*
======================================================================
LOGO   Home About Collection Author Portal             Login Subscribe
======================================================================
*/

.gh-navigation.is-left-logo .gh-navigation-inner {
    grid-template-columns: auto 1fr auto;
}

@media (min-width: 768px) {
    .gh-navigation.is-left-logo .gh-navigation-logo:not(:has(img)) {
        top: -2px;
    }
}

@media (min-width: 992px) {
    .gh-navigation.is-left-logo .gh-navigation-menu {
        margin-right: 100px;
        margin-left: 16px;
    }
}

/*
======================================================================
Home About Collection            LOGO                  Login Subscribe
======================================================================
*/

.gh-navigation.is-middle-logo .gh-navigation-inner {
    grid-template-columns: 1fr auto 1fr;
}

.gh-navigation.is-middle-logo .gh-navigation-brand {
    grid-column-start: 2;
}

.gh-navigation.is-middle-logo .gh-navigation-actions {
    gap: 28px;
}

@media (min-width: 992px) {
    .gh-navigation.is-middle-logo .gh-navigation-menu {
        margin-right: 64px;
    }
}

/*
======================================================================
Search                         LOGO                    Login Subscribe
                 Home About Collection Author Portal
======================================================================
*/

.gh-navigation.is-stacked {
    position: relative;
    height: auto;
}

.gh-navigation.is-stacked .gh-navigation-inner {
    grid-template-columns: 1fr auto 1fr;
}

.gh-navigation.is-stacked .gh-navigation-brand {
    display: flex;
    align-items: center;
    grid-row-start: 1;
    grid-column-start: 2;
    min-height: 80px;
}

@media (max-width: 767px) {
    .gh-navigation.is-stacked .gh-navigation-brand {
        min-height: unset;
    }
}

@media (min-width: 992px) {
    .gh-navigation.is-stacked .gh-navigation-inner {
        padding: 0;
    }

    .gh-navigation.is-stacked .gh-navigation-brand {
        display: flex;
        align-items: center;
        height: 80px;
    }

    .gh-navigation.is-stacked .gh-navigation-menu {
        grid-row-start: 2;
        grid-column: 1 / 4;
        justify-content: center;
        height: 60px;
        margin: 0 48px;
    }

    .gh-navigation.is-stacked .gh-navigation-menu::before,
    .gh-navigation.is-stacked .gh-navigation-menu::after {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: 1px;
        content: "";
        background-color: var(--color-border);
    }

    .gh-navigation.is-stacked .gh-navigation-menu::after {
        top: 140px;
    }

    .gh-navigation.is-stacked .gh-navigation-actions {
        grid-row-start: 1;
        grid-column: 1 / 4;
        justify-content: space-between;
    }

    .gh-navigation.is-stacked .gh-navigation-actions .gh-search {
        display: flex;
        gap: 10px;
        width: auto;
    }
}

/* 6.3. Dropdown menu */

.gh-dropdown {
    position: absolute;
    top: 100%;
    right: -16px;
    z-index: 90;
    width: 200px;
    padding: 12px 0;
    margin-top: 24px;
    text-align: left;
    visibility: hidden;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.04), 0 7px 20px -5px rgb(0 0 0 / 0.15);
    opacity: 0;
    transition: opacity 0.3s, transform 0.2s;
    transform: translate3d(0, 6px, 0);
}

.gh-dropdown.is-left {
    right: auto;
    left: -16px;
}

.is-dropdown-mega .gh-dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    column-gap: 40px;
    width: auto;
    padding: 20px 32px;
}

.is-dropdown-open .gh-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.gh-dropdown li a {
    display: block;
    padding: 7px 20px;
    line-height: 1.5;
    white-space: normal;
    color: #15171a !important;
}

.is-dropdown-mega .gh-dropdown li a {
    padding: 8px 0;
}

/* 6.4. Mobile menu */

.gh-burger {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    display: none;
    margin-right: -7px;
    margin-left: 4px;
}

.gh-burger svg {
    width: 24px;
    height: 24px;
}

.gh-burger svg:last-child {
    display: none;
}

.is-open .gh-burger svg:first-child {
    display: none;
}

.is-open .gh-burger svg:last-child {
    display: block;
}

@media (max-width: 767px) {
    .gh-burger {
        display: flex;
    }

    #gh-navigation {
        height: 64px;
    }

    #gh-navigation .gh-navigation-inner {
        grid-template-rows: auto 1fr auto;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    #gh-navigation .gh-navigation-brand {
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-column-start: 1;
        align-items: center;
        height: 64px;
    }

    #gh-navigation .gh-navigation-logo {
        font-size: 2.2rem;
    }

    #gh-navigation .gh-navigation-menu,
    #gh-navigation .gh-navigation-actions {
        position: fixed;
        justify-content: center;
        visibility: hidden;
        opacity: 0;
    }

    #gh-navigation .gh-navigation-menu {
        transition: none;
        transform: translateY(0);
    }

    #gh-navigation .nav {
        gap: 20px;
        align-items: center;
        line-height: 1.4;
    }

    #gh-navigation .nav a {
        font-size: 1.75rem;
        font-weight: 600;
        text-transform: none;
    }

    #gh-navigation .nav li {
        opacity: 0;
        transform: translateY(-4px);
    }

    #gh-navigation .gh-navigation-actions {
        text-align: center;
    }

    #gh-navigation :is(.gh-button, a[data-portal="signin"]) {
        opacity: 0;
        transform: translateY(8px);
    }

    #gh-navigation .gh-button {
        width: 100%;
        font-size: 1.75rem;
        text-transform: none;
    }

    #gh-navigation a[data-portal="signin"] {
        font-size: 1.75rem;
    }

    #gh-main {
        transition: opacity 0.4s;
    }

    .is-open#gh-navigation {
        position: fixed;
        inset: 0;
        z-index: 3999999;
        height: 100%;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .is-open#gh-navigation .gh-navigation-menu,
    .is-open#gh-navigation .gh-navigation-actions {
        position: static;
        visibility: visible;
        opacity: 1;
    }

    .is-open#gh-navigation .nav {
        display: flex;
        flex-direction: column;
    }

    .is-open#gh-navigation .nav li {
        opacity: 1;
        transition: transform 0.2s, opacity 0.2s;
        transform: translateY(0);
    }

    .is-open#gh-navigation .gh-navigation-actions {
        position: sticky;
        right: 0;
        bottom: 0;
        left: 0;
        display: inline-flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        padding: var(--container-gap) 0;
    }

    .is-open#gh-navigation :is(.gh-button, a[data-portal="signin"]) {
        opacity: 1;
        transition: transform 0.4s, opacity 0.4s;
        transition-delay: 0.2s;
        transform: translateY(0);
    }

    .is-open#gh-navigation a[data-portal="signin"] {
        transition-delay: 0.4s;
    }

    .is-open#gh-main {
        opacity: 0;
    }
}

/* 7. Card
/* ---------------------------------------------------------- */

.gh-card {
    position: relative;
}

.gh-card-link {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gh-card-link:hover {
    opacity: 1;
}

.gh-card-image {
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}

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

.gh-card-wrapper {
    flex-grow: 1;
}

.gh-card-tag {
    display: none;
    margin-bottom: 4px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.gh-card-title {
    font-size: calc(1.9rem * var(--factor, 1));
    font-weight: 725;
    letter-spacing: -0.014em;
    line-height: 1.3;
}

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

.gh-card-excerpt {
    display: -webkit-box;
    overflow-y: hidden;
    margin-top: 8px;
    font-size: 1.45rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gh-card-meta {
    align-items: center;
    padding-bottom: 1px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.004em;
    color: var(--color-secondary-text);
}

.gh-card-meta svg {
    position: relative;
    top: 1px;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 2px;
}

.gh-card-meta:not(:empty) {
    margin-top: 8px;
}

.gh-card-author + .gh-card-date::before {
    content: "—";
    margin-right: 4px;
}

/* 8. Header
/* ---------------------------------------------------------- */

.gh-header {
    position: relative;
    margin-top: 40px;
}

.gh-header-inner {
    position: relative;
    overflow: hidden;
}

/* 8.1. Magazine layout */

.gh-header.is-magazine .gh-header-inner {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: var(--grid-gap);
}

.gh-header.is-magazine .gh-header-inner > div {
    display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
    grid-row: 1;
}

.gh-header.is-magazine .gh-header-left {
    grid-column: 1 / span 4;
}

.gh-header.is-magazine .gh-header-inner > .gh-card {
    position: relative;
    grid-column: 5 / span 8;
}

.gh-header.is-magazine .gh-header-right {
    grid-column: 13 / -1;
}

.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-link {
    gap: 28px;
}

.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-image {
    aspect-ratio: 1.618033;
}

.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-tag {
    display: block;
    margin-bottom: 12px;
}

.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-title {
    font-size: clamp(2.8rem, 1.36vw + 2.25rem, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.022em;
}

.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-excerpt {
    margin-top: clamp(12px, 0.45vw + 10.18px, 16px);
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    max-width: 90%;
}

.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-meta:not(:empty) {
    margin-top: 14px;
}

.gh-header.is-magazine :is(.gh-header-left, .gh-header-right) .gh-card:last-child .gh-card-image {
    display: none;
}

.gh-header.is-magazine .gh-header-inner > div .gh-card-excerpt {
    display: none;
}

.gh-header.is-magazine .gh-header-inner > .gh-card::before,
.gh-header.is-magazine .gh-header-inner > .gh-card::after {
    position: absolute;
    top: 0;
    left: calc(var(--grid-gap) / -2);
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--color-border);
}

.gh-header.is-magazine .gh-header-inner > .gh-card::after {
    right: calc(var(--grid-gap) / -2);
    left: auto;
}

.gh-header.is-magazine .gh-header-inner > div .gh-card + .gh-card::before {
    position: absolute;
    top: calc(var(--grid-gap) / -2);
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
}

@media (max-width: 1199px) {
    .gh-header.is-magazine .gh-header-inner {
        grid-template-columns: repeat(12, 1fr);
    }

    .gh-header.is-magazine .gh-header-inner > .gh-card {
        grid-column: 1 / span 8;
    }

    .gh-header.is-magazine .gh-header-left {
        grid-column: 9 / -1;
    }

    .gh-header.is-magazine .gh-header-inner > div.gh-header-right {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
    }

    .gh-header.is-magazine .gh-header-right .gh-card {
        flex: 1;
    }

    .gh-header.is-magazine .gh-header-right .gh-card:last-child .gh-card-image {
        display: block;
    }

    .gh-header.is-magazine .gh-header-right {
        position: relative;
    }

    .gh-header.is-magazine .gh-header-right::before {
        position: absolute;
        top: calc(var(--grid-gap) / -2);
        left: 0;
        content: "";
        width: 100%;
        height: 1px;
        background-color: var(--color-border);
    }

    .gh-header.is-magazine .gh-header-right .gh-card::before {
        display: none;
    }

    .gh-header.is-magazine .gh-header-right .gh-card::after {
        position: absolute;
        top: 0;
        right: calc(var(--grid-gap) / -2);
        content: "";
        width: 1px;
        height: 100%;
        background-color: var(--color-border);
    }
}

@media (max-width: 991px) {
    .gh-header.is-magazine .gh-header-left .gh-card:nth-child(2) .gh-card-image {
        display: none;
    }
}

@media (max-width: 767px) {
    .gh-header.is-magazine .gh-header-inner {
        display: flex;
        flex-direction: column;
        gap: var(--grid-gap);
    }

    .gh-header.is-magazine .gh-header-inner > div.gh-header-right {
        flex-direction: column;
    }

    .gh-header.is-magazine .gh-card-image {
        display: block !important;
    }

    .gh-header.is-magazine .gh-card::before {
        display: block !important;
        position: absolute;
        top: calc(var(--grid-gap) / -2);
        left: 0;
        content: "";
        width: 100%;
        height: 1px;
        background-color: var(--color-border);
    }
}

/* 8.2. Highlight layout */

.gh-header.is-highlight .gh-header-inner {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: var(--grid-gap);
}

.gh-header.is-highlight .gh-header-left {
    position: relative;
    grid-column: span 8;
}

.gh-header.is-highlight .gh-header-left .gh-card {
    grid-column: span 8;
    grid-row: span 3;
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-link {
    gap: 28px;
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-image {
    aspect-ratio: 3 / 2;
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-tag {
    display: block;
    margin-bottom: 12px;
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-title {
    font-size: clamp(2.8rem, 1.36vw + 2.25rem, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.022em;
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-excerpt {
    margin-top: clamp(12px, 0.45vw + 10.18px, 16px);
    font-size: 1.8rem;
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-meta:not(:empty) {
    margin-top: 12px;
}

.gh-header.is-highlight .gh-header-middle {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
    grid-column: 9 / span 4;
}

.gh-header.is-highlight .gh-header-middle .gh-card:last-child .gh-card-image {
    display: none;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-excerpt {
    display: none;
}

.gh-header.is-highlight .gh-header-right {
    grid-column: 13 / -1;
}

.gh-header.is-highlight .gh-featured {
    margin-top: 0;
    padding: 0;
}

.gh-header.is-highlight .gh-featured-feed {
    display: flex;
    flex-direction: column;
}

.gh-header.is-highlight .gh-featured-feed .gh-card-title {
    font-size: clamp(1.4rem, 0.23vw + 1.31rem, 1.6rem);
}

.gh-header.is-highlight .gh-header-left::after,
.gh-header.is-highlight .gh-header-middle::after {
    position: absolute;
    top: 0;
    right: calc(var(--grid-gap) / -2);
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--color-border);
}

.gh-header.is-highlight .gh-card::before {
    position: absolute;
    top: calc(var(--grid-gap) / -2);
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
}

.gh-header.is-highlight .gh-featured .gh-card:first-child::before {
    display: none;
}

@media (max-width: 1199px) {
    .gh-header.is-highlight .gh-header-inner {
        grid-template-columns: repeat(9, 1fr);
    }

    .gh-header.is-highlight .gh-header-left {
        grid-column: span 6;
    }

    .gh-header.is-highlight .gh-header-middle {
        grid-column: 7 / -1;
    }

    .gh-header.is-highlight .gh-header-right {
        grid-column: 1 / -1;
    }

    .gh-header.is-highlight .gh-featured-feed {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .gh-header.is-highlight .gh-featured-feed .gh-card:before {
        width: calc(100% + var(--grid-gap));
    }

    .gh-header.is-highlight .gh-featured-feed .gh-card::after {
        position: absolute;
        top: 0;
        left: calc(var(--grid-gap) / -2);
        content: "";
        width: 1px;
        height: 100%;
        background-color: var(--color-border);
    }
}

@media (max-width: 991px) {
    .gh-header.is-highlight .gh-header-middle .gh-card:nth-child(2) .gh-card-image {
        display: none;
    }
}

@media (max-width: 767px) {
    .gh-header.is-highlight .gh-header-inner {
        display: flex;
        flex-direction: column;
    }

    .gh-header.is-highlight .gh-featured-feed {
        display: flex;
        /* gap: var(--grid-gap); */
    }

    .gh-header.is-highlight .gh-card-image {
        display: block !important;
    }

    .gh-header.is-highlight .gh-header-middle .gh-card .gh-card-excerpt {
        display: -webkit-box;
    }
}

/* 8.3. Classic layout */

.gh-header.is-classic {
    display: flex;
    margin-top: 0;
    padding-block: 160px;
}

.gh-header.is-classic .gh-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    overflow: unset;
    margin: auto;
    max-width: 1020px;
    text-align: center;
}

.gh-header.is-classic .gh-header-title {
    font-size: calc(clamp(3rem, 1.82vw + 2.27rem, 4.6rem) * var(--factor, 1));
    line-height: 1.1;
    letter-spacing: -0.028em;
}

.gh-header.is-classic.has-image {
    margin-top: 0;
}

.gh-header.is-classic.has-image::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.3;
    background-color: var(--color-black);
    transition: opacity 1.5s ease;
}

.gh-header.is-classic.has-image .gh-header-inner {
    color: #fff;
}

.gh-header.is-classic.has-image .gh-header-image {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-header.is-classic.has-image .gh-form {
    background-color: #fff;
}

/* 9. CTA
/* ---------------------------------------------------------- */

.gh-cta {
    display: none;
    margin-top: max(4vw, 40px);
}

.gh-header:is(.is-highlight, .is-magazine) + .gh-cta {
    display: block;
}

.gh-cta-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: clamp(48px, 3.64vw + 33.45px, 80px) clamp(40px, 2.73vw + 29.09px, 64px);
    text-align: center;
    background-color: var(--color-lighter-gray);
}

.gh-cta-content {
    max-width: 640px;
}

.gh-cta-title {
    font-size: clamp(2.8rem,1.36vw + 2.25rem,4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.021em;
}

.gh-cta-description {
    margin-top: 12px;
    font-size: 1.8rem;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

/* 10. Featured posts
/* ---------------------------------------------------------- */

.gh-featured {
    margin-top: 100px;
}

.gh-navigation + .gh-featured {
    margin-top: 64px;
}

.gh-header.is-classic:not(.has-image) + .gh-featured {
    margin-top: 0;
}

.gh-featured-inner {
    overflow: hidden;
}

.gh-featured-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 550;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
}

.gh-featured-feed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
}

.gh-featured-feed .gh-card {
    container-type: inline-size;
    container-name: featured-card;
}

.gh-featured-feed .gh-card-link {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.gh-featured-feed .gh-card-image {
    width: 72px;
    aspect-ratio: 1;
}

@container featured-card (width < 240px) {
    .gh-featured-feed .gh-card-image {
        display: none;
    }
}

@container featured-card (240px <= width <= 270px) {
    .gh-featured-feed .gh-card-image {
        width: 64px;
    }
}

.gh-featured-feed .gh-card-wrapper {
    container-type: inline-size;
    container-name: featured-card-wrapper;
}

.gh-featured-feed .gh-card-title {
    font-size: 1.6rem;
    font-weight: 650;
    letter-spacing: -0.011em;
}

@container featured-card-wrapper (width < 170px) {
    .gh-featured-feed .gh-card-title {
        font-size: 1.6rem;
    }
}

.gh-featured-feed .gh-card-excerpt {
    display: none;
}

.gh-featured-feed .gh-card-meta:not(:empty) {
    margin-top: 8px;
}

.gh-featured-feed .gh-card::before {
    position: absolute;
    top: 0;
    left: calc(var(--grid-gap) / -2);
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--color-border);
}

@media (max-width: 1199px) {
    .gh-viewport > .gh-featured .gh-featured-feed {
        grid-template-columns: repeat(3, 1fr);
    }

    .gh-viewport > .gh-featured .gh-featured-feed .gh-card:nth-child(4) {
        display: none;
    }
}

@media (max-width: 767px) {
    .gh-viewport > .gh-featured .gh-featured-feed {
        display: flex;
        flex-direction: column;
    }
}

/* 11. Container
/* ---------------------------------------------------------- */

.gh-container {
    flex-grow: 1;
    margin-top: 64px;
}

.gh-container-inner {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    column-gap: var(--grid-gap);
}

:is(.gh-featured, .gh-cta) + .gh-container {
    margin-top: max(4vw, 40px);
}

.gh-header.is-classic:not(.has-image) + .gh-container {
    margin-top: 0;
}

.gh-navigation + .gh-container .gh-container-title,
:is(.paged, .tag-template, .author-template) .gh-container:not(.has-sidebar) .gh-container-title {
    display: none;
}

.gh-more {
    display: none;
    grid-column: 1 / -1;
    margin-top: 48px;
    font-size: calc(1.9rem * var(--factor, 1));
    font-weight: 725;
    letter-spacing: -0.014em;
}

.gh-container.has-sidebar .gh-more {
    grid-column: span 12;
}

.home-template .gh-feed:has(> :nth-child(12):last-child) ~ .gh-more {
    display: block;
}

.gh-more a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gh-more svg {
    margin-top: -1px;
    width: 18px;
    height: 18px;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-more svg {
    margin-top: 0;
}

/* 11.1. With sidebar */

.gh-container.has-sidebar .gh-main {
    grid-column: 1 / span 12;
    position: relative;
}

.gh-container.has-sidebar .gh-sidebar {
    grid-column: 13 / -1;
}

.gh-container.has-sidebar .gh-main::after {
    position: absolute;
    top: 0;
    right: calc(var(--grid-gap) / -2);
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--color-border);
}

/* 11.2. Without sidebar */

.gh-container:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
    grid-column: 3 / span 12;
}

.gh-container.is-list.no-image:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
    grid-column: 4 / span 10;
}

.gh-header:is(.is-highlight, .is-magazine) ~ .gh-container.is-grid:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
    grid-column: 1 / -1;
}

@media (max-width: 1199px) {
    .gh-container-inner {
        display: block;
        overflow: hidden;
    }

    .gh-container.has-sidebar .gh-sidebar {
        display: none;
    }
}

/* 12. Post list
/* ---------------------------------------------------------- */

.gh-container-title {
    grid-column: 1 / -1;
    margin-bottom: calc(var(--grid-gap) / 2);
    padding-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 550;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
}

.gh-container:not(:has(.gh-card)) .gh-container-title {
    display: none;
}

.gh-container .gh-feed {
    gap: var(--grid-gap);
}

.gh-container .gh-card-meta:not(:empty) {
    margin-top: 12px;
}

/* 12.1. List style */

.gh-container.is-list .gh-feed {
    display: flex;
    flex-direction: column;
    container-type: inline-size;
    container-name: list-feed;
}

.gh-container.is-list .gh-card-link {
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.gh-container.is-list .no-image .gh-card-link {
    padding-block: 20px;
}

.gh-container.is-list .gh-card-image {
    flex-shrink: 0;
    width: 220px;
    aspect-ratio: 1.618033;
}

@container list-feed (width < 600px) {
    .gh-container.is-list .gh-card-image {
        width: 160px;
    }
}

.gh-container.is-list .gh-card:not(.no-image) .gh-card-wrapper {
    max-width: 600px;
}

.gh-container.is-list .gh-card-title {
    --factor: 1.05;
}

.gh-container.is-list .no-image .gh-card-title {
    --factor: 1.2;
}

.gh-container.is-list .gh-card-excerpt {
    margin-top: 6px;
}

.gh-container.is-list .gh-card + .gh-card::before {
    position: absolute;
    top: calc(var(--grid-gap) / -2);
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
}

.home-template .gh-container.is-list .gh-card:first-child:before {
    display: none;
}

@media (max-width: 767px) {
    .gh-container.is-list .gh-card-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .gh-container.is-list .gh-card-image {
        width: 100%;
    }
}

/* 12.2. Grid style */

.gh-container.is-grid .gh-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
    row-gap: calc(var(--grid-gap) * 1.5);
    overflow: hidden;
}

.gh-container.is-grid .gh-card::before {
    position: absolute;
    top: calc(var(--grid-gap) / -2);
    right: calc(var(--grid-gap) / -2);
    left: calc(var(--grid-gap) / -2);
    content: "";
    height: 1px;
    background-color: var(--color-border);
}

.gh-container.is-grid .gh-card::after {
    position: absolute;
    top: 0;
    left: calc(var(--grid-gap) / -2);
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--color-border);
}

@media (max-width: 767px) {
    .gh-container.is-grid .gh-feed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gh-container.is-grid .gh-feed {
        display: flex;
        flex-direction: column;
    }
}

/* 12.3. No image list */

.gh-container.is-list.no-image .gh-card-image {
    display: none;
}

/* 13. Sidebar
/* ---------------------------------------------------------- */

.gh-sidebar-inner {
    position: sticky;
    top: calc(var(--grid-gap) / 2);
}

.gh-sidebar-title {
    grid-column: 1 / -1;
    margin-bottom: calc(var(--grid-gap) / 2);
    padding-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 550;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
}

.gh-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 24px;
    min-height: 380px;
    text-align: center;
    background-color: var(--color-lighter-gray);
}

.gh-about-icon {
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.gh-about-title {
    font-size: calc(2.4rem * var(--factor, 1));
    font-weight: 700;
    letter-spacing: -0.019em;
}

.gh-about-description {
    margin-top: 12px;
    font-size: 1.45rem;
    line-height: 1.4;
}

.gh-about .gh-button {
    margin-top: 32px;
}

.gh-recommendations {
    margin-top: 48px;
}

.gh-recommendations .recommendations {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.gh-recommendations .recommendation:first-child {
    margin-top: 4px;
}

.gh-recommendations .recommendation a {
    display: grid;
    grid-template-columns: 24px auto;
    gap: 4px 12px;
}

.gh-recommendations .recommendation a:hover {
    opacity: 1;
}

.gh-recommendations .recommendation-favicon {
    grid-row: span 2;
    width: 100%;
    border-radius: 4px;
}

.gh-recommendations .recommendation-title {
    margin-top: -2px;
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.009em;
}

.gh-recommendations .recommendation a:hover .recommendation-title {
    opacity: 0.8;
}

.gh-recommendations .recommendation-url {
    order: 1;
    overflow: hidden;
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--color-secondary-text);
    text-overflow: ellipsis;
}

.gh-recommendations .recommendation-description {
    display: -webkit-box;
    display: none;
    overflow-y: hidden;
    grid-column: 2;
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--color-secondary-text);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gh-recommendations button {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 24px;
    padding: 0;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 550;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    background-color: transparent;
    border: 0;
    color: var(--color-darker-gray);
}

.gh-recommendations button svg {
    margin-top: -1px;
    width: 12px;
}

.gh-recommendations button:hover {
    opacity: 0.8;
}

/* 14. Post/page
/* ---------------------------------------------------------- */

/* 14.1. Article */

.gh-article {
    --container-width: 1120px;

    word-break: break-word;
}

.gh-article-header {
    margin: clamp(40px, 3.64vw + 25.45px, 72px) 0 40px;
}

.gh-article-tag {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--ghost-accent-color);
}

.gh-article-title {
    font-size: calc(clamp(3.4rem, 1.36vw + 2.85rem, 4.6rem) * var(--factor, 1));
    line-height: 1.1;
    letter-spacing: -0.022em;
}

.gh-article-excerpt {
    margin-top: clamp(12px, 0.45vw + 10.18px, 16px);
    max-width: 720px;
    font-size: clamp(1.7rem, 0.23vw + 1.61rem, 1.9rem);
    line-height: 1.45;
    letter-spacing: -0.018em;
}

.gh-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
}

.gh-article-author-image {
    display: flex;
    margin-right: 8px;
}

.gh-article-author-image a {
    position: relative;
    margin: 0 -8px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    background-color: var(--color-light-gray);
    border-radius: 50%;
    border: 3px solid var(--background-color);
}

.gh-article-author-image a:first-child {
    z-index: 10;
}

.gh-article-author-image a:nth-child(2) {
    z-index: 9;
}

.gh-article-author-image a:nth-child(3) {
    z-index: 8;
}

.gh-article-author-image :is(img, svg) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-article-meta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gh-article-author-name {
    font-size: 1.6rem;
    font-weight: 650;
    letter-spacing: -0.013em;
}

.gh-article-meta-content {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.006em;
    color: var(--color-secondary-text);
}

.gh-article-image {
    grid-column: wide;
    margin-top: 40px;
}

.gh-article-image img {
    width: 100%;
}

/* 14.2. Page template */

.page-template .gh-article-header {
    margin-block: 72px 32px;
}

/* 14.3. Page without header */

.page-template .gh-content:only-child > *:first-child:not(.kg-width-full) {
    margin-top: 64px;
}

.page-template .gh-content > *:last-child:not(.kg-width-full) {
    margin-bottom: 6vw;
}

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

/* 15. Content
/* ---------------------------------------------------------- */

/* Content refers to styling all page and post content that is
created within the Ghost editor. The main content handles
headings, text, images and lists. We deal with cards lower down. */

.gh-content {
    font-size: var(--content-font-size, 1.7rem);
    letter-spacing: -0.01em;
}

/* Default vertical spacing */
.gh-content > * + * {
    margin-top: calc(28px * var(--content-spacing-factor, 1));
    margin-bottom: 0;
}

/* Remove space between full-width cards */
.gh-content > .kg-width-full + .kg-width-full:not(.kg-width-full.kg-card-hascaption + .kg-width-full) {
    margin-top: 0;
}

/* Add back a top margin to all headings,
unless a heading is the very first element in the post content */
.gh-content > [id]:not(:first-child) {
    margin-top: calc(56px * var(--content-spacing-factor, 1));
}

/* Add drop cap setting */
.post-template .gh-content.drop-cap > p:first-of-type:first-letter {
    margin :0 0.2em 0em 0;
    font-size: 3.1em;
    float:left;
    line-height: 1;
    margin-left: -1px;
    font-weight: 700;
}

.has-serif-body.post-template:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content.drop-cap > p:first-of-type:first-letter {
    font-size: 3.2em;
}

/* Add a small margin between a heading and paragraph after it */
.gh-content > [id] + p {
    margin-top: calc(12px * var(--content-spacing-factor, 1));
}

/* A larger margin before/after dividers, blockquotes and embeds */
.gh-content > :is(hr, blockquote, iframe) {
    position: relative;
    margin-top: calc(48px * var(--content-spacing-factor, 1)) !important;
}

.gh-content > :is(hr, blockquote, iframe) + * {
    margin-top: calc(48px * var(--content-spacing-factor, 1)) !important;
}

/* Now the content typography styles */
.gh-content h1 {
    font-size: calc(2.2em * var(--factor, 1));
    letter-spacing: -0.02em;
}

.gh-content h2 {
    font-size: calc(1.6em * var(--factor, 1));
    letter-spacing: -0.02em;
}

.gh-content h3 {
    font-size: calc(1.3em * var(--factor, 1));
    letter-spacing: -0.017em;
}

.gh-content a {
    color: var(--ghost-accent-color);
    text-decoration: underline;
}

.gh-content .kg-callout-card .kg-callout-text,
.gh-content .kg-toggle-card .kg-toggle-content > :is(ul, ol, p) {
    font-size: 0.95em;
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content > blockquote,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content > ol,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content > ul,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content > dl,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content > p,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content .kg-callout-text,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content .kg-toggle-content > ol,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content .kg-toggle-content > ul,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-content .kg-toggle-content > p {
    font-family: var(--font-serif-alt);
}

.gh-content :is(ul, ol) {
    padding-left: 28px;
}

.gh-content :is(li + li, li :is(ul, ol)) {
    margin-top: 8px;
}

.gh-content ol ol li {
    list-style-type: lower-alpha;
}

.gh-content ol ol ol li {
    list-style-type: lower-roman;
}

.gh-content hr {
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    border: 0;
}

.gh-content .gh-table {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

.gh-content .gh-table table {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    white-space: nowrap;
    vertical-align: top;
    border-spacing: 0;
    border-collapse: collapse;
}

.gh-content .gh-table table th {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-darkgrey);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.gh-content .gh-table table :is(th, td),
.gh-content .gh-table table td {
    padding: 6px 12px;
    border-bottom: 1px solid var(--color-border);
}

.gh-content .gh-table table :is(th, td):first-child {
    padding-left: 0;
}

.gh-content .gh-table table :is(th, td):last-child {
    padding-right: 0;
}

.gh-content pre {
    overflow: auto;
    padding: 16px;
    font-size: 1.5rem;
    line-height: 1.5em;
    background: var(--color-lighter-gray);
    border-radius: 6px;
    font-family: var(--font-mono);
}

.gh-content :not(pre) > code {
    vertical-align: baseline;
    padding: 0.15em 0.4em;
    font-weight: 400;
    font-size: 0.95em;
    line-height: 1em;
    background: var(--color-lighter-gray);
    border-radius: 0.25em;
    font-family: var(--font-mono);
}

/* 16. Cards
/* ---------------------------------------------------------- */

/* Add extra margin before/after any cards, except for when immediately preceeded by a heading */

.gh-content :not(.kg-card):not(table):not([id]) + :is(.kg-card, table) {
    margin-top: calc(48px * var(--content-spacing-factor, 1));
}

.gh-content :is(.kg-card, table) + :not(.kg-card):not(table):not([id]) {
    margin-top: calc(48px * var(--content-spacing-factor, 1));
}

.gh-content :not(.kg-card):not([id]) + .kg-card.kg-width-full {
    margin-top: calc(68px * var(--content-spacing-factor, 1));
}

.gh-content .kg-card.kg-width-full + :not(.kg-card):not([id]) {
    margin-top: calc(68px * var(--content-spacing-factor, 1));
}

/* Image */

.kg-image {
    margin-right: auto;
    margin-left: auto;
}

/* Embed */

.kg-embed-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Gallery */

.kg-image[width][height],
.kg-gallery-image {
    cursor: pointer;
}

.kg-image-card a:hover,
.kg-gallery-image a:hover {
    opacity: 1 !important;
}

/* Toggle */

.kg-card.kg-toggle-card .kg-toggle-heading-text {
    font-size: 2rem;
    font-weight: 700;
}

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

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .kg-toggle-card .kg-toggle-heading-text {
    font-family: var(--font-mono);
}

/* Callout */

.kg-callout-card.kg-card {
    border-radius: 0.25em;
}

.kg-callout-card-accent a {
    text-decoration: underline;
}

/* Blockquote */

blockquote:not([class]) {
    padding-left: 2rem;
    border-left: 4px solid var(--ghost-accent-color);
}

blockquote.kg-blockquote-alt {
    font-style: normal;
    font-weight: 400;
    color: var(--color-secondary-text);
}

/* Button */

.kg-card.kg-button-card .kg-btn {
    height: unset;
    padding: .6em 1.2em;
    text-align: center;
    font-size: 1em;
    line-height: 1.2em;
}

/* Header */

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

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .kg-card.kg-header-card h2.kg-header-card-header {
    font-family: var(--font-mono);
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .kg-header-card h3.kg-header-card-subheader {
    font-family: var(--font-serif);
}

/* Bookmark */

.kg-bookmark-card .kg-bookmark-container {
    border-radius: 0.25em !important;
}

.kg-bookmark-card .kg-bookmark-container:hover {
    opacity: 1;
}

.kg-bookmark-card a.kg-bookmark-container,
.kg-bookmark-card a.kg-bookmark-container:hover {
    background: var(--background-color) !important;
    color: var(--color-darker-gray) !important;
}

.kg-bookmark-card .kg-bookmark-content {
    padding: 1.15em;
}

.kg-bookmark-card .kg-bookmark-title {
    font-size: 0.9em;
}

.kg-bookmark-card .kg-bookmark-description {
    max-height: none;
    margin-top: 0.3em;
    font-size: 0.8em;
}

.kg-bookmark-card .kg-bookmark-metadata {
    font-size: 0.8em;
}

.kg-bookmark-card .kg-bookmark-thumbnail img {
    border-radius: 0 0.2em 0.2em 0;
}

/* Product */

.kg-product-card.kg-card .kg-product-card-image {
    margin-bottom: 12px;
}

.kg-product-card.kg-card a.kg-product-card-button {
    height: 2.8em;
    margin-top: 12px;
}

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

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .kg-product-card.kg-card .kg-product-card-title {
    font-family: var(--font-mono);
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .kg-product-card-description :is(p, ul, ol) {
    font-family: var(--font-serif-alt);
}

/* File */

.kg-file-card.kg-card .kg-file-card-container {
    padding: 0.6em;
}

.kg-file-card.kg-card .kg-file-card-contents {
    margin: 4px 8px 6px;
}

.kg-file-card.kg-card .kg-file-card-metadata {
    font-size: 0.9em;
}

.kg-file-card.kg-card .kg-file-card-filesize::before {
    margin-right: 6px;
    margin-left: 6px;
}

/* Caption */

figcaption {
    margin-top: 12px;
    font-size: 1.4rem;
    text-align: center;
}

.kg-card.kg-width-full figcaption {
    padding: 0 16px;
}

figcaption a {
    color: var(--ghost-accent-color);
    text-decoration: underline;
}

/* 17. Comments
/* ---------------------------------------------------------- */

.gh-comments {
    margin-top: 48px;
}

/* 18. Recent posts
/* ---------------------------------------------------------- */

.post-template .gh-container {
    margin-top: 120px;
}

.post-template .gh-container-inner {
    display: block;
}

.post-template .gh-container.is-grid .gh-feed {
    grid-template-columns: repeat(4, 1fr);
}

.post-template .gh-container .gh-container-title {
    display: block;
}

/* 19. Archive
/* ---------------------------------------------------------- */

.gh-archive {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: var(--grid-gap);
    margin-block: 80px 24px;
}

.gh-archive.has-image {
    margin-top: 48px;
}

.gh-archive-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    grid-column: 1 / -1;
    padding-bottom: clamp(40px, 2.73vw + 29.09px, 64px);
    border-bottom: 1px solid var(--color-border);
}

.gh-archive.has-image .gh-archive-inner {
    align-items: center;
    grid-column: 1 / -1;
}

.gh-archive:not(.has-sidebar):not(.has-image) .gh-archive-inner {
    grid-column: 3 / span 12;
}

.gh-archive .gh-article-image {
    grid-column: auto;
    margin-top: 0;
}

:is(.tag-template, .author-template) .gh-container {
    margin-top: 0;
}

.author-template .gh-archive-inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 24px;
}

.author-template .gh-article-image {
    margin-top: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.author-template .gh-article-title {
    font-size: 3.6rem;
}

.gh-author-meta {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    font-size: 1.5rem;
    font-weight: 550;
    color: var(--color-secondary-text);
}

.gh-author-meta a {
    color: inherit;
}

.gh-author-social {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-left: 3px;
}

.gh-author-social svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1199px) {
    .gh-archive {
        display: block;
    }
}

@media (max-width: 767px) {
    .gh-archive-inner {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .author-template .gh-archive-inner {
        flex-direction: column-reverse;
    }
}

/* 20. Design settings
/* ---------------------------------------------------------- */

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) {
    --factor: 1.15;
}

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) {
    --factor: 1.1;
}

.has-sans-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) :is(.is-title, .gh-content :is(h2, h3)) {
    font-family: var(--gh-font-heading, var(--font-sans));
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) :is(.is-title, .gh-content :is(h2, h3)) {
    font-family: var(--gh-font-heading, var(--font-serif));
    font-weight: 550;
}

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) :is(.is-title, .gh-content :is(h2, h3)) {
    font-family: var(--gh-font-heading, var(--font-mono));
}

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

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

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-header.is-classic .gh-header-title {
    font-weight: 550;
    letter-spacing: -0.015em;
}

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-header.is-classic .gh-header-title {
    letter-spacing: -0.01em;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-form {
    border-radius: 0;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-card-title {
    line-height: 1.15;
    letter-spacing: -0.006em;
    font-size: calc(2.0rem*var(--factor, 1))
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-featured-feed .gh-card-title {
    font-size: calc(1.6rem*var(--factor, 1))
}

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-featured-feed .gh-card-title {
    font-size: calc(1.5rem*var(--factor, 1));
    letter-spacing: 0;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-header.is-highlight .gh-featured-feed .gh-card-title {
    font-size: clamp(1.6rem, 0.23vw + 1.51rem, 1.8rem);
}

.has-mono-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-card-title {
    font-size: calc(1.8rem*var(--factor, 1));
    line-height: 1.2;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-about-title {
    letter-spacing: -0.009em;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-footer-signup-header {
    letter-spacing: -0.019em;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-article-title {
    letter-spacing: -0.019em;
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) {
    --content-font-size: 1.9rem;
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-card-excerpt {
    font-size: 1.65rem;
    line-height: 1.4;
    letter-spacing: 0.0005em;
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-excerpt,
.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-header.is-highlight .gh-card:first-child .gh-card-excerpt {
    font-size: 1.8rem;
    letter-spacing: -0.001em;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-header.is-magazine .gh-header-inner>.gh-card .gh-card-title,
.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-header.is-highlight .gh-header-left .gh-card-title {
    font-weight: 550;
    font-size: clamp(3.2rem,1.82vw + 2.47rem,4.9rem)
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-about-description {
    font-size: 1.6rem;
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-article-excerpt {
    letter-spacing: 0;
}

.has-serif-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .gh-footer-signup-subhead {
    letter-spacing: 0;
}

:is(.has-serif-title,.has-mono-title):not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) :is(.gh-button, .gh-form, .gh-form-input),
body[class*=" gh-font-heading"]:not(.gh-font-heading-fira-sans):not(.gh-font-heading-inter):not(.gh-font-heading-manrope):not(.gh-font-heading-noto-sans):not(.gh-font-heading-nunito):not(.gh-font-heading-poppins):not(.gh-font-heading-roboto):not(.gh-font-heading-space-grotesk) :is(.gh-button, .gh-form, .gh-form-input),
body[class^="gh-font-heading"]:not(.gh-font-heading-fira-sans):not(.gh-font-heading-inter):not(.gh-font-heading-manrope):not(.gh-font-heading-noto-sans):not(.gh-font-heading-nunito):not(.gh-font-heading-poppins):not(.gh-font-heading-roboto):not(.gh-font-heading-space-grotesk) :is(.gh-button, .gh-form, .gh-form-input) {
    border-radius: 0;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .gh-cta-title {
    font-size: 4.8rem;
}

/* 21. Footer
/* ---------------------------------------------------------- */

.gh-footer {
    margin-top: 120px;
    font-size: 1.5rem;
    color: var(--color-darker-gray);
}

.gh-footer a:not(.gh-button) {
    color: inherit;
}

/* 21.1 Footer styles */

.gh-footer.has-accent-color {
    background-color: var(--ghost-accent-color);
}

.gh-footer.has-accent-color .gh-footer-bar {
    border-top: 0;
}

.gh-footer.has-accent-color .gh-button {
    background-color: #fff;
    color: #15171a;
}

/* 21.2. Footer bar */

.gh-footer-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 32px;
    margin-bottom: 120px;
    padding-block: 28px;
    font-weight: 550;
    border-block: 1px solid var(--color-border);
}

.gh-footer-logo {
    position: relative;
    font-family: var(--gh-font-heading, var(--font-sans));
    font-size: calc(2.4rem * var(--factor, 1));
    font-weight: 725;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

.gh-footer-logo img {
    max-height: 40px;
}

.gh-footer-menu .nav {
    display: flex;
    justify-content: center;
    gap: 8px 28px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.gh-footer-copyright {
    text-align: right;
    white-space: nowrap;
}

.gh-footer-copyright a {
    text-decoration: underline;
}

/* 21.3. Footer signup */

.gh-footer-signup {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 120px;
    text-align: center;
}

.gh-footer-signup-header {
    font-size: calc(clamp(2.8rem,1.36vw + 2.25rem,4rem) * var(--factor, 1));
    font-weight: 700;
    letter-spacing: -0.03em;
}

.gh-footer-signup-subhead {
    margin-top: 12px;
    max-width: 640px;
    font-size: 1.8rem;
    font-weight: 450;
    line-height: 1.4;
    letter-spacing: -0.014em;
    opacity: 0.75;
}

.gh-footer-signup .gh-form {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .gh-footer-bar {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

/* 21.4. Social links */

.gh-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.gh-social-links a {
    will-change: opacity;
}

.gh-social-links svg {
    width: 20px;
    height: 20px;
}

/* 22. Lightbox
/* ---------------------------------------------------------- */

.pswp {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3999999;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -ms-touch-action: none;
    touch-action: none;
    outline: none;
    backface-visibility: hidden;
    -webkit-text-size-adjust: 100%;
}

.pswp img {
    max-width: none;
}

.pswp--animate_opacity {
    opacity: 0.001;
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
    will-change: opacity;
}

.pswp--open {
    display: block;
}

.pswp--zoom-allowed .pswp__img {
    cursor: zoom-in;
}

.pswp--zoomed-in .pswp__img {
    cursor: grab;
}

.pswp--dragging .pswp__img {
    cursor: grabbing;
}

.pswp__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: opacity;
}

.pswp__scroll-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pswp__container,
.pswp__zoom-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    touch-action: none;
    backface-visibility: hidden;
}

.pswp__container,
.pswp__img {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.pswp__zoom-wrap {
    position: absolute;
    width: 100%;
    transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
    transform-origin: left top;
}

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
    transition: none;
}

.pswp__item {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.pswp__img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
}

.pswp__img--placeholder {
    backface-visibility: hidden;
}

.pswp__img--placeholder--blank {
    background: var(--color-black);
}

.pswp--ie .pswp__img {
    top: 0;
    left: 0;
    width: 100% !important;
    height: auto !important;
}

.pswp__error-msg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -8px;
    font-size: 14px;
    line-height: 16px;
    color: var(--color-secondary-text);
    text-align: center;
}

.pswp__error-msg a {
    color: var(--color-secondary-text);
    text-decoration: underline;
}

.pswp__button {
    position: relative;
    display: block;
    float: right;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    overflow: visible;
    appearance: none;
    cursor: pointer;
    background: none;
    border: 0;
    box-shadow: none;
    transition: opacity 0.2s;
}

.pswp__button:focus,
.pswp__button:hover {
    opacity: 1;
}

.pswp__button:active {
    outline: none;
    opacity: 0.9;
}

.pswp__button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.pswp__ui--over-close .pswp__button--close {
    opacity: 1;
}

.pswp__button,
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
    width: 44px;
    height: 44px;
    background: url("../images/default-skin.png") 0 0 no-repeat;
    background-size: 264px 88px;
}

@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
    .pswp--svg .pswp__button,
    .pswp--svg .pswp__button--arrow--left::before,
    .pswp--svg .pswp__button--arrow--right::before {
        background-image: url("../images/default-skin.svg");
    }

    .pswp--svg .pswp__button--arrow--left,
    .pswp--svg .pswp__button--arrow--right {
        background: none;
    }
}

.pswp__button--close {
    background-position: 0 -44px;
}

.pswp__button--share {
    background-position: -44px -44px;
}

.pswp__button--fs {
    display: none;
}

.pswp--supports-fs .pswp__button--fs {
    display: block;
}

.pswp--fs .pswp__button--fs {
    background-position: -44px 0;
}

.pswp__button--zoom {
    display: none;
    background-position: -88px 0;
}

.pswp--zoom-allowed .pswp__button--zoom {
    display: block;
}

.pswp--zoomed-in .pswp__button--zoom {
    background-position: -132px 0;
}

.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
    visibility: hidden;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
    position: absolute;
    top: 50%;
    width: 70px;
    height: 100px;
    margin-top: -50px;
    background: none;
}

.pswp__button--arrow--left {
    left: 0;
}

.pswp__button--arrow--right {
    right: 0;
}

.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
    position: absolute;
    top: 35px;
    width: 32px;
    height: 30px;
    content: "";
}

.pswp__button--arrow--left::before {
    left: 6px;
    background-position: -138px -44px;
}

.pswp__button--arrow--right::before {
    right: 6px;
    background-position: -94px -44px;
}

.pswp__counter {
    position: absolute;
    top: 0;
    left: 0;
    height: 44px;
    padding: 0 15px;
    font-size: 11px;
    font-weight: 700;
    line-height: 44px;
    color: var(--color-white);
    user-select: none;
}

.pswp__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 44px;
}

.pswp__caption__center {
    max-width: 420px;
    padding: 25px 15px 30px;
    margin: 0 auto;
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-white);
    text-align: center;
}

.pswp__caption__center .post-caption-title {
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.pswp__caption__center .post-caption-meta-item + .post-caption-meta-item::before {
    padding: 0 4px;
    content: "\02022";
}

.pswp__caption--empty {
    display: none;
}

.pswp__caption--fake {
    visibility: hidden;
}

.pswp__preloader {
    position: absolute;
    top: 0;
    left: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    direction: ltr;
    will-change: opacity;
}

.pswp__preloader__icn {
    width: 20px;
    height: 20px;
    margin: 12px;
}

.pswp__preloader--active {
    opacity: 1;
}

.pswp__preloader--active .pswp__preloader__icn {
    background: url("../images/preloader.gif") 0 0 no-repeat;
}

.pswp--css_animation .pswp__preloader--active {
    opacity: 1;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
    animation: clockwise 500ms linear infinite;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
    animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
}

.pswp--css_animation .pswp__preloader__icn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 14px;
    height: 14px;
    margin: 0;
    background: none;
    opacity: 0.75;
}

.pswp--css_animation .pswp__preloader__cut {
    position: relative;
    width: 7px;
    height: 14px;
    overflow: hidden;
}

.pswp--css_animation .pswp__preloader__donut {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin: 0;
    background: none;
    border: 2px solid var(--color-white);
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
}

@media screen and (max-width: 1024px) {
    .pswp__preloader {
        position: relative;
        top: auto;
        left: auto;
        float: right;
        margin: 0;
    }
}

@keyframes clockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes donut-rotate {
    0% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(-140deg);
    }

    100% {
        transform: rotate(0);
    }
}

.pswp__ui {
    z-index: 1550;
    visibility: visible;
    opacity: 1;
    -webkit-font-smoothing: auto;
}

.pswp__top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
}

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    backface-visibility: hidden;
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
    will-change: opacity;
}

.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    visibility: visible;
}

.pswp__ui--idle .pswp__top-bar {
    opacity: 0;
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 0;
}

.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
    opacity: 0.001;
}

.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
    display: none;
}

.pswp__element--disabled {
    display: none !important;
}

.pswp--minimal--dark .pswp__top-bar {
    background: none;
}

/* SHARE */
.gh-meta-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.has-light-text .gh-button-share {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
}

.has-light-text .gh-button-share:hover {
    border-color: rgba(255, 255, 255, 0.85);
}

.gh-button-share {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    color: rgba(0, 0, 0, 0.85);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gh-button-share:hover {
    border-color: rgba(0, 0, 0, 0.5);
}


/* Martijn Spikker / Northlight photography layer
/* ---------------------------------------------------------- */

.ms-hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 75% 25%, #5b4631 0, #161616 42%, #080808 100%);
}

.ms-hero.has-image {
    background-image: linear-gradient(90deg, rgb(0 0 0 / .76), rgb(0 0 0 / .32) 52%, rgb(0 0 0 / .12)), var(--ms-hero-image);
    background-size: cover;
    background-position: center;
}

.ms-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / .28), transparent 35%, rgb(0 0 0 / .52));
    pointer-events: none;
}

.ms-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 96px;
    padding-bottom: 96px;
}

.ms-kicker {
    margin: 0 0 18px;
    color: #bfa077;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ms-hero-title {
    max-width: 980px;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(6.2rem, 10vw, 15rem);
    font-weight: 400;
    letter-spacing: -.07em;
    line-height: .86;
}

.ms-hero-text {
    max-width: 560px;
    margin: 30px 0 0;
    color: rgb(255 255 255 / .82);
    font-size: clamp(1.8rem, 1.7vw, 2.3rem);
    line-height: 1.5;
}

.ms-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.ms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgb(255 255 255 / .58);
    border-radius: 999px;
    color: #fff;
    background: rgb(255 255 255 / .08);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.ms-button:hover {
    color: #111;
    background: #fff;
    border-color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.ms-button-secondary {
    background: transparent;
}

.ms-home {
    background: #f7f5f1;
}

.ms-section {
    padding-top: clamp(56px, 8vw, 112px);
    padding-bottom: clamp(56px, 8vw, 112px);
}

.ms-section-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.ms-section-header.ms-centered {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.ms-section-header h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(4.4rem, 6vw, 8.6rem);
    font-weight: 400;
    letter-spacing: -.06em;
    line-height: .92;
}

.ms-section-header p:not(.ms-kicker),
.ms-section-note {
    color: rgb(0 0 0 / .58);
    font-size: 1.7rem;
    line-height: 1.55;
}

.ms-section-header-row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.ms-text-link {
    color: currentColor;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.ms-text-link:hover {
    text-decoration: underline;
}

.ms-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ms-portfolio-card {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(135deg, #151515, #38322a);
    overflow: hidden;
    text-decoration: none;
    transition: transform .25s ease, filter .25s ease;
}

.ms-portfolio-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 15%, rgb(255 255 255 / .18), transparent 36%);
    opacity: .55;
}

.ms-card-landscape { background: linear-gradient(135deg, #0f1110, #4f422d); }
.ms-card-travel { background: linear-gradient(135deg, #101112, #263847); }
.ms-card-wildlife { background: linear-gradient(135deg, #11140f, #30402c); }
.ms-card-veluwe { background: linear-gradient(135deg, #13100e, #51412c); }

.ms-portfolio-card:hover {
    filter: brightness(1.08);
    transform: translateY(-5px);
    text-decoration: none;
}

.ms-portfolio-card span,
.ms-portfolio-card small {
    position: relative;
    z-index: 1;
}

.ms-portfolio-card span {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 3vw, 5.2rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.ms-portfolio-card small {
    margin-top: 12px;
    color: rgb(255 255 255 / .72);
    font-size: 1.35rem;
}

.ms-dark-section {
    color: #fff;
    background: #0c0c0c;
}

.ms-dark-section .ms-section-header p:not(.ms-kicker),
.ms-dark-section .ms-section-note {
    color: rgb(255 255 255 / .64);
}

.ms-photo-grid,
.ms-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ms-photo-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 26px;
    overflow: hidden;
    color: #fff;
    background: #202020;
    text-decoration: none;
}

.ms-photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .3s ease;
}

.ms-photo-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgb(0 0 0 / .78));
}

.ms-photo-tile span {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 22px;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1;
}

.ms-photo-tile:hover img {
    filter: brightness(1.08);
    transform: scale(1.045);
}

.ms-story-grid .gh-card { margin: 0; }
.ms-story-grid .gh-card-link { height: 100%; }
.ms-story-grid .gh-card-image { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.ms-story-grid .gh-card-image img { width: 100%; height: 100%; object-fit: cover; }

.ms-about {
    padding-top: 0;
}

.ms-about-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(28px, 6vw, 84px);
    padding: clamp(36px, 7vw, 88px);
    border-radius: 34px;
    color: #fff;
    background: #111;
}

.ms-about-card h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(4rem, 5vw, 7rem);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .95;
}

.ms-about-card p:not(.ms-kicker) {
    margin-bottom: 28px;
    color: rgb(255 255 255 / .7);
    font-size: 1.8rem;
    line-height: 1.55;
}

.ms-page-hero {
    padding-top: clamp(88px, 12vw, 160px);
    padding-bottom: clamp(48px, 7vw, 96px);
}

.ms-page-hero h1 {
    max-width: 960px;
    margin: 0 0 24px;
    font-family: var(--font-serif);
    font-size: clamp(5.8rem, 10vw, 14rem);
    font-weight: 400;
    line-height: .86;
    letter-spacing: -.07em;
}

.ms-page-hero p:not(.ms-kicker) {
    max-width: 720px;
    color: var(--color-secondary-text);
    font-size: 2rem;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .ms-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .ms-photo-grid,
    .ms-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ms-section-header-row { align-items: flex-start; flex-direction: column; }
    .ms-about-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ms-hero { min-height: 82vh; }
    .ms-hero-title { font-size: clamp(5.2rem, 18vw, 8.4rem); }
    .ms-portfolio-grid,
    .ms-photo-grid,
    .ms-story-grid { grid-template-columns: 1fr; }
    .ms-portfolio-card { min-height: 245px; }
    .ms-button { width: 100%; }
}


/* Northlight v4 additions */
.ms-locations {
    padding-top: clamp(40px, 6vw, 88px);
}

.ms-location-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ms-location-strip a,
.ms-location-card {
    position: relative;
    display: flex;
    min-height: 138px;
    align-items: flex-end;
    padding: 22px;
    border: 1px solid rgb(0 0 0 / .1);
    border-radius: 24px;
    color: #161616;
    background: linear-gradient(135deg, #fffaf2, #e7dfd2);
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 3vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.05em;
    text-decoration: none;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.ms-location-strip a::after,
.ms-location-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -55% 25%;
    height: 120%;
    background: radial-gradient(circle, rgb(191 160 119 / .28), transparent 58%);
}

.ms-location-strip a:hover,
.ms-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgb(0 0 0 / .1);
    text-decoration: none;
}

.ms-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ms-location-card {
    min-height: 270px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.ms-location-card span,
.ms-location-card small {
    position: relative;
    z-index: 1;
}

.ms-location-card small {
    margin-top: 12px;
    font-family: var(--font-sans);
    color: rgb(0 0 0 / .58);
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .ms-location-strip,
    .ms-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .ms-location-strip,
    .ms-location-grid { grid-template-columns: 1fr; }
    .ms-location-strip a { min-height: 108px; }
}

/* Northlight v5 — reportage posts and About page */
.ms-post-main {
    background: #f7f4ee;
}

.ms-post-hero {
    position: relative;
    display: flex;
    min-height: min(86vh, 880px);
    align-items: flex-end;
    padding: 180px 0 72px;
    color: #fff;
    background: #101113;
    overflow: hidden;
}

.ms-post-hero.has-image {
    background-image: linear-gradient(180deg, rgb(0 0 0 / .18), rgb(0 0 0 / .82)), var(--ms-post-image);
    background-position: center;
    background-size: cover;
}

.ms-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 22%, rgb(255 255 255 / .12), transparent 32%);
    pointer-events: none;
}

.ms-post-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.ms-post-tag {
    display: inline-block;
    color: rgb(255 255 255 / .82);
    text-decoration: none;
}

.ms-post-tag:hover {
    color: #fff;
    text-decoration: none;
}

.ms-post-title {
    max-width: 1040px;
    margin: 18px 0 22px;
    font-family: var(--font-serif);
    font-size: clamp(5.8rem, 10vw, 13.5rem);
    font-weight: 400;
    line-height: .86;
    letter-spacing: -.075em;
}

.ms-post-excerpt {
    max-width: 760px;
    margin: 0;
    color: rgb(255 255 255 / .78);
    font-size: clamp(1.9rem, 2vw, 2.4rem);
    line-height: 1.42;
}

.ms-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    color: rgb(255 255 255 / .72);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ms-post-content {
    padding-top: clamp(52px, 7vw, 96px);
    padding-bottom: clamp(56px, 8vw, 112px);
}

.ms-post-content > p:first-of-type {
    font-size: clamp(2rem, 2vw, 2.5rem);
    line-height: 1.5;
    color: #252525;
}

.ms-post-content .kg-image-card,
.ms-post-content .kg-gallery-card {
    margin-top: clamp(36px, 6vw, 72px);
    margin-bottom: clamp(36px, 6vw, 72px);
}

.ms-post-content .kg-image-card img,
.ms-post-content .kg-gallery-image img {
    border-radius: 18px;
}

.ms-post-content figcaption {
    color: rgb(0 0 0 / .48);
    font-size: 1.35rem;
}

.ms-related {
    padding-top: clamp(64px, 9vw, 120px);
    padding-bottom: clamp(72px, 10vw, 140px);
}

.ms-about-page {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 720px);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
    padding-bottom: clamp(72px, 10vw, 140px);
}

.ms-about-portrait {
    margin: 0;
}

.ms-about-portrait img {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 24px 80px rgb(0 0 0 / .12);
}

.ms-about-copy {
    max-width: 720px;
}

@media (max-width: 780px) {
    .ms-post-hero {
        min-height: 78vh;
        padding-top: 140px;
        padding-bottom: 52px;
    }

    .ms-post-title {
        font-size: clamp(5rem, 17vw, 8.4rem);
    }

    .ms-about-page {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Northlight v1.0 — complete photography refresh
   ========================================================= */
:root {
    --nl-bg: #0f1113;
    --nl-paper: #f7f3ec;
    --nl-ink: #171717;
    --nl-muted: rgb(23 23 23 / .62);
    --nl-white: #fffaf2;
    --nl-gold: #c6a16a;
    --nl-line: rgb(255 255 255 / .16);
    --nl-serif: var(--font-serif, Georgia, serif);
    --nl-sans: var(--font-sans, Inter, system-ui, sans-serif);
}

.home-template .gh-navigation,
.page-template .gh-navigation,
.post-template .gh-navigation {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    background: linear-gradient(180deg, rgb(0 0 0 / .46), transparent);
    color: #fff;
}

.home-template .gh-navigation a,
.page-template .gh-navigation a,
.post-template .gh-navigation a { color: inherit; }

.nl-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 180px 0 92px;
    color: var(--nl-white);
    background: radial-gradient(circle at 75% 20%, #303844, #111 48%, #070808);
    overflow: hidden;
}
.nl-hero.has-image {
    background-image: linear-gradient(90deg, rgb(0 0 0 / .78), rgb(0 0 0 / .33) 52%, rgb(0 0 0 / .55)), var(--nl-hero-image);
    background-size: cover;
    background-position: center;
}
.nl-hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 24%, rgb(255 255 255 / .12), transparent 34%), linear-gradient(180deg, transparent 50%, rgb(0 0 0 / .74));
    pointer-events: none;
}
.nl-hero-content { position: relative; z-index: 1; }
.nl-kicker {
    margin: 0 0 18px;
    font-family: var(--nl-sans);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.nl-hero-title,
.nl-section-head h2,
.nl-page-hero h1,
.nl-about-card h2 {
    margin: 0;
    font-family: var(--nl-serif);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .88;
}
.nl-hero-title { max-width: 1100px; font-size: clamp(7rem, 13vw, 18rem); }
.nl-hero-text {
    max-width: 680px;
    margin: 30px 0 0;
    font-size: clamp(2rem, 2.25vw, 2.8rem);
    line-height: 1.42;
    color: rgb(255 255 255 / .82);
}
.nl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.nl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgb(255 255 255 / .26);
    background: var(--nl-white);
    color: #111 !important;
    font-family: var(--nl-sans);
    font-size: 1.25rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.nl-button:hover { transform: translateY(-2px); background: var(--nl-gold); }
.nl-button-ghost { background: transparent; color: #fff !important; }
.nl-button-ghost:hover { background: rgb(255 255 255 / .12); color: #fff !important; }
.nl-scroll {
    position: absolute;
    right: 42px;
    bottom: 44px;
    z-index: 2;
    color: rgb(255 255 255 / .7);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-rl;
}

.nl-main { background: var(--nl-paper); color: var(--nl-ink); }
.nl-section { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.nl-section-head { max-width: 760px; margin-bottom: 42px; }
.nl-section-head.nl-center { margin-inline: auto; text-align: center; }
.nl-section-head.nl-row { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 28px; }
.nl-section-head h2 { font-size: clamp(4.8rem, 8vw, 10rem); }
.nl-section-head p { max-width: 560px; margin: 18px 0 0; color: var(--nl-muted); font-size: 1.7rem; line-height: 1.55; }
.nl-text-link {
    color: var(--nl-ink);
    font-size: 1.25rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
}
.nl-text-link:hover { color: var(--nl-gold); }

.nl-portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgb(0 0 0 / .12); }
.nl-portfolio-grid.is-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nl-portfolio-card {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    color: #fff !important;
    overflow: hidden;
    text-decoration: none !important;
    background: #181a1e;
}
.nl-portfolio-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(255 255 255 / .06), rgb(0 0 0 / .72)); transition: transform .5s ease, opacity .35s ease; }
.nl-portfolio-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 60% 30%, rgb(255 255 255 / .18), transparent 34%); opacity: .7; }
.nl-portfolio-card:hover::before { transform: scale(1.06); opacity: .82; }
.nl-portfolio-card span,
.nl-portfolio-card small { position: relative; z-index: 1; }
.nl-portfolio-card span { font-family: var(--nl-serif); font-size: clamp(3.2rem, 4vw, 5.2rem); line-height: .92; letter-spacing: -.045em; }
.nl-portfolio-card small { max-width: 210px; margin-top: 14px; color: rgb(255 255 255 / .72); font-size: 1.45rem; line-height: 1.35; }
.nl-card-landscape { background: linear-gradient(135deg, #191f1b, #6c6546); }
.nl-card-travel { background: linear-gradient(135deg, #15181d, #465c73); }
.nl-card-wildlife { background: linear-gradient(135deg, #1d160f, #7b5a33); }
.nl-card-veluwe { background: linear-gradient(135deg, #171c16, #566342); }
.nl-card-norway { background: linear-gradient(135deg, #151922, #607082); }
.nl-card-iceland { background: linear-gradient(135deg, #111820, #7b8b91); }
.nl-card-drone { background: linear-gradient(135deg, #171a1f, #6b6f78); }
.nl-card-favorites { background: linear-gradient(135deg, #1f1713, #8a6a3b); }

.nl-black { background: #090a0b; color: #fff; }
.nl-black .nl-section-head p { color: rgb(255 255 255 / .62); }
.nl-featured-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 10px; }
.nl-featured-mosaic.is-even { grid-auto-rows: 300px; }
.nl-mosaic-item { position: relative; display: block; overflow: hidden; background: #111; color: #fff !important; text-decoration: none !important; }
.nl-mosaic-item.is-large { grid-column: span 2; grid-row: span 2; }
.nl-mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .35s ease; }
.nl-mosaic-item:hover img { transform: scale(1.045); filter: brightness(.86); }
.nl-mosaic-item span { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; font-family: var(--nl-serif); font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; text-shadow: 0 4px 28px rgb(0 0 0 / .7); }

.nl-location-strip,
.nl-location-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nl-location-strip a,
.nl-location-card { position: relative; min-height: 150px; display: flex; align-items: flex-end; padding: 28px; background: #111; color: #fff !important; text-decoration: none !important; overflow: hidden; }
.nl-location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nl-location-card { min-height: 270px; flex-direction: column; align-items: flex-start; justify-content: flex-end; background: linear-gradient(135deg, #16191c, #555f62); }
.nl-location-strip a::before,
.nl-location-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .72)); transition: opacity .25s ease; }
.nl-location-strip a:hover::before,
.nl-location-card:hover::before { opacity: .72; }
.nl-location-strip span,
.nl-location-card span,
.nl-location-card small { position: relative; z-index: 1; }
.nl-location-strip span,
.nl-location-card span { font-family: var(--nl-serif); font-size: 3.4rem; letter-spacing: -.04em; line-height: 1; }
.nl-location-card small { margin-top: 12px; color: rgb(255 255 255 / .68); font-size: 1.45rem; line-height: 1.35; }

.nl-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.nl-story-grid-large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nl-story-grid .gh-card { background: #fff; border: 1px solid rgb(0 0 0 / .08); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.nl-story-grid .gh-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgb(0 0 0 / .1); }
.nl-story-grid .gh-card-image { aspect-ratio: 1.35 / 1; margin: 0; }
.nl-story-grid .gh-card-image img { width: 100%; height: 100%; object-fit: cover; }
.nl-story-grid .gh-card-wrapper { padding: 26px; }

.nl-about { padding-bottom: clamp(80px, 10vw, 150px); }
.nl-about-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 100px); padding: clamp(42px, 6vw, 84px); background: #0d0e10; color: #fff; }
.nl-about-card h2 { font-size: clamp(4.8rem, 7vw, 9rem); }
.nl-about-card p { margin: 0 0 30px; color: rgb(255 255 255 / .68); font-size: 1.8rem; line-height: 1.58; }

.nl-page { padding-top: 110px; }
.nl-page-hero { padding-top: clamp(80px, 12vw, 170px); padding-bottom: clamp(42px, 7vw, 86px); }
.nl-page-hero h1 { max-width: 980px; font-family: var(--nl-serif); font-size: clamp(6rem, 12vw, 14rem); font-weight: 400; letter-spacing: -.07em; line-height: .86; }
.nl-page-hero p:not(.nl-kicker) { max-width: 760px; margin: 28px 0 0; color: var(--nl-muted); font-size: clamp(1.9rem, 2.1vw, 2.5rem); line-height: 1.48; }

/* Post refinements for v1.0 */
.ms-post-hero { min-height: min(92vh, 940px); }
.ms-post-title { max-width: 1180px; }
.ms-post-content { font-size: 1.85rem; }
.ms-post-content .kg-width-wide { max-width: min(1180px, calc(100vw - 48px)); }
.ms-post-content .kg-width-full img { border-radius: 0; }
.ms-post-content blockquote { border-left: 3px solid var(--nl-gold); font-family: var(--nl-serif); font-size: 3rem; line-height: 1.15; }

@media (max-width: 1100px) {
    .nl-portfolio-grid,
    .nl-location-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nl-portfolio-grid.is-page,
    .nl-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nl-featured-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nl-story-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nl-hero { min-height: 86vh; padding: 150px 0 62px; }
    .nl-hero-title { font-size: clamp(6.2rem, 21vw, 9rem); }
    .nl-scroll { display: none; }
    .nl-actions { align-items: stretch; flex-direction: column; }
    .nl-section-head.nl-row { display: block; }
    .nl-section-head h2 { font-size: clamp(4.4rem, 15vw, 7rem); }
    .nl-portfolio-grid,
    .nl-portfolio-grid.is-page,
    .nl-location-strip,
    .nl-location-grid,
    .nl-featured-mosaic,
    .nl-story-grid { grid-template-columns: 1fr; }
    .nl-mosaic-item.is-large { grid-column: auto; grid-row: auto; }
    .nl-featured-mosaic { grid-auto-rows: 300px; }
    .nl-about-card { grid-template-columns: 1fr; }
    .nl-page { padding-top: 82px; }
}


/* Northlight v1.1 enhancements */
.gh-navigation {
    transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease, color .25s ease;
}
body.nl-scrolled .gh-navigation {
    background: rgb(8 9 10 / .78) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgb(255 255 255 / .09);
    color: #fff;
}
body.nl-scrolled .gh-navigation a { color: #fff; }
.nl-tag-hero {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: flex-end;
    padding: 170px 0 70px;
    color: #fff;
    background: linear-gradient(135deg, #15181d, #313943);
    overflow: hidden;
}
.nl-tag-hero.has-image {
    background-image: linear-gradient(90deg, rgb(0 0 0 / .75), rgb(0 0 0 / .24)), var(--nl-tag-image);
    background-size: cover;
    background-position: center;
}
.nl-tag-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgb(0 0 0 / .72)); }
.nl-tag-hero-inner { position: relative; z-index: 1; }
.nl-tag-hero h1 {
    max-width: 1000px;
    margin: 0;
    font-family: var(--nl-serif);
    font-size: clamp(6rem, 12vw, 14rem);
    font-weight: 400;
    line-height: .86;
    letter-spacing: -.07em;
}
.nl-tag-hero p:not(.nl-kicker) { max-width: 720px; margin: 26px 0 0; color: rgb(255 255 255 / .76); font-size: clamp(1.9rem, 2.2vw, 2.6rem); line-height: 1.45; }
.nl-about-layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 96px); align-items: start; padding-bottom: 20px; }
.nl-about-portrait { position: sticky; top: 110px; margin: 0; overflow: hidden; background: #111; }
.nl-about-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nl-about-copy { max-width: 760px; }
.nl-about-quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgb(0 0 0 / .12); }
.nl-about-quicklinks a { display: flex; min-height: 220px; flex-direction: column; justify-content: flex-end; padding: 30px; background: #0d0e10; color: #fff !important; text-decoration: none !important; transition: background .25s ease, transform .25s ease; }
.nl-about-quicklinks a:hover { background: #17191d; transform: translateY(-3px); }
.nl-about-quicklinks span { font-family: var(--nl-serif); font-size: clamp(3.2rem, 4vw, 5rem); line-height: .95; letter-spacing: -.05em; }
.nl-about-quicklinks small { max-width: 220px; margin-top: 12px; color: rgb(255 255 255 / .65); font-size: 1.45rem; line-height: 1.35; }
.nl-photo-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nl-photo-wall-item { position: relative; min-height: 320px; display: block; overflow: hidden; background: #111; color: #fff !important; text-decoration: none !important; }
.nl-photo-wall-item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.nl-photo-wall-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .3s ease; }
.nl-photo-wall-item:hover img { transform: scale(1.045); filter: brightness(.86); }
.nl-photo-wall-item span { position: absolute; left: 22px; right: 22px; bottom: 20px; font-family: var(--nl-serif); font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; text-shadow: 0 4px 28px rgb(0 0 0 / .7); }
.nl-reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.nl-reveal.is-visible { opacity: 1; transform: translateY(0); }
.ms-related { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(80px, 10vw, 140px); }

@media (max-width: 1100px) {
    .nl-photo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nl-about-quicklinks { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nl-tag-hero { min-height: 52vh; padding: 135px 0 54px; }
    .nl-about-layout { grid-template-columns: 1fr; }
    .nl-about-portrait { position: static; }
    .nl-photo-wall { grid-template-columns: 1fr; }
    .nl-photo-wall-item:nth-child(5n+1) { grid-column: auto; grid-row: auto; }
    .nl-photo-wall-item { min-height: 280px; }
}

/* Northlight v1.1.1 — fix navigation white bar while preserving v1.1 layout */
.home-template .gh-navigation,
.page-template .gh-navigation,
.post-template .gh-navigation {
    background: linear-gradient(180deg, rgb(0 0 0 / .46), transparent) !important;
}
.home-template .gh-navigation .gh-navigation-actions,
.page-template .gh-navigation .gh-navigation-actions,
.post-template .gh-navigation .gh-navigation-actions,
.home-template .gh-navigation.has-accent-color .gh-navigation-actions,
.page-template .gh-navigation.has-accent-color .gh-navigation-actions,
.post-template .gh-navigation.has-accent-color .gh-navigation-actions {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
.home-template .gh-navigation .gh-search,
.page-template .gh-navigation .gh-search,
.post-template .gh-navigation .gh-search {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
body.nl-scrolled .gh-navigation,
body.nl-scrolled .gh-navigation .gh-navigation-actions,
body.nl-scrolled .gh-navigation.has-accent-color .gh-navigation-actions {
    background: rgb(8 9 10 / .78) !important;
    background-color: rgb(8 9 10 / .78) !important;
}
body.nl-scrolled .gh-navigation .gh-navigation-actions,
body.nl-scrolled .gh-navigation.has-accent-color .gh-navigation-actions {
    background: transparent !important;
    background-color: transparent !important;
}


/* ---------------------------------------------------------- */
/* Northlight 2.0 — Portfolio Edition                         */
/* ---------------------------------------------------------- */
:root {
    --nl2-bg: #0d0f12;
    --nl2-panel: #15181d;
    --nl2-text: #f5f2ec;
    --nl2-muted: rgba(245,242,236,.68);
    --nl2-line: rgba(255,255,255,.14);
    --nl2-accent: #c6a36a;
}
body.home-template,
body.tag-template,
body.post-template,
body.page-template {
    background: var(--nl2-bg);
}
.nl2-main,
.nl-page,
.nl2-post-main {
    background: var(--nl2-bg);
    color: var(--nl2-text);
}
.nl2-hero {
    min-height: 92vh;
    background-position: center;
}
.nl2-hero .nl-hero-shade {
    background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.18) 100%), linear-gradient(0deg, rgba(13,15,18,1), rgba(13,15,18,0) 32%);
}
.nl2-hero-strip {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 32px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: min(1120px, calc(100% - 48px));
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}
.nl2-hero-strip a {
    padding: 18px 20px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    background: rgba(0,0,0,.16);
    transition: background .25s ease, color .25s ease;
}
.nl2-hero-strip a:hover { background: rgba(198,163,106,.22); color: #fff; }
.nl2-portfolio-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.nl2-portfolio-tiles.is-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nl2-tile {
    position: relative;
    display: flex;
    min-height: 410px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 30px;
    color: #fff;
    text-decoration: none;
    background: #20242b;
    isolation: isolate;
}
.nl2-tile.is-wide { grid-column: span 2; }
.nl2-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(135deg, #2a2f36, #0f1115);
    transform: scale(1.01);
    transition: transform .65s ease, filter .65s ease;
}
.nl2-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.18) 62%, rgba(0,0,0,.08));
}
.nl2-tile:hover::before { transform: scale(1.08); filter: saturate(1.08); }
.nl2-tile span {
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(3.2rem, 4vw, 5.2rem);
    line-height: .95;
}
.nl2-tile small {
    margin-top: 10px;
    color: rgba(255,255,255,.76);
    font-size: 1.35rem;
}
.nl-card-landscape::before { background: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)), url('/content/images/size/w1600/2026/07/landschap.jpg'), linear-gradient(135deg, #57606d, #111); background-size: cover; background-position: center; }
.nl-card-travel::before { background: linear-gradient(135deg, #4c5b64, #111); }
.nl-card-wildlife::before { background: linear-gradient(135deg, #354235, #111); }
.nl-card-veluwe::before { background: linear-gradient(135deg, #27332b, #111); }
.nl-card-norway::before { background: linear-gradient(135deg, #3a5364, #111); }
.nl-card-iceland::before { background: linear-gradient(135deg, #58606b, #111); }
.nl-card-drone::before { background: linear-gradient(135deg, #4f5761, #111); }
.nl-card-favorites::before { background: linear-gradient(135deg, #66513a, #111); }
.nl2-dark-block,
.nl-black { background: #090a0c !important; color: var(--nl2-text); }
.nl2-masonry {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 12px;
}
.nl2-photo {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #16191e;
    text-decoration: none;
}
.nl2-photo.is-large { grid-column: span 2; grid-row: span 2; }
.nl2-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, opacity .3s ease;
}
.nl2-photo:hover img { transform: scale(1.055); }
.nl2-photo span {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-size: 1.35rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.nl2-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(0,0,0,.72), transparent);
    opacity: 0;
    transition: opacity .25s ease;
}
.nl2-photo:hover span,
.nl2-photo:hover::after { opacity: 1; transform: translateY(0); }
.nl2-location-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.nl2-location-grid a {
    padding: 26px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--nl2-text);
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
    border: 1px solid var(--nl2-line);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.nl2-location-grid a:hover { transform: translateY(-3px); border-color: rgba(198,163,106,.5); background: rgba(198,163,106,.09); }
.nl2-location-grid span { font-size: 2.4rem; font-family: var(--font-serif, Georgia, serif); }
.nl2-location-grid small { color: var(--nl2-muted); }
.nl2-story-grid .gh-card,
.nl2-gallery-card {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
}
.nl2-about-card { border: 1px solid rgba(198,163,106,.28); background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); }
.nl2-gallery-feed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.nl2-gallery-card {
    display: block;
    overflow: hidden;
    color: var(--nl2-text);
    text-decoration: none;
}
.nl2-gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .65s ease;
}
.nl2-gallery-card:hover img { transform: scale(1.055); }
.nl2-gallery-card div { padding: 22px; }
.nl2-gallery-card h3 { margin: 0 0 8px; font-size: 2.4rem; }
.nl2-gallery-card p { color: var(--nl2-muted); }
.ms-post-content.gh-content img { cursor: zoom-in; }
.nl2-related { padding-bottom: 8vmin; }
.nl2-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    place-items: center;
    background: rgba(0,0,0,.94);
    color: #fff;
}
.nl2-lightbox.is-open { display: grid; }
.nl2-lightbox figure { margin: 0; width: min(92vw, 1500px); text-align: center; }
.nl2-lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; }
.nl2-lightbox figcaption { min-height: 24px; margin-top: 12px; color: rgba(255,255,255,.72); }
.nl2-lightbox button {
    position: fixed;
    z-index: 10000;
    border: 0;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer;
    backdrop-filter: blur(12px);
}
.nl2-lightbox-close { top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; font-size: 34px; line-height: 1; }
.nl2-lightbox-prev,
.nl2-lightbox-next { top: 50%; width: 52px; height: 72px; transform: translateY(-50%); font-size: 54px; }
.nl2-lightbox-prev { left: 18px; }
.nl2-lightbox-next { right: 18px; }
.nl2-lightbox-open { overflow: hidden; }
body:not(.nl-scrolled) .gh-navigation,
body:not(.nl-scrolled) .gh-head,
body:not(.nl-scrolled) .gh-header { background: transparent !important; }
.nl-scrolled .gh-navigation,
.nl-scrolled .gh-head,
.nl-scrolled .gh-header { backdrop-filter: blur(18px); }
@media (max-width: 980px) {
    .nl2-portfolio-tiles,
    .nl2-portfolio-tiles.is-page,
    .nl2-location-grid,
    .nl2-gallery-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nl2-tile { min-height: 320px; }
    .nl2-masonry { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 180px; }
    .nl2-hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); bottom: 18px; }
}
@media (max-width: 640px) {
    .nl2-hero { min-height: 86vh; }
    .nl2-hero-strip { display: none; }
    .nl2-portfolio-tiles,
    .nl2-portfolio-tiles.is-page,
    .nl2-location-grid,
    .nl2-gallery-feed { grid-template-columns: 1fr; }
    .nl2-tile,
    .nl2-tile.is-wide { grid-column: auto; min-height: 260px; }
    .nl2-masonry { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .nl2-photo.is-large { grid-column: auto; grid-row: span 1; }
    .nl2-lightbox-prev,
    .nl2-lightbox-next { display: none; }
}

/* Northlight 2.0.1 — readability / contrast fix */
:root {
    --nl2-bg: #090b0f;
    --nl2-panel: #171b22;
    --nl2-text: #fffaf1;
    --nl2-muted: rgba(255,250,241,.84);
    --nl2-soft: rgba(255,250,241,.72);
    --nl2-line: rgba(255,255,255,.22);
    --nl2-accent: #d2ad72;
}
.nl2-main,
.nl-page,
.nl2-post-main,
.nl2-dark-block,
.nl-black,
body.home-template,
body.tag-template,
body.post-template,
body.page-template {
    color: var(--nl2-text) !important;
}
.nl2-main p,
.nl-page p,
.nl2-post-main p,
.nl2-main li,
.nl-page li,
.nl2-post-main li,
.nl2-gallery-card p,
.nl2-location-grid small,
.nl2-tile small,
.nl2-hero-strip small,
.nl2-lightbox figcaption,
.nl-card-excerpt,
.gh-card-excerpt,
.gh-article-excerpt,
.gh-content,
.gh-content p {
    color: var(--nl2-muted) !important;
}
.nl2-main h1,
.nl2-main h2,
.nl2-main h3,
.nl2-main h4,
.nl-page h1,
.nl-page h2,
.nl-page h3,
.nl-page h4,
.nl2-post-main h1,
.nl2-post-main h2,
.nl2-post-main h3,
.nl2-post-main h4,
.nl2-gallery-card h3,
.nl2-location-grid span,
.nl2-tile span {
    color: var(--nl2-text) !important;
    text-shadow: 0 2px 26px rgba(0,0,0,.45);
}
.nl2-hero .nl-hero-shade,
.nl-hero-shade {
    background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.25) 100%),
                linear-gradient(0deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.42) 100%) !important;
}
.nl2-tile::after,
.nl-card::after,
.nl-photo-wall-item::after {
    background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.44) 55%, rgba(0,0,0,.18)) !important;
}
.nl2-gallery-card,
.nl2-story-grid .gh-card,
.nl2-about-card,
.nl2-location-grid a,
.nl-card,
.gh-card {
    background: rgba(255,255,255,.075) !important;
    border-color: rgba(255,255,255,.18) !important;
}
.nl2-gallery-card:hover,
.nl2-location-grid a:hover,
.nl-card:hover,
.gh-card:hover {
    background: rgba(255,255,255,.105) !important;
    border-color: rgba(210,173,114,.55) !important;
}
.nl2-photo span,
.nl-photo-wall-item span,
.nl-card-title,
.gh-card-title {
    color: #fffaf1 !important;
    text-shadow: 0 4px 30px rgba(0,0,0,.88);
}
.nl2-photo::after {
    opacity: 1 !important;
    background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.28) 62%, transparent) !important;
}
.nl2-photo span { opacity: 1 !important; transform: none !important; }
.nl2-hero-strip a {
    background: rgba(0,0,0,.48) !important;
    border-color: rgba(255,255,255,.30) !important;
    color: #fffaf1 !important;
}
.gh-navigation,
.gh-navigation a,
.gh-navigation button,
.gh-head,
.gh-head a,
.gh-head button {
    color: #fffaf1 !important;
}
.nl-scrolled .gh-navigation,
.nl-scrolled .gh-head,
body.nl-scrolled .gh-navigation {
    background: rgba(7,8,10,.88) !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
}
.gh-content a,
.nl2-main a:not(.nl2-tile):not(.nl2-photo):not(.nl2-gallery-card),
.nl-page a:not(.nl2-tile):not(.nl2-photo):not(.nl2-gallery-card) {
    color: var(--nl2-accent);
}

/* Northlight 2.0.2 — footer and author readability fix */
.gh-footer,
.gh-footer-bar,
.gh-footer-signup,
.gh-footer-copyright,
.gh-footer-menu,
.gh-footer-logo {
    color: #fffaf1 !important;
}
.gh-footer {
    background: #07090d !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
}
.gh-footer a:not(.gh-button),
.gh-footer-copyright a,
.gh-footer-menu a {
    color: #fffaf1 !important;
    opacity: .92 !important;
}
.gh-footer a:not(.gh-button):hover,
.gh-footer-copyright a:hover,
.gh-footer-menu a:hover {
    color: var(--nl2-accent, #d2ad72) !important;
    opacity: 1 !important;
}
.gh-footer-signup-subhead,
.gh-footer-copyright {
    color: rgba(255,250,241,.84) !important;
}
.gh-footer-bar {
    border-block-color: rgba(255,255,255,.18) !important;
}

.ms-post-meta,
.ms-post-meta a,
.gh-article-meta,
.gh-article-meta a,
.gh-article-meta-content,
.gh-article-author-name,
.gh-author-meta,
.gh-author-meta a,
.gh-author-location,
.gh-author-social-link,
.author-template .gh-article-title,
.author-template .gh-article-excerpt {
    color: #fffaf1 !important;
}
.ms-post-meta,
.gh-article-meta-content,
.gh-author-meta,
.gh-author-location,
.author-template .gh-article-excerpt {
    color: rgba(255,250,241,.86) !important;
}
.gh-article-meta,
.gh-author-meta,
.author-template .gh-archive-inner {
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 22px !important;
    padding: 14px 18px !important;
}
.gh-article-author-image a {
    border-color: rgba(255,250,241,.9) !important;
    background-color: rgba(255,255,255,.18) !important;
}
.ms-post-content figcaption,
.gh-content figcaption,
.kg-card figcaption {
    color: rgba(255,250,241,.82) !important;
}

/* Northlight 2.2 — polished photography experience */
:root {
    --nl22-bg: #080a0e;
    --nl22-panel: rgba(255,255,255,.075);
    --nl22-panel-strong: rgba(255,255,255,.11);
    --nl22-text: #fffaf1;
    --nl22-muted: rgba(255,250,241,.82);
    --nl22-line: rgba(255,255,255,.18);
    --nl22-accent: #d2ad72;
    --nl22-radius: 28px;
}
body {
    background: var(--nl22-bg) !important;
}
.nl-main,
.nl2-main,
.nl-page,
.nl2-post-main {
    background: radial-gradient(circle at 50% 0, rgba(210,173,114,.08), transparent 38%), var(--nl22-bg) !important;
}
.nl-section {
    padding-block: clamp(64px, 8vw, 120px) !important;
}
.nl-section-head h2,
.nl-about-card h2,
.nl-page-hero h1,
.nl-tag-hero h1,
.ms-post-title,
.gh-article-title {
    letter-spacing: -.035em;
    line-height: .95;
}
.nl-section-head p,
.nl-about-card p,
.nl-page-hero p,
.nl-tag-hero p,
.ms-post-excerpt,
.gh-article-excerpt {
    color: var(--nl22-muted) !important;
    line-height: 1.7;
}
.nl-button,
.gh-button,
button.gh-button,
input[type="submit"] {
    border-radius: 999px !important;
    border: 1px solid rgba(210,173,114,.5) !important;
    background: rgba(210,173,114,.95) !important;
    color: #111 !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.28) !important;
}
.nl-button-ghost {
    background: rgba(0,0,0,.3) !important;
    color: var(--nl22-text) !important;
    border-color: rgba(255,255,255,.32) !important;
}
.nl2-hero {
    min-height: 96vh !important;
    isolation: isolate;
}
.nl2-hero .nl-hero-content {
    max-width: 920px;
}
.nl2-hero .nl-hero-title {
    max-width: 900px;
    font-size: clamp(5rem, 10vw, 13rem) !important;
    text-wrap: balance;
}
.nl2-hero .nl-hero-text {
    max-width: 680px;
    color: rgba(255,250,241,.88) !important;
}
.nl2-hero .nl-hero-shade,
.nl-hero-shade {
    background:
        linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.50) 42%, rgba(0,0,0,.14)),
        linear-gradient(0deg, rgba(0,0,0,.76), rgba(0,0,0,.10) 48%, rgba(0,0,0,.50)) !important;
}
.nl2-hero-strip a,
.nl2-location-grid a,
.nl2-tile,
.nl2-gallery-card,
.nl2-story-grid .gh-card,
.nl-card,
.gh-card,
.nl2-about-card,
.nl22-author-card {
    border-radius: var(--nl22-radius) !important;
    background: var(--nl22-panel) !important;
    border: 1px solid var(--nl22-line) !important;
    box-shadow: 0 20px 70px rgba(0,0,0,.20);
}
.nl2-tile,
.nl-card,
.nl2-photo,
.nl2-gallery-card {
    overflow: hidden;
}
.nl2-tile::after,
.nl-card::after {
    background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.42) 58%, rgba(0,0,0,.08)) !important;
}
.nl2-tile span,
.nl2-location-grid span,
.nl2-gallery-card h3,
.gh-card-title,
.nl-card-title {
    color: var(--nl22-text) !important;
}
.nl2-tile small,
.nl2-location-grid small,
.nl2-gallery-card p,
.gh-card-excerpt,
.nl-card-excerpt {
    color: var(--nl22-muted) !important;
}
.nl2-photo::after {
    opacity: 1 !important;
    background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.24) 64%, transparent) !important;
}
.nl2-photo span {
    opacity: 1 !important;
    transform: none !important;
    color: var(--nl22-text) !important;
}
.nl-scrolled .gh-navigation,
.nl-scrolled .gh-head,
body.nl-scrolled .gh-navigation {
    background: rgba(7,8,10,.84) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
}
body:not(.nl-scrolled) .gh-navigation,
body:not(.nl-scrolled) .gh-head,
body:not(.nl-scrolled) .gh-header {
    background: transparent !important;
}
.gh-navigation a,
.gh-navigation button,
.gh-head a,
.gh-head button {
    color: var(--nl22-text) !important;
}
.gh-social-links,
.gh-author-social {
    display: none !important;
}
.nl22-footer {
    background: #06080b !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
    color: var(--nl22-text) !important;
    padding-block: clamp(48px, 7vw, 90px) 28px !important;
}
.nl22-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    gap: 40px;
    align-items: end;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.nl22-footer-title {
    margin: 0 0 12px;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(3rem, 5vw, 6.8rem);
    line-height: .95;
    color: var(--nl22-text) !important;
}
.nl22-footer-text {
    max-width: 560px;
    color: var(--nl22-muted) !important;
    font-size: 1.8rem;
}
.nl22-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nl22-footer-nav a,
.nl22-footer a {
    color: var(--nl22-text) !important;
    text-decoration: none;
    opacity: .9;
}
.nl22-footer-nav a:hover,
.nl22-footer a:hover {
    color: var(--nl22-accent) !important;
    opacity: 1;
}
.nl22-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    color: rgba(255,250,241,.68) !important;
    font-size: 1.35rem;
}
.gh-footer-signup {
    display: none !important;
}
.nl22-author-card,
.author-template .gh-archive-inner {
    padding: clamp(28px, 5vw, 58px) !important;
    color: var(--nl22-text) !important;
}
.nl22-author-meta,
.gh-author-meta {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 14px !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 999px !important;
}
.gh-author-location,
.gh-article-excerpt,
.ms-post-meta,
.gh-article-meta-content {
    color: var(--nl22-muted) !important;
}
.gh-content figcaption,
.kg-card figcaption,
.ms-post-content figcaption {
    color: rgba(255,250,241,.78) !important;
    font-size: 1.4rem;
}
.gh-content blockquote {
    border-left-color: var(--nl22-accent) !important;
    color: var(--nl22-text) !important;
}
@media (max-width: 760px) {
    .nl22-footer-top {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .nl22-footer-nav ul {
        justify-content: flex-start;
    }
    .nl22-footer-bottom {
        flex-direction: column;
    }
    .nl2-hero .nl-hero-title {
        font-size: clamp(4.2rem, 16vw, 7.4rem) !important;
    }
}

/* Northlight 2.3 - About page */
.nl23-about-page { background: #0f1115; color: #f7f4ee; }
.nl23-about-hero {
    position: relative;
    display: flex;
    min-height: min(78vh, 780px);
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #111318, #1a1d22);
    color: #fff;
}
.nl23-about-hero.has-image { background-image: var(--nl-about-hero-image); background-size: cover; background-position: center; }
.nl23-about-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .26), rgb(0 0 0 / .72)); }
.nl23-about-hero-inner { position: relative; z-index: 1; padding-top: clamp(120px, 16vw, 190px); padding-bottom: clamp(70px, 10vw, 130px); }
.nl23-about-hero h1 { max-width: 920px; margin: 0; color: #fff; font-size: clamp(6rem, 12vw, 15rem); line-height: .86; letter-spacing: -.075em; }
.nl23-about-hero p:not(.nl-kicker) { max-width: 680px; margin: 28px 0 0; color: rgb(255 255 255 / .84); font-size: clamp(1.9rem, 2.2vw, 2.7rem); line-height: 1.4; }
.nl23-about-intro { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); padding-top: clamp(70px, 9vw, 130px); padding-bottom: clamp(50px, 7vw, 90px); }
.nl23-about-lead h2 { max-width: 680px; margin: 0; color: #fff; font-size: clamp(4.4rem, 6.8vw, 8.8rem); line-height: .95; letter-spacing: -.06em; }
.nl23-about-copy { color: rgb(255 255 255 / .82); }
.nl23-about-copy p, .nl23-about-copy li { color: rgb(255 255 255 / .82); font-size: 1.85rem; line-height: 1.72; }
.nl23-about-copy a { color: #f1d09a; }
.nl23-about-focus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding-bottom: clamp(70px, 9vw, 130px); }
.nl23-about-focus article { min-height: 290px; padding: clamp(28px, 4vw, 46px); background: #171a20; border: 1px solid rgb(255 255 255 / .08); }
.nl23-about-focus span { display: block; margin-bottom: 34px; color: #d6b07a; font-size: 1.35rem; letter-spacing: .16em; text-transform: uppercase; }
.nl23-about-focus h3 { margin: 0 0 16px; color: #fff; font-size: clamp(3rem, 4vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.nl23-about-focus p { margin: 0; color: rgb(255 255 255 / .74); font-size: 1.6rem; line-height: 1.55; }
.nl23-about-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: clamp(80px, 10vw, 140px); padding: clamp(34px, 5vw, 64px); background: #f4efe6; color: #111318; }
.nl23-about-cta h2 { max-width: 720px; margin: 0; color: #111318; font-size: clamp(4rem, 6vw, 7.6rem); line-height: .95; letter-spacing: -.06em; }
.nl23-about-cta .nl-kicker { color: rgb(17 19 24 / .62); }
.nl23-about-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.nl23-about-cta .nl-button { background: #111318; color: #fff !important; border-color: #111318; }
.nl23-about-cta .nl-button-ghost { background: transparent; color: #111318 !important; border-color: rgb(17 19 24 / .26); }
@media (max-width: 860px) {
    .nl23-about-intro, .nl23-about-focus { grid-template-columns: 1fr; }
    .nl23-about-cta { align-items: flex-start; flex-direction: column; }
    .nl23-about-buttons { justify-content: flex-start; }
}

/* Northlight 2.4 - professionele portfolio/tagpagina's */
.nl24-tag-page {
    background: #0f1115;
    color: #f8f4ec;
}
.nl24-tag-hero {
    position: relative;
    display: flex;
    min-height: min(76vh, 760px);
    align-items: flex-end;
    overflow: hidden;
    background: radial-gradient(circle at 20% 10%, rgba(214,176,122,.18), transparent 30%), linear-gradient(135deg, #101319, #050608);
}
.nl24-tag-hero.has-image {
    background-image: var(--nl-tag-image);
    background-size: cover;
    background-position: center;
}
.nl24-tag-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.74) 72%, #0f1115 100%);
}
.nl24-tag-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(130px, 18vw, 210px);
    padding-bottom: clamp(70px, 9vw, 120px);
}
.nl24-tag-hero h1 {
    max-width: 1120px;
    margin: 0;
    color: #fffaf1;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(6.4rem, 13vw, 16rem);
    line-height: .83;
    letter-spacing: -.075em;
}
.nl24-tag-hero p:not(.nl-kicker) {
    max-width: 760px;
    margin: 28px 0 0;
    color: rgba(255,250,241,.86);
    font-size: clamp(1.9rem, 2vw, 2.6rem);
    line-height: 1.45;
}
.nl24-collection-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -26px;
    position: relative;
    z-index: 3;
}
.nl24-collection-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(12,14,18,.82);
    color: #fffaf1 !important;
    text-decoration: none;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.nl24-collection-nav a:hover {
    border-color: rgba(214,176,122,.65);
    background: rgba(214,176,122,.14);
    color: #f1d09a !important;
}
.nl24-tag-intro {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 92px);
    align-items: end;
    padding-top: clamp(54px, 8vw, 96px);
    padding-bottom: 0;
}
.nl24-tag-intro h2 {
    margin: 0;
    color: #fffaf1;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(4rem, 6vw, 8rem);
    line-height: .95;
    letter-spacing: -.055em;
}
.nl24-tag-intro p {
    margin: 0;
    color: rgba(255,250,241,.78);
    font-size: 1.75rem;
    line-height: 1.65;
}
.nl24-tag-intro strong { color: #fffaf1; }
.nl24-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: clamp(34px, 5vw, 68px);
}
.nl24-feature-card,
.nl24-story-tile {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background: #171a20;
}
.nl24-feature-card {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 650px;
}
.nl24-feature-card a,
.nl24-story-tile a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit !important;
    text-decoration: none;
}
.nl24-feature-card img,
.nl24-story-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .7s ease, opacity .7s ease;
}
.nl24-feature-card:hover img,
.nl24-story-tile:hover img { transform: scale(1.055); }
.nl24-feature-card a::after,
.nl24-story-tile a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.70) 68%, rgba(0,0,0,.88));
}
.nl24-feature-card-content,
.nl24-story-tile div {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(24px, 4vw, 48px);
}
.nl24-feature-card h3,
.nl24-story-tile h3 {
    margin: 0 0 12px;
    color: #fffaf1;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(3.2rem, 5vw, 7rem);
    line-height: .96;
    letter-spacing: -.055em;
}
.nl24-story-tile h3 { font-size: clamp(2.9rem, 3.2vw, 4.2rem); }
.nl24-feature-card p:not(.nl-kicker),
.nl24-story-tile p:not(.nl-kicker) {
    max-width: 660px;
    margin: 0;
    color: rgba(255,250,241,.82);
    font-size: 1.6rem;
    line-height: 1.55;
}
.nl24-feature-card span {
    display: inline-flex;
    margin-top: 22px;
    color: #f1d09a;
    font-size: 1.35rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.nl24-photo-wall {
    margin-top: clamp(40px, 7vw, 86px);
    padding: clamp(60px, 8vw, 112px) 0;
    background: #07090c;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.nl24-photo-wall h2 {
    color: #fffaf1;
}
.nl24-photo-wall .nl-section-head p {
    color: rgba(255,250,241,.72);
}
.nl24-masonry {
    columns: 3 280px;
    column-gap: 18px;
}
.nl24-photo {
    position: relative;
    display: block;
    break-inside: avoid;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: #15181e;
}
.nl24-photo img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .6s ease, opacity .6s ease;
}
.nl24-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(0deg, rgba(0,0,0,.72), transparent);
    opacity: .86;
}
.nl24-photo span {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 16px;
    left: 18px;
    color: #fffaf1;
    font-size: 1.45rem;
    line-height: 1.3;
    opacity: .92;
}
.nl24-photo:hover img { transform: scale(1.045); }
.nl24-pagination-wrap {
    padding: 42px 0 clamp(70px, 10vw, 130px);
}
.nl24-empty {
    padding-bottom: clamp(80px, 10vw, 130px);
}
.nl24-empty h2 {
    color: #fffaf1;
}
@media (max-width: 980px) {
    .nl24-tag-intro,
    .nl24-feature-grid {
        grid-template-columns: 1fr;
    }
    .nl24-feature-card {
        grid-column: auto;
        grid-row: auto;
        min-height: 560px;
    }
    .nl24-story-tile { min-height: 420px; }
}
@media (max-width: 640px) {
    .nl24-tag-hero { min-height: 68vh; }
    .nl24-feature-card { min-height: 480px; border-radius: 22px; }
    .nl24-story-tile { min-height: 360px; border-radius: 22px; }
    .nl24-collection-nav { margin-top: -18px; }
    .nl24-collection-nav a { min-height: 42px; padding: 0 14px; font-size: 1.35rem; }
}


/* Northlight 2.6: desktop hero gelijk aan mobiele opzet */
.nl2-hero-strip {
    display: none !important;
}
.nl2-hero {
    padding-bottom: 0 !important;
}
@media (min-width: 981px) {
    .nl2-main #portfolio {
        padding-top: clamp(90px, 10vw, 150px);
    }
    .nl2-portfolio-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
    .nl2-tile {
        min-height: 440px;
    }
}

/* Northlight 2.8 — portfolio tiles are managed from Ghost tags */
.nl2-tile.has-tag-image::before {
    background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), var(--nl-tag-image), linear-gradient(135deg, #2a2f36, #0f1115);
    background-size: cover;
    background-position: center;
}
.nl2-tile.has-tag-image:hover::before {
    filter: saturate(1.08) contrast(1.04);
}


/* Northlight 3.1 - clean tag pages */
.nl31-clean-tag-page .nl24-tag-hero-inner {
    min-height: clamp(320px, 48vh, 560px);
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(4rem, 8vw, 7rem);
}
.nl31-clean-tag-page .nl24-tag-hero-inner h1 {
    margin: 0;
}
.nl31-clean-tag-page .nl24-feature-grid {
    padding-top: clamp(3rem, 6vw, 6rem);
}
.nl31-clean-tag-page .nl24-photo-wall .nl-section-head {
    align-items: flex-end;
}
@media (max-width: 700px) {
    .nl31-clean-tag-page .nl24-tag-hero-inner {
        min-height: 300px;
        padding-bottom: 3rem;
    }
}


/* Northlight 3.2 — single search button + cleaner header */
.gh-navigation-brand .gh-search,
.gh-navigation-menu .gh-search {
    display: none !important;
}
.gh-navigation-actions .gh-search {
    display: inline-flex !important;
}
.gh-navigation.is-middle-logo .gh-navigation-actions {
    justify-self: end;
}
.gh-navigation.is-middle-logo .gh-navigation-logo {
    transform: translateX(0);
}
@media (max-width: 767px) {
    .gh-navigation-actions .gh-search {
        display: inline-flex !important;
    }
    #gh-navigation .gh-navigation-actions {
        display: flex;
    }
}

/* Northlight 3.3 - dynamische Over mij pagina */
.nl33-about-page {
    background: #0f1115;
    color: #f7f4ee;
}

.nl33-about-hero {
    position: relative;
    min-height: clamp(420px, 62vh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 22%, rgb(112 54 88 / .34), transparent 42%),
        linear-gradient(135deg, #111318, #07080b 72%);
}

.nl33-about-hero.has-image {
    background-image:
        linear-gradient(90deg, rgb(0 0 0 / .72), rgb(0 0 0 / .34) 50%, rgb(0 0 0 / .66)),
        var(--nl-about-hero-image);
    background-size: cover;
    background-position: center;
}

.nl33-about-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / .14), rgb(15 17 21 / .90));
}

.nl33-about-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(120px, 16vw, 190px);
    padding-bottom: clamp(70px, 9vw, 120px);
}

.nl33-about-hero h1 {
    max-width: 1000px;
    margin: 0;
    color: #fffaf0;
    font-size: clamp(6rem, 12vw, 15rem);
    line-height: .86;
    letter-spacing: -.075em;
}

.nl33-about-excerpt {
    max-width: 760px;
    margin: 30px 0 0;
    color: rgb(255 255 255 / .86);
    font-size: clamp(2rem, 2.25vw, 3rem);
    line-height: 1.42;
}

.nl33-about-content-wrap {
    padding-top: clamp(70px, 9vw, 130px);
    padding-bottom: clamp(60px, 8vw, 110px);
}

.nl33-about-content {
    max-width: 980px;
    margin: 0 auto;
    color: rgb(255 255 255 / .86);
}

.nl33-about-content :is(p, li) {
    color: rgb(255 255 255 / .86);
}

.nl33-about-content :is(h2, h3, h4) {
    color: #fffaf0;
}

.nl33-about-content a {
    color: #f1d09a;
}

.nl33-about-content .kg-image-card,
.nl33-about-content .kg-gallery-card {
    margin-top: clamp(42px, 6vw, 78px);
    margin-bottom: clamp(42px, 6vw, 78px);
}

.nl33-about-content img {
    border-radius: 28px;
}

.nl33-about-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: clamp(80px, 10vw, 140px);
}

.nl33-about-links a {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 28px;
    background: linear-gradient(160deg, rgb(255 255 255 / .075), rgb(255 255 255 / .025));
    color: #fffaf0;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.nl33-about-links a:hover {
    transform: translateY(-4px);
    border-color: rgb(214 176 122 / .55);
    background: linear-gradient(160deg, rgb(214 176 122 / .16), rgb(255 255 255 / .035));
}

.nl33-about-links span {
    margin-bottom: 10px;
    color: #d6b07a;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nl33-about-links strong {
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(2.8rem, 3.2vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.045em;
}

@media (max-width: 767px) {
    .nl33-about-hero {
        min-height: 520px;
    }

    .nl33-about-hero-inner {
        padding-bottom: 58px;
    }

    .nl33-about-links {
        grid-template-columns: 1fr;
    }
}

/* Northlight 4.0 — Story Edition */
.nl4-story-main {
    background: #0d0f12;
}
.nl4-story-hero {
    min-height: min(94vh, 980px);
    padding-bottom: clamp(72px, 9vw, 132px);
}
.nl4-story-hero.has-image {
    background-image:
        linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72) 68%, rgba(13,15,18,1)),
        var(--ms-post-image);
}
.nl4-story-hero-overlay {
    background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(90deg, rgba(0,0,0,.34), transparent 58%);
}
.nl4-story-hero-inner {
    max-width: 1180px;
}
.nl4-story-kicker {
    color: rgba(255,255,255,.8);
    letter-spacing: .2em;
}
.nl4-story-title {
    max-width: 1120px;
    margin-top: 22px;
    margin-bottom: 28px;
    text-wrap: balance;
}
.nl4-story-excerpt {
    max-width: 820px;
    color: rgba(255,255,255,.86);
}
.nl4-story-meta {
    color: rgba(255,255,255,.76);
}
.nl4-story-intro {
    padding-top: clamp(36px, 5vw, 72px);
    color: rgba(245,242,236,.62);
}
.nl4-story-label {
    margin: 0 0 18px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.nl4-story-rule {
    height: 1px;
    background: linear-gradient(90deg, rgba(198,163,106,.72), rgba(255,255,255,.12), transparent);
}
.nl4-story-content {
    padding-top: clamp(46px, 6vw, 84px);
    padding-bottom: clamp(48px, 7vw, 96px);
    color: rgba(245,242,236,.88);
    font-size: clamp(1.82rem, 1.6vw, 2.08rem);
    line-height: 1.78;
}
.nl4-story-content > p:first-of-type {
    color: #fff;
    font-size: clamp(2.2rem, 2.4vw, 3rem);
    line-height: 1.5;
}
.nl4-story-content h2 {
    margin-top: clamp(64px, 9vw, 116px);
    margin-bottom: 20px;
    color: #fff;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(4rem, 6vw, 7.8rem);
    font-weight: 400;
    line-height: .96;
    letter-spacing: -.055em;
}
.nl4-story-content h3 {
    margin-top: 54px;
    color: #fff;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(3rem, 3.6vw, 5rem);
    font-weight: 400;
    letter-spacing: -.04em;
}
.nl4-story-content a {
    color: #e7c88b;
    text-underline-offset: 4px;
}
.nl4-story-content blockquote {
    border-left: 3px solid #c6a36a;
    color: #fff;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(2.8rem, 4.4vw, 6rem);
    line-height: 1.12;
}
.nl4-story-content .kg-image-card,
.nl4-story-content .kg-gallery-card,
.nl4-story-content .kg-video-card,
.nl4-story-content .kg-embed-card {
    margin-top: clamp(44px, 7vw, 92px);
    margin-bottom: clamp(44px, 7vw, 92px);
}
.nl4-story-content .kg-width-wide {
    max-width: min(1240px, calc(100vw - 56px));
}
.nl4-story-content .kg-width-full {
    max-width: 100vw;
}
.nl4-story-content .kg-image-card img,
.nl4-story-content .kg-gallery-image img,
.nl4-story-content .kg-video-card video {
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.nl4-story-content .kg-width-full img,
.nl4-story-content .kg-width-full video {
    border-radius: 0;
}
.nl4-story-content figcaption {
    color: rgba(245,242,236,.6);
    font-size: 1.35rem;
    line-height: 1.45;
}
.nl4-story-content .kg-callout-card,
.nl4-story-content .kg-toggle-card,
.nl4-story-content .kg-bookmark-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.055);
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.nl4-story-content .kg-callout-card {
    color: rgba(245,242,236,.9);
}
.nl4-story-content ul,
.nl4-story-content ol {
    color: rgba(245,242,236,.84);
}
.nl4-story-footer {
    padding-bottom: clamp(72px, 10vw, 132px);
}
.nl4-story-footer-card {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 28px;
    padding: clamp(28px, 5vw, 56px);
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    color: rgba(245,242,236,.82);
}
.nl4-story-footer-kicker {
    margin: 0 0 12px;
    color: #c6a36a;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.nl4-story-footer-card h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(3.6rem, 5vw, 6.4rem);
    font-weight: 400;
    letter-spacing: -.05em;
}
.nl4-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.nl4-story-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.08);
}
.nl4-story-actions a:first-child {
    border-color: rgba(198,163,106,.54);
    background: rgba(198,163,106,.18);
}
.nl4-related {
    border-top: 1px solid rgba(255,255,255,.1);
    background: #0d0f12;
}
@media (max-width: 720px) {
    .nl4-story-hero {
        min-height: 78vh;
        padding-bottom: 52px;
    }
    .nl4-story-content {
        font-size: 1.75rem;
    }
    .nl4-story-content > p:first-of-type {
        font-size: 2.05rem;
    }
    .nl4-story-content .kg-width-wide {
        max-width: calc(100vw - 28px);
    }
    .nl4-story-content .kg-image-card img,
    .nl4-story-content .kg-gallery-image img,
    .nl4-story-content .kg-video-card video {
        border-radius: 12px;
    }
}

/* Northlight 4.1 - Verhalen page */
.nl-stories-page .nl-stories-hero {
    padding-bottom: clamp(3rem, 7vw, 7rem);
}
.nl-featured-story-section {
    padding-top: 0;
}
.nl-featured-story {
    position: relative;
    display: grid;
    align-items: end;
    min-height: clamp(24rem, 46vw, 42rem);
    padding: clamp(2rem, 5vw, 5rem);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 2rem;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(31,36,42,.94), rgba(10,11,13,.98));
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.nl-featured-story.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(5,6,8,.12), rgba(5,6,8,.86)), var(--nl-story-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform .7s ease;
}
.nl-featured-story:hover::before {
    transform: scale(1.07);
}
.nl-featured-story > div {
    position: relative;
    max-width: 54rem;
    z-index: 1;
}
.nl-featured-story h2 {
    margin: .4rem 0 1rem;
    font-family: var(--nl-serif, Georgia, serif);
    font-size: clamp(3.6rem, 7vw, 8rem);
    line-height: .9;
    color: #fffaf0;
}
.nl-featured-story p {
    max-width: 42rem;
    color: rgba(255,255,255,.84);
    font-size: clamp(1.7rem, 1.6vw, 2.2rem);
    line-height: 1.55;
}
.nl-featured-story span {
    display: inline-flex;
    margin-top: 1.8rem;
    padding: 1.1rem 1.6rem;
    border-radius: 999px;
    background: #d3ad6d;
    color: #111;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 1.2rem;
}
.nl-all-stories-grid .gh-card {
    height: 100%;
}
@media (max-width: 700px) {
    .nl-featured-story {
        min-height: 30rem;
        border-radius: 1.6rem;
    }
}
