/* CSS Document */

/* ==========================================================================
   Dekory tła (.decor-blur-1, .decor-x-1/2/3) — przeniesione 1:1 z nomonday
   dist/css/app.css. Element pozycjonuje się przez zmienne --decor-* nadawane
   inline na elemencie, np.:
   <div class="decor-x-2" style="--decor-right: 3rem; --decor-top: calc(50% - 10rem);
        --decor-width: 20rem; --decor-height: 20rem; --decor-z-index: 0;"></div>
   Rodzic musi mieć position: relative (i zwykle overflow: hidden).
   Responsywne korekty per sekcja zostają w CSS-ach poszczególnych bloków.
   ========================================================================== */

.decor-blur-1, .decor-x-1, .decor-x-2, .decor-x-3 {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: var(--decor-bottom);
    height: var(--decor-height);
    left: var(--decor-left);
    position: absolute;
    right: var(--decor-right);
    top: var(--decor-top);
    width: var(--decor-width);
    z-index: var(--decor-z-index);
}
.decor-blur-1 {
    background-image: url(../gfx/decors/decor-blur-1.svg);
}
.decor-x-1 {
    background-image: url(../gfx/decors/decor-x-1.svg);
}
.decor-x-2 {
    background-image: url(../gfx/decors/decor-x-2.svg);
}
.decor-x-3 {
    background-image: url(../gfx/decors/decor-x-3.svg);
}
/* ==========================================================================
   Nagłówek-bilet (.decor-ticket) — przeniesione 1:1 z nomonday dist/css/app.css.
   Komplet: bazowy kształt (maski CSS), rozmiar --small oraz warianty kolorów.
   URL ikony we wariancie --localization wskazuje na gfx/ childa.
   ========================================================================== */

.decor-ticket {
 --r: 33px;
 --s: 15px;
 --a: 50deg;
 --p: 50%;
 --_m:, #000 calc(100% - 1px), #0000;
 --_r: var(--r) at calc(100% - var(--r));
 --_d: (var(--s) + var(--r)) * cos(var(--a));
    background: #fff;
    border-bottom: 2px solid #3600b9;
    border-bottom-left-radius: 0.5rem;
    border-left: 2px solid #3600b9;
    border-top: 2px solid #3600b9;
    border-top-left-radius: 0.5rem;
    color: #3600b9;
 -webkit-mask: radial-gradient(var(--_r) calc(var(--p) + var(--_d)) var(--_m)), radial-gradient(var(--_r) calc(var(--p) - var(--_d)) var(--_m)), radial-gradient(var(--s) at calc(100% + sin(var(--a))*var(--s)) var(--p), transparent 100%, #000 calc(100% + 1px)) calc(var(--r)*(sin(var(--a)) - 1)) 0 no-repeat, linear-gradient(#000 calc(var(--p) - var(--_d)), transparent 0 calc(var(--p) + var(--_d)), #000 0);
 mask: radial-gradient(var(--_r) calc(var(--p) + var(--_d)) var(--_m)), radial-gradient(var(--_r) calc(var(--p) - var(--_d)) var(--_m)), radial-gradient(var(--s) at calc(100% + sin(var(--a))*var(--s)) var(--p), transparent 100%, #000 calc(100% + 1px)) calc(var(--r)*(sin(var(--a)) - 1)) 0 no-repeat, linear-gradient(#000 calc(var(--p) - var(--_d)), transparent 0 calc(var(--p) + var(--_d)), #000 0);
    padding: 0.875rem 2rem 0.875rem 0.875rem;
    position: relative;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    z-index: 0;
}
.decor-ticket:before {
    background: #3600b9;
    bottom: -2px;
    right: 0;
    top: -2px;
    z-index: 1;
}
.decor-ticket:after, .decor-ticket:before {
    content: "";
 -webkit-mask: radial-gradient(var(--_r) calc(var(--p) + var(--_d)) var(--_m)), radial-gradient(var(--_r) calc(var(--p) - var(--_d)) var(--_m)), radial-gradient(var(--s) at calc(100% + sin(var(--a))*var(--s)) var(--p), transparent 100%, #000 calc(100% + 1px)) calc(var(--r)*(sin(var(--a)) - 1)) 0 no-repeat, linear-gradient(#000 calc(var(--p) - var(--_d)), transparent 0 calc(var(--p) + var(--_d)), #000 0);
 mask: radial-gradient(var(--_r) calc(var(--p) + var(--_d)) var(--_m)), radial-gradient(var(--_r) calc(var(--p) - var(--_d)) var(--_m)), radial-gradient(var(--s) at calc(100% + sin(var(--a))*var(--s)) var(--p), transparent 100%, #000 calc(100% + 1px)) calc(var(--r)*(sin(var(--a)) - 1)) 0 no-repeat, linear-gradient(#000 calc(var(--p) - var(--_d)), transparent 0 calc(var(--p) + var(--_d)), #000 0);
    position: absolute;
    width: 25px;
}
.decor-ticket:after {
    background: #fff;
    bottom: 0;
    right: 2px;
    top: 0;
    z-index: 2;
}
.decor-ticket--small {
    padding: 0.5rem 1.75rem 0.5rem 0.75rem;
}
.decor-ticket--blue {
    background-color: #3600b9;
    border-color: #3600b9;
    color: #fff;
}
.decor-ticket--blue:after, .decor-ticket--blue:before {
    background: #3600b9;
}
.decor-ticket--dark-blue {
    background-color: #1b005d;
    border-color: #1b005d;
    color: #fff;
}
.decor-ticket--dark-blue:after, .decor-ticket--dark-blue:before {
    background: #1b005d;
}
.decor-ticket--green {
    background-color: #afeb00;
    border-color: #afeb00;
    color: #3600b9;
}
.decor-ticket--green:after, .decor-ticket--green:before {
    background: #afeb00;
}
.decor-ticket--dark-green {
    background-color: #3c4c00;
    border-color: #3c4c00;
    color: #fff;
}
.decor-ticket--dark-green:after, .decor-ticket--dark-green:before {
    background: #3c4c00;
}
.decor-ticket--gray {
    background-color: #b6b6b6;
    border-color: #b6b6b6;
    color: #000;
}
.decor-ticket--gray:after, .decor-ticket--gray:before {
    background: #b6b6b6;
}
.decor-ticket--dark-gray {
    background-color: #3d3d3d;
    border-color: #3d3d3d;
    color: #fff;
}
.decor-ticket--dark-gray:after, .decor-ticket--dark-gray:before {
    background: #3d3d3d;
}
.decor-ticket--localization {
    background: left 0.75rem center/1rem no-repeat url(../gfx/icons/ico-flag-blue.svg);
    padding-left: 2.25rem;
}
/* ==========================================================================
   .over-box — kafel z okładką, gradientem i narożnikiem ze strzałką.
   Odwzorowanie kafli distribution-tiles-2 z nomonday (dist/css/app.css)
   dla elementu buildera YOOtheme (Image + Overlay).
   ========================================================================== */

.over-box {
    position: relative;
}
.over-box .uk-inline-clip {
    border-radius: 0.9375rem;
    display: block;
    width: 100%;
	border-bottom-right-radius: 0 !important;
}
.over-box .el-image {
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in;
    width: 100%;
}
/* hover jak w oryginale: lekki blur + powiększenie zdjęcia */
.over-box:hover .el-image {
    filter: blur(2px);
    transform: scale(1.025);
}
/* gradient od dołu (zamiast półprzezroczystej nakładki elementu) */
.over-box .uk-inline-clip::before {
    background: linear-gradient(180deg, rgba(27, 0, 93, 0), rgba(27, 0, 93, 0.3) 60%, rgba(27, 0, 93, 0.6) 70%, rgba(27, 0, 93, 0.75) 80%, rgba(27, 0, 93, 0.85));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}
/* narożnik z białym wycięciem i strzałką */
.over-box .uk-inline-clip::after, .grid-featured  .el-item  .uk-inline-clip::after{
    background: url("../gfx/covers/cover-link-ok-white.svg") center / contain no-repeat;
    /*border-bottom-right-radius: 0.8125rem;*/
    bottom: -0.125rem;
    content: "";
    height: 4rem;
    pointer-events: none;
    position: absolute;
    right: -0.125rem;
    width: 4rem;
    z-index: 3;
}
/* tekst nad gradientem */
.over-box .uk-position-bottom-left {
    z-index: 2;
}
/* neutralizacja domyślnej białej nakładki hover YOOtheme (uk-overlay-default) */
.over-box .uk-overlay-default {
    background: transparent;
}
/* opcjonalna ikona w białym kwadracie w lewym górnym rogu —
   w builderze nadaj obrazkowi/elementowi klasę over-box__icon */
.over-box .over-box__icon {
    background-color: #fff;
    border-radius: 0.9375rem;
    height: 4rem;
    left: 1rem;
    position: absolute;
    top: 1rem;
    width: 4rem;
    z-index: 1;
}

@media (max-width: 1199.98px) {
.over-box .over-box__icon {
    height: 3.5rem;
    width: 3.5rem;
}
}

/* opis: na desktopie schowany, wjeżdża przy najechaniu (jak w oryginale) */
@media (min-width: 1200px) {
.over-box .el-content {
    opacity: 0;
    transform: translateY(120%);
    transition: all 0.3s ease-in;
}
 .over-box:hover .el-content,  .over-box:focus-within .el-content {
 opacity: 1;
 transform: translateY(0);
}
}

/* ikona w lewym górnym rogu — WŁASNY pseudoelement wrappera .over-box,
   żeby nie nadpisywać gradientu na .uk-inline-clip::before */
.over-box.over-box-ico-docs::before {
  --gf-icon-color: #fff;
  background-color: var(--gf-icon-color);
  content: "";
  height: 5rem;
  left: 1.5rem;
  -webkit-mask-image: url("../gfx/icons/ico%2016.svg");
  mask-image: url("../gfx/icons/ico%2016.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
  position: absolute;
  top: 1.5rem;
  width: 5rem;
  z-index: 2;
}


/* ==========================================================================
   Notowania giełdowe (.mcr-stock) — markup generuje shortcode [mcr_stock]
   z inc/stock-shortcodes.php (dane: wtyczka nm-stock).
   Wartości przeniesione 1:1 z nomonday dist/css/app.css:
   --full    = wnętrze bloku heading-stock-data (ramka z kaflami),
   --compact = boks z kursem w mega-menu.
   Kolory: gray-500 #b6b6b6, gray-800 #555, success-900 #007a36,
   error-900 #b00020.
   ========================================================================== */

.mcr-stock p, .mcr-stock h3, .mcr-stock h4 {
    color: #000;
    margin: 0;
}
.mcr-stock__label {
    border-bottom: 1px solid #b6b6b6;
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    width: 100%;
}
.mcr-stock__group {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.mcr-stock__row {
    align-items: flex-end;
    column-gap: 1rem;
    display: flex;
}
.mcr-stock__value {
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 600;
    line-height: 1.2;
}

@media (min-width: 1200px) {
.mcr-stock__value {
    font-size: 2rem;
}
}
.mcr-stock__value--tight {
    line-height: 1;
}
.mcr-stock__note {
    color: #555 !important;
}
.mcr-stock__change {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}
.mcr-stock__change--up {
    color: #007a36 !important;
}
.mcr-stock__change--down {
    color: #b00020 !important;
}
/* --- Widok pełny (ramka z kaflami) --- */

.mcr-stock--full {
    border: 1px solid #b6b6b6;
    border-radius: 0.9375rem;
    column-gap: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    padding: 1.5rem 1.25rem;
    row-gap: 2.5rem;
}

@media (min-width: 768px) {
.mcr-stock--full {
    flex-direction: row;
    justify-content: center;
}
}

@media (min-width: 1200px) {
.mcr-stock--full {
    column-gap: 3rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}
}
.mcr-stock__tile {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    width: 100%;
}

/* 768–991: siatka 2-kolumnowa, trzeci (podwójny) kafel pod spodem na 100% */
@media (min-width: 768px) {
.mcr-stock__tile {
    width: calc(50% - 1.25rem);
}
.mcr-stock--full .mcr-stock__tile:last-child {
    width: 100%;
}
}

/* od 992: trzy kafle w jednym rzędzie */
@media (min-width: 992px) {
.mcr-stock__tile,  .mcr-stock--full .mcr-stock__tile:last-child {
    width: calc(33% - 1.5rem);
}
}

@media (min-width: 1200px) {
.mcr-stock__tile,  .mcr-stock--full .mcr-stock__tile:last-child {
    width: calc(33% - 2rem);
}
}
/* trzeci kafel: zmiana kursu + poprzedni kurs (kolumna / rząd / kolumna) */
.mcr-stock__tile--double {
    gap: 2.5rem;
}

@media (min-width: 768px) {
.mcr-stock__tile--double {
    flex-direction: row;
    gap: 2rem;
}
}

@media (min-width: 992px) {
.mcr-stock__tile--double {
    flex-direction: column;
}
}
.mcr-stock__subtile {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) and (max-width: 991.98px) {
.mcr-stock__subtile {
    width: 50%;
}
}
/* --- Widok kompaktowy (boks jak w mega-menu) --- */

.mcr-stock--compact {
    border: 1px solid #b6b6b6;
    border-radius: 0.9375rem;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    row-gap: 0.5rem;
    width: 100%;
}
.mcr-stock__time {
    color: #555;
    font-size: 0.875rem;
}
.mcr-stock__label--spaced {
    margin-bottom: 0.5rem;
}
.mcr-stock__group--compact {
    row-gap: 0.5rem;
}
.mcr-stock--compact .mcr-stock__row {
    margin: 0.25rem 0;
}
.mcr-stock__note--small {
    font-size: 0.875rem;
}
/* ==========================================================================
   .grid-shorts-move — kafle "zdjęcie + karta" z animacją rozsuwania na hover.
   Odwzorowanie bloku distribution-tiles-1 z nomonday (dist/css/app.css)
   dla elementu Grid buildera YOOtheme (klasę grid-shorts-move nadajemy
   na elemencie Grid; item = obrazek w kolumnie 1/3 + panel z tytułem
   i tekstem w uk-width-expand).
   Desktop (od 992 px): tekst schowany, po najechaniu zdjęcie zwęża się
   (35% → 20%), karta rozszerza (65% → 80%), tekst się wyłania, tytuł
   dostaje podkreślenie. Poniżej 768 px zdjęcie znika, karta na 100%.
   Kolory kart naprzemiennie w szachownicę jak w oryginale:
   pozycje 1, 4, 5, 8… = granat #3600b9, pozostałe = szary #c2c2c2.
   ========================================================================== */

/* kafel */
.grid-shorts-move .el-item {
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
.grid-shorts-move .el-item {
    height: 16rem;
}
}

@media (min-width: 1200px) {
.grid-shorts-move .el-item {
    height: 18rem;
}
}

@media (min-width: 1400px) {
.grid-shorts-move .el-item {
    height: 22rem;
}
}
/* item bywa opakowany w link (uk-link-toggle) — rozciągamy go na cały kafel,
   żeby łańcuch wysokości 100% dochodził do karty */
.grid-shorts-move .el-item > a.uk-panel {
    display: flex;
    width: 100%;
}
/* wewnętrzny grid: własny odstęp zamiast gutteru UIkit, bez zawijania.
   Selektor po atrybucie [uk-grid] — klasę .uk-grid dodaje dopiero JS UIkit,
   a atrybut jest w HTML od razu. */
.grid-shorts-move .el-item div[uk-grid] {
    column-gap: 0.75rem;
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    margin-left: 0;
    width: 100%;
}
.grid-shorts-move .el-item div[uk-grid] > * {
    padding-left: 0;
}

@media (min-width: 1200px) {
.grid-shorts-move .el-item div[uk-grid] {
    column-gap: 1rem;
}
}
/* kolumna ze zdjęciem (pierwsza w wewnętrznym gridzie) */
.grid-shorts-move .el-item div[uk-grid] > div:first-child {
    display: none;
}

@media (min-width: 768px) {
.grid-shorts-move .el-item div[uk-grid] > div:first-child {
    display: block;
    height: 100%;
    transition: all 0.3s ease-in;
    width: calc(30% - 0.5rem);
}
}

@media (min-width: 1200px) {
.grid-shorts-move .el-item div[uk-grid] > div:first-child {
    width: calc(35% - 0.5rem);
}
}
.grid-shorts-move .el-item picture {
    display: block;
    height: 100%;
}
.grid-shorts-move .el-item .el-image {
    border-radius: 0.9375rem;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
/* kolumna z kartą */
.grid-shorts-move .el-item div[uk-grid] > .uk-width-expand {
    flex: none;
    transition: all 0.3s ease-in;
    width: 100%;
}

@media (min-width: 768px) {
.grid-shorts-move .el-item div[uk-grid] > .uk-width-expand {
    width: calc(70% - 0.5rem);
}
}

@media (min-width: 1200px) {
.grid-shorts-move .el-item div[uk-grid] > .uk-width-expand {
    width: calc(65% - 0.5rem);
}
}
/* karta: kolor, zaokrąglenie, padding (px-5/8 pt-8/10 pb-20 z oryginału).
   box-sizing jawnie — YOOtheme daje .uk-padding content-box, przez co
   height:100% + padding wystawało poza kafel i ucinało dół karty. */
.grid-shorts-move .el-item .uk-width-expand > .uk-padding {
    background-color: #c2c2c2;
    border-radius: 0.9375rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.25rem 5rem;
    position: relative;
    row-gap: 0.75rem;
}

@media (min-width: 1200px) {
.grid-shorts-move .el-item .uk-width-expand > .uk-padding {
    padding: 2.5rem 2rem 5rem;
    row-gap: 1rem;
}
}
/* narożnik z białym wycięciem i strzałką (card-primary-image z oryginału) */
.grid-shorts-move .el-item .uk-width-expand > .uk-padding::after {
    background: url(../gfx/covers/cover-link.svg) center / contain no-repeat;
    border-bottom-right-radius: 0.8125rem;
    bottom: -0.125rem;
    content: "";
    height: 4rem;
    position: absolute;
    right: -0.125rem;
    width: 4rem;
}
/* tytuł (.h3 z oryginału) i tekst */
.grid-shorts-move .el-title {
    color: #3600b9;
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 !important;
    transition: all 0.3s ease-in;
}

@media (min-width: 1200px) {
.grid-shorts-move .el-title {
    font-size: 2rem;
}
}
.grid-shorts-move .el-content {
    color: #000;
    font-size: 0.875rem;
    margin-top: 0 !important;
    transition: all 0.3s ease-in;
}

@media (min-width: 768px) {
.grid-shorts-move .el-content {
    min-width: 18rem;
}
}

@media (min-width: 1200px) {
.grid-shorts-move .el-content {
    font-size: 1rem;
    min-width: 23rem;
}
}

@media (min-width: 1400px) {
.grid-shorts-move .el-content {
    min-width: 26rem;
}
}
/* szachownica kolorów: kafle 1, 4, 5, 8… granatowe.
   Klasa grid-shorts-move siedzi na wrapperze elementu Grid, więc komórki
   namierzamy przez grid z klasami uk-child-width-* (dzieci = kafle). */
.grid-shorts-move [class*="uk-child-width"] > div:nth-child(4n+1) .uk-width-expand > .uk-padding, .grid-shorts-move [class*="uk-child-width"] > div:nth-child(4n) .uk-width-expand > .uk-padding {
    background-color: #3600b9;
}
.grid-shorts-move [class*="uk-child-width"] > div:nth-child(4n+1) .el-title, .grid-shorts-move [class*="uk-child-width"] > div:nth-child(4n) .el-title, .grid-shorts-move [class*="uk-child-width"] > div:nth-child(4n+1) .el-content, .grid-shorts-move [class*="uk-child-width"] > div:nth-child(4n) .el-content {
    color: #fff;
}

/* animacja hover — tylko desktop, jak w oryginale */
@media (min-width: 992px) {
.grid-shorts-move .el-content {
    opacity: 0;
    visibility: hidden;
}
.grid-shorts-move .el-item:hover .el-content {
    opacity: 1;
    visibility: visible;
}
.grid-shorts-move .el-item:hover .el-title {
    text-decoration: underline;
}
.grid-shorts-move .el-item:hover div[uk-grid] > div:first-child {
    width: calc(15% - 0.5rem);
}
.grid-shorts-move .el-item:hover div[uk-grid] > .uk-width-expand {
    width: calc(85% - 0.5rem);
}
}

@media (min-width: 1200px) {
.grid-shorts-move .el-item:hover div[uk-grid] > div:first-child {
    width: calc(20% - 0.5rem);
}
.grid-shorts-move .el-item:hover div[uk-grid] > .uk-width-expand {
    width: calc(80% - 0.5rem);
}
}

.meta-style .el-meta { padding-left: 1rem;
    position: relative;    color: rgba(109,109,109,1);
	  font-size: .875rem;}


.event-status {
    padding-left: 1rem;
    position: relative;
    font-weight: 700;
	    color: rgba(109,109,109,1);
	  font-size: .875rem;
}

.data-status {
    padding-left: 1rem;
    position: relative;
	    color: rgba(109,109,109,1);
	  font-size: 14px;
}



.event-status::after, .meta-style .el-meta::after, .data-status::after {
    background-color: #3600b9;
    border-radius: .1875rem;
    content: "";
    height: .5625rem;
    left: 0;
    position: absolute;
    top: calc(50% - .375rem);
    width: .5625rem;
}
.event-date {
    font-size: .875rem;
    color: rgba(109,109,109,1);
}

/* =========================================================
   Kierunkowe marquee — sekcja #slogan
   ========================================================= */

.marquee-section {
    overflow: hidden;
}

@supports (overflow: clip) {
    .marquee-section {
        overflow: clip;
    }
}

.marquee-section .marquee-heading {
    width: 100vw;
    max-width: none;
    margin: 0 calc(50% - 50vw);
    overflow: hidden;
    font-size: clamp(3.375rem, 10.6vw, 10rem);
    line-height: 1;
}

.marquee-heading .mcr-marquee__track {
    display: flex;
    position: relative;
    width: max-content;
    will-change: transform;
}

.marquee-heading .mcr-marquee__group {
    display: flex;
    flex: 0 0 auto;
    min-width: max-content;
    will-change: transform;
}

.marquee-heading .mcr-marquee__text {
    display: block;
    flex: 0 0 auto;
    padding-bottom: .08em;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-heading .mcr-marquee__track {
        transform: none !important;
    }

    .marquee-heading .mcr-marquee__group:not(:first-child) {
        display: none;
    }
}




.grid-featured .uk-first-column:not(.uk-grid-margin) .el-item img {
  max-height: 300px;
}
.grid-featured .uk-first-column:not(.uk-grid-margin) .el-item .uk-overlay-primary, .grid-featured .uk-first-column:not(.uk-grid-margin) .el-item:hover .uk-overlay-primary {
  display: none;
}

.grid-featured .el-item.uk-transition-toggle .uk-transition-fade {
  opacity: 0.6;
}

.grid-featured .el-item .uk-inline-clip {border-bottom-right-radius:0!important; }


.grid-featured .uk-overlay-primary {
  background: linear-gradient(180deg,rgba(27, 0, 93, 0.14) 0%, rgba(27, 0, 93, 0.25) 37%, rgba(27, 0, 93, 0.82) 72%, rgba(27, 0, 93, 1) 100%);
}


.sub-head, .grid-featured .el-meta { font-size:16px; color:#000; position: relative; padding-left: 70px; font-weight: 600;}
.grid-featured .el-meta  {color:#fff; }

.sub-head::before, .grid-featured .el-meta::before {position: absolute; left: 0; top: 8px; width: 60px; height: 4px; background: #AFEB00; content: '';}

.sub-head.sub-head-white {color:#fff; }
.sub-head.sub-head-white::before {}


.grid-featured [class*="uk-child-width"] > div:nth-child(n+2) .el-item .uk-inline-clip::before {
    --gf-icon-color: #fff;
    background-color: var(--gf-icon-color);
    content: "";
    height: 5rem;
    left: 1.5rem;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    top: 1.5rem;
    width: 5rem;
    z-index: 2;
}

/* 2. Zabezpieczenia konstrukcji (ochrona konstrukcji przed ogniem) */
.grid-featured [class*="uk-child-width"] > div:nth-child(2) .el-item .uk-inline-clip::before {
    -webkit-mask-image: url("../gfx/icons/ico%2009.svg");
    mask-image: url("../gfx/icons/ico%2009.svg");
}
/* 3. Integracja Systemów Budynkowych (BMS) */
.grid-featured [class*="uk-child-width"] > div:nth-child(3) .el-item .uk-inline-clip::before {
    -webkit-mask-image: url("../gfx/icons/ico%2008.svg");
    mask-image: url("../gfx/icons/ico%2008.svg");
}
/* 4. Aktywne gaszenie (mgła wodna) */
.grid-featured [class*="uk-child-width"] > div:nth-child(4) .el-item .uk-inline-clip::before {
    -webkit-mask-image: url("../gfx/icons/ico%2016.svg");
    mask-image: url("../gfx/icons/ico%2016.svg");
}
/* 5. Przemysłowe magazyny energii (ENERGATE) */
.grid-featured [class*="uk-child-width"] > div:nth-child(5) .el-item .uk-inline-clip::before {
    -webkit-mask-image: url("../gfx/icons/ico%2004.svg");
    mask-image: url("../gfx/icons/ico%2004.svg");
}
/* 6. Oddzielenia przeciwpożarowe (DFM DOORS) */
.grid-featured [class*="uk-child-width"] > div:nth-child(6) .el-item .uk-inline-clip::before {
    -webkit-mask-image: url("../gfx/icons/ico%2017.svg");
    mask-image: url("../gfx/icons/ico%2017.svg");
}

@media (max-width: 1199.98px) {
.grid-featured [class*="uk-child-width"] > div:nth-child(n+2) .el-item .uk-inline-clip::before {
    height: 3rem;
    left: 1.25rem;
    top: 1.25rem;
    width: 3rem;
}
}




/* ==========================================================================
   Nawigacja logotypami slidera case studies (.case-logo-nav)
   Klasę uk-active na .el-item nadaje js/case-logo-nav.js.
   ========================================================================== */

.case-logo-nav .el-link {
    cursor: pointer;
    display: inline-block;
    opacity: 0.55;
    transition: opacity 0.2s ease-in-out;
}
.case-logo-nav .el-link:hover,
.case-logo-nav .el-link:focus-visible,
.case-logo-nav .el-item.uk-active .el-link {
    opacity: 1;
}




/* ==========================================================================
   Przełącznik języka (.mcr-lang-switcher)
   Widget "MCR — Przełącznik języka" / shortcode [mcr_lang_switcher]
   z inc/lang-switcher.php. Kolor dziedziczony po navbarze.
   ========================================================================== */

.mcr-lang-switcher {
    display: inline-flex;
}

.mcr-lang-switcher__toggle {
    align-items: center;
    background: none;
    border: 0;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    gap: 0.25rem;
    line-height: 1;
    padding: 0;
    transition: opacity 0.2s ease-in-out;
}
.mcr-lang-switcher__toggle:hover,
.mcr-lang-switcher__toggle:focus-visible {
    color: inherit;
    opacity: 0.7;
}

/* Strzałka dziedziczy obrót po stanie otwarcia dropdownu (uk-open). */
.mcr-lang-switcher__toggle [uk-navbar-parent-icon] {
    transition: transform 0.2s ease-in-out;
}
.mcr-lang-switcher__toggle[aria-expanded="true"] [uk-navbar-parent-icon] {
    transform: rotate(180deg);
}

/* Domyślny uk-navbar-dropdown ma 200 px — dla dwóch nazw języków za dużo. */
.mcr-lang-switcher__dropdown {
    min-width: 9rem;
    padding: 1rem 1.25rem;
    width: auto;
}

/* Pozycja widgetu w navbarze nie potrzebuje własnych paddingów uk-navbar-item. */
.uk-navbar-item.widget_mcr_lang_switcher {
    padding-left: 0;
    padding-right: 0;
}


/* ==========================================================================
   Mega menu (.mega-menu-nav / .mega-menu-subnav)
   Wygląd przeniesiony 1:1 z nomonday (dist/css/app.css: .submenu-item,
   .submenu-item--dropdown, .submenu-item--sub): każdy wiersz podkreślony,
   ikona po prawej, hover = jasny fiolet #ecebff + tekst #3600b9.
   Markup: elementy List buildera YOOtheme opakowane w div .mega-menu-nav
   (pozycje główne, uk-nav-primary) i .mega-menu-subnav (pod-pozycje).
   ========================================================================== */

/* Dividery rysujemy sami (także pod ostatnią pozycją), więc znosimy
   uk-nav-divider i marginesy, które on dokłada. */
.mega-menu-nav .uk-nav > li,
.mega-menu-subnav .uk-nav > li {
    border-top: 0;
    margin-top: 0;
}

/* --- Pozycje główne (odpowiednik .submenu-item) --- */

/* Pozycja z pod-listą jest przyciskiem (js/mega-menu.js podmienia <a>
   na <button>), więc każda reguła wiersza obejmuje oba elementy. */
.mega-menu-nav .uk-nav > li > :is(a, button) {
    align-items: center;
    background: none;
    border: 0;
    border-bottom: 1px solid #929292;
    border-radius: 0.5rem 0.5rem 0 0;
    color: #000;
    column-gap: 1rem;
    display: flex;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    justify-content: space-between;
    line-height: 1.4;
    padding: 0.75rem 1rem;
    text-align: left;
    text-decoration: none;
    transition: all 0.3s ease-in;
    width: 100%;
}
.mega-menu-nav .uk-nav > li > button {
    cursor: pointer;
}
.mega-menu-nav .uk-nav > li > :is(a, button):hover,
.mega-menu-nav .uk-nav > li > :is(a, button):focus-visible,
.mega-menu-nav .uk-nav > li > button[aria-expanded="true"],
.mega-menu-nav .uk-nav > li.uk-active > a {
    background-color: #ecebff;
    color: #3600b9;
}

/* Ikona na prawym końcu wiersza (w markupie stoi przed tekstem),
   wcięta o 0.25rem od krawędzi — jak ::before w nomonday. */
.mega-menu-nav .uk-nav > li > :is(a, button) > .el-image {
    flex: none;
    height: 1.5rem;
    margin-right: -0.75rem;
    order: 1;
    width: 1.5rem;
}
.mega-menu-nav .uk-nav > li > :is(a, button) > .el-image svg {
    height: 100%;
    width: 100%;
}
/* SVG ma wpisany na sztywno fill="#3600B9" — przestawiamy na currentColor,
   żeby ikona była czarna, a na hoverze niebieska (jak w nomonday). */
.mega-menu-nav .uk-nav > li > :is(a, button) > .el-image svg [fill] {
    fill: currentColor;
}

/* Pozycja rozwijalna (ma pod sobą listę pod-pozycji) dostaje „+"
   zamiast strzałki — .submenu-item--dropdown w nomonday. */
.mega-menu-nav:has(+ .mega-menu-subnav) .uk-nav > li:last-child > :is(a, button) > .el-image svg {
    display: none;
}
.mega-menu-nav:has(+ .mega-menu-subnav) .uk-nav > li:last-child > :is(a, button) > .el-image {
    position: relative;
}
.mega-menu-nav:has(+ .mega-menu-subnav) .uk-nav > li:last-child > :is(a, button) > .el-image::before,
.mega-menu-nav:has(+ .mega-menu-subnav) .uk-nav > li:last-child > :is(a, button) > .el-image::after {
    background-color: currentColor;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}
.mega-menu-nav:has(+ .mega-menu-subnav) .uk-nav > li:last-child > :is(a, button) > .el-image::before {
    height: 2px;
    width: 1.125rem;
}
.mega-menu-nav:has(+ .mega-menu-subnav) .uk-nav > li:last-child > :is(a, button) > .el-image::after {
    height: 1.125rem;
    width: 2px;
}

/* --- Pod-pozycje (odpowiednik .submenu-item--sub) --- */

/* Wcięcie listy = px-4 / px-md-6 / px-lg-10 z nomonday. */
.mega-menu-subnav .uk-nav {
    padding-left: 1rem;
    padding-right: 1rem;
}
.mega-menu-subnav .uk-nav > li {
    border-bottom: 1px solid #929292;
}
.mega-menu-subnav .uk-nav > li + li {
    margin-top: 1rem;
}
.mega-menu-subnav .uk-nav > li > a {
    border-radius: 0.5rem 0.5rem 0 0;
    color: #000;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease-in;
}
.mega-menu-subnav .uk-nav > li > a:hover,
.mega-menu-subnav .uk-nav > li > a:focus-visible,
.mega-menu-subnav .uk-nav > li.uk-active > a {
    background-color: #ecebff;
    color: #3600b9;
}

/* --- Zwijanie pod-list (js/mega-menu.js) --- */

/* Klasę dokłada skrypt, więc bez JS pod-listy zostają rozwinięte.
   Animacja przez grid-template-rows: 0fr → 1fr działa przy dowolnej
   liczbie pozycji (bez wyliczania wysokości w JS). */
.mega-menu-subnav--collapsible {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-in-out;
}
.mega-menu-subnav--collapsible > * {
    min-height: 0;
    overflow: hidden;
}
.mega-menu-subnav--collapsible.is-open {
    grid-template-rows: 1fr;
}

/* --- Breakpointy z nomonday (Bootstrapowe max-width) --- */

@media (min-width: 768px) {
    .mega-menu-subnav .uk-nav {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 992px) {
    .mega-menu-subnav .uk-nav {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}
@media (max-width: 1399.98px) {
    .mega-menu-nav .uk-nav > li > :is(a, button) {
        font-size: 1.125rem;
    }
}
@media (max-width: 767.98px) {
    .mega-menu-nav .uk-nav > li > :is(a, button) {
        font-size: 1rem;
    }
}
@media (max-width: 575.98px) {
    .mega-menu-subnav .uk-nav > li > a {
        font-size: 0.875rem;
    }
}
