/* =========================================================================
   journal-jaws — the "Refined · Jaws" direction on top of Ghost's Journal.

   Loaded AFTER assets/built/screen.css, so everything here is an override
   layer. Journal's own build (gulp) is untouched — edit this file and hard
   refresh; there is no compile step.

   Source of truth for the design: the claude.ai/design project
   "christophermoravec.com" (refined-pages.jsx, refined-post.jsx,
   jaws-kit.jsx, shared.jsx, jaws-studies.jsx) plus
   projects/content-and-brand/docs/christophermoravec-design-system.md
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */

:root {
    /* Overridden inline by @custom.accent_color in default.hbs. */
    --jaws-accent: #2a6f8c;
}

body {
    --jaws-display: "Fira Sans", system-ui, -apple-system, sans-serif;
    --jaws-body: "Noto Sans", system-ui, -apple-system, sans-serif;
    --jaws-mono: "JetBrains Mono", Menlo, Consolas, Monaco, monospace;

    --jaws-accent-ink: color-mix(in srgb, var(--jaws-accent) 78%, #000);
    --jaws-accent-soft: color-mix(in srgb, var(--jaws-accent) 14%, #fff);
    --jaws-accent-line: color-mix(in srgb, var(--jaws-accent) 40%, #fff);
    --jaws-grid: rgba(30, 60, 80, 0.06);
    --jaws-note: #6b6456;
    --jaws-card: #ffffff;
    --jaws-paper: #fcfaf6;

    /* Journal / shared-theme-assets variables, re-pointed at the design. */
    --gh-font-heading: var(--jaws-display);
    --gh-font-body: var(--jaws-body);
    --font-sans: var(--jaws-body);
    --font-mono: var(--jaws-mono);
    --ghost-accent-color: var(--jaws-accent);
    --color-primary-text: #333;
    --color-darker-gray: #15171a;
    --container-width: 1200px;
    --content-width: 720px;
    --head-nav-gap: 2.8rem;
}

@supports not (color: color-mix(in srgb, red, blue)) {
    body {
        --jaws-accent-ink: #185987;
        --jaws-accent-soft: #dfeaf0;
        --jaws-accent-line: #a9c6d4;
    }
}

/* Background tone ladder — @custom.background_tone. */
body.tone-Paper   { --jaws-paper: #ffffff; }
body.tone-Whisper { --jaws-paper: #fdfcfa; }
body.tone-Linen   { --jaws-paper: #fcfaf6; }
body.tone-Vellum  { --jaws-paper: #fbf9f4; }
body.tone-Cream   { --jaws-paper: #faf7f2; }
body.tone-Bone    { --jaws-paper: #f5f1ea; }
body.tone-Mist    { --jaws-paper: #f4f6f7; }
body.tone-Sky     { --jaws-paper: #eef3f5; }

body {
    background-color: var(--jaws-paper);
}

/* -------------------------------------------------------------------------
   2. Typography
   ---------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--jaws-display);
}

.gh-article-title,
.gh-latest .gh-card-title {
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.gh-article-excerpt {
    color: var(--color-dark-gray);
    font-size: 2rem;
    line-height: 1.5;
}

/* Small mono meta strings — the design's signature. */
.gh-card-date,
.gh-card-duration,
.gh-card-issue,
.gh-crumb-date,
.gh-crumb-issue,
.gh-keepreading-meta,
.gh-article-byline,
.aeh-margin-note {
    font-family: var(--jaws-mono);
}

/* -------------------------------------------------------------------------
   3. Graph-paper backdrop
   ---------------------------------------------------------------------- */

.gh-main .gh-inner,
.gh-article-header .gh-inner {
    position: relative;
}

.gh-graph {
    position: absolute;
    top: calc(var(--gap) * -1);
    left: calc(var(--gap) * -1);
    right: calc(var(--gap) * -1);
    height: 46rem;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--jaws-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--jaws-grid) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 95%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 95%);
}

.gh-graph--post {
    height: 38rem;
}

/* Inside a gh-canvas grid the backdrop has to be told to span every track. */
.gh-graph--page {
    grid-column: wide;
    grid-row: 1;
    height: 34rem;
    left: 0;
    right: 0;
    top: 0;
}

.page-template .gh-article-header {
    position: relative;
}

.page-template .gh-article-title,
.page-template .gh-article-excerpt {
    position: relative;
    z-index: 1;
}

.gh-latest,
.gh-wrapper,
.gh-article-crumb,
.gh-article-titleblock,
.gh-article-image {
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------------------------
   4. Site header
   ---------------------------------------------------------------------- */

.gh-head {
    background-color: var(--jaws-paper);
    border-bottom: 1px solid var(--color-light-gray);
}

.gh-head-logo {
    font-size: 2rem;
    font-weight: 600;
}

.gh-head-menu,
.gh-head-actions {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .is-head-stacked .gh-head-menu {
        border-top: 1px solid var(--color-light-gray);
    }
}

.gh-head .nav-current a {
    border-bottom: 1px solid var(--color-darker-gray);
    padding-bottom: 2px;
}

.gh-head .nav a {
    color: var(--color-dark-gray);
}

.gh-head .nav-current a,
.gh-head .nav a:hover {
    color: var(--color-darker-gray);
}

.gh-head-btn.gh-primary-btn {
    background-color: var(--jaws-accent);
    border-radius: 999px;
}

/* -------------------------------------------------------------------------
   5. Home — latest issue + feed
   ---------------------------------------------------------------------- */

.gh-latest {
    margin-top: 3.2rem;
    margin-bottom: 8rem;
}

.gh-latest .gh-article-meta {
    align-items: center;
    display: flex;
    gap: 1.4rem;
    margin-bottom: 1.2rem;
}

.gh-latest .gh-article-meta::after {
    background-color: var(--jaws-accent);
    content: "";
    flex: 0 0 6rem;
    height: 1px;
    opacity: 0.4;
}

.gh-latest .gh-card-date {
    color: var(--jaws-accent);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gh-latest .gh-card-title {
    font-size: clamp(3.2rem, 5vw, 6.4rem);
    font-weight: 600;
    max-width: 88rem;
}

.gh-latest .gh-article-excerpt {
    margin-top: 1.8rem;
    max-width: 62rem;
}

.gh-latest .gh-card-meta {
    align-items: center;
    display: flex;
    gap: 1.6rem;
    margin-top: 1.8rem;
}

.gh-card-meta,
.gh-card-date,
.gh-card-duration {
    color: var(--color-secondary-text);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gh-card-cta {
    color: var(--jaws-accent);
}

.gh-card + .gh-card {
    border-top: 1px solid var(--color-light-gray);
    margin-top: 0;
    padding-top: 2.2rem;
}

.gh-feed .gh-card {
    padding-bottom: 2.2rem;
}

.gh-feed .gh-card-header {
    align-items: baseline;
    display: flex;
    gap: 1.4rem;
    margin-bottom: 0.6rem;
}

.gh-card-issue {
    color: var(--jaws-accent);
    display: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.gh-card-issue.is-filled {
    display: inline;
}

.gh-card-issue.is-filled::before {
    content: "#";
}

.gh-feed .gh-card-title {
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.gh-card-excerpt {
    color: var(--color-primary-text);
    font-size: 1.5rem;
    line-height: 1.55;
    max-width: 64rem;
}

.gh-card-meta {
    margin-top: 0.8rem;
}

.gh-section-title {
    color: var(--jaws-note);
    font-family: var(--jaws-mono);
    font-size: 1.1rem;
    letter-spacing: 0.14em;
}

/* -------------------------------------------------------------------------
   6. Home — sidebar
   ---------------------------------------------------------------------- */

.gh-wrapper {
    column-gap: 6.4rem;
    grid-template-columns: minmax(0, 1fr) 300px;
    padding-top: 4rem;
}

.gh-sidebar {
    padding-left: 0;
}

.gh-about-card {
    background-color: var(--jaws-card);
    border: 1px solid var(--jaws-accent);
    border-radius: 4px;
    padding: 2rem;
}

.gh-about-section .gh-section-title {
    color: var(--jaws-accent);
}

.gh-about-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.gh-about-description {
    color: var(--color-primary-text);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.gh-signup {
    margin-top: 1.4rem;
}

.gh-subscribe-input {
    border: 1px solid var(--color-darker-gray);
    border-radius: 999px;
    padding: 3px;
}

.gh-subscribe-input-text {
    color: var(--color-secondary-text);
    font-size: 1.1rem;
    padding-left: 1rem;
}

.gh-subscribe-input-btn {
    background-color: var(--jaws-accent);
    border-radius: 999px;
    color: #fff;
    font-family: var(--jaws-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    text-transform: uppercase;
}

.gh-topic-item {
    border-top: 1px solid var(--color-light-gray);
    padding: 1rem 0;
}

.gh-topic-item:first-child {
    border-top: 0;
}

.gh-topic-name {
    font-family: var(--jaws-display);
    font-size: 1.4rem;
    font-weight: 400;
}

.gh-topic-count {
    color: var(--color-secondary-text);
    font-family: var(--jaws-mono);
    font-size: 1.2rem;
}

/* -------------------------------------------------------------------------
   7. Post — header
   ---------------------------------------------------------------------- */

.post-template .gh-main {
    padding-top: 5.6rem;
}

.gh-article-crumb {
    align-items: center;
    color: var(--color-secondary-text);
    display: flex;
    flex-wrap: wrap;
    font-family: var(--jaws-display);
    font-size: 1.1rem;
    font-weight: 500;
    gap: 1rem;
    letter-spacing: 0.18em;
    margin-bottom: 2.4rem;
    text-transform: uppercase;
}

.gh-article-crumb .gh-article-tag {
    color: var(--jaws-accent);
}

.gh-article-titleblock {
    align-items: start;
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr;
}

.gh-article-issue {
    display: none;
}

.has-issue-numbers .gh-article-issue.is-filled {
    color: var(--jaws-accent);
    display: block;
    font-family: var(--jaws-display);
    font-size: clamp(6rem, 11vw, 16rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.85;
    padding-top: 0.8rem;
}

@media (min-width: 900px) {
    .gh-article-titleblock:has(.gh-article-issue.is-filled) {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

.gh-article-title {
    font-size: clamp(3.2rem, 5.6vw, 7.2rem);
    font-weight: 600;
    max-width: 82rem;
}

.gh-article-byline {
    align-items: center;
    color: var(--color-secondary-text);
    display: flex;
    flex-wrap: wrap;
    font-size: 1.2rem;
    gap: 1.4rem;
    letter-spacing: 0.08em;
    margin-top: 2.8rem;
    text-transform: uppercase;
}

.gh-byline-author {
    align-items: center;
    display: inline-flex;
    gap: 1rem;
}

.gh-byline-avatar {
    align-items: center;
    background-color: var(--jaws-accent-soft);
    border: 1px solid var(--jaws-accent);
    border-radius: 50%;
    color: var(--jaws-accent-ink);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 600;
    height: 28px;
    justify-content: center;
    width: 28px;
}

img.gh-byline-avatar {
    object-fit: cover;
}

.gh-byline-name {
    color: var(--color-darker-gray);
    font-weight: 500;
}

.post-template .gh-article-image {
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    margin-top: 3.2rem;
    overflow: hidden;
}

.post-template .gh-article-image figcaption {
    font-family: var(--jaws-mono);
    font-size: 1.1rem;
    font-style: italic;
    padding: 1rem 1.6rem;
}

/* -------------------------------------------------------------------------
   8. Post — body + right rail
   ---------------------------------------------------------------------- */

.gh-post-body {
    margin-top: 6.4rem;
}

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

.gh-post-body .gh-content {
    padding-bottom: 0;
}

@media (min-width: 1100px) {
    .has-post-rail .gh-post-body-inner {
        column-gap: 8rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    /* Left-align the reading column with the article header instead of
       centring it in the (now narrower) body column. Wide cards get a small
       breakout to the right; full-bleed is clamped below. */
    .has-post-rail .gh-post-body .gh-content {
        --content-width: 68rem;
        grid-template-columns:
            [full-start wide-start main-start] min(68rem, 100%)
            [main-end] minmax(0, 4rem)
            [wide-end] minmax(0, 1fr) [full-end];
    }

    /* Full-bleed cards would run under the sticky rail — clamp them to the
       wide track on post pages. Deliberate trade-off of having the rail. */
    .has-post-rail .gh-post-body .kg-width-full {
        grid-column: wide;
    }
}

.gh-rail {
    align-self: start;
    font-size: 1.3rem;
    position: sticky;
    top: 4.8rem;
}

.gh-rail > * + * {
    margin-top: 2rem;
}

.gh-rail-card {
    background-color: var(--jaws-card);
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    padding: 1.8rem;
}

.gh-rail-subscribe {
    background-color: var(--jaws-accent-soft);
    border-color: var(--jaws-accent);
}

.gh-rail-title {
    color: var(--jaws-accent);
    font-family: var(--jaws-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.gh-rail-title--muted {
    color: var(--color-secondary-text);
}

.gh-rail-subscribe .gh-rail-title {
    color: var(--jaws-accent-ink);
}

.gh-rail-text {
    color: var(--color-darker-gray);
    font-family: var(--jaws-display);
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.gh-rail-btn.gh-btn {
    --multiplier: 0.8;
    background-color: var(--color-darker-gray);
    border-radius: 3px;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
}

.gh-rail-toc-list {
    font-family: var(--jaws-display);
    font-size: 1.3rem;
    line-height: 1.9;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-rail-toc-list li {
    display: flex;
    gap: 1rem;
}

.gh-rail-toc-num {
    color: var(--color-secondary-text);
    flex: 0 0 2rem;
    font-family: var(--jaws-mono);
    font-size: 1.1rem;
}

.gh-rail-toc-list a {
    color: var(--color-primary-text);
}

.gh-rail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gh-rail-tag {
    background-color: var(--jaws-card);
    border: 1px solid var(--color-light-gray);
    border-radius: 2px;
    font-family: var(--jaws-display);
    font-size: 1.1rem;
    padding: 4px 8px;
}

/* -------------------------------------------------------------------------
   9. Post — keep reading
   ---------------------------------------------------------------------- */

.gh-keepreading {
    border-top: 1px solid var(--color-light-gray);
    padding-top: 4.8rem;
}

.gh-keepreading-title {
    color: var(--jaws-accent);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    margin-bottom: 2.8rem;
    text-transform: uppercase;
}

.gh-keepreading-grid {
    display: grid;
    gap: 2.8rem;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
}

.gh-keepreading-card {
    background-color: var(--jaws-card);
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    display: block;
    padding: 2.2rem 2rem;
}

.gh-keepreading-card:hover {
    border-color: var(--jaws-accent);
    opacity: 1;
}

.gh-keepreading-meta {
    color: var(--jaws-accent);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.gh-keepreading-issue {
    display: none;
}

.gh-keepreading-issue.is-filled {
    display: inline;
}

.gh-keepreading-issue.is-filled::before {
    content: "Issue ";
}

.gh-keepreading-issue.is-filled::after {
    content: " · ";
}

.gh-keepreading-heading {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.gh-keepreading-excerpt {
    color: var(--color-dark-gray);
    font-size: 1.4rem;
    line-height: 1.5;
}

.gh-keepreading-more {
    color: var(--color-secondary-text);
    display: block;
    font-family: var(--jaws-display);
    font-size: 1rem;
    letter-spacing: 0.12em;
    margin-top: 1.6rem;
    text-transform: uppercase;
}

.gh-article-footer .gh-navigation {
    margin-top: 6.4rem;
    padding-bottom: 0;
}

.gh-article-footer {
    padding-bottom: 0;
}

/* Ghost's members CTA ships as a full-bleed accent band. A teal wall fights
   the restrained palette — keep it on paper with hairline rules instead. */
.gh-subscribe {
    background-color: transparent;
    border-top: 1px solid var(--color-light-gray);
    color: var(--color-darker-gray);
    padding-bottom: 6.4rem;
    padding-top: 6.4rem;
}

.gh-subscribe-title {
    color: var(--color-darker-gray);
    font-size: 2.8rem;
}

.gh-subscribe-description {
    color: var(--color-dark-gray);
}

.gh-subscribe .gh-subscribe-input {
    border: 1px solid var(--color-darker-gray);
}

.gh-subscribe .gh-subscribe-input-btn {
    background-color: var(--jaws-accent);
    color: #fff;
}

/* -------------------------------------------------------------------------
   10. Long-form content
   ---------------------------------------------------------------------- */

.gh-content {
    font-size: 1.7rem;
    line-height: 1.65;
}

/* Posts imported from the newsletter use <h1> for section headings; size it
   like the design's section heading rather than a second page title. */
.gh-content h1 {
    font-size: 3.4rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.gh-content h1,
.gh-content h2 {
    margin-top: 1.6em;
}

.gh-content h1:first-child,
.gh-content h2:first-child {
    margin-top: 0;
}

.gh-content a {
    color: var(--jaws-accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gh-content blockquote:not([class]) {
    border-left: 3px solid var(--jaws-accent);
    color: var(--color-darker-gray);
    font-family: var(--jaws-display);
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.35;
    padding-left: 2.4rem;
}

.gh-content pre,
.gh-content :not(pre) > code {
    font-family: var(--jaws-mono);
}

/* Design signatures, available as HTML-card classes inside a post. */
.aeh-really {
    background-color: var(--jaws-accent-soft);
    border-radius: 3px;
    color: var(--jaws-accent);
    font-family: var(--jaws-mono);
    font-size: 0.82em;
    margin: 0 2px;
    padding: 1px 6px;
}

.aeh-really::before { content: "/* "; }
.aeh-really::after  { content: " */"; }

.aeh-margin-note {
    color: var(--jaws-note);
    font-family: var(--jaws-mono);
    font-size: 1.1rem;
    line-height: 1.55;
    padding-left: 1.8rem;
    position: relative;
}

.aeh-margin-note::before {
    color: var(--jaws-accent);
    content: "//";
    font-weight: 500;
    left: 0;
    position: absolute;
    top: 0;
}

.aeh-margin-note--rail {
    border-top: 1px dashed var(--color-light-gray);
    margin-top: 2.8rem;
    padding-top: 1.4rem;
}

/* When the note carries its own label, the label wears the "//" marker. */
.aeh-margin-note:has(.aeh-margin-note-label) {
    padding-left: 0;
}

.aeh-margin-note:has(.aeh-margin-note-label)::before {
    content: none;
}

.aeh-margin-note-label {
    color: var(--jaws-accent);
    display: block;
    margin-bottom: 0.6rem;
}

.aeh-margin-note-label::before {
    content: "// ";
}

.aeh-margin-note-prompt {
    color: var(--jaws-accent);
}

.gh-sidebar .aeh-margin-note {
    margin-top: 4rem;
}

.aeh-wf {
    align-items: center;
    background-color: var(--jaws-card);
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 2.2rem 1.8rem;
}

.aeh-wf-box {
    border: 1px solid var(--color-light-gray);
    border-radius: 3px;
    font-family: var(--jaws-mono);
    font-size: 1.2rem;
    min-width: 12rem;
    padding: 1rem 1.4rem;
    text-align: center;
}

.aeh-wf-box--accent {
    background-color: var(--jaws-accent-soft);
    border-color: var(--jaws-accent);
}

.aeh-wf-arrow {
    color: var(--jaws-note);
    font-family: var(--jaws-mono);
    font-size: 1.2rem;
}

.aeh-bubble {
    background-color: var(--jaws-card);
    border: 1px solid var(--jaws-accent);
    border-radius: 10px;
    display: flex;
    gap: 1.4rem;
    padding: 1.2rem 1.6rem;
}

.aeh-bubble .aeh-shark {
    flex: 0 0 auto;
    width: 56px;
}

/* -------------------------------------------------------------------------
   11. The pixel shark + Ask Jaws dock
   ---------------------------------------------------------------------- */

.aeh-shark {
    color: var(--jaws-accent);
    height: auto;
    width: 100%;
}

.aeh-dock {
    bottom: 16px;
    left: 16px;
    position: fixed;
    z-index: 40;
}

.aeh-dock-btn {
    align-items: center;
    background-color: var(--color-darker-gray);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    padding: 0;
    width: 48px;
}

.aeh-dock-btn .aeh-shark {
    color: #fff;
    width: 34px;
}

.aeh-dock-panel {
    background-color: var(--jaws-card);
    border: 1px solid var(--jaws-accent);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
    overflow: hidden;
    width: 260px;
}

.aeh-dock-panel[hidden] {
    display: none;
}

.aeh-dock-panel-head {
    align-items: center;
    border-bottom: 1px solid var(--color-light-gray);
    display: flex;
    gap: 8px;
    padding: 10px 12px;
}

.aeh-dock-panel-mark {
    display: block;
    width: 26px;
}

.aeh-dock-panel-title {
    color: var(--color-darker-gray);
    flex: 1;
    font-family: var(--jaws-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.aeh-dock-close {
    background: none;
    border: 0;
    color: var(--color-secondary-text);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    padding: 0;
}

.aeh-dock-panel-body {
    color: var(--color-primary-text);
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 14px 12px;
}

.aeh-dock-panel-cta {
    border-top: 1px solid var(--color-light-gray);
    color: var(--jaws-accent-ink);
    display: block;
    font-family: var(--jaws-display);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 12px;
}

.aeh-dock-panel-foot {
    background-color: var(--color-lighter-gray);
    color: var(--color-secondary-text);
    font-family: var(--jaws-mono);
    font-size: 0.9rem;
    padding: 6px 12px;
    text-align: center;
}

/* -------------------------------------------------------------------------
   12. Tag / author / page templates
   ---------------------------------------------------------------------- */

.gh-pagehead-title {
    letter-spacing: -0.03em;
}

.gh-tag-label {
    color: var(--jaws-accent);
    font-family: var(--jaws-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-template .gh-article-title {
    font-size: clamp(3.2rem, 5.6vw, 7.6rem);
}

/* -------------------------------------------------------------------------
   13. Footer
   ---------------------------------------------------------------------- */

.gh-foot {
    border-top: 1px solid var(--color-light-gray);
    color: var(--color-secondary-text);
    padding-bottom: 3.2rem;
    padding-top: 3.2rem;
}

.gh-foot-inner {
    font-size: 1.2rem;
}

/* -------------------------------------------------------------------------
   14. Small screens
   ---------------------------------------------------------------------- */

@media (max-width: 1099px) {
    .gh-post-body-inner {
        display: block;
    }

    .gh-rail {
        border-top: 1px solid var(--color-light-gray);
        margin: 4.8rem auto 0;
        max-width: var(--content-width);
        padding-top: 2.4rem;
        position: static;
    }
}

@media (max-width: 991px) {
    .gh-wrapper {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 6.4rem;
    }
}

@media (max-width: 767px) {
    .gh-graph {
        height: 30rem;
    }

    .gh-article-titleblock {
        gap: 1.6rem;
    }

    .aeh-dock {
        bottom: 12px;
        left: 12px;
    }
}
