
/* ========= ZMIENNE KOLORÓW ========= */
:root {
    --bg-body: #141414;
    --bg-panel: #f1e7d8;
    --bg-panel-black: #111111;
    --bg-panel-dark1: #181818;
    --bg-panel-dark: #252525;
    --bg-panel-mid1: #2b2b2b;
    --bg-panel-mid: #303030;
    --bg-panel-light: #353535;
    
    /*--accent: #c2442b;*/
    --accent: #f0c040;
    /* --link: #f0c040; */
    --link: #ae9046;
    --link-hover: #c19f5a;
    --link-bg-hover: #c19f5a;
    --bg-link: #ae9046;
    --text-main: #f5f1e8;
    --text-light: #ccc;
    --text-dark: #2b2520;
    --text-black: #141414;
    --text-muted: #b3a89c;
    --border-light: #d7cbb9;
}

/* ========= RESET / PODSTAWA ========= */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html { 
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    
    display: flex;
    flex-direction: column;
    background-color: var(--bg-panel-dark);
    color: var(--text-main);
    margin: 0;
    font-family: 'poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:focus {
  outline: 2px solid red;   /* czerwona obwódka */
  outline-offset: 2px;      /* odsunięcie obwódki od tekstu (opcjonalne) */
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    /* font-family: "Georgia", "Times New Roman", serif; */
    letter-spacing: 0.03em;
}

strong { font-weight: 700; }

hr {
    border: none;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--border-light),
        transparent
    );
    margin: 2.5rem 0;
}


/* ======== DOSTĘPNOŚĆ ========= */
html.high-contrast {
    --bg-body: #000000;
    --bg-panel: #000000;
    --bg-panel-black: #000000;
    --bg-panel-dark1: #000000;
    --bg-panel-dark: #000000;
    --bg-panel-mid1: #000000;
    --bg-panel-mid: #000000;
    --bg-panel-light: #000000;

    --text-main: #ffff00;      /* ŻÓŁTY TEKST */
    --text-light: #ffff00;
    --text-dark: #ffff00;
    --text-black: #ffff00;
    --text-muted: #fff799;     /* jaśniejszy żółty / mniej agresywny */

    --link: #ffff00;
    --link-hover: #ffffff;
    --link-bg-hover: #000000;

    --accent: #ffff00;
    --bg-link: #ffff0000; /* przezroczyste tło przy linkach */
    --border-light: #ffff00;
}

html.fontSize-1 {
    font-size: 16px !important; /* zwiększony rozmiar czcionki */
}

html.fontSize-2 {
    font-size: 18px !important; /* zwiększony rozmiar czcionki */
}
html.fontSize-3 {
    font-size: 20px !important; /* zwiększony rozmiar czcionki */
}


/* ===================================================================================================== */
/* ============================ Tłumaczenie google Translate ================================================= */
/* ===================================================================================================== */
.lang-switcher {
	display: inline-flex;
	margin-left: 8px;
	border: 1px solid var(--border-light);
	border-radius: 4px;
	overflow: hidden;
  transform: translateY(-4px);
}

.lang-link {
	width: auto !important;      /* nadpisuje 30px z ikon */
	padding: 3px 8px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--text-main);
}

.lang-link:focus {
  outline: none;
  outline-offset: none;
}

/* hover – korzysta z Twojego mechanizmu */
.top-bar .icons-top .lang-link:hover {
	background-color: var(--bg-link);
	color: var(--text-black);
}

/* aktywny język */
.lang-link.active {
	background-color: var(--bg-link);
	color: var(--text-black);
}

/* ===================================================================================================== */
/* ============================ TOP BAR ================================================================ */
/* ===================================================================================================== */
.top-bar {
    background-color: var(--bg-panel-dark);
    color: var(--text-light);
    height:45px; 
    overflow: hidden;
    padding-top:5px;
    border-bottom: 1px solid var(--border-light);
}

.top-bar .icons-top a {
    color: var(--text-light);
    cursor: pointer;
    display: inline-block;
    width: 30px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.top-bar .icons-top a:hover {
    color: var(--accent-color);
    background-color: var(--bg-link);
}

.top-bar .kupBilet {
    background-color: var(--bg-link);
    border-radius: 4px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 19px;
    padding: 2px 10px;
    margin-right: 13px;
}

/* ===================================================================================================== */
/* ============================ HEADER ================================================================ */
/* ===================================================================================================== */

header {
   /*background-color : var(--bg-panel-dark);*/
    background: transparent;
    position: sticky;
    /*top: 30px;*/
    top: 0px;
    height: 70px;
    left: 0;   
    right: 0;
    z-index:1000;
    transition: background-color 0.3s ease;
}

#header.scrolled {
    background-color: var(--bg-panel-mid1); /* tło gdy nie jest na górze,  #252525 */
	top:0px;
}

header.header_main_page {
    background-color: transparent;
}

header .header-container {
    display:flex; 
    justify-content:space-between; 
    align-items:center;
}


@media screen and (max-width: 1000px) {
   header .header-container {
        padding: 0 15px;
    }
}


/* ===================================================================================================== */
/* ============================ LOGO ============================================================ */
/* ===================================================================================================== */

header .logo img {
    height:60px; 
    margin-top: 5px; 
    margin-bottom: 5px;
    transition: width 0.3s, height 0.3s;
}




/* ===================================================================================================== */
/* ============================ TOP / HERO (Slider) ================================================================ */
/* ===================================================================================================== */

 /* ================= HERO SLIDER ================= */

.hero-slider {
    position: relative;
    top: -70px;
    margin-bottom: -70px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 700px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradienty – przeniesione z hero-bg */
.hero-slider::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 180px;
    background: linear-gradient(
        to bottom,
        rgba(37, 37, 37, 0.9) 20%,
        rgba(37,37,37,0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-slider::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 60px;
    background: linear-gradient(
        to top,
        var(--bg-panel-dark) 0%,
        rgba(34,34,34,0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* KROPKI */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dots button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #fff;
    background-color: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background-color 0.5s;
}

.hero-dots button.active {
    background-color: var(--accent);
}

/* MOBILE */
@media (max-width: 800px) {
    .hero-slides {
        height: 420px;
    }
    .hero-slider {
        top: -50px;
        margin-bottom: -50px;
    }
}

@media (max-width: 600px) {
    .hero-dots {
        bottom: 20px;
    }
   .hero-dots button {
        width: 25px;
        height: 25px;
        background: rgba(255,255,255,.2);
        border: none;
    }
}




/* ========= KONTENER ========= */
.container {
    width: 100%;
    max-width: 1200px;
     
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* ===================================================================================================== */
/* ============================ MENU GŁÓWNE ============================================================ */
/* ===================================================================================================== */
.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 0.8125rem; /* 13px */
}

.main-nav > ul li {
    position: relative;       /* potrzebne dla dropdowna */
}

.main-nav > ul a {
    color: inherit;
    position: relative;
    cursor: pointer;
    padding-bottom: 4px;
}



.main-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--bg-link);
    transition: width 0.2s ease;
}

.main-nav > ul a:hover::after {
    width: 100%;
}


/* === STRZAŁKA PRZY POZYCJI Z PODMENU === */
.nav-arrow {
    display: inline-block;
    margin-left: 2px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-main); /* kolor strzałki */
    transform: translateY(-1px);
    transition: transform 0.15s ease;
}

/* przy najechaniu lekko obracamy strzałkę */
.has-submenu:hover > a .nav-arrow {
    transform: translateY(-1px) rotate(180deg);
}

/* === PODMENU (DROPDOWN) === */
.main-nav ul .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;          /* <-- wymusza pionowy układ */
    margin: 0px 0 0;
    padding: 8px 0;
    min-width: 180px;
    background: var(--bg-panel-dark);
    border: 1px solid #333;
    list-style: none;
    opacity: 0;
    transform: translateY(1px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 50;
    box-shadow: 4px 3px 5px #3e3e3e80;
}

.main-nav ul.submenu li {
    display: block;          /* <-- każdy element podmenu to blok */
}

.main-nav ul .submenu a {
    display: block;          /* <-- całe klikane pole */
    padding: 8px 14px;
    text-transform: none;
    font-size: 0.8125rem; /* 13px */
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.main-nav ul .submenu a:hover {
    background-color: var(--bg-link);
    color: var(--text-main);
}

/* pokazanie podmenu przy najechaniu na li */
.main-nav ul .has-submenu:hover > .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


@media screen and (max-width: 1100px) {
    .main-nav ul  {
        gap: 15px;
    }
    
}

@media screen and (max-width: 1000px) {
    .main-nav ul  {
        gap: 15px;
    }
}

/* ===================================================================================================== */
/* ============================ MENU MOBILE =========================================================== */
/* ===================================================================================================== */

/* --------- Menu mobile */
/* Kontener ikony */
.mobile-toggle {
    width: 40px;
    cursor: pointer;
    text-align: center;
}


.fullscreen-menu {
    position: fixed;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    background: var(--bg-panel);
	color: var(--text-black);
    z-index: 9999;

    /* DOMYŚLNIE UKRYTE */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%); /* schowane poza ekranem */

    transition: all 0.4s ease;
}

/* Kiedy dodasz klasę show → menu wjeżdża i jest widoczne */
.fullscreen-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}



/* Górny pasek */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
    font-size: 16px;
}

.mobile-menu-title {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* X (plus obrócony) */
.mobile-menu-close {
    cursor: pointer;
    font-size: 22px;
    transform: rotate(45deg); /* z plusa robi X */
}

/* Lista menu */
.mobile-menu-nav {
    padding: 8px 0 24px;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
	cursor: pointer;
}

/* Górny wiersz pozycji (tekst + strzałka) */
.mobile-menu-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
}

/* Link główny */
.mobile-menu-link {
    font-size: 16px;
    text-decoration: none;
    color: inherit;
}

/* Przycisk rozwijania podmenu */
.mobile-menu-toggle {
    border: none;
    background: none;
    padding: 0;
    margin-left: 12px;
    cursor: pointer;
}

/* Ikona strzałki (prostokąt obracany) */
.toggle-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

/* Podmenu (domyślnie schowane) */
.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 10px 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Linki w podmenu */
.mobile-submenu-link {
    display: block;
    padding: 6px 18px 6px 15px;
    font-size: 14px;
    text-decoration: none;
    color: rgba(0,0,0,0.8);
}

/* Otwarta pozycja */
.mobile-menu-item.open .mobile-submenu {
    max-height: 500px; /* wystarczająco, żeby się rozwinęło */
}

/* Obrócona strzałka po otwarciu */
.mobile-menu-item.open .toggle-icon {
    transform: rotate(225deg);
}

/* Delikatne podświetlenie przy dotyku */
.mobile-menu-item-top:active,
.mobile-submenu-link:active {
    background: rgba(0,0,0,0.05);
}


/* ===================================================================================================== */
/* ============================ Nawigacja na stronie (tutaj jesteś) ==================================== */  
/* ===================================================================================================== */
.breadcrumbs {
    font-size: 0.8125rem; /* 13px */
    margin: 0 0 24px;
    color: var(--text-light);

    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);   /* lekko przyciemniony pasek */
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
	width:100%;
}

.breadcrumbs::before {
    content: "Jesteś tutaj:";
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: var(--text-light);
    margin-right: 8px;
}

.breadcrumbs a {
    color: var(--link-hover); /* złoty akcent */
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs__sep {
    margin: 0 4px;
    color: var(--text-muted);
}

/* ===================================================================================================== */
/* ============================ RÓZNOŚCI DO STRONY =====================================================
/* ===================================================================================================== */

/* ======= button PRZYCISK "Ze złotym tłem" ======= */
.btn-more-wrapper {
    margin-top: 20px;
    text-align: center;
}

.btn-more {
    display: inline-block;
    padding: 10px 22px;
    background: var(--bg-link);                  /* złoty akcent muzeum */
    color: var(--text-dark);                           /* czytelny, kontrastowy #222 */
    border-radius: 6px;
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-more:hover {
    background: var(--link-bg-hover);                   /* jaśniejszy złoty */
}

/* ============= button Przycisk w białej ramce ============= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: var(--text-main) !important; /* biały tekst */
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    margin-top: 20px;

    transition: all 0.3s ease;
    backdrop-filter: blur(3px); /* elegancki nowoczesny efekt */
}



/* Efekt hover */
.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;

}

@media (max-width: 600px) {
    .btn-more.btn-mobile-fullwidth {
        width:100%;
        text-align: center;
    }
}


/*  ======================== lista na stronie ======================== */
.list {
    margin-top: 10px;
}

/* element listy */
.list .list-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: var(--bg-panel-light);
    border: 1px solid #3f3f3f;
    border-left: 6px solid var(--link); /* złota linia */
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 6px;
    transition: 0.2s ease;
}

/* tytuł */
.list .list-item span {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

/* hover → lekkie rozjaśnienie + uniesienie */
.list .list-item:hover {
    background: #343434;
    border-color: #4a4a4a;
    transform: translateY(-2px);
}


/* ===================================================================================================== */
/* =========================================== MODUL KALENDARZ  ======================================== */
/* ===================================================================================================== */
.home-calendar-section {
    background: var(--bg-panel-dark);          /* ciemne jak header strony #222 */
    padding: 40px 0;
    color: var(--text-main);
}

.home-calendar-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.home-calendar-section .section-title {
    font-size: 1.375rem; /* 22px; */ 
    margin-bottom: 15px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* LEWA KOLUMNA – wydarzenia */
.events-column {
    flex: 1.2;
}

a.event-item {
	color: var(--text-main);
    display: flex;
    align-items: center;
    background-color: #333;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 10px;
    border: 1px solid #3f3f3f;
	transition: background-color 0.15s, border-color 0.15s;
}
a.event-item:hover {
	background-color: #3e3e3e;
	border-color: #f0c040;           /* złoty akcent jak logo muzeum */
	text-decoration: none;
}

.event-date {
    width: 60px;
    height: 60px;
    background: #444;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: 700;
}

.event-day {
    font-size:  1.25rem; /* 20px */
}

.event-month {
    font-size:  0.6875rem; /* 11px */
    text-transform: uppercase;
}

.event-info h3 {
    font-size: 1rem; /* 16px */
    margin: 0 0 4px;
}

.event-time-place {
    font-size: 0.8125rem; /* 13px */
    margin: 0;
    color: var(--text-muted);
}

.events-more-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8125rem; /* 13px */
    color: #f0c040;           /* złoty akcent jak logo muzeum */
    text-decoration: none;
}
.events-more-link:hover {
    text-decoration: underline;
}

/* PRAWA KOLUMNA – kalendarz */
.calendar-column {
    flex: 1;
}

.calendar-widget {
    background: #2b2b2b;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #3f3f3f;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 700;
}

.cal-month-year {
    font-size:  1.125rem; /* 18px */
}

.cal-nav {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size:  1.25rem; /* 20px */
    cursor: pointer;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size:  0.6875rem; /* 11px */
    text-align: center;
    margin-bottom: 6px;
    color: var(--text-muted);  /* #bbbbbb */
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 12px;
}

.calendar-days .day {
    height: 32px;
    background: #3a3a3a;
    border: none;
    border-radius: 4px;
    color: var(--text-main);
    font-size: 0.8125rem; /* 13px */
    cursor: pointer;
	transition: background-color 0.15s;
}

.calendar-days .day:hover {
    background-color: var(--bg-panel-light);  /*#4a4a4a*/
}

.calendar-days .day.disabled {
    opacity: 0.35;
    cursor: default;
}

.calendar-days .day.selected {
	box-shadow: 0 0 0 2px #f0c040 inset;  /* złota ramka na dni z wydarzeniami */
    /*background: #f5f5f5;
    color: #222;*/
    font-weight: 700;
}

/*.calendar-days .day.has-event {
    box-shadow: 0 0 0 2px #f0c040 inset;  złota ramka na dni z wydarzeniami
}*/

.calendar-days .day.has-event {
    background: var(--bg-link); /* zielony akcent jak w linkach */
    color: var(--text-main);
    font-weight: 700;
}
.calendar-days .day.has-event:hover {
    background: var(--link-bg-hover); /* lekko jaśniejszy przy hover */
}

/* Animacja przy zmianie miesiąca */
.events-empty{
  padding: 12px 14px;
  border: 1px dashed #3f3f3f;
  border-radius: 6px;
  color: var(--text-muted);
  background: rgba(255,255,255,.03);
}

.fade-panel-enter-active, .fade-panel-leave-active {
  transition: opacity .15s ease, transform .15s ease;
}
.fade-panel-enter-from, .fade-panel-leave-to {
  opacity: 0;
  transform: translateY(0);
}
.fade-panel-enter-to, .fade-panel-leave-from {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DZISIEJSZY DZIEŃ ===== */
.calendar-days .day.is-today {
    position: relative;
    box-shadow: 0 0 0 2px rgba(240,192,64,0.6) inset;
    font-weight: 700;
}



.calendar-days .day.is-today.has-event {
    background: var(--bg-link);
    box-shadow: 0 0 0 2px #fff inset;
}


/* RWD */
@media (max-width: 900px) {
    .home-calendar-section .container {
        flex-direction: column-reverse;
    }
}


/* =============================================================================================== */
/* ============================ STRONA z GAZETKAMI  ======================================== */    
/* =============================================================================================== */

.gazetki {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.gazetka {
  width: 250px; /* kontrolujesz ile w rzędzie */
}

.gazetka a {
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}

.gazetka img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4; /* portret */
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.gazetka img:hover {
  transform: scale(1.03);
}

.gazetka h3 {
  margin: 8px 0 0;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 500px) {
  .gazetka {
	width: 100%; /* 2 w rzędzie na mniejszych ekranach */
  }
}

/* ===================================================================================================== */
/* ============================ Modul z Artykułami ===================================================== */
/* ===================================================================================================== */
.home-articles-section {
    background: var(--bg-panel-black);          /* lekko inny odcień, ale nadal ciemno */
    padding: 40px 0;
    color: var(--text-main);
}

.home-articles-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-articles-section .section-title {
    
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* siatka kart */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.article-card {
    background: var(--bg-panel-mid1);  /*#2b2b2b*/
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #3f3f3f;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* obrazek u góry */
.article-image {
    width: 100%;
    height: 230px;             /* możesz zmienić */
    overflow: hidden;
}



.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
     transform: scale(1.1); /* powiększenie o 10% */
    
}

/* treść na dole */
.article-content {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.article-date {
    font-size: 0.75rem; /* 12px */
    color: var(--text-muted);
}

.article-title {
    color: var(--text-main);
    font-size: 1rem; /* 16px */
    margin: 0;
}

.article-lead {
    font-size: 0.8125rem; /* 13px */
    margin: 0;
    color: var(--text-main);
    line-height: 1.4;
}

/* efekt hover */
.article-card:hover {
    border-color: #f0c040;          /* złoty akcent jak wcześniej */
    /* transform: translateY(-2px);*/
    transition: all 0.15s ease-in-out;
}

/* RWD */
@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================================================== */
/* ============================ MODUŁ Strona GŁÓWNAz OFERTAMI ======================================== */
/* ============================================================================================== */
.home-offer-section {
    background: var(--bg-panel-dark1);  /*#181818*/
    padding: 50px 0;
    color: var(--text-main);
}

.home-offer-section .section-title {
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Kafelek jako link ze zdjęciem w tle */
.offer-item {
    position: relative;
    display: block;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 1px solid #3f3f3f;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

/* Tutaj trzymamy zdjęcie */
.offer-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: inherit; /* pozwala korzystać z inline style="background-image:url()" */
    z-index: 0;
    transition: transform 0.5s ease;
}

/* Ciemny gradient */
.offer-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.00) 0%,
        rgba(0, 0, 0, 0.85) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: 1;
}

/* Treść */
.offer-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
}


.offer-content h3 {
    color: var(--text-main);
    margin: 0 0 6px;
    font-size: 1.125rem; /* 18px */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.offer-content p {
    margin: 0;
    font-size: 0.8125rem; /* 13px */
    line-height: 1.4;
    color: var(--text-main);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}



/* Efekt powiększenia o 10% */
.offer-item:hover::after {
    transform: scale(1.1);
}

/* Złota ramka przy hover */
.offer-item:hover {
    border-color: #f0c040;
}

/* RWD */
@media (max-width: 900px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================================================================================== */
/* ============================ Strona Statyczna ===================================================== */
/* ===================================================================================================== */
/* --- HEADER PODSTRONY --- */
.subpage-header {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.subpage-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.0) 10%,
        rgba(0,0,0,0.60) 100%
    );
	 z-index: 1; /* gradient pod spodem */
}



.subpage-header-inner {
    background: rgba(0,0,0,0.55);
    padding: 40px 20px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
	position: relative;
    z-index: 2; /* H1 jest ponad gradientem */
}

.subpage-header h1 {
    margin: 0;
    text-shadow: 2px 2px 4px #000;
    color: var(--text-main);
    font-size:  2.125rem; /* 34px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- TREŚĆ --- */
.subpage-content {
    background-color: var(--bg-body);;
   /* padding: 50px 0; */
    color: var(--text-main);
}

.subpage-content .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-panel-mid);
    padding: 20px 20px 50px 20px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.content-article {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
}

/* Teksty */
.content-article h2,
.content-article h3,
.content-article h4 {
    color: var(--text-main);
    margin-top: 35px;
    margin-bottom: 12px;
}

.content-article h2 {
    font-size: 1.625rem;
}

.content-article h3 {
    font-size: 1.375rem;
}

.content-article p {
    margin-bottom: 18px;
}

/* Listy */
.content-article ul,
.content-article ol {
    margin: 15px 0 20px 8px;
}

.content-article li {
    margin-bottom: 5px;
}

/* Linki */
.content-article a {
    color: var(--link);
    text-decoration: underline;
}

.content-article img {
    max-width: 100%;
    border-radius: 6px;
    margin: 20px 0;
}

.content-article blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-panel-dark);
    color: var(--text-main);
    border-left: 4px solid var(--link);
    font-style: italic;
    line-height: 1.7;
    position: relative;
}

.content-article blockquote p {
    margin: 0;
}

.content-article blockquote::before {
    content: "„";
    position: absolute;
    top: -0.6rem;
    left: 0.75rem;
    font-size: 3.5rem;
    color: var(--accent);
    opacity: 0.35;
    line-height: 1;
}


/* RWD */
@media (max-width: 700px) {
    .subpage-header {
        height: 180px;
    }
    .subpage-header h1 {
        font-size: 1.2rem; /* 24px */
        line-height: 1.3;
    }
    .subpage-header-inner {
        background: rgba(0,0,0,0.55);
        padding: 20px 15px;
    }

    .subpage-content .container {
        max-width: 1200px;
        margin: 0 auto;
        background-color: var(--bg-panel-mid);
        padding: 20px 15px 50px 15px;
    }
}


/* ============================================================================================= */
/* ========================================== STRONA ARTYKUŁ ================================== */
/* ============================================================================================= */
/* ============================ PODSTRONA ARTYKUŁU (aktualność) ============================ */

.news-article-meta {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.news-article-hero {
  margin: 14px 0 18px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #3f3f3f;
  background: var(--bg-panel-dark);
}

.news-article-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin: 0;
}

.news-article-body {
  margin-top: 8px;
  overflow: hidden;
}

/* Załączniki – w stylu Twoich paneli */
.news-article-attachments h3,
.news-article-gallery h3 {
  margin-top: 35px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.article__attachments{ margin-top: 16px; }
  ul.attachments{
    list-style:none; padding:0; margin:0;
	
    background: var(--bg-panel-mid);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow:hidden;
  }
  .attachments__item + .attachments__item{
    border-top: 1px solid rgba(255,255,255,.08);
  }
  a.attachments__link{
    display:flex; justify-content:space-between; gap:14px;
    padding: 14px 16px;
    text-decoration:none;
	background-color: var(--bg-panel-dark);
    color: var(--text-main);
  }
  a.attachments__link:hover{
    background: var(--bg-panel-mid1);
  }
  .attachments__name{ font-weight: 600; }
  .attachments__meta{ color: var(--text-muted); white-space:nowrap; }

/* ============================ GALERIA ARTYKUŁU ============================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 na desktop */
  gap: 16px;
  margin-top: 10px;
}

.gallery-card {
  margin: 0;
  background: var(--bg-panel-dark);
  border: 1px solid #3f3f3f;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-card a {
  display: block;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
  margin: 0;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

/* opis zdjęcia */
.gallery-caption {
  padding: 8px 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-muted);

  border-top: 1px solid rgba(255,255,255,.08);
}

/* mobile */


@media (max-width: 700px) {
   .gallery-grid {
    grid-template-columns: 1fr; /* 1 kolumna */
  }


}

 @media (max-width: 650px){

    .attachments__link{ flex-direction:column; align-items:flex-start; }
    .attachments__meta{ white-space:normal; }

  }


/* ===================================================================================================== */
/* ============================ STRONA Z AKTUALNOŚCIAMI ============================================ */
/* ===================================================================================================== */
/* Pasek filtrów */
.news-filters{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
  padding:12px;
  border-radius:16px;
  background:var(--bg-panel-dark);
  border:1px solid var(--bg-panel-light);
}

.news-search{display:flex; gap:8px; flex:1; min-width:260px;}
.news-search input{
  flex:1;
  background:var(--bg-panel-mid);
  color:var(--text-main);
  border:1px solid var(--bg-panel-light);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
}
.news-search button{
  background:var(--accent);
  color:var(--text-black);
  border:none;
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}
.news-search button:hover{filter:brightness(1.05);}

.news-category select{
  background:var(--bg-panel-mid);
  color:var(--text-main);
  border:1px solid var(--bg-panel-light);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  min-width:220px;
}

/* Mobile: filtr w kolumnie */
@media (max-width: 720px){
  .news-filters{flex-direction:column; align-items:stretch;}
  .news-search{min-width:0;}
  .news-category select{width:100%; min-width:0;}
}

/* Dostępność */
.visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.news-wrap{ padding: 28px 0;}
.news-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px;flex-wrap:wrap;}
.news-count{color:var(--text-muted);font-size:14px;}
.news-controls select{
  background:var(--bg-panel-dark); color:var(--text-main);
  border:1px solid var(--bg-panel-light); border-radius:10px;
  padding:10px 12px; outline:none;
}

.news-grid{display:grid;grid-template-columns:1fr 340px;gap:22px;align-items:start;}
@media (max-width: 980px){ .news-grid{grid-template-columns:1fr;} }

.news-card{
  display:grid; grid-template-columns:350px 1fr; gap:16px;
  background:var(--bg-panel-dark);
  border:1px solid var(--bg-panel-light);
  border-radius:16px;
  overflow:hidden;
  transition:transform .15s ease, border-color .15s ease;
  margin-bottom: 20px;
}
.news-card:hover{ border-color:var(--link-hover);}
@media (max-width: 700px){ .news-card{grid-template-columns:1fr;} }

.news-thumb{display:block; background:linear-gradient(135deg,var(--bg-panel-mid),var(--bg-panel-light));}
.news-thumb img{width:100%;height:100%;object-fit:cover;display:block;min-height:160px;}

.news-body{
  padding:16px 16px 14px;
  display:flex;
  flex-direction:column;
  height:100%;
}
.news-meta{display:flex;gap:8px;align-items:center;color:var(--text-muted);font-size:13px;margin-bottom:6px;}
.news-cat{color:var(--link);text-decoration:none;}
.news-cat:hover{color:var(--link-hover);}

.news-title{margin:0 0 8px 0;font-size:20px;line-height:1.2;}
.news-title a{color:var(--text-main);text-decoration:none;}
.news-title a:hover{color:var(--link-hover);}

.news-lead{margin:0 0 12px 0;color:var(--text-muted);line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}

.news-bottom{

margin-top:auto;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.news-tags{display:flex;gap:8px;flex-wrap:wrap;}
.tag{
  font-size:12px; color:var(--text-main); text-decoration:none;
  border:1px solid var(--bg-panel-light);
  padding:6px 10px; border-radius:999px;
  background:rgba(255,255,255,.02);
}
.tag:hover{border-color:var(--link-hover);color:var(--link-hover);}

.news-more{color:var(--link);text-decoration:none;font-weight:600;}
.news-more:hover{color:var(--link-hover);}

/* Pagination */

.pagination{display:flex;gap:8px;justify-content:center;margin-top:18px;flex-wrap:wrap;}
.pg, .pg-dots{
  padding:10px 12px;border-radius:12px;
  background:var(--bg-panel-dark);
  border:1px solid var(--bg-panel-light);
  color:var(--text-main);text-decoration:none;
}
.pg:hover{border-color:var(--link-hover);color:var(--link-hover);}
.pg.is-active{border-color:var(--accent);color:var(--accent);}

/* ================================================================================================== */
/* ========================== WYDARZENIE – STRONA SZCZEGÓŁOWA ======================================= */
/* ================================================================================================== */

.event-article {
 /* max-width: 900px;*/
}

/* Tytuł */
.event-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

/* Ramka z informacjami */
.event-info-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;

  background: var(--bg-panel-dark);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--accent);
  border-radius: 6px;

  padding: 18px 20px;
  margin-bottom: 30px;
}

/* Pojedyncza informacja */
.event-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Opis wydarzenia */
.event-description {
  font-size: 1rem;
  line-height: 1.7;
}

.event-description h3 {
  margin-top: 30px;
}

.event-description ul {
  margin-left: 20px;
}

.event-description li {
  margin-bottom: 6px;
}

/* RWD */
@media (max-width: 600px) {
  .event-title {
    font-size: 1.5rem;
  }
}

/* ===================================================================================================== */
/* ============================ STOPKA NAD FOOTER ====================================================== */
/* ===================================================================================================== */
.siteFooter{
  overflow: hidden;
  background: var(--bg-body);
  color: var(--text-main);
  /* border-top: 1px solid rgba(255,255,255,.06); */
}

.siteFooter__wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 10px 24px;
}

.siteFooter__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.siteFooter__card{
  background: var(--bg-panel-dark);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px 18px;
}

.siteFooter__title{
  margin: 0 0 14px 0;
  font-size: 1.25rem; /* 20px */
  color: var(--text-main);
}

.siteFooter__subtitle{
  margin: 0 0 12px 0;
  font-size: 0.8125rem; /* 13px */
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-muted);
}

.siteFooter__kv{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px 14px;
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
}

.siteFooter__k{
  color: var(--text-muted);
}

.siteFooter__v{
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
}

.siteFooter__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
}

.siteFooter__listTitle{
  display: block;
  color: var(--text-main);
  margin-bottom: 2px;
}

.siteFooter a{
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted rgba(174,144,70,.55);
}

.siteFooter a:hover{
  color: var(--link-hover);
  border-bottom-color: rgba(193,159,90,.9);
}

.siteFooter__bottom{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}


/* Social */
.siteFooter__social{
  display: flex;
  gap: 10px;
}

a.siteFooter__socialBtn{
  /*width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;

  background: var(--bg-panel-mid);
  border: 1px solid rgba(255,255,255,.08);

  color: var(--text-main);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
  */
  font-size:35px;
  text-decoration: none;
  color: var(--text-main);
  transition: color .15s ease;
  border-bottom: none;
}

.siteFooter__socialBtn:hover{
  color: var(--accent);
}

.siteFooter__socialBtn:focus-visible{
  /*outline: 2px solid var(--accent);
  outline-offset: 4px;*/
}

/* Loga */
.siteFooter__logos{
    flex:1;
  display: flex;
  align-items: center;
  gap: 18px;
}
.siteFooter__logos a {
    display: inline-block;
  text-decoration: none;
  border-bottom: none;
  width: 50%;
  max-width: 300px;
}


.siteFooter__logos img{
  width: auto;
  opacity: .82;
  filter: saturate(.8);
  transition: opacity .3s ease, filter .3s ease;
}

.siteFooter__logos a:hover img {
    opacity: 1;
    filter: none;
}




/* MOBILE */
@media (max-width: 980px){
  .siteFooter__grid {
    grid-template-columns: 1fr;
  }
  .siteFooter__kv{
    grid-template-columns: 90px 1fr;
  }
  .siteFooter__logos {
   width:100%;
   justify-content: center;
  }
  .siteFooter__bottom {
   flex-direction: column-reverse;
  }
}

/* ===================================================================================================== */
/* ============================ FOOTER ================================================================ */
/* ===================================================================================================== */
footer {
    background-color: var(--bg-body);
    color: var(--text-muted);
    padding: 20px 0;
    font-size: 0.875rem; /* 14px */
}

footer .footer-bottom {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    
}

@media screen and (max-width: 1000px) {
    footer .footer-bottom {
        flex-direction: column-reverse;
    }
}
footer .menuFooter {
    display: block;
    text-align: center;
}


footer .menuFooter a {
    font-weight: 200;
    color: var(--text-main);
    position: relative;
    cursor: pointer;
    padding-bottom: 4px;
    margin-right: 15px;
    font-size: 0.875rem; /* 14px */
}

footer .menuFooter a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--bg-link);
    transition: width 0.2s ease;
}

footer .menuFooter a:hover::after {
    width: 100%;
}


/* ===================================================================================================== */
/* ============================ 800 ============================================================ */
/* ===================================================================================================== */



@media (max-width: 800px) { 

    /* ======= HEADER ======= */
    header {
        height: 50px;
    }

    header.scrolled {
        height: 50px;
    }

    header .logo img { height:40px; } 

    .hero {
        top:-50px;
    }

    /* ======= KONIEC ======= */
}