/*
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

*/


.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: #333; /* 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 {
  	color: #fff;
}

@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 */
    }
}
@media (max-width: 380px) {
	.consultation-button {
		display: none;
	}
}

.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; /* Wyśrodkowanie elementów tylko dla wersji mobilnej */
    }
	.footer-column {
	    text-align: center; /* Wyśrodkowanie tekstu */
	}	
	footer .footer-column p {
	    text-align: center!important; 
	}	
	footer .footer-column .social-icons {
	    justify-content: center;
	}	
}

/* WEBskie  */

.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;
	}
}
	

/* TOP BAR  */

.topbar{
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.4;
	padding: 15px 0;	
}
.topbar__mobile {
	display: none;
}

.topbar .container {
	display: flex;
	justify-content: space-between;
	
}

.topbar__address a:hover {
	border-bottom: 1px solid var(--color-text);
}


.topbar__item{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0; /* lepsze zawijanie tekstu */
}

.topbar__text{
  display: inline-block;
  white-space: nowrap;
}

.icon{
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.topbar__address .icon {
	width: 21px;
	height: 21px;
}

.icon svg{
  width: 100%;
  height: 100%;
  fill: var(--color-text);
}

/* link telefonu */

.topbar__link{
   color: var(--color-text);
  text-decoration: none;
	transition: all 0.3s;
	white-space: nowrap;
}

.topbar__link:hover,
.topbar__link:focus{
	color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
}

/* --- minimal additions --- */

/* keep row layout tidy */
.topbar .container {
  align-items: center;      /* keep items vertically centered */
  gap: 12px;                /* tiny breathing room */
}

/* allow address text to wrap normally */
.topbar__address .topbar__text {
  white-space: normal;
}

/* phone block: don't let it shrink; keep number on one line */
.topbar__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;           /* prevents squeezing/shrinking */
}

/* icons: fixed box so SVG doesn't shrink */
.icon { flex: 0 0 18px; }
.topbar__address .icon { flex: 0 0 21px; }

/* Mobile stack (Astra mobile ≈ 544px; switch to 767px if you prefer Elementor's) */
@media (max-width: 544px) {
  .topbar .container {
    flex-direction: column; /* stack items */
    align-items: flex-start;
    gap: 13px;
  }
}

.znany_lekarz iframe {
	height: auto!important;
}

	