/*
 * Built by RacerPacer. Light theme from brand/dist/tokens.json (color.theme.*),
 * Epunda fonts, regular-weight headings. Same foundation as the clubs theme.
 */

@font-face {
	font-family: "Epunda Slab";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/EpundaSlab-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Epunda Slab";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/EpundaSlab-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Epunda Sans";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/EpundaSans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Epunda Sans";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/EpundaSans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--rp-ground: #faf5f3;
	--rp-raised: #ffffff;
	--rp-chip: #f3e7e3;
	--rp-ink: #2c1b18;
	--rp-ink-soft: #5c443e;
	--rp-muted: #7a625b;
	--rp-rule: #e6d8d3;
	--rp-edge: #ac8981;
	--rp-accent: #c93f18;
	--rp-fill: #ff5630;
	--rp-on-fill: #3d0600;
	--rp-dark: #1e0f0c;
	--rp-dark-text: #fadcd5;
	--font-display: "Epunda Slab", "Epunda Sans", Georgia, serif;
	--font-sans: "Epunda Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--rp-ground);
	color: var(--rp-ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--rp-ink);
	text-wrap: balance;
}

a {
	color: var(--rp-accent);
	text-underline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--rp-accent);
	outline-offset: 2px;
}

.bb-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 100;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--rp-ink);
	color: var(--rp-ground);
}
.bb-skip:focus {
	left: 16px;
}

/* ---- Layout ---- */
.bb-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}
@media (min-width: 900px) {
	.bb-container { padding: 0 40px; }
}
.bb-narrow {
	max-width: 800px;
}
@media (min-width: 900px) {
	.bb-narrow.bb-container { max-width: 880px; }
}
.bb-main {
	min-height: 60vh;
}
.bb-page {
	padding-top: 40px;
	padding-bottom: 64px;
}
.bb-section {
	padding-top: 24px;
	padding-bottom: 48px;
}
.bb-section-title {
	margin: 0 0 20px;
	font-size: 30px;
}

/* ---- Header ---- */
.bb-header {
	background: var(--rp-ground);
	border-bottom: 1px solid var(--rp-rule);
}
.bb-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	min-height: 64px;
	padding-top: 8px;
	padding-bottom: 8px;
}
.bb-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.bb-brand img {
	display: block;
	width: 149px;
	height: auto;
}
.bb-brand-tag {
	padding: 3px 10px;
	border-radius: 8px;
	background: var(--rp-chip);
	color: var(--rp-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.bb-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-nav a {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--rp-ink-soft);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.bb-nav a:hover,
.bb-nav a[aria-current="page"],
.bb-nav .current-menu-item > a {
	background: var(--rp-chip);
	color: var(--rp-ink);
}

/* ---- Buttons ---- */
.bb-btn,
.bb-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
}
.bb-btn-primary,
.bb-content .wp-block-button__link {
	background: var(--rp-fill);
	color: var(--rp-on-fill);
}
.bb-btn-primary:hover,
.bb-content .wp-block-button__link:hover {
	background: var(--rp-accent);
	color: var(--rp-raised);
}
.bb-btn-secondary {
	background: var(--rp-raised);
	color: var(--rp-ink);
	box-shadow: inset 0 0 0 1px var(--rp-edge);
}
.bb-btn-secondary:hover {
	background: var(--rp-chip);
}
.bb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 20px;
}

/* ---- Page and post text ---- */
.bb-page-title {
	margin: 0 0 12px;
	font-size: clamp(32px, 6vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.bb-lede {
	margin: 0 0 28px;
	color: var(--rp-ink-soft);
	font-size: 20px;
	line-height: 1.5;
}
.bb-meta {
	margin: 0 0 8px;
	color: var(--rp-muted);
	font-size: 14px;
}
.bb-content h2 {
	margin: 40px 0 12px;
	font-size: 28px;
}
.bb-content h3 {
	margin: 28px 0 8px;
	font-size: 21px;
}
.bb-content p,
.bb-content ul,
.bb-content ol {
	margin: 0 0 18px;
}
.bb-content li {
	margin-bottom: 6px;
}
.bb-content ul.bb-checklist {
	padding: 0;
	list-style: none;
}
.bb-content ul.bb-checklist li {
	position: relative;
	padding-left: 34px;
}
.bb-content ul.bb-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border: 2px solid var(--rp-edge);
	border-radius: 5px;
	background: var(--rp-raised);
}
.bb-content code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--rp-chip);
	font-size: 0.9em;
}
.bb-content pre {
	overflow-x: auto;
	padding: 16px;
	border-radius: 12px;
	background: var(--rp-dark);
	color: var(--rp-dark-text);
	font-size: 14px;
}
.bb-content pre code {
	padding: 0;
	background: none;
}
.bb-content blockquote {
	margin: 0 0 18px;
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--rp-fill);
	color: var(--rp-ink-soft);
}
.bb-content table {
	width: 100%;
	margin: 0 0 18px;
	border-collapse: collapse;
	font-size: 15px;
}
.bb-content th,
.bb-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--rp-rule);
	text-align: left;
	vertical-align: top;
}
.bb-content th {
	color: var(--rp-ink);
	font-weight: 600;
}
.bb-table-scroll {
	overflow-x: auto;
}
.bb-note {
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--rp-chip);
}
.bb-tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--rp-chip);
	color: var(--rp-ink);
	font-size: 14px;
	text-decoration: none;
}

/* ---- Home ---- */
.bb-hero {
	padding: 48px 0 40px;
}
@media (min-width: 960px) {
	.bb-hero { padding: 80px 0 56px; }
}
.bb-eyebrow {
	margin: 0 0 12px;
	color: var(--rp-accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.bb-hero-title {
	max-width: 17ch;
	margin: 0 0 18px;
	font-size: clamp(38px, 7vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.033em;
}
.bb-hero .bb-lede {
	max-width: 60ch;
}
.bb-kits {
	display: grid;
	gap: 20px;
	padding-bottom: 32px;
}
@media (min-width: 800px) {
	.bb-kits { grid-template-columns: 1fr 1fr; }
}
.bb-kit {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--rp-rule);
	border-radius: 20px;
	background: var(--rp-raised);
}
.bb-kit h2 {
	margin: 0 0 8px;
	font-size: 28px;
}
.bb-kit p {
	margin: 0 0 14px;
}
.bb-kit .bb-meta {
	margin-top: auto;
	padding-top: 8px;
}

/* ---- Post lists ---- */
.bb-cards {
	display: grid;
	gap: 16px;
	margin: 0 0 24px;
}
@media (min-width: 900px) {
	.bb-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.bb-card {
	padding: 22px 24px;
	border: 1px solid var(--rp-rule);
	border-radius: 16px;
	background: var(--rp-raised);
}
.bb-card-title {
	margin: 0 0 8px;
	font-size: 23px;
}
.bb-card-title a {
	color: var(--rp-ink);
	text-decoration: none;
}
.bb-card-title a:hover {
	color: var(--rp-accent);
	text-decoration: underline;
}
.bb-card-excerpt p {
	margin: 0;
	color: var(--rp-ink-soft);
}
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
}
.nav-links a {
	color: var(--rp-ink);
	font-weight: 600;
}

/* ---- Help prompt ---- */
.bb-cta {
	margin: 48px 0 16px;
	padding: 28px;
	border-radius: 20px;
	background: var(--rp-dark);
	color: var(--rp-dark-text);
}
.bb-cta-title {
	margin: 0 0 10px;
	color: var(--rp-raised);
	font-size: 28px;
}
.bb-cta p {
	margin: 0 0 16px;
}
.bb-cta p:last-child {
	margin-bottom: 0;
}

/* ---- Footer ---- */
.bb-footer {
	padding: 40px 0;
	background: var(--rp-dark);
	color: var(--rp-dark-text);
	font-size: 15px;
}
.bb-footer-inner {
	display: grid;
	gap: 24px;
}
@media (min-width: 800px) {
	.bb-footer-inner { grid-template-columns: 2fr 1fr; }
}
.bb-footer p {
	max-width: 52ch;
	margin: 12px 0 0;
}
.bb-footer a {
	color: var(--rp-dark-text);
}
.bb-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-footer li {
	margin-bottom: 6px;
}

/* ---------- WordPress core classes ---------- */

.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;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	top: 8px;
	left: 16px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 8px 14px;
	margin: 0;
	clip: auto;
	clip-path: none;
	border-radius: 999px;
	background: var(--rp-ink);
	color: var(--rp-ground);
}
.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}
.alignright {
	float: right;
	margin: 0 0 16px 24px;
}
.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.alignwide {
	margin-right: -40px;
	margin-left: -40px;
}
@media (max-width: 960px) {
	.alignwide { margin-right: 0; margin-left: 0; }
}
.wp-caption,
.bb-content figure {
	max-width: 100%;
	margin: 0 0 18px;
}
.wp-caption img,
.bb-content figure img {
	display: block;
	border-radius: 12px;
}
.wp-caption-text,
.gallery-caption,
.bb-content figcaption {
	margin-top: 8px;
	color: var(--rp-muted);
	font-size: 14px;
}
.sticky,
.bypostauthor {
	display: block;
}
