/* Flagi języków – zawsze widoczne */
.header-navigation .lang-item img,
.jezyki-flagi img { width: 24px !important; height: auto !important; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.header-navigation .lang-item > a { padding-left: .35em !important; padding-right: .35em !important; }
.header-navigation .current-lang img,
.jezyki-flagi .current-lang img { outline: 2px solid #12355B; outline-offset: 2px; }
.jezyki-flagi { list-style: none; margin: 0; padding: 6px 0; display: flex; gap: 14px; justify-content: flex-end; }
.jezyki-flagi li { margin: 0; }
.jezyki-flagi a { display: block; line-height: 0; }

/* Telefon: tytuł portalu w jednej linii */
@media (max-width: 767px) {
  #mobile-header .site-branding a.brand { gap: 10px; }
  #mobile-header .site-title {
    white-space: nowrap;
    font-size: clamp(11.5px, 3.4vw, 17px) !important;
    letter-spacing: -0.005em;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: clip;
  }
}

/* Wysuwane menu: granat zamiast czerni, widać co kliknięte */
#mobile-drawer .drawer-inner { background: #12355B; }
#mobile-drawer .drawer-header .drawer-toggle { color: #F4EFE4; }
#mobile-drawer .mobile-navigation ul li { border-bottom-color: rgba(244,239,228,.16); }
#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li > .drawer-nav-drop-wrap > a {
  color: #F4EFE4;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease;
}
#mobile-drawer .mobile-navigation ul li > a:hover,
#mobile-drawer .mobile-navigation ul li > a:focus-visible,
#mobile-drawer .mobile-navigation ul li > a:active {
  background: #1D4A7A;
  color: #FFFFFF;
}
#mobile-drawer .mobile-navigation li.current-menu-item > a,
#mobile-drawer .mobile-navigation li.current-menu-parent > a,
#mobile-drawer .mobile-navigation li.current-post-ancestor > a,
#mobile-drawer .mobile-navigation li.current-lang > a {
  background: #1D4A7A;
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: inset 4px 0 0 #D9B25C;
}

/* Newsletter na stronie głównej */
#newsletter .wp-block-jetpack-subscriptions input[type=email] { background: #FFFFFF !important; color: #14202E !important; border: 0 !important; }
#newsletter .wp-block-jetpack-subscriptions input[type=email]::placeholder { color: #6B7785; }
#newsletter .wp-block-jetpack-subscriptions button { font-weight: 600; }

/* Strony działów: mała etykieta zamiast dużego pasa z tytułem */
.post-archive-hero-section .entry-hero-container-inner { background: transparent !important; }
.post-archive-hero-section .entry-header.post-archive-title { min-height: 0 !important; padding: 24px 0 8px !important; justify-content: flex-start !important; text-align: left !important; }
.post-archive-hero-section .archive-title { font-size: 0.8rem !important; line-height: 1.4 !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #12355B; margin: 0 !important; padding-top: 8px; border-top: 2px solid #12355B; width: 100%; }

/* O nas / Über uns / Про нас / About us: węższy nagłówek */
.page-id-88 .page-hero-section .entry-header,
.page-id-90 .page-hero-section .entry-header,
.page-id-92 .page-hero-section .entry-header,
.page-id-94 .page-hero-section .entry-header { min-height: 110px; }


/* Laptop/komputer: większe odstępy między nazwami */
@media (min-width: 1025px) {
  #main-header .site-title .sn-sep { margin: 0 clamp(10px, 1.6vw, 26px) !important; }
}
