/*
Theme Name: Bałtyk AP by dicori
Theme URI: https://dicori.digital
Description: Motyw potomny dla Hello Elementor. Używany do bezpiecznych modyfikacji.
Author: Maciej Wiązowski
Author URI: https://dicori.digital
Template: hello-elementor
Version: 1.0.0
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Bałtyk AP by dicori
*/

/* Wymuszenie swap dla czcionek ikon i menu mobilnego */
@font-face {
    font-family: 'mobmenu'; /* dopasuj nazwę jeśli jest inna, ale zazwyczaj działa globalnie */
    font-display: swap !important;
}

html {
  scroll-behavior: smooth;
}

*, :before, :after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

:focus-visible {
    outline: none;
}

a:focus, a:focus-visible {
	outline: none;
}

.elementor-widget-n-accordion .e-n-accordion-item-title {
    justify-content: space-between !important;
}

.e-n-accordion-item > .e-n-accordion-item-title {
	transition: 0.5s ease;
}

.elementor.elementor .elementor-widget-n-menu.e-n-menu-tablet .e-n-menu-toggle {
	 background: none;
	 border: none;
}

.skurcz {
	width: max-content !important;
}

.blue {
	color:#0078bc;
	stroke: #005585;
	-webkit-text-stroke-color: #005585;    
}

.elementor-location-single .e-con-inner {
    position: relative;
}

.button .elementor-post-navigation {
    justify-content: space-between;
}

.button .elementor-post-navigation .elementor-post-navigation__link {
    width: fit-content;
}

.button .elementor-post-navigation .elementor-post-navigation__link a {
    border: 1px solid #303030;
    border-radius: 50px 50px 50px 50px;
    padding: 20px 30px 20px 30px;
    transition: 0.5s ease;
}

.button .elementor-post-navigation .elementor-post-navigation__link a:hover {
    background-color: #091E42;
    border: 1px solid #091E42;
    transition: 0.5s ease;
}

.button .elementor-post-navigation .elementor-post-navigation__link a:hover .post-navigation__arrow-wrapper svg {
	fill: #fff;
}

.button .elementor-post-navigation .elementor-post-navigation__link a:hover .post-navigation__prev--title, .button .elementor-post-navigation .elementor-post-navigation__link a:hover .post-navigation__next--title {
	color: #fff;
}

/* Opcjonalnie: nakładka przyciemniająca, jeśli zdjęcia są zbyt jasne */
#losowe-cta::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4); /* 40% przyciemnienia */
    z-index: 0;
}

/* Upewnij się, że treść CTA jest nad nakładką */
#losowe-cta > .elementor-widget-wrap {
    position: relative;
    z-index: 1;
}

.cky-consent-container .cky-btn, .cky-prefrence-btn-wrapper .cky-btn {
    flex: auto;
    max-width: 100%;
    font-size: 14px;
    font-family: inherit;
    line-height: 24px;
    padding: 8px !important;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer !important;
    text-align: center;
    text-transform: none;
    min-height: 0;
    overflow-wrap: break-word;
}



@media only screen and (max-width: 767px) {
    .mob-menu-header-holder.mobmenu .mobmenur-container {
        margin-right: 6px;
		top: 0;
        min-height: 54px;
        display: flex;
        align-items: center;
    }
	.menu-main-container #mobmenuright li a, .menu-main-container #mobmenuright li a:visited, .menu-main-container #mobmenuright .mobmenu-content h2, .menu-main-container #mobmenuright .mobmenu-content h3, .menu-main-container .mobmenu-left-panel .mobmenu-display-name {
        font-family: 'AardvarkBold', sans-serif;
        font-size: 14px;
	}
	.skurcz {
		width: inherit !important;
	}
	.elementor.elementor-24.elementor-location-header {
		height: 0;
	}
	.button .elementor-post-navigation .elementor-post-navigation__link a {
		padding: 15px 20px;
	}
	.elementor-element .cta-arrow {
		font-size: 50px !important;
	}
	.elementor-element .cta-prev-arrow { left: 3%; }
	.elementor-element .cta-next-arrow { right: 3%; }
}

@media (min-width: 767px) and (max-width: 1024px) {
    .mob-menu-header-holder.mobmenu .mobmenur-container {
        margin-right: 16px;
		top: 0;
        min-height: 75px;
        display: flex;
        align-items: center;
    }
	.menu-main-container #mobmenuright li a, .menu-main-container #mobmenuright li a:visited, .menu-main-container #mobmenuright .mobmenu-content h2, .menu-main-container #mobmenuright .mobmenu-content h3, .menu-main-container .mobmenu-left-panel .mobmenu-display-name {
        font-family: 'AardvarkBold', sans-serif;
        font-size: 16px;
	}
    .mobmenu-right-panel.mobmenu-panel {
        width: 30%;
    }
	.skurcz {
		width: inherit !important;
	}
	.elementor.elementor-24.elementor-location-header {
		height: 0;
	}
}
