/* Partner banners — Efbet + Inbet
   Live 2026-11-13. Do not change site phones, addresses, hours or existing design.

   Desktop (when the viewport has room): position:fixed full-height side columns
   (top: 0; bottom: 0; height: 100vh) flush to the viewport edges (left: 0 /
   right: 0). The 160x600 banner is centered inside a brand-colored rail.
   Always visible while scrolling, never hidden on scroll.
   Narrow / not enough margin: 320x100 + 320x50 stack above the footer,
   only as wide as the banners, centered, no full-width background. No rails.
*/
.pb-root {
  --pb-gap: 8px;          /* gap between the inner edge of a rail and the content column */
  --pb-rail-w: 160px;
  --pb-content: 1120px;
  --pb-header: 80px;
  --pb-label: #333333;
}

.pb-root--bipbro    { --pb-content: 1120px; --pb-header: 72px; }
.pb-root--badboys   { --pb-content: 1080px; --pb-header: 72px; }
.pb-root--srebrenia { --pb-content: 1170px; --pb-header: 80px; }
.pb-root--evroto    { --pb-content: 1200px; --pb-header: 90px; }

/* ---- Side rails ----
   Full-height fixed columns: top: 0; bottom: 0; height: 100vh, flush to
   the viewport edges (left: 0 / right: 0). The 160x600 banner sits inside,
   vertically centered. Brand fill is sampled from each banner's edge:
   Efbet near-black #000001, Inbet navy #001335.
   z-index stays below sticky site headers so nav/logo are not covered. */
.pb-rail {
  display: none;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 20;
  width: var(--pb-rail-w);
  margin: 0;
  padding: 8px 0;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  pointer-events: none;
}
.pb-rail *,
.pb-rail *::before,
.pb-rail *::after { box-sizing: border-box; }
.pb-rail__label,
.pb-rail__link { pointer-events: auto; }

.pb-rail--left  { left: 0; right: auto; }
.pb-rail--right { right: 0; left: auto; }
/* !important: evroto Mercury has `body.home aside { background: transparent !important; }` */
aside.pb-rail.pb-rail--efbet,
.pb-rail.pb-rail--efbet { background: #000001 !important; }
aside.pb-rail.pb-rail--inbet,
.pb-rail.pb-rail--inbet { background: #001335 !important; }

.pb-root.pb-has-rails .pb-rail,
.pb-has-rails .pb-rail {
  display: flex;
}

.pb-rail__label {
  flex: 0 0 auto;
  margin: 0 6px 8px;
  padding: 4px 6px;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 4px;
}
.pb-rail--efbet .pb-rail__label { color: #ffd000; background: rgba(0, 0, 0, 0.55); }
.pb-rail--inbet .pb-rail__label { color: #fff; background: rgba(0, 16, 48, 0.55); }
.pb-rail__link {
  display: block;
  line-height: 0;
  text-decoration: none;
  border: 0;
}
.pb-rail__link img {
  display: block;
  width: 160px;
  height: 600px;
  max-width: 100%;
  border: 0;
}

/* ---- Narrow / mobile stack (in normal flow, above the footer) ----
   Only as wide as the 320px banners, centered. No full-width band,
   no full-width background, no edge-to-edge borders. */
.pb-partners--narrow {
  --pb-strip-label: #5c5c5c;
  --pb-strip-gap: 12px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0 auto;
  background: transparent;
  border: 0;
  padding: 16px 0;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}
.pb-partners--narrow *,
.pb-partners--narrow *::before,
.pb-partners--narrow *::after { box-sizing: border-box; }
.pb-partners__inner {
  width: 320px;
  max-width: 100%;
  margin: 0;
  background: transparent;
}
.pb-partners__label {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--pb-strip-label);
  font-weight: 500;
}
.pb-partners__row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--pb-strip-gap);
}
.pb-partners__link {
  display: block;
  line-height: 0;
  text-decoration: none;
  border: 0;
}
.pb-partners__link img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
  border: 0;
}

.pb-root.pb-has-rails .pb-partners--narrow,
.pb-has-rails .pb-partners--narrow { display: none; }

/* CSS fallback if JS has not run, using column + 2*160 + 2*8.
   JS then refines with clientWidth (excludes scrollbar) and a measured wrap. */
@media (min-width: 1456px) {
  .pb-root--bipbro:not(.pb-js) .pb-rail { display: flex; }
  .pb-root--bipbro:not(.pb-js) .pb-partners--narrow { display: none; }
}
@media (min-width: 1416px) {
  .pb-root--badboys:not(.pb-js) .pb-rail { display: flex; }
  .pb-root--badboys:not(.pb-js) .pb-partners--narrow { display: none; }
}
@media (min-width: 1506px) {
  .pb-root--srebrenia:not(.pb-js) .pb-rail { display: flex; }
  .pb-root--srebrenia:not(.pb-js) .pb-partners--narrow { display: none; }
}
@media (min-width: 1536px) {
  .pb-root--evroto:not(.pb-js) .pb-rail { display: flex; }
  .pb-root--evroto:not(.pb-js) .pb-partners--narrow { display: none; }
}

.pb-partners--bipbro    { --pb-strip-label: #4d6256; }
.pb-partners--badboys   { --pb-strip-label: #6b5d52; }
.pb-partners--srebrenia { --pb-strip-label: #555555; }
.pb-partners--evroto    { --pb-strip-label: #9AA4B2; }

@media print {
  .pb-rail, .pb-partners { display: none !important; }
}
