/*
 * Feederside's own stylesheet: the window-side field journal (sites/fleet/designs/feederside/, T-20261102-344).
 *
 * A centred masthead with a round bird, a morning-sky hero that ends in a wave, round badges, a dotted flight path,
 * soft rounded cards and pills, a dark blue footer under a wave. Nothing here is shared with another site's design
 * (the owner, 2026-11-02: "each should get his unique design adn template"). The colours and fonts come from the
 * theme's theme.json presets (sites/fleet/sites/feederside.mjs); the coral is never text on white. Copied to
 * assets/css/site.css by sites/fleet/build.mjs: edit it here.
 */

:root {
  --fs-mist: var(--wp--preset--color--surface);
  --fs-mint: var(--wp--preset--color--surface-alt);
  --fs-ink: var(--wp--preset--color--ink);
  --fs-muted: var(--wp--preset--color--muted);
  --fs-blue: var(--wp--preset--color--primary);
  --fs-blue-dk: var(--wp--preset--color--primary-dark);
  --fs-coral: var(--wp--preset--color--accent);
  --fs-line: var(--wp--preset--color--line);
  --fs-night: var(--wp--preset--color--dark);
  --fs-sky: #DCEBF5;
  --fs-peach: #FCE3D9;
  --fs-r: 28px;
  --fs-head: var(--wp--preset--font-family--heading);
  --fs-body: var(--wp--preset--font-family--body);
}

/* ── The page frame ── */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
#chq-main { margin: 0; }
#chq-main > * { margin-block: 0; }
.fs-wrap { box-sizing: border-box; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
img { max-width: 100%; height: auto; }

:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--fs-blue); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fs-skip { position: absolute; left: -9999px; top: .75rem; z-index: 1000; padding: .6rem 1.1rem; border-radius: 999px; background: #fff; color: var(--fs-blue-dk); font-weight: 600; }
.fs-skip:focus { left: .75rem; }

/* ── Small parts ── */
.fs-pill { display: inline-block; margin: 0; padding: .3rem .9rem; border-radius: 999px; background: var(--fs-mint); color: var(--fs-blue-dk); font-size: .8rem; font-weight: 600; line-height: 1.45; letter-spacing: .02em; text-decoration: none; }
.fs-pill--light { background: #fff; }
a.fs-pill:hover { background: #fff; color: var(--fs-blue); }
.fs-btn { display: inline-block; padding: .85rem 1.55rem; border: 2px solid var(--fs-coral); border-radius: 999px; background: var(--fs-coral); color: var(--fs-night); font-weight: 600; line-height: 1.25; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.fs-btn:hover { background: #F08C6C; border-color: #F08C6C; color: var(--fs-night); }
.fs-btn--ghost { background: transparent; border-color: var(--fs-blue); color: var(--fs-blue-dk); }
.fs-btn--ghost:hover { background: #fff; border-color: var(--fs-blue); color: var(--fs-blue-dk); }
.fs-h2 { margin: 0 0 .4rem; font-family: var(--fs-head); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 600; line-height: 1.18; color: var(--fs-ink); }
.fs-sub { margin: 0 0 2.25rem; color: var(--fs-muted); }
@media (prefers-reduced-motion: reduce) { .fs-btn { transition: none; } }

/* ── Masthead: the round bird and the name, centred, the nav as pills under it ── */
.fs-header { background: var(--fs-sky); }
.fs-header__in { display: flex; flex-direction: column; align-items: center; gap: .75rem; max-width: 72rem; margin: 0 auto; padding: 1.1rem 1.25rem .9rem; }
.fs-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--fs-blue-dk); text-decoration: none; }
.fs-mark { display: block; flex: none; width: 42px; height: 42px; }
.fs-brand__name { font-family: var(--fs-head); font-size: 1.7rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; text-transform: lowercase; }
.fs-brand:hover .fs-brand__name { color: var(--fs-blue); }
.fs-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.fs-nav a { display: block; padding: .42rem 1.15rem; border: 1.5px solid rgba(31, 90, 133, .28); border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--fs-blue-dk); font-size: .95rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.fs-nav a:hover { background: #fff; }
.fs-nav a[aria-current="page"] { background: var(--fs-blue); border-color: var(--fs-blue); color: #fff; }
@media (min-width: 760px) {
  .fs-header__in { padding: 1.5rem 1.25rem 1.1rem; gap: .9rem; }
  .fs-mark { width: 52px; height: 52px; }
  .fs-brand__name { font-size: 2.1rem; }
}

/* ── Home: a morning sky that ends in a wave ── */
.fs-hero { position: relative; padding: 1.25rem 0 4.25rem; background: linear-gradient(180deg, var(--fs-sky) 0%, #E9F2F8 55%, #F5F9FB 100%); }
.fs-hero__in { display: grid; gap: 1.5rem; align-items: center; }
.fs-hero__text { text-align: center; }
.fs-hero h1 { margin: .9rem auto 1rem; max-width: 20ch; font-family: var(--fs-head); font-size: clamp(2.05rem, 1.35rem + 3vw, 3.35rem); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: var(--fs-ink); }
.fs-hero__lead { margin: 0 auto; max-width: 36rem; font-size: 1.06rem; color: var(--fs-muted); }
.fs-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 1.75rem 0 0; }
.fs-hero__art { display: none; }
.fs-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; display: block; width: 100%; height: 44px; }
@media (min-width: 860px) {
  .fs-hero { padding: 2.5rem 0 5.5rem; }
  .fs-hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; }
  .fs-hero__text { text-align: left; }
  .fs-hero h1 { margin-left: 0; }
  .fs-hero__lead { margin-left: 0; }
  .fs-hero__actions { justify-content: flex-start; }
  .fs-hero__art { display: block; justify-self: end; width: 100%; max-width: 420px; height: auto; }
  .fs-hero__wave { height: 64px; }
}

/* The email box (Dash's capture engine puts it right under the hero): a soft rounded card with pill fields */
#chq-main > .chq-sp-homewrap { max-width: 46rem; margin: 0 auto; padding: .5rem 1.25rem 2.25rem; }
#chq-main .chq-sp { border: 0; border-radius: var(--fs-r); background: var(--fs-mist); box-shadow: 0 0 0 1px var(--fs-line), 0 22px 44px -30px rgba(18, 32, 43, .55); font-family: var(--fs-body); }
#chq-main .chq-sp .chq-sp-h { font-family: var(--fs-head); }
#chq-main .chq-sp .chq-sp-f input.chq-sp-em, #chq-main .chq-sp .chq-sp-f button, #chq-main .chq-sp a.chq-sp-gift { border-radius: 999px; }

/* The five subjects as round badges with drawn icons */
.fs-topics { padding: 2.75rem 0 3.75rem; background: #fff; text-align: center; }
.fs-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 2rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.fs-badge__icon { display: inline-grid; place-items: center; width: 4.75rem; height: 4.75rem; margin-bottom: .9rem; border-radius: 50%; background: var(--fs-mint); color: var(--fs-blue); }
.fs-badge:nth-child(even) .fs-badge__icon { background: var(--fs-peach); color: #B4492A; }
.fs-badge__icon svg { width: 2.15rem; height: 2.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fs-badge h3 { margin: 0 0 .35rem; font-family: var(--fs-head); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.fs-badge p { max-width: 16rem; margin: 0 auto; color: var(--fs-muted); font-size: .95rem; line-height: 1.55; }

/* The method as a dotted flight path */
.fs-path { padding: 3.5rem 0 4rem; background: var(--fs-mist); }
.fs-path .fs-h2, .fs-path .fs-sub { text-align: center; }
.fs-steps { position: relative; max-width: 30rem; margin: 0 auto; padding: 0; list-style: none; }
.fs-steps::before { content: ""; position: absolute; top: 1.4rem; bottom: 2rem; left: calc(1.4rem - 1.5px); border-left: 3px dotted rgba(31, 90, 133, .45); }
.fs-step { position: relative; margin: 0 0 1.75rem; padding-left: 4rem; }
.fs-step:last-child { margin-bottom: 0; }
.fs-step__n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--fs-coral); box-shadow: 0 0 0 6px var(--fs-mist); color: var(--fs-night); font-family: var(--fs-head); font-size: 1.2rem; font-weight: 600; }
.fs-step h3 { margin: .35rem 0 .3rem; font-family: var(--fs-head); font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.fs-step p { margin: 0; color: var(--fs-muted); font-size: .95rem; line-height: 1.55; }
@media (min-width: 960px) {
  .fs-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; max-width: none; }
  .fs-steps::before { top: 1.4rem; bottom: auto; left: 10%; right: 10%; border-left: 0; border-top: 3px dotted rgba(31, 90, 133, .45); }
  .fs-step { margin: 0; padding: 0; text-align: center; }
  .fs-step__n { position: relative; margin: 0 auto 1rem; }
}

/* The house rules on a dark blue panel */
.fs-rules { padding: 3.75rem 0 5rem; background: #fff; }
.fs-rules__panel { box-sizing: border-box; max-width: 56rem; margin: 0 auto; padding: 2.25rem 1.5rem 1.75rem; border-radius: 32px; background: var(--fs-blue-dk); color: #fff; }
.fs-rules .fs-h2 { color: #fff; }
.fs-rules ul { display: grid; gap: .85rem 2rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.fs-rules li { position: relative; padding-left: 2.1rem; line-height: 1.5; }
.fs-rules li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--fs-coral); }
.fs-rules li::after { content: ""; position: absolute; left: .47rem; top: .36rem; width: .3rem; height: .6rem; border: solid var(--fs-night); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fs-rules__note { margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); color: #D5E3EE; font-size: .96rem; }
.fs-rules__note a { color: #fff; font-weight: 600; text-decoration-color: var(--fs-coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fs-rules :focus-visible { outline-color: #F2C27A; }
@media (min-width: 760px) { .fs-rules ul { grid-template-columns: 1fr 1fr; } .fs-rules__panel { padding: 3rem 3.25rem 2.25rem; } }

/* ── A page, a post or a list: the title on a rounded mint band ── */
.fs-pagehead { padding: 1.5rem 1rem 0; }
.fs-pagehead__band { box-sizing: border-box; max-width: 72rem; margin: 0 auto; padding: 2.25rem 1.5rem; border-radius: var(--fs-r); background: radial-gradient(circle at 100% 0, rgba(234, 117, 80, .22) 0 96px, transparent 97px), var(--fs-mint); text-align: center; }
.fs-pagehead h1 { margin: 0 auto; max-width: 46rem; font-family: var(--fs-head); font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.7rem); font-weight: 600; line-height: 1.15; color: var(--fs-ink); }
.fs-pagehead .fs-pill { margin-bottom: .85rem; background: #fff; }
.fs-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .75rem; margin: 1.1rem 0 0; color: var(--fs-muted); font-size: .95rem; }
.fs-avatar { display: inline-grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--fs-coral); color: var(--fs-night); font-size: .82rem; font-weight: 600; }
.fs-avatar--big { width: 3.2rem; height: 3.2rem; font-size: 1.02rem; }
.fs-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fs-muted); }
@media (min-width: 760px) { .fs-pagehead { padding: 2rem 1.25rem 0; } .fs-pagehead__band { padding: 3rem 2rem; } }

.fs-body { padding: 2.25rem 0 4rem; }
.fs-article > :first-child, .fs-article .wp-block-post-content > :first-child { margin-top: 0; }
.fs-article h2 { margin: 2.1rem 0 .65rem; font-family: var(--fs-head); font-size: 1.55rem; font-weight: 600; line-height: 1.22; }
.fs-article h3 { margin: 1.6rem 0 .5rem; font-family: var(--fs-head); font-size: 1.22rem; font-weight: 600; }
.fs-article a { color: var(--fs-blue-dk); text-decoration: underline; text-decoration-color: var(--fs-coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fs-article a:hover { color: var(--fs-blue); }
.fs-article ul, .fs-article ol { padding-left: 1.3rem; }
.fs-article li { margin: .35rem 0; }
.fs-article li::marker { color: var(--fs-coral); }
.fs-article blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border: 0; border-radius: 18px; background: var(--fs-mist); }
.fs-cover { box-sizing: border-box; max-width: 56rem; margin: 0 auto 2rem; padding: 0 1rem; }
.fs-cover img { display: block; width: 100%; border-radius: 24px; }

/* The post furniture the engine adds (contents, tables, callouts) */
.chq-toc { margin: 0 0 1.8rem; padding: 1.1rem 1.3rem; border-radius: 20px; background: var(--fs-mist); }
.chq-toc__title { margin: 0 0 .4rem; font-family: var(--fs-head); font-weight: 600; }
.chq-toc ol { margin: 0; padding-left: 1.2rem; }
.chq-tablewrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 16px; box-shadow: 0 0 0 1px var(--fs-line); }
.chq-tablewrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.chq-tablewrap th, .chq-tablewrap td { padding: .6rem .8rem; border-bottom: 1px solid var(--fs-line); text-align: left; vertical-align: top; }
.chq-tablewrap th { background: var(--fs-mint); }
.chq-callout { margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-radius: 20px; background: var(--fs-peach); }
.chq-callout__title { display: block; margin-bottom: .3rem; font-family: var(--fs-head); font-weight: 600; }
.chq-callout p:empty, .chq-book-inline:empty { display: none; }

/* The name on the guide */
.fs-author { box-sizing: border-box; display: flex; gap: 1rem; align-items: flex-start; width: min(42rem, calc(100% - 2rem)); margin: 2.5rem auto 0; padding: 1.4rem 1.5rem; border-radius: 24px; background: var(--fs-mist); }
.fs-author__name { margin: 0 0 .45rem; font-family: var(--fs-head); font-size: 1.18rem; font-weight: 600; }
.fs-author p:not([class]) { margin: 0 0 .6rem; color: var(--fs-muted); font-size: .95rem; }

/* Keep reading */
.fs-related { padding: 3rem 1rem 4.5rem; background: var(--fs-mist); }
.fs-related .chq-related__head { margin: 0 0 1.25rem; text-align: center; font-family: var(--fs-head); font-size: 1.55rem; font-weight: 600; }
.chq-grid.chq-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; max-width: 72rem; margin: 0 auto; }
.chq-card { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 12px 28px -22px rgba(18, 32, 43, .6); }
.chq-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chq-card__body { padding: 1rem 1.2rem 1.25rem; }
.chq-card__title { margin: 0; font-family: var(--fs-head); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.chq-card__title a { color: var(--fs-ink); text-decoration: none; }
.chq-card__title a:hover { text-decoration: underline; text-decoration-color: var(--fs-coral); }

/* A list of guides: rounded picture cards, three across */
.fs-list { box-sizing: border-box; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.fs-cards { margin: 0; padding: 0; list-style: none; gap: 1.5rem; }
.fs-cards > li { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--fs-line), 0 14px 30px -24px rgba(18, 32, 43, .55); }
.fs-cards__img { margin: 0; }
.fs-cards__img img { display: block; width: 100%; border-radius: 0; }
.fs-cards__body { padding: 1.1rem 1.25rem 1.3rem; }
.fs-cards__cat a { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--fs-mint); color: var(--fs-blue-dk); font-size: .78rem; font-weight: 600; text-decoration: none; }
.fs-cards__title { margin: .6rem 0 .4rem; font-family: var(--fs-head); font-size: 1.25rem; font-weight: 600; line-height: 1.28; }
.fs-cards__title a { color: var(--fs-ink); text-decoration: none; }
.fs-cards__title a:hover { text-decoration: underline; text-decoration-color: var(--fs-coral); text-decoration-thickness: 2px; }
.fs-cards__date { color: var(--fs-muted); font-size: .85rem; }
.fs-pages { margin-top: 2.25rem; gap: .4rem; }
.fs-pages a, .fs-pages .page-numbers { display: inline-block; padding: .45rem .95rem; border-radius: 999px; background: var(--fs-mist); color: var(--fs-blue-dk); text-decoration: none; }
.fs-pages .page-numbers.current { background: var(--fs-blue); color: #fff; }
.fs-empty { max-width: 36rem; margin: 0 auto; padding: 1.75rem 1.5rem; border-radius: 24px; background: var(--fs-mist); text-align: center; }
.fs-empty a { color: var(--fs-blue-dk); font-weight: 600; }

/* ── 404: an empty branch ── */
.fs-404 { padding: 3rem 0 5rem; background: linear-gradient(180deg, var(--fs-sky) 0%, #fff 70%); text-align: center; }
.fs-404__art { display: block; width: min(240px, 70%); height: auto; margin: 0 auto 1.25rem; }
.fs-404 h1 { margin: .85rem 0 .9rem; font-family: var(--fs-head); font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3rem); font-weight: 600; line-height: 1.12; }
.fs-404__lead { max-width: 36rem; margin: 0 auto; color: var(--fs-muted); font-size: 1.05rem; }

/* ── Footer: dark blue under a wave ── */
.fs-footer { position: relative; margin-top: 0; padding: 2.25rem 0 1.75rem; background: var(--fs-night); color: #DCE6EE; }
.fs-footer__wave { position: absolute; left: 0; right: 0; top: -43px; display: block; width: 100%; height: 44px; fill: var(--fs-night); }
.fs-footer__in { box-sizing: border-box; max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.fs-brand--light { color: #fff; }
.fs-brand--light .fs-mark { border-radius: 50%; box-shadow: 0 0 0 3px var(--fs-mist); }
.fs-brand--light:hover .fs-brand__name { color: #fff; }
.fs-footer__about { max-width: 34rem; margin: 1rem auto 1.5rem; color: #C9D6E0; font-size: .93rem; line-height: 1.6; }
.fs-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.fs-footer__nav a { color: #fff; font-weight: 600; text-decoration: none; }
.fs-footer__nav a:hover { text-decoration: underline; text-decoration-color: var(--fs-coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fs-footer__base { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .14); color: #AFC0CD; font-size: .86rem; }
.fs-footer__base span { display: block; margin-top: .2rem; }
.fs-footer :focus-visible { outline-color: #F2C27A; }
@media (min-width: 760px) { .fs-footer__wave { top: -63px; height: 64px; } }
