/* ==========================================================================
   Profit Sports Betting - Homepage sections
   Loaded last. Includes defensive resets, because main.min.css styles bare
   element selectors (section, h2, ul, img) that would otherwise leak in.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Defensive resets - neutralise legacy element styling inside new sections
   -------------------------------------------------------------------------- */
.psb-hero, .psb-section, .psb-catbar, .psb-showcase, .psb-linkbands {
	position: relative;
	float: none;
	width: auto;
	margin: 0;
	background-image: none;
}

.psb-section ul,
.psb-hero ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.psb-section h2,
.psb-section h3,
.psb-hero h1,
.psb-hero h2 {
	float: none;
	width: auto;
	text-align: inherit;
	text-transform: none;
	background: none;
}

.psb-container::before,
.psb-container::after { content: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.psb-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(123, 69, 176, .55), transparent 60%),
		linear-gradient(160deg, var(--psb-purple-900) 0%, var(--psb-purple-800) 55%, #241539 100%);
	color: #F3F0F8;
	padding-block: clamp(var(--psb-5), 3vw, var(--psb-7));
	isolation: isolate;

	/* Fit the first screen: viewport minus the topbar + sticky header.
	   svh tracks mobile browser chrome correctly. */
	--psb-chrome: 172px;
	min-height: calc(100svh - var(--psb-chrome));
	display: flex;
	align-items: center;
}

@supports not (height: 100svh) {
	.psb-hero { min-height: calc(100vh - var(--psb-chrome)); }
}

.psb-hero > .psb-hero__inner { width: 100%; }

.psb-hero__glow {
	position: absolute;
	right: -10%;
	top: -30%;
	width: 60vw;
	max-width: 760px;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(16, 185, 129, .20), transparent 62%);
	filter: blur(10px);
	pointer-events: none;
	z-index: -1;
}

.psb-hero__inner {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	align-items: center;
	gap: clamp(var(--psb-6), 5vw, var(--psb-9));
}

.psb-hero__copy { min-width: 0; }

.psb-eyebrow--light { color: var(--psb-gold-500); }
.psb-eyebrow--light::before { background: var(--psb-green-500); }

.psb-hero .psb-hero__title {
	font-family: var(--psb-font-display);
	font-size: clamp(1.9rem, 2.6vw + 1rem, 3.4rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #fff;
	margin: 0 0 var(--psb-5);
	text-wrap: balance;
}

/* ACF banner_title may arrive wrapped in its own tags */
.psb-hero__title p,
.psb-hero__title h2,
.psb-hero__title strong {
	all: unset;
	font: inherit;
	color: inherit;
}

.psb-hero__actions { margin-bottom: var(--psb-7); }

.psb-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(var(--psb-5), 4vw, var(--psb-8));
	padding-top: var(--psb-5);
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.psb-hero__stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.psb-hero__stats strong {
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-2xl);
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.psb-hero__stats span {
	font-size: var(--psb-text-xs);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #B3A6C8;
}

.psb-hero__media {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
	position: relative;
}

/* The product artwork is a PNG with a baked-in white background, which
   clashed against the purple hero. Presenting it in a white card makes
   that deliberate, and matches how the product grid shows the same
   covers on a light panel. */
.psb-hero__media::before {
	content: "";
	position: absolute;
	inset: -1.75rem -2.25rem;
	background: linear-gradient(165deg, #FFFFFF 0%, #F4F1F8 100%);
	border-radius: var(--psb-r-lg);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .5);
	z-index: 0;
}

.psb-hero__media > img { position: relative; z-index: 1; }

@media (max-width: 860px) {
	.psb-hero__media::before { inset: -1.25rem -1.5rem; }
}

.psb-hero__media img {
	width: auto;
	max-width: 100%;
	/* Never let the artwork push the hero past one screen */
	max-height: min(360px, calc(100svh - var(--psb-chrome) - 7rem));
	height: auto;
	animation: psb-float 7s ease-in-out infinite;
}

@keyframes psb-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
	.psb-hero__media img { animation: none; }
}

@media (max-width: 860px) {
	.psb-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.psb-hero__copy { order: 2; }
	.psb-hero__media { order: 1; }
	.psb-hero__media img { max-width: 280px; }
	.psb-hero__actions,
	.psb-hero__stats { justify-content: center; }
	.psb-eyebrow { justify-content: center; }
	.psb-lede { margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   Category chips
   -------------------------------------------------------------------------- */
.psb-catbar {
	border-bottom: 1px solid var(--psb-line);
	background: var(--psb-surface);
}

.psb-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--psb-2);
}

.psb-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--psb-2);
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-sm);
	font-weight: 550;
	color: var(--psb-ink-soft);
	background: var(--psb-surface-2);
	border: 1px solid var(--psb-line);
	border-radius: var(--psb-r-pill);
	padding: .5rem 1rem;
	text-decoration: none;
	transition: background var(--psb-fast) var(--psb-ease),
	            border-color var(--psb-fast) var(--psb-ease),
	            color var(--psb-fast) var(--psb-ease),
	            transform var(--psb-fast) var(--psb-ease);
}

.psb-chip:hover {
	background: var(--psb-purple-100);
	border-color: var(--psb-purple-500);
	color: var(--psb-purple-700);
	transform: translateY(-1px);
	text-decoration: none;
}

.psb-chip__count {
	font-size: var(--psb-text-xs);
	font-weight: 700;
	color: var(--psb-muted);
	background: #fff;
	border-radius: var(--psb-r-pill);
	padding: .1rem .45rem;
	min-width: 22px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Product tiles
   The artwork is ebook/box covers on white, so each tile frames them on a
   soft panel rather than cropping them edge to edge.
   -------------------------------------------------------------------------- */
#psb-products .psb-card {
	border-radius: var(--psb-r-lg);
	border-color: var(--psb-line);
	background: #fff;
	overflow: hidden;
}

/* Accent bar that wipes in on hover */
#psb-products .psb-card::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--psb-purple-600), var(--psb-green-500));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--psb-med) var(--psb-ease);
	z-index: 2;
}

#psb-products .psb-card:hover::after { transform: scaleX(1); }

#psb-products .psb-card:hover {
	border-color: var(--psb-purple-500);
	box-shadow: 0 18px 40px rgba(31, 18, 48, .16);
}

#psb-products .psb-card__media {
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F3F0F8 70%, #EBE6F3 100%);
	display: grid;
	place-items: center;
	padding: var(--psb-5) var(--psb-4) var(--psb-4);
	border-bottom: 1px solid var(--psb-line);
}

#psb-products .psb-card__media img {
	width: auto;
	height: 100%;
	max-width: 85%;
	object-fit: contain;
	filter: drop-shadow(0 10px 18px rgba(31, 18, 48, .22));
	transition: transform var(--psb-med) var(--psb-ease);
}

#psb-products .psb-card:hover .psb-card__media img {
	transform: translateY(-4px) scale(1.03);
}

/* Category chip floats over the artwork */
#psb-products .psb-card__body {
	position: relative;
	padding: var(--psb-5) var(--psb-5) var(--psb-6);
	gap: var(--psb-3);
}

#psb-products .psb-tag {
	position: absolute;
	top: calc(var(--psb-5) * -1 + 2px);
	left: var(--psb-5);
	transform: translateY(-50%);
	background: #fff;
	color: var(--psb-purple-700);
	border: 1px solid var(--psb-line);
	box-shadow: var(--psb-shadow-sm);
	font-size: 0.75rem;
	letter-spacing: .05em;
	padding: .34rem .7rem;
	border-radius: var(--psb-r-pill);
	max-width: calc(100% - var(--psb-5) * 2);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#psb-products .psb-card__title {
	font-size: var(--psb-text-lg);
	font-weight: 650;
	line-height: 1.3;
	display: flex;
	align-items: flex-start;
	gap: var(--psb-2);
}

#psb-products .psb-card__title a {
	display: inline-flex;
	align-items: flex-start;
	gap: var(--psb-2);
	transition: color var(--psb-fast) var(--psb-ease);
}

#psb-products .psb-card:hover .psb-card__title a { color: var(--psb-purple-700); }

/* Arrow affordance */
#psb-products .psb-card__title a::before {
	content: "";
	flex: 0 0 auto;
	width: 0;
	height: 1.1em;
	margin-top: .1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") no-repeat center / contain;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") no-repeat center / contain;
	opacity: 0;
	transition: width var(--psb-med) var(--psb-ease),
	            opacity var(--psb-med) var(--psb-ease);
}

#psb-products .psb-card:hover .psb-card__title a::before {
	width: 1.05em;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	#psb-products .psb-card:hover .psb-card__media img { transform: none; }
}

/* --------------------------------------------------------------------------
   Slick slider wrapper - contain the legacy plugin styles
   -------------------------------------------------------------------------- */
.psb-slider-wrap {
	position: relative;
	border-radius: var(--psb-r-lg);
	overflow: hidden;
}

.psb-slider-wrap .slick-slide { margin-inline: 8px; }
.psb-slider-wrap .slick-slide img {
	border-radius: var(--psb-r-md);
	max-height: 260px;
	width: auto;
	object-fit: contain;
}
.psb-slider-wrap .slick-track { display: flex; align-items: center; }

/* --------------------------------------------------------------------------
   Video + opt-in showcase - kept deliberately compact
   -------------------------------------------------------------------------- */
.psb-showcase { padding-block: clamp(var(--psb-5), 2.6vw, var(--psb-7)); }
.psb-optin__title { font-size: var(--psb-text-lg); margin-bottom: var(--psb-1); }
.psb-optin__sub   { font-size: var(--psb-text-xs); margin-bottom: var(--psb-3); }
.psb-optin__note  { margin-top: var(--psb-2); }

.psb-showcase__inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: clamp(var(--psb-5), 4vw, var(--psb-8));
	/* Both columns share the row height so they line up top and bottom.
	   The row is capped below so a tall video cannot pad the opt-in panel
	   out into mostly empty space. */
	align-items: stretch;
	max-height: 340px;
}

.psb-showcase__video {
	display: flex;
	max-height: 340px;
	border-radius: var(--psb-r-lg);
	overflow: hidden;
	box-shadow: var(--psb-shadow-lg);
	background: #000;
	min-width: 0;
}

.psb-showcase__video video {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	margin: 0;
}

.psb-optin {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-height: 340px;
	overflow-y: auto;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--psb-r-lg);
	padding: clamp(var(--psb-4), 2vw, var(--psb-5));
	backdrop-filter: blur(8px);
	min-width: 0;
}

.psb-optin .psb-optin__title {
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-xl);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
	margin: 0 0 var(--psb-2);
}

.psb-optin__sub {
	font-size: var(--psb-text-sm);
	color: #C9C0DA;
	margin: 0 0 var(--psb-4);
	line-height: 1.6;
}

.psb-optin__note {
	font-size: var(--psb-text-xs);
	color: #A99BC0;
	margin: var(--psb-3) 0 0;
}

/* Tame the third-party GetResponse form so it fits the panel */
.psb-optin__form { position: relative; }
.psb-optin__form input[type="text"],
.psb-optin__form input[type="email"] {
	width: 100% !important;
	box-sizing: border-box;
	font-family: inherit !important;
	font-size: var(--psb-text-base) !important;
	padding: .75rem 1rem !important;
	border: 1px solid rgba(255,255,255,.2) !important;
	border-radius: var(--psb-r-md) !important;
	background: rgba(255,255,255,.95) !important;
	color: var(--psb-ink) !important;
	margin-bottom: var(--psb-3) !important;
}

.psb-optin__form input[type="submit"],
.psb-optin__form button[type="submit"] {
	width: 100% !important;
	font-family: var(--psb-font-display) !important;
	font-size: var(--psb-text-base) !important;
	font-weight: 600 !important;
	padding: .85rem 1.5rem !important;
	border: 0 !important;
	border-radius: var(--psb-r-md) !important;
	background: var(--psb-green-500) !important;
	color: #fff !important;
	cursor: pointer;
}

.psb-optin__form table,
.psb-optin__form td,
.psb-optin__form tbody,
.psb-optin__form tr {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
}

@media (max-width: 900px) {
	.psb-showcase__inner { grid-template-columns: 1fr; align-items: start; max-height: none; }
	.psb-showcase__video { max-height: none; }
	.psb-showcase__video video { height: auto; object-fit: contain; }
	.psb-optin { max-height: none; }
}

/* --------------------------------------------------------------------------
   Link bands
   -------------------------------------------------------------------------- */
.psb-linkband {
	background: var(--psb-surface-2);
	border: 1px solid var(--psb-line);
	border-radius: var(--psb-r-lg);
	padding: var(--psb-5);
}

.psb-linkband__title {
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-xs);
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--psb-purple-700);
	margin: 0 0 var(--psb-4);
}

.psb-linkband__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: var(--psb-2) var(--psb-4);
}

.psb-linkband__list a {
	font-size: var(--psb-text-sm);
	color: var(--psb-ink-soft);
	text-decoration: none;
	transition: color var(--psb-fast) var(--psb-ease);
}

.psb-linkband__list a:hover { color: var(--psb-purple-700); text-decoration: underline; }


/* Short viewports: shed the non-essential hero furniture so the headline
   and primary call to action always land above the fold. */
@media (max-height: 700px) and (min-width: 861px) {
	.psb-hero { --psb-chrome: 150px; }
	.psb-hero .psb-hero__title { font-size: clamp(1.6rem, 2.2vw + .8rem, 2.4rem); }
	.psb-hero__actions { margin-bottom: var(--psb-5); }
	.psb-hero__stats { display: none; }
}

@media (max-height: 560px) {
	.psb-hero { min-height: 0; }
}


/* --------------------------------------------------------------------------
   Secondary GetResponse opt-in
   The embed renders a fixed-width cross-origin iframe, so the page can only
   centre it - the content inside is managed in GetResponse.
   -------------------------------------------------------------------------- */
.psb-optin-wide { display: flex; justify-content: center; }
.psb-optin-wide iframe,
.psb-optin-wide .AW-Form-526115621 { margin-inline: auto !important; max-width: 100%; }


/* Products with no featured image get a branded monogram rather than an
   empty panel. */
#psb-products .psb-card__media--empty {
	background: linear-gradient(150deg, var(--psb-purple-700) 0%, var(--psb-purple-500) 100%);
}

#psb-products .psb-card__placeholder {
	font-family: var(--psb-font-display);
	font-size: clamp(2.5rem, 5vw, 3.6rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, .92);
	text-shadow: 0 6px 18px rgba(0, 0, 0, .3);
	letter-spacing: -0.02em;
}


/* --------------------------------------------------------------------------
   Video: poster trigger + overlay
   -------------------------------------------------------------------------- */
.psb-videotrigger {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: #000;
	border-radius: var(--psb-r-lg);
	overflow: hidden;
	box-shadow: var(--psb-shadow-lg);
	isolation: isolate;
}

.psb-videotrigger__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.psb-videotrigger__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31,18,48,.1) 0%, rgba(31,18,48,.65) 100%);
	transition: background var(--psb-med) var(--psb-ease);
}

.psb-videotrigger:hover .psb-videotrigger__scrim {
	background: linear-gradient(180deg, rgba(31,18,48,.05) 0%, rgba(31,18,48,.5) 100%);
}

.psb-playbtn {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 76px; height: 76px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255,255,255,.95);
	color: var(--psb-purple-700);
	box-shadow: 0 10px 30px rgba(0,0,0,.4);
	transition: transform var(--psb-med) var(--psb-ease),
	            background var(--psb-fast) var(--psb-ease);
}

.psb-playbtn svg { width: 30px; height: 30px; margin-left: 4px; }

.psb-videotrigger:hover .psb-playbtn,
.psb-videotrigger:focus-visible .psb-playbtn {
	transform: translate(-50%, -50%) scale(1.08);
	background: #fff;
}

/* Pulse ring */
.psb-playbtn::before {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,.55);
	animation: psb-pulse 2.6s ease-out infinite;
}

@keyframes psb-pulse {
	0%   { transform: scale(.9); opacity: .8; }
	70%  { transform: scale(1.25); opacity: 0; }
	100% { opacity: 0; }
}

.psb-videotrigger__label {
	position: absolute;
	left: var(--psb-5);
	bottom: var(--psb-4);
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-sm);
	font-weight: 600;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

@media (prefers-reduced-motion: reduce) {
	.psb-playbtn::before { animation: none; }
}

/* ---- Overlay ---- */
.psb-videomodal {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: grid;
	place-items: center;
	padding: var(--psb-5);
}

.psb-videomodal[hidden] { display: none; }

.psb-videomodal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 8, 20, .88);
	backdrop-filter: blur(6px);
	animation: psb-fade var(--psb-med) var(--psb-ease);
}

.psb-videomodal__dialog {
	position: relative;
	width: min(1040px, 100%);
	animation: psb-rise var(--psb-med) var(--psb-ease);
}

.psb-videomodal__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--psb-r-lg);
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.psb-videomodal__video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	background: #000;
}

.psb-videomodal__close {
	position: absolute;
	top: -52px;
	right: 0;
	width: 40px; height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #fff;
	cursor: pointer;
	transition: background var(--psb-fast) var(--psb-ease);
}

.psb-videomodal__close:hover { background: rgba(255,255,255,.22); }
.psb-videomodal__close svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
	.psb-videomodal__close { top: -46px; }
}

@keyframes psb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes psb-rise {
	from { opacity: 0; transform: translateY(14px) scale(.98); }
	to   { opacity: 1; transform: none; }
}

body.psb-modal-open { overflow: hidden; }

/* ==========================================================================
   Archive pages (product categories, blog categories, tags)
   ========================================================================== */
.psb-archivehead {
	background: linear-gradient(170deg, var(--psb-surface-2) 0%, var(--psb-surface) 100%);
	border-bottom: 1px solid var(--psb-line);
}

.psb-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--psb-2);
	font-size: var(--psb-text-sm);
	color: var(--psb-muted);
	margin-bottom: var(--psb-3);
}

.psb-breadcrumb a {
	color: var(--psb-purple-600);
	text-decoration: none;
}

.psb-breadcrumb a:hover { text-decoration: underline; }
.psb-breadcrumb__current { color: var(--psb-ink-soft); font-weight: 550; }

.psb-archivehead__count {
	margin: var(--psb-3) 0 0;
	font-size: var(--psb-text-sm);
	color: var(--psb-muted);
}

/* ---- Two-column archive layout ---- */
.psb-archive {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(var(--psb-5), 3vw, var(--psb-7));
	align-items: start;
	padding-top: clamp(var(--psb-5), 3vw, var(--psb-7));
}

@media (max-width: 900px) {
	.psb-archive { grid-template-columns: 1fr; }
}

/* ---- Filter sidebar ---- */
.psb-filters {
	position: sticky;
	top: calc(var(--psb-header-h) + 1rem);
	background: var(--psb-surface-2);
	border: 1px solid var(--psb-line);
	border-radius: var(--psb-r-lg);
	padding: var(--psb-4);
}

@media (max-width: 900px) {
	.psb-filters { position: static; }
}

.psb-filters__title {
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-xs);
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--psb-purple-700);
	margin: 0 0 var(--psb-3);
}

.psb-filters__group { border-top: 1px solid var(--psb-line); }
.psb-filters__group:first-of-type { border-top: 0; }

.psb-filters__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--psb-2);
	padding: var(--psb-3) 0;
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-sm);
	font-weight: 600;
	color: var(--psb-ink);
	cursor: pointer;
	list-style: none;
}

.psb-filters__summary::-webkit-details-marker { display: none; }
.psb-filters__summary:hover { color: var(--psb-purple-700); }

.psb-filters__chev {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--psb-muted);
	transition: transform var(--psb-fast) var(--psb-ease);
}

.psb-filters__group[open] .psb-filters__chev { transform: rotate(180deg); }

.psb-filters__list {
	list-style: none;
	margin: 0 0 var(--psb-3);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.psb-filters__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--psb-2);
	padding: .45rem .6rem;
	border-radius: var(--psb-r-sm);
	font-size: var(--psb-text-sm);
	color: var(--psb-ink-soft);
	text-decoration: none;
	transition: background var(--psb-fast) var(--psb-ease),
	            color var(--psb-fast) var(--psb-ease);
}

.psb-filters__list a:hover {
	background: var(--psb-purple-100);
	color: var(--psb-purple-700);
}

.psb-filters__list a.is-current {
	background: var(--psb-purple-600);
	color: #fff;
	font-weight: 600;
}

.psb-filters__count {
	font-size: var(--psb-text-xs);
	color: var(--psb-muted);
	background: #fff;
	border-radius: var(--psb-r-pill);
	padding: .05rem .4rem;
	min-width: 20px;
	text-align: center;
}

.psb-filters__list a.is-current .psb-filters__count {
	background: rgba(255,255,255,.22);
	color: #fff;
}

/* ---- Results ---- */
.psb-archive__main { min-width: 0; }

.psb-archive__optin { margin-top: var(--psb-7); }

.psb-empty {
	text-align: center;
	padding: var(--psb-9) var(--psb-5);
	background: var(--psb-surface-2);
	border: 1px dashed var(--psb-line);
	border-radius: var(--psb-r-lg);
}

.psb-empty .psb-lede { margin: 0 auto var(--psb-5); }

/* ---- Pagination ---- */
.psb-pagination { margin-top: var(--psb-7); }

.psb-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--psb-2);
}

.psb-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .75rem;
	border: 1px solid var(--psb-line);
	border-radius: var(--psb-r-md);
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-sm);
	font-weight: 600;
	color: var(--psb-ink-soft);
	text-decoration: none;
	transition: background var(--psb-fast) var(--psb-ease),
	            border-color var(--psb-fast) var(--psb-ease),
	            color var(--psb-fast) var(--psb-ease);
}

.psb-pagination .page-numbers:hover {
	background: var(--psb-purple-100);
	border-color: var(--psb-purple-500);
	color: var(--psb-purple-700);
}

.psb-pagination .page-numbers.current {
	background: var(--psb-purple-600);
	border-color: var(--psb-purple-600);
	color: #fff;
}

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

/* --------------------------------------------------------------------------
   SEO pass (2026-11): page titles and the affiliate call to action

   Product pages previously had no h1 and no visible call to action - the
   affiliate link rendered as a bare URL in the body copy.
   -------------------------------------------------------------------------- */
.psb-page-title {
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-3xl);
	line-height: 1.15;
	margin: 0 0 var(--psb-space-5);
	color: var(--psb-fg);
}

.psb-affiliate-cta {
	margin: var(--psb-space-6) 0 var(--psb-space-4);
}

/* The legacy single-post column sets a narrow measure; let the button size
   to its own label rather than inheriting the paragraph width. */
.psb-affiliate-cta .psb-btn {
	display: inline-flex;
	max-width: 100%;
}

.products-single h1 {
	font-family: var(--psb-font-display);
	font-size: var(--psb-text-3xl);
	line-height: 1.15;
	margin: 0 0 var(--psb-space-4);
	color: var(--psb-fg);
}
