/* /bonuses/free-bets/ only (mu-plugin betadvisor-page-free-bets.php). Prefix fb-. */

/* ----- Compact page head so the offers sit in the first screen ----- */
.fb-page .page-head { padding: 14px 0 16px; }
.fb-page .page-head .eyebrow { display: none; }
.fb-page .page-head .page-title, .fb-page .page-head h1 { font-size: clamp(1.55rem, 4.6vw, 2.3rem); margin: .15em 0 .25em; }
.fb-page .page-head .lead { font-size: 1rem; margin: 0 0 .4em; max-width: 62ch; }
.fb-page .page-head .meta-line { margin: 0; font-size: .82rem; }
.fb-page .tpl-bonus > .wrap > .disclosure, .fb-page .tpl-bonus > .wrap > .notice { display: none; }
.fb-page .tpl-bonus > .wrap > .entry { margin-top: 14px; }
@media (max-width: 640px) {
	.fb-page .page-head .lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.fb-page .tpl-bonus > .wrap > .entry { padding-top: 12px; }
}

/* ----- Offers block ----- */
.fb-offers { margin: 0 0 26px; }
.fb-offers__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 12px; }
.fb-offers__t { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--green); }
.fb-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.fb-filter::-webkit-scrollbar { display: none; }
.fb-filter button { flex: none; font: inherit; font-size: .82rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fbfaf6; color: var(--ink); cursor: pointer; }
.fb-filter button b { font-weight: 800; color: var(--green-2); margin-left: 2px; }
.fb-filter button.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.fb-filter button.is-on b { color: var(--lime); }
.fb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.fb-card { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); position: relative; }
.fb-card[hidden] { display: none; }
.fb-card:first-child { border: 2px solid var(--gold); }
.fb-card__brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fb-card__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; }
.fb-card__brand .rv-tile { width: 62px; height: 40px; }
.fb-card__main { min-width: 0; }
.fb-card__name { margin: 0; font-weight: 800; font-size: .98rem; line-height: 1.2; }
.fb-card__score { color: var(--green-2); font-weight: 800; font-size: .86rem; }
.fb-card__score small { color: var(--ink-soft); font-weight: 600; }
.fb-card__offer { margin: 3px 0 6px; font-weight: 700; font-size: .92rem; line-height: 1.35; color: var(--ink); }
.fb-card__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.fb-tag { margin: 0; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #f1efe8; color: var(--ink-soft); }
.fb-tag--type { background: var(--green-soft); color: var(--green); }
.fb-card--signup .fb-tag--type { background: rgba(183, 227, 74, .35); }
.fb-tag--rule { background: var(--red-soft); color: #8a4a17; }
.fb-tag--lic { background: #eef2ff; color: #2c3e7a; }
.fb-card__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.fb-card__btns .rv-btn { margin: 0; min-height: 40px; padding: 8px 14px; font-size: .92rem; justify-content: center; text-align: center; }
@media (max-width: 480px) { .fb-tag--rule, .fb-tag--lic { display: none; } .fb-card { padding: 10px; gap: 6px 10px; } .fb-card__offer { margin: 2px 0 5px; } .fb-page .page-head .meta-line span + span::before { display: none; } .fb-page .page-head .meta-line { display: flex; gap: 10px; flex-wrap: wrap; } .fb-page .page-head .meta-line > * { margin: 0; } .fb-offers__bar { margin-bottom: 10px; } }
.fb-offers__note { margin: 10px 0 0; font-size: .76rem; line-height: 1.45; color: var(--ink-soft); }

/* ----- Quick answer + numbered contents ----- */
.fb-answer { margin: 0 0 22px; padding: 16px 18px; border-radius: var(--radius); background: var(--green); color: #dbe9e2; }
.fb-answer p { margin: 0 0 .5em; }
.fb-answer p:last-child { margin: 0; }
.fb-answer strong { color: #fff; }
.fb-answer__k { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.fb-carnet { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: fbc; }
@media (min-width: 760px) { .fb-carnet { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fb-carnet li { margin: 0; counter-increment: fbc; }
.fb-carnet a { display: flex; gap: 8px; align-items: baseline; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf6; text-decoration: none; color: var(--ink); font-size: .84rem; font-weight: 700; line-height: 1.25; height: 100%; }
.fb-carnet a::before { content: counter(fbc, decimal-leading-zero); font-family: var(--font-head); color: var(--green-2); font-weight: 800; }
.fb-carnet a:hover { border-color: var(--green-2); background: var(--green-soft); }

/* ----- Cards, compare and steps ----- */
.fb-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 0 0 1.2em; }
@media (min-width: 700px) { .fb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fb-box { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfaf6; min-width: 0; }
.fb-box h3 { margin: 0 0 6px; font-size: 1.02rem; }
.fb-box p { margin: 0 0 .5em; font-size: .94rem; }
.fb-box p:last-child { margin: 0; }
.fb-box--good { border-left: 4px solid var(--green-2); }
.fb-box--warn { border-left: 4px solid var(--red-line); background: var(--red-soft); }
.fb-big { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--green); line-height: 1.1; margin: 4px 0; }
.fb-keep { margin: 0 0 1.2em; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--green-soft); border-left: 4px solid var(--lime); font-size: .95rem; }
.fb-keep strong { color: var(--green); }
.fb-steps { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; counter-reset: fbs; }
@media (min-width: 760px) { .fb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fb-steps li { margin: 0; position: relative; padding: 12px 14px 12px 52px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; counter-increment: fbs; font-size: .94rem; }
.fb-steps li::before { content: counter(fbs); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--green); font-weight: 800; font-size: .85rem; }
.fb-steps strong { display: block; color: var(--green); }
.fb-check { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .fb-check { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fb-check li { margin: 0; padding: 10px 12px 10px 40px; position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .93rem; }
.fb-check li::before { content: "?"; position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: .78rem; }
.fb-check strong { color: var(--ink); }
.fb-scams { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 8px; }
.fb-scams li { margin: 0; padding: 10px 12px 10px 44px; position: relative; border: 1px solid var(--line); border-left: 4px solid var(--red-line); border-radius: var(--radius-sm); background: #fff; font-size: .93rem; }
.fb-scams li::before { content: "!"; position: absolute; left: 14px; top: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red-soft); color: #a4511b; font-weight: 800; font-size: .78rem; }
.entry-content .fb-tablewrap { overflow-x: auto; margin: 0 0 1.2em; }
.entry-content .fb-tablewrap table { margin: 0; min-width: 520px; }

/* ----- Chart ----- */
.fb-fig { margin: 0 0 1.4em; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fb-fig__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; align-items: baseline; margin: 0 0 6px; }
.fb-fig__t { margin: 0; font-weight: 800; color: var(--green); font-family: var(--font-head); }
.fb-fig__k { margin: 0; font-size: .78rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fb-fig__k span { display: inline-block; width: 18px; height: 4px; border-radius: 2px; }
.fb-fig__k .k1 { background: var(--green-2); }
.fb-fig__k .k2 { background: #c98a00; }
.fb-fig__scroll { overflow-x: auto; }
.fb-fig svg { display: block; width: 100%; min-width: 460px; height: auto; }
.fb-fig text { font-family: var(--font); fill: var(--ink); }
.fb-fig .ax { font-size: 13px; fill: var(--ink-soft); }
.fb-fig .g { stroke: var(--line); stroke-width: 1; }
.fb-fig .band { fill: rgba(183, 227, 74, .22); }
.fb-fig .bandt { font-size: 12px; font-weight: 700; fill: var(--green-2); }
.fb-fig .l1 { fill: none; stroke: var(--green-2); stroke-width: 3; stroke-linejoin: round; }
.fb-fig .d1 { fill: var(--green-2); }
.fb-fig .v1 { font-size: 12px; font-weight: 700; fill: var(--green); }
.fb-fig .l2 { stroke: #c98a00; stroke-width: 2.5; stroke-dasharray: 6 5; }
.fb-fig .v2 { font-size: 12px; font-weight: 700; fill: #8a5f00; }
.fb-fig figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.fb-card { align-content: start; }
.fb-card__btns { align-self: end; }
@media (min-width: 900px) { .fb-card { grid-template-rows: auto 1fr; } }
