/* cmsms stylesheet: 1-css modified: niedziela, 18 października 2026 21:33:56 */
/* =========================================================
   1. WSKAŹNIKI SMARTMENUS
   ========================================================= 

/* Ukrycie domyślnych strzałek SmartMenus (jeśli stosujesz własny wygląd) */
ul.sm span.sub-arrow {
  display: none !important;
}

/* Bezpieczny wskaźnik podmenu dla SmartMenus (zamiennik niestabilnego :has) */
#main-menu > li > a.has-submenu::after {
  content: "" !important;
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 8px !important;
  vertical-align: middle !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 6px solid #ffffff !important;
  border-bottom: none !important;
  background: none !important;
}*/

/* =========================================================
   2. SIDEBAR / MENU Z FILMAMI (ul.filmy-lista-menu)
   ========================================================= */

ul.filmy-lista-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch; 
  width: 100%;
  list-style: none !important;
  padding: 0 20px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

ul.filmy-lista-menu li {
  padding: 6px 0;
  width: 100%;
}

ul.filmy-lista-menu li a {
  position: relative;
  display: block;
  width: 100%;
  padding: 4px 0;
  font-family: Lato, sans-serif;
  color: #747474;
  text-decoration: none;
  transition: color 0.3s ease;
  box-sizing: border-box;
}

/* Animowane podkreślenie dla zwykłych linków */
ul.filmy-lista-menu li a::after {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #787324;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

ul.filmy-lista-menu li a:hover {
  color: #747474;
}

ul.filmy-lista-menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Wyróżnienie aktywnego linku */
ul.filmy-lista-menu li a.active {
  color: #787324 !important;
  font-weight: 700 !important;
}

ul.filmy-lista-menu li a.active::before {
  content: "› ";
  font-weight: 900;
  margin-right: 6px;
  display: inline-block;
}

ul.filmy-lista-menu li a.active::after {
  transform: scaleX(1) !important;
  transform-origin: left !important;
}

/* =========================================================
   3. KLASY POMOCNICZE DLA OBRAZÓW / POZYCJONOWANIA
   ========================================================= */

.prawy {
  float: right;
  margin: 5px 0 10px 25px;
}

.lewy {
  float: left;
  margin: 5px 25px 10px 0;
}

.srodek {
  float: none;
  margin: 15px auto 10px auto !important;
  display: block !important;
  clear: both;
}

/* =========================================================
   4. WYSZUKIWARKA
   ========================================================= */

.search-button {
  background: #787324;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  width: 80px;
  padding: 4px 16px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease;
  margin-left:5px;
}

.search-button:hover {
  filter: brightness(1.08);
}

.search-input {
    background-color: #dad683;
    color: black;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 16px;
}

/* Kolor tekstu podpowiedzi „...” */
.search-input::placeholder {
    color: #555;
    opacity: 1;
}

/* Opcjonalnie — wygląd po kliknięciu w pole */
.search-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}



#m12e78moduleform_1 {
  color: white;
}

/* =========================================================
   5. PAGINACJA NEWSÓW
   ========================================================= */

.news-pagination-section {
  background-color: #000000 !important;
}

.news-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: inherit;
}

.news-pagination .page-info {
  color: #cccccc;
  font-size: 1rem;
  margin: 0 12px;
  letter-spacing: 0.5px;
}

.news-pagination .page-info strong {
  color: #ffffff;
  font-weight: 600;
}

.news-pagination .page-nav a,
.news-pagination .page-nav span {
  display: inline-block;
  padding: 8px 16px;
  background-color: #111111;
  color: #e0e0e0 !important;
  border: 1px solid #333333;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.news-pagination .page-nav a:hover {
  background-color: #222222;
  color: #d4af37 !important;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .news-pagination {
    gap: 5px;
  }
  .news-pagination .page-nav a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .news-pagination .page-info {
    width: 100%;
    margin-bottom: 10px;
  }
}


/* =========================================================
   JASNA PAGINACJA POZOSTAŁYCH STRON
   ========================================================= */

.site-pagination-section {
  background-color: #787324 !important;
}

.site-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: inherit;
}

.site-pagination .site-page-info {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 12px;
  letter-spacing: 0.5px;
}

.site-pagination .site-page-info strong {
  color: #fffbd1;
  font-weight: 700;
}

.site-pagination .site-page-nav a,
.site-pagination .site-page-nav span {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f4f1c9;
  color: #4e4b12 !important;
  border: 1px solid #fffbd1;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.site-pagination .site-page-nav a:hover,
.site-pagination .site-page-nav span:hover {
  background-color: #ffffff;
  color: #787324 !important;
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .site-pagination {
    gap: 5px;
  }

  .site-pagination .site-page-nav a,
  .site-pagination .site-page-nav span {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .site-pagination .site-page-info {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}

/* =========================================================
   6. TREŚĆ ARTYKUŁÓW I NAWIGACJA
   ========================================================= */

#NewsPostDetailTitle { 
  margin-bottom: 40px; 
  color: #787324; 
  font-size: 2.4rem; 
}

h3.link-nawigacja a {
  color: #757575 !important;
  font-size: 30px !important;
  text-decoration: none;
  padding-bottom: 40px !important;
}

h3.link-nawigacja a:hover {
  color: #c3c3c3 !important;
}

.news-article-single .article-main-title {
  color: #787324 !important;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

/* Bezpieczniejsze formatowanie treści wpisów */
.news-content-body {
  color: #444444;
}

.news-content-body h1 { color: #222222 !important; margin-top: 1.5rem; margin-bottom: 1rem; }
.news-content-body h2 { color: #222222 !important; margin-top: 1.4rem; margin-bottom: 0.8rem; }
.news-content-body h3 { color: #333333 !important; margin-top: 1.2rem; margin-bottom: 0.6rem; }
.news-content-body h4 { color: #333333 !important; }
.news-content-body p { margin-bottom: 1.2rem; }
.news-content-body ul, 
.news-content-body ol { margin-bottom: 1.2rem; padding-left: 2rem; }
.news-content-body li { margin-bottom: 0.4rem; }

/* Stylizacje dla sekcji na czarnym tle */
.bg-dark-section p,
section[style*="#000000"] p,
section[style*="rgb(0, 0, 0)"] p {
color: #cccccc !important;
}

.bg-dark-section h3,
section[style*="#333333"] h3,
section[style*="rgb(0, 0, 0)"] h3 {
color: #ffffff !important;
}


/* =========================================
   HISTORIA JW 2016
   SUMMARY NEWS
   ========================================= */


/* ===== SIATKA ===== */

.historia-news-row {
    margin-left: -12px;
    margin-right: -12px;
}

.historia-news-col {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}


/* ===== KARTA ===== */

.historia-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    transition: transform .25s ease,
    box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.historia-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0,0,0,.14);
}


/* ===== NAGŁÓWEK ===== */

.historia-card-header {
    background: #787324 !important;
    padding: 20px 20px 20px 4px !important;
    min-height: 145px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
 .historia-book .mbri-pages {
    color: #787324;
    font-size: 28px;
    -webkit-text-stroke: 0.5px #787324;
}

/* ===== IKONA KSIĄŻKI ===== */

.historia-book {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #d8d4a3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.historia-book .mobi-mbri {
    color: #787324;
    font-size: 27px;
}


/* ===== TEKST NAGŁÓWKA ===== */

.historia-header-text {
    min-width: 0;
}

.historia-kronika {
    color: #e8e5c5;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.historia-title {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
}

.historia-title a {
    color: #fff !important;
    text-decoration: none !important;
}

.historia-title a:hover {
    color: #f1efdc !important;
}


/* ===== DATA ===== */

.historia-date {
    margin-top: 9px;
    color: #e5e2c2;
    font-size: 13px;
}

.historia-date .mobi-mbri {
    margin-right: 5px;
}


/* =========================================
TREŚĆ
============================================ */

.historia-card-body {
    padding: 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.75;
    text-align: justify;
    flex-grow: 1;
}


/* ===== CZYTAJ DALEJ ===== */

.historia-card-footer {
    padding: 0 20px 20px;
}

.historia-more {
    color: #787324 !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

.historia-more:hover {
    color: #55520f !important;
}

.historia-more .mobi-mbri {
    margin-left: 7px;
}


/* =========================================
   PAGINACJA
============================================ */

.historia-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 35px 0 20px;
    padding: 15px 10px;
    background: #fff;

    text-align: center;
}

.historia-page a {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #787324;
    border-radius: 5px;
    background: #fff;
    color: #787324 !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: all .25s ease;
}

.historia-page a:hover {
    background: #787324;
    color: #fff !important;
}

.historia-page-info {
    display: inline-block;
    padding: 7px 12px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}


/* ===== TELEFONY ===== */

@media (max-width: 767px) {
    .historia-card-header {
        min-height: auto;
    }

    .historia-title {
        font-size: 18px !important;
    }
    .historia-card-body {
        text-align: left;
    }
}
/* ===== MARGINES DOLNY ===== */
.margin-b1 {margin-bottom:40px;}


/* Domyślnie na komputerach */
#article01-t h2 {
  font-size: 2rem;
  line-height: 1.25 !important;
  margin-bottom: 1.5rem !important;
  color: #787324 !important;
  font-weight: 500;
}

/* Na smartfonach (poniżej 768px szerokości) */
@media (max-width: 767.98px) {
  #article01-t h2 {
    font-size: 1.35rem; /* Zmniejszamy czcionkę, żeby łagodniej się zawijała */
    line-height: 1.3 !important; /* Dajemy lekko większy luz między zawiniętymi liniami */
    margin-bottom: 1rem !important;
  }
}

/* =========================================
   ARCHIWUM JW 2016 – Uniwersalna karta (col-4, col-6, col-12)
============================================ */

.archiwum-photo {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto;
    background: #111214;
    border: 1px solid #353535;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    box-sizing: border-box !important;
    height: auto !important;
    overflow: visible !important;
}

/* Górna karta */

.archiwum-header {
    background: linear-gradient(180deg, #1a1b1d, #0f1012);
    border-left: 4px solid #787324;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.archiwum-label {
    color: #d6d6d6;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.archiwum-title {
    color: #8b8531;
    font-size: 22px; /* Uniwersalny rozmiar idealny do wąskich i szerokich kolumn */
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
}

/* Meta informacje */

.archiwum-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #d5d5d5;
    font-size: 13px;
}

.archiwum-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.archiwum-meta .meta-icon {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
    vertical-align: middle;
    filter: none !important;
}

/* ========================================= 
Zdjęcie – automatyczne skalowanie do szerokości kolumny 
============================================*/

.archiwum-image {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    width: 100% !important;
}

.archiwum-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    filter: grayscale(100%);
    margin: 0 auto !important;
}

/* Podpis */

.archiwum-caption {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f8f7f2 !important;
    border-radius: 12px !important;
    margin-top: 12px !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    position: relative !important;
    clear: both !important;
}

.archiwum-caption-title {
    color: #8b8531 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.archiwum-caption p {
    margin: 0 !important;
    color: #222222 !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
    display: block !important;
    visibility: visible !important;
}

/* Animacja */

.archiwum-photo:hover {
    transform: translateY(-2px);
    transition: 0.3s ease;
}

/* =========================================
   EFEKT BŁYSKU DLA ARCHIWUM (.archiwum-image.efekt)
============================================ */

/* Kontener zdjęcia w bloku archiwum */
.archiwum-image.efekt {
    position: relative;
    overflow: hidden;
    line-height: 0;
    width: 100%;
}

/* Obrazek wewnątrz – rozciąganie do 100% szerokości kolumny */
.archiwum-image.efekt img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(1.05);
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efekt powiększenia po najechaniu */
.archiwum-image.efekt:hover img {
    transform: scale(1.03);
    filter: brightness(1.15);
}

/* Efekt błysku (promyk światła) */
.archiwum-image.efekt::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    width: 60%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease-out;
}

/* Ruch błysku po najechaniu */
.archiwum-image.efekt:hover::before {
    left: 140%;
}

/* ============================== 
KONTENER DOPASOWUJĄCY SIĘ DO ZDJĘCIA Z PRAWIDŁOWYM ZAWIJANIEM PODPISU 
================================= */

.foto-dopasowane {
    background-color: #ffffff;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content; /* Szerokość dostosowuje się do zdjęcia */
    max-width: 100%;    /* Zabezpieczenie mobilne */
    margin-bottom: 20px;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    
    /* DODANE: Wymusza, aby elementy wewnątrz szanowały szerokość rodzica */
    display: table; /* Kluczowa poprawka dla zawijania tekstu przy fit-content */
}

/* Warianty opływania */
.foto-dopasowane.z-lewej {
    float: left;
    margin-right: 25px;
}

.foto-dopasowane.z-prawej {
    float: right;
    margin-left: 25px;
}

/* Kontener ramki zdjęcia */
.foto-dopasowane .foto-ramka {
    position: relative;
    overflow: hidden;
    display: block;
}

/* Obrazek - definiuje szerokość całego układu */
.foto-dopasowane .foto-ramka img {
    display: block;
    width: 100%;       /* Dopasowuje się do naturalnej szerokości */
    max-width: 100%;
    height: auto;
}

/* --- EFEKT BŁYSKU --- */
.foto-dopasowane .foto-ramka::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s ease-in-out;
}

.foto-dopasowane .foto-ramka:hover::after {
    left: 140%;
}

/* POPRAWIONA STYLIZACJA PODPISU (ZAWIJANIE TEKSTU) */
.foto-dopasowane .foto-podpis {
    padding: 12px 15px;
    font-family: Arial, sans-serif;
    color: #333333;
    font-size: 0.9em;
    line-height: 1.4;
    text-align: left;
    background-color: #f4f1c9;
    
    /* Kluczowe reguły zapobiegające rozciąganiu zdjęcia przez podpis: */
    display: table-caption;
    caption-side: bottom;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.foto-dopasowane .foto-podpis-tytul {
    font-weight: bold;
    font-size: 0.95em;
    margin-bottom: 4px;
    color:#787324;
    text-transform: uppercase;
}

.foto-dopasowane .foto-podpis p {
    margin: 0;
	color: #555555;

}

.clear-float {
    clear: both;
}

.wojsko {color: #787324 !important;
         font-weight: 700 !impotant;}
/* cmsms stylesheet: 2-css modified: poniedziałek, 16 listopada 2026 17:37:26 */
.link-partner {
    color: yellow !important; 
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    /* Zapobieganie przesunieciom tekstu przy zmianie na uppercase */
    letter-spacing: 0.5px; 
}

/* EFEKT HOVER */
.link-partner:hover {
    color: #FFE8BF;
    text-transform: uppercase !important; 
    font-size: 0.95em; /* Mala korekta, by uppercase nie rozepchal linii tekstu */
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.2);
    letter-spacing: 1px; /* Delikatne rozstrzelenie liter dla czytelnosci */
}

.link-partner::after {
    content: 'â';
    font-size: 0.85em;
    margin-left: 6px;
    font-weight: bold;
    transition: transform 0.3s ease;
    /* Wazne: strzalka nie powinna dziedziczyc uppercase */
    text-transform: none; 
    display: inline-block;
}

.link-partner:hover::after {
    transform: translate(3px, -3px) !important;
}

/* Animowana linia pod spodem */
.link-partner::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 0, 0.4);
    transform: scaleX(0.8) !important;
    transition: all 0.3s ease;
}

.link-partner:hover::before {
    background-color: #FFE8BF;
    transform: scaleX(1) !important;
}
/* Kontener główny mapy strony */
.site-map-wrapper {
  max-width: 800px;
  margin: 40px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333333;
}

/* Reset wykazów */
.site-map-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* Krawędź wizualna łącząca wcięcia */
.site-map-wrapper ul ul {
  padding-left: 1.5rem; /* Pierwsze i drugie wcięcie */
  border-left: 2px solid #e2e2d8;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

/* Domyślny wygląd elementów listy */
.site-map-wrapper li {
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.5rem; /* Miejsce na ikony SVG */
}

/* Stany linków */
.site-map-wrapper a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.site-map-wrapper a:hover {
  color: #787324;
  text-decoration: underline;
}

/* Wyłączenie wszystkich linii i obramowań pod tekstem w mapie strony */
.site-map-wrapper,
.site-map-wrapper *,
.site-map-wrapper a,
.site-map-wrapper a * {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Podkreślenie wyłącznie po najechaniu kursor na klikalny odnośnik */
.site-map-wrapper a:hover,
.site-map-wrapper a:hover * {
  text-decoration: underline !important;
  color: #787324 !important;
}
/* ==========================================
   POZIOM 1 (Ikona: Folder / Główny węzeł)
   ========================================== */
.site-map-wrapper > ul > li {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 1rem;
}

.site-map-wrapper > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1rem;
  height: 1rem;
  /* SVG: Wypełniony folder w kolorze #787324 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23787324'%3E%3Cpath d='M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.site-map-wrapper > ul > li > a {
  color: #787324;
}

/* ==========================================
   POZIOM 2 (Ikona: Strzałka / Grot)
   ========================================== */
.site-map-wrapper > ul > ul > li,
.site-map-wrapper > ul > li > ul > li {
  font-size: 1rem;
  font-weight: 400;
}

.site-map-wrapper ul ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.85rem;
  height: 0.85rem;
  /* SVG: Grot w prawo (Chevron) w kolorze #787324 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23787324'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ==========================================
   POZIOM 3 (Ikona: Wektorowy podpunkt / Kropka z obwódką)
   ========================================== */
.site-map-wrapper ul ul ul > li {
  font-size: 0.925rem;
  color: #555555;
}

.site-map-wrapper ul ul ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75rem;
  height: 0.75rem;
  /* SVG: Wektorowa kropka z obwódką w kolorze #787324 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23787324'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-5c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.site-map-wrapper a,
.site-map-wrapper a *,
.site-map-wrapper u,
.site-map-wrapper span {
    text-decoration: none !important;
}

.site-map-wrapper a,
.site-map-wrapper li,
.site-map-wrapper li a {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
}

/* Styl dla modułu newsy/archiwum */
.historia-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: normal; /* zapobiega obcinaniu wysokości przez wysoce ściśniętą linię */
    margin-bottom: 2rem;
}

.historia-meta img {
    height: 14px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain; /* gwarantuje, że obrazek nie zostanie przycięty */
}
.historia-content {margin-bottom: 3rem;}

/* Styl dla cytatów historycznych/wspomnień */
blockquote.cytat-historyczny {
  position: relative;
  margin: 25px 0;
  padding: 20px 25px 20px 30px;
  background-color: #f7f7f2; /* Delikatne, złamane tło */
  border-left: 5px solid #787324; /* Główny kolor przewodniczący */
  color: #2b2b28;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Dekoracyjny cudzysłów w tle */
blockquote.cytat-historyczny::before {
  content: "“";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 12rem;
  color: #787324;
  opacity: 0.15;
  font-family: Georgia, Arial, serif;
  line-height: 1;
  pointer-events: none;
}

/* Stylizacja autora / źródła cytatu */
blockquote.cytat-historyczny footer,
blockquote.cytat-historyczny .autor {
  display: block;
  margin-top: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: #787324;
  text-transform: uppercase;
  letter-spacing: 1px;
}



.litera::first-letter {
  float: left;
  font-size: 4em;
  padding: 9px;
  line-height: 62px;
  font-family: Roboto, Arial, cursive;
  color: #787324;
  font-weight: 700;
  letter-spacing: 6pt;
  border: solid 2px;
  margin: 5px 10px 5px 0;
}



/* =========================================================
DEDYKOWANE STYLE W KLIMACIE DOKUMENTU WOJSKOWEGO
========================================================= */

.military-box {
  background-color: #f1f3f5;
  border: 2px solid #adb5bd;
  border-radius: 6px;
}

.military-header {
  background-color: #343a40;
  color: #ffffff;
  padding: 6px 12px;
  font-weight: bold;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.connector-arrow {
  font-size: 1.5rem;
  color: #495057;
  margin: 10px 0;
}

.list-unstyled {
  font-size: 1.2rem !important;
}

/* =========================================================
LIGHTBOX FIXES
========================================================= */

#lightboxOverlay {
  z-index: 999999 !important;
}

#lightbox {
  z-index: 1000000 !important;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
  opacity: 0.7 !important;
  display: block !important;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
  opacity: 1 !important;
}

/* =========================================================
ODSTĘP DLA PIERWSZEJ SEKCJI POD MENU
========================================================= */

#header1-w {
  padding-top: 80px !important;
}

/* =========================================================
DOLNA LINIA
========================================================= */

nav,
header,
.navbar {
  border-bottom-color: #1a1a1a !important;
}

/* =========================================================
PODPISY ZDJEC (NAPRAWIONA KLAMRA ZAMYKAJĄCA)
========================================================= */

.podpis-zdjecia {
  background-color: #343a40;
  color: #ffffff;
  text-align: center;
  padding: 8px 12px;
  margin-top: 8px;
  border-radius: 6px;
  border: 2px solid #adb5bd;
  font-size: 1.2rem;
} /* <-- TUTAJ BRAKOWAŁO KLAMRY */

/* =========================================================
PRZYCISK ZAMYKANIA
========================================================= */

.close-window-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #d9534f;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 9999;
}

.close-window-btn:hover {
  background: #c9302c;
}

/* =========================================================
STYLE DLA TABEL DOWODZENIA (MOBIRISE & BOOTSTRAP OVERRIDE)
========================================================= */

/* KONTENER PRZEWIJANIA POZIOMEGO DLA SMARTFONÓW */
.table-responsive-wrapper {
  width: 100% !important;
  overflow-x: auto !important; /* Włącza przewijanie w poziomie */
  -webkit-overflow-scrolling: touch !important; /* Płynne przewijanie na iOS / iPhone */
  margin-top: 20px;
  margin-bottom: 40px;
}

.table-responsive-wrapper table,
table.tabela-dowodzenia {
  width: 100% !important;
  min-width: 900px !important; /* Minimalna szerokość – zapobiega ściskaniu kolumn na telefonach */
  border-collapse: collapse !important;
  border: 2px solid #000000 !important;
  margin-bottom: 30px !important;
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  background-color: #ffffff !important; /* Białe tło całej tabeli */
}

/* Domyślne wymuszenie czarnych ramek i BIAŁEGO TŁA dla zwykłych komórek */
.table-responsive-wrapper table td,
table.tabela-dowodzenia td {
  border: 1px solid #000000 !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #000000 !important;
  padding: 6px 4px !important;
  text-align: center !important;
  vertical-align: middle !important;
  word-wrap: break-word !important;
  background-color: #ffffff !important; /* Wymuszenie czystego białego tła */
}

/* Domyślne wymuszenie czarnych ramek dla nagłówków */
.table-responsive-wrapper table th,
table.tabela-dowodzenia th {
  border: 1px solid #000000 !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #000000 !important;
  padding: 6px 4px !important;
  text-align: center !important;
  vertical-align: middle !important;
  word-wrap: break-word !important;
  background-color: #c0c0c0 !important; /* Szare tło dla nagłówków */
  font-weight: bold !important;
}

/* WYRÓŻNIENIA KOLORYSTYCZNE W KOMÓRKACH */

/* Zielone komórki (np. wybrane lata / wyróżnienia) */
.table-responsive-wrapper table td.highlight,
table.tabela-dowodzenia td.highlight {
  background-color: #aaba00 !important;
}

/* Czerwone komórki (puste / specjalne) */
.table-responsive-wrapper table td.empty-red,
table.tabela-dowodzenia td.empty-red {
  background-color: #ff0000 !important;
}

/* Czerwony tekst wewnątrz komórek */
.table-responsive-wrapper table .red-text,
table.tabela-dowodzenia .red-text {
  color: #ff0000 !important;
  font-weight: bold !important;
}



#NewsPostDetailContent ul li {font-size:1.2rem;}
 .motto-box, .speech-box {
      background-color: #f8f9fa;
      border: 1px solid #dee2e6;
      border-radius: 0.25rem;
      padding: 1.5rem;
    }
    .gallery-box {
      background-color: #d4edda;
      border: 1px solid #c3e6cb;
      padding: 1rem;
      border-radius: 0.25rem;
    }

.cid-vq23t9Rakx h2 {margin-top:2rem;}
.cid-vq23t9Rakx h3 {margin-top:2rem !important;}

.tlo {display: block;
      background-color: #343a40;
      color: #fff !important;
      padding: 14px 20px;
      border-left: 5px solid #787324;
      border-right: 5px solid #787324;
      border-radius: 4px;
      font-weight: 500;
      font-size: 16px;
      text-decoration: none !important;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
      transition: all 0.25s ease-in-out;
      text-align: center;
      font-size: 1.6rem;
      font-weight: 100; }
