/*
Theme Name: Web Theme
Theme URI: https://www.speedyweb.pl/strona-internetowa-wordpress/
Author: Speedyweb
Author URI: https://www.speedyweb.pl/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0
Text Domain: speedyweb
Domain Path: /languages

*/

.main_btn {
	  display: inline-block;
    padding: 17px 34px;
    border-radius: var(--border-radius-btn);
    background-color: var(--color-primary); 
    color: var(--color-white); 
    text-decoration: none; 
	text-transform: uppercase;
    white-space: nowrap; 
    line-height: 1; 
	font-weight: 600;
	font-family: var(--font-family-headline);
	font-size: 16px; 
}
.main_btn:hover {
    background-color: var(--color-secondary); 
/*     color: var(--color-text);  */
}

.consultation-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    background-color: var(--color-primary); /* Możesz dostosować kolor tła */
    color: var(--color-text); /* Kolor tekstu */
    text-decoration: none; /* Usuwamy domyślne podkreślenie dla linków */
    white-space: nowrap; /* Zapobiega przerywaniu tekstu na więcej niż jedną linię */
    line-height: 1; /* Zapobiega dodatkowemu pustemu miejscu między wierszami */
	font-weight: 700;
	font-family: var(--font-family-headline);
	font-size: 14px; /* Zmniejszamy wielkość tekstu */
}
.consultation-button:hover {
    background-color: var(--color-secondary); /* Możesz dostosować kolor tła */
    color: var(--color-text); /* Kolor tekstu */
}

@media (max-width: 768px) {
    .consultation-button {
        display: inline-block;
    	padding: 10px 18px;
    	text-decoration: none; /* Usuwamy domyślne podkreślenie dla linków */
    	white-space: nowrap; /* Zapobiega przerywaniu tekstu na więcej niż jedną linię */
    	line-height: 1; /* Zapobiega dodatkowemu pustemu miejscu między wierszami */
		font-weight: 400;
		font-family: var(--font-family-headline);
		font-size: 12px; /* Zmniejszamy wielkość tekstu */
    }
}

.footer-top {
    background-color: #f9f9f9;
    padding: 20px 0;
}

.footer-columns {
    display: grid; /* Ustawienie siatki CSS */
    grid-template-columns: 100%; /* Jeden kolumna na małych ekranach */
    gap: 1.5%; /* Odstęp między kolumnami */
}

.footer-column {
    margin-bottom: 20px;
}

.contact-info h3 {
    margin-top: 0;
}

.seo-city {
    display: grid; /* Ustawienie siatki CSS dla elementu seo-city */
    grid-template-columns: 50% 50%; /* Dwukolumnowy układ */
    gap: 10px; /* Odstęp między elementami */
}

.map iframe {
    width: 100%;
    height: 300px;
}

.copyright {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1200px; /* Maksymalna szerokość kontenera */
    margin: 0 auto; /* Wyśrodkowanie kontenera */
    padding: 0 20px; /* Odstęp wewnątrz kontenera */
}

/* Zapytanie media dla małych ekranów */
@media screen and (min-width: 768px) {
    .footer-columns {
        grid-template-columns: 25% 30% 42%; /* Trzy kolumny na większych ekranach */
    }
}

/* Zapytanie media dla małych ekranów */
@media screen and (max-width: 767px) {
    .footer-columns {
        justify-content: center; 
    }
	.footer-column {
	    text-align: center; 
	}	
	footer .footer-column p {
	    text-align: center!important; 
	}	
	footer .footer-column .social-icons {
	    justify-content: center;
	}	
}

/* CCZ gr - Michał  */


#menu-item-1216 > a,
#menu-item-1472 > a, 
#menu-item-181 > a {
    pointer-events: none;
    cursor: default;
}

.d_none {
	display: none!important;
}
img {
	border-radius: var(--border-radius);
}
.text_justify {
  	text-align: justify;
}
.page p {
	text-align: justify;
}
.page .cta-content p {
	text-align: center;
}

/* SUBPAGES  */

.media_text_first .wp-block-media-text__content {
	padding: 0 0 0 10%;
}
.media_text_second .wp-block-media-text__content {
	padding: 0 10% 0 0;
}
@media (max-width: 600px) {
	.media_text_first .wp-block-media-text__content {
		margin-top: 25px;
		padding: 0;
	}
	.media_text_second .wp-block-media-text__content {
		margin-top: 25px;
		padding: 0;
	}
}

/* FAQ  */
.rank-math-list-item {
	padding: 0 40px 30px;
}
@media (max-width: 768px) {
	.rank-math-list-item {
		padding: 0 20px 20px;
	}
}

/* CUSTOM SALVEO */

.my_related_links_grid {
	row-gap: 50px;
	column-gap: 40px;
}
@media (max-width: 767px) {
	.my_related_links_grid {
		grid-template-columns: repeat(1, minmax(0, 1fr))!important;
		row-gap: 30px;
	}
}

.my_link_img {
	overflow: hidden;
	width: 100%;
	border-radius: var(--border-radius);
}
.my_link_img a {
	width: 100%;
}
.my_link_img img {
	width: 100%!important;
	height: 400px!important;
	object-fit: cover;
	transition: transform 0.4s ease;
}
@media (max-width: 767px) {
	.my_link_img img {
		height: 200px!important;
	}
}
.my_link_img:hover img {
	transform: scale(1.1);
}
.my_link {
	margin-top: 14px!important;
}
.my_link:hover a {
	color: var(--color-primary);
}
@media (max-width: 767px) {
	.my_link a {
		font-size: 17px;
	}
}

.content-box_button a {
	display: inline-block;
	margin-top: 20px;
	padding: 12px 24px;
	font-size: 18px;
	font-weight: 500;
	text-transform: none;
	color: #fff;
	background-color: var(--color-primary);
	transition: background-color 0.3s, color 0.3s;
	border-radius: var(--border-radius);
}
.content-box_button:hover a {
	color: #fff;
	background-color: var(--color-secondary);

}

.useful_links a {
	color: var(--color-primary);
	font-weight: 500;
}
.useful_links a:hover {
	color: var(--color-secondary);
}

/* DRASTIC IMG's  */

/* Main Container */
.drastic_img {
    /* No specific styles needed here unless you want layout styles */
}

/* The Wrapper (Created by JS) */
.sensitive-wrapper {
    position: relative; /* Anchor for the warning label */
    display: inline-block; /* Fits the size of the image */
    margin: 5px; /* Spacing between images */
    overflow: hidden; /* Ensures blur doesn't leak out */
}

/* The Image Style */
.sensitive-wrapper img {
    display: block; /* Removes bottom space */
    filter: blur(15px);
    -webkit-filter: blur(15px);
    transition: filter 0.5s ease;
    cursor: pointer;
    user-select: none;
}

/* The Warning Label (Attached to the WRAPPER, not the image) */
.sensitive-wrapper::before {
    content: "DRASTYCZNE ZDJĘCIA";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
    /* Label Design */
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    white-space: nowrap; /* Keeps text on one line */
    
    pointer-events: none; /* Clicks pass through to the wrapper */
    transition: opacity 0.5s ease;
}

/* --- REVEAL STATE --- */

/* When .drastic_img has 'revealed', unblur the images inside */
.drastic_img.revealed .sensitive-wrapper img {
    filter: blur(0);
    -webkit-filter: blur(0);
    cursor: default;
}

/* When .drastic_img has 'revealed', hide the labels */
.drastic_img.revealed .sensitive-wrapper::before {
    opacity: 0;
}