/* bikelli block styles: pick them in the editor from a block's Styles panel. */
:root {
	--bkl-bg: #080807;
	--bkl-panel: #0F0F0D;
	--bkl-ink: #EDEDE6;
	--bkl-muted: #9A9A92;
	--bkl-line: #2A2A26;
	--bkl-line-soft: #1B1B18;
	--bkl-reed: #C2C68D;
	--bkl-display: "Report", "Helvetica Neue", Arial, sans-serif;
	--bkl-body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
	--bkl-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- Page wrapper (Group) ---------- */
.is-style-bikelli-page {
	padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 110px);
	max-width: 1180px;
	margin-inline: auto !important;
}
.is-style-bikelli-page > * { margin-block: 0; }
.is-style-bikelli-page > * + * { margin-block-start: clamp(34px, 5vw, 60px) !important; }

/* ---------- Hero (Group) ---------- */
.is-style-bikelli-hero {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 820px;
}
.is-style-bikelli-hero > * { margin: 0 !important; }
.is-style-bikelli-hero h1 {
	font-family: var(--bkl-display);
	font-weight: 400;
	font-size: clamp(34px, 5.4vw, 64px);
	line-height: 1.06;
	text-wrap: balance;
}
.is-style-bikelli-hero p:not(.is-style-bikelli-eyebrow) {
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.5;
	color: var(--bkl-muted);
}
.is-style-bikelli-hero p strong { color: var(--bkl-ink); font-weight: 600; }
.is-style-bikelli-hero .wp-block-buttons { margin-top: 6px !important; }

/* ---------- Section (Group) ---------- */
.is-style-bikelli-section > * { margin-block: 0; }
.is-style-bikelli-section h2 {
	font-family: var(--bkl-display);
	font-weight: 400;
	font-size: clamp(28px, 3.8vw, 44px);
	line-height: 1.1;
	margin: 0 0 14px !important;
	text-wrap: balance;
}
.is-style-bikelli-section > p {
	margin: 0 0 18px !important;
	color: var(--bkl-muted);
	font-size: 17px;
	line-height: 1.5;
	max-width: 46rem;
}

/* ---------- Paragraph styles ---------- */
p.is-style-bikelli-eyebrow {
	margin: 0;
	font-family: var(--bkl-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bkl-muted);
}
p.is-style-bikelli-lede {
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.5;
	color: var(--bkl-muted);
}
p.is-style-bikelli-lede strong { color: var(--bkl-ink); font-weight: 600; }
p.is-style-bikelli-note {
	margin-top: 14px !important;
	font-size: 13px;
	line-height: 1.6;
	color: var(--bkl-muted);
	max-width: 62rem;
}

/* ---------- Buttons ---------- */
.wp-block-button.is-style-bikelli-solid .wp-block-button__link,
.wp-block-button.is-style-bikelli-ghost .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 28px;
	font: 600 17px/1 var(--bkl-body);
	border: 0;
	border-radius: 2px;
	text-decoration: none;
	transition: background 0.18s;
}
.wp-block-button.is-style-bikelli-solid .wp-block-button__link {
	background: var(--bkl-ink);
	color: #0A0A09;
}
.wp-block-button.is-style-bikelli-solid .wp-block-button__link:hover { background: var(--bkl-reed); }
.wp-block-button.is-style-bikelli-ghost .wp-block-button__link {
	background: transparent;
	color: var(--bkl-ink);
	box-shadow: inset 0 0 0 1px rgba(237, 237, 230, 0.5);
}
.wp-block-button.is-style-bikelli-ghost .wp-block-button__link:hover { background: rgba(237, 237, 230, 0.12); }

/* ---------- Image with caption ---------- */
.wp-block-image.is-style-bikelli-figure { margin: 0; }
.wp-block-image.is-style-bikelli-figure img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--bkl-line-soft);
	border-radius: 3px;
	background: var(--bkl-bg);
}
.wp-block-image.is-style-bikelli-figure figcaption {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bkl-muted);
	text-align: left;
	max-width: 56rem;
}

/* ---------- Card (Group or Column) ---------- */
.is-style-bikelli-card {
	background: var(--bkl-panel);
	border: 1px solid var(--bkl-line);
	border-radius: 3px;
	padding: 22px !important;
}
.is-style-bikelli-card > * { margin-block: 0; }
.is-style-bikelli-card h3 {
	font-family: var(--bkl-display);
	font-weight: 400;
	font-size: 24px;
	margin: 0 0 10px !important;
}
.is-style-bikelli-card ul {
	margin: 0;
	padding-left: 1.1em;
	color: var(--bkl-muted);
	font-size: 16px;
	line-height: 1.55;
}
.is-style-bikelli-card li + li { margin-top: 6px; }
.wp-block-columns:has(> .is-style-bikelli-card) { gap: 16px; }

/* ---------- Comparison table ---------- */
.wp-block-table.is-style-bikelli-comparison {
	overflow-x: auto;
	border: 1px solid var(--bkl-line);
	border-radius: 3px;
	background: var(--bkl-panel);
	margin: 0;
}
.wp-block-table.is-style-bikelli-comparison table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	min-width: 720px;
	font-size: 15px;
	line-height: 1.35;
	border: 0;
}
.wp-block-table.is-style-bikelli-comparison th,
.wp-block-table.is-style-bikelli-comparison td {
	padding: 10px 12px;
	text-align: center;
	vertical-align: middle;
	border: 0;
	border-bottom: 1px solid var(--bkl-line-soft);
	border-right: 1px solid var(--bkl-line-soft);
	color: var(--bkl-ink);
}
.wp-block-table.is-style-bikelli-comparison thead { border-bottom: 0; }
.wp-block-table.is-style-bikelli-comparison thead th {
	font-family: var(--bkl-display);
	font-weight: 400;
	font-size: 17px;
	background: var(--bkl-panel);
	white-space: nowrap;
}
/* First column = row labels */
.wp-block-table.is-style-bikelli-comparison tbody td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	text-align: left;
	background: var(--bkl-panel);
	font-family: var(--bkl-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bkl-muted);
	min-width: 128px;
}
.wp-block-table.is-style-bikelli-comparison tbody td:first-child strong { font-weight: inherit; }
.wp-block-table.is-style-bikelli-comparison thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
}
/* Second column = bikelli, highlighted */
.wp-block-table.is-style-bikelli-comparison td:nth-child(2),
.wp-block-table.is-style-bikelli-comparison th:nth-child(2) { background: rgba(194, 198, 141, 0.08); }
.wp-block-table.is-style-bikelli-comparison thead th:nth-child(2) { color: var(--bkl-reed); }
.wp-block-table.is-style-bikelli-comparison tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-bikelli-comparison td:last-child,
.wp-block-table.is-style-bikelli-comparison th:last-child { border-right: 0; }
.wp-block-table.is-style-bikelli-comparison figcaption { display: none; }

/* ---------- FAQ (Details) ---------- */
.wp-block-details.is-style-bikelli-faq {
	border-top: 1px solid var(--bkl-line);
	border-bottom: 1px solid var(--bkl-line);
	margin: 0 !important;
}
.wp-block-details.is-style-bikelli-faq + .wp-block-details.is-style-bikelli-faq { margin-top: -1px !important; }
.wp-block-details.is-style-bikelli-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 36px 18px 0;
	position: relative;
	font-family: var(--bkl-display);
	font-size: clamp(19px, 2.2vw, 24px);
	line-height: 1.25;
	color: var(--bkl-ink);
}
.wp-block-details.is-style-bikelli-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-bikelli-faq summary::marker { content: ""; }
.wp-block-details.is-style-bikelli-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--bkl-mono);
	color: var(--bkl-muted);
}
.wp-block-details.is-style-bikelli-faq[open] summary::after { content: "\2212"; }
.wp-block-details.is-style-bikelli-faq summary:focus-visible { outline: 2px solid var(--bkl-reed); outline-offset: 2px; }
.wp-block-details.is-style-bikelli-faq > :not(summary) {
	margin: 0 0 10px;
	color: var(--bkl-muted);
	font-size: 17px;
	line-height: 1.6;
	max-width: 50rem;
}
.wp-block-details.is-style-bikelli-faq > :last-child:not(summary) { margin-bottom: 20px; }

@media (max-width: 781px) {
	.wp-block-columns:has(> .is-style-bikelli-card) { flex-direction: column; }
}

/* ---------- bikelli header / footer (synced patterns) ---------- */
/* Pages that include the bikelli header use it instead of the theme header, footer and big page title. */
body:has(.is-style-bikelli-header) header.wp-block-template-part,
body:has(.is-style-bikelli-header) footer.wp-block-template-part,
body:has(.is-style-bikelli-header) .wp-block-post-title { display: none !important; }
body:has(.is-style-bikelli-header) main,
body:has(.is-style-bikelli-header) main > .wp-block-group,
body:has(.is-style-bikelli-header) .wp-block-post-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
body:has(.is-style-bikelli-header) .wp-block-post-content > :first-child,
body:has(.is-style-bikelli-header) .wp-block-post-content > .is-style-bikelli-page { margin-top: 0 !important; }

.is-style-bikelli-header {
	max-width: 1180px;
	margin-inline: auto !important;
	box-sizing: border-box;
}
.is-style-bikelli-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: max(18px, env(safe-area-inset-top, 0px));
}
.is-style-bikelli-header > * { margin: 0 !important; }
.is-style-bikelli-header p:not(.is-style-bikelli-logo) a {
	color: var(--bkl-muted);
	text-decoration: none;
	font-size: 15px;
}
.is-style-bikelli-header p:not(.is-style-bikelli-logo) a:hover { color: var(--bkl-ink); }

.is-style-bikelli-footer {
	/* Full-width top rule; content kept to the 1180px column. */
	max-width: none !important;
	box-sizing: border-box;
	padding-inline: max(16px, calc((100% - 1180px) / 2)) !important;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 18px 40px;
	padding-block: 36px 52px;
	border-top: 1px solid var(--bkl-line-soft);
	margin-top: 0 !important;
}
.is-style-bikelli-footer > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 !important;
	min-width: 0;
}
.is-style-bikelli-footer p {
	margin: 0 !important;
	font-size: 15px;
	color: var(--bkl-muted);
}
.is-style-bikelli-footer p:not(.is-style-bikelli-logo) a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--bkl-line);
	text-underline-offset: 4px;
}
.is-style-bikelli-footer p:not(.is-style-bikelli-logo) a:hover { text-decoration-color: var(--bkl-reed); }

/* Two-tone wordmark: make "bik" bold in the editor and it turns light grey. */
p.is-style-bikelli-logo {
	font-family: var(--bkl-display);
	font-size: 26px !important;
	line-height: 1;
	color: var(--bkl-ink) !important;
}
p.is-style-bikelli-logo a { color: inherit; text-decoration: none; }
p.is-style-bikelli-logo strong { color: #C8C8C8; font-weight: inherit; }
/* In the header the wordmark is small, like the original page header. */
.is-style-bikelli-header p.is-style-bikelli-logo {
	font-size: 15px !important;
	color: var(--bkl-muted) !important;
}

/* "by Sascher" */
p.is-style-bikelli-byline {
	font-family: var(--bkl-body);
	font-size: 15px !important;
	color: var(--bkl-muted) !important;
}
