/* =========================================================================
   No deposit bonus hub (page-no-deposit-bonuses.php + inc/templates/ndb/*).
   Auto-enqueued by casinoace_enqueue_template_styles(); builds on
   assets/css/landing.css (shared kit) and site.css (tokens).
   ========================================================================= */

/* Country picker sits under the list heading */
.bc-ndb .bc-section__head .bc-picks__country { max-width: 360px; }

/* Toolbar: filter pills + sort ------------------------------------------- */
.bc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-pills__btn { padding: 9px 16px; border: 1px solid var(--bc-border); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: var(--bc-ink); cursor: pointer; white-space: nowrap; }
.bc-pills__btn:hover { border-color: var(--bc-aubergine); }
.bc-pills__btn[aria-pressed="true"] { border-color: var(--bc-aubergine); background: var(--bc-aubergine); color: #fff; font-weight: 700; }
.bc-pills__btn:focus-visible, .bc-sort select:focus-visible, .bc-copy:focus-visible, .bc-orows__more:focus-visible { outline: none; box-shadow: var(--bc-focus); }

.bc-sort { position: relative; display: inline-flex; align-items: center; margin: 0; }
.bc-sort .bc-ico { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--bc-ink); pointer-events: none; }
.bc-sort select { height: 42px; padding: 0 40px 0 40px; border: 1px solid var(--bc-border); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1a24' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; font: inherit; font-size: 14px; color: var(--bc-ink); cursor: pointer; appearance: none; }

/* Offer rows ----------------------------------------------------------------- */
.bc-orows-head,
.bc-orow { display: grid; grid-template-columns: 96px minmax(0, 1fr) 170px 140px 150px 190px; column-gap: 24px; align-items: center; }
.bc-orows-head { padding: 0 24px 12px; font-size: 12px; color: var(--bc-muted); }
.bc-orows-head span:first-child { grid-column: 2; }

.bc-orows-wrap { border: 1px solid var(--bc-border); border-radius: 16px; background: #fff; overflow: hidden; }
.bc-orow { padding: 20px 24px; border-top: 1px solid var(--bc-border); }
.bc-orow:first-child { border-top: 0; }
.bc-orow.is-extra { display: none; }

.bc-orow__info { min-width: 0; }
.bc-orow__title { font-size: 18px; line-height: 1.3; }
.bc-lp .bc-orow__title a { color: var(--bc-ink); text-decoration: none; }
.bc-lp .bc-orow__title a:hover { color: var(--bc-aubergine); text-decoration: underline; }
.bc-orow__casino { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 14px; color: var(--bc-ink); }
.bc-lp .bc-orow__casino a { color: var(--bc-aubergine); text-decoration: none; }
.bc-lp .bc-orow__casino a:hover { text-decoration: underline; }
.bc-orow__checked { margin-top: 2px; font-size: 12px; color: var(--bc-muted); }
.bc-orow__blocked { display: none; margin-top: 6px; }

.bc-ts { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; line-height: 1.6; color: var(--bc-ink); }
.bc-ts--good { background: var(--bc-score-good); }
.bc-ts--avg { background: var(--bc-score-avg); }
.bc-ts--bad { background: var(--bc-score-bad); }

.bc-orow__label { display: none; font-size: 12px; color: var(--bc-muted); }
.bc-orow__value { font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--bc-ink); }
.bc-orow__value--text { font-size: 15px; }
.bc-orow__wager { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 8px; }
.bc-orow__wager .bc-tier { justify-self: start; }
.bc-orow__wager .bc-meter, .bc-orow__note { grid-column: 1 / -1; }
.bc-orow__note { font-size: 11px; color: var(--bc-muted); }
.bc-orow__nocode { font-size: 14px; color: var(--bc-muted); }

/* Where an offer's wagering sits on the easy / fair / hard scale */
.bc-meter { position: relative; display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #b9e3bd 0 var(--easy), #f5dc8f var(--easy) var(--fair), #f2b8c0 var(--fair) 100%); }
.bc-meter span { position: absolute; top: 50%; left: var(--pos); width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--bc-aubergine); transform: translate(-50%, -50%); }

.bc-copy { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1.5px dashed var(--bc-purple-500); border-radius: 6px; background: var(--bc-lilac); font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--bc-aubergine); cursor: pointer; }
.bc-copy .bc-ico { width: 14px; height: 14px; }
.bc-copy:hover { border-style: solid; }
.bc-copy.is-copied { border-style: solid; border-color: var(--bc-green); color: var(--bc-green); }

.bc-orow__cta { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.bc-lp .bc-orow__terms { font-size: 14px; color: var(--bc-aubergine); text-decoration: underline; text-underline-offset: 3px; }
.bc-orow__cta .bc-rg { font-size: 11px; }
.bc-orow__warn { grid-column: 2 / -1; margin-top: 12px; }

/* Shown for a country that the offer doesn't accept (visitor chose "show anyway") */
.bc-orow.is-blocked .bc-orow__blocked { display: inline-flex; }
.bc-orow.is-blocked .bc-orow__claim,
.bc-orow.is-blocked .bc-orow__cta .bc-rg { display: none !important; }
.bc-orow.is-blocked .bc-orow__title a, .bc-orow.is-blocked .bc-orow__value { color: var(--bc-muted); }

.bc-orows__more { display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px; padding: 16px 24px; border: 0; border-top: 1px solid var(--bc-border); background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--bc-aubergine); cursor: pointer; }
.bc-orows__more:hover { background: var(--bc-lilac); }
.bc-orows__more .bc-ico { width: 16px; height: 16px; }
.bc-orows__empty { padding: 24px; font-size: 15px; }
.bc-orows__geo-note { margin-top: 16px; font-size: 14px; color: var(--bc-muted); }

/* Offers we haven't re-checked ----------------------------------------------- */
.bc-stale { margin-top: 24px; border: 1px solid var(--bc-border); border-radius: 16px; background: #fff; overflow: hidden; }
.bc-stale__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--bc-lilac); cursor: pointer; list-style: none; }
.bc-stale__head::-webkit-details-marker { display: none; }
.bc-stale__text { display: flex; flex-direction: column; }
.bc-stale__text strong { font-size: 16px; color: var(--bc-ink); }
.bc-stale__text > span { font-size: 13px; color: var(--bc-muted); }
.bc-stale__state { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--bc-aubergine); white-space: nowrap; }
.bc-stale__state .bc-ico { width: 16px; height: 16px; transition: transform .2s; }
.bc-stale__hide, .bc-stale[open] .bc-stale__show { display: none; }
.bc-stale[open] .bc-stale__hide { display: inline; }
.bc-stale[open] .bc-stale__state .bc-ico { transform: rotate(180deg); }

.bc-srow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 14px 24px; border-top: 1px solid var(--bc-border); }
.bc-srow.is-extra { display: none; }
.bc-srow__title { font-size: 16px; color: var(--bc-ink); }
.bc-srow__meta { font-size: 13px; color: var(--bc-muted); }
.bc-srow .bc-warn { grid-column: 1 / -1; }
.bc-stale__more { display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px; padding: 14px 24px; border: 0; border-top: 1px solid var(--bc-border); background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--bc-aubergine); cursor: pointer; }
.bc-stale__more:hover { background: var(--bc-lilac); }
.bc-stale__more .bc-ico { width: 16px; height: 16px; }

.bc-offers-note { max-width: 860px; margin-top: 24px; font-size: 14px; color: var(--bc-muted); }
.bc-lp .bc-offers-note a { color: var(--bc-aubergine); text-decoration: underline; }

/* What wagering really costs you ------------------------------------------ */
.bc-wband__head { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 32px 80px; align-items: end; }
.bc-wband__head p { margin-top: 16px; font-size: 17px; }
.bc-wband__stat { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.4; }

.bc-spread { position: relative; margin: 40px 0 0; }
.bc-spread__caption { position: absolute; top: 0; right: 0; font-size: 12px; color: rgba(255, 255, 255, .7); }
.bc-spread__plot { position: relative; height: 128px; }
/* Plot, axis and legend share one inset so dots line up with the 10x / 25x boundaries. */
.bc-spread__plot, .bc-spread__axis, .bc-spread__legend { margin-left: 12px; margin-right: 12px; }
.bc-spread__col { position: absolute; bottom: 0; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.bc-spread__dots { display: flex; flex-direction: column-reverse; gap: 4px; padding-bottom: 8px; }
.bc-spread__dots i { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.bc-spread__x { position: absolute; top: calc(100% + 18px); font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.bc-spread__axis { display: grid; grid-template-columns: var(--easy) calc(var(--fair) - var(--easy)) 1fr; gap: 3px; height: 8px; }
.bc-spread__axis span { border-radius: 4px; }
.bc-spread__axis span:nth-child(1) { background: #b9e3bd; }
.bc-spread__axis span:nth-child(2) { background: #f5dc8f; }
.bc-spread__axis span:nth-child(3) { background: #f2b8c0; }
.bc-spread__legend { display: grid; grid-template-columns: var(--easy) calc(var(--fair) - var(--easy)) 1fr; gap: 3px; margin-top: 40px; font-size: 13px; color: rgba(255, 255, 255, .75); }

.bc-calc { display: grid; grid-template-columns: minmax(0, 1.2fr) 180px 120px auto minmax(0, 1.6fr); align-items: end; gap: 16px 24px; margin-top: 48px; padding: 24px 28px; border-radius: 16px; background: rgba(255, 255, 255, .08); }
.bc-calc__title { font-size: 17px; font-weight: 700; color: #fff; }
.bc-calc__intro p:last-child { font-size: 13px; }
.bc-calc__field { display: grid; gap: 6px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .8); }
.bc-calc__input { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 8px; background: #fff; color: var(--bc-muted); }
.bc-calc__input input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--bc-ink); }
.bc-calc__input input:focus { outline: none; }
.bc-calc__input:focus-within { box-shadow: var(--bc-focus); }
.bc-calc__eq { align-self: center; font-size: 24px; color: rgba(255, 255, 255, .7); }
.bc-calc__out { display: grid; gap: 4px; }
.bc-calc__out strong { font-size: 19px; line-height: 1.35; color: #fff; }
.bc-calc__out span { font-size: 13px; }

/* Guide ------------------------------------------------------------------- */
.bc-guide__article h2 + p, .bc-guide__article h2 + .bc-lp-table-wrap { margin-top: 16px; }
.bc-guide__article h2:not(:first-child) { margin-top: 40px; }
.bc-terms th { width: 160px; padding: 18px 20px; background: transparent; font-size: 15px; vertical-align: top; }
.bc-terms td { padding: 18px 20px; font-size: 15px; line-height: 1.6; color: var(--bc-text); }
.bc-terms tr:first-child th, .bc-terms tr:first-child td { border-top: 0; }
.bc-terms tr:nth-child(odd) { background: var(--bc-lilac); }
.bc-terms th { border-top: 1px solid var(--bc-border); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
	.bc-orows-head { display: none; }
	.bc-orow { grid-template-columns: 96px minmax(0, 1fr) 150px 190px; grid-template-areas: "thumb info wager cta" "thumb info cashout cta" "thumb info code cta" "warn warn warn warn"; row-gap: 10px; }
	.bc-orow__thumb { grid-area: thumb; align-self: start; }
	.bc-orow__info { grid-area: info; align-self: start; }
	.bc-orow__wager { grid-area: wager; }
	.bc-orow__cashout { grid-area: cashout; }
	.bc-orow__code { grid-area: code; }
	.bc-orow__cta { grid-area: cta; }
	.bc-orow__warn { grid-area: warn; }
	.bc-orow__cashout .bc-orow__label, .bc-orow__code .bc-orow__label { display: block; }
	.bc-calc { grid-template-columns: 1fr 1fr; }
	.bc-calc__intro, .bc-calc__out { grid-column: 1 / -1; }
	.bc-calc__eq { display: none; }
}

@media (max-width: 991px) {
	.bc-wband__head { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
	/* Phones go straight from the intro to the full list (which has the same offers first). */
	.bc-ndb .bc-picks, .bc-ndb .bc-jump { display: none; }
	.bc-ndb .bc-lp-hero { padding-bottom: 28px; }

	.bc-toolbar { align-items: stretch; }
	.bc-pills { flex-wrap: nowrap; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; }
	.bc-sort, .bc-sort select { width: 100%; }

	/* Offer rows become cards */
	.bc-orows-wrap { border: 0; border-radius: 0; background: transparent; overflow: visible; }
	.bc-orows { display: grid; gap: 14px; }
	.bc-orow { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "thumb info info" "wager wager wager" "cashout cashout code" "cta cta cta" "warn warn warn"; column-gap: 12px; row-gap: 14px; padding: 16px; border: 1px solid var(--bc-border); border-radius: 16px; background: #fff; }
	.bc-orow:first-child { border-top: 1px solid var(--bc-border); }
	.bc-orow__thumb { width: 72px; align-self: center; }
	.bc-orow__title { font-size: 17px; }
	.bc-orow__casino { font-size: 13px; }
	.bc-orow__wager { grid-template-columns: auto auto 1fr; padding: 12px 14px; border-radius: 10px; background: var(--bc-mist); }
	.bc-orow__wager .bc-orow__label { display: block; grid-column: 1 / -1; }
	.bc-orow__wager .bc-meter { grid-column: 3; grid-row: 2; }
	.bc-orow__cashout, .bc-orow__code { display: grid; gap: 2px; align-content: start; }
	.bc-orow__cta { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; }
	.bc-orow__cta .bc-btn { grid-column: 1 / -1; }
	.bc-orow__cta .bc-rg { text-align: right; }
	.bc-orow__warn { margin-top: 0; }
	.bc-orows__more { margin-top: 14px; border: 1.5px solid var(--bc-aubergine); border-radius: 10px; }

	.bc-stale__head { padding: 16px; }
	.bc-stale__state span { display: none !important; }
	.bc-srow { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
	.bc-srow .bc-btn { justify-self: start; }

	.bc-wband__stat { font-size: 19px; }
	.bc-spread { margin-top: 32px; }
	.bc-spread__caption { position: static; display: block; margin-bottom: 12px; }
	.bc-spread__plot { height: 110px; }
	.bc-spread__plot, .bc-spread__axis, .bc-spread__legend { margin-left: 8px; margin-right: 8px; }
	.bc-spread__dots i { width: 12px; height: 12px; }
	.bc-spread__x { font-size: 11px; }
	.bc-spread__legend { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 36px; }
	.bc-calc { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; margin-top: 36px; }
	.bc-calc__out strong { font-size: 17px; }

	.bc-terms th, .bc-terms td { display: block; width: auto; }
	.bc-terms th { padding-bottom: 0; border-top: 1px solid var(--bc-border); }
	.bc-terms td { padding-top: 6px; border-top: 0; }
}
