/*
 * BharatPost: bp.css
 * Design tokens, base, shared components, header, footer, docs, prose and blog.
 * Mobile first; works down to 360px. Page-specific styles live in
 * bp-marketing.css and bp-utility.css and must build on these classes.
 * Full reference with markup examples: design-reference/COMPONENTS.md
 *
 * COMPONENT INDEX
 * ---------------------------------------------------------------------------
 * Layout
 *   .bp-container            1200px max, 24px side padding (--narrow 880, --prose 720, --wide 1280)
 *   .bp-section              vertical section padding (72px, 48px on phones)
 *   .bp-section--soft        #F5F6FB band
 *   .bp-section--tight       smaller padding (48px / 36px)
 *   .bp-section--flush-top   no top padding
 *   .bp-section-head         title left, .bp-link-arrow right, wraps on mobile
 *   .bp-section-intro        title + lead column (max 680px) above a section's content
 *   .bp-stack                flex column; gap from --bp-gap (default 16px)
 *   .bp-grid                 CSS grid, 20px gap; --2 / --3 / --4 fixed columns from tablet up
 *   .bp-grid--auto           auto-fit columns, min width from --bp-grid-min (default 260px)
 *   .bp-page-head            soft-band page header (pill, h1, lead, updated); __inner; --center
 *   .bp-page-body            body area under a page head (bands / pagers get top margin)
 * Type
 *   .bp-h1 .bp-h2 .bp-h3     Nunito headings (56/40/24px, scale down on phones)
 *   .bp-h4                   Inter 700 18px title (feature lists, small cards)
 *   .bp-lead                 19px intro paragraph, text colour
 *   .bp-text / .bp-muted / .bp-small   body text colour / muted colour / 14px
 *   .bp-accent               saffron-text span inside a heading
 *   .bp-eyebrow              small uppercase saffron-text label
 *   .bp-pill                 peach rounded label
 *   .bp-chip                 grey rounded label (categories, tags)
 *   .bp-updated              small muted "Last updated" line
 * Actions
 *   .bp-btn                  base button / link button (48px min height)
 *   .bp-btn--primary         navy, white text
 *   .bp-btn--accent          saffron, dark text (never white)
 *   .bp-btn--ghost           white, grey border, navy text
 *   .bp-btn--on-dark         outlined, white text, for navy bands
 *   .bp-btn--sm / --lg / --block    size variants
 *   .bp-btn-row              wrapping row of buttons
 *   .bp-link-arrow           bold link with an animated arrow (arrow added by CSS); --back = left arrow
 *   .bp-link-card            white clickable card with __title and __text
 * Surfaces
 *   .bp-card                 white, 1px line border, radius 16, padding 28
 *   .bp-card--raised         shadow 0 12px 40px rgba(31,39,102,.12), radius 20, no border
 *   .bp-card--soft           soft background, no border
 *   .bp-card--featured       saffron border
 *   .bp-card--hover          lifts on hover (for cards that are links)
 *   .bp-card__title / __text card heading / card copy
 *   .bp-band--navy           navy rounded CTA band (white text); __body, __title, __text, __actions
 *   .bp-band--peach          peach final CTA band; same children
 *   .bp-shot                 screenshot image: rounded, light border, soft shadow
 * Bits
 *   .bp-badge --live --soon --api    status badges (green / grey / peach)
 *   .bp-icon-tile            44px rounded square, Nunito initial or svg; --peach, --white, --lg
 *   .bp-step-num             40px saffron circle number
 *   .bp-check-list           list with saffron ticks
 *   .bp-feature              tick icon + __title + __text row
 *   .bp-faq                  <details>/<summary> accordion list; __item, __q, __a
 * Forms
 *   .bp-form                 vertical form stack
 *   .bp-field-grid           auto-fit grid of fields (min 220px)
 *   .bp-field                label + control + hint group (--wide spans the grid)
 *   .bp-label (.bp-req)      field label (required marker)
 *   .bp-input .bp-select .bp-textarea   controls (48px, 1.5px #C9CCDD border, radius 10)
 *   .bp-hint                 help text under a control
 *   .bp-field-error          error text under a control
 *   .bp-fieldset .bp-legend  grouped radios / checkboxes
 *   .bp-check                checkbox / radio row (44px target)
 *   .bp-notice --ok --err --info     message boxes
 *   .bp-hp                   honeypot field wrapper (off-screen)
 *   .is-hidden               hides conditional form blocks (main.js data-show-when)
 * Data
 *   .bp-table / .bp-table-wrap       styled table / horizontal scroll wrapper
 * Shell
 *   .bp-header (+ __inner __brand __logo __powered __toggle __bars __panel __nav __menu __link
 *              __actions __panel-note; states .is-scrolled .is-open)
 *   .bp-footer (+ __inner __top __brand __logo __wordmark __about __powered __cols __col
 *              __col--contact __heading __list __bottom)
 *   .bp-docs (+ __grid __side __side-toggle __side-current __nav __group __group-title __link
 *            __article __head __crumb __title __lead __help __toc __toc-title __toc-link)
 *   .bp-pager, .bp-pager__link --prev --next   previous / next links
 *   .bp-prose                styles plain HTML (content partials, post content); --docs
 *   .bp-post-card (+ __link __thumb __body __title __meta __excerpt __more)   blog card
 *   .bp-post-head, .bp-post-hero      single post header and featured image
 *   .bp-pagination           styles the_posts_pagination() output
 *   .bp-empty                soft "nothing here" box
 *   .bp-lightbox             screenshot viewer opened by main.js (a[data-lightbox])
 * Accessibility
 *   .screen-reader-text      visually hidden
 *   .bp-skip-link            skip link (visible on focus)
 */

/* ==========================================================================
 * Tokens
 * ======================================================================= */

:root {
	--bp-navy: #1F2766;
	--bp-navy-dark: #161C4F;
	--bp-ink: #1A1C2E;
	--bp-text: #44475E;
	--bp-muted: #5A5D73;
	--bp-line: #ECEDF3;
	--bp-border: #D5D8E6;
	--bp-input: #C9CCDD;
	--bp-soft: #F5F6FB;
	--bp-white: #FFFFFF;

	--bp-saffron: #FF7A00;
	--bp-saffron-hover: #F06F00;
	--bp-saffron-text: #C25700;
	--bp-peach: #FFF1E3;
	--bp-peach-text: #A84B00;

	--bp-footer: #141838;
	--bp-footer-text: #C9CCE4;
	--bp-footer-muted: #A3A7C7;
	--bp-footer-rule: #2C3160;
	--bp-on-navy-text: #D5D8EE;
	--bp-on-navy-border: #6D73A8;

	--bp-ok-bg: #E6F4EA;
	--bp-ok: #1E6B34;
	--bp-err: #B3261E;
	--bp-err-bg: #FDECEA;
	--bp-chip: #F0F1F8;
	--bp-chip-text: #4A4E6E;
	--bp-focus: #FFB366;

	--bp-font-head: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bp-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bp-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--bp-r-10: 10px;
	--bp-r-12: 12px;
	--bp-r-14: 14px;
	--bp-r-16: 16px;
	--bp-r-20: 20px;
	--bp-r-24: 24px;
	--bp-r-pill: 999px;

	--bp-shadow-sm: 0 2px 8px rgba(31, 39, 102, 0.06);
	--bp-shadow-md: 0 8px 24px rgba(31, 39, 102, 0.10);
	--bp-shadow: 0 12px 40px rgba(31, 39, 102, 0.12);

	--bp-container: 1200px;
	--bp-gutter: 24px;
	--bp-section-y: 48px;
	--bp-header-h: 69px;

	--bp-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
	--bp-dur: 180ms;
}

@media (min-width: 768px) {
	:root {
		--bp-section-y: 72px;
	}
}

@media (max-width: 400px) {
	:root {
		--bp-gutter: 18px;
	}
}

/* ==========================================================================
 * Reset and base
 * ======================================================================= */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--bp-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--bp-white);
	color: var(--bp-ink);
	font-family: var(--bp-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--bp-font-head);
	font-weight: 800;
	line-height: 1.15;
	color: var(--bp-navy);
}

p,
ul,
ol,
dl,
figure,
blockquote,
pre {
	margin: 0;
}

img,
svg,
video,
canvas,
picture {
	display: block;
	max-width: 100%;
}

img,
video {
	height: auto;
}

a {
	color: var(--bp-navy);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--bp-dur) var(--bp-ease);
}

a:hover {
	color: var(--bp-saffron-text);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

strong,
b {
	font-weight: 700;
}

hr {
	height: 1px;
	margin: 32px 0;
	border: 0;
	background: var(--bp-line);
}

::selection {
	background: var(--bp-peach);
	color: var(--bp-ink);
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 3px solid var(--bp-focus);
	outline-offset: 2px;
	border-radius: 4px;
}

[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ==========================================================================
 * Accessibility helpers
 * ======================================================================= */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.bp-skip-link.screen-reader-text:focus,
.bp-skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	overflow: visible;
	white-space: normal;
	border-radius: var(--bp-r-10);
	background: var(--bp-navy);
	color: var(--bp-white);
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--bp-shadow);
}

/* ==========================================================================
 * Layout
 * ======================================================================= */

.bp-container {
	width: 100%;
	max-width: calc(var(--bp-container) + 2 * var(--bp-gutter));
	margin-inline: auto;
	padding-inline: var(--bp-gutter);
}

.bp-container--narrow {
	max-width: calc(880px + 2 * var(--bp-gutter));
}

.bp-container--prose {
	max-width: calc(720px + 2 * var(--bp-gutter));
}

.bp-container--wide {
	max-width: calc(1280px + 2 * var(--bp-gutter));
}

.bp-section {
	padding-block: var(--bp-section-y);
}

.bp-section--soft {
	background: var(--bp-soft);
}

.bp-section--tight {
	padding-block: calc(var(--bp-section-y) * 0.67);
}

.bp-section--flush-top {
	padding-top: 0;
}

.bp-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 32px;
}

.bp-section-head > :first-child {
	flex: 1 1 320px;
	min-width: 0;
}

.bp-section-intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 680px;
	margin-bottom: 32px;
}

.bp-section-intro--center {
	margin-inline: auto;
	text-align: center;
	align-items: center;
}

.bp-stack {
	display: flex;
	flex-direction: column;
	gap: var(--bp-gap, 16px);
}

.bp-stack > * {
	margin: 0;
}

.bp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--bp-gap, 20px);
}

@media (min-width: 640px) {
	.bp-grid--2,
	.bp-grid--3,
	.bp-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.bp-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bp-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.bp-grid--auto {
	grid-template-columns: repeat(auto-fit, minmax(min(var(--bp-grid-min, 260px), 100%), 1fr));
}

/* Page header band (prose pages, blog, 404, default pages). */
.bp-page-head {
	background: var(--bp-soft);
	padding-block: 56px 48px;
}

.bp-page-head__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 760px;
}

.bp-page-head--center .bp-page-head__inner {
	margin-inline: auto;
	align-items: center;
	text-align: center;
}

.bp-page-head--center .bp-pill {
	align-self: center;
}

.bp-page-head--center .bp-btn-row {
	justify-content: center;
}

.bp-page-head__inner .bp-btn-row {
	margin-top: 8px;
}

@media (min-width: 768px) {
	.bp-page-head {
		padding-block: 72px 64px;
	}
}

/* ==========================================================================
 * Typography
 * ======================================================================= */

.bp-h1 {
	font-family: var(--bp-font-head);
	font-weight: 900;
	font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--bp-navy);
}

.bp-h2 {
	font-family: var(--bp-font-head);
	font-weight: 900;
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
	line-height: 1.15;
	color: var(--bp-navy);
}

.bp-h3 {
	font-family: var(--bp-font-head);
	font-weight: 800;
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	line-height: 1.25;
	color: var(--bp-navy);
}

.bp-h4 {
	font-family: var(--bp-font-body);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.35;
	color: var(--bp-ink);
}

.bp-lead {
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	line-height: 1.6;
	color: var(--bp-text);
	max-width: 640px;
}

.bp-text {
	color: var(--bp-text);
}

.bp-muted {
	color: var(--bp-muted);
}

.bp-small {
	font-size: 14px;
}

.bp-accent {
	color: var(--bp-saffron-text);
}

.bp-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-saffron-text);
}

.bp-pill {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-peach);
	color: var(--bp-peach-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.bp-chip {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-chip);
	color: var(--bp-chip-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.bp-updated {
	font-size: 14px;
	color: var(--bp-muted);
}

/* ==========================================================================
 * Buttons and links
 * ======================================================================= */

.bp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--bp-r-12);
	background: var(--bp-white);
	color: var(--bp-navy);
	font-family: var(--bp-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--bp-dur) var(--bp-ease), border-color var(--bp-dur) var(--bp-ease), color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

.bp-btn:hover {
	transform: translateY(-1px);
}

.bp-btn:active {
	transform: translateY(0);
}

.bp-btn svg {
	flex: none;
	width: 18px;
	height: 18px;
}

.bp-btn--primary {
	background: var(--bp-navy);
	border-color: var(--bp-navy);
	color: var(--bp-white);
}

.bp-btn--primary:hover {
	background: var(--bp-navy-dark);
	border-color: var(--bp-navy-dark);
	color: var(--bp-white);
	box-shadow: 0 6px 18px rgba(31, 39, 102, 0.22);
}

.bp-btn--accent {
	background: var(--bp-saffron);
	border-color: var(--bp-saffron);
	color: var(--bp-ink);
}

.bp-btn--accent:hover {
	background: var(--bp-saffron-hover);
	border-color: var(--bp-saffron-hover);
	color: var(--bp-ink);
	box-shadow: 0 6px 18px rgba(255, 122, 0, 0.28);
}

.bp-btn--ghost {
	background: var(--bp-white);
	border-color: var(--bp-border);
	color: var(--bp-navy);
	font-weight: 600;
}

.bp-btn--ghost:hover {
	background: var(--bp-soft);
	border-color: var(--bp-navy);
	color: var(--bp-navy);
}

.bp-btn--on-dark {
	background: transparent;
	border-color: var(--bp-on-navy-border);
	color: var(--bp-white);
	font-weight: 600;
}

.bp-btn--on-dark:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--bp-white);
	color: var(--bp-white);
}

.bp-btn--sm {
	min-height: 44px;
	padding: 10px 16px;
	border-radius: var(--bp-r-10);
	font-size: 15px;
	font-weight: 600;
}

.bp-btn--lg {
	min-height: 56px;
	padding: 16px 24px;
	font-size: 17px;
}

.bp-btn--block {
	display: flex;
	width: 100%;
}

.bp-btn[disabled],
.bp-btn[aria-disabled="true"] {
	opacity: 0.55;
	pointer-events: none;
}

.bp-btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.bp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--bp-navy);
	text-decoration: none;
}

.bp-link-arrow::after {
	content: "\2192";
	content: "\2192" / "";
	display: inline-block;
	transition: transform var(--bp-dur) var(--bp-ease);
}

.bp-link-arrow:hover {
	color: var(--bp-saffron-text);
	text-decoration: underline;
}

.bp-link-arrow:hover::after {
	transform: translateX(3px);
}

.bp-link-arrow--back::after {
	content: none;
}

.bp-link-arrow--back::before {
	content: "\2190";
	content: "\2190" / "";
	display: inline-block;
	transition: transform var(--bp-dur) var(--bp-ease);
}

.bp-link-arrow--back:hover::before {
	transform: translateX(-3px);
}

.bp-link-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	border: 1px solid transparent;
	border-radius: var(--bp-r-14);
	background: var(--bp-white);
	text-decoration: none;
	transition: border-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

.bp-section:not(.bp-section--soft) .bp-link-card {
	border-color: var(--bp-line);
}

.bp-link-card:hover {
	border-color: var(--bp-border);
	box-shadow: var(--bp-shadow-md);
	transform: translateY(-2px);
}

.bp-link-card__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--bp-navy);
}

.bp-link-card__text {
	font-size: 15px;
	color: var(--bp-text);
	overflow-wrap: anywhere;
}

/* ==========================================================================
 * Cards, bands, media
 * ======================================================================= */

.bp-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
}

@media (min-width: 768px) {
	.bp-card {
		padding: 28px;
	}
}

.bp-card--raised {
	border-color: transparent;
	border-radius: var(--bp-r-20);
	box-shadow: var(--bp-shadow);
}

@media (min-width: 768px) {
	.bp-card--raised {
		padding: 32px;
	}
}

.bp-card--soft {
	border-color: transparent;
	background: var(--bp-soft);
}

.bp-section--soft .bp-card {
	border-color: transparent;
}

.bp-card--featured,
.bp-section--soft .bp-card--featured {
	border: 1.5px solid var(--bp-saffron);
}

.bp-card--hover {
	transition: border-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

.bp-card--hover:hover,
.bp-card--hover:focus-within {
	border-color: var(--bp-border);
	box-shadow: var(--bp-shadow-md);
	transform: translateY(-2px);
}

.bp-card > * {
	margin: 0;
}

.bp-card__title {
	font-family: var(--bp-font-head);
	font-weight: 800;
	font-size: 22px;
	line-height: 1.25;
	color: var(--bp-navy);
}

.bp-card__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--bp-text);
}

.bp-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 24px;
	padding: 28px 24px;
	border-radius: var(--bp-r-16);
}

.bp-band__body {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bp-band__body > * {
	margin: 0;
}

.bp-band__title {
	font-family: var(--bp-font-head);
	font-weight: 800;
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.5rem);
	line-height: 1.25;
	color: inherit;
}

.bp-band__text {
	font-size: 16px;
	line-height: 1.6;
}

.bp-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bp-band--navy {
	background: var(--bp-navy);
	color: var(--bp-white);
}

.bp-band--navy .bp-band__text {
	color: var(--bp-on-navy-text);
}

.bp-band--navy a:not(.bp-btn) {
	color: var(--bp-white);
	text-decoration: underline;
}

.bp-band--peach {
	padding: 40px 24px;
	border-radius: var(--bp-r-24);
	background: var(--bp-peach);
	color: var(--bp-ink);
}

.bp-band--peach .bp-band__title {
	font-weight: 900;
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
	color: var(--bp-navy);
}

.bp-band--peach .bp-band__text {
	font-size: 17px;
	color: var(--bp-text);
}

@media (min-width: 768px) {
	.bp-band {
		padding: 28px;
	}

	.bp-band--peach {
		padding: 48px 40px;
	}
}

.bp-shot {
	width: 100%;
	height: auto;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-12);
	background: var(--bp-white);
	box-shadow: var(--bp-shadow-sm);
}

/* ==========================================================================
 * Badges, tiles, steps, lists
 * ======================================================================= */

.bp-badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 5px;
	padding: 3px 9px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-chip);
	color: var(--bp-chip-text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

.bp-badge--live {
	background: var(--bp-ok-bg);
	color: var(--bp-ok);
}

.bp-badge--live::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.bp-badge--soon {
	background: var(--bp-chip);
	color: var(--bp-chip-text);
}

.bp-badge--api,
.bp-badge--custom {
	background: var(--bp-peach);
	color: var(--bp-peach-text);
}

.bp-icon-tile {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--bp-r-12);
	background: var(--bp-chip);
	color: var(--bp-navy);
	font-family: var(--bp-font-head);
	font-weight: 900;
	font-size: 20px;
	line-height: 1;
}

.bp-icon-tile svg {
	width: 22px;
	height: 22px;
}

.bp-icon-tile--peach {
	background: var(--bp-peach);
	color: var(--bp-saffron-text);
}

.bp-icon-tile--white {
	background: var(--bp-white);
	box-shadow: var(--bp-shadow-sm);
}

.bp-icon-tile--lg {
	width: 56px;
	height: 56px;
	border-radius: var(--bp-r-14);
	font-size: 24px;
}

.bp-icon-tile--lg svg {
	width: 26px;
	height: 26px;
}

.bp-step-num {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-saffron);
	color: var(--bp-ink);
	font-family: var(--bp-font-body);
	font-weight: 800;
	font-size: 16px;
	line-height: 1;
}

.bp-check-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-check-list > li {
	position: relative;
	padding-left: 32px;
	color: var(--bp-text);
	line-height: 1.6;
}

.bp-check-list > li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 20px;
	height: 20px;
	background-color: var(--bp-saffron-text);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bp-band--navy .bp-check-list > li {
	color: var(--bp-on-navy-text);
}

.bp-band--navy .bp-check-list > li::before {
	background-color: var(--bp-saffron);
}

.bp-feature {
	display: flex;
	gap: 14px;
	min-width: 0;
}

.bp-feature > svg {
	flex: none;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	color: var(--bp-saffron-text);
}

.bp-feature__title {
	font-family: var(--bp-font-body);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--bp-ink);
}

.bp-feature__text {
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--bp-text);
}

/* ==========================================================================
 * FAQ (native details / summary)
 * ======================================================================= */

.bp-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bp-faq__item {
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-14);
	background: var(--bp-white);
	overflow: hidden;
	transition: border-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease);
}

.bp-faq__item:hover {
	border-color: var(--bp-border);
}

.bp-faq__item[open] {
	border-color: var(--bp-border);
	box-shadow: var(--bp-shadow-sm);
}

.bp-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 16px 20px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--bp-ink);
	cursor: pointer;
	list-style: none;
}

.bp-faq__q::-webkit-details-marker {
	display: none;
}

.bp-faq__q::marker {
	content: "";
}

.bp-faq__q::after {
	content: "+";
	content: "+" / "";
	flex: none;
	width: 24px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	color: var(--bp-saffron-text);
}

.bp-faq__item[open] > .bp-faq__q::after {
	content: "\2212";
	content: "\2212" / "";
}

.bp-faq__q:hover {
	color: var(--bp-navy);
}

.bp-faq__q:focus-visible {
	outline-offset: -3px;
	border-radius: var(--bp-r-14);
}

.bp-faq__a {
	padding: 0 20px 18px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--bp-text);
}

.bp-faq__a > * + * {
	margin-top: 10px;
}

.bp-faq__a a {
	text-decoration: underline;
}

/* ==========================================================================
 * Forms
 * ======================================================================= */

.bp-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.bp-field-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 16px;
}

.bp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bp-field--wide {
	grid-column: 1 / -1;
}

.bp-label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--bp-ink);
}

.bp-req {
	margin-left: 2px;
	color: var(--bp-err);
}

.bp-input,
.bp-select,
.bp-textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--bp-input);
	border-radius: var(--bp-r-10);
	background: var(--bp-white);
	color: var(--bp-ink);
	font-family: var(--bp-font-body);
	font-size: 16px;
	line-height: 1.4;
	transition: border-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease);
}

.bp-textarea {
	min-height: 120px;
	padding: 12px 14px;
	resize: vertical;
}

.bp-select {
	padding-right: 40px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2766' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
}

.bp-input::placeholder,
.bp-textarea::placeholder {
	color: #767990;
	opacity: 1;
}

.bp-input:hover,
.bp-select:hover,
.bp-textarea:hover {
	border-color: #A9ADC6;
}

.bp-input:focus,
.bp-select:focus,
.bp-textarea:focus {
	border-color: var(--bp-navy);
}

.bp-input:focus-visible,
.bp-select:focus-visible,
.bp-textarea:focus-visible {
	outline: 3px solid var(--bp-focus);
	outline-offset: 1px;
	border-radius: var(--bp-r-10);
}

.bp-input[aria-invalid="true"],
.bp-select[aria-invalid="true"],
.bp-textarea[aria-invalid="true"] {
	border-color: var(--bp-err);
}

.bp-input:disabled,
.bp-select:disabled,
.bp-textarea:disabled {
	background: var(--bp-soft);
	color: var(--bp-muted);
	cursor: not-allowed;
}

.bp-hint {
	font-size: 13px;
	line-height: 1.5;
	color: var(--bp-muted);
}

.bp-field-error {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--bp-err);
}

.bp-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bp-legend {
	padding: 0;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bp-ink);
}

.bp-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 44px;
	padding: 10px 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--bp-ink);
	cursor: pointer;
}

.bp-check input[type="checkbox"],
.bp-check input[type="radio"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--bp-navy);
	cursor: pointer;
}

.bp-notice {
	padding: 14px 16px;
	border-radius: var(--bp-r-12);
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.bp-notice > * + * {
	margin-top: 6px;
}

.bp-notice--ok {
	background: var(--bp-ok-bg);
	color: var(--bp-ok);
}

.bp-notice--err {
	background: var(--bp-err-bg);
	border-color: #F3C7C3;
	color: var(--bp-err);
}

.bp-notice--info {
	background: var(--bp-peach);
	color: var(--bp-peach-text);
}

.bp-notice a {
	color: inherit;
	text-decoration: underline;
}

.bp-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Conditional fields (main.js data-show-when) and generic hide. */
.is-hidden {
	display: none !important;
}

/* ==========================================================================
 * Tables
 * ======================================================================= */

.bp-table-wrap {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-12);
}

.bp-table,
.bp-prose table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--bp-text);
}

.bp-table th,
.bp-table td,
.bp-prose th,
.bp-prose td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--bp-line);
}

.bp-table th,
.bp-prose th {
	background: var(--bp-soft);
	color: var(--bp-navy);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.bp-table tbody tr:last-child > *,
.bp-prose tbody tr:last-child > * {
	border-bottom: 0;
}

.bp-table tbody tr,
.bp-prose tbody tr {
	transition: background-color var(--bp-dur) var(--bp-ease);
}

.bp-table tbody tr:hover,
.bp-prose tbody tr:hover {
	background: #FAFAFD;
}

/* ==========================================================================
 * Header
 * ======================================================================= */

.bp-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bp-white);
	border-bottom: 1px solid var(--bp-line);
	transition: box-shadow var(--bp-dur) var(--bp-ease);
}

.admin-bar .bp-header {
	top: 46px;
}

@media (min-width: 783px) {
	.admin-bar .bp-header {
		top: 32px;
	}
}

@media (max-width: 600px) {
	.admin-bar .bp-header {
		top: 0;
	}
}

.bp-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(31, 39, 102, 0.08);
}

.bp-header__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	min-height: 68px;
	padding-block: 12px;
}

.bp-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.bp-header__logo {
	display: flex;
	align-items: center;
	flex: none;
	border-radius: 6px;
}

.bp-header__logo img {
	width: auto;
	height: 32px;
}

.bp-header__powered {
	display: none;
	padding-left: 12px;
	border-left: 1px solid var(--bp-line);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--bp-muted);
	white-space: nowrap;
}

.bp-header__powered span {
	display: block;
	font-weight: 700;
	color: var(--bp-text);
}

@media (min-width: 480px) {
	.bp-header__logo img {
		height: 36px;
	}

	.bp-header__powered {
		display: block;
	}
}

.bp-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid var(--bp-border);
	border-radius: var(--bp-r-10);
	background: var(--bp-white);
	color: var(--bp-navy);
	transition: background-color var(--bp-dur) var(--bp-ease), border-color var(--bp-dur) var(--bp-ease);
}

.bp-header__toggle:hover {
	background: var(--bp-soft);
	border-color: var(--bp-navy);
}

.bp-header__bars {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

.bp-header__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform var(--bp-dur) var(--bp-ease), opacity var(--bp-dur) var(--bp-ease), top var(--bp-dur) var(--bp-ease);
}

.bp-header__bars span:nth-child(1) {
	top: 0;
}

.bp-header__bars span:nth-child(2) {
	top: 6px;
}

.bp-header__bars span:nth-child(3) {
	top: 12px;
}

.bp-header.is-open .bp-header__bars span:nth-child(1) {
	top: 6px;
	transform: rotate(45deg);
}

.bp-header.is-open .bp-header__bars span:nth-child(2) {
	opacity: 0;
}

.bp-header.is-open .bp-header__bars span:nth-child(3) {
	top: 6px;
	transform: rotate(-45deg);
}

.bp-header__panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.bp-header__menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-header__link {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--bp-navy);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color var(--bp-dur) var(--bp-ease), color var(--bp-dur) var(--bp-ease);
}

.bp-header__link:hover {
	background: var(--bp-soft);
	color: var(--bp-navy);
}

.bp-header__link.is-active,
.bp-header__link[aria-current="page"] {
	background: var(--bp-peach);
	color: var(--bp-peach-text);
	font-weight: 700;
}

.bp-header__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bp-header__actions .bp-btn {
	flex: 1 1 160px;
}

.bp-header__actions .bp-btn[aria-current="page"] {
	border-color: var(--bp-navy);
}

.bp-header__panel-note {
	margin: 0;
	font-size: 13px;
	color: var(--bp-muted);
}

@media (min-width: 480px) {
	.bp-header__panel-note {
		display: none;
	}
}

/* Mobile: with JS the panel becomes a full-width drop-down menu. */
@media (max-width: 1199.98px) {
	html:not(.bp-js) .bp-header {
		position: relative;
	}

	.bp-js .bp-header__toggle {
		display: inline-flex;
	}

	.bp-js .bp-header__panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--bp-header-h));
		max-height: calc(100dvh - var(--bp-header-h));
		overflow-y: auto;
		padding: 12px var(--bp-gutter) 24px;
		border-bottom: 1px solid var(--bp-line);
		background: var(--bp-white);
		box-shadow: 0 18px 40px rgba(31, 39, 102, 0.12);
	}

	.bp-js .bp-header.is-open .bp-header__panel {
		display: flex;
		animation: bp-drop 200ms var(--bp-ease);
	}

	.bp-header__actions {
		padding-top: 12px;
		border-top: 1px solid var(--bp-line);
	}
}

@keyframes bp-drop {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Desktop: inline navigation. */
@media (min-width: 1200px) {
	.bp-header__inner {
		flex-wrap: nowrap;
	}

	.bp-header__panel {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		width: auto;
		flex: 1 1 auto;
	}

	.bp-header__nav {
		margin-inline: auto;
	}

	.bp-header__menu {
		flex-direction: row;
		align-items: center;
		gap: 4px;
	}

	.bp-header__link {
		min-height: 44px;
		padding: 10px 12px;
		font-size: 15px;
	}

	.bp-header__actions {
		flex-wrap: nowrap;
	}

	.bp-header__actions .bp-btn {
		flex: none;
	}
}

/* ==========================================================================
 * Footer
 * ======================================================================= */

.bp-footer {
	background: var(--bp-footer);
	color: var(--bp-footer-text);
	font-size: 15px;
}

.bp-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-block: 56px 32px;
}

.bp-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

@media (min-width: 1024px) {
	.bp-footer__top {
		grid-template-columns: minmax(240px, 1.1fr) minmax(0, 3fr);
		gap: 56px;
	}
}

.bp-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 360px;
}

.bp-footer__logo {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 10px;
	text-decoration: none;
	border-radius: 6px;
}

.bp-footer__logo img {
	width: 36px;
	height: 36px;
	border-radius: 9px;
}

.bp-footer__wordmark {
	font-family: var(--bp-font-head);
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
	color: var(--bp-white);
}

.bp-footer__wordmark span {
	color: #FF9A3D;
}

.bp-footer__about {
	line-height: 1.6;
}

.bp-footer__powered {
	display: inline-flex;
	align-self: flex-start;
	padding: 4px 10px;
	border: 1px solid var(--bp-footer-rule);
	border-radius: var(--bp-r-pill);
	font-size: 13px;
	font-weight: 600;
	color: var(--bp-footer-text);
}

.bp-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
}

.bp-footer__col--contact {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.bp-footer__cols {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.5fr);
	}

	.bp-footer__col--contact {
		grid-column: auto;
	}
}

.bp-footer__heading {
	margin: 0 0 12px;
	font-family: var(--bp-font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--bp-white);
}

.bp-footer__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-footer__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	color: var(--bp-footer-text);
	text-decoration: none;
	overflow-wrap: break-word;
	transition: color var(--bp-dur) var(--bp-ease);
}

.bp-footer__list a:hover {
	color: var(--bp-white);
	text-decoration: underline;
}

.bp-footer__list svg {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--bp-footer-muted);
}

.bp-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 24px;
	border-top: 1px solid var(--bp-footer-rule);
	font-size: 13px;
	line-height: 1.6;
	color: var(--bp-footer-muted);
}

.bp-footer a:focus-visible {
	outline-color: var(--bp-focus);
}

/* ==========================================================================
 * Previous / next pager (docs and posts)
 * ======================================================================= */

.bp-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--bp-line);
}

.bp-pager__link {
	display: flex;
	flex: 1 1 220px;
	flex-direction: column;
	gap: 2px;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	border: 1.5px solid var(--bp-border);
	border-radius: var(--bp-r-12);
	background: var(--bp-white);
	color: var(--bp-navy);
	text-decoration: none;
	transition: border-color var(--bp-dur) var(--bp-ease), background-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

@media (min-width: 640px) {
	.bp-pager__link {
		flex: 0 1 auto;
		min-width: 220px;
	}
}

.bp-pager__link:hover {
	border-color: var(--bp-navy);
	color: var(--bp-navy);
	transform: translateY(-1px);
}

.bp-pager__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--bp-muted);
}

.bp-pager__title {
	font-size: 16px;
	font-weight: 700;
}

.bp-pager__link--next {
	margin-left: auto;
	text-align: right;
	background: var(--bp-navy);
	border-color: var(--bp-navy);
	color: var(--bp-white);
}

.bp-pager__link--next .bp-pager__label {
	color: var(--bp-on-navy-text);
}

.bp-pager__link--next:hover {
	background: var(--bp-navy-dark);
	border-color: var(--bp-navy-dark);
	color: var(--bp-white);
	box-shadow: 0 6px 18px rgba(31, 39, 102, 0.22);
}

/* ==========================================================================
 * Prose: plain HTML from content partials and post content
 * ======================================================================= */

.bp-prose {
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--bp-text);
	overflow-wrap: break-word;
}

.bp-prose > div + div {
	margin-top: 8px;
}

.bp-prose h2 {
	margin: 44px 0 14px;
	font-family: var(--bp-font-head);
	font-weight: 800;
	font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.625rem);
	line-height: 1.25;
	color: var(--bp-navy);
	scroll-margin-top: calc(var(--bp-header-h) + 20px);
}

.bp-prose h3 {
	margin: 30px 0 10px;
	font-family: var(--bp-font-body);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.35;
	color: var(--bp-ink);
	scroll-margin-top: calc(var(--bp-header-h) + 20px);
}

.bp-prose h4 {
	margin: 24px 0 8px;
	font-family: var(--bp-font-body);
	font-weight: 700;
	font-size: 17px;
	color: var(--bp-ink);
}

.bp-prose > :first-child,
.bp-prose > div:first-child > :first-child,
.bp-prose > div:first-child > section:first-child > h2:first-child {
	margin-top: 0;
}

.bp-prose p {
	margin: 0 0 16px;
}

.bp-prose strong {
	font-weight: 700;
	color: var(--bp-ink);
}

.bp-prose em {
	font-style: italic;
}

.bp-prose a {
	color: var(--bp-navy);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(31, 39, 102, 0.35);
	text-underline-offset: 3px;
}

.bp-prose a:hover {
	color: var(--bp-saffron-text);
	text-decoration-color: currentColor;
}

/* Lists */
.bp-prose ul,
.bp-prose ol {
	margin: 0 0 18px;
	padding-left: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bp-prose li > ul,
.bp-prose li > ol {
	margin: 8px 0 0;
}

.bp-prose ul > li::marker {
	color: var(--bp-saffron-text);
}

.bp-prose ol {
	padding-left: 0;
	list-style: none;
	counter-reset: bp-ol;
}

.bp-prose ol > li {
	position: relative;
	padding-left: 40px;
	counter-increment: bp-ol;
}

.bp-prose ol > li::before {
	content: counter(bp-ol);
	position: absolute;
	top: 1px;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: var(--bp-r-pill);
	background: var(--bp-peach);
	color: var(--bp-peach-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
}

/* Inline code and code blocks */
.bp-prose code,
.bp-prose kbd {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--bp-chip);
	color: var(--bp-ink);
	font-family: var(--bp-font-mono);
	font-size: 0.88em;
	white-space: nowrap;
}

.bp-prose pre {
	margin: 0 0 20px;
	padding: 20px;
	border-radius: var(--bp-r-12);
	background: var(--bp-footer);
	color: #E4E6F5;
	font-family: var(--bp-font-mono);
	font-size: 14px;
	line-height: 1.7;
	overflow-x: auto;
}

.bp-prose pre code {
	padding: 0;
	background: none;
	color: inherit;
	font-size: inherit;
	white-space: pre;
}

/* Quotes and rules */
.bp-prose blockquote {
	margin: 0 0 20px;
	padding: 16px 20px;
	border-left: 4px solid var(--bp-saffron);
	border-radius: 0 var(--bp-r-12) var(--bp-r-12) 0;
	background: var(--bp-soft);
	color: var(--bp-ink);
}

.bp-prose blockquote > :last-child {
	margin-bottom: 0;
}

.bp-prose hr {
	margin: 36px 0;
}

/* Callout: a class-less <div> nested inside the partial's top-level <div>. */
.bp-prose > div:not([class]) > div:not([class]) {
	margin: 24px 0;
	padding: 16px 20px 16px 52px;
	position: relative;
	border: 1px solid #FFDDBA;
	border-radius: var(--bp-r-14);
	background: var(--bp-peach);
	color: var(--bp-ink);
}

.bp-prose > div:not([class]) > div:not([class])::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 18px;
	width: 22px;
	height: 22px;
	background-color: var(--bp-saffron-text);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 7.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 7.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bp-prose > div:not([class]) > div:not([class]):first-child {
	margin-top: 0;
}

.bp-prose > div:not([class]) > div:not([class]) > :last-child {
	margin-bottom: 0;
}

/* Figures, screenshots and video */
.bp-prose figure {
	margin: 24px 0 28px;
}

.bp-prose figure > a,
.bp-prose a[data-lightbox] {
	display: block;
	border-radius: var(--bp-r-12);
	text-decoration: none;
	cursor: zoom-in;
}

.bp-prose img,
.bp-prose video {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-12);
	background: var(--bp-white);
	box-shadow: var(--bp-shadow-sm);
}

.bp-prose video {
	width: 100%;
	margin: 0 0 24px;
	background: var(--bp-soft);
}

.bp-prose p > img {
	margin: 8px 0;
}

.bp-prose figure > a img,
.bp-prose a[data-lightbox] img {
	width: 100%;
	transition: box-shadow var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

.bp-prose figure > a:hover img,
.bp-prose a[data-lightbox]:hover img {
	box-shadow: var(--bp-shadow-md);
	transform: translateY(-2px);
}

.bp-prose figcaption,
.bp-prose .wp-caption-text,
.bp-prose .wp-element-caption {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bp-muted);
}

/* Tables (shared rules with .bp-table above) */
.bp-prose table {
	margin: 0 0 24px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-12);
	overflow: hidden;
}

.bp-prose table p {
	margin: 0;
}

@media (max-width: 639.98px) {
	.bp-prose table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.bp-prose th,
	.bp-prose td {
		min-width: 140px;
	}
}

/* Docs overview: <section aria-labelledby> with a list of link cards. */
.bp-prose section {
	scroll-margin-top: calc(var(--bp-header-h) + 20px);
}

.bp-prose section > ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
	gap: 12px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.bp-prose section > ul > li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-14);
	background: var(--bp-white);
	transition: border-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

.bp-prose section > ul > li::marker {
	content: "";
}

.bp-prose section > ul > li:hover,
.bp-prose section > ul > li:focus-within {
	border-color: var(--bp-border);
	box-shadow: var(--bp-shadow-md);
	transform: translateY(-2px);
}

.bp-prose section > ul > li > a {
	font-weight: 700;
	color: var(--bp-navy);
	text-decoration: none;
}

.bp-prose section > ul > li > a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--bp-r-14);
}

.bp-prose section > ul > li > span {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--bp-text);
}

/* The partial's own previous / next nav (docs layout renders .bp-pager instead). */
.bp-prose nav[aria-label="Previous and next page"] {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 40px;
}

.bp-prose nav[aria-label="Previous and next page"] a {
	display: flex;
	flex-direction: column;
	padding: 12px 18px;
	border: 1.5px solid var(--bp-border);
	border-radius: var(--bp-r-12);
	text-decoration: none;
}

.bp-prose nav[aria-label="Previous and next page"] a[rel="next"] {
	margin-left: auto;
	text-align: right;
}

.bp-prose nav[aria-label="Previous and next page"] a span {
	font-size: 13px;
	font-weight: 600;
	color: var(--bp-muted);
}

.bp-docs .bp-prose nav[aria-label="Previous and next page"] {
	display: none;
}

/* WordPress block / classic editor output (blog posts, default pages). */
.bp-prose .alignleft {
	float: left;
	margin: 4px 24px 16px 0;
}

.bp-prose .alignright {
	float: right;
	margin: 4px 0 16px 24px;
}

.bp-prose .aligncenter {
	margin-inline: auto;
}

.bp-prose .wp-block-image,
.bp-prose .wp-caption {
	max-width: 100%;
	margin: 24px 0 28px;
}

.bp-prose .wp-block-table {
	margin: 0 0 24px;
	overflow-x: auto;
}

.bp-prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: var(--bp-r-12);
	background: var(--bp-navy);
	color: var(--bp-white);
	font-weight: 700;
	text-decoration: none;
}

.bp-prose .wp-block-button__link:hover {
	background: var(--bp-navy-dark);
	color: var(--bp-white);
}

.bp-prose::after {
	content: "";
	display: table;
	clear: both;
}

/* ==========================================================================
 * Docs layout
 * ======================================================================= */

.bp-docs__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding-block: 24px var(--bp-section-y);
	align-items: start;
}

.bp-docs__side {
	min-width: 0;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-14);
	background: var(--bp-soft);
}

.bp-docs__side-toggle {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 0;
	border-radius: var(--bp-r-14);
	background: transparent;
	color: var(--bp-navy);
	font-size: 15px;
	font-weight: 700;
	text-align: left;
}

.bp-docs__side-toggle svg {
	flex: none;
	width: 20px;
	height: 20px;
	transition: transform var(--bp-dur) var(--bp-ease);
}

.bp-docs__side.is-open .bp-docs__side-toggle svg {
	transform: rotate(180deg);
}

.bp-docs__side-current {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--bp-muted);
}

.bp-docs__nav {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 16px 12px;
}

.bp-js .bp-docs__side-toggle {
	display: flex;
}

.bp-js .bp-docs__side:not(.is-open) .bp-docs__nav {
	display: none;
}

.bp-js .bp-docs__side.is-open .bp-docs__nav {
	padding-top: 4px;
}

.bp-docs__group {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bp-docs__group-title {
	margin: 0 0 6px;
	padding-inline: 12px;
	font-family: var(--bp-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-muted);
}

.bp-docs__group ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-docs__link {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--bp-navy);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color var(--bp-dur) var(--bp-ease), color var(--bp-dur) var(--bp-ease);
}

.bp-docs__link:hover {
	background: var(--bp-chip);
	color: var(--bp-navy);
}

.bp-docs__link[aria-current="page"] {
	background: var(--bp-peach);
	color: var(--bp-peach-text);
	font-weight: 700;
}

.bp-docs__article {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.bp-docs__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--bp-line);
}

.bp-docs__crumb {
	margin: 0;
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-docs__crumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-docs__crumb li + li::before {
	content: "/";
	content: "/" / "";
	margin-right: 6px;
	color: #9A9DB2;
}

.bp-docs__crumb a {
	color: var(--bp-muted);
	text-decoration: none;
}

.bp-docs__crumb a:hover {
	color: var(--bp-saffron-text);
	text-decoration: underline;
}

.bp-docs__title {
	font-family: var(--bp-font-head);
	font-weight: 900;
	font-size: clamp(2rem, 1.5rem + 2vw, 2.625rem);
	line-height: 1.12;
	color: var(--bp-navy);
}

.bp-docs__lead {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--bp-text);
}

.bp-docs__help {
	margin: 0;
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-docs__help a {
	font-weight: 600;
}

.bp-docs__toc {
	display: none;
}

.bp-docs__toc-title {
	margin: 0 0 10px;
	font-family: var(--bp-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-muted);
}

.bp-docs__toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 2px solid var(--bp-line);
}

.bp-docs__toc-link {
	display: block;
	margin-left: -2px;
	padding: 6px 0 6px 14px;
	border-left: 2px solid transparent;
	color: var(--bp-text);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: color var(--bp-dur) var(--bp-ease), border-color var(--bp-dur) var(--bp-ease);
}

.bp-docs__toc-link:hover {
	color: var(--bp-navy);
	border-left-color: var(--bp-border);
}

.bp-docs__toc-link.is-active {
	color: var(--bp-peach-text);
	border-left-color: var(--bp-saffron);
	font-weight: 600;
}

@media (min-width: 900px) {
	.bp-docs__grid {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 40px;
		padding-top: 32px;
	}

	.bp-docs__side,
	.bp-js .bp-docs__side {
		position: sticky;
		top: calc(var(--bp-header-h) + 20px);
		max-height: calc(100vh - var(--bp-header-h) - 40px);
		overflow-y: auto;
		scrollbar-width: thin;
		scrollbar-color: var(--bp-border) transparent;
		border: 0;
		background: transparent;
	}

	.bp-js .bp-docs__side-toggle {
		display: none;
	}

	.bp-js .bp-docs__side:not(.is-open) .bp-docs__nav,
	.bp-docs__nav {
		display: flex;
		padding: 0;
	}

	.bp-docs__group-title {
		padding-inline: 12px;
	}
}

@media (min-width: 1200px) {
	.bp-docs__grid {
		grid-template-columns: 240px minmax(0, 1fr) 200px;
		gap: 48px;
	}

	.bp-docs__toc {
		display: block;
		position: sticky;
		top: calc(var(--bp-header-h) + 20px);
		max-height: calc(100vh - var(--bp-header-h) - 40px);
		overflow-y: auto;
	}
}

/* ==========================================================================
 * Prose page layout, default pages
 * ======================================================================= */

.bp-page-body {
	padding-block: 48px var(--bp-section-y);
}

.bp-page-body .bp-band,
.bp-page-body .bp-pager {
	margin-top: 48px;
}

.bp-page-body .bp-pager + .bp-band {
	margin-top: 32px;
}

/* ==========================================================================
 * Blog
 * ======================================================================= */

.bp-post-card {
	min-width: 0;
}

.bp-post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
	color: inherit;
	text-decoration: none;
	transition: border-color var(--bp-dur) var(--bp-ease), box-shadow var(--bp-dur) var(--bp-ease), transform var(--bp-dur) var(--bp-ease);
}

.bp-post-card__link:hover {
	border-color: var(--bp-border);
	box-shadow: var(--bp-shadow-md);
	transform: translateY(-3px);
	color: inherit;
}

.bp-post-card__link:focus-visible {
	border-radius: var(--bp-r-16);
}

.bp-post-card__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0;
	overflow: hidden;
	background: var(--bp-soft);
	border-bottom: 1px solid var(--bp-line);
}

.bp-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms var(--bp-ease);
}

.bp-post-card__link:hover .bp-post-card__thumb img {
	transform: scale(1.03);
}

.bp-post-card__thumb.is-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--bp-soft) 0%, var(--bp-peach) 100%);
}

.bp-post-card__thumb.is-placeholder img {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	box-shadow: var(--bp-shadow-md);
	object-fit: contain;
}

.bp-post-card__link:hover .bp-post-card__thumb.is-placeholder img {
	transform: scale(1.06);
}

.bp-post-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px;
}

.bp-post-card__title {
	font-family: var(--bp-font-head);
	font-weight: 800;
	font-size: 20px;
	line-height: 1.3;
	color: var(--bp-navy);
}

.bp-post-card__meta {
	font-size: 13px;
	color: var(--bp-muted);
}

.bp-post-card__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--bp-text);
}

.bp-post-card__more {
	margin-top: auto;
	padding-top: 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--bp-navy);
}

.bp-post-card__more::after {
	content: " \2192";
	content: " \2192" / "";
}

.bp-post-card__link:hover .bp-post-card__more {
	color: var(--bp-saffron-text);
}

.bp-post-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-post-hero {
	margin: 0 0 32px;
}

.bp-post-hero img {
	width: 100%;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-16);
}

.bp-pagination {
	margin-top: 40px;
}

.bp-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.bp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1.5px solid var(--bp-border);
	border-radius: var(--bp-r-10);
	background: var(--bp-white);
	color: var(--bp-navy);
	font-weight: 600;
	text-decoration: none;
	transition: border-color var(--bp-dur) var(--bp-ease), background-color var(--bp-dur) var(--bp-ease);
}

.bp-pagination a.page-numbers:hover {
	border-color: var(--bp-navy);
	background: var(--bp-soft);
}

.bp-pagination .page-numbers.current {
	border-color: var(--bp-navy);
	background: var(--bp-navy);
	color: var(--bp-white);
}

.bp-pagination .page-numbers.dots {
	border-color: transparent;
}

.bp-empty {
	padding: 32px;
	border-radius: var(--bp-r-16);
	background: var(--bp-soft);
	color: var(--bp-text);
	text-align: center;
}

/* ==========================================================================
 * Lightbox (screenshots in docs; opened by main.js)
 * ======================================================================= */

.bp-lightbox {
	width: auto;
	max-width: min(1400px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
	box-shadow: 0 24px 80px rgba(20, 24, 56, 0.4);
	overflow: hidden;
}

.bp-lightbox::backdrop {
	background: rgba(20, 24, 56, 0.78);
}

.bp-lightbox[open] {
	animation: bp-zoom 200ms var(--bp-ease);
}

.bp-lightbox__img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 96px);
	margin: 0 auto;
}

.bp-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 8px 8px 16px;
	border-top: 1px solid var(--bp-line);
	font-size: 14px;
	color: var(--bp-muted);
}

.bp-lightbox__close {
	flex: none;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--bp-border);
	border-radius: var(--bp-r-10);
	background: var(--bp-white);
	color: var(--bp-navy);
	font-weight: 600;
}

.bp-lightbox__close:hover {
	border-color: var(--bp-navy);
	background: var(--bp-soft);
}

@keyframes bp-zoom {
	from {
		opacity: 0;
		transform: scale(0.97);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* ==========================================================================
 * Blog post sidebar (single.php)
 *   .bp-post-layout (+ __main)    article column + sidebar grid
 *   .bp-post-side (+ __rail __sticky __card __toc __cta __recent __eyebrow __title __text)
 *   On wide screens __rail fills the sidebar above the recent posts, so the
 *   sticky contents + CTA block stops before it and never covers it.
 * ======================================================================= */

.bp-post-layout {
	display: grid;
	gap: 40px;
}

.bp-post-layout__main {
	min-width: 0;
	max-width: 760px;
}

.bp-post-side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bp-post-side__sticky {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bp-post-side__card {
	padding: 22px;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-r-16);
	background: var(--bp-white);
}

/* Phones and tablets: the article already has its contents box and a CTA band. */
.bp-post-side__rail {
	display: none;
}

.bp-post-side__toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 2px solid var(--bp-line);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--bp-border) transparent;
}

.bp-post-side__toc .bp-docs__toc-link {
	padding-block: 5px;
	font-size: 13.5px;
}

.bp-post-side__cta {
	background: var(--bp-soft);
	border-color: var(--bp-soft);
}

.bp-post-side__cta .bp-btn {
	margin-top: 16px;
}

.bp-post-side__cta .bp-link-arrow {
	display: inline-flex;
	margin-top: 12px;
	font-size: 15px;
}

.bp-post-side__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-saffron-text);
}

.bp-post-side__title {
	margin: 0;
	font-family: var(--bp-font-head);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--bp-navy);
}

.bp-post-side__text {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bp-text);
}

.bp-post-side__recent ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.bp-post-side__recent li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bp-post-side__recent li a {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--bp-ink);
	text-decoration: none;
	transition: color var(--bp-dur) var(--bp-ease);
}

.bp-post-side__recent li a:hover {
	color: var(--bp-saffron-text);
	text-decoration: underline;
}

.bp-post-side__recent li span {
	font-size: 13px;
	color: var(--bp-muted);
}

.bp-post-side__recent .bp-link-arrow {
	font-size: 15px;
}

@media (min-width: 1024px) {
	.bp-post-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 56px;
	}

	.bp-post-side__sticky {
		position: sticky;
		top: calc(var(--bp-header-h) + 20px);
	}


	.bp-post-side__rail {
		display: block;
		flex: 1 0 auto;
	}

	.bp-post-side__toc ul {
		max-height: max(180px, calc(100vh - var(--bp-header-h) - 450px));
	}

	/* The sidebar lists the same headings, so hide the post's own contents box. */
	.bp-post--has-toc .bp-prose .article-toc {
		display: none;
	}
}

/* Short screens: let the sidebar scroll with the page instead of sticking. */
@media (min-width: 1024px) and (max-height: 760px) {
	.bp-post-side__sticky {
		position: static;
	}
}
