/*
Theme Name: Astra Child Free Spins Club
Theme URI: https://freespinsclub.uk/
Description: Child theme of Astra for Free Spins Club. A club night on a plum ground: one yellow signal, wide geometric headings in a side column, a reel counter on every section, a ranking built from rows. The theme owns the chrome (masthead, menu, footer) and styles the blocks of the two plugins. It writes no copy of its own: names, labels, legal lines and the age statement come from the pages plugin and its GEO register.
Author: Free Spins Club
Author URI: https://freespinsclub.uk/
Template: astra
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-freespinsclub
*/

/* =========================================================
   1. Tokens and fonts
   ========================================================= */

@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans-var.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Unbounded";
	src: url("assets/fonts/unbounded-var.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--ground: #1d0f2e;
	--ink: #ece3f7;
	--muted: #bfb0d4;
	--accent: #ffd633;
	--on-accent: #14110f;
	--rule: #5b4f6a;
	--surface: #382c47;
	--tint: #322442;
	--plate: #17120d;
	--text: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--display: "Unbounded", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--measure: 1280px;
	--gut: 16px;
	--mast: 68px;
	--head-col: 170px;
	--offset: 200px;
	color-scheme: dark;
}

@media (min-width: 600px) {
	:root {
		--gut: 24px;
	}
}

@media (min-width: 1024px) {
	:root {
		--gut: 32px;
	}
}

/* =========================================================
   2. Base
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--ground);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-block-start: calc(var(--mast) + 20px);
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--text);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--ink);
	overflow-wrap: break-word;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-inline-start: 1.25em;
}

img,
svg {
	display: block;
}

table {
	border-spacing: 0;
}

a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
	color: #fff;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

::selection {
	background: var(--accent);
	color: var(--on-accent);
}

button {
	font: inherit;
	color: inherit;
}

.fsc-jump {
	position: absolute;
	z-index: 100;
	inline-size: 1px;
	block-size: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
	text-decoration: underline;
}

.fsc-jump:focus {
	inset-inline-start: var(--gut);
	inset-block-start: 12px;
	inline-size: auto;
	block-size: auto;
	margin: 0;
	padding: 10px 16px;
	overflow: visible;
	clip-path: none;
}

/* =========================================================
   3. Masthead, menu, age badge
   ========================================================= */

.fsc-wrap {
	inline-size: min(var(--measure), 100% - 2 * var(--gut));
	margin-inline: auto;
}

.fsc-mast {
	position: sticky;
	inset-block-start: 0;
	z-index: 50;
	block-size: var(--mast);
	background: var(--ground);
}

.fsc-mast__in {
	display: flex;
	align-items: center;
	gap: 20px;
	block-size: var(--mast);
}

.fsc-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	color: var(--ink);
	font-family: var(--display);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.fsc-brand::before {
	content: "";
	flex: none;
	inline-size: 22px;
	block-size: 22px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 5px var(--ground);
}

.fsc-brand:hover {
	color: var(--accent);
	text-decoration: none;
}

.fsc-nav {
	flex: 1 1 auto;
	min-inline-size: 0;
}

.fsc-nav__list {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-nav__item {
	position: relative;
	display: flex;
	align-items: center;
	block-size: var(--mast);
}

.fsc-nav__link {
	padding-block: 8px;
	padding-inline: 10px 4px;
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: underline;
	text-decoration-color: var(--rule);
	text-decoration-thickness: 1px;
	text-underline-offset: 8px;
	white-space: nowrap;
}

.fsc-nav__item:not(.has-panel) .fsc-nav__link {
	padding-inline-end: 10px;
}

.fsc-nav__link:hover,
.fsc-nav__link[aria-current="page"] {
	color: var(--accent);
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
}

.fsc-nav__caret {
	display: grid;
	place-items: center;
	flex: none;
	inline-size: 26px;
	block-size: 26px;
	margin-block: 0;
	margin-inline: 2px 4px;
	padding: 0;
	border: 1px solid var(--rule);
	border-radius: 8px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.fsc-nav__caret span {
	display: block;
	inline-size: 7px;
	block-size: 7px;
	margin-block-start: -3px;
	border-inline-end: 2px solid currentColor;
	border-block-end: 2px solid currentColor;
	transform: rotate(45deg);
}

.fsc-nav__caret:hover,
.fsc-nav__caret[aria-expanded="true"] {
	border-color: var(--accent);
	background: var(--surface);
}

.fsc-nav__caret[aria-expanded="true"] span {
	margin-block-start: 3px;
	transform: rotate(225deg);
}

.fsc-nav__panel {
	display: none;
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	z-index: 60;
	inline-size: max-content;
	min-inline-size: 240px;
	max-inline-size: 360px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--rule);
}

.fsc-nav__item:nth-last-child(-n + 2) > .fsc-nav__panel {
	inset-inline-start: auto;
	inset-inline-end: 0;
}

.fsc-nav__item.is-open > .fsc-nav__panel {
	display: block;
}

.fsc-nav__panel a {
	display: block;
	padding: 8px 18px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: underline;
	text-decoration-color: var(--rule);
	text-underline-offset: 4px;
}

.fsc-nav__panel a:hover,
.fsc-nav__panel a[aria-current="page"] {
	background: var(--tint);
	color: var(--accent);
	text-decoration-color: var(--accent);
}

@media (min-width: 1121px) {
	.fsc-nav__item.has-panel:hover > .fsc-nav__panel {
		display: block;
	}
}

.fsc-age {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	inline-size: 54px;
	block-size: 34px;
	margin-inline-start: auto;
	border-radius: 10px;
	background: var(--accent);
	color: var(--on-accent);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
}

.fsc-burger {
	display: none;
	align-items: center;
	gap: 10px;
	flex: none;
	min-block-size: 44px;
	padding: 0 14px;
	border: 2px solid var(--rule);
	border-radius: 10px;
	background: transparent;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fsc-burger:hover,
.fsc-burger[aria-expanded="true"] {
	border-color: var(--accent);
	background: var(--surface);
}

.fsc-burger__bars {
	position: relative;
	display: block;
	inline-size: 18px;
	block-size: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.fsc-burger[aria-expanded="true"] .fsc-burger__bars {
	background: transparent;
	box-shadow: none;
}

.fsc-burger[aria-expanded="true"] .fsc-burger__bars::before,
.fsc-burger[aria-expanded="true"] .fsc-burger__bars::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-start: 0;
	block-size: 2px;
	background: currentColor;
	transform: rotate(45deg);
}

.fsc-burger[aria-expanded="true"] .fsc-burger__bars::after {
	transform: rotate(-45deg);
}

@media (max-width: 1023px) {
	.fsc-mast__in {
		gap: 12px;
	}

	.fsc-burger {
		display: inline-flex;
	}

	.fsc-nav {
		display: none;
		flex: none;
	}

	.fsc-mast.is-open .fsc-nav {
		display: block;
		position: absolute;
		inset-inline: 0;
		inset-block-start: 100%;
		max-block-size: calc(100vh - var(--mast));
		padding: 4px var(--gut) 24px;
		overflow-y: auto;
		background: var(--ground);
	}

	.fsc-nav__list {
		flex-direction: column;
	}

	.fsc-nav__item {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 44px;
		align-items: center;
		block-size: auto;
		border-block-end: 1px solid var(--rule);
	}

	.fsc-nav__link,
	.fsc-nav__item:not(.has-panel) .fsc-nav__link {
		padding: 13px 4px;
		font-size: 17px;
		white-space: normal;
	}

	.fsc-nav__caret {
		inline-size: 44px;
		block-size: 44px;
		margin: 0;
	}

	.fsc-nav__panel,
	.fsc-nav__item:nth-last-child(-n + 2) > .fsc-nav__panel {
		position: static;
		grid-column: 1 / -1;
		inline-size: auto;
		min-inline-size: 0;
		max-inline-size: none;
		padding-block: 0 10px;
		padding-inline: 14px 0;
		background: transparent;
		border: 0;
	}
}

@media (max-width: 599px) {
	.fsc-mast__in {
		gap: 8px;
	}

	.fsc-brand {
		font-size: 13px;
		gap: 8px;
	}

	.fsc-brand::before {
		inline-size: 18px;
		block-size: 18px;
		box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px var(--ground);
	}
}

/* The wordmark, the age badge and the labelled menu button need 349px between the gutters, which a 360 or
   375px phone does not have. Below 390 the button keeps its three bars and its accessible name (aria-label)
   and gives up the visible word. */
@media (max-width: 389px) {
	.fsc-burger__t {
		display: none;
	}
}

/* At 320 the three still need a little more room: the wordmark steps down a size and may take two lines if a
   narrower screen asks for it, and the button padding tightens (a 44px square). */
@media (max-width: 349px) {
	.fsc-burger {
		padding-inline: 11px;
	}

	.fsc-brand {
		flex: 0 1 auto;
		gap: 6px;
		min-inline-size: 0;
		font-size: 12px;
		white-space: normal;
	}

	.fsc-brand::before {
		inline-size: 16px;
		block-size: 16px;
	}
}

/* =========================================================
   4. The column and the opening block
   ========================================================= */

.fsc-main {
	inline-size: min(var(--measure), 100% - 2 * var(--gut));
	margin-inline: auto;
	padding-block: 20px 72px;
}

.fsc-crumbs {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 24px;
}

.fsc-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-crumbs li + li::before {
	content: "/";
	margin-inline-end: 8px;
	color: var(--muted);
}

.fsc-crumbs a {
	color: var(--muted);
}

.fsc-crumbs a:hover {
	color: var(--accent);
}

.fsc-open h1 {
	margin: 16px 0 18px;
	font-family: var(--display);
	font-size: clamp(27px, 5vw + 8px, 40px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.012em;
	text-wrap: balance;
	hyphens: manual;
}

.fsc-stand {
	margin: 0 0 18px;
	color: var(--ink);
	font-size: 20px;
	line-height: 1.5;
}

.fsc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-chips li {
	padding: 3px 10px;
	border: 2px solid var(--rule);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

/* Between 433 and 523px three chips would each take a line and the longest holds only 59 percent of the
   row. Two chips share a line (the text of the long one takes a second line) and the third has the next. */
@media (min-width: 433px) and (max-width: 523px) {
	.fsc-chips li {
		display: flex;
		flex: 1 1 200px;
		align-items: center;
	}
}

/* =========================================================
   5. The ranking
   ========================================================= */

.fsc-board {
	margin-block: 22px 0;
}

.fsc-disclosure {
	margin: 0;
	padding-block: 8px;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 20px;
}

.fsc-rows {
	display: block;
	margin: 0;
	padding-block: 6px;
	padding-inline: 0;
	list-style: none;
	counter-reset: fsc-rank;
}

.fsc-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px 250px 200px;
	grid-template-areas:
		"name plate fig cta"
		"copy copy small small"
		"more more more more";
	column-gap: 24px;
	row-gap: 4px;
	align-items: center;
	padding-block: 10px 7px;
	border-block-end: 1px solid var(--rule);
	counter-increment: fsc-rank;
}

.fsc-rows .fsc-row:first-child {
	border-block-start: 1px solid var(--rule);
}

@media (min-width: 1024px) {
	.fsc-rows .fsc-row:first-child {
		padding-block-start: 9px;
	}
}

.fsc-name {
	grid-area: name;
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.fsc-name::before {
	content: counter(fsc-rank);
	display: grid;
	place-items: center;
	flex: none;
	inline-size: 30px;
	block-size: 34px;
	border: 2px solid var(--rule);
	border-radius: 6px;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.fsc-rows .fsc-row:first-child .fsc-name::before {
	border-color: var(--accent);
	color: var(--accent);
}

.fsc-plate {
	grid-area: plate;
	inline-size: 150px;
	block-size: 44px;
	padding: 4px 10px;
	border-radius: 8px;
	background: var(--plate);
	object-fit: contain;
}

.fsc-fig {
	grid-area: fig;
	display: flex;
	align-items: flex-end;
	gap: 22px;
	min-inline-size: 0;
}

.fsc-fig__i {
	display: flex;
	flex-direction: column;
	min-inline-size: 0;
}

.fsc-fig__l {
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 14px;
	white-space: nowrap;
}

.fsc-fig__v {
	color: var(--ink);
	font-family: var(--display);
	font-size: 28px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 31px;
	white-space: nowrap;
}

.fsc-btn {
	grid-area: cta;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 44px;
	min-inline-size: 160px;
	padding: 10px 18px;
	border: 2px solid var(--ink);
	border-radius: 10px;
	background: var(--accent);
	color: var(--on-accent);
	font-family: var(--text);
	font-size: 17px;
	font-weight: 800;
	line-height: 20px;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.fsc-btn:hover,
.fsc-btn:focus-visible {
	border-color: var(--accent);
	background: #fff0a3;
	color: var(--on-accent);
	text-decoration: none;
}

.fsc-btn:active {
	border-color: var(--ink);
	background: #e9bd0f;
}

.fsc-copy {
	grid-area: copy;
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 19px;
}

.fsc-small {
	grid-area: small;
	justify-self: end;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 16px;
	text-align: end;
}

.fsc-more {
	grid-area: more;
	min-inline-size: 0;
}

.fsc-more summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-block: 2px;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 20px;
	list-style: none;
	cursor: pointer;
}

.fsc-more summary::-webkit-details-marker {
	display: none;
}

.fsc-more summary::before {
	content: "+";
	display: grid;
	place-items: center;
	flex: none;
	inline-size: 20px;
	block-size: 20px;
	border: 1px solid var(--rule);
	border-radius: 50%;
	font-size: 15px;
	line-height: 1;
}

.fsc-more[open] summary::before {
	content: "\2212";
}

.fsc-more__b {
	display: grid;
	gap: 6px;
	padding: 10px 0 12px;
	color: var(--ink);
	font-size: 14.5px;
	line-height: 1.5;
}

.fsc-more__b p {
	margin: 0;
}

.fsc-more__b strong {
	font-weight: 700;
}

.fsc-board--offline {
	padding: 18px 20px;
	border: 1px solid var(--rule);
	background: var(--surface);
}

.fsc-board--offline p {
	margin: 0;
}

.fsc-extra {
	margin-block: 18px 0;
	padding: 14px 20px;
	border-inline-start: 3px solid var(--accent);
	background: var(--tint);
	color: var(--ink);
	font-size: 15.5px;
	line-height: 1.55;
}

.fsc-extra :last-child {
	margin-block-end: 0;
}

@media (max-width: 1023px) {
	.fsc-row {
		grid-template-columns: minmax(0, 1fr) 150px;
		grid-template-areas:
			"name plate"
			"copy copy"
			"fig cta"
			"small small"
			"more more";
		row-gap: 8px;
		padding-block: 14px 8px;
	}

	.fsc-fig {
		flex-wrap: wrap;
		gap: 8px 22px;
	}

	.fsc-btn {
		justify-self: end;
		inline-size: 100%;
	}
}

@media (max-width: 620px) {
	.fsc-row {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"name"
			"plate"
			"copy"
			"fig"
			"cta"
			"small"
			"more";
		row-gap: 10px;
		padding-block: 18px 10px;
	}

	.fsc-btn {
		inline-size: 100%;
		justify-self: stretch;
	}

	.fsc-small {
		justify-self: start;
		text-align: start;
	}
}

/* =========================================================
   6. Facts, contents, hub directory
   ========================================================= */

.fsc-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.fsc-facts li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px 20px;
	border-block-start: 2px solid var(--rule);
	background: var(--surface);
}

.fsc-fact__l {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.35;
}

.fsc-fact__v {
	color: var(--ink);
	font-family: var(--display);
	font-size: 26px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.fsc-fact__n {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.4;
}

/* Cells between 240 and 400px wide are filled by their content as stacked label and value. Where a
   cell would be wider than that (a single track from 433px, two tracks from 600 to 1199, a single track
   for three facts under 900) the label sits at the start and the value at the end of the cell, so the
   cell is filled across. */
@media (min-width: 433px) and (max-width: 1199px) {
	.fsc-facts:not(.fsc-facts--n3) li {
		flex-flow: row wrap;
		align-items: baseline;
		justify-content: space-between;
		column-gap: 16px;
	}

	.fsc-facts:not(.fsc-facts--n3) .fsc-fact__v {
		margin-inline-start: auto;
		text-align: end;
	}

	.fsc-facts:not(.fsc-facts--n3) .fsc-fact__n {
		flex: 1 0 100%;
	}
}

@media (min-width: 433px) and (max-width: 899px) {
	.fsc-facts--n3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.fsc-facts--n3 li {
		flex-flow: row wrap;
		align-items: baseline;
		justify-content: space-between;
		column-gap: 16px;
	}

	.fsc-facts--n3 .fsc-fact__v {
		margin-inline-start: auto;
		text-align: end;
	}

	.fsc-facts--n3 .fsc-fact__n {
		flex: 1 0 100%;
	}
}

@media (min-width: 900px) {
	.fsc-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fsc-facts--n3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 48px;
	}
}

@media (min-width: 1200px) {
	.fsc-facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.fsc-facts--n3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.fsc-facts--n2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.fsc-facts {
		grid-template-columns: minmax(0, 1fr);
	}
}

.fsc-toc,
.fsc-dir {
	margin-block: 32px 0;
	padding: 20px 24px;
	background: var(--tint);
	border: 1px solid var(--rule);
}

.fsc-toc__t,
.fsc-dir__t {
	margin: 0 0 12px;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
}

.fsc-toc ol {
	columns: 2 300px;
	column-gap: 48px;
	column-rule: 1px solid var(--rule);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: fsc-toc;
}

.fsc-toc li {
	break-inside: avoid;
	padding-block: 5px;
	counter-increment: fsc-toc;
}

.fsc-toc li::before {
	content: counter(fsc-toc, decimal-leading-zero);
	display: inline-block;
	min-inline-size: 2.2em;
	color: var(--muted);
	font-family: var(--display);
	font-size: 13px;
	font-weight: 600;
}

.fsc-dir ul {
	columns: 3 260px;
	column-gap: 48px;
	column-rule: 1px solid var(--rule);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-dir li {
	break-inside: avoid;
	padding-block: 5px;
}

/* Below 768 the lists of short links take two columns as soon as the list is wider than 400px, where one
   column of short lines would leave more than 40 percent of its width empty. */
@media (max-width: 767px) {
	.fsc-toc ol,
	.fsc-dir ul {
		columns: 2 188px;
		column-gap: 24px;
	}
}

/* A block of many links is not a block of many yellow lines: the text is ink,
   the underline carries the signal, and the accent comes back on hover. */
.fsc-toc a,
.fsc-dir a {
	color: var(--ink);
	text-decoration-color: var(--accent);
}

.fsc-toc a:hover,
.fsc-dir a:hover {
	color: var(--accent);
	text-decoration-color: var(--accent);
}

/* =========================================================
   7. Sections: the heading column, the reel, the content offset
   ========================================================= */

.fsc-sec {
	display: flow-root;
	margin-block-start: 56px;
}

.fsc-sec > h2 {
	margin: 0 0 18px;
	font-family: var(--text);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: -0.01em;
	hyphens: manual;
}

.fsc-sec > :not(h2) {
	margin-block: 0 24px;
}

.fsc-sec > :not(h2):last-child {
	margin-block-end: 0;
}

.fsc-num {
	display: inline-flex;
	vertical-align: middle;
	margin-inline-end: 12px;
	border: 1px solid var(--rule);
	border-radius: 7px;
	background: linear-gradient(180deg, rgba(236, 227, 247, 0.12), rgba(236, 227, 247, 0) 48%, rgba(0, 0, 0, 0.3));
	font-family: var(--display);
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.fsc-num i {
	display: block;
	inline-size: 24px;
	padding-block: 8px;
	color: var(--accent);
	font-style: normal;
	text-align: center;
}

.fsc-num i.z {
	color: var(--muted);
}

.fsc-num i + i {
	border-inline-start: 1px solid var(--rule);
}

@media (min-width: 1000px) {
	.fsc-sec > h2 {
		float: inline-start;
		inline-size: var(--head-col);
		margin: 0;
	}

	.fsc-sec > h2 .fsc-num {
		display: flex;
		inline-size: max-content;
		margin: 0 0 14px;
	}

	.fsc-sec > :not(h2),
	.fsc-colophon {
		margin-inline-start: var(--offset);
	}

	.fsc-sec.fsc-plain > :not(h2) {
		margin-inline-start: 0;
	}
}

.fsc-sec h3 {
	margin: 12px 0 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.fsc-sec > h3 {
	margin-block: 0 16px;
}

.fsc-cols {
	columns: 2 320px;
	column-gap: 48px;
	column-rule: 1px solid var(--rule);
}

.fsc-cols p,
.fsc-cols li {
	orphans: 2;
	widows: 2;
}

.fsc-cols > :last-child {
	margin-block-end: 0;
}

/* The key line: the opening sentence of a paragraph, lifted out and set
   large where a run of prose has gone on too long. The paragraph carries on
   under it, so nothing is said twice. */
.fsc-pull {
	margin-block: 4px 20px;
	padding-block: 20px;
	padding-inline: 0;
	border: 0;
	border-block: 1px solid var(--rule);
	background: transparent;
	color: var(--ink);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.32;
	break-inside: avoid;
}

.fsc-pull p {
	margin: 0;
	orphans: 1;
	widows: 1;
}

@media (min-width: 1100px) {
	.fsc-pull {
		font-size: 19px;
		line-height: 1.38;
	}

	/* In wide columns only the first key line of a run stands as a block;
	   the others run in: the same bold sentence opens its paragraph. */
	.fsc-cols > .fsc-pull:not(:first-of-type):not(.fsc-pull--end) {
		display: contents;
	}

	.fsc-cols > .fsc-pull:not(:first-of-type):not(.fsc-pull--end) p {
		display: inline;
		font-size: inherit;
		font-weight: 700;
		line-height: inherit;
	}

	.fsc-cols > .fsc-pull:not(:first-of-type):not(.fsc-pull--end) + p {
		display: inline;
	}

	.fsc-cols > .fsc-pull:not(:first-of-type):not(.fsc-pull--end) + p::after {
		content: "";
		display: block;
		margin-block-end: 1em;
	}
}

.fsc-cols li {
	margin-block-end: 0.4em;
}

/* Numbered lists in prose: each number is a one-slot reel */
.fsc-cols > ol {
	padding-inline-start: 0;
	list-style: none;
	counter-reset: fsc-step;
}

.fsc-cols > ol > li {
	position: relative;
	margin-block-end: 14px;
	padding-inline-start: 46px;
	counter-increment: fsc-step;
	break-inside: avoid;
}

.fsc-cols > ol > li::before {
	content: counter(fsc-step);
	position: absolute;
	inset-block-start: 1px;
	inset-inline-start: 0;
	display: grid;
	inline-size: 30px;
	block-size: 36px;
	place-items: center;
	border: 1px solid var(--rule);
	background: var(--tint);
	color: var(--ink);
	font-family: var(--display);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.fsc-cols > ul {
	list-style: square;
}

/* Terms and their meanings, three or more in a row */
.fsc-defs {
	margin: 0 0 1em;
}

.fsc-defs > div {
	padding-block: 12px 2px;
	border-block-start: 1px solid var(--rule);
	break-inside: avoid;
}

.fsc-defs dt {
	margin: 0 0 4px;
	color: var(--ink);
	font-weight: 700;
}

.fsc-defs dd {
	margin: 0 0 10px;
}


.fsc-cols > ul > li::marker {
	color: var(--muted);
}

.fsc-plain {
	margin-block-start: 32px;
}

.fsc-plain > p,
.fsc-plain > ul,
.fsc-plain > ol {
	margin-block-end: 1em;
}

.fsc-note {
	margin-block: 16px 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.fsc-colophon {
	margin-block: 40px 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */

.fsc-tbl {
	min-inline-size: 0;
}

.fsc-scroll {
	overflow-x: auto;
}

.fsc-table {
	inline-size: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.4;
}

.fsc-tbl__cap {
	margin: 0 0 16px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.fsc-table--wide {
	min-inline-size: 680px;
}

.fsc-table th,
.fsc-table td {
	padding: 9px 10px;
	border: 0;
	border-block-end: 1px solid var(--rule);
	text-align: start;
	vertical-align: top;
}

.fsc-table thead th {
	background: var(--tint);
	box-shadow: inset 0 -2px 0 var(--rule);
	border-block-end: 0;
	font-weight: 600;
	vertical-align: bottom;
}

.fsc-table tbody th {
	font-weight: 600;
}

.fsc-table tbody tr {
	background: transparent;
}

/* ---------------------------------------------------------
   Figures: bars as a list
   --------------------------------------------------------- */

.fsc-figure {
	margin: 0;
	padding: 20px 24px 18px;
	border: 1px solid var(--rule);
	background: var(--tint);
}

.fsc-bars {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-bar {
	display: grid;
	grid-template-columns: minmax(110px, 30%) minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	line-height: 1.3;
}

.fsc-bar__t {
	display: block;
	block-size: 14px;
	background: var(--surface);
}

.fsc-bar__f {
	display: block;
	block-size: 100%;
	background: var(--muted);
}

.fsc-bar.is-hi .fsc-bar__f {
	background: var(--accent);
}

.fsc-bar__v {
	min-inline-size: 5ch;
	color: var(--ink);
	font-family: var(--display);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: end;
	white-space: nowrap;
}

.fsc-figure__axis,
.fsc-figure figcaption {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.fsc-figure__axis {
	margin-block-start: 14px;
}

.fsc-figure__scroll {
	overflow-x: auto;
}

.fsc-chart {
	inline-size: 100%;
	block-size: auto;
}

/* ---------------------------------------------------------
   Callouts and the care block
   --------------------------------------------------------- */

.fsc-callout {
	padding: 20px 24px;
	border: 0;
	border-block-end: 3px solid var(--accent);
	border-radius: 0;
	background: var(--surface);
}

.fsc-callout > :last-child {
	margin-block-end: 0;
}

.fsc-callout p {
	margin-block: 0 0.8em;
}

.fsc-callout h3 {
	margin: 0 0 8px;
}

/* ---------------------------------------------------------
   The calculator
   --------------------------------------------------------- */

.fsc-calcbox {
	padding: 22px 24px;
	border: 1px solid var(--rule);
	background: var(--tint);
}

.fsc-calcbox > :last-child {
	margin-block-end: 0;
}

.fsc-calc__in {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.fsc-calc__f {
	display: flex;
	flex: 1 1 180px;
	flex-direction: column;
	gap: 6px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.3;
}

.fsc-calc__f input {
	inline-size: 100%;
	min-block-size: 44px;
	padding: 8px 12px;
	border: 2px solid var(--rule);
	border-radius: 8px;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--text);
	font-size: 17px;
	font-weight: 600;
}

.fsc-calc__f input:hover {
	border-color: var(--muted);
}

.fsc-calc__out {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 36px;
	margin: 20px 0 0;
	padding: 0;
}

.fsc-calc__out div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fsc-calc__out dt {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.3;
}

.fsc-calc__out dd {
	margin: 0;
	color: var(--ink);
	font-family: var(--display);
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

.fsc-calcbox .fsc-note {
	margin-block-start: 14px;
}

/* ---------------------------------------------------------
   Questions
   --------------------------------------------------------- */

.fsc-faq > .fsc-q {
	margin-block: 0 16px;
	border: 1px solid var(--rule);
	background: var(--tint);
}

.fsc-faq > .fsc-q:last-child {
	margin-block-end: 0;
}

.fsc-q summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	list-style: none;
	cursor: pointer;
}

.fsc-q summary::-webkit-details-marker {
	display: none;
}

.fsc-q summary h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.fsc-q__caret {
	display: grid;
	place-items: center;
	flex: none;
	inline-size: 30px;
	block-size: 30px;
	border: 2px solid var(--rule);
	border-radius: 50%;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.15s ease, border-color 0.15s ease;
}

.fsc-q summary:hover .fsc-q__caret {
	border-color: var(--accent);
}

.fsc-q[open] .fsc-q__caret {
	border-color: var(--accent);
	transform: rotate(45deg);
}

.fsc-q__a {
	padding: 0 18px 8px;
}

.fsc-q__a p {
	margin-block: 0 0.9em;
}

/* ---------------------------------------------------------
   Onward links
   --------------------------------------------------------- */

.fsc-onward {
	columns: 2 320px;
	column-gap: 48px;
	column-rule: 1px solid var(--rule);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-onward li {
	break-inside: avoid;
	padding-block: 5px;
}

@media (max-width: 767px) {
	.fsc-onward {
		columns: 2 188px;
		column-gap: 24px;
	}
}

.fsc-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-links li {
	padding-block: 6px;
}

/* ---------------------------------------------------------
   Search field
   --------------------------------------------------------- */

.fsc-search {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px 10px;
	margin-block: 18px 0;
}

.fsc-search__l {
	flex: 1 0 100%;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.fsc-search__q {
	flex: 1 1 260px;
	min-block-size: 44px;
	padding: 8px 12px;
	border: 2px solid var(--rule);
	border-radius: 8px;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--text);
	font-size: 17px;
}

.fsc-search__go {
	min-block-size: 44px;
	min-inline-size: 120px;
	padding: 10px 18px;
	border: 2px solid var(--ink);
	border-radius: 10px;
	background: var(--accent);
	color: var(--on-accent);
	font-family: var(--text);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
}

.fsc-search__go:hover {
	border-color: var(--accent);
	background: #fff0a3;
}

/* =========================================================
   8. Footer
   ========================================================= */

.fsc-foot {
	background: var(--tint);
	color: var(--ink);
}

.fsc-foot__in {
	padding-block: 48px 40px;
}

.fsc-foot__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px 32px;
}

.fsc-foot h2 {
	margin: 0 0 14px;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.fsc-foot ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsc-foot li {
	font-size: 15px;
	line-height: 1.45;
}

.fsc-foot a {
	color: var(--ink);
	text-decoration-color: var(--rule);
	text-decoration-thickness: 1px;
}

.fsc-foot a:hover {
	color: var(--accent);
	text-decoration-color: var(--accent);
}

.fsc-foot__about {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.5;
}

.fsc-foot__reg {
	margin: 36px 0 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.fsc-foot__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-block-start: 28px;
	padding-block-start: 24px;
	border-block-start: 1px solid var(--rule);
}

.fsc-foot__bar .fsc-age {
	margin-inline-start: 0;
}

.fsc-foot__safe,
.fsc-foot__copy {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.fsc-foot__safe {
	flex: 1 1 320px;
}

@media (max-width: 1023px) {
	.fsc-foot__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.fsc-foot__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.fsc-foot__in {
		padding-block: 36px 32px;
	}
}

/* =========================================================
   9. Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

/* tables of the page text: the wrappers named bingle-tablewrap and bk-scroll scroll inside their own block (the theme only knew fsc-scroll) */
.bingle-tablewrap,
.bk-scroll {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
