/* Ledger chrome: mega menu and rich footer (all pages). */

/* Payment marks */
.lg-pm { flex: none; display: inline-grid; place-items: center; width: 36px; height: 24px; border-radius: 3px; font: 800 9px/1 var(--sans); color: #fff; background: var(--ink-2); vertical-align: middle; }
.lg-pm--interac { background: #f5b800; color: #1d2733; }
.lg-pm--interac::after { content: "INTERAC"; font-size: 6.5px; }
.lg-pm--card { background: #1a1f71; }
.lg-pm--card::after { content: "CARD"; }
.lg-pm--paypal { background: #003087; }
.lg-pm--paypal::after { content: "PP"; }
.lg-pm--apple { background: #111; }
.lg-pm--apple::after { content: "PAY"; }
.lg-pm--google { background: #fff; color: #444; box-shadow: inset 0 0 0 1px var(--rule); }
.lg-pm--google::after { content: "G PAY"; }
.lg-pm--idebit { background: #2c7a4b; }
.lg-pm--idebit::after { content: "iDB"; }
.lg-pm--bank { background: #0e6670; }
.lg-pm--bank::after { content: "BANK"; }
.lg-pm--wallet { background: #6b4fa0; }
.lg-pm--wallet::after { content: "WALLET"; font-size: 6.5px; }
.lg-pm--voucher { background: #2a7fb8; }
.lg-pm--voucher::after { content: "PIN"; }

/* Mega menu */
.lg-nav--mega { position: relative; }
.lg-mm { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.lg-mm__top { display: flex; align-items: center; gap: 6px; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; }
.lg-mm__top::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: .55; }
.lg-mm__item.is-open > .lg-mm__top, .lg-mm__top:hover { border-bottom-color: var(--teal); color: var(--teal-2); }
.lg-mm__panel { display: none; }
.lg-mm__h { margin: 0 0 10px; font: 700 11.5px var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.lg-mm__list { list-style: none; margin: 0; padding: 0; }
.lg-mm__list li { margin: 0 0 2px; }
.lg-mm__list a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.lg-mm__list a:hover { color: var(--teal-2); text-decoration: underline; }
.lg-mm__list--2 { columns: 2; column-gap: 24px; }
.lg-mm__ops { list-style: none; margin: 0; padding: 0; }
.lg-mm__ops a { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule-2); color: var(--ink); text-decoration: none; }
.lg-mm__ops a:hover .lg-mm__opn { color: var(--teal-2); text-decoration: underline; }
.lg-mm__logo { flex: none; width: 32px; height: 32px; border-radius: 4px; object-fit: contain; background: #fff; border: 1px solid var(--rule-2); display: grid; place-items: center; font: 700 15px var(--serif); }
.lg-mm__opn { flex: 1; min-width: 0; font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.lg-mm__opn small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-3); }
.lg-mm__sc { font: 700 16px var(--sans); color: var(--teal-2); }
.lg-mm__more, .lg-mm__chk { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--teal-2); }
.lg-mm__more::after { content: " \2192"; }
.lg-mm__chk { background: var(--ink); color: #fff; text-decoration: none; padding: 8px 12px; border-radius: var(--r); }
.lg-mm__chk:hover { background: var(--teal-2); color: #fff; }
.lg-mm__col--note p:not(.lg-mm__h) { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.lg-mm__provs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lg-mm__provs a { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); text-decoration: none; border-radius: 2px; }
.lg-mm__provs a.is-open { border-left: 4px solid var(--teal); }
.lg-mm__provs a:hover { border-color: var(--ink); }
.lg-mm__provs b { font: 700 14px var(--sans); width: 28px; }
.lg-mm__provs span { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.lg-mm__provs small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.lg-mm__pays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; }
.lg-mm__pays a { display: flex; gap: 10px; align-items: center; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.lg-mm__pays a:hover { color: var(--teal-2); text-decoration: underline; }
.lg-mm__draw { margin-bottom: 10px; }
.lg-mm__draw p { margin: 0 0 4px; font-size: 14px; }
.lg-mm__draw time { color: var(--ink-3); font-size: 13px; margin-left: 6px; }
.lg-mm__draw .lg-ball { width: 30px; height: 30px; font-size: 13px; }
.lg-mm__games { list-style: none; margin: 0; padding: 0; }
.lg-mm__games li { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px; }
.lg-mm__games time { color: var(--ink-3); }
.lg-mm__games i { color: var(--ink-3); }
.lg-mm__small { font-size: 12.5px; color: var(--ink-3); margin: 6px 0 0; }

@media (min-width: 981px) {
	.lg-mm__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); box-shadow: 0 18px 30px rgba(29, 39, 51, .16); padding: 22px 0 24px; }
	.lg-mm__item.is-open > .lg-mm__panel { display: block; }
	.lg-mm__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.lg-mm__col--wide { grid-column: span 2; }
}
@media (max-width: 980px) {
	.lg-nav--mega.is-open { display: block; max-height: calc(100vh - 60px); overflow-y: auto; }
	.lg-mm { flex-direction: column; gap: 0; }
	.lg-mm__top { justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--rule-2); }
	.lg-mm__item.is-open > .lg-mm__top::after { transform: rotate(225deg) translate(-2px, -2px); }
	.lg-mm__item.is-open > .lg-mm__panel { display: block; padding: 10px 0 16px; border-bottom: 1px solid var(--rule); }
	.lg-mm__grid { display: grid; gap: 18px; padding: 0; }
	.lg-mm__provs, .lg-mm__pays { grid-template-columns: 1fr 1fr; }
	.lg-mm__games li { grid-template-columns: 1fr; gap: 0; }
}

/* Rich footer */
.lg-foot--rich { padding: 0 0 26px; }
.lg-fband { background: #141c25; border-bottom: 1px solid #3a4553; padding: 22px 0; }
.lg-fband__in { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.lg-fband__age { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid #fff; border-radius: 50%; font: 700 20px var(--sans); color: #fff; }
.lg-fband__t p { margin: 0; }
.lg-fband__h { font: 600 21px var(--serif); color: #fff; margin-bottom: 4px !important; }
.lg-fband__help { border: 1px solid #4a5563; padding: 12px 16px; min-width: 260px; }
.lg-fband__help p { margin: 0; }
.lg-fband__k { font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .1em; color: #8d96a1; }
.lg-fband__n { color: #fff; font-weight: 600; }
.lg-fband__tel { font: 700 22px var(--sans); color: #9fd6dc !important; text-decoration: none; }
.lg-fcols { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; padding: 30px 0 22px; border-bottom: 1px solid #3a4553; }
.lg-fcol p { margin: 0 0 10px; }
.lg-fcol__h { font: 700 11.5px var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #8d96a1; }
.lg-fcol ul { list-style: none; margin: 0; padding: 0; }
.lg-fcol li { margin-bottom: 7px; }
.lg-fcol a { text-decoration: none; }
.lg-fcol a:hover { text-decoration: underline; color: #9fd6dc; }
.lg-fchk label { display: block; font-weight: 700; color: #fff; margin: 14px 0 6px; }
.lg-fchk span { display: flex; }
.lg-fchk input { flex: 1; min-width: 0; font: 500 15px var(--sans); padding: 8px 10px; border: 1px solid #4a5563; background: #2b3644; color: #fff; border-radius: var(--r) 0 0 var(--r); }
.lg-fchk button { font: 700 14px var(--sans); background: #9fd6dc; color: #141c25; border: 0; padding: 0 14px; border-radius: 0 var(--r) var(--r) 0; cursor: pointer; }
.lg-frow { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid #3a4553; }
.lg-frow__k { margin: 0; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .1em; color: #8d96a1; min-width: 210px; }
.lg-fregs, .lg-fpays { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lg-fregs a { display: inline-block; padding: 4px 10px; border: 1px solid #4a5563; border-radius: 2px; font-size: 13px; font-weight: 600; text-decoration: none; }
.lg-fregs a:hover { border-color: #9fd6dc; color: #9fd6dc; }
.lg-fpays li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; margin-right: 6px; }
.lg-foot--rich .lg-foot__small { margin-top: 16px; }
@media (max-width: 980px) {
	.lg-fband__in { grid-template-columns: auto 1fr; }
	.lg-fband__help { grid-column: 1 / -1; }
	.lg-fcols { grid-template-columns: 1fr 1fr; }
	.lg-fcol--about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.lg-fband__in { grid-template-columns: 1fr; }
	.lg-fband__age { width: 52px; height: 52px; font-size: 17px; }
	.lg-frow__k { min-width: 0; width: 100%; }
}

/* Image viewer */
img.lg-zv-able { cursor: zoom-in; }
html.lg-zv-open, html.lg-zv-open body { overflow: hidden; }
.lg-zv { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 16, 22, .98); display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: 60px minmax(0, 1fr); align-items: center; }
.lg-zv[hidden] { display: none; }
.lg-zv__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 0 14px 0 22px; color: #d9dde2; font: 600 14px var(--sans); }
.lg-zv__x { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font: 400 30px/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.lg-zv__x:hover, .lg-zv__x:focus-visible { background: #fff; color: var(--ink); }
.lg-zv__fig { grid-column: 2; grid-row: 2; margin: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 0 18px; }
.lg-zv__img { max-width: 100%; max-height: calc(100% - 60px); object-fit: contain; background: #fff; border-radius: 3px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); transition: opacity .15s; }
.lg-zv__img.is-loading { opacity: .35; }
.lg-zv__cap { color: #d9dde2; font-size: 14px; line-height: 1.4; text-align: center; max-width: 80ch; margin-top: 10px; }
.lg-zv__nav { grid-row: 2; width: 50px; height: 50px; justify-self: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.lg-zv__nav::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; }
.lg-zv__nav--prev { grid-column: 1; }
.lg-zv__nav--prev::after { transform: translate(-30%, -50%) rotate(135deg); }
.lg-zv__nav--next { grid-column: 3; }
.lg-zv__nav--next::after { transform: translate(-70%, -50%) rotate(-45deg); }
.lg-zv__nav:hover, .lg-zv__nav:focus-visible { background: rgba(255, 255, 255, .25); }
.lg-zv.is-single .lg-zv__nav { visibility: hidden; }
@media (max-width: 720px) {
	.lg-zv { grid-template-columns: minmax(0, 1fr); grid-template-rows: 56px minmax(0, 1fr) 72px; }
	.lg-zv__fig { grid-column: 1; padding: 0 8px; }
	.lg-zv__img { max-height: calc(100% - 70px); }
	.lg-zv__cap { font-size: 13px; }
	.lg-zv__nav { grid-row: 3; grid-column: 1; }
	.lg-zv__nav--prev { justify-self: start; margin-left: 28px; }
	.lg-zv__nav--next { justify-self: end; margin-right: 28px; }
}

/* Section infographics (Provinces, Casinos): about 28% narrower on desktop, aligned with the text column */
@media (min-width: 981px) {
	#lg-main figure:has(img[src*="/uploads/ledger/cs/"]),
	#lg-main figure:has(img[src*="/uploads/ledger/pv/"]),
	#lg-main figure:has(source[srcset*="/uploads/ledger/cs/"]),
	#lg-main figure:has(source[srcset*="/uploads/ledger/pv/"]) { max-width: 72% !important; width: auto !important; margin-left: 0 !important; margin-right: auto !important; }
	#lg-main figure:has(img[src*="/uploads/ledger/cs/"]) img,
	#lg-main figure:has(img[src*="/uploads/ledger/pv/"]) img { width: 100%; height: auto; }
}
