/* Table of Contents
/* ------------------------------------------------------------

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

1.  Global Styles
2.  Layout
3.  Site Header
4.  Site Navigation
5.  Post Feed
6.  Single Post
  6.1. Post Byline
  6.2. Subscribe
  6.3. Read More
  6.4. Comments
7.  Author Template
8.  Tag Template
9.  Error Template
10.  Site Footer
11. Dark Mode
12. Lightbox

*/

/* 1. Global - Set up the things
/* ---------------------------------------------------------- */

/* Import CSS reset and base styles */
@import "global.css";

:root {

    /* Colours */
    --color-green: #a4d037;
    --color-yellow: #fecd35;
    --color-red: #f05230;
    --color-darkgrey: #15171A;
    --color-midgrey: #738a94;
    --color-lightgrey: #f1f1f1;
    --color-secondary-text: #979797;
    --color-border: #e1e1e1;
    --color-wash: #e5eff5;
    --color-background: #10112B;
    --color-darkmode: #10112B;
    --color-title: #FFFFFF;
    --color-tag: #FF2D9B;
    --color-date: #AAA1C3;
    --color-content: #C9C1DA;
    --color-orb: #A31462;
    --image-radius: 7px;

    /*
    An accent color is also set by Ghost itself in
    Ghost Admin > Settings > Brand

    --ghost-accent-color: {value};

    You can use this variable throughout your styles
     */

    /* Fonts */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-heading-custom: "Special Gothic Condensed One", "Arial Narrow", "Roboto Condensed", sans-serif;
    --font-menu-custom: "Fjalla One", "Arial Narrow", "Roboto Condensed", sans-serif;
    --font-body-custom: "Bitter", Georgia, Times, serif;
    --font-serif: "Bitter", Georgia, Times, serif;
    --font-mono: Menlo, Courier, monospace;

}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading-custom);
    color: var(--color-title);
}


/* 2. Layout - Page building blocks
/* ---------------------------------------------------------- */

.viewport {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
    isolation: isolate;
    background-color: var(--color-background);
}

.viewport::before {
    position: absolute;
    top: calc(-28px + env(safe-area-inset-top, 0px));
    left: 50%;
    z-index: 0;
    width: min(1480px, 164vw);
    height: min(760px, 86vw);
    content: "";
    transform: translateX(-50%);
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 24%,
        rgba(163, 20, 98, 0.36) 0%,
        rgba(163, 20, 98, 0.2) 34%,
        rgba(163, 20, 98, 0.08) 62%,
        rgba(163, 20, 98, 0) 84%);
    filter: blur(18px);
}

@media (max-width: 767px) {
    .viewport::before {
        top: calc(150px + env(safe-area-inset-top, 0px));
        width: 172vw;
        height: 760px;
        opacity: 1;
        background:
            radial-gradient(ellipse at 50% 26%,
            rgba(163, 20, 98, 0.48) 0%,
            rgba(163, 20, 98, 0.27) 34%,
            rgba(163, 20, 98, 0.13) 56%,
            rgba(163, 20, 98, 0.05) 76%,
            rgba(163, 20, 98, 0) 100%);
        filter: blur(28px);
    }
}

html,
body {
    background-color: var(--color-background);
    color: var(--color-content);
    color-scheme: dark;
}

::selection {
    color: #10112B;
    background: var(--color-tag);
}

::-moz-selection {
    color: #10112B;
    background: var(--color-tag);
}

html.dark-mode,
html.dark-mode body {
    background-color: var(--color-darkmode);
}

@media (prefers-color-scheme: dark) {
    html.auto-color,
    html.auto-color body {
        background-color: var(--color-darkmode);
    }
}

.site-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Full width page blocks */
.outer {
    position: relative;
    padding: 0 max(4vmin, 20px);
}

/* Centered content container blocks */
.inner {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}


/* 3. Site Header
/* ---------------------------------------------------------- */

.site-header {
    position: relative;
    z-index: 1;
    color: #fff;
    background: var(--ghost-accent-color);
}

.site-header-cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header-content {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    padding-top: calc(19vmin + 53px);
    padding-bottom: 19vmin;
    text-align: center;
    color: var(--color-darkgrey);
}

.has-cover .site-header-content {
    min-height: 560px;
    background-color: var(--ghost-accent-color);
    color: #fff;
}

.site-header-content.left-aligned {
    padding-bottom: 0;
    text-align: left;
}

.has-cover .site-header-content.left-aligned {
    align-items: flex-end;
    padding-bottom: max(4vmin, 32px);
}

.site-header-content.no-content {
    padding-top: 0;
    padding-bottom: 2vmin;
}

.site-header-inner {
    position: relative;
}

.site-header-content.left-aligned .site-header-inner {
    align-items: flex-start;
}

.site-logo {
    flex-shrink: 0;
    margin: 0 auto;
    max-height: 120px;
}

.site-header-content.left-aligned .site-logo {
    margin-right: auto;
    margin-left: 0;
    max-height: 96px;
}

.site-title {
    z-index: 10;
    margin: 0;
    padding: 0;
    font-family: var(--font-heading-custom);
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-title);
}

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

.has-cover .site-title {
    font-size: 6rem;
}

.site-header-content.left-aligned .site-title {
    font-size: 4.4rem;
}

.has-cover .site-header-content.left-aligned .site-title {
    font-size: 4.6rem;
}

.site-description {
    display: inline-block;
    z-index: 10;
    max-width: 960px;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
}

.site-description:first-child {
    font-family: var(--font-heading-custom);
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .site-description:first-child {
    font-family: var(--font-heading-custom);
}

:is(.site-logo, .site-title) + .site-description {
    max-width: 640px;
    margin-top: 16px;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.4;
}

.site-logo + .site-description {
    margin-top: 20px;
}

.site-title + .site-description {
    color: var(--color-secondary-text);
}

.has-cover .site-description {
    letter-spacing: -0.005em;
    color: #fff;
}

.has-cover :is(.site-logo, .site-title) + .site-description {
    font-size: 2.4rem;
}

.has-cover .site-header-content.left-aligned :is(.site-logo, .site-title) + .site-description {
    font-size: 2.2rem;
}

@media (min-width: 992px) {
    .is-head-stacked.has-cover .site-header-content {
        padding-top: calc(19vmin + 144px);
    }
}

@media (max-width: 991px) {
    .site-header-content {
        padding-top: calc(19vmin + 38px);
    }
}

@media (max-width: 767px) {
    .has-cover .site-header-content {
        min-height: 240px;
    }
    .site-header-inner {
        gap: 16px;
    }
    .site-logo {
        max-width: 60%;
    }
    .site-title {
        font-size: 3.4rem !important;
    }
    .site-description {
        font-size: 2.2rem !important;
    }
    .site-logo + .site-description {
        margin-top: 12px !important;
    }
    .site-title + .site-description {
        margin-top: 12px !important;
    }
}


/* 4. Site Navigation
/* ---------------------------------------------------------- */

.gh-head {
    height: 106px;
    font-size: 1.9rem;
    line-height: 1.3em;
    text-transform: uppercase;
    color: #fff;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    z-index: 150;
}

.has-sticky-header .gh-head {
    position: sticky;
    top: 0;
}

.has-sticky-header.admin-bar .gh-head {
    top: 32px;
}

.has-sticky-header.has-cover .gh-head {
    background-color: transparent;
    color: #fff;
}

.has-cover:not(.home-template) .gh-head {
    background-color: transparent;
    color: #fff;
}

:is(.home-template, .paged:not(.tag-template):not(.author-template)).has-cover:not(.has-sticky-header) .gh-head {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2000;
    background-color: transparent;
    color: #fff;
}

.gh-head a {
    text-decoration: none;
}

.gh-head-inner {
    display: grid;
    column-gap: 40px;
    grid-template-columns: auto 1fr auto;
    grid-auto-flow: row dense;
    align-items: center;
    height: 100%;
}

/* Header styles
/* ---------------------------------------------------------- */

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

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

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

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

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

.is-head-stacked .gh-head {
    height: auto;
}

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

.is-head-stacked .gh-head-brand {
    grid-row-start: 1;
    grid-column-start: 2;
}

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

    .is-head-stacked .gh-head-brand {
        position: relative;
        display: flex;
        align-items: center;
        height: 96px;
    }

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

    .is-head-stacked .gh-head-menu::before,
    .is-head-stacked .gh-head-menu::after {
        content: none;
    }

    .is-head-stacked .gh-head-menu::after {
        top: 163px;
    }

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

/* Brand
/* ---------------------------------------------------------- */

.gh-head-brand {
    display: flex;
    align-items: center;
    height: 40px;
    min-width: 0;
}

.gh-head-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-family: var(--font-heading-custom);
    font-weight: 800;
    font-size: 4.1rem;
    letter-spacing: 0;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
}

.gh-head-logo-title {
    --neon-core-1: 4px;
    --neon-core-2: 11px;
    --neon-core-3: 19px;
    --neon-pink-1: 40px;
    --neon-pink-2: 80px;
    --neon-pink-3: 90px;
    --neon-pink-4: 100px;
    --neon-pink-5: 150px;
    --neon-core-1-dim: 4px;
    --neon-core-2-dim: 10px;
    --neon-core-3-dim: 18px;
    --neon-pink-1-dim: 38px;
    --neon-pink-2-dim: 73px;
    --neon-pink-3-dim: 80px;
    --neon-pink-4-dim: 94px;
    --neon-pink-5-dim: 140px;
    --neon-color: #ff2d9b;
    position: relative;
    display: inline-block;
    overflow: visible;
    color: #fff;
    text-overflow: ellipsis;
    text-shadow:
        0 0 var(--neon-core-1) #fff,
        0 0 var(--neon-core-2) #fff,
        0 0 var(--neon-core-3) #fff,
        0 0 var(--neon-pink-1) var(--neon-color),
        0 0 var(--neon-pink-2) var(--neon-color),
        0 0 var(--neon-pink-3) var(--neon-color),
        0 0 var(--neon-pink-4) var(--neon-color),
        0 0 var(--neon-pink-5) var(--neon-color);
    animation: alxndrr-neon-subtle-flicker 0.11s ease-in-out infinite alternate;
}

@keyframes alxndrr-neon-subtle-flicker {
    0% {
        text-shadow:
            0 0 var(--neon-core-1-dim) #fff,
            0 0 var(--neon-core-2-dim) #fff,
            0 0 var(--neon-core-3-dim) #fff,
            0 0 var(--neon-pink-1-dim) var(--neon-color),
            0 0 var(--neon-pink-2-dim) var(--neon-color),
            0 0 var(--neon-pink-3-dim) var(--neon-color),
            0 0 var(--neon-pink-4-dim) var(--neon-color),
            0 0 var(--neon-pink-5-dim) var(--neon-color);
    }

    100% {
        text-shadow:
            0 0 var(--neon-core-1) #fff,
            0 0 var(--neon-core-2) #fff,
            0 0 var(--neon-core-3) #fff,
            0 0 var(--neon-pink-1) var(--neon-color),
            0 0 var(--neon-pink-2) var(--neon-color),
            0 0 var(--neon-pink-3) var(--neon-color),
            0 0 var(--neon-pink-4) var(--neon-color),
            0 0 var(--neon-pink-5) var(--neon-color);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gh-head-logo-title {
        animation: none;
    }
}

.gh-head-logo.no-image {
    margin-top: 0;
}

.has-cover .gh-head-logo {
    color: #fff;
}

.has-sticky-header.has-cover .gh-head-logo {
    color: inherit;
}

.gh-head-logo-icon {
    display: block;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.gh-head-logo img {
    max-height: 48px;
}


/* Primary Navigation
/* ---------------------------------------------------------- */

.gh-head-menu {
    display: flex;
    align-items: center;
    margin-top: 1px;
    font-family: var(--font-menu-custom);
    font-weight: 650;
}

.gh-head-menu .nav {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    vertical-align: middle;
}

.nav-icon {
    display: block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    object-fit: contain;
}

.gh-head-menu .nav li {
    margin: 0;
    padding: 0;
}

.gh-head-menu .nav a {
    line-height: 1.7;
    color: inherit;
}

.gh-head-menu .nav a:hover {
    color: var(--color-tag);
    opacity: 1;
}

.gh-head-menu .nav-more-toggle {
    position: relative;
    width: 36px;
    height: 36px;
    margin: 0 -6px;
    padding: 0;
    font-size: inherit;
    background-color: transparent;
    text-transform: inherit;
}

.gh-head-menu .nav-more-toggle svg {
    width: 28px;
    height: 28px;
}

@media (min-width: 992px) {
    body:not(.is-dropdown-loaded) .gh-head-menu .nav > li {
        opacity: 0;
    }
}


/* Dropdown
/* ---------------------------------------------------------- */

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

.is-head-middle-logo .gh-dropdown {
    right: auto;
    left: -24px;
}

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

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

.gh-head-menu .gh-dropdown li a {
    display: block;
    padding: 6px 20px;
    color: #15171a;
}

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


/* Secondary Navigation
/* ---------------------------------------------------------- */

.gh-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gh-social-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.gh-social-links:empty {
    display: none;
}

.gh-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: inherit;
    line-height: 0;
}

.gh-social-links span {
    display: none;
}

.gh-social-links svg {
    display: block;
    width: 22px;
    height: 22px;
}

.gh-social-links a:hover {
    color: var(--color-tag);
    opacity: 1;
    text-decoration: none;
}

.gh-social-links-mobile {
    display: none;
}

.gh-social-link {
    line-height: 0;
    color: inherit;
}

.gh-social-link:hover {
    color: var(--color-tag);
    opacity: 1;
}

.gh-social-link svg {
    width: 22px;
    height: 22px;
}

.gh-head-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    list-style: none;
    text-align: right;
}

.gh-head-members {
    display: flex;
    gap: 20px;
    align-items: center;
}

.gh-head-link {
    font-weight: 500;
    color: inherit;
}

.gh-head-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    height: 50px;
    font-weight: 600;
    letter-spacing: -0.005em;
    font-size: 1.8rem;
    border-radius: 48px;
    color: #fff;
    background: var(--ghost-accent-color);
}

.has-cover .gh-head-button {
    color: var(--color-darkgrey);
    background: #fff;
}

@media (max-width: 767px) {
    .gh-head-members {
        flex-direction: column-reverse;
        gap: 16px;
        width: 100%;
    }
}


/* Search
/* ---------------------------------------------------------- */

.gh-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    outline: none;
}

.gh-search:hover {
    opacity: 0.9;
}

.gh-head-brand .gh-search {
    margin-right: 8px;
}

.gh-head-actions .gh-search {
    margin-right: -4px;
}

@media (max-width: 767px) {
    .gh-head-actions .gh-search {
        display: none;
    }
}

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


/* Mobile Menu Trigger
/* ---------------------------------------------------------- */

html.gh-navigation-open {
    overflow: hidden;
}

.gh-navigation-open body {
    position: fixed;
    top: var(--gh-navigation-scroll-top);
    left: 0;
    width: 100%;
    overflow: hidden;
}

.gh-burger {
    position: relative;
    display: none;
    width: 38px;
    height: 38px;
    padding: 0;
    margin-right: -3px;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    appearance: none;
}

.gh-burger::before,
.gh-burger::after {
    position: absolute;
    left: 3px;
    width: 30px;
    height: 2px;
    content: "";
    background-color: var(--color-darkgrey);
    transition: all 0.2s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.has-cover .gh-burger::before,
.has-cover .gh-burger::after {
    background-color: #fff;
}

.has-sticky-header.has-cover .gh-burger::before,
.has-sticky-header.has-cover .gh-burger::after {
    background-color: var(--color-darkgrey);
}

.gh-burger::before {
    top: 13px;
}

.gh-burger::after {
    bottom: 13px;
}

.gh-head-open .gh-burger::before {
    top: 18px;
    transform: rotate(45deg);
}

.gh-head-open .gh-burger::after {
    bottom: 18px;
    transform: rotate(-45deg);
}


/* Mobile Menu
/* ---------------------------------------------------------- */
/* IDs needed to ensure sufficient specificity */

@media (max-width: 767px) {
    #gh-head {
        height: calc(104px + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
    }

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

    #gh-head .gh-head-brand {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-column-start: 1;
        align-items: center;
        height: 104px;
    }

    #gh-head .gh-head-logo {
        font-size: 3.25rem;
    }

    #gh-head .gh-head-logo-title {
        --neon-core-1: 1px;
        --neon-core-2: 2px;
        --neon-core-3: 4px;
        --neon-pink-1: 7px;
        --neon-pink-2: 12px;
        --neon-pink-3: 17px;
        --neon-pink-4: 22px;
        --neon-pink-5: 30px;
        --neon-core-1-dim: 1px;
        --neon-core-2-dim: 2px;
        --neon-core-3-dim: 4px;
        --neon-pink-1-dim: 7px;
        --neon-pink-2-dim: 11px;
        --neon-pink-3-dim: 16px;
        --neon-pink-4-dim: 20px;
        --neon-pink-5-dim: 28px;
        --neon-color: rgba(255, 45, 155, 0.72);
        animation: alxndrr-neon-mobile-soft-flicker 0.11s ease-in-out infinite alternate;
    }

    @keyframes alxndrr-neon-mobile-soft-flicker {
        0% {
            opacity: 0.93;
        }

        100% {
            opacity: 1;
        }
    }

    #gh-head .gh-head-logo.has-icon {
        width: 46px;
    }

    #gh-head .gh-head-logo-icon {
        width: 44px;
        height: 44px;
    }

    #gh-head .gh-head-logo.has-icon .gh-head-logo-title {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        clip-path: inset(50%);
    }

    #gh-head .gh-head-brand .gh-search {
        margin-left: -6px;
    }

    #gh-head .gh-burger {
        display: block;
    }

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

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

    #gh-head .gh-social-links-header {
        display: none;
    }

    #gh-head .gh-social-links-mobile {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-top: 72px;
    }

    #gh-head .gh-social-links-mobile:empty {
        display: none;
    }

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

    #gh-head .nav a {
        font-size: 2.9rem;
        font-weight: 600;
        text-transform: uppercase;
    }

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

    #gh-head :is(.gh-head-button, .gh-head-link) {
        opacity: 0;
        transform: translateY(8px);
    }

    #gh-head .gh-head-button {
        width: 100%;
        font-size: 1.8rem;
        text-transform: uppercase;
        opacity: 0;
        transform: translateY(8px);
    }

    .gh-head-open #gh-head {
        position: fixed;
        inset: 0;
        z-index: 3999999;
        height: 100%;
        padding-top: env(safe-area-inset-top, 0px);
        overflow-y: auto;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        background: var(--color-background);
    }

    .gh-head-open.has-cover #gh-head,
    .gh-head-open.has-cover #gh-head .gh-head-actions {
        background-color: var(--color-background);
    }

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

    .gh-head-open #gh-head .gh-head-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .gh-head-open #gh-head .gh-head-actions {
        position: sticky;
        right: 0;
        bottom: 0;
        left: 0;
        display: inline-flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        padding: max(4vmin, 20px) 0 max(4vmin, 28px);
        background-color: #fff;
    }

    .gh-head-open #gh-head :is(.gh-head-button, .gh-head-link) {
        opacity: 1;
        transition: transform 0.4s, opacity 0.4s;
        transition-delay: 0.2s;
        transform: translateY(0);
    }

    .gh-head-open #gh-head .gh-head-link {
        transition-delay: 0.4s;
    }
}


/* 5. Post Feed
/* ---------------------------------------------------------- */

.alx-announcement-bar {
    position: relative;
    z-index: 2;
    color: #fff;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(100deg, rgba(255, 45, 155, 0.95) 0%, rgba(163, 20, 98, 0.82) 38%, rgba(63, 72, 132, 0.78) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.alx-announcement-inner {
    display: flex;
    align-items: center;
    min-height: 96px;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.alx-announcement-image-wrap {
    flex: 0 0 auto;
    width: 82px;
    height: 68px;
}

.alx-announcement-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 12px 20px rgba(16, 17, 43, 0.28));
}

.alx-announcement-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35em;
    min-width: 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-menu-custom);
    font-size: clamp(1.35rem, 1.5vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.alx-announcement-content > * {
    margin: 0;
}

.alx-announcement-content a {
    color: #fff;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.62);
    text-underline-offset: 0.24em;
}

.alx-announcement-content a:hover {
    color: #fff;
    text-decoration-color: #ffb2c6;
}

@media (max-width: 767px) {
    .alx-announcement-inner {
        min-height: 78px;
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .alx-announcement-image-wrap {
        width: 56px;
        height: 52px;
    }

    .alx-announcement-content {
        font-size: 1.15rem;
        letter-spacing: 0.11em;
        line-height: 1.35;
    }
}

.post-feed {
    position: relative;
    display: grid;
    gap: 4.8vmin 4vmin;
    grid-template-columns: repeat(6, 1fr);
    padding: max(4.8vmin, 36px) 0 0;
}

:is(.tag-template, .author-template) .post-feed {
    margin-top: 4vmin;
}

@media (max-width: 991px) {
    .post-feed {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .post-feed {
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }

/* The archive grids keep their original mobile breakpoint. */
}

@media (max-width: 1099px) {
    :is(.home-template, .tag-template) .post-feed {
        gap: 0;
        padding-top: 32px;
    }

    :is(.home-template, .tag-template) .post-feed .post-card {
        grid-column: span 1;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:first-child {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(201, 193, 218, 0.1);
    }

    :is(.home-template, .tag-template) .post-feed .post-card:first-child .post-card-image-link {
        aspect-ratio: 16 / 9;
        margin-bottom: 20px;
        border-radius: var(--image-radius);
    }

    :is(.home-template, .tag-template) .post-feed .post-card:first-child .post-card-tags {
        margin-bottom: 9px;
        font-size: 1.3rem;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:first-child .post-card-title {
        font-size: clamp(2.9rem, 8.6vw, 3.8rem);
        line-height: 1.08;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:first-child .post-card-excerpt {
        margin-top: 12px;
        font-size: 1.85rem;
        line-height: 1.42;
        -webkit-line-clamp: 3;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child) {
        display: grid;
        grid-template-columns: minmax(128px, 35vw) minmax(0, 1fr);
        column-gap: 22px;
        align-items: start;
        padding: 28px 0;
        border-bottom: 1px solid rgba(201, 193, 218, 0.08);
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child) .post-card-image-link {
        grid-row: 1;
        width: 100%;
        aspect-ratio: 1 / 0.82;
        margin: 0;
        border-radius: var(--image-radius);
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child) .post-card-content {
        min-width: 0;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child) .post-card-tags {
        margin-bottom: 6px;
        font-size: 1.1rem;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child) .post-card-title {
        font-size: clamp(1.55rem, 4.6vw, 2rem);
        line-height: 1.16;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child) .post-card-excerpt {
        margin-top: 7px;
        font-size: 1.42rem;
        line-height: 1.38;
        color: rgba(201, 193, 218, 0.78);
        -webkit-line-clamp: 2;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child) .post-card-meta {
        margin-top: 9px;
        font-size: 1.05rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    :is(.home-template, .tag-template) .post-feed .post-card:not(:first-child).no-image {
        display: block;
        padding-left: 0;
    }
}

.post-card {
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    background-size: cover;
    word-break: break-word;
}

.alx-moments-home,
.alx-moments-archive {
    position: relative;
    z-index: 1;
    color: var(--color-content);
}

.alx-home-blog-more {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(34px, 5vw, 54px);
}

.alx-home-blog-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    color: #fff;
    font-family: var(--font-menu-custom);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 45, 155, 0.86);
    border-radius: 999px;
    background:
        radial-gradient(circle at 18% 0, rgba(255, 255, 255, 0.14), transparent 46%),
        linear-gradient(100deg, rgba(255, 45, 155, 0.28), rgba(16, 17, 43, 0.52));
    box-shadow: 0 0 30px rgba(255, 45, 155, 0.24);
}

.alx-home-blog-more-link:hover {
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 45, 155, 1);
    background: #ff2d9b;
    box-shadow: 0 0 34px rgba(255, 45, 155, 0.34);
}

.alx-moments-home {
    margin-top: max(4.8vmin, 36px);
}

.alx-moments-archive-inner {
    padding-top: clamp(44px, 6vw, 88px);
    padding-bottom: clamp(56px, 8vw, 110px);
}

.alx-moments-archive-head {
    max-width: 720px;
    margin: 0 0 clamp(28px, 4vw, 52px);
    text-align: left;
}

.alx-moments-archive-title {
    max-width: 940px;
    margin: 0;
    color: var(--color-title);
    font-family: var(--font-heading-custom);
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.alx-moments-archive-description {
    max-width: 62ch;
    margin: 14px 0 0;
    color: rgba(201, 193, 218, 0.82);
    font-family: var(--font-body-custom);
    font-size: clamp(1.5rem, 1.7vw, 1.9rem);
    line-height: 1.55;
}

.alx-moments-section-head {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.alx-moments-section-title {
    margin: 0;
    color: var(--color-title);
    font-family: var(--font-heading-custom);
    font-size: clamp(2.3rem, 3vw, 3.3rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.alx-moments-section-more {
    flex: 0 0 auto;
    color: var(--color-tag);
    font-family: var(--font-menu-custom);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.alx-moments-section-more:hover {
    color: var(--color-tag);
    text-decoration: none;
}

.alx-moments-home-description {
    max-width: 54ch;
    margin: -8px 0 22px;
    color: rgba(201, 193, 218, 0.82);
    font-family: var(--font-body-custom);
    font-size: clamp(1.5rem, 1.7vw, 1.9rem);
    line-height: 1.45;
}

.alx-moments-home-feed,
.alx-moments-group-feed,
.alx-moments-archive-feed {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 52px) 8px;
    align-items: start;
}

.alx-moments-group {
    margin-top: clamp(42px, 7vw, 86px);
}

.alx-moments-group:first-of-type {
    margin-top: 0;
}

.alx-moment-card {
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: start;
    justify-items: start;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.alx-moment-card-link {
    display: grid;
    align-items: end;
    width: 100%;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.alx-moment-card-media {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: min(100%, 180px);
    max-width: 100%;
    height: 270px;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--image-radius);
    background: transparent;
}

.alx-moment-card-media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 270px;
    object-fit: contain;
    border-radius: inherit;
    box-shadow: none;
}

.alx-moments-home-feed .alx-moment-card-title,
.alx-moments-group-feed .alx-moment-card-title,
.alx-moments-archive-feed .alx-moment-card-title,
.alx-moments-home-feed .alx-moment-card-rating,
.alx-moments-group-feed .alx-moment-card-rating,
.alx-moments-archive-feed .alx-moment-card-rating,
.alx-moments-home-feed .alx-moment-card-category,
.alx-moments-group-feed .alx-moment-card-category,
.alx-moments-archive-feed .alx-moment-card-category {
    width: min(100%, 180px);
    justify-self: start;
}

.alx-moments-home-feed .alx-moment-card-rating,
.alx-moments-group-feed .alx-moment-card-rating,
.alx-moments-archive-feed .alx-moment-card-rating {
    margin-right: 0;
    margin-left: 0;
    text-align: center;
}

.alx-moment-card-link[href]:hover .alx-moment-card-media {
    opacity: 0.9;
}

.alx-moment-card-no-link .alx-moment-card-link {
    cursor: default;
}

.alx-moment-card-title {
    margin: 12px 0 0;
    color: #ffb2c6;
    font-family: var(--font-body-custom);
    font-size: clamp(1.38rem, 1.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.18;
    text-align: center;
}

.alx-moment-card-rating {
    --alx-rating-percent: 0%;
    width: max-content;
    margin: 7px auto 0;
    font-size: 1.25rem;
    line-height: 1;
}

.alx-moment-card-rating::before {
    content: "★★★★★";
    letter-spacing: 0.06em;
    background: linear-gradient(90deg, #eaa71f var(--alx-rating-percent), rgba(201, 193, 218, 0.26) var(--alx-rating-percent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.alx-moment-card-rating[hidden] {
    display: none;
}

.alx-moment-card-category {
    min-height: 1em;
    margin-top: 7px;
    color: var(--color-tag);
    font-family: var(--font-menu-custom);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.alx-moments-archive .alx-moment-card-category {
    display: none;
}

.alx-favorite-subgroup {
    margin-top: clamp(34px, 5vw, 64px);
}

.alx-favorite-subgroup-title {
    margin: 0 0 20px;
    color: var(--color-title);
    font-family: var(--font-heading-custom);
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.alx-favorites-category-feed:empty {
    display: none;
}

.alx-moments-archive-empty {
    color: var(--color-content);
    font-family: var(--font-body-custom);
    font-size: 1.6rem;
}

@media (max-width: 1180px) {
    .alx-moments-home-feed,
    .alx-moments-group-feed,
    .alx-moments-archive-feed {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1099px) {
    .alx-moments-home {
        margin-top: 32px;
        overflow: hidden;
    }

    .alx-moments-home .alx-moments-section-head {
        display: inline-flex;
        margin-bottom: 10px;
    }

    .alx-moments-home-description {
        margin: 0 0 12px;
    }

    .alx-moments-home-feed {
        display: flex;
        gap: 8px;
        width: calc(100% + 20px);
        margin-right: -20px;
        margin-left: 0;
        padding: 0 20px 6px 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .alx-moments-home-feed::-webkit-scrollbar {
        display: none;
    }

    .alx-moments-home-feed .alx-moment-card {
        flex: 0 0 auto;
        width: calc((100vw - 56px) / 2.5);
        max-width: none;
        scroll-snap-align: start;
    }

    .alx-moments-home-feed .alx-moment-card-media {
        align-items: flex-start;
        width: 100%;
        height: auto;
    }

    .alx-moments-home-feed .alx-moment-card-media img {
        width: 100%;
        max-height: none;
    }

    .alx-moments-home-feed .alx-moment-card-title {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

}

@media (min-width: 768px) and (max-width: 1099px) {
    .alx-moments-home > .inner {
        max-width: 760px;
    }

    .alx-moments-home-feed .alx-moment-card {
        width: 180px;
    }
}

@media (max-width: 767px) {
    .alx-moments-section-head {
        display: inline-flex;
        margin-bottom: 10px;
    }

    .alx-moments-group-feed,
    .alx-moments-archive-feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .alx-moment-card-media {
        width: 100%;
        align-items: flex-start;
        height: auto;
        justify-content: center;
    }

    .alx-moment-card-media img {
        width: 100%;
        max-height: none;
    }

    .alx-moment-card-title,
    .alx-moment-card-rating,
    .alx-moment-card-category {
        width: 100%;
        justify-self: stretch;
    }

    .alx-moment-card-title {
        font-size: 1.55rem;
    }

    .alx-moments-group-feed .alx-moment-card:nth-child(n+7) {
        display: none;
    }
}

.post-card-image-link {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 16 / 10;
    margin-bottom: 32px;
    border-radius: var(--image-radius);
}

.post-card-image-link::after {
    content: "";
    display: block;
    padding-bottom: 0;
}

.post-card[class*="post-access-"] .post-card-image-link::after {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.post-card.keep-ratio[class*="post-access-"] .post-card-image-link::after {
    position: absolute;
    inset: 0;
    padding-bottom: 0;
}

.post-card.keep-ratio:not(.post-card-large):not(.post-card-full) .post-card-image-link::after {
    padding-bottom: 0;
}

.post-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--color-lightgrey) no-repeat center center;
    object-fit: cover;
    object-position: center 42%;
}

.post-card.keep-ratio:not(.post-card-large):not(.post-card-full) .post-card-image {
    position: absolute;
}

.post-card-access {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.post-card-content-link {
    position: relative;
    display: block;
    color: var(--color-darkgrey);
}

.post-card-content-link:hover {
    text-decoration: none;
}

.post-feed .no-image .post-card-content-link {
    padding: 0;
}

.no-image .post-card-header {
    margin-top: 0;
}

.post-card-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-family: var(--font-menu-custom);
    color: var(--color-tag);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
    text-transform: uppercase;
}

.post-card-tags a,
.post-card-primary-tag {
    color: var(--color-tag);
}

.post-card-featured {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
    padding-left: 18px;
    color: var(--color-tag);
}

.post-card-featured svg {
    position: absolute;
    left: 0;
}

.post-card-title {
    margin: 0;
    font-family: var(--font-heading-custom);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-title);
}

.post-card-content-link:hover .post-card-title {
    opacity: 0.9;
}

.no-image .post-card-title {
    margin-top: 0;
}

.has-serif-title:not([class*=" gh-font-heading"]):not([class^="gh-font-heading"]) .post-card-title {
    font-family: var(--font-heading-custom);
    letter-spacing: -0.005em;
}

.post-card-title svg {
    margin-top: -3px;
    margin-left: -1px;
}

.post-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-excerpt {
    display: -webkit-box;
    overflow-y: hidden;
    margin-top: 12px;
    max-width: 720px;
    font-family: var(--font-body-custom);
    font-size: 1.6rem;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
    color: var(--color-content);
}

.has-sans-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .post-card-excerpt {
    font-family: var(--font-body-custom);
}

.post-card:not(.post-card-large):not(.post-card-full):not(.dynamic):not(.no-image) .post-card-excerpt {
    -webkit-line-clamp: 2;
}

:is(.tag-template, .author-template) .post-card-excerpt {
    margin-top: 6px;
}

:is(.tag-template, .author-template) .post-card-large .post-card-excerpt {
    display: block;
    overflow-y: auto;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
    font-family: var(--font-body-custom);
    font-size: 1.3rem;
    color: var(--color-secondary-text);
}

.post-card-meta-date {
    color: var(--color-date);
}

time,
.byline-meta-date {
    color: var(--color-date);
}

.post-card-meta > * {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-card-meta > * + *:not(script)::before {
    width: 2px;
    height: 2px;
    content: "";
    background-color: var(--color-secondary-text);
    border-radius: 50%;
}

.post-card-meta .sep {
    margin: 0 4px;
}

.author-profile-image {
    display: block;
    width: 100%;
    height: 100%;
    background: color-mod(var(--color-lightgrey) l(+10%));
    border-radius: 100%;

    object-fit: cover;
}

.author-list {
    display: flex;
    margin: 0 0 0 4px;
    padding: 0;
    list-style: none;
}

.author-list-item {
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}


/* Special Styling for home page grid (below):

The first post in the list is styled to be bigger than the others and take over
the full width of the grid to give it more emphasis. Wrapped in a media query to
make sure this only happens on large viewports / desktop-ish devices.

*/

@media (min-width: 1001px) {
    .post-card-large {
        grid-column: span 6;
        display: grid;
        grid-gap: 4vmin;
        grid-template-columns: repeat(3, 1fr);
        border-top: 0;
    }

    .post-card-large:not(.no-image) .post-card-header {
        margin-top: 0;
    }

    .post-card-large .post-card-image-link {
        position: relative;
        grid-column: span 2;
        margin-bottom: 0;
    }

    .post-card-large .post-card-content {
        grid-column: span 1;
    }

    .post-card-large.no-image .post-card-content {
        grid-column: span 2;
    }

    .post-card-large .post-card-image {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .post-card-large .post-card-tags {
        margin-bottom: 12px;
    }

    .post-card-large .post-card-title {
        margin-top: 0;
        font-size: 4.4rem;
        line-height: 1.05;
    }

    .post-card-large .post-card-excerpt {
        margin-top: 16px;
    }

    .post-card-full {
        grid-column: span 6;
    }

    .post-card-full .post-card-image-link {
        margin-bottom: 40px;
    }

    .post-card-full .post-card-tags {
        margin-bottom: 14px;
    }

    .post-card-full .post-card-title {
        font-size: 6.4rem;
        line-height: 0.95;
    }

    .post-card-full .post-card-excerpt {
        margin-top: 20px;
        font-size: 1.8rem;
    }

    .post-card-large + .post-card-large:nth-child(even) {
        margin: 32px 0;
    }

    .post-card-large + .post-card-large:nth-child(even) .post-card-content {
        order: -1;
    }

    .post-card.dynamic {
        grid-column: span 3;
    }

    .post-card.dynamic .post-card-title {
        font-size: 3rem;
    }
}

/* Pagination
/* ---------------------------------------------------------- */

.pagination {
    display: none;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 8vmin;
}

html.no-infinite-scroll .pagination {
    display: grid;
}

.pagination a {
    font-size: 1.7rem;
    font-weight: 600;
}

.pagination .page-number {
    grid-column-start: 2;
    color: var(--color-secondary-text);
}

.pagination .older-posts {
    grid-column-start: 3;
    text-align: right;
}

@media (max-width: 767px) {
    .pagination .page-number {
        display: none;
    }
}


/* 6. Single Post
/* ---------------------------------------------------------- */

.article {
    word-break: break-word;
}

.post-template .article {
    padding: max(8vmin, 40px) 0 max(4vmin, 32px);
}

.post-template .article-header {
    text-align: center;
    padding: 0 0 max(6.4vmin, 40px);
}

.page-template .article-header {
    text-align: center;
    padding: max(12vmin, 64px) 0 max(3.2vmin, 28px);
}

.article-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: var(--font-menu-custom);
    color: var(--color-date);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.article-title {
    max-width: 940px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    font-family: var(--font-heading-custom);
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--color-title);
}

.article-meta .article-date {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.article-meta-divider {
    color: rgba(170, 161, 195, 0.55);
}

.article-meta-tag {
    color: var(--color-tag);
    text-transform: uppercase;
}

.article-meta-tag:hover {
    color: var(--color-tag);
    text-decoration: none;
}

.article-title-rule {
    width: 72px;
    height: 6px;
    margin: 24px auto 0;
    border-radius: 999px;
    background: var(--color-tag);
}

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

.article-excerpt {
    margin: 22px auto 0;
    max-width: 720px;
    font-family: var(--font-body-custom);
    font-size: 2rem;
    line-height: 1.45;
    color: var(--color-content);
}

.article-date {
    display: block;
    margin-top: 20px;
    color: var(--color-date);
    font-size: 1.4rem;
    font-weight: 600;
}

.gh-canvas .article-image {
    grid-column: wide-start / wide-end;
    width: 100%;
    margin: max(6.4vmin, 40px) 0 0;
}

.image-full .article-image {
    grid-column: full-start / full-end;
}

.image-small .article-image {
    grid-column: main-start / main-end;
}

.gh-canvas .article-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-radius: var(--image-radius);
}

@media (max-width: 767px) {
    .article-excerpt {
        margin-top: 14px;
        font-size: 1.7rem;
    }
}

/* -------- */

/* Content grid
/* ---------------------------------------------------------- */

/* Canvas creates a multi-column, centered grid which the post
is laid out on top of. Canvas just defines the grid, we don't
use it for applying any other styles. */

.gh-canvas,
.kg-width-full.kg-content-wide {
    --gap: max(4vmin, 20px);
    --main: min(var(--content-width, 720px), 100% - var(--gap) * 2);
    --wide: minmax(0, calc((var(--container-width, 1200px) - var(--content-width, 720px)) / 2));
    --full: minmax(var(--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-start / main-end;
}

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

.kg-width-full {
    grid-column: full-start / full-end;
}

.kg-width-full img {
    width: 100%;
}


/* 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. */

/* Default vertical spacing */
.gh-content > * + * {
    margin-top: max(3.2vmin, 24px);
    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;
}

/* [id] represents all headings h1-h6, reset all margins */
.gh-content > [id] {
    margin: 0;
    color: var(--color-title);
}

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

/* 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: 2em 0 0;
}

/* Add a small margin between a heading and anything after it */
.gh-content > [id] + * {
    margin-top: 1.5rem !important;
}

/* A larger margin before/after HRs and blockquotes */
.gh-content > hr,
.gh-content > blockquote {
    position: relative;
    margin-top: max(4.8vmin, 32px);
}
.gh-content > hr + *,
.gh-content > blockquote + * {
    margin-top: max(4.8vmin, 32px) !important;
}

/* Now the content typography styles */
.gh-content a {
    color: #ff8c96;
    text-decoration: underline;
    text-decoration-color: #a83f4c;
    text-underline-offset: 0.2em;
    word-break: break-word;
}

.gh-content > blockquote:not([class]),
.gh-content > ol,
.gh-content > ul,
.gh-content > dl,
.gh-content > p {
    font-family: var(--font-body-custom);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.6em;
    color: var(--color-content);
}

.gh-content > p img {
  margin: 0 auto;
}

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

.page-template .gh-content > *:last-child:not(.kg-width-full) {
    margin-bottom: max(6vmin, 40px);
}

.gh-content .kg-callout-card .kg-callout-text,
.gh-content .kg-toggle-card .kg-toggle-content > ol,
.gh-content .kg-toggle-card .kg-toggle-content > ul,
.gh-content .kg-toggle-card .kg-toggle-content > p {
    font-family: var(--font-body-custom);
    font-weight: 400;
    font-size: 1.9rem;
    line-height: 1.6em;
}

.gh-content .kg-product-card .kg-product-card-description > p,
.gh-content .kg-product-card .kg-product-card-description > ol,
.gh-content .kg-product-card .kg-product-card-description > ul {
    font-size: 1.7rem;
    line-height: 1.6em;
}

.gh-content .kg-callout-card .kg-callout-emoji {
    font-size: 2.1rem;
    line-height: 1.4em;
}

.gh-content .kg-toggle-card .kg-toggle-heading-text {
    font-size: 2.0rem;
}

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

.gh-content > ul,
.gh-content > ol,
.gh-content > dl,
.gh-content .kg-toggle-card .kg-toggle-content > ol,
.gh-content .kg-toggle-card .kg-toggle-content > ul,
.gh-content .kg-product-card .kg-product-card-description > ol,
.gh-content .kg-product-card .kg-product-card-description > ul {
    padding-left: 1.9em;
}

.gh-content > blockquote:not([class]) {
    position: relative;
    font-style: italic;
    padding: 0;
}

.gh-content > blockquote:not([class])::before {
    content: "";
    position: absolute;
    left: -1.5em;
    top: 0;
    bottom: 0;
    width: 0.3rem;
    background: var(--ghost-accent-color);
}

.gh-content :not(pre) > code {
    vertical-align: middle;
    padding: 0.15em 0.4em 0.15em;
    border: #e1eaef 1px solid;
    font-weight: 400 !important;
    font-size: 0.9em;
    line-height: 1em;
    color: #15171A;
    background: #f0f6f9;
    border-radius: 0.25em;
}

.gh-content pre {
    overflow: auto;
    padding: 16px 20px;
    color: var(--color-wash);
    font-size: 1.4rem;
    line-height: 1.5em;
    background: var(--color-darkgrey);
    border-radius: 5px;
    box-shadow: 0 2px 6px -2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.4);
}

/* Color only unordered list markers; preserve the article text color. */
.gh-content ul > li::marker {
    color: #ffbd37;
}

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

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

@media (max-width: 650px) {
    .gh-content > blockquote:not([class]),
    .gh-content > ol,
    .gh-content > ul,
    .gh-content > dl,
    .gh-content > p,
    .gh-content .kg-callout-card .kg-callout-text,
    .gh-content .kg-toggle-card .kg-toggle-content > ol,
    .gh-content .kg-toggle-card .kg-toggle-content > ul,
    .gh-content .kg-toggle-card .kg-toggle-content > p {
        font-size: 1.8rem;
    }

    .gh-content .kg-product-card .kg-product-card-description > p,
    .gh-content .kg-product-card .kg-product-card-description > ol,
    .gh-content .kg-product-card .kg-product-card-description > ul {
        font-size: 1.6rem;
    }

    .gh-content blockquote:not([class])::before {
        left: min(-4vmin, -20px);
    }
}


/* Cards
/* ---------------------------------------------------------- */

/* Cards are dynamic blocks of content which appear within Ghost
posts, for example: embedded videos, tweets, galleries, or
specially styled bookmark links. We add extra styling here to
make sure they look good, and are given a bit of extra spacing. */

/* Add extra margin before/after any cards,
except for when immediately preceeded by a heading */
.gh-content :not(.kg-card):not([id]) + .kg-card {
    margin-top: 6vmin;
}
.gh-content .kg-card + :not(.kg-card) {
    margin-top: 6vmin;
}

/* This keeps small embeds centered */
.kg-embed-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Responsive video embeds - no JavaScript needed */
.kg-embed-card iframe[src*="youtube.com"],
.kg-embed-card iframe[src*="youtube-nocookie.com"],
.kg-embed-card iframe[src*="player.vimeo.com"],
.kg-embed-card iframe[src*="kickstarter.com"],
.gh-content iframe[src*="youtube.com"],
.gh-content iframe[src*="youtube-nocookie.com"],
.gh-content iframe[src*="player.vimeo.com"],
.gh-content iframe[src*="kickstarter.com"] {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: var(--image-radius);
}

/* This keeps small iamges centered */
.kg-image-card img {
    margin: auto;
    border-radius: var(--image-radius);
}

.kg-image[width][height],
.kg-gallery-image,
.gh-feature-image {
    cursor: pointer;
    border-radius: var(--image-radius);
}

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

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

.kg-blockquote-alt {
    font-family: var(--font-body-custom);
    color: var(--color-midgrey);
}

.has-sans-body:not([class*=" gh-font-body"]):not([class^="gh-font-body"]) .kg-blockquote-alt {
    font-family: var(--font-body-custom);
}

.kg-card.kg-header-card.kg-style-dark {
    background: var(--color-darkgrey);
}

.kg-header-card.kg-style-light h2.kg-header-card-header {
    color: color-mod(var(--color-darkgrey) l(-5%));
}

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


/* Captions */
figcaption {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
    color: rgba(0,0,0,0.5);
    font-size: 1.3rem;
    line-height: 1.4em;
}
figcaption strong {
    color: rgba(0,0,0,0.8);
}
figcaption a {
    text-decoration: underline;
}


/* Highly specific styles for traditional Instagram embeds */
iframe.instagram-media {
    margin-top: 6vmin !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
}

iframe.instagram-media + script + :not([id]) {
    margin-top: 6vmin;
}


/* Card captions
/* ---------------------------------------------------------- */

.kg-width-full.kg-card-hascaption {
    display: grid;
    grid-template-columns: inherit;
}

.kg-width-wide.kg-card-hascaption img {
    grid-column: wide-start / wide-end;
}
.kg-width-full.kg-card-hascaption img {
    grid-column: 1 / -1;
}

.kg-width-full.kg-card-hascaption figcaption {
    grid-column: main-start / main-end;
}

.article-comments {
    margin: 6vmin 0 0 0;
}

/* -----old------ */

.footnotes-sep {
    margin-bottom: 30px;
}

.footnotes {
    font-size: 1.5rem;
}

.footnotes p {
    margin: 0;
}

.footnote-backref {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Tables */
.gh-content table:not(.gist table) {
    display: inline-block;
    overflow-x: auto;
    max-width: 100%;
    width: auto;
    border-spacing: 0;
    border-collapse: collapse;
    font-family: var(--font-body-custom);
    font-size: 1.6rem;
    white-space: nowrap;
    vertical-align: top;
    -webkit-overflow-scrolling: touch;
    background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
    background-attachment: scroll, scroll;
    background-size: 10px 100%, 10px 100%;
    background-repeat: no-repeat;
}

.gh-content table:not(.gist table) td:first-child {
    background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
    background-size: 20px 100%;
    background-repeat: no-repeat;
}

.gh-content table:not(.gist table) td:last-child {
    background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
    background-position: 100% 0;
    background-size: 20px 100%;
    background-repeat: no-repeat;
}

.gh-content table:not(.gist table) th {
    color: var(--color-darkgrey);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-align: left;
    text-transform: uppercase;
    background-color: color-mod(var(--color-wash) lightness(97%));
}

.gh-content table:not(.gist table) th,
.gh-content table:not(.gist table) td {
    padding: 6px 12px;
    border: color-mod(var(--color-wash) lightness(92%) saturation(39%)) 1px solid;
}


/* 6.1. Post Byline
/* ---------------------------------------------------------- */

.article-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: min(24px, 5.6vmin) 0 0;
}

.gh-button-share {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.5em 1.2em;
    font-size: 1.4rem;
    font-weight: 600;
    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;
    white-space: nowrap;
    text-decoration: none;
}

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

html.dark-mode .gh-button-share {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
}

html.dark-mode .gh-button-share:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.article-byline-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.article-byline-content .author-list {
    justify-content: flex-start;
    padding: 0 14px 0 0;
}

.article-byline-meta {
    color: var(--color-secondary-text);
    font-size: 1.4rem;
    line-height: 1.2em;
}

.article-byline-meta .author-name {
    margin: 0 0 6px;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0;
}

.article-byline-meta .bull {
    display: inline-block;
    margin: 0 2px;
}

.author-avatar {
    display: block;
    overflow: hidden;
    margin: 0 -4px;
    width: min(56px, 13.6vmin);
    height: min(56px, 13.6vmin);
    border: #fff 2px solid;
    border-radius: 50%;
    background-color: var(--color-border);
}

.page-template .article-title {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .article-byline-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .article-byline-content .author-list {
        padding-right: 12px;
    }
    .article-byline-meta .author-name {
        margin-bottom: 4px;
    }
}


/* 6.2. Subscribe
/* ---------------------------------------------------------- */

.footer-cta {
    position: relative;
    text-align: center;
}

.footer-cta-title {
    margin: 0 0 min(24px, 6.4vmin);
    font-family: var(--font-heading-custom);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 800;
}

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

.footer-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 500px;
    padding: 5px 5px 5px 15px;
    font-family: var(--font-body-custom);
    font-size: 1.7rem;
    color: var(--color-secondary-text);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.footer-cta-button:hover {
    border-color: color-mod(var(--color-border) l(-12%));
}

.footer-cta-button span {
    display: inline-block;
    padding: 9px 15px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    background: var(--ghost-accent-color);
    border-radius: 6px;
}


/* 6.3. Read more
/* ---------------------------------------------------------- */

.read-more-wrap {
    margin-top: 2.4vmin;
}

.footer-cta + .read-more-wrap {
    margin-top: max(12vmin, 72px);
}

.read-more {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 4vmin;
}

.read-more .post-card-tags {
    display: none;
}

@media (max-width: 1000px) {
    .read-more {
        grid-template-columns: repeat(4, 1fr);
    }
    .read-more .post-card:nth-child(3) {
        display: none;
    }
}

@media (max-width: 700px) {
    .read-more {
        grid-template-columns: repeat(2, 1fr);
    }
    .read-more .post-card:nth-child(2) {
        display: none;
    }
}

/* 6.4. Comments
/* ---------------------------------------------------------- */
.comments {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0 44px;
}


.comments-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    width: 100%;
    max-width: 720px;
}

.comments h2 {
    width: 100%;
    max-width: 720px;
    font-weight: 800;
    font-size: 3.4rem;
}

.comments .comment-count {
    color: var(--color-midgrey);
    font-weight: 600;
    white-space: nowrap;
}

.comments #ghost-comments-root {
    width: 100%;
    max-width: 720px;
}


/* 7. Author Template
/* ---------------------------------------------------------- */

.author-profile-pic {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 0 2rem;
    background: color-mod(var(--color-lightgrey) l(+10%));
    border-radius: 50%;
}

.author-profile-footer {
    margin-top: 16px;
}

.author-profile-location {
    font-weight: 700;
}

.author-profile-meta {
    display: flex;
    gap: 12px;
}

.author-profile-social-link {
    font-size: 1.3rem;
    color: var(--color-secondary-text);
}

.author-profile-social-link:hover {
    color: var(--color-darkgrey);
}

.author-profile-social-link svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 1001px) {
    .author-template .post-card-large .post-card-content:only-child {
        grid-column: span 2;
        max-width: 640px;
    }
}


/* 8. Tag Template
/* ---------------------------------------------------------- */

.tag-template .post-card-large .post-card-image-link {
    grid-column: 2 / span 2;
    order: 2;
}

.tag-template .post-card-large .post-card-content {
    order: 1;
}

@media (min-width: 1001px) {
    .tag-template .post-card-large .post-card-content:only-child {
        grid-column: span 2;
        max-width: 640px;
    }
}

/* 9. Error Template
/* ---------------------------------------------------------- */

.alx-blog-archive,
.alx-tags-index {
    position: relative;
    z-index: 1;
    color: var(--color-content);
}

.alx-blog-archive-inner,
.alx-tags-index-inner {
    padding-top: clamp(44px, 6vw, 88px);
    padding-bottom: clamp(56px, 8vw, 110px);
}

.alx-blog-archive-inner {
    max-width: 920px;
}

.alx-tags-index-inner {
    max-width: 1120px;
}

.alx-blog-archive-head,
.alx-tags-index-head {
    max-width: 720px;
    margin: 0 0 clamp(34px, 5vw, 64px);
    text-align: left;
}

.alx-blog-archive-title,
.alx-tags-index-title {
    max-width: 940px;
    margin: 0;
    color: var(--color-title);
    font-family: var(--font-heading-custom);
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
}

.alx-blog-archive-description,
.alx-tags-index-description {
    max-width: 56ch;
    margin: 18px auto 0;
    color: rgba(201, 193, 218, 0.82);
    font-family: var(--font-body-custom);
    font-size: clamp(1.55rem, 1.8vw, 1.9rem);
    line-height: 1.55;
}

.alx-blog-archive-list {
    display: grid;
    gap: 0;
}

.alx-blog-archive-year {
    margin: clamp(34px, 5vw, 56px) 0 14px;
    color: var(--color-tag);
    font-family: var(--font-heading-custom);
    font-size: clamp(3.2rem, 5.2vw, 5.2rem);
    font-weight: 800;
    line-height: 0.95;
}

.alx-blog-archive-year:first-child {
    margin-top: 0;
}

.alx-blog-archive-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) minmax(90px, auto);
    gap: 18px;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px solid rgba(201, 193, 218, 0.12);
}

.alx-blog-archive-date,
.alx-blog-archive-category,
.alx-tags-index-card-count {
    font-family: var(--font-menu-custom);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.alx-blog-archive-date {
    color: var(--color-date);
}

.alx-blog-archive-category {
    color: var(--color-tag);
    text-align: right;
    white-space: nowrap;
}

.alx-blog-archive-link {
    min-width: 0;
    color: var(--color-title);
    font-family: var(--font-heading-custom);
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.05;
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22em;
}

.alx-blog-archive-link:hover {
    color: var(--color-tag);
    text-decoration-color: rgba(255, 45, 155, 0.7);
}

.alx-blog-archive-empty,
.alx-tags-index-empty {
    color: var(--color-content);
    font-family: var(--font-body-custom);
    font-size: 1.6rem;
}

.alx-tags-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.alx-tags-index-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 188px;
    padding: clamp(22px, 3vw, 30px);
    overflow: hidden;
    color: var(--color-content);
    text-decoration: none;
    background:
        radial-gradient(circle at 92% 0, rgba(255, 45, 155, 0.2), transparent 34%),
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(201, 193, 218, 0.14);
    border-radius: 8px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.alx-tags-index-card::after {
    position: absolute;
    right: -14px;
    bottom: -28px;
    content: "#";
    color: rgba(255, 45, 155, 0.12);
    font-family: var(--font-heading-custom);
    font-size: 12rem;
    font-weight: 800;
    line-height: 1;
}

.alx-tags-index-card:hover {
    color: var(--color-content);
    background:
        radial-gradient(circle at 92% 0, rgba(255, 45, 155, 0.32), transparent 38%),
        rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 45, 155, 0.52);
    transform: translateY(-2px);
}

.alx-tags-index-card-name {
    position: relative;
    z-index: 1;
    color: var(--color-tag);
    font-family: var(--font-menu-custom);
    font-size: clamp(2rem, 2.3vw, 2.8rem);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.alx-tags-index-card-description {
    position: relative;
    z-index: 1;
    color: rgba(201, 193, 218, 0.78);
    font-family: var(--font-body-custom);
    font-size: 1.42rem;
    line-height: 1.45;
}

.alx-tags-index-card-count {
    position: relative;
    z-index: 1;
    align-self: end;
    color: var(--color-date);
}

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

@media (max-width: 640px) {
    .alx-blog-archive-inner,
    .alx-tags-index-inner {
        padding-top: 32px;
    }

    .alx-blog-archive-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 18px 0;
    }

    .alx-blog-archive-date {
        order: 2;
    }

    .alx-blog-archive-link {
        order: 1;
        font-size: 2.35rem;
    }

    .alx-blog-archive-category {
        order: 0;
        text-align: left;
    }

    .alx-tags-index-grid {
        grid-template-columns: 1fr;
    }

    .alx-tags-index-card {
        min-height: 156px;
    }
}

.error-content {
    padding: 14vw 4vw 2vw;
}

.error-message {
    padding-bottom: 10vw;
    text-align: center;
}

.error-code {
    margin: 0;
    font-size: 12vw;
    line-height: 1em;
    letter-spacing: -5px;
}

.error-description {
    margin: 0;
    color: var(--color-secondary-text);
    font-size: 3.2rem;
    line-height: 1.3em;
    letter-spacing: -0.005em;
    font-weight: 400;
}

.error-link {
    display: inline-block;
    margin-top: 5px;
}

@media (min-width: 940px) {
    .error-content .post-card {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

.alx-error-404 {
    position: relative;
    display: block;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
    color: #f8f7f4;
    background: #050507;
    cursor: pointer;
    text-decoration: none;
}

.alx-error-404:link,
.alx-error-404:visited,
.alx-error-404:hover {
    color: #f8f7f4;
    text-decoration: none;
}

.alx-error-404::before,
.alx-error-404::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.alx-error-404::before {
    background: repeating-linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 1px,
        rgba(0, 0, 0, 0.2) 2px,
        rgba(0, 0, 0, 0.2) 5px
    );
    mix-blend-mode: overlay;
    animation: alx-scanline-flicker 1.6s steps(2, end) infinite;
}

.alx-error-404::after {
    background:
        radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.42) 78%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28% 100%);
    animation: alx-crt-pulse 3.4s ease-in-out infinite;
}

.alx-test-screen {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #050507;
    box-shadow: none;
}

.alx-test-screen::before {
    inset: 0;
    border: 0;
    border-radius: 0;
}

.alx-test-screen-glass {
    position: absolute;
    inset: 0;
    display: block;
    min-height: 100vh;
    overflow: hidden;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(248, 247, 244, 0.08), transparent 28%),
        #050507;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.75);
    isolation: isolate;
    animation: alx-tv-flicker 4.8s infinite;
}

.alx-test-screen-glass::before {
    inset: 0;
    z-index: 16;
    background:
        linear-gradient(90deg, transparent 0 96%, rgba(255, 255, 255, 0.2) 97%, transparent 100%),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.02) 0 2px,
            rgba(0, 0, 0, 0.05) 2px 6px
        );
    opacity: 0.85;
    animation: alx-horizontal-drift 7s linear infinite;
}

.alx-test-screen-glass::after {
    inset: -30% 0;
    z-index: 18;
    background: linear-gradient(
        180deg,
        transparent 0 42%,
        rgba(255, 255, 255, 0.16) 45%,
        transparent 48% 100%
    );
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: alx-rollbar 5.2s linear infinite;
}

.alx-test-bars {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 58vh 14vh 16vh 12vh;
}

.alx-test-bars > span {
    display: block;
}

.alx-test-bars span:nth-child(1) { grid-row: 1; background: #d7d8d6; }
.alx-test-bars span:nth-child(2) { grid-row: 1; background: #ffbd37; }
.alx-test-bars span:nth-child(3) { grid-row: 1; background: #00f2c3; }
.alx-test-bars span:nth-child(4) { grid-row: 1; background: #48ff61; }
.alx-test-bars span:nth-child(5) { grid-row: 1; background: #ff0073; }
.alx-test-bars span:nth-child(6) { grid-row: 1; background: #5200ff; }
.alx-test-bars span:nth-child(7) { grid-row: 1; background: #050507; }
.alx-test-bars span:nth-child(8) {
    grid-column: 1 / -1;
    grid-row: 2 / -1;
    background:
        linear-gradient(90deg, #050507 0 12.5%, #5200ff 12.5% 25%, #111016 25% 37.5%, #00f2c3 37.5% 50%, #18171c 50% 62.5%, #ff0073 62.5% 75%, #ffbd37 75% 87.5%, #f8f7f4 87.5% 100%);
}

.alx-test-grid {
    position: absolute;
    inset: 9vh 9vw 16vh;
    z-index: 4;
    display: block;
    border: 3px solid rgba(248, 247, 244, 0.72);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.28) 1px, transparent 1px) 0 0 / 10% 100%,
        linear-gradient(180deg, rgba(0, 0, 0, 0.28) 1px, transparent 1px) 0 0 / 100% 10%,
        radial-gradient(circle at center, transparent 0 30%, rgba(0, 0, 0, 0.18) 31% 100%);
    mix-blend-mode: hard-light;
}

.alx-test-circle {
    position: absolute;
    inset: 10%;
    border: 4px solid rgba(248, 247, 244, 0.74);
    border-radius: 50%;
}

.alx-test-cross {
    position: absolute;
    background: rgba(248, 247, 244, 0.72);
}

.alx-test-cross-horizontal {
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
}

.alx-test-cross-vertical {
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
}

.alx-test-pluge {
    position: absolute;
    right: 7vw;
    bottom: 6vh;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(3, minmax(34px, 5vw));
    gap: 12px;
}

.alx-test-pluge span {
    height: clamp(40px, 6vw, 82px);
    border: 2px solid rgba(248, 247, 244, 0.56);
    background: #050507;
}

.alx-test-pluge span:nth-child(2) {
    background: #18171c;
}

.alx-test-pluge span:nth-child(3) {
    background: #f8f7f4;
}

.alx-test-noise {
    position: absolute;
    inset: 72vh 0 16vh;
    z-index: 7;
    display: block;
    background:
        repeating-linear-gradient(90deg, #050507 0 6px, #f8f7f4 6px 11px, #ff0073 11px 14px, #18171c 14px 22px),
        linear-gradient(90deg, #111016, #f8f7f4, #111016);
    opacity: 0.94;
    filter: contrast(160%);
    animation: alx-static-shift 0.42s steps(2, end) infinite;
}

.alx-test-label {
    position: absolute;
    inset: 50%;
    z-index: 12;
    display: grid;
    width: min(78vw, 900px);
    transform: translate(-50%, -50%);
    justify-items: center;
    gap: clamp(6px, 1.2vw, 14px);
    color: #f8f7f4;
    font-family: var(--font-menu-custom);
    font-size: clamp(1.2rem, 1.6vw, 1.9rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow:
        2px 2px 0 #5200ff,
        -2px 0 0 rgba(255, 0, 115, 0.7);
}

.alx-test-label strong {
    color: #ff0073;
    font-family: var(--font-heading-custom);
    font-size: clamp(14rem, 26vw, 34rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.72;
    text-shadow:
        3px 3px 0 #5200ff,
        6px 6px 0 #5200ff,
        -4px 0 0 #ffbd37;
}

.alx-test-brand {
    color: #ffbd37;
}

.alx-test-hint {
    margin-top: clamp(8px, 1.6vw, 18px);
    color: rgba(248, 247, 244, 0.72);
    font-size: clamp(1rem, 1.2vw, 1.35rem);
    letter-spacing: 0.14em;
}

@keyframes alx-tv-flicker {
    0%, 100% { opacity: 1; filter: brightness(1) saturate(1.04); }
    7% { opacity: 0.88; filter: brightness(1.32) saturate(1.18); }
    8% { opacity: 1; filter: brightness(0.92) saturate(1); }
    38% { opacity: 0.96; }
    39% { opacity: 0.76; filter: brightness(1.42) saturate(1.24); }
    40% { opacity: 1; }
    74% { opacity: 0.94; transform: translateX(0); }
    75% { opacity: 0.84; transform: translateX(-2px); }
    76% { opacity: 1; transform: translateX(1px); }
}

@keyframes alx-scanline-flicker {
    0%, 100% { opacity: 0.58; transform: translateY(0); }
    50% { opacity: 0.82; transform: translateY(2px); }
}

@keyframes alx-crt-pulse {
    0%, 100% { opacity: 0.98; }
    50% { opacity: 0.78; }
}

@keyframes alx-horizontal-drift {
    from { transform: translateX(-8%); }
    to { transform: translateX(8%); }
}

@keyframes alx-rollbar {
    from { transform: translateY(-60%); }
    to { transform: translateY(60%); }
}

@keyframes alx-static-shift {
    0% { transform: translateX(0); background-position: 0 0; }
    50% { transform: translateX(-18px); background-position: 36px 0; }
    100% { transform: translateX(12px); background-position: -24px 0; }
}

@media (max-width: 760px) {
    .alx-test-grid {
        inset: 8vh 6vw 18vh;
    }

    .alx-test-label {
        width: 88vw;
        font-size: 1.05rem;
        letter-spacing: 0.13em;
    }

    .alx-test-label strong {
        font-size: clamp(10rem, 38vw, 18rem);
    }

    .alx-test-noise {
        inset: 70vh 0 18vh;
    }

    .alx-test-pluge {
        right: 5vw;
        bottom: 5vh;
        gap: 8px;
    }
}

@media (max-width: 800px) {
    .error-content {
        padding-top: 24vw;
    }
    .error-code {
        font-size: 11.2rem;
    }
    .error-message {
        padding-bottom: 16vw;
    }
    .error-description {
        margin: 5px 0 0 0;
        font-size: 1.8rem;
    }
}

@media (max-width: 500px) {
    .error-content {
        padding-top: 28vw;
    }
    .error-message {
        padding-bottom: 14vw;
    }
}


/* 10. Site Footer
/* ---------------------------------------------------------- */

.site-footer {
    position: relative;
    z-index: 1;
    margin: max(12vmin, 64px) 0 0 0;
    padding-top: 64px;
    padding-bottom: 96px;
    color: var(--color-content);
    background: var(--color-background);
}

.home-template .site-footer {
    margin-top: max(8vmin, 60px);
    padding-top: 0;
}

:is(.post-template, .page-template) .site-footer {
    margin-top: max(6vmin, 40px);
}

html.dark-mode .site-footer {
    background: var(--color-darkmode);
}

@media (prefers-color-scheme: dark) {
    html.auto-color .site-footer {
        background: var(--color-darkmode);
    }
}

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

.site-footer-grid {
    display: grid;
    row-gap: 44px;
    column-gap: 56px;
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr) minmax(180px, 0.8fr);
    align-items: stretch;
    color: var(--color-content);
    font-size: 1.5rem;
    line-height: 1.5;
}

.site-footer-grid > :not(.site-footer-copyright) {
    display: flex;
    flex-direction: column;
}

.site-footer-heading {
    margin: 0 0 18px;
    color: var(--color-title);
    font-family: var(--font-heading-custom);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer-intro {
    max-width: 62ch;
}

.site-footer-intro-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 18px;
    font-family: var(--font-body-custom);
    color: var(--color-content);
    font-size: 1.6rem;
    line-height: 1.65;
}

.site-footer-intro-content a {
    padding: 0 0.08em 0.04em;
    color: #ff8c96;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 140, 150, 0.42);
    border-radius: 3px;
    background: rgba(255, 140, 150, 0.06);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.site-footer-intro-content a:hover {
    color: var(--color-tag);
    border-bottom-color: var(--color-tag);
    background: rgba(234, 167, 31, 0.1);
}

.site-footer-icon-wrap {
    display: flex;
    flex: 0 0 82px;
    align-items: center;
    justify-content: center;
}

.site-footer-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
}

.site-footer-intro-copy {
    min-width: 0;
}

.site-footer-intro-copy > * + * {
    margin-top: 0.8em;
}

.site-footer-nav-column {
    gap: 0;
}

.site-footer-nav {
    margin-top: 0;
}

.site-footer-social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0;
}

.site-footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: auto;
    gap: 10px;
    color: var(--color-content);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.site-footer-social-links svg {
    width: 16px;
    height: 16px;
    color: var(--color-tag);
}

.site-footer-social-links span {
    display: inline;
}

.site-footer-copyright {
    grid-column: 1 / -1;
    padding-top: 28px;
    border-top: 1px solid rgba(201, 193, 218, 0.22);
    color: rgba(201, 193, 218, 0.78);
    font-size: 1.4rem;
    line-height: 1.5;
}

.site-footer a {
    color: var(--color-content);
    text-underline-offset: 0.2em;
}

.site-footer a:hover {
    color: var(--color-tag);
    text-decoration: none;
}

.site-footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-nav li {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 1.4;
}

.site-footer-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    color: var(--color-content);
    font-size: 1.5rem;
    font-weight: 600;
}

.site-footer-social-links a:hover,
.site-footer-nav a:hover {
    color: var(--color-tag);
    opacity: 1;
}

.site-footer-nav li:not(:first-child) a:before {
    content: none;
}

@media (max-width: 767px) {
    .site-footer-grid {
        max-width: 500px;
        grid-template-columns: 1fr;
        row-gap: 34px;
        column-gap: 0;
        text-align: left;
    }

    .site-footer {
        margin-top: 32px;
        padding-top: 52px;
        padding-bottom: 72px;
    }

    .home-template .site-footer {
        margin-top: 56px;
        padding-top: 0;
    }

    .site-footer-heading {
        margin-bottom: 14px;
    }

    .site-footer-icon {
        width: 60px;
        height: 60px;
    }

    .site-footer-icon-wrap {
        flex-basis: 64px;
    }

    .site-footer-social-links {
        align-items: flex-start;
    }

    .site-footer-copyright {
        padding-top: 24px;
        font-size: 1.35rem;
    }
}


/* 11. Dark Mode
/* ---------------------------------------------------------- */

html.dark-mode body {
    color: var(--color-content);
    background: var(--color-darkmode);
}

html.dark-mode img {
    opacity: 0.9;
}

html.dark-mode kbd {
    background: color-mod(var(--color-darkmode) l(+5%));
}

html.dark-mode figcaption a {
    color: #fff;
}

html.dark-mode body:not(.has-cover) .gh-head {
    background: transparent;
    color: #fff;
}

html.dark-mode .has-sticky-header.has-cover .gh-head {
    background: transparent;
    color: #fff;
}

html.dark-mode .gh-burger::before,
html.dark-mode .gh-burger::after {
    background-color: #fff;
}

html.dark-mode .site-header-content {
    color: #fff;
}

html.dark-mode .site-header-cover {
    opacity: 1;
}

html.dark-mode .post-card-image {
    background: var(--color-darkmode);
}

html.dark-mode :is(.post-card-tags, .article-tag a) {
    color: var(--color-tag);
}

html.dark-mode :is(.post-card-meta-date, .byline-meta-date, time) {
    color: var(--color-date);
}

html.dark-mode :is(.post-card-meta, .byline-meta-content, .pagination .page-number) {
    color: var(--color-secondary-text);
}

html.dark-mode .post-card-featured {
    color: var(--color-tag);
}

html.dark-mode .post-card-title {
    color: var(--color-title);
}

html.dark-mode .post-card-excerpt {
    color: var(--color-content);
}

html.dark-mode .pagination a {
    color: #fff;
}

html.dark-mode .author-profile-location {
    color: #fff;
}

html.dark-mode .author-profile-social-link:hover {
    color: #fff;
}

html.dark-mode .article-title {
    color: var(--color-title);
}

html.dark-mode .article-excerpt {
    color: var(--color-content);
}

html.dark-mode .post-full-image {
    background-color: color-mod(var(--color-darkmode) l(+8%));
}

html.dark-mode .author-avatar {
    border-color: var(--color-darkmode);
    background-color: color-mod(var(--color-darkmode) l(+8%));
}

html.dark-mode .author-profile-image {
    opacity: 1;
}

html.dark-mode .author-profile-image path {
    fill: var(--color-darkmode);
}

html.dark-mode .article-byline-meta .author-name a {
    color: #fff;
}

html.dark-mode .no-image .author-social-link a {
    color: rgba(255, 255, 255, 0.75);
}

html.dark-mode .gh-content > [id] {
    color: var(--color-title);
}

html.dark-mode .gh-content pre {
    background: color-mod(var(--color-darkgrey) l(-8%));
}

html.dark-mode .gh-content :not(pre) > code {
    background: color-mod(var(--color-darkgrey) l(+6%));
    border-color: color-mod(var(--color-darkmode) l(+8%));
    color: var(--color-wash);
}

:where(html.dark-mode) .gh-content a {
    color: #ff8c96;
}

html.dark-mode .gh-content > blockquote:not([class]),
html.dark-mode .gh-content > ol,
html.dark-mode .gh-content > ul,
html.dark-mode .gh-content > dl,
html.dark-mode .gh-content > p {
    color: var(--color-content);
}

html.dark-mode .gh-content code {
    color: #fff;
    background: #000;
}

html.dark-mode hr {
    border-top-color: #424242;
}

html.dark-mode .gh-content hr:after {
    background: color-mod(var(--color-darkmode) l(+8%));
    box-shadow: var(--color-darkmode) 0 0 0 5px;
}

html.dark-mode figcaption {
    color: rgba(255, 255, 255, 0.6);
}

html.dark-mode .gh-content table:not(.gist table) td:first-child {
    background-image: linear-gradient(to right, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
}

html.dark-mode .gh-content table:not(.gist table) td:last-child {
    background-image: linear-gradient(to left, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
}

html.dark-mode .gh-content table:not(.gist table) th {
    color: rgba(255, 255, 255, 0.85);
    background-color: color-mod(var(--color-darkmode) lightness(17%));
}

html.dark-mode .gh-content table:not(.gist table) th,
html.dark-mode .gh-content table:not(.gist table) td {
    border: color-mod(var(--color-darkmode) lightness(17%)) 1px solid;
}

html.dark-mode .gh-content :is(input, textarea) {
    color: color-mod(var(--color-midgrey) l(-30%));
}

html.dark-mode .site-archive-header .no-image {
    color: rgba(255, 255, 255, 0.9);
    background: var(--color-darkmode);
}

html.dark-mode .kg-header-card.kg-style-dark {
    background: color-mod(var(--color-darkgrey) l(-5%));
}

html.dark-mode .kg-header-card.kg-style-light {
    background: color-mod(var(--color-darkgrey) l(+5%));
}

html.dark-mode .kg-header-card h2.kg-header-card-header,
html.dark-mode .kg-header-card h3.kg-header-card-subheader {
    color: #fff;
}

html.dark-mode .kg-bookmark-card a.kg-bookmark-container,
html.dark-mode .kg-bookmark-card a.kg-bookmark-container:hover {
    background: var(--color-darkmode) !important;
    color: #fff !important;
}

html.dark-mode .footer-cta-title {
    color: #fff;
}

@media (max-width: 767px) {
    html.dark-mode .gh-head-open:not(.has-cover) #gh-head,
    html.dark-mode .gh-head-open:not(.has-cover) #gh-head .gh-head-actions {
        background: var(--color-darkmode);
    }
}

@media (prefers-color-scheme: dark) {
    html.auto-color body {
        color: var(--color-content);
        background: var(--color-darkmode);
    }

    html.auto-color img {
        opacity: 0.9;
    }

    html.auto-color kbd {
        background: color-mod(var(--color-darkmode) l(+5%));
    }

    html.auto-color figcaption a {
        color: #fff;
    }

    html.auto-color body:not(.has-cover) .gh-head {
        background: transparent;
        color: #fff;
    }

    html.auto-color .has-sticky-header.has-cover .gh-head {
        background: transparent;
        color: #fff;
    }

    html.auto-color .gh-burger::before,
    html.auto-color .gh-burger::after {
        background-color: #fff;
    }

    html.auto-color .site-header-content {
        color: #fff;
    }

    html.auto-color .site-header-cover {
        opacity: 1;
    }

    html.auto-color .post-card-image {
        background: var(--color-darkmode);
    }

    html.auto-color :is(.post-card-tags, .article-tag a) {
        color: var(--color-tag);
    }

    html.auto-color :is(.post-card-meta-date, .byline-meta-date, time) {
        color: var(--color-date);
    }

    html.auto-color :is(.post-card-meta, .byline-meta-content, .pagination .page-number) {
        color: var(--color-secondary-text);
    }

    html.auto-color .post-card-featured {
        color: var(--color-tag);
    }

    html.auto-color .post-card-title {
        color: var(--color-title);
    }

    html.auto-color .post-card-excerpt {
        color: var(--color-content);
    }

    html.auto-color .pagination a {
        color: #fff;
    }

    html.auto-color .author-profile-location {
        color: #fff;
    }

    html.auto-color .author-profile-social-link:hover {
        color: #fff;
    }

    html.auto-color .article-title {
        color: var(--color-title);
    }

    html.auto-color .article-excerpt {
        color: var(--color-content);
    }

    html.auto-color .post-full-image {
        background-color: color-mod(var(--color-darkmode) l(+8%));
    }

    html.auto-color .author-avatar {
        border-color: var(--color-darkmode);
        background-color: color-mod(var(--color-darkmode) l(+8%));
    }

    html.auto-color .author-profile-image {
        opacity: 1;
    }

    html.auto-color .author-profile-image path {
        fill: var(--color-darkmode);
    }

    html.auto-color .article-byline-meta .author-name a {
        color: #fff;
    }

    html.auto-color .gh-button-share {
        color: rgba(255, 255, 255, 0.85);
        border-color: rgba(255, 255, 255, 0.15);
    }

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

    html.auto-color .no-image .author-social-link a {
        color: rgba(255, 255, 255, 0.75);
    }

    html.auto-color .gh-content > [id] {
        color: var(--color-title);
    }

    html.auto-color .gh-content pre {
        background: color-mod(var(--color-darkgrey) l(-8%));
    }

    html.auto-color .gh-content :not(pre) > code {
        background: color-mod(var(--color-darkgrey) l(+6%));
        border-color: color-mod(var(--color-darkmode) l(+8%));
        color: var(--color-wash);
    }

    :where(html.auto-color) .gh-content a {
        color: #ff8c96;
    }

    html.auto-color .gh-content > blockquote:not([class]),
    html.auto-color .gh-content > ol,
    html.auto-color .gh-content > ul,
    html.auto-color .gh-content > dl,
    html.auto-color .gh-content > p {
        color: var(--color-content);
    }

    html.auto-color .gh-content code {
        color: #fff;
        background: #000;
    }

    html.auto-color hr {
        border-top-color: #424242;
    }

    html.auto-color .gh-content hr:after {
        background: color-mod(var(--color-darkmode) l(+8%));
        box-shadow: var(--color-darkmode) 0 0 0 5px;
    }

    html.auto-color figcaption {
        color: rgba(255, 255, 255, 0.6);
    }

    html.auto-color .gh-content table:not(.gist table) td:first-child {
        background-image: linear-gradient(to right, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
    }

    html.auto-color .gh-content table:not(.gist table) td:last-child {
        background-image: linear-gradient(to left, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
    }

    html.auto-color .gh-content table:not(.gist table) th {
        color: rgba(255, 255, 255, 0.85);
        background-color: color-mod(var(--color-darkmode) lightness(17%));
    }

    html.auto-color .gh-content table:not(.gist table) th,
    html.auto-color .gh-content table:not(.gist table) td {
        border: color-mod(var(--color-darkmode) lightness(17%)) 1px solid;
    }

    html.auto-color .gh-content :is(input, textarea) {
        color: color-mod(var(--color-midgrey) l(-30%));
    }

    html.auto-color .site-archive-header .no-image {
        color: rgba(255, 255, 255, 0.9);
        background: var(--color-darkmode);
    }

    html.auto-color .kg-header-card.kg-style-dark {
        background: color-mod(var(--color-darkgrey) l(-5%));
    }

    html.auto-color .kg-header-card.kg-style-light {
        background: color-mod(var(--color-darkgrey) l(+5%));
    }

    html.auto-color .kg-header-card h2.kg-header-card-header,
    html.auto-color .kg-header-card h3.kg-header-card-subheader {
        color: #fff;
    }

    html.auto-color .kg-bookmark-card a.kg-bookmark-container,
    html.auto-color .kg-bookmark-card a.kg-bookmark-container:hover {
        background: var(--color-darkmode) !important;
        color: #fff !important;
    }

    html.auto-color .footer-cta-title {
        color: #fff;
    }

    @media (max-width: 767px) {
        html.auto-color .gh-head-open:not(.has-cover) #gh-head,
        html.auto-color .gh-head-open:not(.has-cover) #gh-head .gh-head-actions {
            background: var(--color-darkmode);
        }
    }
}


/* 12. 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: #000;
}

.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: #fff;
    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: #fff;
    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 #fff;
    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;
}

/*

Hey! You reached the end.

Hope you enjoyed this CSS file, if you have any suggestions
for improvements that might be useful for everyone who uses
this theme, you can find the open source repository for it
here: https://github.com/tryghost/casper

Or, if you've just scrolled all the way to the bottom of the
file to add some of your own styles. Well, you've come to
the right place. Onward!

 */

/* Microposts: a quiet running notebook beside the desktop blog grid. */
.alx-home-desktop {
    display: none;
}

.alx-micro-card {
    min-width: 0;
    padding: 26px 0;
    border-bottom: 1px solid rgba(201, 193, 218, 0.16);
    color: var(--color-content);
    overflow-wrap: anywhere;
    cursor: pointer;
}

.alx-micro-card-body {
    cursor: inherit;
}

.alx-micro-card-body :is(video, audio, iframe) {
    cursor: auto;
}

.alx-micro-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.alx-micro-card-avatar {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 50%;
    color: var(--color-content);
    background: rgba(201, 193, 218, 0.08);
}

.alx-micro-card-avatar img,
.alx-micro-card-avatar svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alx-micro-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    font-family: var(--font-menu-custom);
    font-size: 1.2rem;
    line-height: 1.35;
}

.alx-micro-card-category:empty {
    display: none;
}

.alx-micro-card-category {
    color: var(--color-tag);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.alx-micro-card-permalink,
.alx-micro-card-permalink:visited {
    color: var(--color-date);
}

.alx-micro-card-permalink:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.alx-micro-card-body {
    font-family: var(--font-body-custom);
    font-size: 1.6rem;
    line-height: 1.65;
}

.alx-micro-card-body > * {
    margin: 0;
}

.alx-micro-card-body > * + * {
    margin-top: 1em;
}

.alx-micro-card-body :is(h1, h2, h3, h4, h5, h6) {
    font-size: 2.2rem;
    line-height: 1.2;
}

.alx-micro-card-body a {
    color: #ff8c96;
    text-decoration: underline;
    text-decoration-color: #a83f4c;
    text-underline-offset: 0.2em;
}

.alx-micro-card-body :is(img, video, iframe) {
    max-width: 100%;
    border-radius: var(--image-radius);
}

.alx-micro-card-body :is(video, iframe) {
    width: 100%;
}

.alx-micro-card-body :is(.kg-width-wide, .kg-width-full) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.alx-micro-card-body :is(pre, table) {
    max-width: 100%;
    overflow-x: auto;
}

.alx-micro-card-body blockquote {
    padding-left: 16px;
    border-left: 1px solid var(--color-tag);
    font-style: italic;
}

.alx-micro-card-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--color-date);
    font-family: var(--font-menu-custom);
    font-size: 1.15rem;
    line-height: 1.4;
}

.alx-micro-card-source[hidden] {
    display: none;
}

.alx-micro-card-source svg {
    width: 15px;
    height: 15px;
    color: var(--color-tag);
}

.alx-micro-card-source:hover {
    color: var(--color-title);
}

.alx-micro-card a:focus-visible,
.alx-home-micro-more:focus-visible {
    outline: 2px solid var(--color-tag);
    outline-offset: 5px;
    border-radius: 2px;
}

.post-feed > .alx-micro-card {
    grid-column: span 2;
    align-self: start;
}

.alx-single-micro-header {
    padding-bottom: 12px;
}

.alx-micro-archive-inner {
    max-width: 720px;
    padding-top: clamp(32px, 6vw, 80px);
}

.alx-micro-archive-heading {
    margin-bottom: 24px;
}

.alx-micro-archive-heading h1 {
    margin: 0 0 14px;
    font-family: var(--font-heading-custom);
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    text-transform: uppercase;
}

.alx-micro-archive-heading p {
    font-family: var(--font-body-custom);
    color: var(--color-content);
}

@media (min-width: 1100px) {
    :is(.home-template, .tag-template) .alx-home-mixed-feed {
        display: none;
    }

    .alx-home-desktop {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 4vmin;
        padding-top: max(4.8vmin, 36px);
    }

    .alx-home-desktop:has(.alx-home-micro .alx-micro-card) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .alx-home-blog-column {
        min-width: 0;
    }

    .alx-home-desktop:has(.alx-home-micro .alx-micro-card) .alx-home-blog-column {
        grid-column: span 2;
    }

    .home-template .alx-home-blog-more-mobile {
        display: none;
    }

    .alx-home-regular-feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 0;
    }

    .alx-home-desktop:has(.alx-home-micro .alx-micro-card) .alx-home-regular-feed {
        grid-column: span 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alx-home-regular-feed .post-card {
        display: flex;
        grid-column: span 1;
        margin: 0;
    }

    .alx-home-regular-feed .post-card .post-card-content {
        order: initial;
    }

    .alx-home-regular-feed .post-card .post-card-image-link {
        margin-bottom: 24px;
    }

    .alx-home-regular-feed .post-card .post-card-title {
        font-size: 2.6rem;
        line-height: 1.2;
    }

    .alx-home-regular-feed .post-card .post-card-excerpt {
        margin-top: 12px;
        font-size: 1.6rem;
    }

    .alx-home-micro {
        grid-column: 3;
        min-width: 0;
        padding: 0 0 0 26px;
        border-left: 1px solid rgba(201, 193, 218, 0.16);
    }

    .alx-home-micro-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 24px;
        color: var(--color-tag);
        font-family: var(--font-menu-custom);
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .alx-home-micro-more:hover {
        text-decoration: underline;
        text-underline-offset: 0.2em;
    }

    .alx-home-micro .alx-micro-card:first-of-type {
        padding-top: 0;
    }

    .alx-home-micro .alx-micro-card:first-of-type::before {
        top: 18px;
    }

    .alx-home-micro .alx-micro-stream {
        position: relative;
    }

    .alx-home-micro .alx-micro-card {
        position: relative;
    }

    .alx-home-micro .alx-micro-card::before {
        position: absolute;
        top: 44px;
        left: -30px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--color-tag);
        content: "";
    }
}

@media (max-width: 1099px) {
    :is(.home-template, .tag-template) .alx-home-mixed-feed {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
        margin-inline: auto;
    }

    :is(.home-template, .tag-template) .alx-home-mixed-feed > :is(.post-card, .alx-micro-card) {
        grid-column: 1;
    }

    :is(.home-template, .tag-template) .alx-home-mixed-feed > .post-card:first-child {
        display: flex;
    }

    .home-template .alx-home-blog-more {
        max-width: 760px;
        margin-inline: auto;
    }
}

/* Mid-width screens use the same chronology with roomier list cards. */
@media (min-width: 768px) and (max-width: 1099px) {
    :is(.home-template, .tag-template) .alx-home-mixed-feed .post-card:not(:first-child) {
        grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
        column-gap: 28px;
    }

    :is(.home-template, .tag-template) .alx-home-mixed-feed .post-card:not(:first-child) .post-card-title {
        font-size: 2.6rem;
    }

    :is(.home-template, .tag-template) .alx-home-mixed-feed .post-card:not(:first-child) .post-card-excerpt {
        font-size: 1.65rem;
        -webkit-line-clamp: 3;
    }

    :is(.home-template, .tag-template) .alx-home-mixed-feed .post-card:not(:first-child) .post-card-meta {
        font-size: 1.2rem;
    }
}

@media (max-width: 1099px) {
    :is(.home-template, .tag-template) .alx-home-mixed-feed > .alx-micro-card {
        grid-column: span 1;
        padding: 28px 0;
        border-bottom-color: rgba(201, 193, 218, 0.08);
    }

    :is(.home-template, .tag-template) .alx-home-mixed-feed > .alx-micro-card:first-of-type {
        padding-top: 0;
    }

    .alx-micro-card-body {
        font-size: 1.65rem;
    }
}

/* Tag archives share the homepage feed layouts, with one filtered page of posts. */
.alx-tag-header {
    padding-top: clamp(32px, 6vw, 72px);
}

.alx-tag-header h1 {
    margin: 0;
    font-family: var(--font-heading-custom);
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.alx-tag-header p,
.alx-tag-empty {
    max-width: 62ch;
    margin-top: 16px;
    color: var(--color-content);
    font-family: var(--font-body-custom);
    font-size: 1.8rem;
    line-height: 1.6;
}

.alx-tag-cover {
    width: 100%;
    max-height: 280px;
    margin-top: 28px;
    aspect-ratio: 4 / 1;
    object-fit: cover;
    border-radius: var(--image-radius);
}

.tag-template :is(.alx-home-regular-feed, .alx-home-mixed-feed) {
    margin-top: 0;
}

.tag-template .alx-home-micro:not(:has(.alx-micro-card)) {
    display: none;
}

.alx-tag-archive .pagination .newer-posts {
    grid-column: 1;
}

@media (min-width: 1100px) {
    .alx-tag-desktop:not(:has(.alx-home-regular-feed .post-card)) {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
        margin-inline: auto;
    }

    .alx-tag-desktop .alx-home-regular-feed:not(:has(.post-card)) {
        display: none;
    }

    .alx-tag-desktop:not(:has(.alx-home-regular-feed .post-card)) .alx-home-micro {
        grid-column: 1;
        padding-left: 0;
        border-left: 0;
    }

    .alx-tag-desktop:not(:has(.alx-home-regular-feed .post-card)) .alx-micro-card::before {
        content: none;
    }
}

@media (max-width: 1099px) {
    .tag-template .alx-tag-header,
    .tag-template .pagination {
        max-width: 760px;
        margin-inline: auto;
    }
}

.alx-tags-index-grid:has(.alx-tags-index-card) .alx-tags-index-empty {
    display: none;
}
