/* DRR DAMSON HOTFIX 19_05 — mniejszy header + usunięcie starego dużego logo z hero */

/* Górny pasek / brand area: mniej powietrza */
.site-topbar,
.top-strip,
.announcement-bar,
.header-kicker {
 min-height: 28px !important;
 padding-top: 4px !important;
 padding-bottom: 4px !important;
}

.site-header,
.header,
.main-header,
.dd-header,
.brand-header,
.header-v2,
.site-shell-header {
 padding-top: 12px !important;
 padding-bottom: 12px !important;
 min-height: 0 !important;
}

.site-header .container,
.header .container,
.main-header .container,
.dd-header .container,
.brand-header .container,
.header-v2 .container,
.site-shell-header .container,
.header-inner,
.brand-row,
.navbar-brand-row {
 min-height: 0 !important;
 padding-top: 0 !important;
 padding-bottom: 0 !important;
}

/* Logo w headerze: normalny rozmiar, bez gigantycznego brand-blocka */
.site-header img,
.header img,
.main-header img,
.dd-header img,
.brand-header img,
.header-v2 img,
.site-shell-header img,
.logo img,
.brand-logo img {
 max-height: 62px !important;
 width: auto !important;
 object-fit: contain !important;
}

.brand-title,
.logo-title,
.site-title {
 line-height: 1.05 !important;
}

/* Wyszukiwarka i skróty: bliżej siebie, mniej pionowej wysokości */
.search-bar,
.search-shell,
.search-wrap,
.site-search,
.header-search {
 margin-top: 8px !important;
 margin-bottom: 8px !important;
}

.header-actions,
.quick-actions,
.top-actions {
 margin-top: 6px !important;
 margin-bottom: 6px !important;
}

.nav-shell,
.main-nav,
.site-nav,
.nav-v2 {
 padding-top: 10px !important;
 padding-bottom: 10px !important;
}

/* Hero: usunięcie starego wielkiego logo/znaku w tle, który zasłania nowe */
.hero-logo,
.hero-mark,
.hero-watermark,
.hero-brand-mark,
.hero-badge,
.hero-emblem,
.old-logo,
.logo-watermark,
.background-logo,
.brand-watermark {
 display: none !important;
}

/* Jeśli stare logo siedzi jako pseudo-element w hero — wyłączamy je */
.hero::before,
.hero::after,
.hero-section::before,
.hero-section::after,
.landing-hero::before,
.landing-hero::after,
.main-hero::before,
.main-hero::after {
 background-image: none !important;
}

/* Grafika hero ma zostać jako jedna, czysta ilustracja po prawej */
.hero-visual,
.hero-image,
.hero-media,
.landing-hero-visual {
 overflow: hidden !important;
}

.hero-visual img,
.hero-image img,
.hero-media img,
.landing-hero-visual img {
 max-height: 520px !important;
 object-fit: contain !important;
}

/* Mobile: jeszcze ciaśniej */
@media (max-width: 768px) {
 .site-header,
 .header,
 .main-header,
 .dd-header,
 .brand-header,
 .header-v2,
 .site-shell-header {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
 }

 .site-header img,
 .header img,
 .main-header img,
 .dd-header img,
 .brand-header img,
 .header-v2 img,
 .site-shell-header img,
 .logo img,
 .brand-logo img {
  max-height: 48px !important;
 }

 .nav-shell,
 .main-nav,
 .site-nav,
 .nav-v2 {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
 }
}


/* FINAL HEADER/FOOTER CLEANUP 20_05 */
.site-header-v2 img,
.site-footer img{display:block !important}
.site-header-v2 a:empty,
.main-nav-v2 a:empty,
.site-footer a:empty,
.site-footer .icon-btn:empty{display:none !important}
.site-footer .footer-bottom{min-height:24px}
.site-footer .footer-grid > *{min-width:0}
