/* Findiyra Blog: same look as findiyra.com (colours, fonts, header, footer). No build step. */

/* Fonts, served locally (no Google Fonts). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }

:root {
    --accent: #8755fb;
    --accent-hover: #7344de;
    --accent-soft: #f3eeff;
    --text: #09090b;
    --subtext: #52525b;
    --muted: #71717a;
    --line: #e4e4e7;
    --line-soft: #f1f1f4;
    --surface: #f8fafc;
    --dark: #0a0b0e;
    --radius: 24px;
    --radius-small: 14px;
    --shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 45px -12px rgba(0, 0, 0, 0.12);
    --font-head: Poppins, system-ui, sans-serif;
    --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1280px;
    --content: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: #fff; color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.fy-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.fy-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 999px; }
.fy-skip:focus { left: 16px; }
.fy-main { flex: 1; }

/* Brand */
.fy-brand { font-family: var(--font-head); font-weight: 700; font-size: 30px; letter-spacing: -0.025em; line-height: 36px; color: var(--text); transition: color .2s; }
.fy-brand-name > span { color: var(--accent); }
.fy-brand:hover .fy-brand-name { color: var(--accent); }

/* Buttons and chips */
.fy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.3; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; white-space: nowrap; }
.fy-btn-dark { background: #000; color: #fff; }
.fy-btn-dark:hover { background: #27272a; }
.fy-btn-accent { background: var(--accent); color: #fff; box-shadow: 0 0 35px rgba(135, 85, 251, .35); padding: 14px 28px; }
.fy-btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.fy-btn-glass { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; padding: 14px 28px; }
.fy-btn-glass:hover { background: rgba(255, 255, 255, .12); }
.fy-btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.fy-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.fy-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--subtext); transition: color .2s, border-color .2s, background .2s; }
.fy-icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.fy-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; transition: background .2s, color .2s; }
.fy-chip:hover { background: var(--accent); color: #fff; }
.fy-chip-large { padding: 8px 16px; font-size: 14px; background: #fff; color: var(--subtext); border: 1px solid var(--line); }
.fy-chip-large:hover, .fy-chip-large.is-current { background: var(--text); border-color: var(--text); color: #fff; }
.fy-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14px; }
.fy-link:hover { gap: 9px; }
.fy-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* Top bar (as in the docs) */
.fy-topbar { position: relative; z-index: 51; border-bottom: 1px solid #ececf0; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); font-size: 12px; font-weight: 500; line-height: 16px; color: var(--subtext); }
.fy-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.fy-topbar nav { display: flex; align-items: center; height: 100%; gap: 28px; }
.fy-topbar a { display: inline-flex; align-items: center; height: 100%; white-space: nowrap; transition: color .2s; }
.fy-topbar a:hover { color: var(--text); }
.fy-topbar-tabs a.is-active { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--text); }

/* Header (as in the docs) */
.fy-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.fy-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .18); }
.fy-header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.fy-brand { display: inline-flex; align-items: baseline; gap: 10px; flex: none; }
.fy-brand-area { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--subtext); letter-spacing: 0; }
.fy-search { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border: 1px solid transparent; border-radius: 8px; background: var(--surface); color: var(--subtext); font-size: 13px; font-weight: 500; transition: border-color .2s, color .2s; }
.fy-search:hover { border-color: var(--accent); color: var(--text); }
.fy-search-keys { padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; font-family: inherit; font-size: 11px; font-weight: 500; color: var(--muted); background: #fff; }
.fy-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.fy-nav-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; line-height: 64px; color: var(--text); white-space: nowrap; transition: color .2s; }
.fy-nav-link svg { color: var(--muted); }
.fy-nav-link:hover, .fy-nav-link.is-current { color: var(--accent); }
.fy-nav-divider { width: 1px; height: 24px; background: var(--line); }
.fy-burger { display: none; margin-left: auto; }

/* Page head */
.fy-hero { position: relative; overflow: hidden; border-bottom: 1px solid #f0f0f3; background: #fff; }
.fy-hero-glow { position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(520px 260px at 18% 20%, rgba(135, 85, 251, .07), transparent 70%),
    radial-gradient(460px 300px at 82% 60%, rgba(135, 85, 251, .06), transparent 70%); }
.fy-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 32px; padding-bottom: 56px; }
.fy-crumbs { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 500; color: var(--muted); box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.fy-crumbs a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.fy-crumbs a:hover { color: var(--accent); }
.fy-crumbs [aria-current] { color: var(--text); font-weight: 600; }
.fy-crumb-sep { display: inline-flex; color: #c4c4cc; }
.fy-hero-title { margin: 22px 0 0; max-width: 900px; font-family: var(--font-head); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.12; letter-spacing: -0.025em; }
.fy-hero-title em, .fy-section-title em { font-style: normal; color: var(--accent); }
.fy-hero-text { margin: 20px 0 0; max-width: 680px; font-size: 18px; line-height: 1.65; color: var(--subtext); }

/* Sections and grid */
.fy-section { padding: 56px 0 88px; }
.fy-section-surface { background: var(--surface); border-top: 1px solid #eef0f4; }
.fy-section-title { margin: 0 0 32px; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -0.02em; }
.fy-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.fy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fy-empty { margin: 0; padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Cards */
.fy-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s, border-color .25s; }
.fy-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #d9d4ea; }
.fy-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.fy-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fy-card:hover .fy-card-media img { transform: scale(1.03); }
.fy-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: radial-gradient(circle at 80% 15%, #a07bff 0, transparent 50%), radial-gradient(circle at 10% 100%, #3b1f8f 0, transparent 55%), #0c0a14; }
.fy-card-placeholder > span { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: #fff; letter-spacing: -0.02em; }
.fy-card-placeholder > span span { color: var(--accent); }
.fy-card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 24px; }
.fy-card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.fy-card-title { margin: 2px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.fy-card-title a:hover { color: var(--accent); }
.fy-card-excerpt { margin: 0; font-size: 15px; color: var(--subtext); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fy-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--muted); }
.fy-card-large { flex-direction: row; margin-bottom: 24px; }
.fy-card-large .fy-card-media { position: relative; flex: 0 0 56%; aspect-ratio: 16 / 10; }
.fy-card-large .fy-card-media img { position: absolute; inset: 0; }
.fy-card-large .fy-card-body { justify-content: center; padding: 40px; gap: 14px; }
.fy-card-large .fy-card-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.22; }
.fy-card-large .fy-card-excerpt { font-size: 16px; -webkit-line-clamp: 4; }

/* Pagination */
.fy-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; }
.fy-pagination-info { font-size: 14px; color: var(--muted); }

/* Post */
.fy-article-head { position: relative; overflow: hidden; }
.fy-article-head-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 32px; padding-bottom: 40px; }
.fy-article-title { margin: 22px 0 0; max-width: 900px; font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.14; letter-spacing: -0.025em; }
.fy-article-excerpt { margin: 18px 0 0; max-width: 720px; font-size: 19px; line-height: 1.6; color: var(--subtext); }
.fy-byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; text-align: left; }
.fy-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 0; }
.fy-avatar img.fy-avatar-icon { transform: scale(1.15); }
.fy-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fy-avatar-large { width: 64px; height: 64px; }
.fy-byline-text { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); line-height: 1.4; }
.fy-byline-name { color: var(--text); font-weight: 600; }
.fy-byline-name a:hover { color: var(--accent); }
.fy-cover { margin: 0 auto 8px; }
.fy-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.fy-cover figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.fy-article-layout { display: grid; grid-template-columns: minmax(0, var(--content)) 240px; justify-content: center; gap: 72px; padding-top: 48px; padding-bottom: 80px; }
.fy-article-layout.is-single { grid-template-columns: minmax(0, var(--content)); }
.fy-toc { position: sticky; top: 112px; align-self: start; padding-left: 20px; border-left: 1px solid var(--line); }
.fy-toc nav { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.fy-toc a { padding: 5px 0; font-size: 14px; line-height: 1.45; color: var(--muted); transition: color .2s; }
.fy-toc a.is-sub { padding-left: 14px; font-size: 13px; }
.fy-toc a:hover, .fy-toc a.is-active { color: var(--accent); }
.fy-toc-mobile { display: none; }
.fy-toc-mobile[hidden] { display: none !important; }
.fy-article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.fy-article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fy-share { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fy-share-done { font-size: 13px; color: var(--accent); }
.fy-author-box { display: flex; gap: 18px; margin-top: 32px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fy-author-name { display: block; margin-top: 4px; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.fy-author-name:hover { color: var(--accent); }
.fy-author-box p { margin: 6px 0 0; font-size: 15px; color: var(--subtext); }
.fy-page { max-width: calc(var(--content) + 64px); padding-top: 48px; padding-bottom: 88px; }

/* Article content (Koenig editor) */
.fy-content { font-size: 18px; line-height: 1.75; color: #27272a; }
.fy-content > * + * { margin-top: 1.25em; margin-bottom: 0; }
.fy-content > :first-child { margin-top: 0; }
.fy-content h2, .fy-content h3, .fy-content h4 { font-family: var(--font-head); color: var(--text); letter-spacing: -0.015em; line-height: 1.3; }
.fy-content h2 { margin-top: 2em; font-size: 30px; font-weight: 700; }
.fy-content h3 { margin-top: 1.7em; font-size: 23px; font-weight: 600; }
.fy-content h4 { margin-top: 1.5em; font-size: 19px; font-weight: 600; }
.fy-content h2 + *, .fy-content h3 + *, .fy-content h4 + * { margin-top: .6em; }
.fy-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Call to action inside a post ([[cta]] in content.html, see scripts/blog-publish.mjs):
   light card that sits in the reading flow, unlike the dark box at the end. */
.fy-content .fy-inline-cta { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; margin: 2em 0; padding: 26px 28px; border: 1px solid #e6defd; border-radius: 24px; background: linear-gradient(135deg, #f8f5ff 0%, #f1ebff 100%); }
.fy-content .fy-inline-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(135, 85, 251, .18), transparent 70%); pointer-events: none; }
.fy-inline-cta-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(135, 85, 251, .7); }
.fy-inline-cta-body { flex: 1; min-width: 0; }
.fy-content .fy-inline-cta-title { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--text); letter-spacing: -0.01em; }
.fy-content .fy-inline-cta-text { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: #52525b; }
.fy-content .fy-inline-cta .fy-btn { position: relative; z-index: 1; flex: none; color: #fff; text-decoration: none; padding: 12px 22px; box-shadow: 0 0 28px rgba(135, 85, 251, .3); }
.fy-content .fy-inline-cta .fy-btn:hover { color: #fff; }
@media (max-width: 640px) {
    .fy-content .fy-inline-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
    .fy-content .fy-inline-cta .fy-btn { width: 100%; }
}
.fy-content a:hover { color: var(--accent-hover); }
.fy-content strong { color: var(--text); font-weight: 600; }
.fy-content ul, .fy-content ol { padding-left: 1.4em; }
.fy-content li + li { margin-top: .4em; }
.fy-content li::marker { color: var(--accent); }
.fy-content blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 20px; font-style: italic; color: var(--text); }
.fy-content blockquote.kg-blockquote-alt { border: 0; padding: 0 1.5em; text-align: center; font-size: 24px; }
.fy-content hr { height: 1px; border: 0; background: var(--line); margin: 3em 0; }
.fy-content code { padding: 2px 6px; border-radius: 6px; background: #f4f4f5; font-size: .88em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #6d28d9; }
.fy-content pre { overflow-x: auto; padding: 20px 22px; border-radius: var(--radius-small); background: #0d1117; color: #e6edf3; font-size: 14px; line-height: 1.65; }
.fy-content pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.fy-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fy-content th, .fy-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.fy-content th { font-weight: 600; color: var(--text); background: var(--surface); }
.fy-content figure { margin-left: 0; margin-right: 0; }
.fy-content img { border-radius: var(--radius-small); }
.fy-content figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.fy-content .kg-width-wide { position: relative; width: min(1040px, calc(100vw - 64px)); left: 50%; transform: translateX(-50%); }
.fy-content .kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.fy-content .kg-width-full img { border-radius: 0; }
.fy-content .kg-callout-card { border-radius: var(--radius-small); }
.fy-content .kg-bookmark-container { border-radius: var(--radius-small); text-decoration: none; }

/* Call to action */
.fy-cta { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.fy-cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 50% 0%, rgba(135, 85, 251, .28), transparent 70%), radial-gradient(500px 260px at 15% 100%, rgba(59, 31, 143, .45), transparent 70%); }
.fy-cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 96px; padding-bottom: 96px; }
.fy-cta-title { margin: 0; max-width: 640px; font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
.fy-cta-text { margin: 18px 0 0; max-width: 680px; font-size: 17px; color: rgba(255, 255, 255, .78); }
.fy-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Footer */
.fy-footer { padding: 40px 0; background: var(--surface); border-top: 1px solid #e9ecf1; font-size: 13px; }
.fy-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fy-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-weight: 500; color: #3f3f46; }
.fy-footer-links a:hover { color: var(--accent); }
.fy-footer-copy { color: var(--muted); }

/* Errors */
.fy-error .fy-hero-inner { padding-top: 96px; padding-bottom: 120px; }
.fy-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Smaller screens */
@media (max-width: 1100px) {
    .fy-article-layout { grid-template-columns: minmax(0, var(--content)); gap: 0; }
    .fy-toc { display: none; }
    .fy-toc-mobile { display: block; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 18px; background: #faf8ff; }
    .fy-toc-mobile summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--text); }
    .fy-toc-mobile summary::-webkit-details-marker { display: none; }
    .fy-toc-mobile summary svg { color: var(--accent); transition: transform .2s; }
    .fy-toc-mobile[open] summary svg { transform: rotate(180deg); }
    .fy-toc-mobile nav { display: flex; flex-direction: column; gap: 2px; padding: 0 18px 14px; border-top: 1px solid var(--line); padding-top: 10px; }
    .fy-toc-mobile a { padding: 6px 0; font-size: 15px; line-height: 1.45; color: #3f3f46; }
    .fy-toc-mobile a.is-sub { padding-left: 14px; font-size: 14px; color: var(--muted); }
    .fy-toc-mobile a:hover, .fy-toc-mobile a.is-active { color: var(--accent); }
    .fy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    /* backdrop-filter would make the fixed menu panel as small as the header. */
    .fy-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    body.has-menu-open { overflow: hidden; }
    .fy-burger { display: inline-flex; position: relative; z-index: 61; }
    .fy-search { margin-left: auto; }
    .fy-burger { margin-left: 0; }
    .fy-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 0; width: min(320px, 86vw); margin: 0; padding: 88px 20px 24px; overflow-y: auto; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, visibility 0s .3s; }
    /* Shadow only while open: closed, the panel waits off screen and its shadow would show at the right edge. */
    .fy-nav.is-open { transform: translateX(0); visibility: visible; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .25); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, visibility 0s; }
    .fy-nav-link { line-height: 1.4; padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
    .fy-nav-divider { display: none; }
}
@media (max-width: 760px) {
    /* Only the sides: several sections are .fy-wrap and keep their own vertical padding. */
    .fy-wrap { padding-left: 20px; padding-right: 20px; }
    .fy-hero-inner, .fy-article-head-inner { padding-top: 28px; padding-bottom: 36px; }
    .fy-hero-title { margin-top: 18px; }
    .fy-article-title { margin-top: 18px; font-size: 30px; }
    .fy-article-excerpt { margin-top: 14px; }
    .fy-byline { margin-top: 22px; }
    .fy-cover { margin-bottom: 0; }
    .fy-cover img { border-radius: 18px; }
    .fy-article-layout { padding-top: 32px; padding-bottom: 56px; }
    .fy-section { padding: 40px 0 64px; }
    .fy-section-title { margin-bottom: 24px; }
    .fy-tags { gap: 8px; margin-bottom: 28px; }
    .fy-chip-large { padding: 7px 14px; }
    .fy-grid { gap: 20px; }
    .fy-card-large { margin-bottom: 20px; }
    .fy-card-body, .fy-card-large .fy-card-body { padding: 20px 20px 22px; }
    .fy-cta-inner { padding-top: 64px; padding-bottom: 72px; }
    .fy-cta-text { font-size: 16px; }
    .fy-cta-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
    .fy-btn-accent, .fy-btn-glass { padding: 14px 20px; }
    .fy-article-foot { margin-top: 36px; }
    .fy-author-box { padding: 20px; gap: 14px; }
    .fy-page { padding-top: 32px; padding-bottom: 56px; }
    .fy-error .fy-hero-inner { padding-top: 64px; padding-bottom: 80px; }
    .fy-footer { padding: 32px 0 36px; }
    .fy-footer-links { gap: 6px 18px; }
    .fy-topbar-meta { display: none !important; }
    .fy-topbar nav { gap: 18px; }
    .fy-header-inner { gap: 12px; }
    .fy-brand { font-size: 24px; }
    .fy-search-label, .fy-search-keys { display: none; }
    .fy-search { width: 40px; justify-content: center; padding: 0; }
    .fy-grid { grid-template-columns: minmax(0, 1fr); }
    .fy-card-large { flex-direction: column; }
    .fy-card-large .fy-card-media { flex: none; aspect-ratio: 16 / 9; }
    .fy-card-large .fy-card-body { padding: 24px; }
    .fy-hero-text, .fy-article-excerpt { font-size: 17px; }
    .fy-content { font-size: 17px; }
    .fy-content h2 { font-size: 25px; }
    .fy-content .kg-width-wide { width: calc(100vw - 32px); }
    .fy-footer-inner { flex-direction: column; text-align: center; }
    .fy-pagination { flex-direction: column; }
    .fy-author-box { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
