/* Fleet220 WP theme — final overrides.
 *
 * Loaded LAST (after components.css / chisiamo.css) so these rules win by source
 * order without specificity hacks. Put here anything that must override the
 * ported Laravel CSS. */

/* Eyebrow → pill/chip. Replaces the "dash + uppercase kicker" overline with a
   rounded accent-tinted chip and removes the leading line/dot. Global. */
.eyebrow,
.cs-eyebrow {
	display: inline-flex;
	width: auto;
	/* When the eyebrow is a direct grid/flex item (e.g. inside .section-head,
	   which is display:grid), it gets blockified and stretched to the column
	   width — making the chip background run the full line. Aligning to start
	   keeps the pill hugging its text; no effect in normal block flow. */
	justify-self: start;
	align-self: start;
	align-items: center;
	gap: 0;
	padding: 0.2em 0.6em;                 /* smaller chip */
	font-size: 0.68rem;                   /* a touch smaller than --fs-xs */
	margin-bottom: 1.1rem;                /* more distance from the title below */
	border-radius: var(--radius-full);
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	color: var(--accent);
}
.eyebrow::before { content: none; display: none; }   /* remove the 24px line */
.cs-eyebrow::before { content: none; display: none; }

/* B Corp card (home "chi siamo"): the generic chip rule above sets justify-self:start,
   pinning the pill left. This grid item should be centred over the score. */
.about__bcorp-eyebrow { justify-self: center; }
.cs-eyebrow .dot,
.hero__eyebrow .dot { display: none; }                /* remove the leading dot */

/* On dark backgrounds: light chip + bright accent text. */
.section--dark .eyebrow,
.cs-eyebrow--on-dark {
	background: rgba(255, 255, 255, 0.10);
	color: var(--accent-300);
}

/* ── Body font: Aller → Inter ──────────────────────────────
   Inter (variable, self-hosted woff2 — no CDN) replaces Aller for body copy:
   more legible and modern for long text. Two subsets so Italian accents +
   extended Latin render from the font, not a fallback. Overriding --font-body
   on :root (this file loads after tokens.css, so it wins); the accessibility
   "readable" mode keeps its higher-specificity [data-font] override. */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
	--font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
}

/* ── Accessibility: text spacing (WCAG 1.4.12) ─────────────
   Line spacing: the body is already --lh-normal (1.5) and --lh-snug was
   raised to 1.5 in tokens.css, so all running text is ≥ 1.5 by default.
   Paragraph spacing: add ≥ 2× font-size between consecutive paragraphs of
   running text. Only multi-paragraph rich text produces sibling <p> — the
   rich-text block (.prose / .block--rich-text) and the about-home body
   (.about__copy). Single-paragraph fields keep their own block margins. */
.prose p + p,
.block--rich-text p + p,
.about__copy p + p {
	margin-top: 2em;
}
