/* HERO */
.page-template-page-template-miasta .site-content {
    overflow: hidden;
}

@media screen and (min-width: 1025px){
    .city-hero img{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
    }
    .city-hero__text{
        width: 70%;
    }
}

.city-hero{
    display: flex;
    align-items: center;
    margin-block: 40px;
    position: relative;
    justify-content: flex-end;
    min-height: 600px;
}

.city-hero__text{
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0px 0px 3px 2px #ccc;
    background-color: #fff;
    z-index: 1;
}

.city-hero__text h1{
    font-size: clamp(2.3rem, 3vw, 4rem);
    font-weight: 600;
    text-transform: uppercase;
}

.city-hero__text ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
    padding-left: 0;
}

.city-hero-footer{
	display: flex;
    justify-content: space-around;
    margin-top: 32px;
    gap: 16px;
}

.city-hero-footer .hero-info-wrapper{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-basis: 50%;
}

.city-hero-footer .hero-info-wrapper figure{
    background-color: #d40d39;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.city-hero-footer .hero-info-wrapper svg{
    stroke: #fff;
    fill: #fff;
}

.city-hero-footer .hero-info--text{
    text-align: left;
}

.city-hero-footer .hero-info--text h3{
    margin-bottom: 8px;
    font-weight: 600;
}

.city-hero-footer .hero-info--text a{
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media screen and (max-width: 1024px){
    .city-hero{
        flex-direction: column;
    }
    .city-hero__text{
        margin-top: -100px;
    }
}

@media screen and (max-width: 768px){
    .city-hero-footer{
        flex-direction: column;
    }
    .city-hero-footer .hero-info-wrapper{
        flex-basis: 100%;
    }
}
/* END HERO */

/* BLOCKS */
@media screen and (min-width: 768px){ 
    .text-block__colls img{
        width: 600px;
        height: 500px;
        max-width: 100%;
        aspect-ratio: 6/5;
        object-fit: cover;
    }
}

.wp-block-group{
    padding-block: 40px;
}

.text-block__colls{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 50px;
}

.text-block__colls.reverse{
    flex-direction: row-reverse;
}

.text-block__content{
    width: 50%;
    padding-top: 30px;
    max-width: 100%;
}

.page-content a,
.text-block__content a{
    text-decoration: underline;
    text-underline-offset: 5px;
}

.page-content a:hover,
.text-block__content a:hover{
    text-decoration: underline;
    color: #d40d39;
}

.text-block__image{
    max-width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ul-block .text-block__colls{
    flex-direction: row-reverse;
}

.ul-block .text-block__colls ul,
.poland-states-list ul,
ul.check-list{
    list-style: none;
    padding-left: 10px;
}

ul.check-list > li{
	position: relative;
    line-height: 1.6;
}

ul.check-list > li:before{
	content: '\f00c';
    font-size: 20px;
    font-family: 'FontAwesome';
    font-weight: 800;
    color: #d40d39;
	margin-right: 10px;
}

.ul-block .text-block__colls ul > li,
.poland-states-list ul > li{
    position: relative;
    line-height: 1.6;
	font-size: 12px;
}

.ul-block .text-block__colls ul > li:before,
.poland-states-list ul > li:before{
    content: '\f00c';
    font-size: 15px;
    font-family: 'FontAwesome';
    font-weight: 800;
    color: #d40d39;
}

/* Contact */
.contact-block.contact-page--columns{
    display: flex;
    justify-content: space-between;
}

.contact-block.contact-page--columns > div{
    width: 48%;
    padding-top: 24px;
}

.contact-block .contact-info-wrapper{
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-top: 20px;
}

.contact-block .contact-info-wrapper .wp-block-image{
    background-color: #d40d39;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-block .contact-info-wrapper .wp-block-image svg{
    stroke: #fff;
    fill: #fff;
}

.contact-block .contact-info-wrapper h3{
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-block .contact-info-wrapper p{
    margin-top: 0;
}

.contact-block.contact-page--columns .contact-form--btn{
    display: flex;
    justify-content: flex-end;
}

.contact-page__form-wrapper{
    background-color: #fff;
    padding: 24px 40px;
}

/* Gray Background */
/* .wp-block-group.slider{
    padding-block: 40px 20px;
} */

.page-template-page-template-miasta .wp-block-group:nth-child(odd){
    position: relative;
    padding-block: 40px;
}

.page-template-page-template-miasta .wp-block-group:nth-child(odd):before{
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2000px;
    height: 100%;
    background-color: #f7f7f7;
    z-index: -1;
}

/* FAQ */
@media screen and (min-width: 768px){
	section.faq{
		padding-left: 80px;
	}
}

section.faq .category-faq__item{
	margin-top: 40px;
}
/* END FAQ */

/* Map */
@media screen and (min-width: 992px){
    .map-block{
        padding-block: 100px;
    }
    .wp-block-group.slider{
        display: flex;
        align-items: center;
    }
}

.poland-map-section{
	display: flex;
	align-items: center;
    justify-content: space-around;
    flex-direction: column;
    padding-top: 20px;
}

.poland-map-section path{
    fill: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.poland-map-svg-container svg{
    width: 612px;
    max-width: 100%;
    object-fit: contain;
    height: auto;
}

.poland-map-svg-container path:hover{
	fill: gray;
	opacity: 0.5;
}

.poland-map-svg-container  path.active{
	fill: #d40d39;
}

.poland-map-svg-container a{
	position: relative;
}

.poland-map-svg-container  a:after{
	content: attr(data-tip);
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	background: gray;
	color: white;
}

.wp-block-columns.wp-block-columns__poland-map{
	gap: 15em;
	margin-block: 50px;
}

.poland-states-list li a.active{
	font-weight: 700;
}

.poland-states-list ul{
    column-count: 3;
    column-gap: 20px;
}

.poland-states-list ul > li > a.active{
    font-weight: 800;
    color: var(--color-primary);
}

@media screen and (max-width: 1300px){
    .poland-states-list ul{
        column-count: 1;
    }
}

@media screen and (max-width: 992px){
    .contact-block.contact-page--columns,
    .poland-map-section{
        flex-direction: column;
        gap: 32;
    }
    .contact-block.contact-page--columns > div,
    .wp-block-group .text-block__colls > *,
    .poland-map-section > div{
        width: 100%;
    }
    .poland-map-svg-container {
        text-align: center;
    }
    .poland-states-list ul{
        column-count: 2;
    }
    .page-content.wp-block-group{
        margin-bottom: 0px;
    }
    .wp-block-group.slider{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 768px){
    .text-block__colls, .ul-block .text-block__colls, .text-block__colls.reverse{
        flex-direction: column;
    }
    .poland-states-list ul{
        column-count: 1;
    }
    .text-block__colls img{
        width: 100%;
    }
}

/* Gmap */
.gmap{
	width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}