/* 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);
}


/* IpCol Hakushi core layer: restrained newspaper, JSON slogan, single dot field, soft art share. */
:root {
    --ipcol-paper: #fff;
    --ipcol-ink: #101213;
    --ipcol-muted: rgb(16 18 19 / 0.56);
    --ipcol-soft: rgb(16 18 19 / 0.075);
    --ipcol-hairline: rgb(16 18 19 / 0.085);
    --ipcol-glass: rgb(255 255 255 / 0.70);
    --ipcol-soft-cyan: 104 135 128;
    --ipcol-soft-blue: 128 137 166;
    --ipcol-soft-warm: 168 154 128;
    --background-color: #fff !important;
}

html,
body {
    background: #fff !important;
}

body {
    color: var(--ipcol-ink);
}

.gh-viewport {
    background:
        radial-gradient(circle at 78% 8%, rgb(112 126 120 / 0.040), transparent 28rem),
        radial-gradient(circle at 16% 46%, rgb(132 140 138 / 0.030), transparent 34rem),
        #fff;
}

/* Strict underline / legacy fill cleanup. Dots and NEW labels are explicit UI, not link decoration. */
body a,
body a:hover,
body a:focus,
body a:visited,
.gh-card-title,
.gh-card-title *,
.gh-card-excerpt,
.gh-card-excerpt *,
.gh-card-meta,
.gh-card-meta *,
.gh-article-title,
.gh-article-title *,
.gh-article-excerpt,
.gh-article-excerpt *,
.gh-navigation *,
.gh-footer *,
.ipcol-slogan,
.ipcol-slogan *,
.ipcol-share-panel *,
.ipcol-card * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
    background-image: none !important;
    border-bottom: 0 !important;
    box-shadow: none;
}

.gh-card-title *::before,
.gh-card-title *::after,
.gh-card-excerpt *::before,
.gh-card-excerpt *::after,
.gh-navigation a::before,
.gh-navigation a::after,
.ipcol-logo-text::before,
.ipcol-logo-text::after,
.ipcol-slogan-letter::before,
.ipcol-slogan-letter::after {
    text-decoration: none !important;
    background-image: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Header: single row, no boundary line, visual continuity into the slogan field. */
.ipcol-navigation,
.gh-navigation {
    position: relative !important;
    height: 78px !important;
    background: linear-gradient(to bottom, rgb(255 255 255 / 0.90), rgb(255 255 255 / 0.66) 74%, rgb(255 255 255 / 0)) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px) saturate(1.04);
    -webkit-backdrop-filter: blur(18px) saturate(1.04);
}

.ipcol-navigation::after,
.gh-navigation::after {
    position: absolute;
    right: 0;
    bottom: -38px;
    left: 0;
    z-index: -1;
    height: 42px;
    content: "";
    pointer-events: none;
    background: linear-gradient(to bottom, rgb(255 255 255 / 0.42), rgb(255 255 255 / 0));
}

.gh-navigation-inner {
    display: flex !important;
    align-items: center !important;
    max-width: 1520px !important;
    gap: clamp(16px, 2vw, 34px) !important;
}

.gh-navigation-brand {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    min-width: 0 !important;
    gap: clamp(14px, 1.8vw, 28px) !important;
}

.ipcol-logo-text {
    flex: 0 0 auto !important;
    color: rgb(16 18 19 / 0.72) !important;
    font-size: 1.52rem !important;
    font-weight: 680 !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    transition: opacity 220ms ease, transform 320ms cubic-bezier(.2,.7,.16,1), filter 360ms ease;
}

.ipcol-logo-text:hover,
.ipcol-logo-text:focus-visible {
    opacity: 0.62;
    transform: translateY(-1px);
    filter: drop-shadow(0 10px 22px rgb(var(--ipcol-soft-cyan) / 0.08));
}

.ipcol-friend-links {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.78em !important;
    margin: 0 !important;
    color: rgb(16 18 19 / 0.34);
    font-family: var(--font-mono);
    font-size: 1.03rem;
    line-height: 1;
    letter-spacing: 0.022em;
    white-space: nowrap;
}

.ipcol-friend-links span {
    color: rgb(16 18 19 / 0.29);
}

.ipcol-friend-links a,
.ipcol-friend-links a:hover,
.ipcol-friend-links a:focus,
.ipcol-friend-links a:visited,
.ipcol-footer a,
.ipcol-footer a:hover,
.ipcol-footer a:focus,
.ipcol-footer a:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.42em;
    color: rgb(16 18 19 / 0.55) !important;
    transition: color 220ms ease, opacity 220ms ease, transform 300ms cubic-bezier(.2,.7,.16,1), filter 360ms ease;
}

.ipcol-friend-links a::before {
    content: "";
    width: 0.42em;
    height: 0.42em;
    border-radius: 50%;
    background: rgb(16 18 19 / 0.18);
    transition: transform 260ms cubic-bezier(.2,.7,.16,1), background-color 220ms ease, box-shadow 220ms ease;
}

.ipcol-friend-links a:nth-of-type(1)::before { background: rgb(var(--ipcol-soft-cyan) / 0.58); }
.ipcol-friend-links a:nth-of-type(2)::before { background: rgb(var(--ipcol-soft-blue) / 0.54); }

.ipcol-friend-links a:hover,
.ipcol-friend-links a:focus-visible,
.ipcol-footer a:hover,
.ipcol-footer a:focus-visible {
    color: rgb(16 18 19 / 0.82) !important;
    transform: translateY(-1px);
}

.ipcol-friend-links a:hover::before,
.ipcol-friend-links a:focus-visible::before {
    transform: scale(1.24);
    box-shadow: 0 0 14px rgb(var(--ipcol-soft-cyan) / 0.13);
}

.gh-navigation-menu {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.gh-navigation-menu .nav {
    display: flex !important;
    justify-content: flex-start !important;
    gap: clamp(12px, 1.4vw, 24px) !important;
    overflow: hidden !important;
    font-size: 1.08rem !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase !important;
    color: rgb(16 18 19 / 0.48) !important;
}

.gh-navigation-actions {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    gap: 6px !important;
}

.gh-search,
.gh-icon-button {
    color: rgb(16 18 19 / 0.56) !important;
    transition: opacity 220ms ease, transform 280ms cubic-bezier(.2,.7,.16,1), background-color 220ms ease;
}

.gh-search:hover,
.gh-icon-button:hover {
    opacity: 0.68;
    transform: translateY(-1px);
}

/* Slogan: JSON-driven text, one canvas dot field, subtle focus glow only. */
.ipcol-hero {
    position: relative;
    padding-top: clamp(10px, 2.4vh, 34px) !important;
    padding-bottom: clamp(48px, 6.2vh, 88px) !important;
    overflow: hidden;
}

.ipcol-hero-inner { max-width: 1520px !important; }

.ipcol-hero-stage {
    position: relative;
    display: grid !important;
    width: 100% !important;
    min-height: clamp(315px, 40vh, 500px) !important;
    place-items: center !important;
    overflow: visible !important;
    isolation: isolate;
    perspective: 1000px;
}

.ipcol-hero-stage::before { display: none !important; content: none !important; }

.ipcol-hero-stage::after {
    position: absolute;
    inset: 2% 7% 8%;
    z-index: 0;
    content: "";
    pointer-events: none;
    border-radius: 999px;
    background:
        radial-gradient(circle at 38% 42%, rgb(var(--ipcol-soft-cyan) / 0.055), transparent 36%),
        radial-gradient(circle at 62% 56%, rgb(var(--ipcol-soft-blue) / 0.040), transparent 40%),
        radial-gradient(circle at 52% 46%, rgb(var(--ipcol-soft-warm) / 0.032), transparent 44%);
    filter: blur(42px);
    opacity: 0.34;
    transform: scale(0.98);
    transition: opacity 620ms ease, transform 760ms cubic-bezier(.2,.7,.16,1);
}

.ipcol-hero-stage:hover::after,
.ipcol-hero-stage:focus-within::after,
.ipcol-hero-stage.is-dot-active::after {
    opacity: 0.66;
    transform: scale(1.018);
}

.ipcol-slogan-dots {
    position: absolute !important;
    inset: -8% -5% !important;
    z-index: 1 !important;
    display: block !important;
    width: 108% !important;
    height: 114% !important;
    opacity: 0.86 !important;
    pointer-events: none !important;
    mix-blend-mode: multiply;
}

.ipcol-slogan,
.ipcol-slogan:hover,
.ipcol-slogan:focus {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(1300px, 95vw) !important;
    max-width: 95vw !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    color: var(--ipcol-ink) !important;
    font-size: clamp(5.3rem, 10.2vw, 15.4rem) !important;
    font-weight: 850 !important;
    letter-spacing: -0.074em !important;
    line-height: 0.88 !important;
    text-align: center !important;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transform: translateY(-0.02em) scale(var(--ipcol-slogan-scale, 1)) !important;
    transform-origin: center center !important;
    transition: transform 520ms cubic-bezier(.2,.7,.16,1), filter 560ms ease, opacity 260ms ease !important;
}

.ipcol-slogan:hover,
.ipcol-slogan:focus-visible,
.ipcol-hero-stage.is-dot-active .ipcol-slogan {
    filter:
        drop-shadow(0 22px 74px rgb(var(--ipcol-soft-cyan) / 0.10))
        drop-shadow(0 10px 36px rgb(var(--ipcol-soft-blue) / 0.052));
}

.ipcol-slogan:focus-visible {
    outline: 1px solid rgb(16 18 19 / 0.20);
    outline-offset: 0.18em;
}

.ipcol-slogan-line,
.ipcol-slogan-line:first-child,
.ipcol-slogan-line + .ipcol-slogan-line {
    display: block !important;
    width: max-content !important;
    max-width: 95vw !important;
    margin-inline: auto !important;
    line-height: 0.88 !important;
    text-align: center !important;
    white-space: nowrap !important;
    transform: none !important;
    contain: none !important;
}

.ipcol-slogan-line + .ipcol-slogan-line { margin-top: 0.075em !important; }

.ipcol-slogan-letter {
    display: inline-block !important;
    white-space: pre !important;
    will-change: transform, opacity, filter;
    transform-origin: 50% 62%;
    transition:
        transform 520ms cubic-bezier(.18,.84,.16,1),
        opacity 360ms ease,
        filter 420ms ease;
    transition-delay: calc(var(--i, 0) * 11ms);
}

.ipcol-slogan.is-leaving .ipcol-slogan-letter {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, -0.28em, 0) rotate(-2deg);
}

.ipcol-slogan.is-entering .ipcol-slogan-letter {
    animation: ipcol-letter-enter 760ms cubic-bezier(.16,.82,.18,1) both;
    animation-delay: calc(var(--i, 0) * 13ms);
}

@keyframes ipcol-letter-enter {
    0% { opacity: 0; filter: blur(5px); transform: translate3d(0, .32em, 0) rotate(2deg); }
    100% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotate(0); }
}

/* Post feed: relaxed newspaper row, visible tags, serif titles. */
.ipcol-hero + .gh-container { margin-top: clamp(0px, 1vw, 18px) !important; }

.gh-container:not(.has-sidebar) .gh-container-inner {
    grid-template-columns: [full-start] minmax(var(--gap),auto) [wide-start] minmax(auto,1520px) [wide-end] minmax(var(--gap),auto) [full-end] !important;
}

.gh-container:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) { grid-column: wide-start / wide-end !important; }

.gh-feed { gap: 0 !important; }

.ipcol-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(210px, 330px) minmax(0, 1fr) !important;
    gap: clamp(30px, 4.6vw, 82px) !important;
    align-items: center !important;
    padding: clamp(46px, 6.6vw, 110px) 0 !important;
    border-top: 1px solid var(--ipcol-hairline) !important;
    background: transparent !important;
    content-visibility: auto;
    contain-intrinsic-size: 520px;
}

.ipcol-card:first-child { border-top: 0 !important; }

.ipcol-card::before {
    position: absolute;
    inset: clamp(22px, 3vw, 42px) -2.4vw;
    z-index: -1;
    content: "";
    border-radius: 999px;
    background: radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(112 126 120 / 0.070), transparent 42%) !important;
    opacity: 0;
    filter: blur(24px);
    transition: opacity 420ms ease;
}

.ipcol-card:hover { background: rgb(255 255 255 / 0.30) !important; }
.ipcol-card:hover::before { opacity: 1; }

.ipcol-ready .ipcol-card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 780ms cubic-bezier(.18,.74,.18,1), background-color 360ms ease !important;
}

.ipcol-ready .ipcol-card.is-visible { opacity: 1; transform: translateY(0); }
.ipcol-ready .ipcol-card.is-visible:hover { transform: translateY(-2px) !important; }

.ipcol-card-image-link {
    display: block !important;
    width: min(100%, 330px) !important;
    justify-self: start !important;
}

.gh-container.is-list .ipcol-card .gh-card-image,
.ipcol-card-image {
    width: 100% !important;
    aspect-ratio: 1.62 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    background: rgb(16 18 19 / 0.035) !important;
    box-shadow: 0 18px 48px rgb(16 18 19 / 0.034) !important;
}

.ipcol-card-image img,
.gh-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 4px !important;
    filter: saturate(.86) contrast(.99);
    transition: transform 720ms cubic-bezier(.18,.74,.18,1), filter 520ms ease, opacity 460ms ease !important;
}

.ipcol-card:hover .ipcol-card-image img {
    transform: scale(1.012) !important;
    filter: saturate(.92) contrast(1.025) brightness(1.012) !important;
}

.ipcol-card-content { max-width: 840px !important; }

.ipcol-card-tags,
.ipcol-article-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 15px !important;
    margin-bottom: 12px !important;
}

.ipcol-post-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: rgb(16 18 19 / 0.56) !important;
    font-family: var(--font-mono) !important;
    font-size: 1.0rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: 0.062em !important;
    text-transform: uppercase !important;
    border: 0 !important;
    background: transparent !important;
}

.ipcol-tag-dot {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    flex: 0 0 6px !important;
    border-radius: 50% !important;
    background: rgb(116 132 126 / 0.85);
}

.ipcol-card-title,
.gh-container.is-list .ipcol-card-title {
    margin: 0 !important;
    color: var(--ipcol-ink) !important;
    font-family: var(--font-serif) !important;
    font-size: clamp(1.72rem, 1.58vw, 2.54rem) !important;
    font-weight: 500 !important;
    letter-spacing: -0.014em !important;
    line-height: 1.21 !important;
}

.ipcol-card-title a,
.ipcol-card-title a:hover,
.ipcol-card-title a:focus,
.ipcol-card-title a:visited {
    display: inline !important;
    color: var(--ipcol-ink) !important;
}

.ipcol-new-label {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 0.62em !important;
    padding: 0.15em 0.27em 0.11em !important;
    transform: translateY(-0.12em) !important;
    color: rgb(16 18 19 / 0.66) !important;
    border: 1px solid rgb(16 18 19 / 0.36) !important;
    background: rgb(255 255 255 / 0.54) !important;
    font-family: var(--font-mono) !important;
    font-size: 0.32em !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.035em !important;
    vertical-align: middle !important;
}

.ipcol-card-excerpt {
    display: -webkit-box !important;
    max-width: 78ch !important;
    margin-top: 16px !important;
    overflow: hidden !important;
    color: rgb(16 18 19 / 0.52) !important;
    font-size: clamp(1.28rem, 0.92vw, 1.48rem) !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.ipcol-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 10px !important;
    margin-top: 19px !important;
    color: rgb(16 18 19 / 0.43) !important;
    font-size: 1.08rem !important;
    letter-spacing: 0.008em !important;
}

.ipcol-card-meta .gh-card-author + .gh-card-date::before {
    content: "—";
    margin-right: 10px;
    color: rgb(16 18 19 / 0.30);
}

.ipcol-card-number {
    position: absolute;
    right: 0;
    bottom: clamp(36px, 4vw, 58px);
    color: rgb(16 18 19 / 0.07);
    font-family: var(--font-mono);
    font-size: clamp(1.4rem, 1.9vw, 2.5rem);
    letter-spacing: -0.04em;
    pointer-events: none;
}

.ipcol-card.no-image {
    grid-template-columns: 1fr !important;
    padding-left: clamp(0px, 4vw, 76px) !important;
}

.ipcol-card.no-image .ipcol-card-content { max-width: 960px !important; }

/* Article, share, subtle utilities and footer. */
.gh-article-header { padding-top: clamp(56px, 7vw, 112px) !important; }

.ipcol-meta-share {
    gap: 18px !important;
    align-items: center !important;
}

.ipcol-share-panel {
    position: relative;
    z-index: 8;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px !important;
    border: 1px solid rgb(16 18 19 / 0.075) !important;
    background: rgb(255 255 255 / 0.58) !important;
    backdrop-filter: blur(18px) saturate(1.04);
    -webkit-backdrop-filter: blur(18px) saturate(1.04);
}

.ipcol-share-button,
.ipcol-share-button.gh-button,
.gh-button-share.ipcol-share-button {
    height: 34px !important;
    min-width: 0 !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgb(16 18 19 / 0.62) !important;
    font-family: var(--font-mono) !important;
    font-size: 1.08rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.055em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.ipcol-share-button:hover,
.ipcol-share-button:focus-visible {
    background: rgb(16 18 19 / 0.045) !important;
    opacity: 1 !important;
}

.ipcol-share-preview {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    width: min(300px, calc(100vw - 48px));
    padding: 10px;
    border: 1px solid rgb(16 18 19 / 0.11);
    background: rgb(255 255 255 / 0.88);
    backdrop-filter: blur(22px) saturate(1.04);
    -webkit-backdrop-filter: blur(22px) saturate(1.04);
    box-shadow: 0 24px 70px rgb(16 18 19 / 0.10);
}

.ipcol-share-preview img {
    width: 100%;
    border: 1px solid rgb(16 18 19 / 0.08);
}

.ipcol-share-preview-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    text-transform: uppercase;
}

.ipcol-share-preview-actions a,
.ipcol-share-preview-actions button {
    border: 0;
    background: transparent;
    color: rgb(16 18 19 / 0.64);
    cursor: pointer;
    font: inherit;
}

.ipcol-footer {
    margin-top: clamp(70px, 12vw, 160px);
    padding: 34px 0 42px;
    border-top: 1px solid rgb(16 18 19 / 0.052);
    background: transparent !important;
}

.ipcol-footer .gh-footer-inner {
    display: flex;
    justify-content: flex-end;
    max-width: 1520px;
}

.ipcol-footer-mark {
    max-width: min(100%, 980px);
    margin: 0;
    color: rgb(16 18 19 / 0.42);
    font-family: var(--font-mono);
    font-size: 1.08rem;
    line-height: 1.8;
    letter-spacing: 0.035em;
    text-align: right;
}

.ipcol-footer-mark span { color: rgb(16 18 19 / 0.56); }

.gh-content a,
.gh-content a:hover,
.gh-content a:focus,
.gh-content a:visited {
    color: var(--ipcol-ink) !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
    background-image: none !important;
    box-shadow: none !important;
}

.gh-content :is(blockquote, pre, .kg-card) { border-radius: 4px !important; }

.ipcol-navigation .gh-navigation-menu a,
.ipcol-navigation .gh-navigation-actions button,
.ipcol-friend-links a,
.ipcol-share-button { outline-offset: 4px; }

.ipcol-card::after {
    position: absolute;
    top: clamp(30px, 4vw, 54px);
    left: 0;
    width: 3px;
    height: 3px;
    content: "";
    border-radius: 50%;
    background: rgb(16 18 19 / 0.18);
    opacity: 0.55;
    transform: translateX(-12px);
    transition: transform 420ms cubic-bezier(.18,.74,.18,1), opacity 320ms ease;
}

.ipcol-card:hover::after { opacity: 0.85; transform: translateX(-6px); }
.ipcol-card-image-link + .ipcol-card-content { align-self: center; }

@media (min-width: 901px) {
    .ipcol-card:nth-child(even) .ipcol-card-image-link { width: min(100%, 305px) !important; }
}

@media (max-width: 1180px) {
    .ipcol-friend-links { display: none !important; }
}

@media (max-width: 900px) {
    .ipcol-navigation,
    .gh-navigation { height: 70px !important; }

    .gh-navigation-inner { gap: 12px !important; }
    .gh-navigation-menu { display: none !important; }
    .gh-container:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) { grid-column: 1 / -1 !important; }

    .ipcol-hero { padding-top: 30px !important; }
    .ipcol-hero-stage { min-height: 285px !important; }

    .ipcol-slogan,
    .ipcol-slogan:hover,
    .ipcol-slogan:focus {
        width: 96vw !important;
        font-size: clamp(4.05rem, 13.6vw, 8.4rem) !important;
        letter-spacing: -0.067em !important;
    }

    .ipcol-card {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 42px 0 !important;
    }

    .ipcol-card-image-link {
        width: 100% !important;
        max-width: none !important;
    }

    .ipcol-card-title,
    .gh-container.is-list .ipcol-card-title {
        font-size: clamp(1.82rem, 6vw, 2.74rem) !important;
        font-weight: 500 !important;
        line-height: 1.17 !important;
    }

    .ipcol-card-excerpt { font-size: 1.28rem !important; }
    .ipcol-card-number { display: none !important; }
    .ipcol-footer .gh-footer-inner { justify-content: flex-start; }
    .ipcol-footer-mark { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .ipcol-card,
    .ipcol-card-image img,
    .ipcol-slogan-letter,
    .ipcol-slogan.is-entering .ipcol-slogan-letter {
        animation: none !important;
        transition: none !important;
    }

    .ipcol-ready .ipcol-card {
        opacity: 1 !important;
        transform: none !important;
    }
}



/* IpCol Hakushi feed layer: centered feed, visible tags, connected micro-interactions. */
:root {
    --ipcol-linked-rgb: 104 135 128;
    --ipcol-card-accent-rgb: 104 135 128;
}

/* Keep the header as one continuous row: logo + friends on the left, search on the right. */
.ipcol-navigation .gh-navigation-inner,
.gh-navigation.ipcol-navigation .gh-navigation-inner {
    flex-wrap: nowrap !important;
}

.ipcol-navigation .gh-navigation-brand {
    flex: 0 1 auto !important;
    max-width: min(72vw, 760px) !important;
}

.ipcol-navigation .gh-navigation-menu {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.ipcol-navigation .gh-navigation-actions {
    margin-left: auto !important;
    flex: 0 0 auto !important;
}

.ipcol-navigation .gh-search {
    margin-left: auto !important;
}

/* Center the home/index feed again. The row is newspaper-like, not right-weighted. */
.gh-container:not(.has-sidebar) .gh-main,
.gh-container:not(.has-sidebar) .gh-feed {
    width: min(100%, 1160px) !important;
    max-width: 1160px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.gh-container:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
    justify-self: center !important;
}

.ipcol-card {
    grid-template-columns: minmax(188px, 300px) minmax(0, 720px) !important;
    justify-content: center !important;
    column-gap: clamp(30px, 4vw, 68px) !important;
}

.ipcol-card-image-link {
    width: min(100%, 300px) !important;
    justify-self: end !important;
}

@media (min-width: 901px) {
    .ipcol-card:nth-child(even) .ipcol-card-image-link {
        width: min(100%, 286px) !important;
    }
}

.ipcol-card-content {
    max-width: 720px !important;
    min-width: 0 !important;
}

.ipcol-card.no-image {
    width: min(100%, 840px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-left: 0 !important;
}

.ipcol-card.no-image .ipcol-card-content {
    max-width: 760px !important;
}

/* Public tags must stay visible on home cards. */
.ipcol-card-tags,
.ipcol-card .ipcol-card-tags,
.ipcol-article-tags {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ipcol-post-tag {
    position: relative !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color 220ms ease, opacity 220ms ease, transform 300ms cubic-bezier(.18,.74,.18,1), filter 360ms ease !important;
}

.ipcol-post-tag:hover,
.ipcol-post-tag:focus-visible {
    color: rgb(16 18 19 / 0.76) !important;
    transform: translateY(-1px) !important;
}

.ipcol-post-tag:hover .ipcol-tag-dot,
.ipcol-post-tag:focus-visible .ipcol-tag-dot {
    transform: scale(1.18) !important;
}

.ipcol-tag-dot {
    transition: transform 300ms cubic-bezier(.18,.74,.18,1), box-shadow 320ms ease, background-color 320ms ease !important;
}

/* More connected card motion without adding space. */
.ipcol-card::before {
    background: radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb) / 0.078), transparent 43%) !important;
}

.ipcol-card:hover,
.ipcol-card:focus-within {
    background:
        linear-gradient(90deg, rgb(var(--ipcol-card-accent-rgb) / 0.028), transparent 34%),
        rgb(255 255 255 / 0.36) !important;
}

.ipcol-card:hover .ipcol-card-title,
.ipcol-card:focus-within .ipcol-card-title {
    letter-spacing: -0.008em !important;
}

.ipcol-card-title,
.ipcol-card-title a {
    transition: letter-spacing 420ms cubic-bezier(.18,.74,.18,1), opacity 220ms ease, transform 340ms cubic-bezier(.18,.74,.18,1) !important;
}

.ipcol-card-excerpt {
    transition: color 260ms ease, transform 460ms cubic-bezier(.18,.74,.18,1) !important;
}

.ipcol-card:hover .ipcol-card-excerpt,
.ipcol-card:focus-within .ipcol-card-excerpt {
    color: rgb(16 18 19 / 0.60) !important;
    transform: translateX(2px) !important;
}

.ipcol-card-number {
    transition: opacity 400ms ease, transform 520ms cubic-bezier(.18,.74,.18,1), color 320ms ease !important;
}

.ipcol-card:hover .ipcol-card-number,
.ipcol-card:focus-within .ipcol-card-number {
    color: rgb(var(--ipcol-card-accent-rgb) / 0.13) !important;
    transform: translateY(-3px) !important;
}

/* Slogan and header subtly react to cards and sentence switches. */
.ipcol-post-linked .ipcol-hero-stage::after {
    opacity: 0.74 !important;
    transform: scale(1.024) !important;
}

.ipcol-slogan-swapped .ipcol-logo-text,
.ipcol-slogan-swapped .ipcol-friend-links a {
    filter: drop-shadow(0 8px 22px rgb(var(--ipcol-linked-rgb) / 0.12));
}

.ipcol-slogan-swapped .ipcol-friend-links a::before {
    background: rgb(var(--ipcol-linked-rgb) / 0.55) !important;
    transform: scale(1.16);
}

/* Fine scroll cue: no new layout, only opacity in existing surfaces. */
html.ipcol-scrolled .ipcol-navigation {
    background: linear-gradient(to bottom, rgb(255 255 255 / 0.82), rgb(255 255 255 / 0.54) 74%, rgb(255 255 255 / 0)) !important;
}

.ipcol-share-button {
    position: relative !important;
    overflow: hidden !important;
}

.ipcol-share-button::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, transparent, rgb(var(--ipcol-linked-rgb) / 0.075), transparent);
    opacity: 0;
    transform: translateX(-70%);
    transition: opacity 240ms ease, transform 520ms cubic-bezier(.18,.74,.18,1);
    pointer-events: none;
}

.ipcol-share-button:hover::after,
.ipcol-share-button:focus-visible::after {
    opacity: 1;
    transform: translateX(70%);
}

@media (max-width: 900px) {
    .gh-container:not(.has-sidebar) .gh-main,
    .gh-container:not(.has-sidebar) .gh-feed {
        width: 100% !important;
        max-width: none !important;
    }

    .ipcol-card {
        grid-template-columns: 1fr !important;
        justify-content: stretch !important;
    }

    .ipcol-card-image-link {
        width: 100% !important;
        justify-self: stretch !important;
    }
}

/* IpCol Hakushi slogan/share layer: centered feed, direct-random slogan, cleaner image preview. */
.home-template .ipcol-hero + .gh-container {
    margin-top: clamp(8px, 1.2vw, 22px) !important;
}

.home-template .gh-container:not(.has-sidebar) .gh-container-inner {
    display: block !important;
    width: min(100%, 1520px) !important;
    margin-inline: auto !important;
}

.home-template .gh-container:not(.has-sidebar) :is(.gh-main, .gh-feed) {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin-inline: auto !important;
}

.home-template .gh-container:not(.has-sidebar) .gh-feed {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.home-template .ipcol-card {
    width: min(100%, 1040px) !important;
    max-width: 1040px !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(176px, 280px) minmax(0, 620px) !important;
    column-gap: clamp(34px, 4.8vw, 70px) !important;
    justify-content: center !important;
    justify-items: stretch !important;
}

.home-template .ipcol-card-image-link {
    width: min(100%, 280px) !important;
    max-width: 280px !important;
    justify-self: end !important;
}

.home-template .ipcol-card-content {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    justify-self: start !important;
}

.home-template .ipcol-card.no-image {
    width: min(100%, 720px) !important;
    max-width: 720px !important;
}

.home-template .ipcol-card.no-image .ipcol-card-content {
    width: 100% !important;
    max-width: 720px !important;
}

.ipcol-slogan:empty {
    min-height: 0.92em !important;
    opacity: 0 !important;
}

.ipcol-slogan:not(:empty) {
    opacity: 1 !important;
}

.ipcol-share-preview img {
    border: 0 !important;
    box-shadow: 0 24px 90px rgb(16 18 19 / 0.10) !important;
}

/* Small linkage cues in existing surfaces only: no new layout space. */
.ipcol-card.is-linked .ipcol-card-image,
.ipcol-card:hover .ipcol-card-image {
    box-shadow:
        0 18px 46px rgb(16 18 19 / 0.030),
        0 0 0 1px rgb(var(--ipcol-card-accent-rgb) / 0.075),
        0 22px 90px rgb(var(--ipcol-card-accent-rgb) / 0.040) !important;
}

.ipcol-card.is-linked .ipcol-tag-dot,
.ipcol-card:hover .ipcol-tag-dot {
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.96), 0 0 14px rgb(var(--ipcol-card-accent-rgb) / 0.18) !important;
}

.ipcol-post-linked .ipcol-slogan-dots {
    opacity: 0.96 !important;
}

.ipcol-slogan-letter {
    transition:
        transform 520ms cubic-bezier(.18,.74,.18,1),
        opacity 360ms ease,
        filter 440ms ease !important;
}

.ipcol-slogan:hover .ipcol-slogan-letter:nth-child(3n+1) { transform: translateY(-0.012em); }
.ipcol-slogan:hover .ipcol-slogan-letter:nth-child(3n+2) { transform: translateY(0.010em); }

@media (max-width: 900px) {
    .home-template .gh-container:not(.has-sidebar) :is(.gh-main, .gh-feed),
    .home-template .ipcol-card,
    .home-template .ipcol-card-content {
        width: 100% !important;
        max-width: none !important;
    }

    .home-template .ipcol-card {
        grid-template-columns: 1fr !important;
        justify-content: stretch !important;
    }

    .home-template .ipcol-card-image-link {
        width: 100% !important;
        max-width: none !important;
        justify-self: stretch !important;
    }
}


/* IpCol Hakushi brand punctuation and micro-craft layer: no layout expansion. */
:root {
    --ipcol-footer-brand-size: 1.18rem;
    --ipcol-brand-rgb: 104 135 128;
}

.ipcol-footer {
    padding-top: clamp(42px, 5.8vw, 82px) !important;
    padding-bottom: clamp(38px, 5vw, 70px) !important;
}

.ipcol-footer-mark {
    font-size: clamp(1.04rem, 0.88rem + 0.34vw, 1.24rem) !important;
    line-height: 1.85 !important;
    letter-spacing: 0.012em !important;
    color: rgb(16 18 19 / 0.42) !important;
}

.ipcol-footer-brand,
.ipcol-footer a.ipcol-footer-brand,
.ipcol-footer span.ipcol-footer-brand {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.44em !important;
    color: rgb(16 18 19 / 0.64) !important;
    font-size: var(--ipcol-footer-brand-size) !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: 0.006em !important;
    vertical-align: -0.02em !important;
    text-decoration: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    transition:
        color 240ms ease,
        opacity 240ms ease,
        transform 360ms cubic-bezier(.18,.74,.18,1),
        filter 420ms ease;
}

.ipcol-footer-brand::before {
    width: 0.48em;
    height: 0.48em;
    flex: 0 0 auto;
    content: "";
    border-radius: 50%;
    background: var(--ipcol-brand-dot, rgb(var(--ipcol-brand-rgb) / 0.72));
    box-shadow:
        0 0 0 1px rgb(255 255 255 / 0.92),
        0 0 13px var(--ipcol-brand-glow, rgb(var(--ipcol-brand-rgb) / 0.13));
    transform: translateY(-0.02em);
    transition:
        transform 320ms cubic-bezier(.18,.74,.18,1),
        box-shadow 360ms ease,
        opacity 240ms ease;
}

.ipcol-footer-brand:hover,
.ipcol-footer-brand:focus-visible {
    color: rgb(16 18 19 / 0.82) !important;
    transform: translateY(-1px);
    filter: drop-shadow(0 10px 28px var(--ipcol-brand-glow, rgb(var(--ipcol-brand-rgb) / 0.12)));
}

.ipcol-footer-brand:hover::before,
.ipcol-footer-brand:focus-visible::before {
    transform: translateY(-0.02em) scale(1.22);
    box-shadow:
        0 0 0 1px rgb(255 255 255 / 0.96),
        0 0 18px var(--ipcol-brand-glow, rgb(var(--ipcol-brand-rgb) / 0.18));
}

html.ipcol-brand-linked .ipcol-hero-stage::after {
    opacity: 0.82 !important;
    transform: scale(1.028) !important;
}

html.ipcol-user-awake .ipcol-card.is-visible {
    will-change: transform, opacity;
}

html:not(.ipcol-user-awake) .ipcol-card,
html:not(.ipcol-user-awake) .ipcol-card-image img,
html:not(.ipcol-user-awake) .ipcol-slogan-dots {
    transition-duration: 520ms !important;
}

.ipcol-card:focus-within .ipcol-card-image,
.ipcol-card:hover .ipcol-card-image {
    box-shadow:
        0 18px 48px rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.075),
        0 0 0 1px rgb(16 18 19 / 0.032) !important;
}

.ipcol-card-tags::after {
    width: 18px;
    height: 1px;
    margin-left: 0.35em;
    content: "";
    background: linear-gradient(90deg, rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.24), transparent);
    opacity: 0;
    transform: scaleX(0.55);
    transform-origin: left center;
    transition: opacity 280ms ease, transform 380ms cubic-bezier(.18,.74,.18,1);
}

.ipcol-card:hover .ipcol-card-tags::after,
.ipcol-card:focus-within .ipcol-card-tags::after {
    opacity: 1;
    transform: scaleX(1);
}

.ipcol-share-button:focus-visible,
.ipcol-footer-brand:focus-visible,
.ipcol-friend-links a:focus-visible,
.ipcol-logo-text:focus-visible {
    outline: 1px solid rgb(var(--ipcol-linked-rgb) / 0.22) !important;
    outline-offset: 4px !important;
}

::selection {
    color: rgb(16 18 19 / 0.92);
    background: rgb(var(--ipcol-linked-rgb) / 0.16);
}

@media (max-width: 900px) {
    .ipcol-footer-mark {
        font-size: 1.04rem !important;
        line-height: 1.75 !important;
    }

    .ipcol-footer-brand,
    .ipcol-footer a.ipcol-footer-brand,
    .ipcol-footer span.ipcol-footer-brand {
        font-size: 1.12rem !important;
    }
}


/* IpCol Hakushi header brand color unification.
   Header friend names now use the same ASCII-hash chroma system as tags/footer brands. */
.ipcol-friend-links a[data-ipcol-brand] {
    --ipcol-header-brand-rgb: var(--ipcol-brand-rgb, 104 135 128);
    color: rgb(16 18 19 / 0.56) !important;
}

.ipcol-friend-links a[data-ipcol-brand]::before {
    background: var(--ipcol-brand-dot, rgb(var(--ipcol-header-brand-rgb) / 0.76)) !important;
    box-shadow:
        0 0 0 1px rgb(255 255 255 / 0.94),
        0 0 12px var(--ipcol-brand-glow, rgb(var(--ipcol-header-brand-rgb) / 0.14)) !important;
}

.ipcol-friend-links a[data-ipcol-brand]:hover,
.ipcol-friend-links a[data-ipcol-brand]:focus-visible {
    color: color-mix(in srgb, rgb(var(--ipcol-header-brand-rgb)) 34%, rgb(16 18 19) 66%) !important;
    filter: drop-shadow(0 8px 22px var(--ipcol-brand-glow, rgb(var(--ipcol-header-brand-rgb) / 0.10))) !important;
}

.ipcol-friend-links a[data-ipcol-brand]:hover::before,
.ipcol-friend-links a[data-ipcol-brand]:focus-visible::before {
    transform: scale(1.22) !important;
    box-shadow:
        0 0 0 1px rgb(255 255 255 / 0.96),
        0 0 16px var(--ipcol-brand-glow, rgb(var(--ipcol-header-brand-rgb) / 0.20)) !important;
}

/* IpCol Hakushi hashed corner background fields.
   Page-anchored fields: top-left letters and lower-right letters/emoji are generated from deterministic hash offsets. */
.gh-viewport::before,
.gh-viewport::after {
    display: none !important;
    content: none !important;
}

.gh-viewport {
    position: relative !important;
    isolation: isolate;
}

.ipcol-bg-letters {
    position: absolute;
    z-index: 0 !important;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    contain: layout paint style;
    opacity: 1;
}

.ipcol-bg-letters--br {
    right: 0;
    bottom: 0;
    width: clamp(470px, 44vw, 860px);
    height: clamp(390px, 43vw, 780px);
    -webkit-mask-image: radial-gradient(ellipse at 78% 78%, #000 0%, #000 38%, rgb(0 0 0 / 0.54) 62%, transparent 88%);
    mask-image: radial-gradient(ellipse at 78% 78%, #000 0%, #000 38%, rgb(0 0 0 / 0.54) 62%, transparent 88%);
}

.ipcol-bg-letters--tl {
    left: 0;
    top: 0;
    width: clamp(360px, 34vw, 700px);
    height: clamp(280px, 30vw, 560px);
    -webkit-mask-image: radial-gradient(ellipse at 18% 20%, #000 0%, #000 30%, rgb(0 0 0 / 0.44) 56%, transparent 86%);
    mask-image: radial-gradient(ellipse at 18% 20%, #000 0%, #000 30%, rgb(0 0 0 / 0.44) 56%, transparent 86%);
}

.gh-viewport > .ipcol-bg-letters {
    z-index: 0 !important;
}

.ipcol-bg-letter {
    position: absolute;
    left: var(--ipcol-bg-x);
    top: var(--ipcol-bg-y);
    display: block;
    color: var(--ipcol-bg-color, rgb(16 18 19 / 0.030));
    font-family: var(--ipcol-bg-font, var(--font-serif), Georgia, serif);
    font-size: var(--ipcol-bg-size, 32px);
    font-style: var(--ipcol-bg-style, normal);
    font-weight: var(--ipcol-bg-weight, 500);
    line-height: 1;
    letter-spacing: 0;
    transform: translate(-50%, -50%) rotate(var(--ipcol-bg-rot, 0deg));
    transform-origin: center;
    filter: blur(var(--ipcol-bg-blur, 0px));
    opacity: var(--ipcol-bg-opacity, 0.04);
}

.ipcol-bg-letters--emoji .ipcol-bg-letter {
    color: inherit;
    filter: grayscale(1) saturate(.28) opacity(.72) blur(var(--ipcol-bg-blur, 0px));
    mix-blend-mode: multiply;
}

@media (max-width: 900px) {
    .ipcol-bg-letters--br {
        width: min(96vw, 560px);
        height: min(76vw, 460px);
        opacity: 0.78;
    }

    .ipcol-bg-letters--tl {
        width: min(78vw, 430px);
        height: min(54vw, 300px);
        opacity: 0.62;
    }
}

/* IpCol Hakushi read-more card containment fix.
   The corner background fields are absolute and isolated; related/read-more cards use a compact stacked layout
   so title/excerpt columns never collapse into vertical letters inside narrow Ghost recommendation columns. */
.ipcol-bg-letters {
    position: absolute !important;
    display: block !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    flex: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

.gh-more .ipcol-card,
.post-template .gh-more .ipcol-card,
.page-template .gh-more .ipcol-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: clamp(28px, 3.8vw, 52px) 0 !important;
    gap: 18px !important;
    overflow: visible !important;
}

.gh-more .ipcol-card-image-link,
.post-template .gh-more .ipcol-card-image-link,
.page-template .gh-more .ipcol-card-image-link {
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    justify-self: auto !important;
    align-self: flex-start !important;
}

.gh-more .ipcol-card-content,
.post-template .gh-more .ipcol-card-content,
.page-template .gh-more .ipcol-card-content {
    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;
    justify-self: auto !important;
}

.gh-more .ipcol-card-tags,
.post-template .gh-more .ipcol-card-tags,
.page-template .gh-more .ipcol-card-tags {
    margin-bottom: 10px !important;
}

.gh-more .ipcol-card-title,
.gh-more .ipcol-card-title a,
.post-template .gh-more .ipcol-card-title,
.post-template .gh-more .ipcol-card-title a,
.page-template .gh-more .ipcol-card-title,
.page-template .gh-more .ipcol-card-title a {
    display: inline !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    font-size: clamp(1.68rem, 1.18vw, 2.18rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.010em !important;
}

.gh-more .ipcol-card-excerpt,
.post-template .gh-more .ipcol-card-excerpt,
.page-template .gh-more .ipcol-card-excerpt,
.gh-more .ipcol-card-meta,
.post-template .gh-more .ipcol-card-meta,
.page-template .gh-more .ipcol-card-meta {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

.gh-more .ipcol-card-number,
.post-template .gh-more .ipcol-card-number,
.page-template .gh-more .ipcol-card-number {
    right: 0 !important;
    bottom: 24px !important;
}

.ipcol-card-title,
.ipcol-card-title a,
.ipcol-card-excerpt,
.ipcol-card-meta {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* IpCol Hakushi related/read-more width fix.
   Code review result: the related posts section is `.gh-container.is-grid`, whose feed is four narrow columns.
   The global newspaper `.ipcol-card` rule was forcing every card, including these narrow related cards,
   into a two-column layout (`image + text`). That made the text column collapse and titles render vertically.
   Related cards are therefore explicitly scoped back to a compact single-column layout. */
.post-template .ipcol-related,
.page-template .ipcol-related,
.post-template .gh-container.is-grid.ipcol-related,
.page-template .gh-container.is-grid.ipcol-related {
    width: 100% !important;
    max-width: min(1520px, calc(100vw - 2 * var(--gap))) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    overflow: visible !important;
}

.post-template .ipcol-related .gh-container-inner,
.page-template .ipcol-related .gh-container-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.post-template .ipcol-related .gh-container-title,
.page-template .ipcol-related .gh-container-title {
    width: 100% !important;
    margin-bottom: clamp(28px, 4vw, 54px) !important;
    text-align: center !important;
}

.post-template .ipcol-related .gh-feed,
.page-template .ipcol-related .gh-feed {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(28px, 3vw, 46px) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    align-items: start !important;
}

.post-template .ipcol-related .ipcol-card,
.page-template .ipcol-related .ipcol-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 15px !important;
    border-top: 0 !important;
    background: transparent !important;
    content-visibility: visible !important;
    contain-intrinsic-size: auto !important;
    overflow: visible !important;
}

.post-template .ipcol-related .ipcol-card::before,
.post-template .ipcol-related .ipcol-card::after,
.page-template .ipcol-related .ipcol-card::before,
.page-template .ipcol-related .ipcol-card::after {
    display: none !important;
    content: none !important;
}

.post-template .ipcol-related .ipcol-card-image-link,
.page-template .ipcol-related .ipcol-card-image-link {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    align-self: stretch !important;
    justify-self: auto !important;
}

.post-template .ipcol-related .ipcol-card-image,
.page-template .ipcol-related .ipcol-card-image {
    width: 100% !important;
    aspect-ratio: 1.62 !important;
}

.post-template .ipcol-related .ipcol-card-content,
.page-template .ipcol-related .ipcol-card-content {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-self: auto !important;
    align-self: stretch !important;
}

.post-template .ipcol-related .ipcol-card-tags,
.page-template .ipcol-related .ipcol-card-tags {
    gap: 6px 10px !important;
    margin-bottom: 10px !important;
}

.post-template .ipcol-related .ipcol-post-tag,
.page-template .ipcol-related .ipcol-post-tag {
    font-size: 0.86rem !important;
    letter-spacing: 0.055em !important;
}

.post-template .ipcol-related .ipcol-card-title,
.post-template .ipcol-related .ipcol-card-title a,
.page-template .ipcol-related .ipcol-card-title,
.page-template .ipcol-related .ipcol-card-title a {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    font-size: clamp(1.56rem, 0.75vw + 1.18rem, 2.12rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.008em !important;
}

.post-template .ipcol-related .ipcol-card-excerpt,
.post-template .ipcol-related .ipcol-card-meta,
.page-template .ipcol-related .ipcol-card-excerpt,
.page-template .ipcol-related .ipcol-card-meta {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

.post-template .ipcol-related .ipcol-card-number,
.page-template .ipcol-related .ipcol-card-number {
    display: none !important;
}

@media (max-width: 1199px) {
    .post-template .ipcol-related .gh-feed,
    .page-template .ipcol-related .gh-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .post-template .ipcol-related .gh-feed,
    .page-template .ipcol-related .gh-feed {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* IpCol Hakushi external compatibility layer: dark mode, motion preference, reader/cookie integration hooks. */
:root {
    color-scheme: light dark;
    --ipcol-reader-max: 72ch;
}

html[data-ipcol-color-scheme="dark"] {
    color-scheme: dark;
    --ipcol-paper: #101213;
    --ipcol-ink: #f0f1ee;
    --ipcol-muted: rgb(240 241 238 / 0.58);
    --ipcol-soft: rgb(240 241 238 / 0.070);
    --ipcol-hairline: rgb(240 241 238 / 0.095);
    --ipcol-glass: rgb(16 18 19 / 0.58);
    --background-color: #101213 !important;
}

html[data-ipcol-color-scheme="dark"],
html[data-ipcol-color-scheme="dark"] body {
    background: #101213 !important;
    color: var(--ipcol-ink) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-viewport {
    background:
        radial-gradient(circle at 82% 10%, rgb(128 137 166 / 0.105), transparent 34rem),
        radial-gradient(circle at 16% 42%, rgb(104 135 128 / 0.080), transparent 36rem),
        #101213 !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-navigation,
html[data-ipcol-color-scheme="dark"] .gh-navigation {
    background: linear-gradient(to bottom, rgb(16 18 19 / 0.84), rgb(16 18 19 / 0.58) 74%, rgb(16 18 19 / 0)) !important;
    backdrop-filter: blur(18px) saturate(1.02);
    -webkit-backdrop-filter: blur(18px) saturate(1.02);
}

html[data-ipcol-color-scheme="dark"] .ipcol-logo-text,
html[data-ipcol-color-scheme="dark"] .ipcol-slogan,
html[data-ipcol-color-scheme="dark"] .ipcol-card-title,
html[data-ipcol-color-scheme="dark"] .ipcol-card-title a,
html[data-ipcol-color-scheme="dark"] .gh-article-title {
    color: rgb(240 241 238 / 0.92) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-friend-links,
html[data-ipcol-color-scheme="dark"] .ipcol-friend-links a,
html[data-ipcol-color-scheme="dark"] .ipcol-card-excerpt,
html[data-ipcol-color-scheme="dark"] .ipcol-card-meta,
html[data-ipcol-color-scheme="dark"] .ipcol-footer-mark,
html[data-ipcol-color-scheme="dark"] .gh-article-excerpt,
html[data-ipcol-color-scheme="dark"] .gh-content {
    color: rgb(240 241 238 / 0.58) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card,
html[data-ipcol-color-scheme="dark"] .ipcol-share-panel,
html[data-ipcol-color-scheme="dark"] .kg-card,
html[data-ipcol-color-scheme="dark"] .kg-bookmark-card,
html[data-ipcol-color-scheme="dark"] blockquote,
html[data-ipcol-color-scheme="dark"] pre {
    background: rgb(255 255 255 / 0.035) !important;
    border-color: rgb(255 255 255 / 0.070) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card-image,
html[data-ipcol-color-scheme="dark"] .gh-card-image {
    background: rgb(255 255 255 / 0.045) !important;
    box-shadow: 0 22px 72px rgb(0 0 0 / 0.24) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card-image img,
html[data-ipcol-color-scheme="dark"] .gh-card-image img,
html[data-ipcol-color-scheme="dark"] .kg-image {
    filter: saturate(.82) contrast(.96) brightness(.86) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-bg-letter {
    mix-blend-mode: screen;
    opacity: calc(var(--ipcol-bg-opacity) * 0.82) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-slogan-dots {
    opacity: 0.62 !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-preview {
    background: rgb(10 12 12 / 0.82) !important;
}

html[data-ipcol-motion="reduce"] *,
html[data-ipcol-motion="reduce"] *::before,
html[data-ipcol-motion="reduce"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
}

html[data-ipcol-motion="reduce"] .ipcol-slogan-dots {
    opacity: 0.30 !important;
}

[data-reader-ignore],
.ipcol-reader-ignore {
    speak: none;
}

@media print {
    .ipcol-navigation,
    .ipcol-share-panel,
    .ipcol-share-preview,
    .ipcol-bg-letters,
    .ipcol-slogan-dots,
    .ipcol-footer,
    .gh-comments,
    .ipcol-related {
        display: none !important;
    }

    .gh-content,
    .entry-content,
    .instapaper_body {
        max-width: var(--ipcol-reader-max) !important;
        color: #111 !important;
        background: #fff !important;
    }
}

/* IpCol Hakushi reader, privacy, and mobile performance layer. */
.ipcol-footer .gh-footer-inner {
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: clamp(18px, 4vw, 72px) !important;
}

.ipcol-privacy-button {
    flex: 0 0 auto;
    margin-top: 0.15em;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgb(16 18 19 / 0.38);
    font-family: var(--font-mono), ui-monospace, monospace;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 220ms ease, transform 320ms cubic-bezier(.18,.74,.18,1), opacity 220ms ease;
}

.ipcol-privacy-button:hover,
.ipcol-privacy-button:focus-visible {
    color: rgb(16 18 19 / 0.68);
    transform: translateY(-1px);
}

.ipcol-privacy-panel {
    position: fixed;
    left: clamp(16px, 4vw, 42px);
    bottom: clamp(16px, 4vw, 42px);
    z-index: 1200;
    width: min(340px, calc(100vw - 32px));
    padding: 18px 18px 16px;
    border: 1px solid rgb(16 18 19 / 0.075);
    background: rgb(255 255 255 / 0.78);
    box-shadow: 0 28px 90px rgb(16 18 19 / 0.08);
    backdrop-filter: blur(24px) saturate(1.04);
    -webkit-backdrop-filter: blur(24px) saturate(1.04);
    color: rgb(16 18 19 / 0.68);
    font-family: var(--font-mono), ui-monospace, monospace;
}

.ipcol-privacy-panel[hidden] { display: none !important; }

.ipcol-privacy-kicker {
    margin: 0 0 8px;
    color: rgb(16 18 19 / 0.74);
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ipcol-privacy-copy,
.ipcol-privacy-state {
    margin: 0 0 12px;
    font-size: 1.05rem;
    line-height: 1.55;
}

.ipcol-privacy-state {
    color: rgb(16 18 19 / 0.48);
}

.ipcol-privacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ipcol-privacy-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgb(16 18 19 / 0.62);
    cursor: pointer;
    font: inherit;
    font-size: 1.02rem;
    letter-spacing: 0.04em;
    transition: color 220ms ease, transform 260ms cubic-bezier(.18,.74,.18,1);
}

.ipcol-privacy-actions button:hover,
.ipcol-privacy-actions button:focus-visible {
    color: rgb(16 18 19 / 0.86);
    transform: translateY(-1px);
}

/* Reader utilities: keep non-article utilities identifiable to reader-mode tools without visual changes. */
[data-reader-ignore],
.instapaper_ignore {
    speak: none;
}

/* Mobile Lighthouse guard: disable high-cost decorative layers and animations on small/coarse-pointer devices. */
@media (max-width: 767px), (pointer: coarse) {
    html.ipcol-mobile-static .ipcol-slogan-dots,
    html.ipcol-mobile-static .ipcol-bg-letters {
        display: none !important;
    }

    html.ipcol-mobile-static .ipcol-slogan,
    html.ipcol-mobile-static .ipcol-slogan *,
    html.ipcol-mobile-static .ipcol-card,
    html.ipcol-mobile-static .ipcol-card *,
    html.ipcol-mobile-static .ipcol-card-image img,
    html.ipcol-mobile-static .ipcol-share-button,
    html.ipcol-mobile-static .ipcol-footer-brand,
    html.ipcol-mobile-static .ipcol-friend-links a {
        animation: none !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    html.ipcol-mobile-static .ipcol-card,
    html.ipcol-mobile-static .ipcol-ready .ipcol-card {
        opacity: 1 !important;
        transform: none !important;
    }

    html.ipcol-mobile-static .ipcol-card:hover,
    html.ipcol-mobile-static .ipcol-ready .ipcol-card.is-visible:hover {
        transform: none !important;
    }

    html.ipcol-mobile-static .ipcol-card::before,
    html.ipcol-mobile-static .ipcol-card::after,
    html.ipcol-mobile-static .ipcol-hero-stage::after {
        opacity: 0 !important;
    }

    .ipcol-footer .gh-footer-inner {
        flex-direction: column-reverse !important;
        align-items: flex-start !important;
        gap: 18px !important;
    }

    .ipcol-footer-mark {
        text-align: left !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ipcol-slogan-dots,
    .ipcol-bg-letters {
        display: none !important;
    }
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-button {
    color: rgb(245 244 240 / 0.40);
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-button:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-privacy-button:focus-visible {
    color: rgb(245 244 240 / 0.68);
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-panel {
    border-color: rgb(245 244 240 / 0.08);
    background: rgb(18 19 20 / 0.78);
    box-shadow: 0 28px 90px rgb(0 0 0 / 0.20);
    color: rgb(245 244 240 / 0.68);
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-kicker,
html[data-ipcol-color-scheme="dark"] .ipcol-privacy-actions button:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-privacy-actions button:focus-visible {
    color: rgb(245 244 240 / 0.86);
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-state,
html[data-ipcol-color-scheme="dark"] .ipcol-privacy-actions button {
    color: rgb(245 244 240 / 0.54);
}


/* IpCol Hakushi adaptive options, JSON friends, symmetric dots, and deeper dark-mode compatibility. */
.ipcol-slogan-dots {
    inset: -10% -12% !important;
    width: auto !important;
    height: auto !important;
}

.ipcol-friend-list,
.ipcol-footer-friends {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.78em !important;
}

.ipcol-footer-friends {
    gap: 0.35em !important;
}

html[data-ipcol-effect-mode="quiet"] .ipcol-slogan-dots,
html[data-ipcol-effect-mode="quiet"] .ipcol-bg-letters,
html[data-ipcol-effect-mode="off"] .ipcol-slogan-dots,
html[data-ipcol-effect-mode="off"] .ipcol-bg-letters {
    display: none !important;
}

html[data-ipcol-effect-mode="quiet"] .ipcol-card,
html[data-ipcol-effect-mode="quiet"] .ipcol-card *,
html[data-ipcol-effect-mode="off"] .ipcol-card,
html[data-ipcol-effect-mode="off"] .ipcol-card *,
html[data-ipcol-effect-mode="off"] .ipcol-slogan,
html[data-ipcol-effect-mode="off"] .ipcol-slogan * {
    animation: none !important;
    transition-duration: 0.001ms !important;
}

html[data-ipcol-color-scheme="dark"] .gh-navigation-menu .nav,
html[data-ipcol-color-scheme="dark"] .gh-navigation-menu a,
html[data-ipcol-color-scheme="dark"] .gh-search,
html[data-ipcol-color-scheme="dark"] .gh-icon-button {
    color: rgb(245 244 240 / 0.62) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-friend-links,
html[data-ipcol-color-scheme="dark"] .ipcol-friend-label,
html[data-ipcol-color-scheme="dark"] .ipcol-footer-mark {
    color: rgb(245 244 240 / 0.52) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-friend-links a,
html[data-ipcol-color-scheme="dark"] .ipcol-footer-brand,
html[data-ipcol-color-scheme="dark"] .ipcol-footer a.ipcol-footer-brand,
html[data-ipcol-color-scheme="dark"] .ipcol-footer span.ipcol-footer-brand,
html[data-ipcol-color-scheme="dark"] .ipcol-post-tag,
html[data-ipcol-color-scheme="dark"] .ipcol-post-tag span {
    color: rgb(245 244 240 / 0.72) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-post-tag:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-post-tag:focus-visible,
html[data-ipcol-color-scheme="dark"] .ipcol-post-tag:hover span,
html[data-ipcol-color-scheme="dark"] .ipcol-post-tag:focus-visible span,
html[data-ipcol-color-scheme="dark"] .ipcol-footer-brand:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-footer-brand:focus-visible,
html[data-ipcol-color-scheme="dark"] .ipcol-friend-links a:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-friend-links a:focus-visible {
    color: rgb(255 254 250 / 0.92) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card-excerpt,
html[data-ipcol-color-scheme="dark"] .gh-card-excerpt,
html[data-ipcol-color-scheme="dark"] .ipcol-card-meta,
html[data-ipcol-color-scheme="dark"] .gh-card-meta,
html[data-ipcol-color-scheme="dark"] .gh-article-excerpt,
html[data-ipcol-color-scheme="dark"] .gh-article-meta,
html[data-ipcol-color-scheme="dark"] .gh-article-meta *,
html[data-ipcol-color-scheme="dark"] .gh-article-meta-content,
html[data-ipcol-color-scheme="dark"] .gh-article-meta-length,
html[data-ipcol-color-scheme="dark"] .gh-article-meta-date,
html[data-ipcol-color-scheme="dark"] .gh-card-author,
html[data-ipcol-color-scheme="dark"] .gh-card-date {
    color: rgb(245 244 240 / 0.62) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card:hover .ipcol-card-excerpt,
html[data-ipcol-color-scheme="dark"] .ipcol-card:focus-within .ipcol-card-excerpt {
    color: rgb(245 244 240 / 0.76) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-content,
html[data-ipcol-color-scheme="dark"] .gh-content :is(p, li, span, em, strong, figcaption, blockquote),
html[data-ipcol-color-scheme="dark"] .entry-content,
html[data-ipcol-color-scheme="dark"] .entry-content :is(p, li, span, em, strong, figcaption, blockquote) {
    color: rgb(245 244 240 / 0.76) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-content :is(h1, h2, h3, h4, h5, h6, b, strong),
html[data-ipcol-color-scheme="dark"] .entry-content :is(h1, h2, h3, h4, h5, h6, b, strong) {
    color: rgb(255 254 250 / 0.92) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-content a,
html[data-ipcol-color-scheme="dark"] .gh-content a:hover,
html[data-ipcol-color-scheme="dark"] .gh-content a:focus,
html[data-ipcol-color-scheme="dark"] .gh-content a:visited {
    color: rgb(255 254 250 / 0.86) !important;
    text-decoration-color: rgb(255 254 250 / 0.22) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card {
    background: rgb(255 255 255 / 0.032) !important;
    border-color: rgb(255 255 255 / 0.070) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-card:focus-within {
    background:
        linear-gradient(90deg, rgb(var(--ipcol-card-accent-rgb) / 0.080), transparent 34%),
        rgb(255 255 255 / 0.045) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments,
html[data-ipcol-color-scheme="dark"] #ghost-comments-root,
html[data-ipcol-color-scheme="dark"] .ghost-comments,
html[data-ipcol-color-scheme="dark"] .ghost-comments-root {
    color-scheme: dark !important;
    color: rgb(245 244 240 / 0.76) !important;
    background: rgb(255 255 255 / 0.030) !important;
    border: 1px solid rgb(255 255 255 / 0.070) !important;
    border-radius: 10px !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments {
    padding: clamp(18px, 3vw, 34px) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments :is(h1, h2, h3, h4, p, span, label, button, input, textarea, a) {
    color: rgb(245 244 240 / 0.78) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments :is(input, textarea) {
    background: rgb(255 255 255 / 0.045) !important;
    border-color: rgb(255 255 255 / 0.11) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments iframe,
html[data-ipcol-color-scheme="dark"] #ghost-comments-root iframe {
    color-scheme: dark !important;
    background: #101213 !important;
    border-radius: 10px !important;
}

html[data-ipcol-color-scheme="dark"] .kg-bookmark-container,
html[data-ipcol-color-scheme="dark"] .kg-toggle-card,
html[data-ipcol-color-scheme="dark"] .kg-callout-card,
html[data-ipcol-color-scheme="dark"] .kg-product-card-container,
html[data-ipcol-color-scheme="dark"] .kg-header-card {
    background: rgb(255 255 255 / 0.040) !important;
    border-color: rgb(255 255 255 / 0.080) !important;
    color: rgb(245 244 240 / 0.76) !important;
}

html[data-ipcol-color-scheme="dark"] .kg-bookmark-title,
html[data-ipcol-color-scheme="dark"] .kg-toggle-heading-text,
html[data-ipcol-color-scheme="dark"] .kg-product-card-title {
    color: rgb(255 254 250 / 0.90) !important;
}

html[data-ipcol-color-scheme="dark"] .kg-bookmark-description,
html[data-ipcol-color-scheme="dark"] .kg-bookmark-metadata,
html[data-ipcol-color-scheme="dark"] .kg-product-card-description {
    color: rgb(245 244 240 / 0.60) !important;
}

@media (max-width: 900px) {
    .ipcol-slogan-dots {
        display: none !important;
    }
}


/* IpCol Hakushi corrective layer: centered slogan field, restrained glass posts, deeper dark mode, and zen menu. */
:root {
    --ipcol-slogan-field-w: min(80vw, 1180px);
    --ipcol-slogan-field-h: clamp(260px, 42vh, 460px);
    --ipcol-dark-paper: #101213;
    --ipcol-dark-paper-2: #151817;
    --ipcol-dark-ink: rgb(245 244 240 / 0.90);
    --ipcol-dark-muted: rgb(245 244 240 / 0.62);
    --ipcol-dark-faint: rgb(245 244 240 / 0.42);
}

.ipcol-hero-stage {
    min-height: clamp(330px, 42vh, 520px) !important;
}

.ipcol-slogan-dots {
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    width: var(--ipcol-slogan-field-w) !important;
    max-width: 80vw !important;
    height: var(--ipcol-slogan-field-h) !important;
    max-height: 54vh !important;
    transform: translate3d(-50%, -50%, 0) !important;
    opacity: 0.68 !important;
    mix-blend-mode: multiply !important;
}

.ipcol-slogan,
.ipcol-slogan:hover,
.ipcol-slogan:focus {
    width: var(--ipcol-slogan-field-w) !important;
    max-width: 80vw !important;
    font-size: clamp(4.2rem, 8.4vw, 12.2rem) !important;
    font-weight: 790 !important;
    letter-spacing: -0.052em !important;
    line-height: 0.93 !important;
    transform: scale(var(--ipcol-slogan-scale, 1)) !important;
}

.ipcol-slogan-line,
.ipcol-slogan-line:first-child,
.ipcol-slogan-line + .ipcol-slogan-line {
    max-width: var(--ipcol-slogan-field-w) !important;
    line-height: 0.93 !important;
    white-space: nowrap !important;
}

.ipcol-slogan-line + .ipcol-slogan-line {
    margin-top: 0.08em !important;
}

.ipcol-slogan:hover,
.ipcol-slogan:focus-visible,
.ipcol-hero-stage.is-dot-active .ipcol-slogan {
    filter: drop-shadow(0 18px 62px rgb(var(--ipcol-soft-cyan) / 0.055)) !important;
}

.home-template .ipcol-card {
    padding: clamp(42px, 5.4vw, 88px) clamp(22px, 3.2vw, 52px) !important;
    border: 1px solid rgb(16 18 19 / 0.026) !important;
    border-top-color: rgb(16 18 19 / 0.040) !important;
    border-radius: 2px !important;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.30), rgb(255 255 255 / 0.105) 52%, rgb(255 255 255 / 0.025)) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px) saturate(1.018) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.018) !important;
}

.home-template .ipcol-card::before {
    inset: 12% 6% !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb) / 0.030), transparent 50%) !important;
    filter: blur(30px) !important;
    opacity: 0 !important;
}

.home-template .ipcol-card::after {
    display: none !important;
    content: none !important;
}

.home-template .ipcol-card:hover,
.home-template .ipcol-card:focus-within {
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.36), rgb(255 255 255 / 0.12) 54%, rgb(var(--ipcol-card-accent-rgb) / 0.018)) !important;
    border-color: rgb(var(--ipcol-card-accent-rgb) / 0.055) !important;
    box-shadow: 0 20px 70px rgb(16 18 19 / 0.035) !important;
}

.home-template .ipcol-card:hover::before,
.home-template .ipcol-card:focus-within::before {
    opacity: 1 !important;
}

.home-template .ipcol-card-image,
.home-template .ipcol-card:hover .ipcol-card-image,
.home-template .ipcol-card:focus-within .ipcol-card-image,
.home-template .ipcol-card.is-linked .ipcol-card-image {
    box-shadow: 0 12px 32px rgb(16 18 19 / 0.040), 0 0 0 1px rgb(16 18 19 / 0.032) !important;
}

.home-template .ipcol-card:hover .ipcol-card-excerpt,
.home-template .ipcol-card:focus-within .ipcol-card-excerpt {
    transform: none !important;
}

.ipcol-zen-menu {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 2px 0 0 !important;
}

.ipcol-zen-menu-toggle {
    position: relative !important;
    display: inline-grid !important;
    width: 38px !important;
    height: 38px !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: rgb(16 18 19 / 0.54) !important;
    cursor: pointer !important;
    list-style: none !important;
    transition: color 220ms ease, background-color 260ms ease, transform 320ms cubic-bezier(.18,.74,.18,1), filter 320ms ease !important;
}

.ipcol-zen-menu-toggle::-webkit-details-marker { display: none !important; }

.ipcol-zen-menu-mark {
    position: relative;
    display: block;
    width: 17px;
    height: 17px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.68;
}

.ipcol-zen-menu-mark::before,
.ipcol-zen-menu-mark::after {
    position: absolute;
    left: 50%;
    width: 1px;
    content: "";
    background: currentColor;
    opacity: 0.52;
    transform: translateX(-50%);
}

.ipcol-zen-menu-mark::before { top: -6px; height: 4px; }
.ipcol-zen-menu-mark::after { bottom: -6px; height: 4px; }

.ipcol-zen-menu[open] .ipcol-zen-menu-toggle,
.ipcol-zen-menu-toggle:hover,
.ipcol-zen-menu-toggle:focus-visible {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.80) !important;
    background: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.055) !important;
    transform: translateY(-1px) !important;
}

.ipcol-zen-menu-panel {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: 0 !important;
    z-index: 1200 !important;
    width: 214px !important;
    padding: 14px 12px !important;
    border: 1px solid rgb(16 18 19 / 0.070) !important;
    border-radius: 2px !important;
    background: rgb(255 255 255 / 0.82) !important;
    box-shadow: 0 26px 90px rgb(16 18 19 / 0.080) !important;
    backdrop-filter: blur(26px) saturate(1.04) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.04) !important;
}

.ipcol-zen-menu-panel::before {
    display: block;
    width: 24px;
    height: 1px;
    margin: 0 auto 11px;
    content: "";
    background: linear-gradient(90deg, transparent, rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.36), transparent);
}

.ipcol-zen-menu-panel a,
.ipcol-zen-menu-panel button {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 2px !important;
    border: 0 !important;
    background: transparent !important;
    color: rgb(16 18 19 / 0.62) !important;
    font-family: var(--font-mono), ui-monospace, monospace !important;
    font-size: 1.04rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.045em !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: color 220ms ease, transform 260ms cubic-bezier(.18,.74,.18,1), opacity 220ms ease !important;
}

.ipcol-zen-menu-panel a::after,
.ipcol-zen-menu-panel button::after {
    width: 5px;
    height: 5px;
    content: "";
    border-radius: 50%;
    background: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.34);
    opacity: 0;
    transform: scale(0.62);
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.18,.74,.18,1) !important;
}

.ipcol-zen-menu-panel a:hover,
.ipcol-zen-menu-panel a:focus-visible,
.ipcol-zen-menu-panel button:hover,
.ipcol-zen-menu-panel button:focus-visible {
    color: rgb(16 18 19 / 0.86) !important;
    transform: translateX(2px) !important;
}

.ipcol-zen-menu-panel a:hover::after,
.ipcol-zen-menu-panel a:focus-visible::after,
.ipcol-zen-menu-panel button:hover::after,
.ipcol-zen-menu-panel button:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.ipcol-zen-menu-rule {
    height: 1px;
    margin: 8px 0;
    background: rgb(16 18 19 / 0.060);
}

html[data-ipcol-color-scheme="dark"] {
    --color-primary-text: var(--ipcol-dark-ink) !important;
    --color-darker-gray: var(--ipcol-dark-ink) !important;
    --color-darkgrey: var(--ipcol-dark-muted) !important;
    --color-secondary-text: var(--ipcol-dark-muted) !important;
    --color-light-gray: rgb(245 244 240 / 0.10) !important;
    --color-lighter-gray: rgb(245 244 240 / 0.06) !important;
    --background-color: var(--ipcol-dark-paper) !important;
}

html[data-ipcol-color-scheme="dark"] body,
html[data-ipcol-color-scheme="dark"] .gh-main,
html[data-ipcol-color-scheme="dark"] .gh-outer,
html[data-ipcol-color-scheme="dark"] .gh-container,
html[data-ipcol-color-scheme="dark"] .gh-article,
html[data-ipcol-color-scheme="dark"] .gh-content,
html[data-ipcol-color-scheme="dark"] .entry-content {
    color: var(--ipcol-dark-muted) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-slogan-dots {
    opacity: 0.46 !important;
    mix-blend-mode: screen !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-hero-stage::after {
    opacity: 0.28 !important;
    background:
        radial-gradient(circle at 40% 42%, rgb(104 135 128 / 0.10), transparent 38%),
        radial-gradient(circle at 62% 55%, rgb(128 137 166 / 0.075), transparent 42%) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card-title,
html[data-ipcol-color-scheme="dark"] .ipcol-card-title a,
html[data-ipcol-color-scheme="dark"] .gh-article-title,
html[data-ipcol-color-scheme="dark"] .gh-container-title,
html[data-ipcol-color-scheme="dark"] .gh-content :is(h1,h2,h3,h4,h5,h6),
html[data-ipcol-color-scheme="dark"] .entry-content :is(h1,h2,h3,h4,h5,h6) {
    color: var(--ipcol-dark-ink) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-card-excerpt,
html[data-ipcol-color-scheme="dark"] .gh-card-excerpt,
html[data-ipcol-color-scheme="dark"] .ipcol-card-meta,
html[data-ipcol-color-scheme="dark"] .gh-card-meta,
html[data-ipcol-color-scheme="dark"] .gh-card-date,
html[data-ipcol-color-scheme="dark"] .gh-card-author,
html[data-ipcol-color-scheme="dark"] .gh-article-excerpt,
html[data-ipcol-color-scheme="dark"] .gh-article-meta,
html[data-ipcol-color-scheme="dark"] .gh-article-meta *,
html[data-ipcol-color-scheme="dark"] .gh-content p,
html[data-ipcol-color-scheme="dark"] .gh-content li,
html[data-ipcol-color-scheme="dark"] .gh-content figcaption,
html[data-ipcol-color-scheme="dark"] .entry-content p,
html[data-ipcol-color-scheme="dark"] .entry-content li,
html[data-ipcol-color-scheme="dark"] .entry-content figcaption {
    color: var(--ipcol-dark-muted) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-new-label {
    color: rgb(245 244 240 / 0.64) !important;
    border-color: rgb(245 244 240 / 0.24) !important;
    background: rgb(245 244 240 / 0.060) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card {
    border-color: rgb(245 244 240 / 0.038) !important;
    border-top-color: rgb(245 244 240 / 0.055) !important;
    background:
        linear-gradient(135deg, rgb(245 244 240 / 0.030), rgb(245 244 240 / 0.014) 54%, rgb(104 135 128 / 0.018)) !important;
    box-shadow: none !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:hover,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:focus-within {
    border-color: rgb(var(--ipcol-card-accent-rgb) / 0.10) !important;
    background:
        linear-gradient(135deg, rgb(245 244 240 / 0.045), rgb(245 244 240 / 0.018) 56%, rgb(var(--ipcol-card-accent-rgb) / 0.026)) !important;
    box-shadow: 0 20px 76px rgb(0 0 0 / 0.14) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card-image,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:hover .ipcol-card-image,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:focus-within .ipcol-card-image {
    box-shadow: 0 12px 34px rgb(0 0 0 / 0.18), 0 0 0 1px rgb(245 244 240 / 0.045) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-post-tag,
html[data-ipcol-color-scheme="dark"] .ipcol-post-tag span,
html[data-ipcol-color-scheme="dark"] .ipcol-card-tags,
html[data-ipcol-color-scheme="dark"] .ipcol-article-tags {
    color: rgb(245 244 240 / 0.70) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-panel,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel,
html[data-ipcol-color-scheme="dark"] .ipcol-privacy-panel {
    border-color: rgb(245 244 240 / 0.080) !important;
    background: rgb(16 18 19 / 0.82) !important;
    box-shadow: 0 28px 90px rgb(0 0 0 / 0.24) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-button,
html[data-ipcol-color-scheme="dark"] .ipcol-share-button.gh-button,
html[data-ipcol-color-scheme="dark"] .gh-button-share.ipcol-share-button,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-toggle,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button {
    color: rgb(245 244 240 / 0.66) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-button:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-share-button:focus-visible,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu[open] .ipcol-zen-menu-toggle,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-toggle:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-toggle:focus-visible,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a:focus-visible,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button:focus-visible {
    color: rgb(255 254 250 / 0.90) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-rule {
    background: rgb(245 244 240 / 0.075) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments {
    padding: clamp(18px, 3vw, 34px) !important;
    border: 1px solid rgb(245 244 240 / 0.075) !important;
    border-radius: 12px !important;
    background: rgb(245 244 240 / 0.026) !important;
    color: var(--ipcol-dark-muted) !important;
    color-scheme: dark !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments iframe {
    width: 100% !important;
    border-radius: 10px !important;
    background: #efefef !important;
    color-scheme: light !important;
    filter: invert(1) hue-rotate(180deg) saturate(0.86) contrast(0.94) brightness(0.92) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments :is(input, textarea, button, select),
html[data-ipcol-color-scheme="dark"] #ghost-comments-root :is(input, textarea, button, select),
html[data-ipcol-color-scheme="dark"] .ghost-comments :is(input, textarea, button, select) {
    color: rgb(255 254 250 / 0.84) !important;
    background: rgb(245 244 240 / 0.065) !important;
    border-color: rgb(245 244 240 / 0.12) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments :is(p,span,div,label,a,button,textarea,input),
html[data-ipcol-color-scheme="dark"] #ghost-comments-root :is(p,span,div,label,a,button,textarea,input),
html[data-ipcol-color-scheme="dark"] .ghost-comments :is(p,span,div,label,a,button,textarea,input) {
    color: rgb(245 244 240 / 0.76) !important;
}

@media (min-width: 901px) and (max-width: 1280px) {
    .ipcol-slogan,
    .ipcol-slogan:hover,
    .ipcol-slogan:focus {
        font-size: clamp(3.9rem, 7.6vw, 9.8rem) !important;
    }
}

@media (max-width: 900px) {
    .ipcol-slogan,
    .ipcol-slogan:hover,
    .ipcol-slogan:focus {
        width: min(86vw, 720px) !important;
        max-width: 86vw !important;
        font-size: clamp(3.0rem, 12vw, 6.2rem) !important;
        letter-spacing: -0.040em !important;
    }

    .ipcol-slogan-line,
    .ipcol-slogan-line:first-child,
    .ipcol-slogan-line + .ipcol-slogan-line {
        max-width: 86vw !important;
    }

    .ipcol-zen-menu-panel {
        right: -48px !important;
        width: min(230px, calc(100vw - 30px)) !important;
    }
}


/* IpCol Hakushi dark navigation fade correction. */
html[data-ipcol-color-scheme="dark"] .ipcol-navigation::after,
html[data-ipcol-color-scheme="dark"] .gh-navigation::after {
    background: linear-gradient(to bottom, rgb(16 18 19 / 0.60), rgb(16 18 19 / 0)) !important;
}

/* IpCol Hakushi v1.1 layer: full-width dots, high-priority Ghost menu, calmer transparent cards, stronger dark bridge. */
:root {
    --ipcol-slogan-field-w: min(100vw, 1760px);
    --ipcol-slogan-text-w: min(82vw, 1240px);
    --ipcol-menu-z: 10020;
}

.ipcol-navigation,
.gh-navigation {
    z-index: 5000 !important;
}

.gh-navigation-actions,
.ipcol-zen-menu,
.ipcol-zen-menu-panel {
    z-index: var(--ipcol-menu-z) !important;
}

html.ipcol-menu-open .ipcol-slogan,
html.ipcol-menu-open .ipcol-slogan * {
    pointer-events: none !important;
}

.ipcol-slogan-dots {
    top: 50% !important;
    left: 50% !important;
    width: min(100vw, 1760px) !important;
    max-width: 100vw !important;
    height: clamp(260px, 46vh, 520px) !important;
    max-height: 58vh !important;
    transform: translate3d(-50%, -50%, 0) !important;
    opacity: 0.74 !important;
    pointer-events: none !important;
}

.ipcol-slogan,
.ipcol-slogan:hover,
.ipcol-slogan:focus {
    width: var(--ipcol-slogan-text-w) !important;
    max-width: 82vw !important;
    font-size: clamp(3.8rem, 8.0vw, 11.6rem) !important;
    letter-spacing: -0.046em !important;
    line-height: 0.94 !important;
}

.ipcol-slogan-line,
.ipcol-slogan-line:first-child,
.ipcol-slogan-line + .ipcol-slogan-line {
    max-width: var(--ipcol-slogan-text-w) !important;
    line-height: 0.94 !important;
}

.ipcol-zen-menu {
    isolation: isolate !important;
    pointer-events: auto !important;
}

.ipcol-zen-menu-toggle {
    overflow: hidden !important;
    backdrop-filter: blur(12px) saturate(1.02) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.02) !important;
}

.ipcol-zen-menu-toggle::before {
    position: absolute;
    inset: 8px;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.10), transparent 68%);
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 260ms ease, transform 360ms cubic-bezier(.18,.74,.18,1);
}

.ipcol-zen-menu[open] .ipcol-zen-menu-toggle::before,
.ipcol-zen-menu-toggle:hover::before,
.ipcol-zen-menu-toggle:focus-visible::before {
    opacity: 1;
    transform: scale(1.18);
}

.ipcol-zen-menu[open] .ipcol-zen-menu-mark {
    animation: ipcol-zen-breath 920ms cubic-bezier(.18,.74,.18,1) both;
}

@keyframes ipcol-zen-breath {
    0% { transform: scale(0.88) rotate(-10deg); opacity: 0.44; }
    45% { transform: scale(1.10) rotate(8deg); opacity: 0.86; }
    100% { transform: scale(1) rotate(0deg); opacity: 0.74; }
}

.ipcol-zen-menu-panel {
    width: 258px !important;
    padding: 13px 14px 15px !important;
    border-radius: 14px 2px 14px 14px !important;
    pointer-events: auto !important;
    transform-origin: top right !important;
    animation: ipcol-menu-enter 220ms cubic-bezier(.18,.74,.18,1) both !important;
}

@keyframes ipcol-menu-enter {
    0% { opacity: 0; transform: translate3d(0, -8px, 0) scale(0.975); filter: blur(4px); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

.ipcol-zen-menu-title {
    margin: 1px 0 7px !important;
    color: rgb(16 18 19 / 0.32) !important;
    font-family: var(--font-mono), ui-monospace, monospace !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.ipcol-zen-menu-panel a,
.ipcol-zen-menu-panel button {
    min-height: 30px !important;
    padding: 7px 3px !important;
    gap: 14px !important;
    border-radius: 8px !important;
}

.ipcol-zen-menu-panel a > span,
.ipcol-zen-menu-panel button > span {
    margin-left: auto !important;
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.64) !important;
    font-family: var(--font-serif), Georgia, serif !important;
    font-size: 1.04rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.ipcol-zen-menu-panel a:hover,
.ipcol-zen-menu-panel a:focus-visible,
.ipcol-zen-menu-panel button:hover,
.ipcol-zen-menu-panel button:focus-visible {
    background: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.040) !important;
    transform: translateX(3px) !important;
}

.ipcol-zen-menu-panel a::after,
.ipcol-zen-menu-panel button::after {
    display: none !important;
}

.home-template .gh-container,
.home-template .gh-container-inner,
.home-template .gh-main,
.home-template .gh-feed {
    background: transparent !important;
}

.home-template .ipcol-card {
    border: 0 !important;
    border-radius: 18px 2px 18px 18px !important;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.24), rgb(255 255 255 / 0.075) 58%, rgb(255 255 255 / 0.018)) !important;
    box-shadow:
        inset 0 0 0 1px rgb(16 18 19 / 0.024),
        0 18px 58px rgb(16 18 19 / 0.020) !important;
    backdrop-filter: blur(16px) saturate(1.01) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.01) !important;
}

.home-template .ipcol-card::before {
    inset: 18% 12% !important;
    background: radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb) / 0.020), transparent 54%) !important;
    filter: blur(24px) !important;
}

.home-template .ipcol-card:hover,
.home-template .ipcol-card:focus-within {
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.28), rgb(255 255 255 / 0.085) 58%, rgb(var(--ipcol-card-accent-rgb) / 0.012)) !important;
    box-shadow:
        inset 0 0 0 1px rgb(var(--ipcol-card-accent-rgb) / 0.050),
        0 18px 58px rgb(16 18 19 / 0.028) !important;
}

.home-template .ipcol-card-image,
.home-template .ipcol-card:hover .ipcol-card-image,
.home-template .ipcol-card:focus-within .ipcol-card-image,
.home-template .ipcol-card.is-linked .ipcol-card-image {
    box-shadow: inset 0 0 0 1px rgb(16 18 19 / 0.025) !important;
}

html[data-ipcol-color-scheme="dark"] {
    --color-white: #101213 !important;
    --color-black: #fffefa !important;
    --color-primary-text: rgb(255 254 250 / 0.90) !important;
    --color-secondary-text: rgb(245 244 240 / 0.64) !important;
    --color-darker-gray: rgb(255 254 250 / 0.88) !important;
    --color-dark-gray: rgb(245 244 240 / 0.68) !important;
    --color-mid-gray: rgb(245 244 240 / 0.42) !important;
    --color-light-gray: rgb(245 244 240 / 0.12) !important;
    --color-lighter-gray: rgb(245 244 240 / 0.070) !important;
    --color-border: rgb(245 244 240 / 0.095) !important;
    --ipcol-paper: #101213 !important;
    --ipcol-ink: rgb(255 254 250 / 0.90) !important;
    --ipcol-muted: rgb(245 244 240 / 0.66) !important;
    --ipcol-glass: rgb(245 244 240 / 0.045) !important;
}

html[data-ipcol-color-scheme="dark"] :where(.gh-viewport, .gh-main, .gh-container, .gh-container-inner, .gh-article, .gh-content, .entry-content, .gh-canvas, .gh-outer) {
    color-scheme: dark !important;
}

html[data-ipcol-color-scheme="dark"] :where(.gh-article-title, .gh-container-title, .ipcol-card-title, .ipcol-card-title a, .gh-content h1, .gh-content h2, .gh-content h3, .gh-content h4, .gh-content h5, .gh-content h6, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6) {
    color: rgb(255 254 250 / 0.91) !important;
}

html[data-ipcol-color-scheme="dark"] :where(.ipcol-card-excerpt, .gh-card-excerpt, .ipcol-card-meta, .gh-card-meta, .gh-card-date, .gh-card-author, .gh-article-excerpt, .gh-article-meta, .gh-article-meta *, .gh-content p, .gh-content li, .gh-content figcaption, .entry-content p, .entry-content li, .entry-content figcaption, .kg-bookmark-description, .kg-bookmark-metadata) {
    color: rgb(245 244 240 / 0.68) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card {
    border: 0 !important;
    background:
        linear-gradient(135deg, rgb(245 244 240 / 0.030), rgb(245 244 240 / 0.012) 58%, rgb(104 135 128 / 0.010)) !important;
    box-shadow:
        inset 0 0 0 1px rgb(245 244 240 / 0.030),
        0 20px 70px rgb(0 0 0 / 0.080) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:hover,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:focus-within {
    background:
        linear-gradient(135deg, rgb(245 244 240 / 0.038), rgb(245 244 240 / 0.016) 58%, rgb(var(--ipcol-card-accent-rgb) / 0.016)) !important;
    box-shadow:
        inset 0 0 0 1px rgb(var(--ipcol-card-accent-rgb) / 0.075),
        0 20px 70px rgb(0 0 0 / 0.10) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card::before {
    background: radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb) / 0.026), transparent 58%) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-preview,
html[data-ipcol-color-scheme="dark"] .ipcol-share-panel {
    border-color: rgb(245 244 240 / 0.075) !important;
    background: rgb(16 18 19 / 0.72) !important;
    color: rgb(245 244 240 / 0.74) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-preview :where(canvas, img) {
    filter: invert(1) hue-rotate(180deg) saturate(0.72) contrast(0.90) brightness(0.88) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-title {
    color: rgb(245 244 240 / 0.38) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a > span,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button > span {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.82) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments,
html[data-ipcol-color-scheme="dark"] #ghost-comments-root,
html[data-ipcol-color-scheme="dark"] .ghost-comments,
html[data-ipcol-color-scheme="dark"] .ghost-comments-root,
html[data-ipcol-color-scheme="dark"] [data-ghost-comments] {
    opacity: 1 !important;
    color-scheme: dark !important;
    color: rgb(245 244 240 / 0.78) !important;
    background: rgb(245 244 240 / 0.022) !important;
    border-color: rgb(245 244 240 / 0.075) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments :where(*:not(img):not(video):not(canvas):not(svg):not(path)),
html[data-ipcol-color-scheme="dark"] #ghost-comments-root :where(*:not(img):not(video):not(canvas):not(svg):not(path)),
html[data-ipcol-color-scheme="dark"] .ghost-comments :where(*:not(img):not(video):not(canvas):not(svg):not(path)) {
    color: rgb(245 244 240 / 0.80) !important;
    border-color: rgb(245 244 240 / 0.11) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments :where(input, textarea, select),
html[data-ipcol-color-scheme="dark"] #ghost-comments-root :where(input, textarea, select),
html[data-ipcol-color-scheme="dark"] .ghost-comments :where(input, textarea, select) {
    background: rgb(255 254 250 / 0.075) !important;
    color: rgb(255 254 250 / 0.88) !important;
    caret-color: rgb(255 254 250 / 0.92) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments :where(button),
html[data-ipcol-color-scheme="dark"] #ghost-comments-root :where(button),
html[data-ipcol-color-scheme="dark"] .ghost-comments :where(button) {
    background: rgb(255 254 250 / 0.080) !important;
    color: rgb(255 254 250 / 0.88) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments iframe,
html[data-ipcol-color-scheme="dark"] #ghost-comments-root iframe,
html[data-ipcol-color-scheme="dark"] iframe[data-ipcol-dark-bridge="true"] {
    background: #101213 !important;
    filter: invert(1) hue-rotate(180deg) saturate(0.80) contrast(0.94) brightness(0.98) !important;
}

@media (max-width: 900px) {
    .ipcol-slogan-dots {
        display: none !important;
    }

    .ipcol-slogan,
    .ipcol-slogan:hover,
    .ipcol-slogan:focus {
        width: min(88vw, 760px) !important;
        max-width: 88vw !important;
    }
}

/* IpCol Hakushi v1.0 consolidated cleanup: menu, dots, transparent feed cards, and dark bridge. */
.ipcol-slogan-dots {
    inset: auto !important;
    top: 50% !important;
    left: 50% !important;
    width: min(100vw, 2048px) !important;
    height: min(62vh, 560px) !important;
    transform: translate3d(-50%, -50%, 0) !important;
    opacity: 0.82 !important;
    pointer-events: none !important;
}

.ipcol-slogan,
.ipcol-slogan:hover,
.ipcol-slogan:focus {
    width: min(82vw, 1240px) !important;
    max-width: min(82vw, 1240px) !important;
    font-size: clamp(4.2rem, 9.2vw, 14rem) !important;
    letter-spacing: -0.066em !important;
}

.ipcol-slogan-line,
.ipcol-slogan-line:first-child,
.ipcol-slogan-line + .ipcol-slogan-line {
    max-width: min(82vw, 1240px) !important;
}

.ipcol-navigation,
.gh-navigation {
    z-index: 100000 !important;
}

.gh-navigation-actions {
    gap: 10px !important;
}

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

.ipcol-zen-menu {
    position: relative !important;
    z-index: 100020 !important;
}

.ipcol-zen-menu-toggle {
    width: 34px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    list-style: none !important;
}

.ipcol-zen-menu-toggle::-webkit-details-marker { display: none !important; }

.ipcol-zen-menu-mark {
    position: relative !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    border: 1px solid currentColor !important;
    color: rgb(16 18 19 / 0.48) !important;
    transform: scale(0.82) rotate(-18deg) !important;
    transition: transform 280ms cubic-bezier(.18,.74,.18,1), color 220ms ease, opacity 220ms ease !important;
}

.ipcol-zen-menu-mark::before,
.ipcol-zen-menu-mark::after {
    position: absolute !important;
    content: "" !important;
    border-radius: 999px !important;
    background: currentColor !important;
    opacity: 0.74 !important;
}

.ipcol-zen-menu-mark::before {
    width: 8px !important;
    height: 1px !important;
    left: 4px !important;
    top: 7px !important;
}

.ipcol-zen-menu-mark::after {
    width: 1px !important;
    height: 8px !important;
    left: 7px !important;
    top: 4px !important;
}

.ipcol-zen-menu[open] .ipcol-zen-menu-mark,
.ipcol-zen-menu-toggle:hover .ipcol-zen-menu-mark,
.ipcol-zen-menu-toggle:focus-visible .ipcol-zen-menu-mark {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.82) !important;
    transform: scale(1) rotate(0deg) !important;
}

.ipcol-zen-menu-toggle::before,
.ipcol-zen-menu-toggle:hover::before,
.ipcol-zen-menu-toggle:focus-visible::before,
.ipcol-zen-menu[open] .ipcol-zen-menu-toggle::before {
    background: transparent !important;
    box-shadow: none !important;
}

.ipcol-zen-menu-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    z-index: 100030 !important;
    width: min(270px, calc(100vw - 28px)) !important;
    padding: 14px 16px 15px !important;
    border: 1px solid rgb(16 18 19 / 0.075) !important;
    border-radius: 18px 4px 18px 18px !important;
    background: rgb(255 255 255 / 0.82) !important;
    box-shadow: 0 22px 80px rgb(16 18 19 / 0.075) !important;
    backdrop-filter: blur(20px) saturate(1.05) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.05) !important;
}

.ipcol-zen-menu-title {
    margin: 0 0 10px !important;
    color: rgb(16 18 19 / 0.34) !important;
    font-family: var(--font-mono), ui-monospace, monospace !important;
    font-size: 0.92rem !important;
    font-weight: 680 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

.ipcol-zen-menu-rule {
    height: 1px !important;
    margin: 8px 0 !important;
    background: linear-gradient(90deg, transparent, rgb(16 18 19 / 0.10), transparent) !important;
}

.ipcol-zen-menu-panel a,
.ipcol-zen-menu-panel button {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 33px !important;
    align-items: center !important;
    padding: 7px 0 7px 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgb(16 18 19 / 0.66) !important;
    font-family: var(--font-mono), ui-monospace, monospace !important;
    font-size: 1.04rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.045em !important;
    text-align: left !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: color 180ms ease, transform 260ms cubic-bezier(.18,.74,.18,1), letter-spacing 260ms ease !important;
}

.ipcol-zen-menu-panel a > span,
.ipcol-zen-menu-panel button > span {
    display: none !important;
}

.ipcol-zen-menu-panel a::before,
.ipcol-zen-menu-panel button::before {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 5px !important;
    height: 5px !important;
    content: "" !important;
    border-radius: 50% !important;
    background: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.62) !important;
    transform: translate3d(0, -50%, 0) scale(0.55) !important;
    opacity: 0.38 !important;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.18,.74,.18,1), box-shadow 260ms ease !important;
}

.ipcol-zen-menu-panel a::after,
.ipcol-zen-menu-panel button::after {
    position: absolute !important;
    left: 16px !important;
    right: 0 !important;
    bottom: 4px !important;
    display: block !important;
    height: 1px !important;
    content: "" !important;
    background: linear-gradient(90deg, rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.28), transparent 76%) !important;
    transform: scaleX(0) !important;
    transform-origin: left center !important;
    transition: transform 300ms cubic-bezier(.18,.74,.18,1) !important;
}

.ipcol-zen-menu-panel a:hover,
.ipcol-zen-menu-panel a:focus-visible,
.ipcol-zen-menu-panel button:hover,
.ipcol-zen-menu-panel button:focus-visible {
    background: transparent !important;
    color: rgb(16 18 19 / 0.90) !important;
    transform: translateX(3px) !important;
    letter-spacing: 0.065em !important;
}

.ipcol-zen-menu-panel a:hover::before,
.ipcol-zen-menu-panel a:focus-visible::before,
.ipcol-zen-menu-panel button:hover::before,
.ipcol-zen-menu-panel button:focus-visible::before {
    opacity: 0.92 !important;
    transform: translate3d(0, -50%, 0) scale(1) !important;
    box-shadow: 0 0 0 3px rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.09) !important;
}

.ipcol-zen-menu-panel a:hover::after,
.ipcol-zen-menu-panel a:focus-visible::after,
.ipcol-zen-menu-panel button:hover::after,
.ipcol-zen-menu-panel button:focus-visible::after {
    transform: scaleX(1) !important;
}

.home-template .ipcol-card {
    border: 0 !important;
    border-radius: 22px 2px 22px 22px !important;
    background: linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.025) 62%, transparent) !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) saturate(1.01) !important;
    -webkit-backdrop-filter: blur(10px) saturate(1.01) !important;
}

.home-template .ipcol-card::after {
    display: none !important;
}

.home-template .ipcol-card::before {
    inset: 22% 9% !important;
    background: radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.022), transparent 58%) !important;
    opacity: 0 !important;
    filter: blur(20px) !important;
}

.home-template .ipcol-card:hover,
.home-template .ipcol-card:focus-within,
.home-template .ipcol-card.is-linked {
    background: linear-gradient(135deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.036) 62%, rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.010)) !important;
    box-shadow: none !important;
}

.home-template .ipcol-card:hover::before,
.home-template .ipcol-card:focus-within::before,
.home-template .ipcol-card.is-linked::before {
    opacity: 1 !important;
}

.home-template .ipcol-card-image,
.home-template .ipcol-card:hover .ipcol-card-image,
.home-template .ipcol-card:focus-within .ipcol-card-image,
.home-template .ipcol-card.is-linked .ipcol-card-image {
    box-shadow: none !important;
    outline: 1px solid rgb(16 18 19 / 0.026) !important;
    outline-offset: -1px !important;
}

.home-template .ipcol-card-title a {
    text-decoration: none !important;
    background: linear-gradient(90deg, currentColor, currentColor) 0 100% / 0 1px no-repeat !important;
    transition: color 220ms ease, background-size 320ms cubic-bezier(.18,.74,.18,1) !important;
}

.home-template .ipcol-card:hover .ipcol-card-title a,
.home-template .ipcol-card:focus-within .ipcol-card-title a,
.home-template .ipcol-card.is-linked .ipcol-card-title a {
    background-size: 100% 1px !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-mark {
    color: rgb(245 244 240 / 0.58) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel {
    border-color: rgb(245 244 240 / 0.095) !important;
    background: rgb(16 18 19 / 0.84) !important;
    box-shadow: 0 22px 86px rgb(0 0 0 / 0.32) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-title {
    color: rgb(245 244 240 / 0.42) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-rule {
    background: linear-gradient(90deg, transparent, rgb(245 244 240 / 0.13), transparent) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button {
    color: rgb(245 244 240 / 0.70) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a:focus-visible,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button:hover,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button:focus-visible {
    color: rgb(255 254 250 / 0.94) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card {
    background: linear-gradient(135deg, rgb(245 244 240 / 0.026), rgb(245 244 240 / 0.010) 62%, transparent) !important;
    box-shadow: none !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:hover,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:focus-within,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card.is-linked {
    background: linear-gradient(135deg, rgb(245 244 240 / 0.036), rgb(245 244 240 / 0.014) 62%, rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.012)) !important;
    box-shadow: none !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card-image,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:hover .ipcol-card-image,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:focus-within .ipcol-card-image,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card.is-linked .ipcol-card-image {
    outline-color: rgb(245 244 240 / 0.045) !important;
}

html[data-ipcol-color-scheme="dark"] :where(.ipcol-post-tag, .ipcol-friend-links, .ipcol-friend-links a, .ipcol-card-excerpt, .gh-card-excerpt, .ipcol-card-meta, .gh-card-meta, .gh-card-date, .gh-card-author, .gh-article-excerpt, .gh-article-meta, .gh-article-meta *, .gh-content, .gh-content p, .gh-content li, .entry-content, .entry-content p, .entry-content li, .kg-bookmark-description, .kg-bookmark-metadata) {
    color: rgb(245 244 240 / 0.72) !important;
}

html[data-ipcol-color-scheme="dark"] :where(.ipcol-card-title, .ipcol-card-title a, .gh-article-title, .gh-container-title, .gh-content h1, .gh-content h2, .gh-content h3, .gh-content h4, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4) {
    color: rgb(255 254 250 / 0.92) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-new-label {
    color: rgb(255 254 250 / 0.68) !important;
    border-color: rgb(255 254 250 / 0.26) !important;
    background: rgb(255 254 250 / 0.055) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-preview :where(canvas, img) {
    filter: none !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments,
html[data-ipcol-color-scheme="dark"] #ghost-comments-root,
html[data-ipcol-color-scheme="dark"] .ghost-comments,
html[data-ipcol-color-scheme="dark"] .ghost-comments-root,
html[data-ipcol-color-scheme="dark"] [data-ghost-comments] {
    color-scheme: dark !important;
    color: rgb(245 244 240 / 0.80) !important;
    background: rgb(245 244 240 / 0.018) !important;
    border-color: rgb(245 244 240 / 0.10) !important;
}

html[data-ipcol-color-scheme="dark"] .gh-comments iframe,
html[data-ipcol-color-scheme="dark"] #ghost-comments-root iframe,
html[data-ipcol-color-scheme="dark"] iframe[data-ipcol-dark-bridge="true"] {
    color-scheme: dark !important;
    background: #101213 !important;
    filter: none !important;
}

/* IpCol Hakushi v1.1 final pass: visitor-only menu, reusable privacy menu, exact pointer dots, transparent feed, and admin-route safety. */
:root {
    --ipcol-menu-z: 100020;
    --ipcol-panel-bg: rgb(255 255 255 / 0.84);
    --ipcol-panel-border: rgb(16 18 19 / 0.070);
    --ipcol-panel-text: rgb(16 18 19 / 0.66);
    --ipcol-panel-strong: rgb(16 18 19 / 0.90);
}

.ipcol-navigation,
.gh-navigation,
.gh-navigation-inner,
.gh-navigation-actions,
.ipcol-zen-menu,
.ipcol-zen-menu-panel {
    z-index: var(--ipcol-menu-z) !important;
}

.ipcol-zen-menu-panel {
    background: var(--ipcol-panel-bg) !important;
    border-color: var(--ipcol-panel-border) !important;
}

.ipcol-zen-menu-title,
.ipcol-zen-menu-panel [aria-hidden="true"]:not(.ipcol-tag-dot):not(.ipcol-zen-menu-mark) {
    display: none !important;
}

.ipcol-zen-menu-toggle,
.ipcol-zen-menu-toggle:hover,
.ipcol-zen-menu-toggle:focus-visible,
.ipcol-zen-menu[open] .ipcol-zen-menu-toggle {
    background: transparent !important;
    box-shadow: none !important;
}

.ipcol-zen-menu-panel a,
.ipcol-zen-menu-panel button,
.ipcol-privacy-button {
    color: var(--ipcol-panel-text) !important;
}

.ipcol-zen-menu-panel a:hover,
.ipcol-zen-menu-panel a:focus-visible,
.ipcol-zen-menu-panel button:hover,
.ipcol-zen-menu-panel button:focus-visible,
.ipcol-privacy-button:hover,
.ipcol-privacy-button:focus-visible {
    background: transparent !important;
    color: var(--ipcol-panel-strong) !important;
}

.ipcol-privacy-menu {
    position: relative !important;
    display: inline-flex !important;
    align-items: flex-start !important;
    z-index: var(--ipcol-menu-z) !important;
}

.ipcol-privacy-button {
    list-style: none !important;
    cursor: pointer !important;
}

.ipcol-privacy-button::-webkit-details-marker { display: none !important; }

.ipcol-privacy-menu .ipcol-zen-menu-panel {
    top: auto !important;
    right: auto !important;
    bottom: calc(100% + 12px) !important;
    left: 0 !important;
    width: min(320px, calc(100vw - 32px)) !important;
    padding: 15px 16px 16px !important;
    border-radius: 18px 18px 18px 4px !important;
}

.ipcol-privacy-copy,
.ipcol-privacy-state {
    margin: 0 0 10px !important;
    color: rgb(16 18 19 / 0.52) !important;
    font-family: var(--font-mono), ui-monospace, monospace !important;
    font-size: 1.02rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0.02em !important;
}

.ipcol-privacy-state {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.72) !important;
}

.ipcol-slogan-dots {
    width: 100vw !important;
    max-width: 100vw !important;
    height: min(64vh, 580px) !important;
    opacity: 0.84 !important;
}

.home-template .ipcol-card {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background:
        radial-gradient(circle at 12% 18%, rgb(255 255 255 / 0.10), transparent 34%),
        linear-gradient(135deg, rgb(255 255 255 / 0.090), rgb(255 255 255 / 0.020) 62%, transparent) !important;
}

.home-template .ipcol-card:hover,
.home-template .ipcol-card:focus-within,
.home-template .ipcol-card.is-linked {
    box-shadow: none !important;
    background:
        radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.025), transparent 34%),
        linear-gradient(135deg, rgb(255 255 255 / 0.120), rgb(255 255 255 / 0.026) 62%, rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.008)) !important;
}

.home-template .ipcol-card::before {
    opacity: 0 !important;
}

.home-template .ipcol-card:hover::before,
.home-template .ipcol-card:focus-within::before,
.home-template .ipcol-card.is-linked::before {
    opacity: 0.78 !important;
}

html[data-ipcol-color-scheme="dark"] {
    --ipcol-panel-bg: rgb(16 18 19 / 0.86);
    --ipcol-panel-border: rgb(245 244 240 / 0.090);
    --ipcol-panel-text: rgb(245 244 240 / 0.70);
    --ipcol-panel-strong: rgb(255 254 250 / 0.94);
}

html[data-ipcol-color-scheme="dark"] body,
html[data-ipcol-color-scheme="dark"] .gh-viewport {
    background: #101213 !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-navigation,
html[data-ipcol-color-scheme="dark"] .gh-navigation,
html[data-ipcol-color-scheme="dark"] .gh-footer {
    background: rgb(16 18 19 / 0.72) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-copy,
html[data-ipcol-color-scheme="dark"] .ipcol-privacy-state {
    color: rgb(245 244 240 / 0.64) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-state {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.86) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card {
    background:
        radial-gradient(circle at 12% 18%, rgb(245 244 240 / 0.018), transparent 34%),
        linear-gradient(135deg, rgb(245 244 240 / 0.020), rgb(245 244 240 / 0.006) 62%, transparent) !important;
    box-shadow: none !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:hover,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:focus-within,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card.is-linked {
    background:
        radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.026), transparent 34%),
        linear-gradient(135deg, rgb(245 244 240 / 0.026), rgb(245 244 240 / 0.008) 62%, rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.010)) !important;
    box-shadow: none !important;
}

html[data-ipcol-color-scheme="dark"] :where(.kg-card, .kg-callout-card, .kg-toggle-card, .kg-bookmark-container, .kg-product-card-container, .kg-header-card, .gh-comments, [data-ghost-comments]) {
    color-scheme: dark !important;
}

@media (max-width: 900px) {
    .ipcol-privacy-menu .ipcol-zen-menu-panel {
        left: 0 !important;
        width: min(300px, calc(100vw - 30px)) !important;
    }
}

/* IpCol Hakushi v1.2 refinement: shared menus, real privacy state, corrected dot tracking, and quieter glass cards. */
.ipcol-slogan-dots {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: var(--ipcol-slogan-field-w, 100vw) !important;
    height: var(--ipcol-slogan-field-h, 54vh) !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate3d(-50%, -50%, 0) !important;
    will-change: contents !important;
}

.ipcol-hero-stage.is-dot-active::after {
    opacity: 0.48 !important;
    filter: blur(46px) saturate(1.04) !important;
}

.ipcol-zen-menu[open] .ipcol-zen-menu-toggle,
.ipcol-zen-menu-toggle:hover,
.ipcol-zen-menu-toggle:focus-visible {
    background: transparent !important;
    filter: drop-shadow(0 0 12px rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.10)) !important;
}

.ipcol-zen-menu-panel a,
.ipcol-zen-menu-panel button {
    position: relative !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.ipcol-zen-menu-panel a::before,
.ipcol-zen-menu-panel button::before {
    display: inline-block;
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    content: "";
    border-radius: 50%;
    background: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.34);
    opacity: 0.34;
    transform: scale(0.78);
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.18,.74,.18,1), box-shadow 260ms ease !important;
}

.ipcol-zen-menu-panel a::after,
.ipcol-zen-menu-panel button::after {
    position: absolute;
    right: 2px;
    bottom: 5px;
    width: 0;
    height: 1px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.34), transparent);
    opacity: 0;
    transition: width 280ms cubic-bezier(.18,.74,.18,1), opacity 220ms ease !important;
}

.ipcol-zen-menu-panel a:hover,
.ipcol-zen-menu-panel a:focus-visible,
.ipcol-zen-menu-panel button:hover,
.ipcol-zen-menu-panel button:focus-visible {
    background: transparent !important;
    transform: translateX(3px) !important;
}

.ipcol-zen-menu-panel a:hover::before,
.ipcol-zen-menu-panel a:focus-visible::before,
.ipcol-zen-menu-panel button:hover::before,
.ipcol-zen-menu-panel button:focus-visible::before {
    opacity: 0.88;
    transform: scale(1);
    box-shadow: 0 0 14px rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.18);
}

.ipcol-zen-menu-panel a:hover::after,
.ipcol-zen-menu-panel a:focus-visible::after,
.ipcol-zen-menu-panel button:hover::after,
.ipcol-zen-menu-panel button:focus-visible::after {
    width: 28px;
    opacity: 1;
}

.ipcol-privacy-menu {
    position: relative !important;
}

.ipcol-privacy-menu .ipcol-zen-menu-panel,
.ipcol-privacy-panel {
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(100% + 12px) !important;
    left: 0 !important;
    width: min(342px, calc(100vw - 32px)) !important;
}

.ipcol-privacy-button::-webkit-details-marker { display: none !important; }

.ipcol-privacy-probe {
    margin: -4px 0 12px !important;
    color: rgb(16 18 19 / 0.40) !important;
    font-family: var(--font-mono), ui-monospace, monospace !important;
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
}

.ipcol-privacy-state {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.72) !important;
}

.home-template .ipcol-card {
    border: 0 !important;
    outline: 0 !important;
    background:
        radial-gradient(circle at 14% 16%, rgb(255 255 255 / 0.080), transparent 33%),
        linear-gradient(135deg, rgb(255 255 255 / 0.070), rgb(255 255 255 / 0.014) 64%, transparent) !important;
    box-shadow: none !important;
    backdrop-filter: blur(16px) saturate(1.012) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.012) !important;
}

.home-template .ipcol-card:hover,
.home-template .ipcol-card:focus-within,
.home-template .ipcol-card.is-linked {
    background:
        radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.022), transparent 35%),
        linear-gradient(135deg, rgb(255 255 255 / 0.090), rgb(255 255 255 / 0.020) 64%, rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.006)) !important;
    box-shadow: 0 18px 58px rgb(16 18 19 / 0.018) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-privacy-probe {
    color: rgb(245 244 240 / 0.46) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card {
    border: 0 !important;
    background:
        radial-gradient(circle at 14% 16%, rgb(245 244 240 / 0.014), transparent 33%),
        linear-gradient(135deg, rgb(245 244 240 / 0.016), rgb(245 244 240 / 0.004) 64%, transparent) !important;
}

html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:hover,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card:focus-within,
html[data-ipcol-color-scheme="dark"] .home-template .ipcol-card.is-linked {
    background:
        radial-gradient(circle at var(--ipcol-card-x, 50%) var(--ipcol-card-y, 50%), rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.024), transparent 35%),
        linear-gradient(135deg, rgb(245 244 240 / 0.021), rgb(245 244 240 / 0.006) 64%, rgb(var(--ipcol-card-accent-rgb, 104 135 128) / 0.008)) !important;
    box-shadow: 0 18px 58px rgb(0 0 0 / 0.12) !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel a::before,
html[data-ipcol-color-scheme="dark"] .ipcol-zen-menu-panel button::before {
    background: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.54);
}


/* IpCol Hakushi v1.3: privacy action state, exact dot tracking, cleaner share-preview presentation. */
.ipcol-slogan-dots {
    top: 50% !important;
    left: 50% !important;
    width: var(--ipcol-slogan-field-w, 100vw) !important;
    height: var(--ipcol-slogan-field-h, 100%) !important;
    transform: translate3d(-50%, -50%, 0) !important;
    contain: layout paint size !important;
}

.ipcol-hero-stage.is-dot-active::after {
    opacity: 0.42 !important;
    filter: blur(48px) saturate(1.03) !important;
}

.ipcol-privacy-panel [aria-pressed="true"] {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.86) !important;
    transform: translateX(2px) !important;
}

.ipcol-privacy-panel [aria-pressed="true"]::after {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.ipcol-share-preview {
    background: rgb(255 255 255 / 0.72) !important;
    border: 0 !important;
    box-shadow: 0 32px 120px rgb(16 18 19 / 0.11) !important;
}

.ipcol-share-preview img {
    border-radius: 6px !important;
    background: transparent !important;
}

html[data-ipcol-color-scheme="dark"] .ipcol-share-preview {
    background: rgb(16 18 19 / 0.72) !important;
    box-shadow: 0 32px 120px rgb(0 0 0 / 0.28) !important;
}


/* IpCol Hakushi v1.4 final: menu reuse, exact dot pointer, clean share-image preview and Lighthouse-facing polish. */
.ipcol-slogan-dots {
    top: 50% !important;
    left: 50% !important;
    width: var(--ipcol-slogan-field-w, 100vw) !important;
    height: var(--ipcol-slogan-field-h, 100%) !important;
    transform: translate3d(-50%, -50%, 0) !important;
    contain: strict !important;
}
.ipcol-hero-stage.is-dot-active::after {
    opacity: 0.46 !important;
    filter: blur(54px) saturate(1.08) !important;
}
.ipcol-share-preview {
    border: 0 !important;
    background: rgb(255 255 255 / 0.68) !important;
    backdrop-filter: blur(24px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.08) !important;
}
.ipcol-share-preview img {
    display: block !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 70px rgb(16 18 19 / 0.10) !important;
}
.ipcol-share-preview-actions.ipcol-zen-menu-panel {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 10px !important;
    padding: 8px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.ipcol-share-preview-actions.ipcol-zen-menu-panel::before { display: none !important; }
.ipcol-share-preview-actions.ipcol-zen-menu-panel a,
.ipcol-share-preview-actions.ipcol-zen-menu-panel button {
    min-height: 30px !important;
    padding: 0 6px 0 18px !important;
}
.ipcol-share-button:hover,
.ipcol-share-button:focus-visible {
    background: transparent !important;
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.86) !important;
}
.ipcol-share-button::after {
    background: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.36) !important;
}
html[data-ipcol-color-scheme="dark"] .ipcol-share-preview {
    background: rgb(16 18 19 / 0.72) !important;
}
html[data-ipcol-color-scheme="dark"] .ipcol-share-preview img {
    box-shadow: 0 18px 80px rgb(0 0 0 / 0.32) !important;
}
.ipcol-privacy-panel [aria-pressed="true"] {
    color: rgb(var(--ipcol-linked-rgb, 104 135 128) / 0.90) !important;
}
@media (pointer: coarse), (max-width: 767px) {
    .ipcol-slogan-dots,
    .ipcol-hero-stage::after,
    .ipcol-background-field { display: none !important; }
}

/* IpCol Hakushi v1.5 repair: restore stable v1.4-like post centering and image geometry.
   Scope is post/page only; it does not change feed cards or existing visible content. */
.post-template .gh-article,
.page-template .gh-article {
    --container-width: 1120px;
    --content-width: 720px;
}

.post-template .gh-article-header,
.page-template .gh-article-header {
    width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
}

.post-template .gh-article-image,
.page-template .gh-article-image {
    grid-column: wide !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.post-template .gh-article-image img,
.page-template .gh-article-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.post-template .gh-content,
.page-template .gh-content,
.post-template .gh-comments,
.page-template .gh-comments {
    --container-width: 1120px;
    --content-width: 720px;
}

.post-template .ipcol-meta-share,
.page-template .ipcol-meta-share {
    width: 100%;
    max-width: 720px;
}

.ipcol-privacy-panel button,
.ipcol-privacy-actions button,
[data-ipcol-cookie-all],
[data-ipcol-cookie-essential],
[data-ipcol-cookie-cancel] {
    cursor: pointer !important;
    pointer-events: auto !important;
}
