
html[lang="pl-PL"] .main-navigation-ul > .menu-item:not(:last-child) {
    margin-inline-end: 1.8em !important;
}




.split-heading {font-size:1em}

.sp-slides-container img {
    border-radius: 8px;
}

.post-edit {display:none!important;}
.text-center .vc_column-inner {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
}

.text-center .vpex-button-container {
    margin: 0 !important;
    float: none !important;
    display: inline-block !important;
}

/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name 
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/
h1 {
    /* Bazowa wielkość dla desktop */
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
}
/* Wymuszony, bezpieczny odstęp nad stopką */
#main {
    padding-bottom: 60px !important;
}
/* Dla tabletów poziomych */
@media (max-width: 1199px) {
    h1 {
        font-size: 52px!important;
    }
}

/* Dla tabletów pionowych */
@media (max-width: 991px) {
    h1 {
        font-size: 44px!important;
    }
}

/* Dla dużych telefonów */
@media (max-width: 767px) {
    h1 {
        font-size: 36px!important;
    }
}

/* Dla małych telefonów */
@media (max-width: 575px) {
    h1 {
        font-size: 28px!important;
    }
}
.filters h3 {margin-top:0px}
#menu-item-433 {display:none}
.working-itm h3 {
	text-align:left;
	}
.working-itm .vcex-icon-box-text {
	padding:10px;
	border:0px solid #be9f56;
	min-height:188px;
	border-radius:6px;
	}
.working-itm-mob .vcex-icon-box-text {
	padding:10px;
	border-radius:6px;
	}

.working-itm .vcex-icon-box-text, .working-itm-mob .vcex-icon-box-text {
    position: relative;
}
li.menu-technology .sub-menu .link-inner,
li.menu-carrers .sub-menu .link-inner,
li.menu-services .sub-menu .link-inner {font-size:14px!important}
li.menu-aboutus .sub-menu .link-inner {font-weight:600;font-size:16px!important}
.menu-item-description {display:block;padding-left:0px;color:#424242!important;}
/* Układ kolumnowy jak w gazecie */
li.megamenu > ul.sub-menu {
    column-count: 2 !important;  /* 2 kolumny */
    column-gap: 0px !important;
    display: block !important;   /* Usuwamy flex/grid */
	column-rule: 1px solid #f0f0f0; /* linia między kolumnami */
	}

/* Zapobiegamy rozrywaniu elementów między kolumnami */
li.megamenu > ul.sub-menu > li {
    break-inside: avoid !important;  /* Nie łam elementów */
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	border-bottom: 1px solid #eeeeee;
    display: inline-block !important;
    width: 100% !important;
}
li.megamenu > ul.sub-menu > li a {
	padding-left:20px !important;
	 	padding-top: 20px !important;
    padding-bottom: 20px !important;

}

li.megamenu > ul.sub-menu > li a:hover {
	 	padding-top: 20px !important;
    padding-bottom: 20px !important;

}
/* Usuń podkreślenie dla current menu item */
.main-navigation-ul > .current-menu-item > a > .link-inner::after,
.main-navigation-ul > .current-menu-ancestor > a > .link-inner::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.ksize {line-height: 1!important;}
.head-h1 {
    font-size: 70px;
	font-weight:700;
    line-height: 1.2;
	color:#be9f56;
}

.head-h1 span {
    font-size: 42px;        
    font-weight: normal;   
    display: block;  
	color:#fff;	
}
.head-h1 span.head-subtitle2 {
    font-size: 26px;        
    font-weight: normal;   
    display: block;  
	color:#fff;	
	padding-top:20px;
}

/* Tablety - poziome (1024px i mniej) */
@media (max-width: 1024px) {
    .head-h1 {
        font-size: 56px;
    }
    
    .head-h1 span {
        font-size: 34px;
    }
}

/* Tablety - pionowe (768px i mniej) */
@media (max-width: 768px) {
    .head-h1 {
        font-size: 42px;
    }
    
    .head-h1 span {
        font-size: 26px;
    }
}

/* Duże telefony (480px i mniej) */
@media (max-width: 480px) {
    .head-h1 {
        font-size: 32px;
    }
    
    .head-h1 span {
        font-size: 20px;
    }
}

/* Małe telefony (360px i mniej) */
@media (max-width: 360px) {
    .head-h1 {
        font-size: 28px;
    }
    
    .head-h1 span {
        font-size: 18px;
    }
}




.social-link i {
    font-size: 16px;
}

.social-link:hover {
    opacity: 0.8;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #7e7e7e;
    font-size: 16px;
    text-decoration: none;
}
.tembo-links {
	padding-left:40px;
	}
.tembo-logo img {
	height: 16px;
    width: auto;
    display: block;
}
#top-bar-content {
	color:#7e7e7e!important;
    font-size: 14px; /* zmniejszenie całego tekstu */
}
#top-bar-content .wpex-icon {
    font-size: 14px !important; /* zmniejszenie ikon */
    margin-right: 8px !important; /* zmniejszenie odstępu ikona-tekst */
}

/* Ukryj top-bar-left na mobile */
@media (max-width: 768px) {
    .top-bar-left {
        display: none !important;
    }
}

/* Page Header */
.page-header h1{
	color:#be9f56;
}
/* blog gird */
.vcex-blog-entry .match-height-content {
	padding-bottom:20px;
}

/* TRÓJKĄT W PRAWYM DOLNYM ROGU */
.home .wpex-shape-divider-bottom {
    position: absolute;
    bottom: -6px;
    right: 0;           /* Zamiast left:0 dajemy right:0 */
    left: auto;         /* Usuwamy left */
    width:100px;       /* Stała szerokość zamiast 100% */
    height: 200px;      /* Stała wysokość */
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    transform: rotate(180deg);
}

.home  .wpex-shape-divider-bottom svg {
    width: 100%;
    height: 100%;
}

.home  .wpex-shape-divider-bottom path {
    fill: #ffffff; /* Biały kolor */
}


/* CELUJEMY W RODZICA */
.vcex-blog-entry {
    position: relative;
}

.vcex-blog-entry::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-bottom: 50px solid #fff;  /* DAJĘ CZERWONY ŻEBY BYŁO WIDAĆ */
    z-index: 999;
    pointer-events: none;
	transform: translateX(-12px); /* Przesuwa w lewo o 10px */
}


/* Stylowanie klikalnych caption w karuzeli */
.wpex-carousel-entry-excerpt {
		text-align:center;
}
.wpex-carousel-entry-excerpt a {
    color: #be9f56 !important; 
    
}

.wpex-carousel-entry-excerpt a:hover {
    color: #be9f56 !important;
	text-decoration: underline !important;
}



sup {font-size:0.6em}

.vcex-teaser-media {
	padding-left:10px;
	padding-right:10px;
	padding-top:10px;
}

.filter-design-ex .wpex-text-right {
    text-align: start;
}

.itm-world-link a {
    font-size: 14px;
    color: #7e7e7e;
    text-decoration: none;
    margin: 0 0px;
    font-weight: 500;
}
.itm-world-link a:hover {
    text-decoration: underline;
}

.vcex-page-title__heading {
    display: flex;
    flex-direction: column;
}

.vcex-page-title__after {
    margin-top: 0.5rem; /* odstęp od głównego tytułu */
	font-size:0.35em;
}

/* featurebox home */

/* Tablety - pionowe (768px i mniej) */
@media (max-width: 768px) {
.featurebox-home  {
       gap: 30px!important;
    }
}

/* home social links */
.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
	color:#313131;
}

.social-icon:hover {
    opacity: 0.7;
}



.machinery .vcex-teaser-button-wrap .theme-button {
    display: inline-block !important;
    text-decoration: none !important;
    color: var(--wpex-link-color, #0066cc) !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    cursor: pointer !important;
}

.machinery  .vcex-teaser-button-wrap .theme-button:hover {
    text-decoration: underline !important;
}

/* Machinery Aktywny element menu - styl podstawowy */
.vcex-horizontal-menu-nav__item.active .vcex-horizontal-menu-nav__item-content {
    background-color:#f7f7f7 !important;
    color:#be9f56 !important;
}


/* --- ikonka home --- */
.tylko-ikonka a {
    font-size: 0 !important;
}
.tylko-ikonka i, .tylko-ikonka svg {
    font-size: 16px !important; /* dopasuj rozmiar ikony */
    margin: 0 !important;
	display: inline-block;
    vertical-align: middle;
}
.tylko-ikonka .menu-item-icon {
	margin: 0 !important;
}
    

.menu-aboutus ul.sub-menu {padding:0 10px 10px 10px !important;}
/* --- STYLIZACJA TYLKO DLA MENU MACHINERY (ID 134) --- */

/* --- KOREKTA UKŁADU MACHINERY --- */

/* 1. Kontener główny - wymuszamy 3 kolumny */
#menu-item-134 > ul.sub-menu {
    display: block !important;
    column-count: 3 !important;
    column-gap: 50px !important;
    width: 1100px !important; /* Trochę szerzej, żeby opisy maszyn się nie łamały */
    max-width: 95vw !important;
    padding: 0 30px 30px 30px !important;
    background: #fff !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* 2. Elementy listy - reset */
#menu-item-134 .sub-menu li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    break-inside: avoid !important;
}

/* 3. POPRAWIONY PODZIAŁ NA KOLUMNY */

/* Usuwamy wymuszony podział dla Filter Makining (ma zostać w 1. kolumnie) */
#menu-item-1324 {
    break-before: auto !important; 
    margin-top: 25px !important; /* Odstęp od poprzedniej sekcji w tej samej kolumnie */
}

/* Kolumna 2: Zaczyna się od Technology for HNB */
#menu-item-1333 {
    break-before: column !important;
    margin-top: 0 !important;
}

/* Kolumna 3: Zaczyna się od Reclaiming Solutions */
#menu-item-1353 {
    break-before: column !important;
    margin-top: 0 !important;
}

/* 4. Nagłówki .technology */
#menu-item-134 .sub-menu li.technology > a {
    pointer-events: none !important;
    cursor: default !important;
    font-weight: 600 !important;
    color: #424242 !important;
    font-size: 16px !important;
    border-bottom: 2px solid #424242 !important;
    margin-bottom: 12px !important;
	padding-left:0 !important;
    padding-bottom: 5px !important;
    display: block !important;
}

/* 5. Linki maszyn i usunięcie linii ze screena */
#menu-item-134 .sub-menu li:not(.technology) a {
    padding: 6px 0 !important;
    font-size: 13px !important;
    color: #424242 !important;
    border: none !important; /* Usuwa te poziome paski ze screena */
    background: none !important;
    display: block !important;
	
}
#menu-item-134 .sub-menu li {margin:0px !important;}
#menu-item-134 .sub-menu li:not(.technology) a:hover {
    color: #424242 !important; /* Twój kolor */
    padding-left: 0px !important;
	background:#f9f9f9 !important;
}

/* Ukrycie ikon */
#menu-item-134 .sub-menu .nav-arrow, 
#menu-item-134 .sub-menu svg {
    display: none !important;
}
/* 1. Ukrywamy istniejący overlay */
.head-movie4 .wpex-bg-overlay-wrap,
.head-movie5 .wpex-bg-overlay-wrap,
.head-movie6 .wpex-bg-overlay-wrap {
    display: none !important;
}

/* 2. Ustawiamy sekcję */
.head-movie4,
.head-movie5,
.head-movie6 {
    position: relative !important;
    overflow-x: visible !important;
}

/* 3. Wykorzystujemy klasę custom-overlay */
.head-movie4 .custom-overlay,
.head-movie5 .custom-overlay,
.head-movie6 .custom-overlay {
    position: relative !important;
    overflow: visible !important;
}

/* 4. Overlay na pełną szerokość od lewej krawędzi (60% szerokości okna) */
.head-movie4 .custom-overlay::before,
.head-movie5 .custom-overlay::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 60vw !important;
    height: 100% !important;
    background-color: #02295a !important;
    z-index: 1 !important;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%) !important;
    pointer-events: none !important;
}

.head-movie6 .custom-overlay::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 70vw !important;
    height: 100% !important;
    background-color: #be9f56 !important;
    z-index: 1 !important;
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 57.7vh) 100%, 0% 100%) !important;
    pointer-events: none !important;
}

/* 5. Tekst nad overlay */
.head-movie4 .wpb_column,
.head-movie5 .wpb_column,
.head-movie6 .wpb_column {
    position: relative !important;
    z-index: 2 !important;
}

/* Kontener wideo ograniczony do 50% szerokości i dosunięty do prawej */
.head-movie4 .wpex-video-bg-wrap,
.head-movie5 .wpex-video-bg-wrap,
.head-movie6 .wpex-video-bg-wrap {
    width: 50% !important;
    left: auto !important;
    right: 0 !important;
}

/* Zapewnienie, że samo wideo wypełnia mniejszy kontener */
.head-movie4 .wpex-video-bg,
.head-movie5 .wpex-video-bg,
.head-movie6 .wpex-video-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
}

/* Tło dla rzędu (czarne pod spodem) */
.head-movie4 .vc_row,
.head-movie5 .vc_row,
.head-movie6 .vc_row {
    
}

/* RWD: Optymalizacja pod telefony */
@media (max-width: 767px) {
    .head-movie4 .wpex-video-bg-wrap,
    .head-movie5 .wpex-video-bg-wrap,
	.head-movie6 .wpex-video-bg-wrap	{
        width: 100% !important;
        position: relative !important;
        height: 250px;
    }
    
    /* Na mobile warto wyłączyć lub skrócić clip-path, żeby nie ucinało tekstu */
    .head-movie4 .custom-overlay::before,
    .head-movie5 .custom-overlay::before,
	.head-movie6 .custom-overlay::before	{
        width: 100vw !important;
        clip-path: none !important;
    }
}

/* -------------------------------- */
/* make your product */
/* ------------------------------- */
.filterstab  .vc_tta-tab>a {
    padding: 8px 20px 8px 20px!important;
    
}


/* Dodanie ikon przed tytułami zakładek w WPBakery Tabs */
.vc_tta-tabs-list .vc_tta-tab a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vc_tta-tabs-list .vc_tta-tab a span.vc_tta-title-text {
    display: inline-block;
}

/* Ikona dla zakładki Acetate */
.vc_tta-tab[data-vc-tab] a[href="#combining-01"] span.vc_tta-title-text::before,
.vc_tta-tab.vc_active a[href="#combining-01"] span.vc_tta-title-text::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('/wp-content/uploads/2026/06/tab-combining-filter.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 14px;
    vertical-align: middle;
}

/* Ikona dla zakładki Acetate */
.vc_tta-tab[data-vc-tab] a[href="#acetate-01"] span.vc_tta-title-text::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('/wp-content/uploads/2026/06/tab-acetate-filter.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 14px;
    vertical-align: middle;
}
/* Ikona dla zakładki Paper */
.vc_tta-tab[data-vc-tab] a[href="#paper-01"] span.vc_tta-title-text::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('/wp-content/uploads/2026/06/tab-paper-filter.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 14px;
    vertical-align: middle;
}


/* Ikona dla zakładki Cardboard tube */
.vc_tta-tab[data-vc-tab] a[href="#cardboard-01"] span.vc_tta-title-text::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('/wp-content/uploads/2026/05/tab-cardboard-tube.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 14px;
    vertical-align: middle;
}


/* Wymuszamy układ poziomy dla konkretnej klasy */
.milestone-horizontal .vcex-milestone-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
}

/* Atakujemy kontener, który trzyma numer i opis */
.milestone-horizontal .vcex-milestone-desc {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
}

/* Ustawiamy sztywną szerokość dla numeru, żeby teksty obok były w równej linii */
.milestone-horizontal .vcex-milestone-number {
    display: flex !important;
	justify-content: flex-end !important; /* Cyfry do prawej, blisko tekstu */
    align-items: baseline !important;
    margin-bottom: 0 !important; /* Kasujemy margines dolny, który spychał tekst */
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    min-width: 75px !important; /* Dopasuj tę wartość do szerokości swoich cyfr */
}

/* Naprawiamy tekst opisu */
.milestone-horizontal .vcex-milestone-caption {
    margin-top: 0 !important;
    display: block !important;
    line-height: 1.2 !important;
}



/* Stylizacja formularza ITM */
.itm-contact-form {
    max-width: 100%;
}

.itm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .itm-grid { grid-template-columns: 1fr; }
}

.itm-field input, 
.itm-field select, 
.itm-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    background: #f9f9f9;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.itm-field input, .itm-field select, .itm-field textarea {
    border: 1px solid #eeeeee; /* Jeszcze delikatniejszy szary */
    background: transparent;    /* Jeśli tło sekcji nie jest białe */
}


.itm-consent {
    font-size: 13px;
    color: #7e7e7e;
    margin-bottom: 40px;
}

.itm-consent a {

}

.itm-submit input {
    background: #be9f56 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 40px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer;
    transition: opacity 0.3s ease !important;
}

.itm-submit input:hover {
    opacity: 0.9 !important;
}

.itmcard .vc_column-inner {margin-bottom:0px!important}
/* Wymuszamy, aby każda karta miała taką samą wysokość wewnętrzną */
.itmcard {
    min-height: 425px !important; /* Dostosuj tę wartość, aby zmieścił się najdłuższy opis */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.itmcard .wpb_content_element {
	font-size:15px!important;
}

/* Sprawiamy, że kontener tekstu zajmuje całą wolną przestrzeń */
.vcex-post-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Przycisk 'Load more' zawsze ląduje na samym dole karty */
.vcex-post-content-c {
    margin-top: auto !important;
    padding-top: 15px !important;
}





/* --- NAWIGACJA KATEGORII --- */

/* Menu w jednym rzędzie z czcionką 16px */
.machinerycard .vcex-filter-nav .vcex-navbar-link {
    background: none !important;
    border: none !important;
    padding: 12px 0 !important; 
    margin-right: 30px !important;
    color: #333 !important; 
    font-weight: 500 !important;
    text-transform: uppercase;
    font-size: 16px !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: none !important;
    display: inline-block !important; /* Wymuszenie rzędu */
}

/* Stan aktywny i hover */
.machinerycard .vcex-filter-nav .vcex-navbar-link:hover,
.machinerycard .vcex-filter-nav .vcex-navbar-link.active {
    color: #b39154 !important; 
}

/* Linia pod spodem konkretnego linku */
.machinerycard .vcex-filter-nav .vcex-navbar-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b39154;
    transition: width 0.3s ease;
}

.machinerycard .vcex-filter-nav .vcex-navbar-link:hover::after,
.machinerycard .vcex-filter-nav .vcex-navbar-link.active::after {
    width: 100%;
}

/* Kontener menu - naprawa układu i skrócona linia */
.machinerycard .vcex-navbar-inner {
    display: block !important; /* Reset do standardu */
    width: fit-content !important; /* Linia kończy się tam, gdzie menu */
    border-bottom: 1px solid #e5e5e5; 
    margin-bottom: 25px !important;
    text-align: left !important;
}


/* --- WYSZUKIWARKA --- */

.machinerycard .vcex-searchbar {
    margin-bottom: 40px !important;
    max-width: 450px !important; 
}

.machinerycard .vcex-searchbar-input {
    border: none !important;
    border-bottom: 2px solid #e5e5e5 !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    color: #333 !important;
    background: transparent !important;
    transition: all 0.3s ease-in-out;
    box-shadow: none !important;
}

.machinerycard .vcex-searchbar-input:focus {
    outline: none !important;
    border-bottom-color: #b39154 !important;
    background-color: rgba(179, 145, 84, 0.02) !important;
}

.machinerycard .vcex-searchbar-clear {
    color: #b39154 !important;
    right: 5px !important;
    transition: transform 0.2s ease;
}

.machinerycard .vcex-searchbar-input::placeholder {
    color: #999 !important;
    font-weight: 400;
}

.machin {display:none;}
.menu-carrers {display:none;}
















/* Styl przycisków nawigacji */
.timeline-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
    padding-right: 50px;
}

.nav-btn {
    background: #fff;
    border: 1px solid #b39154;
    color: #b39154;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #b39154;
    color: #fff;
}

/* Zmiana kursora przy przeciąganiu */
.timeline-scroll-container {
    cursor: grab;
    user-select: none; /* Blokuje zaznaczanie tekstu przy dragu */
}

.timeline-scroll-container.active-grab {
    cursor: grabbing;
}



/* 1. Baza dla przycisków - bez zmian w pozycjonowaniu */
.t-filter-btn {
    overflow: hidden; /* Zachowujemy, aby apla nie wychodziła poza zaokrąglenia */
    position: relative; /* Wymagane, aby apla ::after wiedziała, gdzie się nakładać */
    /* Usunąłem transition: all stąd, aby nie kłóciło się z Twoim sliderem */
}

/* 2. Nałożenie szarej apli (0.2) – tylko gdy przycisk NIE jest w stanie hover */
.t-filter-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.2); 
    z-index: 1; /* Warstwa nad tłem */
    pointer-events: none; /* Pozwala klikać przez nakładkę */
    transition: opacity 0.3s ease; /* Płynne znikanie apli */
    opacity: 1; /* Apla jest domyślnie widoczna */
}

/* 3. EFEKT HOVER: Apla znika, odsłaniając tło i Twoje style */
.t-filter-btn:hover::after {
    opacity: 0;
}




/* 1. KONTENER GŁÓWNY - BEZPIECZNA SZEROKOŚĆ */
.itm-timeline-zoom {
    max-width: 1440px !important;
    margin: 40px auto !important;
    /* Usuwamy overflow:visible stąd, żeby nie rozwalało szerokości strony */
}

/* 2. SLIDER - ROBIMY MIEJSCE WEWNĄTRZ */
.itm-timeline-zoom .wpex-carousel__item {
    padding-top: 40px !important; /* To jest klucz: zdjęcie ma miejsce, żeby urosnąć DO GÓRY wewnątrz slajdu */
    transition: all 0.5s ease-in-out !important;
    opacity: 0.3;
}

/* 3. ZDJĘCIA I BORDER RADIUS */
.itm-timeline-zoom .wpex-carousel-entry-media {
    overflow: visible !important; /* Pozwalamy zdjęciu wyjść poza ramkę figure */
}

.itm-timeline-zoom img {
    border-radius: 12px !important;
    transition: transform 0.5s ease-in-out !important;
}

/* 4. ŚRODKOWY SLAJD - POWIĘKSZENIE */
.itm-timeline-zoom .wpex-carousel__item.center {
    opacity: 1 !important;
    z-index: 50 !important;
}

.itm-timeline-zoom .wpex-carousel__item.center img {
    transform: scale(1.15) !important; /* Powiększenie */
}

/* Boczne slajdy - mniejsze i lekko w dół */
.itm-timeline-zoom .wpex-carousel__item:not(.center) {
    transform: scale(0.85) translateY(20px) !important;
}

/* 5. LINIA I TIMELINE */
.itm-timeline-zoom .wpex-carousel-entry-details {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    margin-top: 50px !important;
}

.itm-timeline-zoom .wpex-carousel__item.center .wpex-carousel-entry-details::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 15px !important;
    left: -200vw !important; /* Linia na całą szerokość */
    right: -200vw !important;
    height: 10px !important;
    transform: translateY(-5px) !important;
    background-image: 
        repeating-linear-gradient(to right, #ccc 0, #ccc 1px, transparent 1px, transparent 15px),
        linear-gradient(to bottom, transparent 4px, #e0e0e0 4px, #e0e0e0 5px, transparent 5px) !important;
    z-index: 1 !important;
}

/* 6. MGIEŁKA */
.itm-timeline-zoom .wpex-carousel__item.center .wpex-carousel-entry-details::after {
    content: "" !important;
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: -200vw !important;
    right: -200vw !important;
    height: 30px !important;
    transform: translateY(-15px) !important;
    background: linear-gradient(to right, 
        white 0%, white 38%, 
        transparent 45%, transparent 55%, 
        white 62%, white 100%
    ) !important;
    z-index: 2 !important;
}

/* 7. DATA I TEKST */
.itm-timeline-zoom .wpex-carousel-entry-title {
    position: relative !important;
    z-index: 100 !important;
    background: #ffffff !important;
    padding: 0 15px !important;
    font-size: 24px !important;
    font-weight: bold !important;
}

.itm-timeline-zoom .wpex-carousel__item:not(.center) .wpex-carousel-entry-title {
    transform: translateY(-18px) !important;
}

.itm-timeline-zoom .wpex-carousel-entry-excerpt {
    margin-top: 30px !important;
    text-align: center !important;
}








/* --- STYLIZACJA STRZAŁEK - OBA JEDNAKOWE --- */

/* 1. KONTENER STRZAŁEK */
.itm-timeline-zoom .wpex-carousel__nav {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 40px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. PRZYCISKI - STARTOWO BIAŁE DLA OBU */
.itm-timeline-zoom .wpex-carousel__arrow {
    width: 54px !important;
    height: 54px !important;
    border: 1px solid #b39154 !important;
    background: #ffffff !important; /* Białe tło dla obu */
    color: #b39154 !important;     /* Złota ikona dla obu */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
}

/* 3. IKONY SVG */
.itm-timeline-zoom .wpex-carousel__arrow svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

/* 4. HOVER - ZŁOTY EFEKT DLA OBU */
.itm-timeline-zoom .wpex-carousel__arrow:hover {
    background: #b39154 !important; /* Złote tło po najechaniu */
    color: #ffffff !important;    /* Biała ikona po najechaniu */
}

/* FIX: Usunięcie wymuszonego złotego koloru z prawej strzałki */
.itm-timeline-zoom .wpex-carousel__arrow--next {
    background: #ffffff !important;
    color: #b39154 !important;
}

/* Zachowanie hovera dla prawej strzałki po powyższym fixie */
.itm-timeline-zoom .wpex-carousel__arrow--next:hover {
    background: #b39154 !important;
    color: #ffffff !important;
}


/* Kontener kafelka - centrowanie i proporcje */
.services-grid .vcex-post-cards-image-link,
.services-grid .post-cards-image-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #ffffff;
    aspect-ratio: 4 / 3;
    overflow: hidden !important;
}

/* Ikona SVG - wymiary, kolor + wymuszony bezpieczny odstęp */
.services-grid img[src$=".svg"] {
    max-width: 35% !important; /* Wielkość ikony */
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    
    /* Odstępy dodane bezpośrednio do obrazka */
    padding-top: 15px !important;    /* Odepchnięcie od górnej ramki */
    padding-bottom: 15px !important; /* Odepchnięcie od tytułu poniżej */
    
    /* Twój złoty kolor filtra */
    filter: invert(64%) sepia(34%) saturate(763%) hue-rotate(5deg) brightness(91%) contrast(87%) !important;
}
.services-grid .vcex-page-title__text {letter-spacing: -1px;}


/* 1. KOREKTA WYSOKOŚCI KAFELKÓW DLA USŁUG (Zmniejszenie pustej przestrzeni) */
    .services-grid .wpex-card-inner,
    .services-grid .itmcard,
    .services-grid .wpex-post-cards-entry {
        height: 400px !important;
        min-height: 0 !important;
    }

    .services-grid .vc_row-o-equal-height {
        align-items: flex-start !important; /* Pozwala kafelkom dopasować się do własnej treści, zamiast rozciągać w nieskończoność */
    }

    /* Dodatkowe wyrównanie wewnętrzne dla zachowania estetycznych proporcji */
    .services-grid .itmcard {
        padding-bottom: 20px !important;
    }
	
	
/* ==========================================================================
   KOREKTA SKALOWANIA IKON SVG W KARUZELI (WPBakery / Total Carousel Override)
   ========================================================================== */

/* 1. Reset i wyśrodkowanie kontenera medialnego, w którym znajduje się link z obrazkiem.
      Zapobiega to mechanicznemu rozciąganiu bloków przez skrypty zewnętrzne. */
.itm-brands-carousel .wpex-carousel-entry-media,
.vcex-image-carousel.itm-brands-carousel .wpex-carousel-entry-media {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    margin-bottom: 15px !important; /* Odstęp między ikoną a tekstem poniżej */
    display: block !important;
    text-align: center !important;
}

/* 2. Bezpośrednie ograniczenie szerokości dla elementu linku (blokada rozciągania).
      Definiuje docelowy, fizyczny rozmiar siatki dla ikony wektorowej. */
.itm-brands-carousel .wpex-carousel-entry-img,
.vcex-image-carousel.itm-brands-carousel .wpex-carousel-entry-img {
    display: inline-block !important;
    width: 140px !important;  /* Docelowa wielkość ikony na stronie (zmień na 80px lub 120px według uznania) */
    height: 140px !important; /* Proporcjonalna wysokość zapewniająca kwadratową przestrzeń */
    margin: 0 auto !important;
}

/* 3. Wymuszenie na pliku SVG idealnego dopasowania się do zdefiniowanych wyżej limitów. */
.itm-brands-carousel .wpex-carousel-entry-img img,
.itm-brands-carousel .wpex-carousel-slide img,
.itm-brands-carousel img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ==========================================================================
   BEZPIECZNE STYLIZOWANIE IKON (Tylko wewnątrz kafelków .itmcard)
   ========================================================================== */
.itmcard img[src*="itm-electronic-data-interchange-icon"] {
    width: 180px !important;    
    max-width: 180px !important;
    min-width: 180px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}
.itmcard img[src*="itm-equipment-relocations-icon"] {
    width: 170px !important; 
    max-width: 170px !important;
    min-width: 170px !important;
    height: auto !important;
}


.callout-button a {
	border:0!important;
}
/* Stylizacja tekstu opisu (Excerpt) na karcie */
.itmcard .vcex-post-excerpt.excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #222222; /* Oficjalny, głęboki szary/grafit ITM */
    margin-bottom: 15px;
}

/* Stylizacja bloku tekstowego z linkiem na dole */
.itmcard .wpb_text_column .wpb_wrapper p {
    margin: 0;
    padding: 0;
}

/* Właściwy link "Load more" w kolorze korporacyjnym ITM */
.itmcard .wpb_text_column .wpb_wrapper span,
.itmcard .wpb_text_column .wpb_wrapper p span {
    font-size: 14px;
    font-weight: 600;
    color: #be9f56; /* Oryginalny złoty/oliwkowy akcent ITM */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.extlink, .itmcard .wpb_text_column .wpb_wrapper span,
.itmcard .wpb_text_column .wpb_wrapper p span, .entry-readmore   {
	color: #be9f56 !important;
	font-weight: bold!important; 
	text-decoration: none!important; 
	font-size: 14px!important; 
	margin: 0 15px 0 0!important;
	padding:0!important;
	text-transform: uppercase!important; 
	letter-spacing: 1.5px!important; 
	border-bottom: 2px solid rgba(190, 159, 86, 0.2)!important; 
	padding-bottom: 5px; transition: all 0.3s ease!important;
}

.extlink:hover, .itmcard .wpb_text_column .wpb_wrapper span:hover,
.itmcard .wpb_text_column .wpb_wrapper p span:hover, .entry-readmore:hover {
	color: #222222 !important;
	font-weight: bold!important; 
	text-decoration: none!important; 
	font-size: 14px!important; 
	margin: 0 15px 0 0!important;
	padding:0!important;
	text-transform: uppercase!important; 
	letter-spacing: 1.5px!important; 
	border-bottom: 2px solid rgba(190, 159, 86, 0.2)!important; 
	padding-bottom: 5px; transition: all 0.3s ease!important;
}
.extlink-filter   {
	color: #be9f56 !important;
	font-weight: bold!important; 
	text-decoration: none!important; 
	margin: 0 15px 0 0!important;
	padding:0!important;
	text-transform: uppercase!important; 
	letter-spacing: 1.5px!important; 
	border-bottom: 2px solid rgba(190, 159, 86, 0.2)!important; 
	padding-bottom: 5px; transition: all 0.3s ease!important;
}

.extlink-filter:hover {
	color: #222222 !important;
	font-weight: bold!important; 
	text-decoration: none!important; 
	margin: 0 15px 0 0!important;
	padding:0!important;
	text-transform: uppercase!important; 
	letter-spacing: 1.5px!important; 
	border-bottom: 2px solid rgba(190, 159, 86, 0.2)!important; 
	padding-bottom: 5px; transition: all 0.3s ease!important;
}

.extlink2 {
	color: #be9f56; 
	font-weight: bold!important; 
	text-decoration: none!important; 
	font-size: 14px!important; 
	margin: 0 15px 0 0!important;
	padding:0!important;
	text-transform: uppercase!important; 
	letter-spacing: 1.5px!important; 
	border-bottom: 2px solid rgba(190, 159, 86, 0.2)!important; 
	padding-bottom: 5px; transition: all 0.3s ease!important;
}

.extlink2:hover {
	color: #222222; 
	font-weight: bold!important; 
	text-decoration: none!important; 
	font-size: 14px!important; 
	margin: 0 15px 0 0!important;
	padding:0!important;
	text-transform: uppercase!important; 
	letter-spacing: 1.5px!important; 
	border-bottom: 2px solid rgba(190, 159, 86, 0.2)!important; 
	padding-bottom: 5px; transition: all 0.3s ease!important;
}





/* Efekt po najechaniu myszką na całą kartę (hover) */
.wpex-card-inner:hover .wpb_text_column .wpb_wrapper span {
    color: #a38442; /* Lekko ciemniejszy, głębszy odcień złotego na hover */
    text-decoration: underline;
}

/* Kolor dla tytułów maszyn na kartach, żeby grał z resztą opisu */
.itmcard .vcex-page-title .vcex-page-title__heading {
    color: #222222; /* Pełna spójność z grafitem bazowym */
    font-weight: 700;
    margin-bottom: 5px;
}


/* --- CYFRY W OKRĘGACH --- */
.itm-number-circle {
    width: 45px;
    height: 45px;
    background-color: transparent;
    color: #be9f56;
    border: 2px solid #be9f56;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 15px auto;
    text-align: center;
    box-sizing: border-box;
}

/* --- STRZAŁKI JAKO NIEZALEŻNA WARSTWA (OBRAZEK NIE MALEJE) --- */
.itm-process-row .itm-step-col {
    position: relative; /* Baza dla pozycjonowania strzałki */
}

.itm-process-row .itm-step-col::after {
    content: "";
    position: absolute;
    
    /* Pozycjonowanie strzałki dokładnie w wolnej przestrzeni między kolumnami */
    top: 19px; 
    right: -50px; /* Wysunięcie strzałki na zewnątrz kolumny (dopasuj ten minus jeśli trzeba) */
    
    /* Rozmiar strzałki */
    width: 100px;
    height: 15px; 
    
    background-image: url('/wp-content/uploads/2026/06/arrow-right.png') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 10;
}

/* Wyłączenie strzałki na ostatniej kolumnie */
.itm-process-row .itm-step-col:last-child::after {
    display: none !important;
}

.itm-process-row p {
margin-bottom:10px;}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 991px) {
    .itm-process-row .itm-step-col::after {
        display: none !important; /* Ukrywa strzałki na telefonie, gdy kolumny spadają w pion */
    }
}








/* --- IDEALNE WYRÓWNANIE IKONY I TEKSTU W PIONIE --- */
.itm-stats-row .vcex-icon-box, 
.itm-stats-row .vcex-feature-box {
    display: flex !important;
    align-items: center !important; /* Centruje ikonę i tekst idealnie w jednej osi poziomej */
}

/* Usunięcie domyślnego górnego marginesu z nagłówka, który spychał tekst */
.itm-stats-row .vcex-icon-box-heading,
.itm-stats-row .vcex-feature-box-heading {
    margin-top: 0 !important;
    line-height: 1.1 !important;
}
/* --- USUNIĘCIE STAREGO BORDERA Z KOLUMN --- */
.itm-stats-row .wpb_column {
    border-right: none !important;
    position: relative;
    padding-right: 30px !important;
    padding-left: 30px !important;
}

/* --- KRÓTKIE, WYŚRODKOWANE PIONOWE KRESKI --- */
.itm-stats-row .wpb_column:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* Idealne centrowanie w pionie */
    
    /* Tutaj sterujesz długością i grubością kreski */
    width: 1px;
    height: 60px; /* Stała wysokość kreski z makiety */
    
    background-color: #be9f56 !important;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 767px) {
    .itm-stats-row .wpb_column {
        padding: 15px 0 !important;
    }
    .itm-stats-row .wpb_column:not(:last-child)::after {
        display: none !important; /* Ukrywa kreski na mobile */
    }
}
/* GŁÓWNY STYL DLA DESKTOPU (Szerokie ekrany, gdzie linie pasują co do milimetra) */
@media (min-width: 1201px) {
  .itm-tech-fixed-box {
    height: 140px !important; /* Sztywna wysokość tylko na dużych ekranach */
    margin-bottom: 25px !important; 
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important; 
    justify-content: flex-start !important;
  }
}
@media (min-width: 1201px) {
  .itm-techmod-fixed-box {
    height: 100px !important; /* Sztywna wysokość tylko na dużych ekranach */
    margin-bottom: 10px !important; 
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important; 
    justify-content: flex-start !important;
	background:#fff;
	border-radius:14px;
	padding:10px;
  }
}

/* BAZOWY STYL DLA WSZYSTKICH BOKSÓW (Wspólny reset marginesów) */
.itm-tech-fixed-box, .itm-techmod-fixed-box {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.itm-tech-fixed-box .vcex-icon-box-symbol,  
.itm-techmod-fixed-box .vcex-icon-box-symbol {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.itm-tech-fixed-box .vcex-icon-box-text,
.itm-techmod-fixed-box .vcex-icon-box-text {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.itm-tech-fixed-box .vcex-icon-box-heading,
.itm-techmod-fixed-box .vcex-icon-box-heading {
  text-align: left !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.itm-tech-fixed-box .vcex-icon-box-content,
.itm-techmod-fixed-box .vcex-icon-box-content,
.itm-techmod-fixed-box .vcex-icon-box-content p,
.itm-tech-fixed-box .vcex-icon-box-content p {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* RESPONSIVE - RATOWANIE UKŁADU (Dla ekranów mniejszych niż 1200px) */
@media (max-width: 1200px) {
  /* 1. Kasujemy sztywną wysokość, żeby teksty mogły swobodnie oddychać i nie najeżdżały na siebie */
  .itm-tech-fixed-box {
    height: auto !important; 
    margin-bottom: 35px !important; /* Większy bezpieczny odstęp między boksami */
  }

  /* 2. Stopniowo pomniejszamy ikony, żeby zyskać cenne miejsce na tekst */
  .itm-tech-fixed-box .vcex-icon-box-symbol img {
    width: 76px !important;
    height: 76px !important;
  }
  
  .itm-tech-fixed-box .vcex-icon-box-symbol {
    margin-right: 15px !important;
  }
}
@media (max-width: 1200px) {
  /* 1. Kasujemy sztywną wysokość, żeby teksty mogły swobodnie oddychać i nie najeżdżały na siebie */
  .itm-techmod-fixed-box {
    height: auto !important; 
    margin-bottom: 35px !important; /* Większy bezpieczny odstęp między boksami */
	
  }

  /* 2. Stopniowo pomniejszamy ikony, żeby zyskać cenne miejsce na tekst */
  .itm-techmod-fixed-box .vcex-icon-box-symbol img {
    width: 76px !important;
    height: 76px !important;
  }
  
  .itm-techmod-fixed-box .vcex-icon-box-symbol {
    margin-right: 15px !important;
  }
}

/* RESPONSIVE - TYPOWY MOBILE (Dla telefonów < 768px) */
@media (max-width: 767px) {
.itm-tech-fixed-box {
    flex-direction: column !important; /* Na pionowych telefonach ikona nad tekst */
    align-items: center !important;     /* Środkuje ikonę i tekst w osi poziomej */
    text-align: center !important;      /* Środkuje tekst wewnątrz bloku */
    margin-bottom: 40px !important;
}

.itm-tech-fixed-box .vcex-icon-box-symbol img {
    width: 76px !important;
    height: 76px !important;
    margin-bottom: 12px !important;
    margin-left: auto !important;       /* Zapewnia wyśrodkowanie obrazka */
    margin-right: auto !important;
}
.itm-tech-fixed-box .vcex-icon-box-heading {
    text-align: center !important;
    width: 100% !important;
}
.itm-tech-fixed-box .vcex-icon-box-symbol {
    margin-right: 0 !important;
}
}

@media (max-width: 767px) {
  .itm-techmod-fixed-box {
    flex-direction: column !important; /* Na pionowych telefonach ikona nad tekst */
    align-items: flex-start !important;
    margin-bottom: 40px !important;
  }

  .itm-techmod-fixed-box .vcex-icon-box-symbol img {
    width: 76px !important;
    height: 76px !important;
    margin-bottom: 12px !important;
  }

  .itm-techmod-fixed-box .vcex-icon-box-symbol {
    margin-right: 0 !important;
  }
}

/* Kreski rozdzielające dla układu 5-kolumnowego (1/5) */
@media (min-width: 992px) {
  /* Łapiemy wszystkie kolumny oprócz ostatniej w wierszu .bfn-icons */
  .bfn-icons > [class*="vc_col-"]:not(:last-child) {
    border-right: 1px solid #be9f56 !important;
    padding-right: 15px !important; /* Równy odstęp od tekstu do prawej kreski */
    padding-left: 15px !important;  /* Równy odstęp z lewej strony dla balansu */
    box-sizing: border-box !important;
  }
}

/* Kreski rozdzielające dla układu 4-kolumnowego (1/4) */
@media (min-width: 768px) {
  /* Łapiemy wszystkie kolumny oprócz ostatniej w wierszu .mod-icons */
  .mod-icons > [class*="vc_col-"]:not(:last-child) {
    border-right: 1px solid #be9f56 !important;
    padding-right: 20px !important; /* Równy odstęp od tekstu do prawej kreski */
    padding-left: 20px !important;  /* Równy odstęp z lewej strony dla balansu */
    box-sizing: border-box !important;
  }
}  
/* Jeśli odstęp nadal siedzi w wewnętrznym kontenerze kolumny WPBakery */
.mbd [class*="vc_col-sm-"] .vc_column-inner {
  margin-bottom: 0 !important;
}


/* Stylizacja osi procesu - wersja ostateczna (flex-sibling) */
@media (min-width: 768px) {

  /* Celujemy TYLKO wewnątrz sekcji .proces-solaris */
  .proces-solaris .vc_row-flex > .wpb_column:has(+ .wpb_column .itm-techmod-fixed-box) .vc_column-inner {
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 100% auto !important;
    display: block !important;
    min-height: 110px !important;
  }

  /* 1. GÓRA - Pierwszy wiersz w sekcji procesu */
  .proces-solaris .vc_inner:first-of-type > .vc_col-sm-2 .vc_column-inner {
    background-image: url('https://projekty8.arjmm.pl/wp-content/uploads/2026/06/line-top2.webp') !important;
  }

  /* 2. ŚRODEK - Wiersze od 2 do 6 w sekcji procesu */
  .proces-solaris .vc_inner:nth-of-type(2) > .vc_col-sm-2 .vc_column-inner,
  .proces-solaris .vc_inner:nth-of-type(3) > .vc_col-sm-2 .vc_column-inner,
  .proces-solaris .vc_inner:nth-of-type(4) > .vc_col-sm-2 .vc_column-inner,
  .proces-solaris .vc_inner:nth-of-type(5) > .vc_col-sm-2 .vc_column-inner,
  .proces-solaris .vc_inner:nth-of-type(6) > .vc_col-sm-2 .vc_column-inner {
    background-image: url('https://projekty8.arjmm.pl/wp-content/uploads/2026/06/line-middle2.webp') !important;
  }

  /* 3. DÓŁ - Ostatni wiersz w sekcji procesu */
  .proces-solaris .vc_inner:nth-of-type(7) > .vc_col-sm-2 .vc_column-inner,
  .proces-solaris .vc_inner:last-of-type > .vc_col-sm-2 .vc_column-inner {
    background-image: url('https://projekty8.arjmm.pl/wp-content/uploads/2026/06/line-bottom2.webp') !important;
  }
}

/* Ukrycie na mobile - również zabezpieczone klasą sekcji */
@media (max-width: 767px) {
  .proces-solaris .vc_inner > .vc_col-sm-2 {
    display: none !important;
  }
  .proces-solaris .vc_inner > .vc_col-sm-10 {
    width: 100% !important;
  }
}



@media (min-width: 768px) {
  .itm-huge-circle-col > .vc_column-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    
    /* GWARANCJA IDEALNEGO KOŁA: */
    width: 100% !important;            /* Koło dopasuje się do szerokości kolumny... */
    max-width: 420px !important;        /* ...ale nie przekroczy swoich idealnych 420px */
    height: auto !important;            /* Kasujemy sztywne height, żeby nie blokowało pionu */
    aspect-ratio: 1 / 1 !important;    /* Wymuszamy matematyczny stosunek 1:1. Zawsze idealny okrąg! */
    
    border: 2px solid #be9f56 !important;
    border-radius: 50% !important;      /* Stałe zaokrąglenie w 100% okrąg */
    background-color: transparent !important;
    
    margin: 0 auto !important;
    padding: 10% !important;            /* Procentowy padding, żeby teksty skalowały się do środka */
    box-sizing: border-box !important;
  }

  /* Reset marginesów komponentów Total Theme wewnątrz koła */
  .itm-huge-circle-col .vcex-icon-box {
    margin-bottom: 0 !important;
  }
  
  .itm-huge-circle-col .vcex-icon-box-symbol {
    margin-bottom: 15px !important;
  }
}





@media (min-width: 768px) {
  /* Kontener kolumny staje się tylko elastyczną bazą */
  .fmt-rapid .itm-huge-circle-col > .vc_column-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    
    width: 100% !important;
    max-width: 350px !important;
    height: auto !important;
    min-height: 350px !important; /* Wymuszamy bazowy kwadrat */
    
    /* Wyłączamy starą ramkę i zaokrąglenie z samej kolumny, żeby nie robić jaja */
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    
    position: relative !important;
    margin: 0 auto !important;
    padding: 40px 20px !important; 
    box-sizing: border-box !important;
  }

  /* PANCERNE IDEALNE KOŁO JAKO WARSTWA W TLE */
  .fmt-rapid .itm-huge-circle-col > .vc_column-inner::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    
    /* Dokładny, sztywny wymiar koła */
    width: 350px !important;
    height: 350px !important;
    
    /* Idealne wyśrodkowanie matematyczne */
    transform: translate(-50%, -50%) !important;
    
    border: 2px solid #be9f56 !important;
    border-radius: 50% !important; /* To koło NIE MA PRAWA się odkształcić */
    background-color: transparent !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }

  /* Wszystko wewnątrz kolumny wypychamy nad koło (ikony, teksty) */
  .fmt-rapid .itm-huge-circle-col > .vc_column-inner > * {
    position: relative !important;
    z-index: 1 !important;
  }

  /* Skalowanie obrazka maszyny Polaris */
  .fmt-rapid .itm-huge-circle-col img {
    max-width: 180px !important; /* Kontrolujemy szerokość samej maszyny */
    height: auto !important;
    margin: 0 auto 10px auto !important;
  }

  /* Reset marginesów komponentów Total Theme */
  .itm-huge-circle-col .vcex-icon-box {
    margin-bottom: 0 !important;
  }
  .fmt-rapid .itm-huge-circle-col .vcex-icon-box-symbol {
    margin-bottom: 0px !important;
  }
}

/* Wersja mobilna - zachowujemy pancerne koło */
@media (max-width: 767px) {
  .fmt-rapid .itm-huge-circle-col > .vc_column-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    
    width: 100% !important;
    max-width: 350px !important; /* Pilnuje, żeby koło nie wyszło poza ekran telefonu */
    height: auto !important;
    min-height: 350px !important; /* Wymuszamy kwadrat na telefonie, żeby koło było równe */
    
    position: relative !important;
    margin: 0 auto 30px auto !important; /* Środkuje cały kontener na ekranie i daje odstęp w pionie */
    padding: 40px 20px !important;
    box-sizing: border-box !important;
  }

  .fmt-rapid .itm-huge-circle-col > .vc_column-inner::before {
    /* Usunęliśmy display: none - koło teraz żyje i ma się dobrze */
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 320px !important;  /* Lekko zmniejszone (z 350 na 320), żeby bezpiecznie mieściło się na wąskich smartfonach */
    height: 320px !important; /* Tyle samo co width, żeby był idealny okrąg */
    transform: translate(-50%, -50%) !important;
    border: 2px solid #be9f56 !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  
  /* Wypychamy zawartość nad tło na mobilu */
  .fmt-rapid .itm-huge-circle-col > .vc_column-inner > * {
    position: relative !important;
    z-index: 1 !important;
  }
}




























/* Idealnie symetryczne linie poziome między kołami */
@media (min-width: 768px) {

  .polaczenie-procesu {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Konstruujemy linie tak, aby pokrywały całą szerokość wolnej przestrzeni */
  .polaczenie-procesu::before,
  .polaczenie-procesu::after {
    content: "" !important;
    position: absolute !important;
    top: 48% !important;
    transform: translateY(-50%) !important;
    
    /* Szerokość pokrywająca dystans do sąsiednich kolumn */
    width: 50% !important; 
    border-top: 2px dashed #c49a45 !important;
    z-index: -1 !important; /* Chowamy pod tło bocznych kół oraz pod brązowy łańcuch */
    pointer-events: none !important;
  }

  /* LEWA LINIA */
  .polaczenie-procesu::before {
    right: 50% !important; /* Startuje dokładnie z geometrycznego środka łańcucha */
    margin-right: 0 !important; /* Odsuwamy od samego środka, żeby nie prześwitywała pod ikoną linku */
  }

  /* PRAWA LINIA */
  .polaczenie-procesu::after {
    left: 50% !important; /* Startuje dokładnie ze środka */
    margin-left: 0 !important;
  }
}

/* Ukrycie na mobile */
@media (max-width: 767px) {
  .polaczenie-procesu::before,
  .polaczenie-procesu::after {
    display: none !important;
  }
}

/* Stylizacja osi procesu Polaris - Ostateczna korekta pozycji i eliminacja duplikacji */
@media (min-width: 768px) {

  /* Zabezpieczenie: Czyścimy tło z głównych kolumn wiersza, żeby nie generowało się pod łańcuchem */
  .proces-polaris > .vc_row-flex > .wpb_column > .vc_column-inner {
    background-image: none !important;
  }

  /* Celujemy WYŁĄCZNIE w kolumny linii (2/12) wewnątrz wewnętrznych wierszy (vc_inner) boksów */
  .proces-polaris .vc_inner > .vc_col-sm-2 .vc_column-inner {
    background-repeat: no-repeat !important;
    background-size: 100% auto !important;
    /* Przesuwamy tło maksymalnie do prawej krawędzi kolumny, żeby kropki dotknęły ikonek boksów */
    background-position: right center !important; 
    display: block !important;
    min-height: 115px !important; /* Wysokość dopasowana do Twoich boksów */
  }

  /* 1. GÓRA - Pierwszy wiersz (Capsule Insertion) */
  .proces-polaris .vc_inner:first-of-type > .vc_col-sm-2 .vc_column-inner {
    background-image: url('https://projekty8.arjmm.pl/wp-content/uploads/2026/06/line-top2.webp') !important;
  }

  /* 2. ŚRODEK - Wiersze 2, 3 i 4 (Granule, Tube, Specialty) */
  .proces-polaris .vc_inner:nth-of-type(2) > .vc_col-sm-2 .vc_column-inner,
  .proces-polaris .vc_inner:nth-of-type(3) > .vc_col-sm-2 .vc_column-inner,
  .proces-polaris .vc_inner:nth-of-type(4) > .vc_col-sm-2 .vc_column-inner {
    background-image: url('https://projekty8.arjmm.pl/wp-content/uploads/2026/06/line-middle2.webp') !important;
  }

  /* 3. DÓŁ - Ostatni, piąty wiersz (Future Extensions) */
  .proces-polaris .vc_inner:nth-of-type(5) > .vc_col-sm-2 .vc_column-inner,
  .proces-polaris .vc_inner:last-of-type > .vc_col-sm-2 .vc_column-inner {
    background-image: url('https://projekty8.arjmm.pl/wp-content/uploads/2026/06/line-bottom2.webp') !important;
  }
}

/* Ukrycie na mobile */
@media (max-width: 767px) {
  .proces-polaris .vc_inner > .vc_col-sm-2 {
    display: none !important;
  }
  .proces-polaris .vc_inner > .vc_col-sm-10 {
    width: 100% !important;
  }
}





/* Pionowe linie oddzielające kolumny korzyści - WERSJA DLA ŁAMANIA NA LAPTOPIE */
@media (min-width: 1200px) { /* Linie i układ obok siebie działają WYŁĄCZNIE na dużym desktopie */
  
  .sekcja-korzysci .vc_row-flex, 
  .sekcja-korzysci.vc_row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  .sekcja-korzysci > .wpb_column {
    position: relative !important;
    padding-right: 25px !important; 
    padding-left: 25px !important;
    box-sizing: border-box !important;
  }

  /* Kreska pionowa */
  .sekcja-korzysci > .wpb_column::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 15% !important;
    bottom: 15% !important;
    width: 1px !important;
    border-right: 1px solid #be9f56 !important; 
    opacity: 0.7 !important;
    z-index: 10 !important;
  }
  
  /* Ukrywamy kreskę na ostatnim elemencie */
  .sekcja-korzysci > .wpb_column:last-of-type::after {
    display: none !important;
  }
}

/* Pełne czyszczenie od 1199px w dół (Laptop, Tablet, Mobile) - pełna zgodność z panelem */
@media (max-width: 1199px) {
  .sekcja-korzysci .vc_row-flex, 
  .sekcja-korzysci.vc_row {
    display: block !important; /* Wyłączamy flex, pozwalamy kolumnom spadać */
  }
  .sekcja-korzysci > .wpb_column::after {
    display: none !important; /* Usuwamy kreski */
  }
  .sekcja-korzysci > .wpb_column {
    width: 100% !important; /* Wymuszamy pełną szerokość zgrany z panelem */
    float: none !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 35px !important;
  }
  .sekcja-korzysci > .wpb_column:last-of-type {
    margin-bottom: 0 !important;
  }
}
















/* Strzałki jako elementy struktury Flex - WERSJA ZGODNA Z PANELEM BUILDERA */
@media (min-width: 1200px) { /* Strzałki i poziomy układ działają TYLKO na dużym desktopie */
  
  /* Główny kontener – wymuszamy ścisły układ flex w jednej linii */
  .vc_row.sekcja-strzalek,
  .sekcja-strzalek.vc_row-flex {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: visible !important;
  }

  /* Wszystkie 3 kolumny dostają identyczną szerokość na desktopie */
  .sekcja-strzalek > .wpb_column {
    flex: 1 !important; 
    max-width: 28% !important; /* Zostawiamy bezpieczną przestrzeń na strzałki */
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Reset wewnętrznych kontenerów WPBakery */
  .sekcja-strzalek > .wpb_column .vc_column-inner {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Wstrzyknięcie strzałek jako elastycznych łączników za kolumną 1 i 2 */
  .sekcja-strzalek > .wpb_column:nth-of-type(1)::after,
  .sekcja-strzalek > .wpb_column:nth-of-type(2)::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: -18% !important; 
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 20px !important;
    display: block !important;
    z-index: 9999 !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24' fill='%23be9f56'%3E%3Cpath d='M7 5l-5 7 5 7v-5h26v5l5-7-5-7v5H7V5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
  }
}

/* Pełny reset i czyszczenie strzałek od 1199px w dół (Laptop, Tablet, Mobile) */
@media (max-width: 1199px) {
  .vc_row.sekcja-strzalek,
  .sekcja-strzalek.vc_row-flex {
    display: block !important; /* Wyłączamy wymuszony flex, pozwalamy działać builderowi */
  }
  .sekcja-strzalek > .wpb_column {
    width: 100% !important; /* Wymuszamy pełną szerokość zgrany z panelem */
    max-width: 100% !important;
    float: none !important;
    margin-bottom: 35px !important; /* Ładny odstęp między kafelkami w pionie */
  }
  .sekcja-strzalek > .wpb_column::after {
    display: none !important; /* Całkowicie kasujemy strzałki boczne na mniejszych ekranach */
  }
  .sekcja-strzalek > .wpb_column:last-of-type {
    margin-bottom: 0 !important;
  }
}







/* 1. Rozwiązanie atomowe: czyścimy KAŻDY kontener, który trzyma w sobie nasz dymek */
div:has(.box_view_html),
section:has(.box_view_html),
.tooltipster-base,
.tooltipster-box,
.ihp-tooltip {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 2. Ukrywamy oryginalną, czarną strzałkę wtyczki */
div:has(.box_view_html)::after,
div:has(.box_view_html)::before,
.tooltipster-arrow,
.tooltipster-arrow-background {
    display: none !important;
}

/* 3. Twój właściwy, czysty dymek - ramka 1px złota, tło białe */
.box_view_html {
    background-color: #ffffff !important;
    border: 1px solid #be9f56 !important;
    color: #222222 !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    display: block !important;
}

/* 4. Formatowanie tekstów w środku */
.box_view_html strong {
    color: #be9f56 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    margin-bottom: 5px !important;
}

.box_view_html p {
    color: #222222 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* 5. Krzyżyk zamykania (SVG) */
.box_view_html .close_ihp svg {
    fill: #be9f56 !important;
}

/* 6. Generujemy naszą nową, dopasowaną złotą strzałkę na dole dymka */
.box_view_html::after,
.box_view_html::before {
    content: "" !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 6px 6px 0 !important;
    border-style: solid !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
}

/* Środek nowej strzałki (biały) */
.box_view_html::after {
    border-color: #ffffff transparent !important;
    z-index: 99 !important;
    bottom: -5px !important;
}

/* Krawędź nowej strzałki (złota 1px) */
.box_view_html::before {
    border-color: #be9f56 transparent !important;
    z-index: 98 !important;
    bottom: -6px !important;
}
/* Zmiana kursora na rączkę po najechaniu na pin i jego elementy */
.drag_element,
.point_style,
.pins_image,
.pins_image_hover {
    cursor: pointer !important;
}



/* 1. Centrowanie wyłącznie górnego modułu z żarówką (bez dotykania dolnych ikon) */
.hnb-ramka-sekcja > .vc_column_container > .vc_column-inner > .wpb_wrapper > .vcex-icon-box {
    display: flex !important;
    flex-direction: row !important;      /* Ikona sztywno po lewej tekstu */
    justify-content: center !important;   /* Przesunięcie zestawu na środek ramki */
    align-items: center !important;       /* Wyrównanie ikony i tekstu w pionie */
    text-align: left !important;          /* Tekst nagłówka do lewej */
    max-width: 800px !important;          /* Bezpieczna szerokość dla tekstu */
    margin-left: auto !important;         /* Centrowanie w poziomie */
    margin-right: auto !important;        /* Centrowanie w poziomie */
}

/* 2. Margines dla ikony żarówki na górze */
.hnb-ramka-sekcja > .vc_column_container > .vc_column-inner > .wpb_wrapper > .vcex-icon-box .vcex-icon-box-symbol {
    margin-right: 20px !important;        /* Odstęp między kółkiem a tekstem */
    margin-bottom: 0 !important;          
    flex-shrink: 0 !important;            
}

/* 3. Kontener tekstowy nagłówka */
.hnb-ramka-sekcja > .vc_column_container > .vc_column-inner > .wpb_wrapper > .vcex-icon-box .vcex-icon-box-text {
    flex-grow: 0 !important;
    text-align: left !important;
}

/* 4. Kontrola wysokości górnego boksu na desktopie */
@media (min-width: 1201px) {
    .hnb-ramka-sekcja .itm-tech-fixed-box {
        height: 100px !important; 
        margin-bottom: 15px !important; 
    }
}
 
@media (min-width: 1201px) {
    .opt-micro .itm-tech-fixed-box {
        height: 100px !important;
        margin-bottom: 0px !important;
        
    }
}


 

/* Kafelki po prawej na Process Engeenering */
.pro-eng-html .itm-process-row {
    display: flex;
    align-items: center;
    border: 1px solid #be9f56;
    border-radius: 12px;
    background-color: transparent; /* Brak białego tła */
    margin-bottom: 20px;
    overflow: hidden; /* Żeby złote tło nie wystawało poza zaokrąglenie ramki */
    min-height: 96px;  /* Zwiększona wysokość, aby pomieścić ikonę 76px z marginesem */
}

/* Ostatni wiersz bez dolnego marginesu */
.pro-eng-html .itm-process-row:last-child {
    margin-bottom: 0;
}

/* Złota strzałka / blok z cyfrą */
.pro-eng-html .itm-process-number {
    background-color: #be9f56;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 102px; /* Dostosowane do wyższego kontenera, aby idealnie pokryć border */
    margin: -2px 0 -2px -2px;
    padding-right: 15px; /* Przesunięcie cyfry lekko w lewo od szpica */
    font-family: inherit;
    
    /* Magiczne wycięcie kształtu strzałki */
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}

/* Kontener na ikonę SVG - wymiary zablokowane na 76x76px */
.pro-eng-html .itm-process-icon {
    margin-left: 25px;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    flex-shrink: 0; /* Blokada przed kurczeniem ikony */
}
.pro-eng-html .itm-process-icon-no {
    margin-left: 25px;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1px;  
    height: 76px;
    flex-shrink: 0; /* Blokada przed kurczeniem ikony */
}


.pro-eng-html .itm-process-icon img {
    width: 76px !important;
    height: 76px !important;
    object-fit: contain;
}

/* Stylowanie nagłówka */
.pro-eng-html .itm-process-title {
    color: #222222 !important;
    font-size: 18px !important;
    font-weight: 500;
    margin: 0 !important;
    padding: 0;
    font-family: inherit;
}

/* RWD: Dostosowanie pod ekrany mobilne */
@media (max-width: 767px) {
    .pro-eng-html .itm-process-row {
        min-height: 70px;
    }
    .pro-eng-html .itm-process-number {
        width: 75px;
        height: 80px;
        font-size: 20px;
        padding-right: 10px;
    }
    /* Na mobile proporcjonalnie zmniejszamy ikonę, żeby nie rozepchała layoutu */
    .pro-eng-html .itm-process-icon {
        margin-left: 15px;
        margin-right: 15px;
        width: 45px;
        height: 45px;
    }
    .pro-eng-html .itm-process-icon img {
        width: 45px !important;
        height: 45px !important;
    }
    .pro-eng-html .itm-process-title {
        font-size: 16px !important;
    }
}
@media (max-width: 767px) {
    .pro-eng-html .itm-process-row {
        min-height: 70px;
    }
    .pro-eng-html .itm-process-number {
        width: 75px;
        height: 80px;
        font-size: 20px;
        padding-right: 10px;
    }
    /* Na mobile proporcjonalnie zmniejszamy ikonę, żeby nie rozepchała layoutu */
    .pro-eng-html .itm-process-icon-no {
        margin-left: 5px;
        margin-right: 5px;
        width: 1px;
        height: 45px;
    }
    .pro-eng-html .itm-process-icon-no img {
        width: 1px !important;
        height: 45px !important;
    }
    .pro-eng-html .itm-process-title-no {
        font-size: 16px !important;
    }
}

/* Ukrywa bieżący język na liście przełącznika Polylang */
.lang-item.current-lang {
    display: none !important;
}  

.mobile-slider .vc_tta.vc_general .vc_tta-panel-body {
    
    padding: 0!important; 

}
