/*
Theme Name: Olymbe Architecte
Description: Thème Ghost premium noir/or pour un blog IT d’architecte logiciel.
Version: 1.0.0
*/

:root {
    --color-bg: #050505;
    --color-bg-alt: #0d0b08;
    --color-surface: rgba(15, 14, 12, 0.82);
    --color-surface-strong: rgba(23, 20, 15, 0.96);
    --color-border: rgba(216, 179, 90, 0.22);
    --color-border-soft: rgba(255, 255, 255, 0.08);
    --color-text: #f7f1df;
    --color-muted: #b8ad95;
    --color-muted-2: #7e7464;
    --color-code: #10100e;
    --olymbe-accent: #d8b35a;
    --olymbe-accent-soft: #f3e3a6;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --shadow-gold: 0 24px 80px rgba(216, 179, 90, 0.18);
    --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.28);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --inner: 1180px;
    --narrow: 780px;
    --wide: 1120px;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a {
    color: inherit;
    text-decoration: none;
}

a:hover { color: var(--olymbe-accent-soft); }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

::selection {
    color: #0a0907;
    background: var(--olymbe-accent-soft);
}

.site-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 10%, rgba(216, 179, 90, 0.13), transparent 34%),
        radial-gradient(circle at 80% 0%, rgba(255, 244, 190, 0.06), transparent 30%),
        linear-gradient(180deg, #030303 0%, #0a0805 45%, #020202 100%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(216, 179, 90, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 179, 90, 0.13) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.bg-orb {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 999px;
    filter: blur(42px);
    opacity: 0.25;
    background: var(--olymbe-accent);
}

.bg-orb-one { top: -180px; left: -100px; }
.bg-orb-two { right: -200px; bottom: 8%; opacity: 0.11; }

.site-shell {
    width: 100%;
    min-height: 100vh;
}

.inner {
    width: min(var(--inner), calc(100% - 48px));
    margin-inline: auto;
}

.inner.narrow { width: min(var(--narrow), calc(100% - 48px)); }
.inner.wide { width: min(var(--wide), calc(100% - 48px)); }

.skip-link,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    top: 16px;
    left: 16px;
    z-index: 999;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    border-radius: 999px;
    color: #090806;
    background: var(--olymbe-accent-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--color-border-soft);
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(22px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(216, 179, 90, 0.22);
}

.brand-logo-fallback { background: rgba(216, 179, 90, 0.08); }

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    letter-spacing: 0.03em;
}

.brand-text small {
    color: var(--color-muted);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-navigation {
    justify-self: center;
}

.site-navigation ul,
.site-footer ul {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-navigation a {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-navigation .nav-current a,
.site-navigation a:hover { color: var(--color-text); }

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.icon-link {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    color: var(--color-text);
    transform: translateY(-2px);
    border-color: rgba(243, 227, 166, 0.55);
    background: rgba(216, 179, 90, 0.08);
    box-shadow: var(--shadow-gold);
}

.button-primary {
    color: #080704;
    border-color: transparent;
    background: linear-gradient(135deg, var(--olymbe-accent-soft), var(--olymbe-accent) 55%, #9b7428);
}

.button-primary:hover { color: #080704; }
.button-ghost { background: rgba(255, 255, 255, 0.02); }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 0.78rem; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    padding: 92px 0 72px;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
    align-items: center;
    gap: 54px;
}

.hero-copy h1,
.archive-header h1,
.article-header h1,
.section-heading h2,
.error-page h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.hero-copy h1 {
    max-width: 820px;
    font-size: clamp(3.3rem, 8vw, 7.3rem);
    text-wrap: balance;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--olymbe-accent-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-subtitle {
    max-width: 710px;
    margin: 26px 0 0;
    color: var(--color-muted);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-signals span,
.tag-list a,
.author-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.82rem;
}

.hero-console {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(216, 179, 90, 0.12), transparent 26%),
        rgba(8, 8, 7, 0.82);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}

.hero-console::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 24%, rgba(216, 179, 90, 0.10));
}

.console-topbar {
    display: flex;
    gap: 8px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border-soft);
}

.console-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--olymbe-accent);
    opacity: 0.78;
}

.hero-console pre {
    position: relative;
    margin: 0;
    padding: 26px;
    color: #f1e6c5;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    white-space: pre-wrap;
}

.console-muted { color: var(--olymbe-accent); }

.section {
    padding: 54px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: 32px;
    max-width: none;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-heading p,
.archive-header p {
    color: var(--color-muted);
}

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

.post-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(216, 179, 90, 0.08);
}

.post-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(216, 179, 90, 0.08);
}

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

.post-card:hover .post-card-media img { transform: scale(1.04); }

.post-card-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: rgba(243, 227, 166, 0.78);
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(216, 179, 90, 0.25), transparent 35%),
        linear-gradient(135deg, rgba(216, 179, 90, 0.18), rgba(255, 255, 255, 0.02));
}

.placeholder-glyph {
    display: block;
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 0.8;
}

.post-card-content { padding: 24px; }

.post-card-tag,
.article-tag {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--olymbe-accent-soft);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.post-card h2 {
    margin: 0;
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
    line-height: 1.15;
    text-wrap: balance;
}

.post-card p {
    margin: 14px 0 0;
    color: var(--color-muted);
    font-size: 0.96rem;
}

.post-card-meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--color-muted-2);
    font-size: 0.82rem;
    font-weight: 700;
}

.post-card-meta a:hover { color: var(--olymbe-accent-soft); }

.archive-header {
    padding: 78px 0 34px;
}

.archive-header h1 {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.author-header {
    text-align: center;
}

.author-avatar-large {
    width: 104px;
    height: 104px;
    margin: 0 auto 22px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    object-fit: cover;
}

.author-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.article {
    padding-top: 70px;
}

.article-header { text-align: center; }
.article-header h1 { font-size: clamp(2.8rem, 6.6vw, 6.8rem); text-wrap: balance; }

.article-excerpt {
    max-width: 720px;
    margin: 24px auto 0;
    color: var(--color-muted);
    font-size: 1.18rem;
}

.article-meta { justify-content: center; margin-top: 26px; }

.author-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.author-mini img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.article-image {
    margin-top: 46px;
}

.article-image img {
    width: 100%;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.article-image figcaption {
    margin-top: 10px;
    color: var(--color-muted-2);
    font-size: 0.86rem;
    text-align: center;
}

.gh-content {
    margin-top: 52px;
    color: #eadfca;
}

.gh-content > * + * { margin-top: 1.45em; }
.gh-content h2,
.gh-content h3,
.gh-content h4 {
    margin-top: 2em;
    color: var(--color-text);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.gh-content h2 {
    padding-top: 0.4em;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.gh-content h3 { font-size: 1.75rem; }
.gh-content h4 { font-size: 1.32rem; }

.gh-content p { margin-bottom: 0; }

.gh-content a {
    color: var(--olymbe-accent-soft);
    border-bottom: 1px solid rgba(243, 227, 166, 0.28);
}

.gh-content strong { color: #fff7de; }

.gh-content blockquote {
    margin-inline: 0;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--olymbe-accent);
    border-radius: var(--radius-lg);
    color: #fff5d8;
    background: rgba(216, 179, 90, 0.08);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.45;
}

.gh-content pre {
    position: relative;
    overflow: auto;
    padding: 24px;
    border: 1px solid rgba(216, 179, 90, 0.22);
    border-radius: var(--radius-lg);
    color: #f1e6c5;
    background:
        linear-gradient(180deg, rgba(216, 179, 90, 0.08), transparent),
        var(--color-code);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gh-content code {
    padding: 0.14em 0.35em;
    border: 1px solid rgba(216, 179, 90, 0.18);
    border-radius: 8px;
    color: #ffe7a1;
    background: rgba(216, 179, 90, 0.08);
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.gh-content pre code {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 0.9rem;
}

.copy-code-button {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
}

.gh-content img,
.gh-content video,
.gh-content iframe {
    max-width: 100%;
    border-radius: var(--radius-md);
}


/* Ghost Koenig editor image width support
   Required by GScan for wide and full-width image/card layouts. */
.gh-content figure {
    margin-right: auto;
    margin-left: auto;
}

.gh-content figure img,
.gh-content .kg-image {
    display: block;
    width: 100%;
    height: auto;
}

.gh-content .kg-image-card,
.gh-content .kg-gallery-card,
.gh-content .kg-embed-card {
    width: 100%;
}

.gh-content .kg-width-wide {
    position: relative;
    width: min(92vw, 1120px);
    max-width: calc(100vw - 48px);
    margin-left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-full {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-wide img,
.gh-content .kg-width-full img,
.gh-content .kg-width-wide video,
.gh-content .kg-width-full video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.gh-content .kg-width-full img,
.gh-content .kg-width-full video {
    border-radius: 0;
}

.gh-content .kg-width-wide figcaption,
.gh-content .kg-width-full figcaption {
    max-width: min(100% - 48px, 760px);
    margin-right: auto;
    margin-left: auto;
}

.gh-content hr {
    height: 1px;
    margin: 3em 0;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.gh-content table {
    display: block;
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
}

.gh-content th,
.gh-content td {
    padding: 12px 14px;
    border: 1px solid var(--color-border-soft);
}

.gh-content th {
    color: var(--olymbe-accent-soft);
    background: rgba(216, 179, 90, 0.08);
}

.kg-card { margin-top: 2em; }
.kg-callout-card { border-radius: var(--radius-md); }
.kg-bookmark-card a.kg-bookmark-container {
    border-color: var(--color-border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.article-footer {
    margin-top: 54px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.author-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin-top: 36px;
    padding: 24px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}

.author-box img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h2,
.author-box p { margin: 0; }
.author-box h2 { font-size: 1.25rem; }
.author-box p:not(.eyebrow) { color: var(--color-muted); }

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

.related-posts {
    margin-top: 24px;
    border-top: 1px solid var(--color-border-soft);
}

.pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 38px;
    color: var(--color-muted);
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.88rem;
    font-weight: 800;
}

.older-posts { justify-self: end; }
.page-number { font-size: 0.85rem; }

.empty-state,
.error-page {
    padding: 68px 24px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    text-align: center;
}

.error-page { margin-top: 68px; margin-bottom: 68px; }
.error-page h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.error-page p { color: var(--color-muted); }

.site-footer {
    margin-top: 50px;
    padding: 54px 0 26px;
    border-top: 1px solid var(--color-border-soft);
    background: rgba(0, 0, 0, 0.22);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 42px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
}

.footer-brand img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: contain;
}

.site-footer p,
.site-footer a,
.footer-bottom {
    color: var(--color-muted);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.footer-newsletter {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: rgba(216, 179, 90, 0.06);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border-soft);
    font-size: 0.82rem;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    width: 100%;
    height: 3px;
    pointer-events: none;
}

.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--olymbe-accent), var(--olymbe-accent-soft));
    box-shadow: 0 0 20px rgba(216, 179, 90, 0.6);
}

@media (max-width: 1020px) {
    .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
    .nav-toggle { display: block; order: 3; }
    .site-navigation,
    .header-actions {
        position: fixed;
        left: 24px;
        right: 24px;
        display: none;
        border: 1px solid var(--color-border);
        background: rgba(7, 7, 6, 0.96);
        backdrop-filter: blur(22px);
    }
    .site-navigation {
        top: 92px;
        padding: 22px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .site-navigation ul { align-items: stretch; flex-direction: column; gap: 0; }
    .site-navigation li + li { border-top: 1px solid var(--color-border-soft); }
    .site-navigation a { display: block; padding: 14px 0; }
    .header-actions {
        top: calc(92px + 220px);
        padding: 16px 22px;
        border-top: 0;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .nav-open .site-navigation,
    .nav-open .header-actions { display: block; }
    .hero-content { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .inner,
    .inner.narrow,
    .inner.wide { width: min(100% - 32px, var(--inner)); }
    .header-inner { min-height: 72px; }
    .brand-logo { width: 46px; height: 46px; }
    .brand-text small { display: none; }
    .hero { padding: 58px 0 42px; }
    .hero-copy h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .hero-console pre { padding: 22px; font-size: 0.78rem; }
    .post-grid { grid-template-columns: 1fr; }
    .article { padding-top: 44px; }
    .article-header h1 { font-size: clamp(2.4rem, 13vw, 4.2rem); }
    .author-box { grid-template-columns: 1fr; text-align: center; }
    .author-box img { margin: 0 auto; }
    .pagination { grid-template-columns: 1fr; text-align: center; }
    .older-posts, .newer-posts { justify-self: stretch; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}


@media (max-width: 680px) {
    .gh-content .kg-width-wide {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        transform: none;
    }

    .gh-content .kg-width-full {
        width: calc(100% + 32px);
        max-width: calc(100% + 32px);
        margin-left: -16px;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
