/* ==========================================================================
   Zgodność z podstronami zbudowanymi w Elementorze.
   1) Zmienne globalne Elementora (zestaw "Kit" zaginął przy włamaniu).
   2) Dawny "Dodatkowy CSS" strony (był przypisany do motywu Hello Elementor).
   ========================================================================== */
:root {
	--e-global-color-primary: #000000;
	--e-global-color-secondary: #2A56DF;
	--e-global-color-text: #000000;
	--e-global-color-accent: #FFFF00;
	--e-global-typography-primary-font-family: "capitana", "Outfit";
	--e-global-typography-primary-font-weight: 400;
	--e-global-typography-secondary-font-family: "Space Mono";
	--e-global-typography-secondary-font-weight: 400;
	--e-global-typography-text-font-family: "capitana", "Outfit";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: "capitana", "Outfit";
	--e-global-typography-accent-font-weight: 700;
}

/* Podstrony z Elementora: czytelna czcionka i odstępy między wierszami
   (bez zestawu Kit teksty dziedziczyły stałą wysokość wiersza 20px i nachodziły na siebie). */
.ap-elementor-page { font-family: var(--ap-font); line-height: 1.5; }
.ap-elementor-page .elementor-widget-text-editor,
.ap-elementor-page .elementor-heading-title,
.ap-elementor-page .elementor-counter,
.ap-elementor-page .elementor-icon-box-description,
.ap-elementor-page .elementor-image-box-description { line-height: 1.45; }
.ap-elementor-page .elementor-counter-number-wrapper { line-height: 1.05; }

/* --- Dawny Dodatkowy CSS --- */

.header-image-right .image-after-hover {
	
	display: none;
}

.header-image-right:hover .image-after-hover {
	display: block;
}
.header-image-right:hover .image-before-hover {
	display: none;
}


.header-image-right {
	transition: 0.8s;
}

.homepage-banner-buttons span.elementor-button-content-wrapper {
    display: flex;
    flex-direction: column-reverse !important;
}

.homepage-banner-buttons span.elementor-button-text {
    text-align: left;
}


.fixed-bg-video {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1 !important;
    pointer-events: none;
}

.fixed-bg-video .elementor-widget-container,
.fixed-bg-video video {
    width: 100% !important;
    height: 100% !important;
}

.fixed-bg-video video {
    object-fit: cover !important;
    object-position: center center !important;
}

.homepage-ongoing-programs
.elementor-swiper-button.elementor-swiper-button-next {
    border-bottom: 1px solid #000 !important;
}

.post-loop-grid-category
a.elementor-post-info__terms-list-item {
    border: 1px solid #fff;
    padding: 12px 20px;
    border-radius: 5px;
}
.newletter-form .elementor-field-type-submit {
    width: 5% !important;
	    margin-bottom: 16px !important;

}
.home .newletter-form .elementor-field-type-submit {
	    margin-bottom: 16px !important;

}


.newletter-form .elementor-field-type-email {
    width: 41% !important;
    margin-left: 20px;
}
@media (max-width:940px){
.newletter-form .elementor-field-type-email {
    width: 80% !important;
    margin-left: 0px;
}
}
@media (max-width:767px){
.homepage-ongoing-programs
.elementor-swiper-button.elementor-swiper-button-next {
    border-bottom: 1px solid #000 !important;
}
.archive-loop-grid nav.elementor-pagination {
    width: 300px;
}
	
}
.news-featured-image
a.elementor-post-info__terms-list-item {
    border: 1px solid #000;
    padding: 12px 20px;
    border-radius: 5px;
		color: #000 !important;

}

body .news-featured-image
a.elementor-post-info__terms-list-item:hover {
	background: #000 !important;
	color: #fff !important;
}


.post-loop-grid-category
a.elementor-post-info__terms-list-item:hover {
    border: 1px solid #fff;
    padding: 12px 20px;
    border-radius: 5px;
		background: #fff;
	color: #000 !important;
}
.archive-page-categories h5 {
    display: none;
}
.archive-page-categories ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
	    margin-top: 5px;

}




.archive-page-categories li.cat-item a {
	    border: 1px solid #000;
    padding: 10px 18px;
    border-radius: 5px;
		color: #000 !important;
font-family: var(--ap-font);
	font-size: 12px;
	}


.archive-page-categories li.cat-item a:hover {
		color: #fff !important;
	background: #2A56DF;
	border-color: #2A56DF;
	}
.archive-page-categories li.cat-item [aria-current="page"]{
		color: #fff !important;
	background: #2A56DF;
	border-color: #2A56DF;
	}
.archive-loop-grid nav.elementor-pagination {
    background: #fff;
    padding: 14px 15px;
    border-radius: 12px;
    width: 385px;
    margin: auto;
}

.archive-loop-grid-button a.elementor-post-info__terms-list-item {
	    border: 1px solid #000;
    padding: 12px 20px;
    border-radius: 5px;
		color: #000 !important;
}  

.archive-loop-grid-button a.elementor-post-info__terms-list-item:hover {
		color: #fff !important;
	background: #2A56DF !important;
	border-color: #2A56DF;
}  

.archive-loop-grid-button
span.elementor-post-info__terms-list , .post-loop-grid-category span.elementor-post-info__terms-list {
    display: flex !important;
    flex-wrap: wrap;
	gap: 6px;
	  font-size: 0px;
}
.archive-loop-grid-button
a.elementor-post-info__terms-list-item ,  .post-loop-grid-category a.elementor-post-info__terms-list-item{
    margin-bottom: 4px;
	    font-size: 12px !important;

}



.archive-loop-grid-button
ul {
    list-style: none;
}

  



