/* Fumetti Mag — scoped editorial interface, 29 November 2026.
   This stylesheet is active only on pages whose body has the fm-site class. */
body.fm-site {
  --fm-ink: #354359;
  --fm-body: #354153;
  --fm-muted: #626872;
  --fm-accent: #ad3b21;
  --fm-accent-dark: #852c18;
  --fm-orange: #f65b36;
  --fm-pale: #fff1e9;
  --fm-light: #fcf9f6;
  --fm-line: #e5ded7;
  --fm-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  color: var(--fm-body);
  background: #fff;
  font-family: var(--fm-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.fm-site *, .fm-site *::before, .fm-site *::after { box-sizing: border-box; }
.fm-site ::selection { color: var(--fm-ink); background: #ffdcc4; }
.fm-site a { color: var(--fm-accent); text-underline-offset: .2em; }
.fm-site a:hover { color: var(--fm-accent-dark); }
.fm-site a:focus-visible, .fm-site button:focus-visible, .fm-site input:focus-visible, .fm-site summary:focus-visible {
  outline: 3px solid var(--fm-accent); outline-offset: 4px; border-radius: 3px;
}
.fm-site button, .fm-site input { font: inherit; }
.fm-site button, .fm-site a, .fm-site summary { -webkit-tap-highlight-color: rgba(173,59,33,.12); }
.fm-site img { max-width: 100%; }
.fm-site .fm-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.fm-site .fm-main { padding-bottom: 1rem; }
.fm-site .fm-main > *, .fm-site .fm-reading-layout > *, .fm-site .fm-feature-grid > *, .fm-site .fm-masthead > *, .fm-site .fm-card-body { min-width: 0; }
.fm-site .fm-main h1, .fm-site .fm-main h2, .fm-site .fm-main h3, .fm-site .fm-main h4 { color: var(--fm-ink); font-family: var(--fm-sans); overflow-wrap: anywhere; }
.fm-site .fm-main h1 a, .fm-site .fm-main h2 a, .fm-site .fm-main h3 a { color: inherit; text-decoration: none; }
.fm-site .fm-main h1 a:hover, .fm-site .fm-main h2 a:hover, .fm-site .fm-main h3 a:hover { color: var(--fm-accent); }
.fm-site .fm-skip { position: absolute; left: 1rem; top: -100px; z-index: 99999; padding: .75rem 1rem; color: #fff; background: var(--fm-ink); text-decoration: none; }
.fm-site .fm-skip:focus { top: .75rem; color: #fff; }

/* The source PNG is unchanged; object-fit crops only its transparent margins. */
.fm-site .fm-header { border-top: 4px solid var(--fm-orange); border-bottom: 1px solid var(--fm-line); background: #fff; }
.fm-site .fm-masthead { display: flex; align-items: center; gap: 2rem; padding-block: 19px; }
.fm-site .fm-logo { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.fm-site .fm-logo img { display: block; width: 220px; height: 60px; max-width: none; object-fit: cover; object-position: center; }
.fm-site .fm-brand-note { flex: 1; max-width: 260px; padding-left: 1.5rem; border-left: 1px solid var(--fm-line); color: var(--fm-muted); font-size: .875rem; line-height: 1.55; }
.fm-site .fm-brand-note strong { display: block; color: var(--fm-ink); font-weight: 700; }
.fm-site .fm-search { margin: 0 0 0 auto; display: flex; align-items: stretch; width: 300px; max-width: 100%; border: 1px solid var(--fm-line); border-radius: 6px; background: var(--fm-light); }
.fm-site .fm-search input, .fm-site .fm-search input[type="search"] { width: 100%; min-width: 0; height: auto; min-height: 44px; padding: .65rem .8rem; color: var(--fm-ink); background: transparent; border: 0; box-shadow: none; font-size: 1rem; line-height: 1.4; border-radius: 6px 0 0 6px; }
.fm-site .fm-search input::placeholder { color: var(--fm-muted); opacity: 1; }
.fm-site .fm-search button { flex: 0 0 auto; width: auto; min-height: 44px; padding: .65rem .85rem; border: 0; border-left: 1px solid var(--fm-line); border-radius: 0 6px 6px 0; color: var(--fm-accent); background: transparent; box-shadow: none; font-size: .875rem; line-height: 1.4; font-weight: 700; text-transform: none; cursor: pointer; }
.fm-site .fm-search button:hover { color: var(--fm-accent-dark); background: #fbe6da; }
.fm-site .fm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.65rem; padding-block: .6rem; border-top: 1px solid var(--fm-line); }
.fm-site .fm-nav a { display: inline-flex; align-items: center; min-height: 42px; color: var(--fm-ink); font-size: .875rem; line-height: 1.5; font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.fm-site .fm-nav a:hover, .fm-site .fm-nav a[aria-current="page"] { color: var(--fm-accent); border-bottom-color: var(--fm-orange); }

/* A compact opening gives photography and the editorial selection priority. */
.fm-site .fm-intro { padding-block: 2.25rem 2rem; border-bottom: 1px solid var(--fm-line); margin-bottom: 2rem; }
.fm-site .fm-kicker { display: block; color: var(--fm-accent); font-size: .875rem; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; font-weight: 750; margin: 0 0 .65rem; }
.fm-site .fm-intro h1 { max-width: 940px; margin: 0; font-size: clamp(2rem, 3.7vw, 2.8rem); line-height: 1.14; font-weight: 800; letter-spacing: -.04em; }
.fm-site .fm-intro h1 em { font-style: normal; color: var(--fm-accent); }
.fm-site .fm-intro p { max-width: 850px; margin: .9rem 0 0; font-size: 1.0625rem; color: var(--fm-muted); line-height: 1.7; }
.fm-site .fm-feature-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.2rem; }
.fm-site .fm-feature { min-width: 0; margin: 0; }
.fm-site .fm-image, .fm-site .fm-mini-image { display: block; overflow: hidden; background: var(--fm-pale); text-decoration: none; border-radius: 7px; }
.fm-site .fm-image img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.fm-site .fm-feature .fm-card-body { padding-top: 1.15rem; }
.fm-site .fm-eyebrow { display: block; font-size: .875rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .045em; font-weight: 750; color: var(--fm-accent); margin: 0 0 .5rem; }
.fm-site .fm-eyebrow a { color: var(--fm-accent); text-decoration: none; }
.fm-site .fm-feature h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -.03em; font-weight: 750; margin: 0 0 .7rem; }
.fm-site .fm-feature .fm-card-body > p { color: var(--fm-muted); font-size: 1rem; margin: 0 0 .75rem; line-height: 1.65; }
.fm-site .fm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .65rem; color: var(--fm-muted); font-size: .875rem; line-height: 1.6; }
.fm-site .fm-meta a { color: var(--fm-accent); }
.fm-site .fm-feature-side { display: flex; flex-direction: column; gap: 1.4rem; }
.fm-site .fm-mini { display: grid; grid-template-columns: minmax(100px, 36%) minmax(0, 1fr); gap: 1rem; margin: 0; padding-bottom: 1.4rem; border-bottom: 1px solid var(--fm-line); align-items: start; }
.fm-site .fm-mini:last-child { padding-bottom: 0; border-bottom: 0; }
.fm-site .fm-mini-image img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.fm-site .fm-mini .fm-eyebrow { font-size: .875rem; margin-bottom: .35rem; }
.fm-site .fm-mini h3 { margin: 0 0 .55rem; font-size: 1.125rem; line-height: 1.4; letter-spacing: -.015em; font-weight: 700; }
.fm-site .fm-mini .fm-meta { font-size: .875rem; }

/* Six topic gateways, evergreen guides, and recent articles form distinct paths. */
.fm-site .fm-section { margin-block: 3.75rem; }
.fm-site .fm-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.5rem; padding-top: 1.25rem; border-top: 2px solid var(--fm-ink); }
.fm-site .fm-section-head h2 { font-size: clamp(1.6rem, 2.6vw, 1.95rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.25; margin: 0; }
.fm-site .fm-section-head p { flex-basis: 100%; margin: .1rem 0 0; color: var(--fm-muted); font-size: 1rem; max-width: 820px; }
.fm-site .fm-more { font-size: .875rem; font-weight: 700; display: inline-flex; align-items: center; min-height: 36px; text-decoration: underline; text-decoration-thickness: 1px; }
.fm-site .fm-topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fm-site .fm-topic { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.35rem 1.4rem; background: var(--fm-light); border: 1px solid var(--fm-line); border-top: 3px solid var(--fm-orange); border-radius: 6px; color: var(--fm-ink); text-decoration: none; }
.fm-site .fm-topic:hover { background: var(--fm-pale); border-color: #edbfa7; border-top-color: var(--fm-orange); color: var(--fm-ink); text-decoration: none; }
.fm-site .fm-topic-label { display: block; max-width: 100%; font-size: 1.125rem; font-weight: 750; letter-spacing: -.015em; color: var(--fm-ink); line-height: 1.35; overflow-wrap: anywhere; }
.fm-site .fm-topic-desc { display: block; font-size: 1rem; color: var(--fm-muted); line-height: 1.6; }
.fm-site .fm-topic-count { display: block; margin-top: auto; padding-top: .45rem; color: var(--fm-accent); font-size: .875rem; font-weight: 700; }
.fm-site .fm-guides-grid, .fm-site .fm-category-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; }
.fm-site .fm-guide { min-width: 0; padding: 1.35rem 0 1rem; border-top: 1px solid var(--fm-line); }
.fm-site .fm-guide-label { color: var(--fm-accent); font-size: .875rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: .5rem; }
.fm-site .fm-guide h3 { font-size: 1.2rem; line-height: 1.4; margin: 0 0 .65rem; font-weight: 700; letter-spacing: -.02em; }
.fm-site .fm-guide p { color: var(--fm-muted); margin: 0; font-size: 1rem; line-height: 1.65; }
.fm-site .fm-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.65rem; }
.fm-site .fm-card { min-width: 0; margin: 0; }
.fm-site .fm-card .fm-card-body { padding-top: .95rem; }
.fm-site .fm-card h3, .fm-site .fm-card h2 { font-size: 1.125rem; line-height: 1.45; font-weight: 700; letter-spacing: -.015em; margin: 0 0 .6rem; }
.fm-site .fm-card .fm-excerpt { font-size: 1rem; color: var(--fm-muted); margin: .5rem 0 .75rem; line-height: 1.65; }
.fm-site .fm-topic-strip, .fm-site .fm-topic-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-block: 1.4rem; }
.fm-site .fm-topic-strip a, .fm-site .fm-topic-links a, .fm-site .fm-pill { display: inline-block; font-size: .875rem; font-weight: 650; color: var(--fm-accent); border: 1px solid var(--fm-line); padding: .6rem .85rem; border-radius: 5px; text-decoration: none; background: #fff; }
.fm-site .fm-topic-strip a:hover, .fm-site .fm-topic-links a:hover, .fm-site a.fm-pill:hover { border-color: #d8ad98; background: var(--fm-pale); }
.fm-site .fm-editorial-panel { padding: 2rem 2.25rem; margin-block: 3.75rem 2rem; background: var(--fm-ink); color: #f5eee9; border-radius: 7px; border-top: 4px solid var(--fm-orange); }
.fm-site .fm-editorial-panel h2 { font-weight: 750; font-size: 1.8rem; color: #fff; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 .75rem; }
.fm-site .fm-editorial-panel p { max-width: 800px; margin: 0 0 1rem; font-size: 1rem; }
.fm-site .fm-editorial-panel a { color: #fff; font-size: 1rem; font-weight: 650; text-decoration: underline; margin-right: 1rem; }
.fm-site .fm-editorial-panel a:hover { color: #fff; text-decoration-color: #ffa988; }
.fm-site .fm-editorial-panel a:focus-visible { outline-color: #ffa988; }

/* Clear archive identity, ordinary crawlable links, and functional pagination. */
.fm-site .fm-breadcrumb { padding-block: 1.25rem .5rem; color: var(--fm-muted); font-size: .875rem; }
.fm-site .fm-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: baseline; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.fm-site .fm-breadcrumb li { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.fm-site .fm-breadcrumb li + li::before { content: "/"; color: #8a827b; padding-inline: .4rem .6rem; }
.fm-site .fm-breadcrumb a { color: var(--fm-muted); }
.fm-site .fm-category-intro { max-width: 900px; padding-block: 1.4rem 1.8rem; }
.fm-site .fm-category-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; margin: 0 0 1rem; }
.fm-site .fm-category-intro > p { color: var(--fm-muted); font-size: 1.0625rem; max-width: 800px; margin: 0 0 .65rem; }
.fm-site .fm-result-count, .fm-site .fm-pagination-meta { color: var(--fm-muted); font-size: .875rem; margin: .8rem 0 1.3rem; }
.fm-site .fm-pagination { margin-top: 2.5rem; padding-block: 1.5rem; border-top: 1px solid var(--fm-line); }
.fm-site .fm-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; width: 100%; max-width: 100%; list-style: none; padding: 0; margin: 0; }
.fm-site .fm-pagination li { flex: 0 1 auto; min-width: 0; max-width: 100%; margin: 0; }
.fm-site .fm-pagination a, .fm-site .fm-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; max-width: 100%; min-height: 44px; padding: .5rem .8rem; font-size: 1rem; font-weight: 650; line-height: 1.4; text-align: center; white-space: normal; overflow-wrap: anywhere; border-radius: 5px; }
.fm-site .fm-pagination a { border: 1px solid var(--fm-line); background: #fff; text-decoration: none; }
.fm-site .fm-pagination a:hover { border-color: var(--fm-accent); background: var(--fm-pale); }
.fm-site .fm-pagination [aria-current="page"] { color: #fff; background: var(--fm-ink); border: 1px solid var(--fm-ink); }

/* A quiet reading column, with the index duplicated in the mobile article flow. */
.fm-site .fm-reading-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 3.5rem; align-items: start; padding-top: 1.25rem; }
.fm-site .fm-article { min-width: 0; margin: 0; }
.fm-site .fm-article-head { margin-bottom: 1.7rem; }
.fm-site .fm-article-head .fm-eyebrow { margin-bottom: .8rem; }
.fm-site .fm-article-head h1 { font-size: clamp(2rem, 3.7vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.17; margin: 0 0 1.15rem; }
.fm-site .fm-deck { color: var(--fm-muted); font-size: 1.125rem; line-height: 1.65; margin: 0 0 1.25rem; }
.fm-site .fm-article-head .fm-meta { padding-top: .9rem; border-top: 1px solid var(--fm-line); }
.fm-site .fm-article-image { margin: 0 0 2rem; }
.fm-site .fm-article-image img { display: block; width: 100%; height: auto; border-radius: 7px; }
.fm-site .fm-article-image figcaption { color: var(--fm-muted); font-size: .875rem; line-height: 1.6; margin-top: .6rem; }
.fm-site .fm-content { color: var(--fm-body); font-size: 1.125rem; line-height: 1.85; overflow-wrap: break-word; }
.fm-site .fm-content p { margin: 0 0 1.35rem; }
.fm-site .fm-content h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); font-weight: 750; line-height: 1.3; letter-spacing: -.025em; margin: 2.4rem 0 1rem; scroll-margin-top: 1.5rem; }
.fm-site .fm-content h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; margin: 1.8rem 0 .8rem; scroll-margin-top: 1.5rem; }
.fm-site .fm-content h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.45; margin: 1.5rem 0 .65rem; scroll-margin-top: 1.5rem; }
.fm-site .fm-content a { text-decoration: underline; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.fm-site .fm-content strong { color: var(--fm-ink); }
.fm-site .fm-content ul, .fm-site .fm-content ol { padding-left: 1.5rem; margin: 0 0 1.5rem; }
.fm-site .fm-content li { padding-left: .25rem; margin-block: .35rem; }
.fm-site .fm-content blockquote { color: var(--fm-body); font-style: normal; font-size: inherit; margin: 1.75rem 0; padding: 1.25rem 1.5rem; border: 0; border-left: 3px solid var(--fm-orange); background: var(--fm-pale); }
.fm-site .fm-content blockquote p:last-child { margin-bottom: 0; }
.fm-site .fm-content img { height: auto; max-width: 100%; border-radius: 5px; }
.fm-site .fm-content figure { max-width: 100%; margin-inline: 0; }
.fm-site .fm-content figcaption, .fm-site .fm-content .wp-caption-text { color: var(--fm-muted); font-size: .875rem; line-height: 1.6; margin-top: .6rem; }
.fm-site .fm-content iframe, .fm-site .fm-content video { max-width: 100%; }
.fm-site .fm-content .wp-block-embed__wrapper { overflow-wrap: anywhere; }
.fm-site .fm-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 1rem; margin-block: 1.5rem; }
.fm-site .fm-content th, .fm-site .fm-content td { padding: .75rem; border: 1px solid var(--fm-line); vertical-align: top; }
.fm-site .fm-content th { background: var(--fm-light); color: var(--fm-ink); text-align: left; }
.fm-site .fm-content pre { max-width: 100%; padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--fm-light); border: 1px solid var(--fm-line); border-radius: 5px; }
.fm-site .fm-content hr { height: 1px; margin-block: 2rem; background: var(--fm-line); border: 0; }
.fm-site .fm-reading-aside { position: sticky; top: 1.5rem; align-self: start; padding-top: .2rem; }
.fm-site .fm-toc, .fm-site .fm-reading-box { border-top: 2px solid var(--fm-ink); padding: 1rem 0; margin-bottom: 1.4rem; }
.fm-site .fm-toc summary { display: list-item; color: var(--fm-ink); font-size: 1rem; line-height: 1.5; font-weight: 700; cursor: pointer; padding: .25rem 0; }
.fm-site .fm-toc ol { padding-left: 1.2rem; margin: .8rem 0 0; }
.fm-site .fm-toc li { font-size: .875rem; line-height: 1.6; padding-left: .15rem; margin: .65rem 0; }
.fm-site .fm-toc li::marker { color: #827568; }
.fm-site .fm-toc a { color: var(--fm-ink); text-decoration: none; }
.fm-site .fm-toc a:hover { text-decoration: underline; color: var(--fm-accent); }
.fm-site .fm-toc .fm-toc-sub { margin-left: .7rem; }
.fm-site .fm-toc-inline { display: none; }
.fm-site .fm-reading-box { background: var(--fm-light); border-top-color: #dfc2af; border-radius: 0 0 6px 6px; padding: 1.1rem; }
.fm-site .fm-reading-box h2 { font-size: 1rem; font-weight: 750; line-height: 1.4; margin: 0 0 .7rem; }
.fm-site .fm-reading-box p { font-size: .875rem; line-height: 1.65; color: var(--fm-muted); margin: .6rem 0; }
.fm-site .fm-reading-box ul { list-style: none; margin: 0; padding: 0; }
.fm-site .fm-reading-box li { margin: .75rem 0; font-size: 1rem; line-height: 1.5; }
.fm-site .fm-reading-box a { text-decoration: underline; text-decoration-color: #d2ae99; }
.fm-site .fm-author-box { background: var(--fm-light); border: 1px solid var(--fm-line); border-radius: 6px; padding: 1.35rem 1.5rem; margin-block: 2.5rem 1.5rem; font-size: 1rem; line-height: 1.65; }
.fm-site .fm-author-box img { float: left; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin: 0 1rem .6rem 0; }
.fm-site .fm-author-box h2, .fm-site .fm-author-box h3 { font-weight: 700; font-size: 1rem; line-height: 1.45; margin: 0 0 .5rem; }
.fm-site .fm-author-box p { margin: .5rem 0 0; color: var(--fm-muted); }
.fm-site .fm-author-box::after { display: block; content: ""; clear: both; }
.fm-site .fm-article-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.3rem; padding-block: 1rem; border-block: 1px solid var(--fm-line); font-size: 1rem; font-weight: 650; }
.fm-site .fm-article-navigation a { max-width: 100%; overflow-wrap: anywhere; }

/* All footer and search rules stay inside the custom template's scope. */
.fm-site .fm-footer { border-top: 1px solid var(--fm-line); margin-top: 3.5rem; background: var(--fm-light); }
.fm-site .fm-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 3rem; padding-block: 2.75rem; }
.fm-site .fm-footer-grid h2, .fm-site .fm-footer-grid h3, .fm-site .fm-footer-grid .fh { font-family: var(--fm-sans); font-size: 1rem; font-weight: 750; line-height: 1.4; color: var(--fm-ink); margin: 0 0 .9rem; }
.fm-site .fm-footer-grid p { color: var(--fm-muted); max-width: 360px; font-size: 1rem; margin: .5rem 0 1rem; }
.fm-site .fm-footer-grid ul { margin: 0; padding: 0; list-style: none; }
.fm-site .fm-footer-grid li { font-size: .875rem; margin: .35rem 0; line-height: 1.6; }
.fm-site .fm-footer-grid li a { display: inline-block; padding-block: .2rem; color: var(--fm-ink); text-decoration: none; }
.fm-site .fm-footer-grid li a:hover { color: var(--fm-accent); text-decoration: underline; }
.fm-site .fm-footer-grid img { width: 205px; height: 58px; max-width: 100%; object-fit: cover; object-position: center; }
.fm-site .fm-footer .bar, .fm-site .fm-footer-bar { color: var(--fm-muted); font-size: .875rem; line-height: 1.6; padding-block: 1rem; border-top: 1px solid var(--fm-line); }
.fm-site .fm-footer .bar p, .fm-site .fm-footer-bar p { margin: 0; }
.fm-site .fm-search-large, .fm-site .fm-search-main { display: flex; align-items: stretch; gap: .6rem; max-width: 720px; margin-block: 1.25rem 2rem; }
.fm-site .fm-search-large input, .fm-site .fm-search-large input[type="search"], .fm-site .fm-search-main input, .fm-site .fm-search-main input[type="search"] { width: 100%; min-width: 0; height: auto; min-height: 48px; flex: 1; padding: .85rem 1rem; border: 1px solid #c9b8ad; border-radius: 5px; box-shadow: none; color: var(--fm-ink); background: #fff; font-size: 1rem; line-height: 1.4; }
.fm-site .fm-search-large button, .fm-site .fm-search-main button { width: auto; flex: 0 0 auto; border: 0; border-radius: 5px; padding: .85rem 1.15rem; color: #fff; background: var(--fm-accent); box-shadow: none; font-size: 1rem; line-height: 1.4; font-weight: 700; text-transform: none; cursor: pointer; }
.fm-site .fm-search-large button:hover, .fm-site .fm-search-main button:hover { color: #fff; background: var(--fm-accent-dark); }
.fm-site .fm-empty { padding-block: 3rem 5rem; max-width: 780px; }
.fm-site .fm-empty h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 1rem; }
.fm-site .fm-empty p { font-size: 1.0625rem; color: var(--fm-muted); }

@media (min-width: 541px) {
  body.fm-site.fm-category .fm-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Ten posts retain their existing category pagination and fit five desktop rows. */
@media (min-width: 801px) {
  body.fm-site.fm-category .fm-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
  .fm-site .fm-brand-note { max-width: 210px; padding-left: 1rem; }
  .fm-site .fm-masthead { gap: 1.25rem; }
  .fm-site .fm-search { width: 275px; }
  .fm-site .fm-nav { gap: .1rem 1.2rem; }
  .fm-site .fm-feature-grid { gap: 1.5rem; }
  .fm-site .fm-mini { grid-template-columns: 32% minmax(0, 1fr); gap: .8rem; }
  .fm-site .fm-mini h3 { font-size: 1.0625rem; }
  .fm-site .fm-reading-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 2rem; }
  .fm-site .fm-footer-grid { gap: 2rem; }
}
@media (max-width: 800px) {
  .fm-site .fm-container { padding-inline: 20px; }
  .fm-site .fm-brand-note { display: none; }
  .fm-site .fm-masthead { padding-block: .9rem; }
  .fm-site .fm-logo img { width: 210px; height: 58px; }
  .fm-site .fm-search { width: 290px; }
  .fm-site .fm-nav { gap: .1rem 1.3rem; }
  .fm-site .fm-intro { padding-top: 1.8rem; }
  .fm-site .fm-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .fm-site .fm-feature-side { flex-direction: row; gap: 1.25rem; }
  .fm-site .fm-mini { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: .8rem; border-bottom: 0; padding-bottom: 0; }
  .fm-site .fm-mini-image { width: 100%; }
  .fm-site .fm-mini-image img { aspect-ratio: 16/10; }
  .fm-site .fm-mini h3 { font-size: 1rem; }
  .fm-site .fm-topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-site .fm-guides-grid, .fm-site .fm-category-guides, .fm-site .fm-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-site .fm-section { margin-block: 3rem; }
  .fm-site .fm-reading-layout { display: block; }
  .fm-site .fm-article { max-width: 760px; }
  .fm-site .fm-reading-aside { position: static; margin-block: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .fm-site .fm-reading-aside > .fm-toc { grid-column: 1 / -1; }
  .fm-site .fm-reading-aside > .fm-toc-desktop { display: none; }
  .fm-site .fm-toc-inline { display: block; padding: 1rem 1.2rem; background: var(--fm-light); border: 1px solid var(--fm-line); border-radius: 6px; margin-block: 1.5rem; }
  .fm-site .fm-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .fm-site .fm-footer-grid > :first-child { grid-column: 1 / -1; }
  .fm-site .fm-footer-grid p { max-width: 650px; }
}
@media (max-width: 540px) {
  .fm-site .fm-container { padding-inline: 18px; }
  .fm-site .fm-masthead { flex-wrap: wrap; gap: .4rem .75rem; }
  .fm-site .fm-logo img { width: 210px; height: 58px; }
  .fm-site .fm-search { max-width: none; width: 100%; margin-left: 0; }
  .fm-site .fm-search input, .fm-site .fm-search input[type="search"] { min-height: 44px; font-size: 1rem; }
  .fm-site .fm-search button { min-width: 66px; }
  .fm-site .fm-nav { column-gap: 1.1rem; row-gap: 0; padding-block: .5rem; }
  .fm-site .fm-nav a { min-height: 40px; font-size: .875rem; }
  .fm-site .fm-intro { margin-bottom: 1.5rem; padding-block: 1.6rem 1.5rem; }
  .fm-site .fm-intro h1 { font-size: 2rem; line-height: 1.17; }
  .fm-site .fm-intro p { font-size: 1rem; }
  .fm-site .fm-feature h2 { font-size: 1.65rem; }
  .fm-site .fm-feature-side { flex-direction: column; gap: 1.15rem; }
  .fm-site .fm-mini { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: .9rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--fm-line); }
  .fm-site .fm-mini:last-child { padding-bottom: 0; border-bottom: 0; }
  .fm-site .fm-mini-image img { aspect-ratio: 1; }
  .fm-site .fm-mini .fm-meta { font-size: .875rem; }
  .fm-site .fm-section { margin-block: 2.65rem; }
  .fm-site .fm-section-head { margin-bottom: 1.2rem; }
  .fm-site .fm-section-head h2 { font-size: 1.6rem; }
  .fm-site .fm-section-head p { font-size: 1rem; }
  .fm-site .fm-topics-grid { gap: .7rem; }
  .fm-site .fm-topic { padding: 1rem; }
  .fm-site .fm-topic-label { font-size: 1rem; }
  .fm-site .fm-topic-desc { font-size: .875rem; }
  .fm-site .fm-guides-grid, .fm-site .fm-category-guides { grid-template-columns: 1fr; gap: .4rem; }
  .fm-site .fm-guide { padding-block: 1.15rem; }
  .fm-site .fm-guide h3 { font-size: 1.125rem; }
  .fm-site .fm-cards-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .fm-site .fm-card h3, .fm-site .fm-card h2 { font-size: 1.175rem; }
  .fm-site .fm-card .fm-eyebrow { font-size: .875rem; }
  .fm-site .fm-editorial-panel { padding: 1.5rem; margin-block: 2.5rem 1rem; }
  .fm-site .fm-editorial-panel h2 { font-size: 1.55rem; }
  .fm-site .fm-editorial-panel a { display: inline-block; padding-block: .35rem; }
  .fm-site .fm-breadcrumb { font-size: .875rem; padding-top: 1rem; }
  .fm-site .fm-category-intro { padding-block: 1.1rem 1.3rem; }
  .fm-site .fm-category-intro h1 { font-size: 2rem; }
  .fm-site .fm-category-intro > p { font-size: 1rem; }
  .fm-site .fm-pagination { margin-top: 2rem; }
  .fm-site .fm-pagination ul { gap: .4rem; }
  .fm-site .fm-pagination a, .fm-site .fm-pagination span { padding-inline: .6rem; }
  .fm-site .fm-article-head h1 { font-size: 2rem; line-height: 1.2; }
  .fm-site .fm-deck { font-size: 1.0625rem; }
  .fm-site .fm-content { font-size: 1.0625rem; line-height: 1.8; }
  .fm-site .fm-content h2 { font-size: 1.55rem; margin-top: 2rem; }
  .fm-site .fm-content h3 { font-size: 1.2rem; }
  .fm-site .fm-content blockquote { padding: 1rem; }
  .fm-site .fm-author-box { padding: 1.1rem; }
  .fm-site .fm-reading-aside { grid-template-columns: 1fr; gap: .7rem; }
  .fm-site .fm-reading-box, .fm-site .fm-toc { margin-bottom: .7rem; }
  .fm-site .fm-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; padding-block: 2rem; }
  .fm-site .fm-footer-grid li { margin-block: .5rem; }
}
@media (max-width: 340px) {
  .fm-site .fm-container { padding-inline: 14px; }
  .fm-site .fm-topics-grid { grid-template-columns: 1fr; }
  .fm-site .fm-footer-grid { grid-template-columns: 1fr; }
  .fm-site .fm-mini { grid-template-columns: 28% minmax(0, 1fr); gap: .7rem; }
  .fm-site .fm-search-large, .fm-site .fm-search-main { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-site *, .fm-site *::before, .fm-site *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
/* Responsive primary navigation: one native disclosure, one search form, one link list. */
.fm-site .fm-header > .fm-container { position: relative; }
.fm-site .fm-header .fm-menu { margin: 0; padding: 0; border: 0; }
.fm-site .fm-header .fm-menu > summary { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-width: 88px; min-height: 44px; padding: .6rem .85rem; border: 1px solid var(--fm-line); border-radius: 5px; background: #fff; color: var(--fm-ink); font-size: 1rem; line-height: 1.4; font-weight: 700; list-style: none; cursor: pointer; user-select: none; }
.fm-site .fm-header .fm-menu > summary::-webkit-details-marker { display: none; }
.fm-site .fm-header .fm-menu > summary::marker { content: ""; }
.fm-site .fm-header .fm-menu > summary::after { content: ""; width: 8px; height: 8px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.fm-site .fm-header .fm-menu[open] > summary { color: var(--fm-accent); background: var(--fm-pale); }
.fm-site .fm-header .fm-menu[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.fm-site .fm-header .fm-nav { display: block; }
.fm-site .fm-header .fm-nav ul { display: flex; flex-wrap: wrap; gap: inherit; width: 100%; min-width: 0; margin: 0; padding: 0; list-style: none; }
.fm-site .fm-header .fm-nav li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.fm-site .fm-header .fm-menu-panel > .fm-search { margin: 0 0 1rem; }
@media (min-width: 801px) {
  .fm-site .fm-header .fm-masthead { padding-right: 332px; }
  .fm-site .fm-header .fm-menu-panel > .fm-search { position: absolute; top: 27px; right: 24px; width: 300px; max-width: 300px; margin: 0; }
  .fm-site .fm-header .fm-menu[open] > summary { display: none; }
  @supports selector(details::details-content) {
    .fm-site .fm-header .fm-menu::details-content { display: block; content-visibility: visible; }
    .fm-site .fm-header .fm-menu > summary { display: none; }
  }
}
@media (min-width: 801px) and (max-width: 1050px) {
  .fm-site .fm-header .fm-masthead { padding-right: 295px; }
  .fm-site .fm-header .fm-menu-panel > .fm-search { width: 275px; max-width: 275px; }
}
@media (max-width: 800px) {
  .fm-site .fm-header .fm-masthead { flex-wrap: nowrap; padding-right: 104px; }
  .fm-site .fm-header .fm-logo { min-width: 0; max-width: 100%; }
  .fm-site .fm-header .fm-logo img { max-width: 100%; }
  .fm-site .fm-header .fm-menu > summary { position: absolute; top: 1.35rem; right: 20px; }
  .fm-site .fm-header .fm-menu-panel { padding: 1rem 0 1.15rem; border-top: 1px solid var(--fm-line); }
  .fm-site .fm-header .fm-menu-panel > .fm-search { position: static; width: 100%; max-width: none; margin: 0 0 .9rem; }
  .fm-site .fm-header .fm-menu-panel > .fm-search input { min-height: 44px; font-size: 1rem; }
  .fm-site .fm-header .fm-menu-panel > .fm-search button { min-width: 66px; min-height: 44px; }
  .fm-site .fm-header .fm-nav { padding: 0; border-top: 0; }
  .fm-site .fm-header .fm-nav ul { display: block; }
  .fm-site .fm-header .fm-nav li + li { border-top: 1px solid var(--fm-line); }
  .fm-site .fm-header .fm-nav a { display: flex; width: 100%; min-height: 48px; padding: .7rem .75rem; border: 0; border-left: 3px solid transparent; white-space: normal; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.45; }
  .fm-site .fm-header .fm-nav a:hover, .fm-site .fm-header .fm-nav a[aria-current="page"] { color: var(--fm-accent); background: var(--fm-pale); border-left-color: var(--fm-accent); }
}
@media (max-width: 540px) {
  .fm-site .fm-header .fm-menu > summary { right: 18px; }
}
@media (max-width: 340px) {
  .fm-site .fm-header .fm-menu > summary { right: 14px; }
}

@media print {
  .fm-site .fm-header, .fm-site .fm-reading-aside, .fm-site .fm-toc-inline, .fm-site .fm-article-navigation, .fm-site .fm-search, .fm-site .fm-footer, .fm-site .fm-reading-layout ~ .fm-section { display: none !important; }
  .fm-site .fm-container { padding: 0; max-width: none; }
  .fm-site .fm-reading-layout { display: block; }
  .fm-site .fm-content { font-size: 11pt; }
  .fm-site .fm-main a { color: #000; }
}
