/* Jumper Bee — Games: Carnival Games template styles (layered on homepage-v2.css) */

.jb-games {
	color: var(--jb-text);
	font-family: var(--jb-font-body);
	line-height: 1.55;
}

.jb-games--cg {
	--cg-red:    #d7263d;
	--cg-yellow: #f9c22e;
	--cg-teal:   #1b998b;
	--cg-navy:   #2e294e;
	--cg-cream:  #fff6d9;
	--cg-mist:   #fbdcd4;
	--cg-ivory:  #fffbf0;
	--cg-plum:   #6e1a2b;
}

/* Breadcrumbs */
.jb-crumbs {
	background: var(--jb-bg-soft);
	font-size: .9rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--jb-gray-2);
}
.jb-crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}
.jb-crumbs li + li::before {
	content: "/";
	color: var(--jb-gray-2);
	margin-right: .4rem;
}
.jb-crumbs a { color: var(--jb-blue-deep); text-decoration: none; }
.jb-crumbs a:hover { text-decoration: underline; }
.jb-crumbs [aria-current="page"] { color: var(--jb-text); font-weight: 600; }

/* Eyebrow label */
.jb-eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .78rem;
	font-weight: 700;
	color: var(--cg-red);
	margin: 0 0 .5rem;
}
.jb-hero .jb-eyebrow { color: var(--cg-yellow); }

/* Carnival hero — red tent stripe + yellow bulbs */
.jb-hero--cg {
	min-height: 0;
	background:
		radial-gradient(ellipse at 82% 18%, rgba(249,194,46,.38), transparent 55%),
		radial-gradient(ellipse at 14% 88%, rgba(215,38,61,.55), transparent 52%),
		linear-gradient(180deg, var(--jb-bg-dark) 0%, var(--cg-plum) 100%);
}

/* Hero form overrides */
.jb-games--cg .jb-hero__form button,
.jb-games--cg .jb-hero__form input[type="submit"],
.jb-games--cg .jb-hero__form .frm_button_submit {
	background: var(--cg-red);
}
.jb-games--cg .jb-hero__form button:hover,
.jb-games--cg .jb-hero__form input[type="submit"]:hover,
.jb-games--cg .jb-hero__form .frm_button_submit:hover { background: var(--cg-plum); }

/* Intro narrative */
.jb-cg-intro {
	background: #fff;
	text-align: center;
}
.jb-cg-intro p { font-size: 1.08rem; }
.jb-cg-intro .jb-intro__cta {
	margin-top: 1.5rem;
	font-weight: 600;
	font-size: 1.05rem;
}

/* Grids */
.jb-grid--2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
	.jb-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* Two-col reverse layout */
@media (min-width: 900px) {
	.jb-two-col--reverse { grid-template-columns: 1fr 1fr; }
	.jb-two-col--reverse > :first-child { order: 2; }
	.jb-two-col--reverse > :last-child { order: 1; }
}

/* Gallery grid */
.jb-cg-gallery__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 720px) {
	.jb-cg-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.jb-cg-gallery__item {
	margin: 0;
	border-radius: var(--jb-radius);
	overflow: hidden;
	box-shadow: var(--jb-shadow);
	border-top: 4px solid var(--cg-yellow);
}
.jb-cg-gallery__item img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Carnival cards — icon-led */
.jb-card--cg {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	background: #fff;
	border-radius: var(--jb-radius);
	padding: 1.5rem;
	border-top: 4px solid var(--jb-gray-2);
	box-shadow: var(--jb-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.jb-card--cg:hover {
	transform: translateY(-3px);
	box-shadow: var(--jb-shadow-lg);
}
.jb-card--cg h3 { margin: .25rem 0 .4rem; }
.jb-card--cg p { margin: 0; color: var(--jb-text); }

.jb-card__icon {
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--cg-mist);
	color: var(--cg-red);
}
.jb-card__icon .jb-icon { width: 28px; height: 28px; }
.jb-card--accent-1 .jb-card__icon { background: var(--cg-cream);  color: #8a5c04; }
.jb-card--accent-2 .jb-card__icon { background: #d2f3ed;          color: var(--cg-teal); }
.jb-card--accent-3 .jb-card__icon { background: #e4d9f2;          color: var(--cg-navy); }

/* Signature image figure */
.jb-events__figure {
	margin: 0;
	border: 4px solid var(--cg-yellow);
	border-radius: var(--jb-radius-lg);
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(46,41,78,.28);
}
.jb-events__figure img {
	width: 100%;
	height: auto;
	display: block;
}

/* Section backgrounds for rhythm */
.jb-cg-gallery    { background: var(--cg-ivory); }
.jb-cg-lineup     { background: #fff; }
.jb-cg-signature  { background: var(--cg-cream); }
.jb-cg-classics   { background: #fff; }
.jb-cg-package    { background: var(--cg-mist); }
.jb-cg-arena      { background: var(--cg-navy); color: #fff; }
.jb-cg-arena h2, .jb-cg-arena h3 { color: #fff; }
.jb-cg-arena a:not(.jb-btn) { color: var(--cg-yellow); }
.jb-cg-arena .jb-eyebrow { color: var(--cg-yellow); }
.jb-cg-extras     { background: var(--cg-ivory); }
.jb-cg-events     { background: #fff; }
.jb-cg-faq        { background: var(--jb-bg-soft); }

/* Lead paragraphs and fine print */
.jb-home .jb-lead {
	font-size: 1.1rem;
	color: var(--jb-text);
	max-width: 820px;
	margin: 0 0 1.75rem;
}
.jb-home .jb-fine {
	font-size: .9rem;
	color: #555;
	margin: 2.25rem 0 0;
	font-style: italic;
}
.jb-cg-arena .jb-fine { color: #dcdcdc; }

/* Arena image figure (dark section) */
.jb-arena__figure {
	margin: 0;
	border: 4px solid var(--cg-yellow);
	border-radius: var(--jb-radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.jb-arena__figure img {
	width: 100%;
	height: auto;
	display: block;
}

/* Pill row (arena game chips) */
.jb-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: .75rem 0 1.25rem;
}
.jb-pill {
	display: inline-block;
	padding: .4rem .8rem;
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.25);
	color: #fff;
	font-size: .88rem;
	font-weight: 600;
}

/* Checklist — card-style items with a red check */
.jb-home .jb-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 1.75rem;
	display: grid;
	gap: .75rem;
	grid-template-columns: 1fr;
}
@media (min-width: 720px) {
	.jb-checklist--two { grid-template-columns: 1fr 1fr; gap: .9rem 1.25rem; }
}
.jb-checklist li {
	position: relative;
	padding: .85rem 1rem .85rem 3rem;
	background: #fff;
	border: 1px solid var(--jb-gray-2);
	border-radius: var(--jb-radius);
	box-shadow: 0 2px 6px rgba(13,27,61,.04);
	line-height: 1.5;
}
.jb-checklist li::before {
	content: "\2713";
	position: absolute;
	left: .9rem;
	top: .95rem;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 50%;
	background: var(--cg-red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .85rem;
	font-weight: 800;
	line-height: 1;
}
.jb-checklist strong { color: var(--jb-black); }

/* FAQ accordion */
.jb-faq { display: grid; gap: .75rem; }
.jb-faq__item {
	background: #fff;
	border-radius: var(--jb-radius);
	box-shadow: var(--jb-shadow);
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--cg-red);
}
.jb-faq__item summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--jb-black);
	list-style: none;
	position: relative;
	padding-right: 2rem;
}
.jb-faq__item summary::-webkit-details-marker { display: none; }
.jb-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4rem;
	line-height: 1;
	color: var(--cg-red);
	font-weight: 800;
}
.jb-faq__item[open] summary::after { content: "\2212"; }
.jb-faq__item p {
	margin: .75rem 0 0;
	color: var(--jb-text);
}

/* Final CTA block — red-to-yellow carnival ribbon */
.jb-cg-cta {
	background: linear-gradient(135deg, var(--cg-red) 0%, var(--cg-yellow) 100%);
	color: #fff;
	text-align: center;
}
.jb-cg-cta h2 { color: #fff; }
.jb-cg-cta .jb-hero__cta { justify-content: center; }
.jb-cg-cta a:not(.jb-btn) {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 2px;
}
.jb-cg-cta a.jb-btn.jb-btn--primary {
	background: #fff;
	color: var(--cg-plum);
}
.jb-cg-cta a.jb-btn.jb-btn--primary:hover { background: #f3f3f3; color: var(--cg-plum); }
.jb-cg-cta a.jb-btn.jb-btn--secondary { border-color: #fff; color: #fff; background: transparent; }
.jb-cg-cta a.jb-btn.jb-btn--secondary:hover { background: #fff; color: var(--cg-plum); }

/* Responsive card hover polish */
@media (prefers-reduced-motion: reduce) {
	.jb-card--cg { transition: none; }
	.jb-card--cg:hover { transform: none; }
}
