/* V4.4: compact 3D logos with one seamless navy background and calm animations. */
:root { --v44-header-navy:#071e33; }
html body.poltekpel-v44-compact.poltekpel-glass-front #site-header {
  margin-bottom: 0 !important; /* V2.4 glass overlap previously hid part of logo strip. */
  background: var(--v44-header-navy) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
html body.poltekpel-v44-compact.poltekpel-glass-v241 #site-header::before {
  background: var(--v44-header-navy) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body.poltekpel-v44-compact.poltekpel-glass-v241 #site-header #main-nav {
  box-shadow: none !important;
}
html body.poltekpel-v44-compact.poltekpel-glass-v241 .top-bar { background: var(--v44-header-navy) !important; }
html body .v43-logo-section.v44-logo-section {
  padding: 4px 0 8px !important;
  margin:0;
  background: var(--v44-header-navy) !important;
  border:0;
  isolation:isolate;
  position:relative;
}
html body .v43-logo-section.v44-logo-section::before{display:none !important;}
.v44-logo-section .v43-logo-container {max-width:1200px;position:relative;}
.v44-logo-section .v43-glass-frame.v44-glass-frame {
  position:relative;
  padding:5px 10px;
  border-radius:13px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(200,223,239,.14);
  box-shadow:0 2px 10px rgba(1,15,29,.12), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  overflow:hidden;
}
.v44-glass-frame::after{
  content:"";pointer-events:none;
  position:absolute;inset:0 auto 0 -24%;width:14%;opacity:.45;
  transform:skewX(-24deg);
  background:linear-gradient(90deg,transparent,rgba(192,227,246,.11),transparent);
  animation:v44-logo-light 11s ease-in-out 1.4s infinite;
}
.v44-logo-section .v43-logo-scroll.v44-logo-scroll {
  border-radius:10px;
  overflow:visible hidden;
  background:transparent !important;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  padding:0 8px;
  min-width:0;
}
.v44-logo-scroll::-webkit-scrollbar{display:none;}
.v44-logo-list {
  width:max-content;
  min-width:min(100%, 980px);
  min-height:72px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(12px,2vw,28px);
}
.v44-logo-mark {
  display:flex;
  flex:0 0 auto;
  width:clamp(62px,6.8vw,92px);
  height:68px;
  align-items:center;
  justify-content:center;
  scroll-snap-align:center;
  filter:drop-shadow(0 4px 7px rgba(0,0,0,.32));
  animation:v44-mark-arrive .62s ease-out both;
  animation-delay:calc(.06s * var(--v44-order));
  transition:transform .28s ease, filter .28s ease;
}
.v44-logo-mark.v44-mark-wide {width:clamp(180px,18.5vw,252px);}
.v44-logo-mark.v44-mark-prima{width:clamp(176px,18vw,248px);}
.v44-logo-mark img,
.v44-logo-section .v43-logo-scroll img {
  display:block;
  width:100%;height:64px;max-width:100%;max-height:64px;
  object-fit:contain;
}
.v44-logo-mark:hover { transform:translateY(-2px) scale(1.045);filter:drop-shadow(0 7px 10px rgba(0,0,0,.38)); }
/* Replacement image uploaded via Customizer also remains compact. */
.v44-logo-section .v43-logo-scroll img.v44-custom-image {
  display:block;
  margin:auto;
  width:auto; max-width:100%;
  height:68px; max-height:68px;
  object-fit:contain;
}
.v44-logo-section .v43-mobile-hint{display:none;}
/* Genuine official header icons receive depth, without redrawing their emblem/text. */
html body #site-header .brand-logo,
html body #site-header .blu-logo {
  position:relative;
  border-radius:50%;
  isolation:isolate;
  perspective:550px;
  background:radial-gradient(circle at 30% 18%,rgba(255,255,255,.23),rgba(237,195,89,.06) 56%,rgba(2,17,33,.12) 76%);
  box-shadow:0 5px 11px rgba(0,8,22,.34),inset 0 2px 2px rgba(255,255,255,.17),inset 0 -3px 6px rgba(0,0,0,.18);
  transition:box-shadow .35s ease, transform .35s ease;
}
html body #site-header .brand-logo img,
html body #site-header .blu-logo img {
  border-radius:50%;
  clip-path:circle(49.5% at 50% 50%); /* removes old white square from uploaded BLU icons too */
  transform:rotateY(-9deg) rotateX(4deg) translateZ(0);
  filter:drop-shadow(1px 3px 2px rgba(0,8,19,.45)) drop-shadow(-1px -1px 1px rgba(255,226,157,.25));
  transition:transform .42s ease,filter .42s ease;
}
html body #site-header .brand:hover .brand-logo img,
html body #site-header .blu-logo:hover img {
  transform:rotateY(0) rotateX(0) scale(1.045);
  filter:drop-shadow(1px 5px 3px rgba(0,8,19,.43)) drop-shadow(-1px -1px 2px rgba(255,226,157,.4));
}
html body #site-header .brand-logo:after,
html body #site-header .blu-logo:after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:50%;
  border:1px solid rgba(239,204,125,.38);
  box-shadow:0 0 0 1px rgba(10,37,59,.2);
}
/* WP customizer may contain a non-transparent BLU PNG; circular clipping prevents white corners. */
@keyframes v44-logo-light { 0%,15% {left:-24%;opacity:0;} 28% {opacity:.55;} 46%,100% {left:112%;opacity:0;} }
@keyframes v44-mark-arrive {from {opacity:0;transform:translateY(7px) scale(.97);}to {opacity:1;transform:translateY(0) scale(1);}}
@media(max-width:900px) {
  html body .v43-logo-section.v44-logo-section {padding:3px 0 6px !important;}
  .v44-logo-section .v43-logo-container {width:calc(100% - 18px);}
  .v44-logo-section .v43-glass-frame.v44-glass-frame {padding:2px 3px;border-radius:11px;}
  .v44-logo-section .v43-logo-scroll.v44-logo-scroll {padding:0 4px;border-radius:8px;}
  .v44-logo-list {min-width:900px;min-height:60px;gap:14px;justify-content:flex-start;margin:0;}
  .v44-logo-mark{height:56px;width:68px;}
  .v44-logo-mark.v44-mark-wide{width:184px;}
  .v44-logo-mark.v44-mark-prima{width:180px;}
  .v44-logo-mark img, .v44-logo-section .v43-logo-scroll img {height:54px;max-height:54px;}
  .v44-logo-section .v43-logo-scroll img.v44-custom-image {width:930px;max-width:none;height:58px;max-height:58px;}
}
@media(max-width:640px){
  html body #site-header .brand-logo{box-shadow:0 3px 7px rgba(0,8,22,.26),inset 0 1px 1px rgba(255,255,255,.2);}
  .v44-logo-list {min-width:880px;}
}
@media(prefers-reduced-motion:reduce){
  .v44-glass-frame::after,.v44-logo-mark { animation:none !important; }
  html body #site-header .brand-logo img,html body #site-header .blu-logo img,.v44-logo-mark {transition:none !important;}
}

/* V4.4: shorter desktop header/nav so the branding does not dominate the page. */
@media (min-width:901px) {
  html body.poltekpel-v44-header #site-header .header-inner {min-height:66px!important;row-gap:0!important;}
  html body.poltekpel-v44-header #site-header .header-inner > .brand {padding:5px 0!important;}
  html body.poltekpel-v44-header #site-header .header-inner > .brand .brand-logo {width:52px;height:52px;flex:0 0 52px;}
  html body.poltekpel-v44-header #site-header .header-inner > .brand .brand-logo img {width:51px;height:51px;}
  html body.poltekpel-v44-header #site-header .brand-name strong {font-size:18px;}
  html body.poltekpel-v44-header #site-header #main-nav,
  html body.poltekpel-v44-header #site-header.is-scrolled #main-nav {
    min-height:47px!important;
    padding:2px 4px!important;
    gap:3px 7px!important;
  }
  html body.poltekpel-v44-header #site-header #main-nav .nav-link,
  html body.poltekpel-v44-header #site-header #main-nav .wp-menu-list > li > a {
    min-height:42px!important;
    padding:8px 9px!important;
    font-size:clamp(14px,var(--poltekpel-nav-font-size, 15px),16px)!important;
  }
  html body.poltekpel-v44-header #site-header #main-nav .v25-explore-trigger {
    min-height:42px!important;
    padding:8px 10px!important;
    font-size:clamp(14px,var(--poltekpel-nav-font-size, 15px),16px)!important;
  }
  html body.poltekpel-v44-header #site-header .nav-cta {min-height:42px!important;font-size:14px!important;}
}

/* V4.4.3: individual logo files, generous contain slots, no clipping. */
.v44-logo-section .v44-logo-list {min-height:78px;gap:clamp(13px,1.9vw,24px);}
.v44-logo-section .v44-logo-mark {width:clamp(68px,7vw,88px);height:74px;overflow:visible;}
.v44-logo-section .v44-logo-mark.v44-mark-wide {width:clamp(170px,18vw,230px);}
.v44-logo-section .v44-logo-mark.v44-mark-prima {width:clamp(172px,18.5vw,240px);}
.v44-logo-section .v44-logo-mark img {display:block;width:100%;height:72px;max-height:72px;object-fit:contain;object-position:center;}
.v44-logo-section .v44-logo-scroll{scroll-padding-inline:16px;}
@media(max-width:900px){
  .v44-logo-section .v44-logo-list{min-height:65px;min-width:880px;}
  .v44-logo-section .v44-logo-mark{height:62px;width:72px;}
  .v44-logo-section .v44-logo-mark.v44-mark-wide{width:188px;}
  .v44-logo-section .v44-logo-mark.v44-mark-prima{width:195px;}
  .v44-logo-section .v44-logo-mark img{height:60px;max-height:60px;}
}

/* Keep horizontal touch scrolling active on small screens. */
.v44-logo-section .v43-logo-scroll.v44-logo-scroll { overflow-x:auto !important; overflow-y:hidden !important; }
