/*
 * Ink Professional
 * A calm, high-trust editorial layer for the public Ghost site.
 */

:root {
    --ink-navy-950: #0b1f33;
    --ink-navy-900: #102a43;
    --ink-navy-800: #173f5f;
    --ink-blue-600: #1f6f8b;
    --ink-teal-500: #0f8b8d;
    --ink-teal-100: #dff3f1;
    --ink-paper: #f8f7f3;
    --ink-paper-deep: #f0eee8;
    --ink-white: #ffffff;
    --ink-ink: #18202a;
    --ink-muted: #66727f;
    --ink-line: #dce1e4;
    --ink-line-strong: #c6cdd2;
    --ink-serif: "EB Garamond", Georgia, "Times New Roman", serif;
    --ink-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container-width: 1280px;
    --container-gap: clamp(20px, 4vw, 56px);
    --background-color: var(--ink-paper) !important;
    --color-primary-text: var(--ink-ink);
    --color-secondary-text: var(--ink-muted);
    --color-border: var(--ink-line);
    --color-darker-gray: var(--ink-navy-950);
}

html {
    scroll-behavior: smooth;
}

body.ink-publication {
    background:
        linear-gradient(rgb(11 31 51 / 0.025) 1px, transparent 1px),
        var(--ink-paper);
    background-size: 100% 32px;
    color: var(--ink-ink);
    font-family: var(--ink-sans);
}

body.ink-publication::selection {
    color: var(--ink-white);
    background: var(--ink-teal-500);
}

.ink-publication a,
.ink-publication button {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.ink-publication a:hover {
    opacity: 1;
}

.ink-live-dot {
    width: 6px;
    height: 6px;
    background: #47d7ac;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgb(71 215 172 / 0.15);
}

.gh-navigation {
    position: sticky;
    top: 0;
    z-index: 90;
    height: auto;
    color: var(--ink-navy-950);
    background: rgb(248 247 243 / 0.94);
    border-bottom: 1px solid var(--ink-line-strong);
    box-shadow: 0 8px 30px rgb(11 31 51 / 0.04);
    backdrop-filter: blur(16px);
}

.gh-navigation-inner {
    min-height: 76px;
}

.gh-navigation-logo {
    max-width: min(430px, 38vw);
    letter-spacing: -0.025em;
}

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

.ink-wordmark {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(2.2rem, 2.3vw, 3rem);
    font-weight: 600;
    line-height: 1;
}

.ink-wordmark::before {
    position: absolute;
    top: 3px;
    bottom: 1px;
    left: 0;
    width: 5px;
    content: "";
    background: var(--ink-teal-500);
    border-radius: 1px;
}

.gh-navigation-menu .nav {
    gap: clamp(20px, 2.5vw, 36px);
}

.gh-navigation-menu .nav a {
    position: relative;
    padding: 28px 0 25px;
    color: #334453;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: 0.015em;
}

.gh-navigation-menu .nav a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--ink-teal-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.gh-navigation-menu .nav a:hover {
    color: var(--ink-navy-950);
}

.gh-navigation-menu .nav a:hover::after,
.gh-navigation-menu .nav-current a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.gh-navigation-actions {
    gap: 16px;
}

.gh-navigation-actions .gh-button,
.ink-primary-action {
    min-height: 42px;
    padding: 0 20px;
    color: var(--ink-white);
    background: var(--ink-navy-900);
    border: 1px solid var(--ink-navy-900);
    border-radius: 4px;
    box-shadow: 0 7px 18px rgb(16 42 67 / 0.12);
}

.gh-navigation-actions .gh-button:hover,
.ink-primary-action:hover {
    color: var(--ink-white);
    background: var(--ink-teal-500);
    border-color: var(--ink-teal-500);
    transform: translateY(-1px);
}

.ink-topic-nav {
    color: #50606c;
    background: var(--ink-white);
    border-bottom: 1px solid var(--ink-line);
}

.ink-topic-nav-inner {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 43px;
}

.ink-topic-nav-label {
    color: var(--ink-teal-500);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ink-topic-nav-links {
    display: flex;
    flex: 1;
    gap: clamp(14px, 2vw, 26px);
    align-items: center;
    overflow: hidden;
}

.ink-topic-nav-links a {
    color: #53636f;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.ink-topic-nav-links a:hover {
    color: var(--ink-teal-500);
}

.ink-topic-nav-search {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 0;
    color: var(--ink-navy-900);
    cursor: pointer;
    background: transparent;
    border: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.ink-topic-nav-search svg {
    width: 14px;
}

.gh-search-icon {
    color: var(--ink-navy-900);
}

.ink-masthead {
    position: relative;
    overflow: hidden;
    color: var(--ink-white);
    background:
        radial-gradient(circle at 80% 10%, rgb(15 139 141 / 0.28), transparent 32%),
        linear-gradient(122deg, var(--ink-navy-950), var(--ink-navy-800));
}

.ink-masthead::after {
    position: absolute;
    top: -140px;
    right: -90px;
    width: 430px;
    height: 430px;
    content: "";
    border: 1px solid rgb(255 255 255 / 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 60px rgb(255 255 255 / 0.025),
        0 0 0 120px rgb(255 255 255 / 0.02);
}

.ink-masthead-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 72px;
    align-items: end;
    min-height: 300px;
    padding-top: clamp(46px, 5vw, 72px);
    padding-bottom: clamp(46px, 5vw, 72px);
}

.ink-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--ink-teal-500);
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ink-masthead .ink-kicker {
    color: #79ded1;
}

.ink-kicker::before {
    width: 22px;
    height: 2px;
    margin-right: 10px;
    content: "";
    background: currentColor;
}

.ink-masthead-title {
    max-width: 860px;
    margin-top: 20px;
    font-family: var(--ink-serif);
    font-size: clamp(4.6rem, 5.8vw, 7.6rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.ink-masthead-description {
    max-width: 680px;
    margin-top: 20px;
    color: #c4d2dd;
    font-size: clamp(1.7rem, 1.7vw, 2.1rem);
    line-height: 1.6;
}

.ink-masthead-meta {
    display: flex;
    gap: 12px 22px;
    align-items: center;
    margin-top: 26px;
    color: #8fa8b8;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ink-masthead-meta span {
    position: relative;
    padding-left: 22px;
}

.ink-masthead-meta span::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 1px;
    content: "";
    background: #5f7d90;
}

.ink-masthead-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.ink-search-button {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 0 15px;
    color: #dbe6ec;
    cursor: pointer;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 4px;
    text-align: left;
}

.ink-search-button:hover {
    background: rgb(255 255 255 / 0.13);
    border-color: rgb(255 255 255 / 0.35);
}

.ink-search-button svg {
    width: 18px;
}

.ink-search-button span {
    flex: 1;
    font-size: 1.35rem;
}

.ink-search-button kbd {
    padding: 2px 7px;
    color: #aebfca;
    font-family: var(--ink-sans);
    font-size: 1.1rem;
    background: rgb(0 0 0 / 0.16);
    border: 1px solid rgb(255 255 255 / 0.15);
    border-radius: 3px;
}

.ink-masthead-actions .ink-primary-action {
    min-height: 54px;
    color: var(--ink-navy-950);
    background: #7ce0d3;
    border-color: #7ce0d3;
    box-shadow: none;
}

.ink-masthead-actions .ink-primary-action:hover {
    color: var(--ink-white);
    background: var(--ink-teal-500);
}

.ink-lead,
.ink-latest {
    padding-top: clamp(60px, 7vw, 96px);
    padding-bottom: clamp(60px, 7vw, 96px);
}

.ink-section-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 34px;
}

.ink-section-header > div {
    display: flex;
    gap: 13px;
    align-items: baseline;
    white-space: nowrap;
}

.ink-section-header h2 {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(2.8rem, 3vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.ink-section-index {
    color: var(--ink-teal-500);
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.ink-section-rule {
    flex: 1;
    height: 1px;
    background: var(--ink-line-strong);
}

.ink-section-note,
.ink-section-header > a {
    color: var(--ink-muted);
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ink-section-header > a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.ink-section-header > a:hover {
    color: var(--ink-teal-500);
}

.ink-section-header svg,
.ink-card-action svg,
.ink-text-link svg {
    width: 16px;
}

.ink-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(320px, 0.9fr);
    gap: clamp(32px, 4vw, 60px);
}

.ink-lead-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}

.ink-lead-primary > .gh-card {
    min-width: 0;
}

.ink-lead-primary > .gh-card .gh-card-link {
    display: flex;
    gap: 0;
    height: 100%;
    min-height: 700px;
    overflow: hidden;
    background: var(--ink-white);
    border: 1px solid var(--ink-line);
    border-radius: 3px;
    box-shadow: 0 22px 55px rgb(11 31 51 / 0.075);
}

.ink-lead-primary > .gh-card .gh-card-image {
    width: 100%;
    min-height: 315px;
    margin: 0;
    aspect-ratio: 4 / 3;
}

.ink-lead-primary > .gh-card .gh-card-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
}

.ink-lead-primary > .gh-card .gh-card-title {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(2.8rem, 2.7vw, 3.7rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.ink-lead-primary > .gh-card .gh-card-excerpt {
    display: -webkit-box;
    margin-top: 18px;
    overflow: hidden;
    color: var(--ink-muted);
    font-size: 1.4rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.ink-lead-primary > .gh-card .gh-card-meta {
    margin-top: auto;
    padding-top: 24px;
}

.ink-lead-primary-more {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 24px;
    overflow: hidden;
    background: var(--ink-line);
    border: 1px solid var(--ink-line);
    border-radius: 3px;
    box-shadow: 0 12px 35px rgb(11 31 51 / 0.05);
}

.ink-lead-primary-more .gh-card {
    min-width: 0;
    background: var(--ink-white);
}

.ink-lead-primary-more .gh-card-link {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 18px;
    height: 100%;
    padding: 18px;
}

.ink-lead-primary-more .gh-card-image {
    width: 142px;
    height: 100%;
    min-height: 138px;
    margin: 0;
    aspect-ratio: auto;
}

.ink-lead-primary-more .gh-card-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ink-lead-primary-more .gh-card-tag {
    margin-bottom: 9px;
}

.ink-lead-primary-more .gh-card-title {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(1.9rem, 1.55vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.ink-lead-primary-more .gh-card-excerpt,
.ink-lead-primary-more .ink-card-action {
    display: none;
}

.ink-lead-primary-more .gh-card-meta {
    margin-top: auto;
    padding-top: 12px;
    font-size: 0.85rem;
}

.ink-lead-secondary {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--ink-white);
    border-top: 4px solid var(--ink-teal-500);
    box-shadow: 0 22px 50px rgb(11 31 51 / 0.09);
}

.ink-lead-secondary .gh-card {
    flex: 1;
    min-width: 0;
    padding: 22px;
}

.ink-lead-secondary .gh-card + .gh-card {
    border-top: 1px solid var(--ink-line);
}

.ink-lead-secondary .gh-card-link {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 18px;
    height: 100%;
}

.ink-lead-secondary .gh-card-image {
    width: 108px;
    height: 100%;
    min-height: 118px;
    margin: 0;
    aspect-ratio: auto;
}

.ink-lead-secondary .gh-card-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ink-lead-secondary .gh-card-tag {
    margin-bottom: 10px;
}

.ink-lead-secondary .gh-card-title {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(2rem, 1.8vw, 2.55rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.ink-lead-secondary .gh-card-excerpt,
.ink-lead-secondary .ink-card-action {
    display: none;
}

.ink-lead-secondary .gh-card-meta {
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.9rem;
}

.ink-lead-story .gh-card-link {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    min-height: 520px;
    overflow: hidden;
    background: var(--ink-white);
    border: 1px solid var(--ink-line);
    border-radius: 3px;
    box-shadow: 0 22px 55px rgb(11 31 51 / 0.075);
}

.ink-lead-story .gh-card-image {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 100%;
    min-height: 420px;
    min-width: 0;
    margin: 0;
    aspect-ratio: auto;
}

.ink-lead-story .gh-card-image img {
    height: 100%;
    object-fit: cover;
}

.ink-lead-story .gh-card-wrapper {
    display: flex;
    flex-direction: column;
    grid-row: 1;
    grid-column: 2;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(30px, 4vw, 52px);
}

.ink-lead-story .gh-card-tag,
.gh-card-tag,
.gh-article-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 5px 9px;
    color: var(--ink-teal-500);
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
    background: var(--ink-teal-100);
    border-radius: 2px;
}

.ink-lead-story .gh-card-title {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(3.4rem, 4vw, 5.2rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.ink-lead-story .gh-card-excerpt {
    display: -webkit-box;
    margin-top: 22px;
    overflow: hidden;
    color: var(--ink-muted);
    font-size: 1.55rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.gh-card-meta {
    margin-top: auto;
    padding-top: 28px;
    color: #78838d;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gh-card-meta > * + *::before {
    color: var(--ink-line-strong);
}

.ink-card-action {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: var(--ink-navy-900);
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: 0.03em;
}

.gh-card-link:hover .ink-card-action {
    color: var(--ink-teal-500);
}

.gh-card-link:hover .ink-card-action svg {
    transform: translateX(3px);
}

.ink-card-action svg {
    transition: transform 180ms ease;
}

.ink-briefing {
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 3vw, 42px);
    color: var(--ink-white);
    background: var(--ink-navy-900);
    border-top: 4px solid var(--ink-teal-500);
    box-shadow: 0 22px 50px rgb(11 31 51 / 0.12);
}

.ink-briefing .ink-kicker {
    color: #79ded1;
}

.ink-briefing h2 {
    margin-top: 32px;
    font-family: var(--ink-serif);
    font-size: clamp(3.1rem, 3.2vw, 4.1rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.ink-briefing > p {
    margin-top: 20px;
    color: #bdcbd5;
    font-size: 1.45rem;
    line-height: 1.65;
}

.ink-briefing ul {
    margin: 34px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgb(255 255 255 / 0.12);
}

.ink-briefing li {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 15px 0;
    color: #dce6ec;
    font-size: 1.25rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.ink-briefing li span {
    color: #79ded1;
    font-size: 0.9rem;
    font-weight: 700;
}

.ink-text-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding: 0;
    color: var(--ink-white);
    cursor: pointer;
    background: none;
    border: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.ink-text-link:hover {
    color: #79ded1;
}

.ink-empty-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: clamp(32px, 5vw, 70px);
    background: var(--ink-white);
    border: 1px solid var(--ink-line);
}

.ink-empty-state h2 {
    max-width: 600px;
    margin-top: 22px;
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(3.6rem, 5vw, 6rem);
    letter-spacing: -0.045em;
}

.ink-empty-state p {
    max-width: 560px;
    margin-top: 20px;
    color: var(--ink-muted);
    line-height: 1.65;
}

.ink-latest {
    background: var(--ink-paper-deep);
    border-top: 1px solid var(--ink-line);
}

.ink-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
}

.ink-latest-grid .gh-card {
    min-width: 0;
}

.ink-latest-grid .gh-card-link,
.gh-container.is-grid .gh-card-link {
    display: flex;
    height: 100%;
    overflow: hidden;
    background: var(--ink-white);
    border: 1px solid var(--ink-line);
    border-radius: 3px;
    box-shadow: 0 12px 35px rgb(11 31 51 / 0.04);
}

.ink-latest-grid .gh-card-image,
.gh-container.is-grid .gh-card-image {
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
}

.ink-latest-grid .gh-card-image img,
.gh-container.is-grid .gh-card-image img {
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ink-latest-grid .gh-card-link:hover .gh-card-image img,
.gh-container.is-grid .gh-card-link:hover .gh-card-image img {
    transform: scale(1.035);
}

.ink-latest-grid .gh-card-wrapper,
.gh-container.is-grid .gh-card-wrapper {
    flex: 1;
    padding: 25px 26px 28px;
}

.ink-latest-grid .gh-card-title,
.gh-container.is-grid .gh-card-title {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: 2.65rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.ink-latest-grid .gh-card-excerpt,
.gh-container.is-grid .gh-card-excerpt {
    margin-top: 13px;
    color: var(--ink-muted);
    font-size: 1.35rem;
    line-height: 1.6;
}

.gh-container {
    padding-top: clamp(60px, 7vw, 96px);
    padding-bottom: clamp(60px, 7vw, 96px);
}

.gh-container-title {
    padding-bottom: 20px;
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(3.2rem, 4vw, 4.6rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    border-bottom: 1px solid var(--ink-line-strong);
}

.gh-container.is-list .gh-card {
    padding-top: 28px;
    padding-bottom: 28px;
    border-color: var(--ink-line);
}

.gh-container.is-list .gh-card-title {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(2.6rem, 3vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.gh-container.is-list .gh-card-excerpt {
    color: var(--ink-muted);
}

.gh-more a {
    color: var(--ink-navy-900);
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gh-article {
    padding-top: clamp(64px, 8vw, 116px);
}

.gh-article-header {
    text-align: left;
}

.post-template .gh-article {
    padding-top: 0;
}

.post-template .gh-article-header {
    margin-top: clamp(36px, 4vw, 60px);
}

.gh-article-title {
    color: var(--ink-navy-950);
    font-family: var(--ink-serif);
    font-size: clamp(4.2rem, 6vw, 7.2rem);
    font-weight: 600;
    letter-spacing: -0.052em;
    line-height: 0.99;
}

.gh-article-excerpt {
    color: var(--ink-muted);
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    line-height: 1.55;
}

.gh-meta-share {
    padding-top: 25px;
    border-top: 1px solid var(--ink-line-strong);
}

.gh-article-author-name,
.gh-article-meta-content {
    font-family: var(--ink-sans);
}

.gh-article-author-name {
    color: var(--ink-navy-950);
    font-size: 1.25rem;
    font-weight: 700;
}

.gh-button-share {
    color: var(--ink-navy-900);
    background: transparent;
    border: 1px solid var(--ink-line-strong);
    border-radius: 3px;
}

.gh-button-share:hover {
    color: var(--ink-white);
    background: var(--ink-navy-900);
    border-color: var(--ink-navy-900);
}

.gh-article-image {
    border-radius: 3px;
    box-shadow: 0 24px 60px rgb(11 31 51 / 0.09);
}

.gh-content {
    color: #29333d;
    font-family: var(--ink-serif);
    font-size: clamp(1.9rem, 1.5vw, 2.15rem);
    line-height: 1.78;
}

.post-template .gh-container {
    margin-top: 64px;
    padding-top: 0;
}

.post-template .gh-container.is-grid .gh-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
}

@media (max-width: 767px) {
    .post-template .gh-article-header {
        margin-top: 32px;
    }

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

    .post-template .gh-container.is-grid .gh-feed {
        grid-template-columns: 1fr;
    }
}

.gh-content > p:first-of-type {
    color: #172c3f;
    font-size: 1.08em;
}

.gh-content :is(h2, h3, h4) {
    color: var(--ink-navy-950);
    font-family: var(--ink-sans);
    font-weight: 750;
    letter-spacing: -0.03em;
}

.gh-content a {
    color: var(--ink-blue-600);
    text-decoration-color: rgb(31 111 139 / 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.gh-content a:hover {
    color: var(--ink-teal-500);
    text-decoration-color: currentColor;
}

.gh-content blockquote {
    padding: 8px 0 8px 30px;
    color: var(--ink-navy-900);
    border-left: 4px solid var(--ink-teal-500);
    font-family: var(--ink-serif);
    font-size: 1.2em;
    font-style: italic;
}

.gh-content :not(pre) > code {
    padding: 0.15em 0.35em;
    color: #164e63;
    background: #e7f2f2;
    border-radius: 3px;
}

.gh-content pre {
    border: 1px solid #25445e;
    border-radius: 4px;
    box-shadow: 0 18px 45px rgb(11 31 51 / 0.1);
}

.gh-archive {
    padding-top: clamp(64px, 8vw, 110px);
    padding-bottom: clamp(50px, 6vw, 80px);
    border-bottom: 1px solid var(--ink-line-strong);
}

.gh-archive-wrapper::before {
    display: block;
    margin-bottom: 18px;
    color: var(--ink-teal-500);
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: 0.15em;
    content: "KNOWLEDGE ARCHIVE";
}

.gh-sidebar-inner {
    padding: 28px;
    background: var(--ink-white);
    border: 1px solid var(--ink-line);
    border-top: 4px solid var(--ink-teal-500);
    border-radius: 3px;
}

.gh-cta {
    background: var(--ink-navy-900);
    border: 0;
}

.gh-cta-inner {
    padding-top: 64px;
    padding-bottom: 64px;
}

.gh-cta-title {
    color: var(--ink-white);
    font-family: var(--ink-serif);
    font-size: clamp(3.4rem, 4vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.gh-cta-description {
    color: #bacbd6;
}

.gh-form-input,
.gh-form-submit {
    border-radius: 3px;
}

.gh-footer .gh-form-input,
.gh-cta .gh-form-input {
    color: var(--ink-navy-950);
    background: var(--ink-white);
    border-color: var(--ink-white);
}

.gh-footer .gh-form-input::placeholder,
.gh-cta .gh-form-input::placeholder {
    color: #778591;
}

.gh-footer .gh-form .gh-button,
.gh-cta .gh-form .gh-button {
    color: var(--ink-navy-950);
    background: #7ce0d3;
    border-radius: 3px;
}

.gh-footer .gh-form .gh-button:hover,
.gh-cta .gh-form .gh-button:hover {
    background: #9ce9df;
}

.gh-footer {
    color: #d2dce4;
    background: var(--ink-navy-950);
    border-top: 4px solid var(--ink-teal-500);
}

.gh-footer-inner {
    padding-top: 0;
}

.gh-footer-signup {
    padding-top: clamp(64px, 8vw, 100px);
    padding-bottom: clamp(64px, 8vw, 100px);
    border-color: rgb(255 255 255 / 0.12);
}

.gh-footer-signup-header {
    color: var(--ink-white);
    font-family: var(--ink-serif);
    font-size: clamp(3.7rem, 5vw, 5.8rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

.gh-footer-signup-subhead {
    color: #aebfca;
}

.ink-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(160px, 0.7fr) minmax(130px, 0.45fr);
    gap: clamp(44px, 7vw, 100px);
    padding: 68px 0 58px;
}

.ink-footer-wordmark {
    display: inline-block;
    max-width: 480px;
    color: var(--ink-white);
    font-family: var(--ink-serif);
    font-size: clamp(2.8rem, 3vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.ink-footer-wordmark img {
    max-height: 48px;
}

.ink-footer-brand p {
    max-width: 520px;
    margin-top: 18px;
    color: #91a5b4;
    font-size: 1.35rem;
    line-height: 1.65;
}

.ink-footer-label {
    display: block;
    margin-bottom: 18px;
    color: #6ed5c8;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ink-footer-nav .gh-footer-menu .nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.ink-footer-nav .gh-footer-menu .nav a {
    color: #c6d2da;
    font-size: 1.3rem;
}

.ink-footer-nav .gh-footer-menu .nav a:hover {
    color: var(--ink-white);
}

.ink-footer-social .gh-social-links {
    justify-content: flex-start;
    padding: 0;
}

.ink-footer-social .gh-social-links a {
    color: #c6d2da;
}

.gh-footer-bar {
    min-height: 64px;
    color: #7f95a5;
    border-color: rgb(255 255 255 / 0.11);
    font-size: 1.05rem;
    letter-spacing: 0.035em;
}

@media (max-width: 991px) {
    .ink-masthead-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ink-masthead-actions {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .ink-lead-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ink-lead-story,
    .ink-briefing,
    .ink-lead-primary,
    .ink-lead-secondary {
        min-width: 0;
    }

    .ink-lead-secondary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ink-lead-secondary .gh-card + .gh-card {
        border-top: 0;
        border-left: 1px solid var(--ink-line);
    }

    .ink-lead-secondary .gh-card-link {
        display: flex;
    }

    .ink-lead-secondary .gh-card-image {
        width: 100%;
        height: auto;
        min-height: 150px;
        aspect-ratio: 16 / 10;
    }

    .ink-lead-primary-more .gh-card-link {
        display: flex;
    }

    .ink-lead-primary-more .gh-card-image {
        width: 100%;
        height: auto;
        min-height: 170px;
        aspect-ratio: 16 / 10;
    }

    .ink-lead-primary > .gh-card .gh-card-link {
        min-height: 620px;
    }

    .ink-lead-primary > .gh-card .gh-card-image {
        min-height: 250px;
        aspect-ratio: 16 / 10;
    }

    .ink-lead-story .gh-card-link {
        grid-template-columns: 1.15fr 0.85fr;
        min-height: 460px;
    }

    .ink-latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .gh-navigation-inner {
        min-height: 66px;
    }

    .gh-navigation-logo {
        max-width: calc(100vw - 130px);
    }

    .ink-wordmark {
        overflow: hidden;
        font-size: 2.1rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gh-navigation-menu .nav a {
        padding: 10px 0;
        font-size: 1.8rem;
    }

    .ink-masthead-inner {
        min-height: auto;
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .ink-masthead-title {
        font-size: clamp(4.2rem, 13vw, 6.2rem);
    }

    .ink-masthead-actions {
        display: flex;
    }

    .ink-lead-story .gh-card-link {
        display: flex;
        min-height: 0;
    }

    .ink-lead-story .gh-card-image {
        grid-row: auto;
        grid-column: auto;
        width: 100%;
        min-height: 270px;
        aspect-ratio: 16 / 10;
    }

    .ink-lead-story .gh-card-wrapper {
        grid-row: auto;
        grid-column: auto;
    }

    .ink-section-note {
        display: none;
    }

    .ink-latest-grid {
        grid-template-columns: 1fr;
    }

    .ink-lead-primary-more {
        grid-template-columns: 1fr;
    }

    .ink-lead-primary {
        grid-template-columns: 1fr;
    }

    .ink-lead-primary > .gh-card .gh-card-link {
        min-height: 0;
    }

    .ink-lead-primary > .gh-card .gh-card-image {
        min-height: 250px;
    }

    .ink-lead-primary-more .gh-card-link {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .ink-lead-primary-more .gh-card-image {
        width: 105px;
        height: 100%;
        min-height: 115px;
        aspect-ratio: auto;
    }

    .ink-lead-secondary {
        display: flex;
    }

    .ink-lead-secondary .gh-card + .gh-card {
        border-top: 1px solid var(--ink-line);
        border-left: 0;
    }

    .ink-lead-secondary .gh-card-link {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .ink-lead-secondary .gh-card-image {
        width: 105px;
        height: 100%;
        min-height: 115px;
        aspect-ratio: auto;
    }

    .ink-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .ink-footer-brand {
        grid-column: 1 / -1;
    }

    .gh-footer-bar {
        align-items: flex-start;
    }
}

@media (max-width: 479px) {
    .ink-section-header {
        gap: 12px;
    }

    .ink-section-header > div {
        gap: 8px;
    }

    .ink-section-header h2 {
        font-size: 2.7rem;
    }

    .ink-section-header > a {
        font-size: 0;
    }

    .ink-section-header > a svg {
        width: 18px;
    }

    .ink-footer-main {
        grid-template-columns: 1fr;
    }

    .ink-footer-brand {
        grid-column: auto;
    }

    .gh-footer-bar > span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ink-publication *,
    .ink-publication *::before,
    .ink-publication *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* DEV-style community feed */

.ink-community {
    padding-top: clamp(32px, 4vw, 52px);
    padding-bottom: clamp(52px, 6vw, 80px);
    background: #f2f3f3;
    border-top: 1px solid var(--ink-line);
}

.ink-community-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
    max-width: 1280px;
}

.ink-community-main {
    min-width: 0;
}

.ink-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    margin-bottom: 12px;
}

.ink-feed-header h2 {
    color: var(--ink-navy-950);
    font-family: var(--ink-sans);
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.ink-feed-header nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.ink-feed-header nav :is(a, span) {
    padding: 9px 12px;
    color: #53616d;
    font-size: 1.3rem;
    border-radius: 6px;
}

.ink-feed-header nav a:hover {
    color: var(--ink-navy-950);
    background: var(--ink-white);
}

.ink-feed-header nav .is-active {
    color: var(--ink-navy-950);
    font-weight: 750;
    background: var(--ink-white);
    box-shadow: inset 0 -2px var(--ink-teal-500);
}

.ink-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ink-feed-card {
    min-width: 0;
    background: var(--ink-white);
    border: 1px solid #d9dddf;
    border-radius: 7px;
    box-shadow: 0 1px 2px rgb(11 31 51 / 0.035);
}

.ink-feed-card:hover {
    border-color: #bfc7cc;
    box-shadow: 0 7px 22px rgb(11 31 51 / 0.065);
}

.ink-feed-card-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    min-height: 210px;
    overflow: hidden;
    border-radius: inherit;
}

.ink-feed-card-image {
    grid-row: 1;
    grid-column: 2;
    width: 168px;
    height: 100%;
    min-height: 210px;
    overflow: hidden;
    background: var(--ink-paper-deep);
}

.ink-feed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.ink-feed-card-link:hover .ink-feed-card-image img {
    transform: scale(1.025);
}

.ink-feed-card-body {
    display: flex;
    flex-direction: column;
    grid-row: 1;
    grid-column: 1;
    min-width: 0;
    padding: 22px 26px 20px;
}

.ink-feed-card-author {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 34px;
    color: #66727c;
}

.ink-feed-avatar {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    color: var(--ink-navy-900);
    background: var(--ink-teal-100);
    border-radius: 50%;
}

.ink-feed-avatar :is(img, svg) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ink-feed-card-author > span:last-child {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    line-height: 1.35;
}

.ink-feed-card-author strong {
    color: #3e4b55;
    font-size: 1.15rem;
    font-weight: 650;
}

.ink-feed-card h3 {
    max-width: 640px;
    margin-top: 14px;
    color: var(--ink-navy-950);
    font-family: var(--ink-sans);
    font-size: clamp(2.2rem, 2.4vw, 3rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.13;
}

.ink-feed-card-link:hover h3 {
    color: var(--ink-teal-500);
}

.ink-feed-card-tags {
    display: flex;
    gap: 8px;
    margin-top: 11px;
}

.ink-feed-card-tags span {
    color: #61717c;
    font-size: 1.15rem;
}

.ink-feed-card-excerpt {
    max-width: 650px;
    margin-top: 15px;
    color: var(--ink-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

.ink-feed-card-footer {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: auto;
    padding-top: 18px;
    color: #65727c;
    font-size: 1.05rem;
}

.ink-feed-card-footer span:first-child {
    color: var(--ink-navy-900);
    font-weight: 700;
}

.ink-feed-card.is-featured .ink-feed-card-link {
    display: flex;
    flex-direction: column;
}

.ink-feed-card.is-featured .ink-feed-card-image {
    order: 0;
    width: 100%;
    height: auto;
    min-height: 310px;
    aspect-ratio: 16 / 7;
}

.ink-feed-card.is-featured .ink-feed-card-body {
    order: 1;
    padding: 26px 30px 24px;
}

.ink-feed-card.is-featured h3 {
    font-size: clamp(2.8rem, 3.3vw, 4rem);
}

.ink-load-more {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 16px;
    color: var(--ink-navy-900);
    font-size: 1.25rem;
    font-weight: 750;
    background: var(--ink-white);
    border: 1px solid #d9dddf;
    border-radius: 7px;
}

.ink-load-more:hover {
    color: var(--ink-white);
    background: var(--ink-navy-900);
    border-color: var(--ink-navy-900);
}

.ink-load-more svg {
    width: 16px;
}

.ink-community-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.ink-side-panel,
.ink-side-join {
    overflow: hidden;
    background: var(--ink-white);
    border: 1px solid #d9dddf;
    border-radius: 7px;
}

.ink-side-panel > header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #e1e4e6;
}

.ink-side-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--ink-teal-500);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ink-side-panel h2,
.ink-side-join h2 {
    color: var(--ink-navy-950);
    font-family: var(--ink-sans);
    font-size: 1.9rem;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.ink-side-story-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ink-side-story-list li + li {
    border-top: 1px solid #e5e8ea;
}

.ink-side-story-list a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 17px 20px;
}

.ink-side-story-list a:hover {
    background: #f7f8f8;
}

.ink-side-number {
    color: var(--ink-teal-500);
    font-size: 1rem;
    font-weight: 800;
}

.ink-side-story-list strong {
    display: block;
    color: var(--ink-navy-950);
    font-family: var(--ink-sans);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
}

.ink-side-story-list small {
    display: block;
    margin-top: 7px;
    color: #7a858e;
    font-size: 0.95rem;
}

.ink-topic-list {
    display: flex;
    flex-direction: column;
}

.ink-topic-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 43px;
    padding: 0 20px;
    color: #40505b;
    font-size: 1.2rem;
}

.ink-topic-list a + a {
    border-top: 1px solid #eef0f1;
}

.ink-topic-list a:hover {
    color: var(--ink-teal-500);
    background: #f7f8f8;
}

.ink-topic-list small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    color: #687681;
    background: #eef1f2;
    border-radius: 11px;
}

.ink-side-join {
    padding: 24px;
    color: #d3dee5;
    background: var(--ink-navy-900);
    border-color: var(--ink-navy-900);
}

.ink-side-join .ink-side-eyebrow {
    color: #76ddd0;
}

.ink-side-join h2 {
    color: var(--ink-white);
    font-size: 2.3rem;
}

.ink-side-join p {
    margin-top: 10px;
    color: #b8c8d2;
    font-size: 1.25rem;
    line-height: 1.55;
}

.ink-side-join .gh-button {
    width: 100%;
    margin-top: 20px;
    color: var(--ink-navy-950);
    background: #7ce0d3;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .ink-community-inner {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .ink-community-inner {
        grid-template-columns: 1fr;
    }

    .ink-community-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ink-side-join {
        grid-column: 1 / -1;
    }

    .ink-feed-card-link {
        grid-template-columns: minmax(0, 1fr) 112px;
        min-height: 190px;
    }

    .ink-feed-card-image {
        width: 112px;
        min-height: 190px;
    }

    .ink-feed-card-body {
        padding: 18px;
    }

    .ink-feed-card h3 {
        font-size: 2.15rem;
    }

    .ink-feed-card.is-featured .ink-feed-card-image {
        min-height: 230px;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 520px) {
    .ink-feed-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ink-feed-header nav {
        width: 100%;
        overflow-x: auto;
    }

    .ink-feed-card-link {
        display: flex;
        flex-direction: column;
    }

    .ink-feed-card-image {
        order: 0;
        width: 100%;
        height: auto;
        min-height: 190px;
        aspect-ratio: 16 / 9;
    }

    .ink-feed-card-body {
        order: 1;
    }

    .ink-community-sidebar {
        display: flex;
    }
}

/* Wider, tighter tag archives */

.tag-template .gh-archive {
    margin-block: 0;
    padding-top: clamp(28px, 3vw, 44px);
    padding-bottom: clamp(22px, 2.5vw, 34px);
}

.tag-template .gh-archive:not(.has-sidebar):not(.has-image) .gh-archive-inner {
    grid-column: 1 / -1;
}

.tag-template .gh-archive-inner {
    padding-bottom: clamp(28px, 3vw, 44px);
}

.tag-template .gh-archive-wrapper {
    max-width: 760px;
}

.tag-template .gh-container {
    padding-top: 18px;
}

.tag-template .gh-container:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
    grid-column: 1 / -1;
}

.tag-template .gh-container.is-grid .gh-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
}

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

@media (max-width: 767px) {
    .tag-template .gh-archive {
        padding-top: 26px;
    }

    .tag-template .gh-container {
        padding-top: 20px;
    }

    .tag-template .gh-container.is-grid .gh-feed {
        grid-template-columns: 1fr;
    }
}

.gh-footer-signup {
    margin-bottom: 0;
    padding-top: clamp(52px, 6vw, 76px);
    padding-bottom: clamp(52px, 6vw, 76px);
}

.ink-footer-main {
    padding-top: 52px;
    padding-bottom: 46px;
}

.gh-footer-bar {
    margin-bottom: 56px;
}

@media (max-width: 767px) {
    .ink-topic-nav-inner {
        gap: 12px;
        overflow: hidden;
    }

    .ink-topic-nav-links {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ink-topic-nav-links::-webkit-scrollbar {
        display: none;
    }

    .ink-topic-nav-search span {
        display: none;
    }

    .ink-topic-nav-search svg {
        width: 17px;
    }

    .ink-masthead-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .ink-masthead-meta span {
        padding-left: 0;
    }

    .ink-masthead-meta span::before {
        display: none;
    }
}
