/* JK88 small additions on top of the unchanged template CSS (nav sub-menus, language switcher,
   hero image fit, scrollable tables, Hot Games cards, cookie notice). Uses the template's own tokens. */
.skip-link{position:absolute;left:.75rem;top:.5rem;z-index:2000;padding:.6rem 1rem;border-radius:.5rem;background:var(--brand-accent);color:#fff;font-weight:800;text-decoration:none}

/* Language switcher EN | BM */
.nav-tools{gap:.5rem}
.lang-switch{display:inline-flex;align-items:center;gap:.1rem;font-size:.85rem;font-weight:800}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 .5rem;border-radius:999px;color:var(--brand-text);text-decoration:none}
.lang-switch a[aria-current="true"]{background:color-mix(in srgb,var(--brand-accent) 18%,transparent);color:var(--brand-accent)}
.lang-switch .sep{color:var(--brand-muted)}
.nav-register{white-space:nowrap}

/* Nav sub-menus (hierarchy); work without JS via :hover / :focus-within */
.navbar-nav .nav-item{position:relative}
.navbar-nav .nav-more{background:none;border:0;cursor:pointer;width:100%;text-align:left}
.nav-caret{display:inline-block;width:.42em;height:.42em;margin-left:.4em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-.15em) rotate(45deg)}
.sub-menu{list-style:none;margin:0;padding:.35rem}
.sub-menu a{display:block;padding:.5rem .75rem;border-radius:999px;color:var(--brand-text);text-decoration:none;font-weight:700;font-size:.88rem}
.sub-menu a:hover,.sub-menu a[aria-current="page"]{background:color-mix(in srgb,var(--brand-accent) 18%,transparent);color:var(--brand-accent)}
@media(min-width:1200px){
  .sub-menu{position:absolute;top:100%;left:0;min-width:230px;background:var(--brand-panel);border:1px solid rgba(0,0,0,.08);border-radius:.6rem;box-shadow:0 10px 28px rgba(0,0,0,.18);opacity:0;visibility:hidden;z-index:1040}
  .sub-menu.sub-wide{min-width:430px;display:grid;grid-template-columns:1fr 1fr;left:auto;right:0}
  .nav-item.has-sub:hover>.sub-menu,.nav-item.has-sub:focus-within>.sub-menu{opacity:1;visibility:visible}
}
@media(max-width:1199.98px){
  .navbar-collapse{max-height:calc(100vh - 80px);overflow-y:auto}
  .sub-menu{padding:0 0 .35rem 1rem}
  .sub-menu.sub-wide{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:575.98px){.sub-menu.sub-wide{grid-template-columns:1fr}}

/* Hero image inside the template hero panels */
.hero-dashboard .hero-visual img{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}

/* Content images and tables */
.content-figure{margin:1.25rem 0}
.content-figure img{width:100%;height:auto;display:block;border-radius:1rem}
.content-figure figcaption{font-size:.8rem;color:var(--brand-muted);margin-top:.4rem}
.portal-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;margin-bottom:1rem}
/* template table uses .table-dark on a light palette: striped/hover rows turned white-on-light; keep text readable */
.portal-table{--bs-table-striped-color:var(--brand-text);--bs-table-hover-color:var(--brand-text);--bs-table-active-color:var(--brand-text)}
.portal-table thead th{white-space:nowrap}
.portal-table tbody th{min-width:10rem}
/* template inverts the toggler icon (made for a dark nav); on this light nav it was invisible */
.navbar-toggler-icon{filter:none}
.content-figure{max-width:720px}
.media-story .content-figure{margin-left:auto;margin-right:auto}
.games-mosaic .mosaic-img{height:auto;aspect-ratio:3/2}
.portal-table.table-wide{min-width:46rem}
.portal-table.table-mid{min-width:32rem}
.table-hint{display:none;font-size:.8rem;color:var(--brand-muted)}
@media(max-width:767.98px){.table-hint{display:block}}

/* Cards built from content */
.card-thumb{width:100%;height:150px;object-fit:cover;display:block}
.mosaic-card h3 a{color:inherit;text-decoration:none}
.provider-group+.provider-group{margin-top:1rem}
.provider-group h3{font-size:.8rem;font-weight:900;color:var(--brand-accent);margin-bottom:.5rem}
.card-stack-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:.5rem;background:color-mix(in srgb,var(--brand-accent) 18%,transparent);color:var(--brand-accent);flex:0 0 42px}

/* Hot Games grid (home) */
.hot-card{display:flex;flex-direction:column;height:100%;background:var(--brand-panel-2);border:1px solid rgba(255,255,255,.10)}
.hot-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block}
.hot-card .hot-body{display:flex;flex-direction:column;flex:1;padding:1rem}
.hot-card .hot-body p{flex:1}

/* Sticky TOC sits under the sticky header on small screens */
@media(max-width:991.98px){.toc-compact{top:64px}}

/* Promo bar waits for the cookie choice; cookie notice */
#local-promo[hidden]{display:none!important}
.consent-banner{position:fixed;left:50%;transform:translateX(-50%);bottom:12px;z-index:1060;width:min(640px,calc(100% - 24px));background:var(--brand-panel);color:var(--brand-text);border:1px solid rgba(0,0,0,.10);border-radius:1rem;box-shadow:0 10px 28px rgba(0,0,0,.22);padding:1rem 1.1rem}
.consent-banner[hidden]{display:none}
.consent-banner p{font-size:.9rem;line-height:1.5}
.consent-banner .btn{min-width:120px;min-height:44px;font-weight:800}
.btn-consent-decline{background:var(--brand-panel-2);border:1px solid rgba(0,0,0,.2);color:var(--brand-text)}
@media(max-width:991.98px){.consent-banner{bottom:74px}}
