/*
 * guide-bet-builder.php (enqueued for that template only). Ported from the template's inline <style> (A-60):
 * theme font tokens, no uppercase labels, the retired magenta accent swapped for teal, and the
 * same content column as the header/footer.
 */
.bb-guide{
	--orange:#F87830;--amber:#F8A018;--pink:#E85090;
	--teal:#0F7C85;--teal-text:#0B6A72;--charcoal:#202020;--cloud:#F8F8F8;
	--border:#E9E9E9;--radius:18px;--radius-sm:14px;--radius-pill:999px;
	--shadow:0 8px 24px rgba(32,32,32,0.08);
	
	color:var(--charcoal);line-height:1.5;
}
.bb-guide *{box-sizing:border-box;}
.bb-wrap{max-width:calc(var(--ba-max) + 2 * var(--ba-gutter));margin:0 auto;padding:0 var(--ba-gutter);}
.bb-guide h1,.bb-guide h2,.bb-guide h3{
	font-family:var(--ba-font-head);line-height:1.15;margin:0 0 12px;
}
.bb-guide h1{font-size:44px;font-weight:800;letter-spacing:-0.02em;color:#fff;}
.bb-guide h2{font-size:32px;font-weight:700;letter-spacing:-0.02em;margin-top:0;}
.bb-guide h3{font-size:22px;font-weight:700;}
.bb-guide p{font-size:18px;line-height:1.7;margin:0 0 18px;}
.bb-guide a{color:var(--teal-text);}

/* Intro lead (white-led; the gradient header is the theme's page-title banner). */
.bb-lead{max-width:820px;margin:0 0 24px;}
.bb-lead p{font-size:19px;line-height:1.6;margin:0;color:#333;}
.bb-kicker{
	display:inline-block;font-size:12px;font-weight:700;letter-spacing:0.05em;
	color:var(--teal-text);background:#e8f6f7;
	border:1px solid #cfeaec;border-radius:var(--radius-pill);
	padding:6px 14px;margin-bottom:14px;
}

/* Section rhythm. All content columns share the standard 1120px wrap — no inner
   width reduction (matches app-review: section edges must align down the page). */
.bb-section{padding:36px 0;}
.bb-section--band{background:var(--cloud);}
.bb-prose h2{margin-top:8px;}
.bb-prose ul,.bb-prose ol{font-size:18px;line-height:1.7;padding-left:22px;margin:0 0 18px;}
.bb-prose li{margin-bottom:10px;}

/* Card. */
.card{
	background:#fff;border:1px solid var(--border);border-radius:var(--radius);
	box-shadow:var(--shadow);padding:24px;
}

/* "In short" answer-first callout. */
.bb-answer .card{display:flex;gap:18px;align-items:flex-start;}
.bb-answer .bb-answer-mark{
	flex:none;width:44px;height:44px;border-radius:var(--radius-pill);
	background:linear-gradient(135deg,var(--orange),var(--pink));
	display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:20px;
}
.bb-answer h2{font-size:20px;margin:0 0 8px;}
.bb-answer p{font-size:17px;line-height:1.6;margin:0;}

/* Worked example table. */
.bb-example{width:100%;border-collapse:collapse;margin:0 0 14px;font-size:16px;}
.bb-example caption{text-align:left;font-weight:600;margin-bottom:10px;font-size:15px;color:#555;}
.bb-example th,.bb-example td{border:1px solid var(--border);padding:10px 12px;text-align:left;}
.bb-example th{background:var(--cloud);font-weight:700;}
.bb-example tfoot td{font-weight:700;background:#fff7f2;}
.bb-example .num{font-variant-numeric:tabular-nums;white-space:nowrap;}

/* Numbered steps. */
.bb-steps{list-style:none;counter-reset:bb;padding:0;margin:0 0 18px;}
.bb-steps li{
	position:relative;counter-increment:bb;padding:0 0 18px 52px;margin:0;
	font-size:18px;line-height:1.6;
}
.bb-steps li::before{
	content:counter(bb);position:absolute;left:0;top:0;
	width:34px;height:34px;border-radius:var(--radius-pill);
	background:var(--cloud);border:1px solid var(--border);
	display:flex;align-items:center;justify-content:center;
	font-family:var(--ba-font-head);font-weight:800;font-size:15px;color:var(--charcoal);
}
.bb-steps li:last-child{padding-bottom:0;}

/* Two-column compare cards (same-game vs cross-match). */
.bb-split{display:grid;gap:20px;grid-template-columns:1fr;margin:6px 0 8px;}
@media(min-width:760px){.bb-split{grid-template-columns:1fr 1fr;}}
.bb-split .card h3{margin-bottom:8px;}
.bb-split .card p{font-size:16px;line-height:1.6;margin:0 0 12px;}
.bb-split .card p:last-child{margin:0;}
.bb-tag{
	display:inline-block;font-size:12px;font-weight:700;letter-spacing:0.03em;
	background:var(--cloud);border:1px solid var(--border);border-radius:var(--radius-pill);
	padding:5px 12px;margin-bottom:12px;color:#555;
}

/* App picks grid. */
.bb-picks{display:grid;gap:18px;grid-template-columns:1fr;margin:6px 0 8px;}
@media(min-width:640px){.bb-picks{grid-template-columns:1fr 1fr;}}
@media(min-width:960px){.bb-picks{grid-template-columns:1fr 1fr 1fr;}}
.bb-pick{
	background:#fff;border:1px solid var(--border);border-radius:var(--radius);
	box-shadow:var(--shadow);padding:20px;display:flex;flex-direction:column;
}
.bb-pick .bb-pick-tag{
	align-self:flex-start;font-size:12px;font-weight:700;color:var(--teal-text);
	background:#e8f6f7;border:1px solid #cfeaec;border-radius:var(--radius-pill);
	padding:5px 12px;margin-bottom:12px;
}
.bb-pick h3{font-size:20px;margin:0 0 8px;}
.bb-pick p{font-size:15px;line-height:1.55;margin:0 0 16px;color:#333;}
.bb-pick .bb-pick-link{
	margin-top:auto;font-weight:600;font-size:15px;text-decoration:none;color:var(--teal-text);
	display:inline-flex;align-items:center;gap:6px;
}
.bb-pick .bb-pick-link:hover{color:var(--teal);}
.bb-pick .bb-pick-link:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:6px;}

/* Primary CTA — matches the site primary button (ba-btn ba-btn--primary --lg) and
   the corrected acca calculator (.acca-cta): brand gradient fill, magenta-tinted
   shadow, lift on hover, focus ring. Used in the hero and the commercial CTAs. */
.bb-cta{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;
	height:52px;padding:0 26px;border:1px solid transparent;border-radius:var(--radius-pill);
	background:linear-gradient(135deg,#F87830,#E85090);color:#fff;
	font:700 15px/1 var(--ba-font-body);text-decoration:none;white-space:nowrap;
	box-shadow:0 12px 30px rgba(232,80,144,0.36);
	transition:transform .18s cubic-bezier(0.22,0.61,0.36,1);
}
.bb-cta:hover{transform:translateY(-2px);color:#fff;}
.bb-cta:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.bb-cta{transition:none;}.bb-cta:hover{transform:none;}}

/* Callout note. */
.bb-note{
	background:#fff7f2;border:1px solid #f6d9c6;border-radius:var(--radius-sm);
	padding:16px 18px;margin:0 0 18px;font-size:16px;line-height:1.6;color:#5a3a26;
}
.bb-note strong{color:#7a3f1c;}

/* FAQ (visible only, no schema). */
.bb-faq details{
	border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;
	padding:0;margin-bottom:12px;overflow:hidden;
}
.bb-faq summary{
	font-family:Manrope,Inter,sans-serif;font-weight:700;font-size:18px;padding:16px 18px;
	cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;
}
.bb-faq summary::-webkit-details-marker{display:none;}
.bb-faq summary::after{content:"+";font-size:22px;color:var(--teal);font-weight:400;}
.bb-faq details[open] summary::after{content:"\2212";}
.bb-faq summary:focus-visible{outline:3px solid var(--teal);outline-offset:-3px;}
.bb-faq .bb-faq-body{padding:0 18px 6px;}
.bb-faq .bb-faq-body p{font-size:16px;line-height:1.6;}

/* Hero — same system as the homepage / app-listing / acca calculator (135° brand
   gradient, white Manrope H1, decorative blobs, author meta). */
.bb-hero{
	position:relative;overflow:hidden;text-align:center;color:#fff;
	background:linear-gradient(135deg,#F87830 0%,#F8A018 50%,#E85090 100%);
	padding:56px 24px 60px;
}
.bb-hero__blob{position:absolute;border-radius:50%;pointer-events:none;
	background:radial-gradient(circle,rgba(255,255,255,0.18),transparent 70%);}
.bb-hero__blob--a{width:460px;height:460px;top:-180px;right:-120px;}
.bb-hero__blob--b{width:320px;height:320px;bottom:-160px;left:-90px;
	background:radial-gradient(circle,rgba(255,255,255,0.12),transparent 70%);}
.bb-hero__inner{position:relative;z-index:1;max-width:820px;margin:0 auto;}
.bb-hero__title{font-size:clamp(36px,5vw,52px);font-weight:800;line-height:1.05;
	letter-spacing:-0.02em;color:#fff;margin:0;}
.bb-hero .bb-hero__lead{font-size:19px;line-height:1.6;margin:16px auto 0;max-width:660px;text-align:center;
	color:rgba(255,255,255,0.92);}
.bb-kicker--hero{color:#fff;background:rgba(255,255,255,0.18);border-color:rgba(255,255,255,0.35);}
.bb-hero__meta{display:flex;justify-content:center;align-items:center;gap:14px;
	margin-top:22px;flex-wrap:wrap;}
.bb-hero__author{display:flex;align-items:center;gap:10px;}
.bb-hero__avatar{width:38px;height:38px;border-radius:999px;overflow:hidden;flex:none;
	background:rgba(255,255,255,0.2);border:1px solid rgba(255,255,255,0.4);
	display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;color:#fff;}
.bb-hero__avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.bb-hero__author-text{display:flex;flex-direction:column;text-align:left;line-height:1.25;font-size:13px;}
.bb-hero__author-text strong{font-weight:700;}
.bb-hero__author-text span{opacity:0.82;font-size:12px;}
.bb-hero__divider{width:1px;height:26px;background:rgba(255,255,255,0.3);}
.bb-hero__updated{font-size:13px;opacity:0.9;}
.bb-hero__updated strong{font-weight:700;}
.bb-hero__ctas{display:flex;justify-content:center;gap:12px;margin-top:28px;flex-wrap:wrap;}
.bb-btn-ghost{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;
	height:52px;padding:0 24px;border-radius:var(--radius-pill);
	font:700 15px/1 var(--ba-font-body);text-decoration:none;
	background:rgba(255,255,255,0.16);border:1px solid rgba(255,255,255,0.32);color:#fff;
	transition:background .18s ease;
}
.bb-btn-ghost:hover{background:rgba(255,255,255,0.26);color:#fff;}
.bb-btn-ghost:focus-visible{outline:3px solid #fff;outline-offset:3px;}
/* Win over the `.bb-guide a` link colour (0-0-1-1) at rest — CTA text stays white. */
.bb-guide .bb-cta,.bb-guide .bb-btn-ghost{color:#fff;}

/* Affiliate disclosure (shared partial) rendered under the hero — compact band. */
.bb-guide .trust-affiliate-disclosure{background:var(--cloud);border-bottom:1px solid var(--border);}
.bb-guide .trust-affiliate-disclosure .container{max-width:1120px;margin:0 auto;padding:12px 24px;}
.bb-guide .trust-affiliate-disclosure p,
.bb-guide .trust-affiliate-disclosure summary{font-size:13px;color:#666;margin:0;line-height:1.5;}
.bb-guide .trust-affiliate-disclosure summary{cursor:pointer;font-weight:600;}



@media(max-width:520px){
	.bb-guide h2{font-size:26px;}
	.bb-example{font-size:14px;}
	.bb-example th,.bb-example td{padding:8px;}
	.bb-steps li{padding-left:46px;}
}

/* Phones: the byline stacks (no orphaned divider). The wrap already supplies the gutter. */
@media(max-width:520px){.bb-hero__divider{display:none;}.bb-hero__meta{flex-direction:column;gap:8px;}.bb-answer .card{flex-direction:column;gap:12px;}}

/* The page ends on a full-bleed band: no white strip above the footer. */
.ba-footer{margin-top:0;}
