/*
 * Końcowe poprawki interfejsu wbudowane w motyw.
 * Plik jest wersjonowany czasem modyfikacji, aby ominąć starą kopię z cache.
 */

/* Pelny system wspolnego menu - niezalezny od stylow konkretnej podstrony. */
:root {
  --profile-ink:#0d1512;
  --profile-mid:rgba(13,21,18,.62);
  --profile-line:rgba(13,21,18,.11);
  --profile-green:#0c7951;
  --profile-nav:rgba(255,255,255,.82);
  --profile-hover:rgba(13,21,18,.055);
  --profile-display:"Archivo",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --profile-mono:'JetBrains Mono',monospace;
}
html[data-theme="dark"] {
  --profile-ink:#edf3f0;
  --profile-mid:rgba(237,243,240,.62);
  --profile-line:rgba(237,243,240,.13);
  --profile-nav:rgba(11,18,15,.84);
  --profile-hover:rgba(255,255,255,.07);
}
.profile-nav,.profile-nav *,.profile-mobile-menu,.profile-mobile-menu * { box-sizing:border-box; }
.profile-nav a,.profile-mobile-menu a { color:inherit;text-decoration:none; }
.profile-nav button { font:inherit; }
.profile-nav {
  position:fixed !important;
  inset:20px auto auto 50% !important;
  z-index:100 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  width:min(960px,calc(100% - 32px)) !important;
  min-height:58px !important;
  margin:0 !important;
  padding:7px 10px !important;
  transform:translateX(-50%) !important;
  border:1px solid var(--profile-line) !important;
  border-radius:999px !important;
  background:var(--profile-nav) !important;
  box-shadow:0 18px 44px -30px rgba(7,12,10,.7) !important;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
}
.profile-nav__group { display:flex !important;align-items:center;gap:2px;flex:1; }
.profile-nav__group--left { justify-content:flex-end; }
.profile-nav__group--right { justify-content:flex-start; }
.profile-nav__group > a { display:block;padding:9px 11px;border-radius:999px;color:var(--profile-mid);font-size:12.5px;font-weight:600;white-space:nowrap; }
.profile-nav__group > a:hover,.profile-nav__group > a[aria-current="page"] { background:var(--profile-hover);color:var(--profile-ink); }
.profile-nav .profile-nav__mark {
  position:relative !important;
  display:grid !important;
  place-items:center !important;
  width:46px !important;
  height:46px !important;
  flex:0 0 46px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid var(--profile-line) !important;
  border-radius:14px !important;
  background:var(--profile-hover) !important;
  isolation:isolate;
}
.profile-nav__mark::before { content:"";position:absolute;right:-3px;bottom:-3px;z-index:-1;width:24px;height:24px;border-radius:8px;background:radial-gradient(circle,rgba(47,208,140,.55),rgba(47,208,140,0) 70%);filter:blur(6px); }
.profile-nav .profile-nav__logo { display:block !important;width:24px !important;height:auto !important;max-width:none !important;margin:0 !important; }
.profile-nav .profile-nav__logo--dark { display:none !important; }
html[data-theme="dark"] .profile-nav .profile-nav__logo--light { display:none !important; }
html[data-theme="dark"] .profile-nav .profile-nav__logo--dark { display:block !important; }
.profile-theme-toggle { display:flex !important;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 11px 0 6px;border:1px solid var(--profile-line);border-radius:999px;background:var(--profile-hover);color:var(--profile-ink);font-family:var(--profile-mono);font-size:10.5px;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease; }
.profile-theme-toggle:hover { border-color:rgba(12,121,81,.34);background:rgba(12,121,81,.1); }
.profile-theme-toggle:focus-visible { outline:2px solid #0c7951;outline-offset:2px; }
.profile-theme-toggle__icon { display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--profile-ink);color:var(--profile-nav);font-size:14px;line-height:1;transition:transform .25s ease; }
.profile-theme-toggle:active .profile-theme-toggle__icon { transform:rotate(20deg) scale(.92); }
.profile-nav__mobile-controls { display:none !important;align-items:center;gap:6px; }
.profile-nav__burger { display:none;position:relative;width:34px;height:34px;padding:0;border:1px solid var(--profile-line);border-radius:50%;background:var(--profile-hover);cursor:pointer; }
.profile-nav__burger i { position:absolute;left:9px;right:9px;height:1.5px;border-radius:2px;background:var(--profile-ink);transition:.25s; }
.profile-nav__burger i:nth-child(1) { top:10px; }
.profile-nav__burger i:nth-child(2) { top:16px; }
.profile-nav__burger i:nth-child(3) { top:22px; }
.profile-nav__burger.is-open i:nth-child(1) { top:16px;transform:rotate(45deg); }
.profile-nav__burger.is-open i:nth-child(2) { opacity:0; }
.profile-nav__burger.is-open i:nth-child(3) { top:16px;transform:rotate(-45deg); }

/* Panel mobilny wspolnego menu nie moze zajmowac miejsca w normalnym dokumencie. */
.profile-mobile-menu {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99 !important;
  display: block !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: rgba(243,246,244,.96) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: visibility .25s, opacity .25s;
}
html[data-theme="dark"] .profile-mobile-menu { background: rgba(7,12,10,.96) !important; }
.profile-mobile-menu.is-open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.profile-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 104px 7vw 40px;
  gap: 8px;
}
.profile-mobile-menu__inner > .profile-kicker {
  display: block;
  margin-bottom: 10px;
  color: #0c7951;
  font-size: 12px;
}
.profile-mobile-menu .profile-mobile-menu__inner > a {
  display: block;
  padding: 4px 0;
  color: var(--profile-ink, #101714);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(31px,10vw,54px);
  font-weight: 830;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.profile-mobile-menu .profile-mobile-menu__inner > a[aria-current="page"] { color: #0c7951; }
.profile-mobile-menu .profile-mobile-menu__inner > .profile-mobile-menu__contact {
  margin-top: 8px;
  padding: 12px 16px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg,#0c7951,#075f3e);
  color: #fff;
}
.profile-mobile-menu__quick {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(16,23,20,.14);
}
.profile-mobile-menu__quick span { color: #64706a; font-size: 11px; }
.profile-mobile-menu__quick a { color: #0c7951; font-size: clamp(15px,4.6vw,20px); overflow-wrap: anywhere; }

/* Sekcja 02 ma wyjsc poza dawny limit 720 px. */
.showcase-case--bukmacherskie-nagrody-case-study .showcase-list .showcase-item.showcase-item--awards-system {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: max(24px,3vw) !important;
  box-sizing: border-box;
  background: #f7f4ec;
}
.showcase-case--bukmacherskie-nagrody-case-study .showcase-item--awards-system > * {
  box-sizing: border-box;
}
.awards-data-notice {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 18px;
  align-items: center;
  width: min(1500px,calc(100% - 80px));
  margin: 42px auto;
  padding: 22px 26px;
  border: 1px solid rgba(191,151,73,.35);
  border-radius: 14px;
  background: linear-gradient(120deg,#16130d,#262015);
  color: #f7eed9;
}
.awards-data-notice > span { display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#c6a35d;color:#17120a;font-size:16px; }
.awards-data-notice p { margin:0;font-size:14px;line-height:1.65; }
.awards-data-notice strong { display:block;margin-bottom:3px;color:#fff;font-size:15px; }
.showcase-item--awards-system .showcase-item__head { width:min(1580px,100%) !important;margin:0 auto 74px !important; }
.showcase-item--awards-system .showcase-item__head h2 { max-width:none;font-size:clamp(56px,5.2vw,86px); }
.showcase-item--awards-system .showcase-signature { display:grid;grid-template-columns:minmax(300px,.85fr) 44px minmax(340px,1.15fr);gap:24px;min-height:132px;padding:26px 34px;border:1px solid rgba(195,157,79,.24);border-radius:18px;background:radial-gradient(circle at 78% 20%,rgba(190,149,65,.18),transparent 34%),linear-gradient(120deg,#111410,#1d1b13);color:#fff; }
.showcase-item--awards-system .showcase-signature__author,.showcase-item--awards-system .showcase-signature__project { height:80px;gap:18px; }
.showcase-item--awards-system .showcase-signature__author > img,.showcase-item--awards-system .showcase-signature__project > img { max-width:280px;height:72px; }
.showcase-item--awards-system .showcase-signature__author i { width:76px;height:76px;border:2px solid rgba(198,163,93,.7); }
.showcase-item--awards-system .showcase-signature__project { justify-content:flex-start; }
.showcase-item--awards-system .showcase-signature b { color:#e9cc8e;font-size:clamp(22px,2vw,34px);line-height:1.05; }
.showcase-item--awards-system .showcase-signature > strong { color:#c6a35d;font-size:34px;text-align:center; }
.showcase-item--awards-system .showcase-item__info { grid-template-columns:220px minmax(0,1fr);padding-top:38px; }
.showcase-item--awards-system .showcase-item__info p { max-width:930px;font-size:16px; }
.showcase-item--awards-system > .showcase-media { display:grid;grid-template-columns:repeat(12,minmax(0,1fr));width:min(1680px,100%) !important;margin-inline:auto; }
.showcase-item--awards-system > .showcase-media figure { grid-column:span 6;aspect-ratio:16/9; }
.showcase-item--awards-system > .showcase-media figure:first-child { grid-column:1/-1; }
.showcase-item--awards-system > .showcase-media figure:nth-child(6),.showcase-item--awards-system > .showcase-media figure:nth-child(7),.showcase-item--awards-system > .showcase-media figure:nth-child(8),.showcase-item--awards-system > .showcase-media figure:nth-child(9) { grid-column:span 3; }
.awards-system { width:min(1680px,100%) !important;margin:clamp(52px,5vw,78px) auto 0; }
.showcase-case--bukmacherskie-nagrody-case-study .awards-system.motion-reveal { opacity:1 !important;translate:0 0 !important;filter:none !important;transition:none !important; }
.awards-system__intro.awards-quick-reveal { opacity:0;transform:translateY(12px);filter:blur(3px);transition:opacity .32s cubic-bezier(.2,.75,.2,1),transform .32s cubic-bezier(.2,.75,.2,1),filter .32s cubic-bezier(.2,.75,.2,1); }
.awards-system__intro.awards-quick-reveal.is-visible { opacity:1;transform:translateY(0);filter:blur(0); }
.awards-system__intro { display:grid !important;grid-template-columns:minmax(0,.75fr) minmax(420px,1.25fr);gap:clamp(40px,7vw,120px);align-items:end;margin-bottom:58px; }
.awards-system__intro > span,.awards-recap__copy > span,.awards-motion header > span { color:#8a6728;font-size:10px;font-weight:700;text-transform:uppercase; }
.awards-system__intro h3 { grid-column:1;margin:15px 0 0;font-family:"Archivo",system-ui,sans-serif;font-size:clamp(38px,4vw,66px);line-height:1.03; }
.awards-system__intro p { grid-column:2;grid-row:1/3;max-width:720px;margin:0;color:#69716d;font-size:17px;line-height:1.75; }
.awards-system__gallery { display:grid !important;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(16px,2vw,32px); }
.awards-system__image { overflow:hidden;margin:0;border-radius:12px;background:#17150f; }
.awards-system__image img { display:block;width:100%;height:100%;object-fit:cover; }
.awards-system__image--landscape { grid-column:span 6;aspect-ratio:16/9; }
.awards-system__image:first-child { grid-column:1/-1; }
.awards-system__image--portrait { grid-column:span 3;aspect-ratio:4/5; }
.awards-recap { display:grid !important;grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr);gap:clamp(34px,6vw,100px);align-items:center;margin-top:118px;padding:clamp(34px,5vw,78px);border-radius:20px;background:linear-gradient(135deg,#11140f,#292114);color:#fff; }
.awards-recap__copy h3,.awards-motion h3 { margin:18px 0;font-family:"Archivo",system-ui,sans-serif;font-size:clamp(34px,3.5vw,56px);line-height:1.05; }
.awards-recap__copy p,.awards-motion header p { color:#c9c2b3;font-size:15px;line-height:1.7; }
.awards-lazy-media { position:relative;overflow:hidden;border-radius:14px;background:#080a08; }
.awards-lazy-media__trigger { position:relative;display:grid;width:100%;padding:0;border:0;background:#080a08;color:#fff;cursor:pointer;text-align:left; }
.awards-lazy-media__trigger::after { content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.76)); }
.awards-lazy-media__trigger img { display:block;width:100%;height:100%;object-fit:cover; }
.awards-lazy-media__trigger strong { position:absolute;z-index:2;right:24px;bottom:23px;left:24px;font-family:"Archivo",system-ui,sans-serif;font-size:18px; }
.awards-lazy-media__play { position:absolute;z-index:2;top:50%;left:50%;display:grid;place-items:center;width:68px;height:68px;padding-left:4px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(198,163,93,.9);color:#16120b;font-size:22px;transform:translate(-50%,-50%); }
.awards-lazy-media--youtube .awards-lazy-media__trigger,.awards-lazy-media iframe { aspect-ratio:16/9; }
.awards-lazy-media iframe,.awards-lazy-media video { display:block;width:100%;height:100%;border:0;background:#000;object-fit:contain; }
.awards-motion { margin-top:118px; }
.awards-motion > header { display:grid !important;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:50px;align-items:end;margin-bottom:42px; }
.awards-motion > header h3 { grid-column:1;margin-bottom:0; }
.awards-motion > header p { grid-column:2;grid-row:1/3;margin:0; }
.awards-motion__grid { display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px; }
.awards-motion__grid > article.awards-lazy-media {
  position:relative !important;
  inset:auto !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  opacity:1 !important;
  transform:none !important;
}
.awards-motion__grid .awards-lazy-media__trigger.motion-reveal {
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
  opacity:1 !important;
  transform:none !important;
}
.awards-lazy-media--video .awards-lazy-media__trigger,.awards-lazy-media--video video { aspect-ratio:4/5; }

@media (max-width:980px) {
  .profile-nav { width:min(820px,calc(100% - 28px)) !important; }
  .profile-nav__group > a { padding-inline:8px;font-size:11.5px; }
}
@media (max-width:780px) {
  .profile-nav { inset:12px auto auto 50% !important;justify-content:flex-end !important;min-height:54px !important;padding:6px 8px !important; }
  .profile-nav__group { display:none !important; }
  .profile-nav .profile-nav__mark { position:absolute !important;left:50% !important;width:42px !important;height:42px !important;transform:translateX(-50%) !important; }
  .profile-nav__mobile-controls { display:flex !important; }
  .profile-nav__mobile-controls .profile-theme-toggle { width:34px;height:34px;padding:0; }
  .profile-nav__burger { display:block; }
  .profile-mobile-menu__inner { padding-top:92px;gap:6px; }
  .showcase-case--bukmacherskie-nagrody-case-study .showcase-list .showcase-item.showcase-item--awards-system { padding:76px 16px !important; }
  .awards-data-notice { grid-template-columns:38px minmax(0,1fr);width:calc(100% - 32px);margin:24px auto;padding:17px 16px;border-radius:10px; }
  .awards-data-notice > span { width:38px;height:38px;font-size:12px; }
  .showcase-item--awards-system .showcase-item__head h2 { font-size:42px; }
  .showcase-item--awards-system .showcase-signature { grid-template-columns:1fr 28px 1fr;gap:8px;min-height:96px;padding:16px 14px;border-radius:12px; }
  .showcase-item--awards-system .showcase-signature__author,.showcase-item--awards-system .showcase-signature__project { height:56px;gap:8px; }
  .showcase-item--awards-system .showcase-signature__author > img { display:none; }
  .showcase-item--awards-system .showcase-signature__project > img { max-width:118px;height:44px; }
  .showcase-item--awards-system .showcase-signature__author i { width:54px;height:54px; }
  .showcase-item--awards-system .showcase-signature b { font-size:14px; }
  .showcase-item--awards-system .showcase-signature > strong { font-size:22px; }
  .showcase-item--awards-system .showcase-item__info { grid-template-columns:1fr; }
  .showcase-item--awards-system > .showcase-media { grid-template-columns:1fr; }
  .showcase-item--awards-system > .showcase-media figure:nth-child(n) { grid-column:1;aspect-ratio:16/9; }
  .awards-system { margin-top:78px; }
  .awards-system__intro { grid-template-columns:1fr;gap:22px;margin-bottom:34px; }
  .awards-system__intro h3,.awards-system__intro p { grid-column:1;grid-row:auto; }
  .awards-system__gallery { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
  .awards-system__image--landscape,.awards-system__image:first-child { grid-column:1/-1; }
  .awards-system__image--portrait { grid-column:span 1; }
  .awards-recap { grid-template-columns:1fr;gap:28px;margin-top:76px;padding:26px 18px;border-radius:14px; }
  .awards-motion { margin-top:76px; }
  .awards-motion > header { grid-template-columns:1fr;gap:16px; }
  .awards-motion > header h3,.awards-motion > header p { grid-column:1;grid-row:auto; }
  .awards-motion__grid { grid-template-columns:1fr 1fr;gap:12px; }
}
@media (min-width:781px) and (max-height:820px) {
  .showcase-case--bukmacherskie-nagrody-case-study .awards-system { margin-top:44px !important; }
  .showcase-case--bukmacherskie-nagrody-case-study .awards-system__intro { margin-bottom:38px; }
  .showcase-case--bukmacherskie-nagrody-case-study .awards-system__gallery { gap:clamp(14px,1.6vw,24px); }
}
@media (prefers-reduced-motion:reduce) {
  .awards-system__intro.awards-quick-reveal { opacity:1;transform:none;filter:none;transition:none; }
}
