/**
 * Własne style projektu.
 * Możesz tworzyć kolejne pliki, np. 20-menu.css, 30-header.css, 40-home.css.
 * Pliki rozpoczynające się od _ nie są ładowane.
 */
.white-fonts,
.white-fonts *,
.site-footer,
.site-footer * {
    color: #fff !important;
}
.site-footer,
.site-footer svg,
.white-fonts svg {
    color: #fff !important;
    fill: currentColor;
}
.blue-font h1 strong{
	color:#2565b8!important;
}
/* Maska banera */
.baner-50 {
    position: relative;
    overflow: hidden;
}
.entry-content .wp-audio-shortcode, .entry-content .wp-embedded-audio, .entry-content .wp-embedded-video, .entry-content .wp-video, .entry-content p{
	margin:0;
}
/* Gradient desktop */
.baner-50::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 20, 40, 1) 0%,
        rgba(0, 20, 40, 0.99) 40%,
        rgba(0, 20, 40, 0.95) 45%,
		rgba(0, 20, 40, 0.80) 50%,
		rgba(0, 20, 40, 0) 55%,
        rgba(0, 20, 40, 0) 100%
    );
}

/* Treść zawsze nad maską */
.baner-50 > * {
    position: relative;
    z-index: 2;
}

/* Tablet + mobile */
@media (max-width: 921px) {
    .baner-50::before {
        background: rgba(0, 20, 40, 0.5);
    }
}
.ast-logo-title-inline .ast-site-identity,
.ast-separate-container #primary{
	padding:0;
}
/* =========================================================
   ASTRA - STICKY HEADER + LOGO WYSUNIĘTE POZA MENU
   ========================================================= */

:root {
    --wd-logo-top: 5px;
    --wd-logo-expanded-scale: 1.38;
    --wd-logo-animation: 360ms;
    --wd-logo-easing: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------
   Sticky header
   --------------------------------------------------------- */
#masthead {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Pasek administratora WP */
body.admin-bar #masthead {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar #masthead {
        top: 46px;
    }
}

.min-height-h4 h4{
	min-height:42px;
}

.ast-plain-container.ast-no-sidebar #primary,
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary{
	margin:0!important;
}
.entry-header.ast-no-thumbnail{
	display:none;
}
.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a){
	text-decoration:none!important;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .ast-author-box, .ast-separate-container .ast-404-layout-1, .ast-separate-container .no-results{
	padding:0!important;
}
.ast-article-single figure, .ast-article-single img:not(figure img){
	box-shadow:none;
}
.entry-content :where(h1,h2,h3,h4,h5,h6){
	margin-top:0;
}
.wp-block-wlasne-elementy-container table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #f7f7f7;
    border: 1px solid #000;
    table-layout: auto;
}

/* Komórki */
.wp-block-wlasne-elementy-container table th,
.wp-block-wlasne-elementy-container table td {
    padding: 14px 16px;
    border: 1px solid #000;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

/* Nagłówki tabeli */
.wp-block-wlasne-elementy-container table th {
    background: #eeeeee;
    font-weight: 600;
}

/* Zwykłe komórki */
.wp-block-wlasne-elementy-container table td {
    background: #f9f9f9;
}

/* Delikatne rozróżnienie kolejnych wierszy */
.wp-block-wlasne-elementy-container table tbody tr:nth-child(even) td {
    background: #f3f3f3;
}

/* Długie treści nie rozsadzają kolumn */
.wp-block-wlasne-elementy-container table th,
.wp-block-wlasne-elementy-container table td {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Telefon */
@media (max-width: 767px) {
    .wp-block-wlasne-elementy-container table th,
    .wp-block-wlasne-elementy-container table td {
        padding: 10px 12px;
    }
}

@media (min-width: 921px) {
	.img-abso{
	 position: absolute!important;
    top: 0!important;
    right: 0!important;
    width: auto!important;
    left: calc(50% + 20px)!important;
    bottom: 0!important;
    overflow: hidden!important;
}
}
@media (min-width: 921px) {
	.img-abso2{
	 position: absolute!important;
    top: 0!important;
    right: calc(50% + 20px)!important;
    width: auto!important;
    left: 0!important;
    bottom: 0!important;
    overflow: hidden!important;
}
}
/* Kontener wszystkich 5 etapów */
.spec-ikons > .we-container__inner {
    position: relative;
}

/* Przerywana linia pomiędzy punktami */
.spec-ikons > .we-container__inner::before {
    content: "";
    position: absolute;

    /* środek kółek */
    top: 19px;

    /* od środka pierwszej kolumny do środka ostatniej */
    left: 10%;
    right: 10%;

    border-top: 1px dashed #d8dee7;

    z-index: 0;
    pointer-events: none;
}

/* Każdy etap nad linią */
.spec-ikons > .we-container__inner > .we-container {
    position: relative;
    z-index: 1;
}

/* Numery 1–5 */
.spec-ikons > .we-container__inner > .we-container h2 {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin: 0 auto 28px !important;
    padding: 0 !important;

    border-radius: 50%;

    background: #001b3b;
    color: #c58a48 !important;

    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 600;

    position: relative;
    z-index: 2;
}
@media (max-width: 860px) {
.site-primary-footer-inner-wrap{
	grid-template-columns:1fr 1fr!important;
	gap:20px;
	padding:0 10px;
}
.site-primary-footer-inner-wrap .site-footer-primary-section-1{
	order:1;
}
.site-primary-footer-inner-wrap .site-footer-primary-section-2{
	order:3;
}
.site-primary-footer-inner-wrap .site-footer-primary-section-3{
	order:4;
}
.site-primary-footer-inner-wrap .site-footer-primary-section-4{
	order:2;
}
}
.menu-item .ast-icon{
	position: relative;
}
.menu-item .ast-icon svg{
	line-height:1;
	position: absolute;
    top: 50%;
    left: 100%;
    height: 10px;
	transform:translatey(-50%);
}
.menu-item-has-children{
	padding-right:15px;
}
.menu-item-has-children .menu-item a{
	color:black!important;
}
.menu-item-has-children .sub-menu{
	padding:10px;
}
.sub-menu .menu-item-object-post .menu-link{
	padding:3px;
	margin:5px 0;
}
.sub-menu .menu-item-object-post .menu-link:before{
	content:"";
	position:absolute;
	height:2px;
	bottom:0;
	left:50%;
	right:50%;
	background-color:#c89745;
	transition:all 0.4s ease;
}
.sub-menu .menu-item-object-post .menu-link:hover:before{
	left:5px;
	right:5px;
}
.hover-box{
	transition:all 0.6s ease;
	position:relative;
	z-index:1;
}
.hover-box:hover{
	transform:scale(1.05);
	box-shadow:0 3px 10px rgba(0,0,0,0.6);
	z-index:3;
}
@media(max-width:450px){
	.ast-container, .ast-container-fluid{
		padding-left:10px;
		padding-right:10px;
	}
}

/* H3 w FAQ i kaflach usług wyglądają tak jak dotychczasowe <span> */
.we-faq__question-title { font: inherit; color: inherit; margin: 0; display: inline; }
h3.wd-profile-card__title { margin: 0; }

/* Opinie Google nad stopką (hook astra_footer_before) */
.wd-opinie-global { display: block; width: 100%; box-sizing: border-box; }
.wd-opinie-global .wp-block-heading { margin: 0 0 30px; }
@media (max-width: 767px) { .wd-opinie-global .wp-block-heading { margin-bottom: 20px; } }
