/*

Theme Name: Komornik Wołomin
Description: Motyw dla Komornik Wołomin 2.0
Author: Arkadiusz Skibiński
Author URL: strony-piaseczno.pl

*/

*{
  margin: 0;
  padding: 0;
  font-weight: 400;
  
  }

 
/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  /* Używamy teraz Montserrat jako pierwszego wyboru */
 font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6{
     font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
}

/* Kolory */
:root {
  --primary-red: #a3001d;
  --dark-blue: #303d52;
  --gold: #c09853;
  --light-gray: #f5f5f5;
}

.grid {
    display: flex;
	gap: 50px;
}

nav.licytacje-filters {
display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 80px;
    gap: 30px;
}

    .wrap {
      max-width: 1200px;
      margin: 24px auto;
      padding: 0 16px;
    }


.mapa svg { width: 100%; height: auto; display: block; }
.mapa .region { cursor: pointer; outline: none; transition: fill 120ms ease, opacity 120ms ease; }

/* hover/focus: lekko szare */
.mapa .region:hover,
.mapa .region:focus-visible { fill: #e5e7eb !important; }

/* dla obrysów (fill="none") – przydymienie */
.mapa .region[data-stroke-only]:hover,
.mapa .region[data-stroke-only]:focus-visible { opacity: 0.7; }

/* efekt aktywacji (opcjonalnie) */
.mapa .region.active { outline: 2px solid currentColor; outline-offset: 2px; }

  div#mapa {
    display: flex
;
    justify-content: space-between;
    padding-bottom: 2em;
    gap: 30px;
    align-items: center;
}

.tekst_do_mapy {
    width: 40%;
}

#mapa .obraz{
	width: 60%;
}

    /* Styl podpowiedzi */
    .hint {
      color: #555;
      font-size: 14px;
      margin-top: 12px;
    }
    .hint code {
      background: #f3f4f6;
      padding: 2px 6px;
      border-radius: 6px;
    }

.miniatura {
    max-width: 30%;
}

.miniatura img {
    border-style: none;
    max-width: 100%;
    height: auto;
}

.tekst{
	width: 70%;
}

/* Nagłówek */
header {
 background: #fff;
  padding: 2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position:  fixed;
        width: 100%;
  top: 0;
  z-index: 100;

     -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
}


.smaller header{
    background: #fff;
    padding: 1rem 5%;
    position:  fixed;
    box-shadow: 0px 0px 10px #00000038;
}


.post-pager{display:flex;justify-content:space-between;gap:1rem;margin:2rem 0 0}
.post-pager .btn a {
    display: inline-block;
    padding: .75rem 1rem;
    border: solid 1px #ad122a;
    /* border-radius: 8px; */
    text-decoration: none;
}
.post-pager .btn a:hover{border-color:#bbb}
.post-pager .arrow{font-weight:700}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
    height: 91px;
    margin-right: 24px;

}

time {
    color: #aaa;
    font-size: 12px;
    letter-spacing: 5px;
}

a{
	   -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
}

.about-graphic a:hover, .footer-top a:hover{
	color: #ad122a;
}

 a img{
    -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
    }
    
   main a img:hover{
    filter:alpha(opacity=60);
      opacity: 0.6;
      -moz-opacity:0.6;
    }
    

.about-text h1 {
    font-size: 1.6em;
    margin: 0 0 2rem 0;
	    font-weight: 600;
}


.logo-text {
    margin-left: .5rem;
    font-family: "Spectral", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5rem;
    font-size: 0.93rem;
}



.logo-text strong{
   border-bottom: solid #e30342 5px;
    
    display: inline-block;
    margin-bottom: 10px;
    padding-bottom: 9px;
    position: relative;
}

.logo-text strong:after{
width: 139px;
    height: 1px;
    background: #b7b5b5;
    position: absolute;
    content: '';
    left: 0;
    bottom: 5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.3rem;
}
header nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
    font-size: 0.95rem;
     padding-bottom: 10px;
        -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
}

header nav a:hover, nav a.active, nav .current_page_item a {
    border-bottom: 2px solid #d3d5d9;
    color: var(--primary-red);
    padding-bottom: 18px;
}

.contact {
    display: flex
;
    align-items: center;
    gap: .5rem;
    position: absolute;
    right: 5%;
    top: 23px;
         -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
}


a {
    background-color: transparent;
    color: #ad122a;
}

a:hover{
    background-color: transparent;
    color: #ad122a;
    text-decoration: none;
}

.about-text a[href$=".pdf"], .for a[href$=".pdf"]
{
  padding-left: 40px;
  background-image: url(../images/pdf.svg);
  background-position: center left;
  background-repeat:no-repeat;
  min-height: 25px;
  padding-top: 5px;
        text-decoration: none;
    font-weight: 600;
}

.about-text a[href$=".doc"], .about-text a[href$=".docx"], .for a[href$=".doc"], .for a[href$=".docx"]
 {
    padding-left: 22px;
    background-image: url(../images/doc.svg);
    background-position: center left;
    background-repeat: no-repeat;
    min-height: 26px;
    padding-top: 0px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: -5px;
}


.smaller .contact{
    visibility: hidden;
    top: -40px;
}

.contact a.phone {
    background: var(--primary-red);
    color: #fff;
    padding: 0.4rem 2rem 0.4rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    background-image: url(../images/tel.png);
    background-repeat: no-repeat;
    background-position: 18px center;
            -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
}

.contact a.phone:hover{
    background-color: #e4ba81;
}

.contact span {
    font-size: 0.8rem;
    margin-right: 22px;
    background-image: url(../images/pin.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding: 4px 0px 4px 30px;
}

/* Sekcja hero */

.hero_wrap {
    display: flex;
    justify-content: flex-end;
        margin-top: 163px;
}

.hero {
    position: relative;
    background: #c5c5c5 url(../images/kolumn.jpeg) center / cover no-repeat;
    background-blend-mode: multiply;
    height: 280px;
    display: flex
;
    align-items: flex-end;
    justify-content: flex-start;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 10px 40px;
}


.home .hero, .page-id-20 .hero{
	    background: #ad122a url(../images/kolumn.jpeg) center / cover no-repeat;
}

.hero h1 {
  font-size: 2rem;
  letter-spacing: .1em;
  text-transform: uppercase;
        color: #e4ba81;
}

/* Główna część */
main
 {

    max-width: 1200px;
    margin: 3rem auto;
    width: 90%;

    background-repeat: no-repeat, no-repeat;
    background-position: left top, right bottom;
     position: relative;
}

.naglowek{
    margin: 0 auto;
    max-width: 1200px;

    width: 90%;
}

hr.wp-block-separator, hr{
    margin: 30px 0px;
    border: solid 1px #d3d5d9;
}

.about-text article{
	position: relative;
	    margin-bottom: 40px;
    border-bottom: dashed 1px #ccc;
    padding-bottom: 40px;
}

.news-meta {
    position: absolute;
    right: 0;
    top: 0;
    color: #aaa;
    font-size: 12px;
    letter-spacing: 5px;
}
.kancelaria-check {
    /* margin-top: 2rem; */
    padding-top: 1rem;
	margin-bottom: 2em;

}
.postcode-form { display:flex; flex-wrap:wrap; gap:.5rem 1rem; align-items:center; }
.postcode-form input
 {
    width: 8rem;
    text-align: center;
    letter-spacing: 1px;
    padding: 11px .6rem;
    border-radius: 0;
    border: solid 1px #aaa;
}


.postcode-form .btn {
background: #ad122a;
    color: #fff;
    text-decoration: none;
    padding: 14px 40px;
    font-size: 15px;
    -webkit-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
    display: table;
	cursor: pointer;
	border: none;
}

.mapa svg a > * { cursor: pointer; }


.postcode-result { margin-top:1rem; }
.pc-msg { padding:1rem; border-radius:10px; }
.pc-msg.ok { background:#f5fbf5; border:1px solid #cfe5cf; }
.pc-msg.info { background:#f7fbff; border:1px solid #d6e4f7; }
.pc-msg.bad { background:#fff6f6; border:1px solid #f3d2d2; }
.pc-msg .btn { display:inline-block; margin-left:.5rem; }

 .about, .page-id-20.wp-singular .about {
  display: grid;
        grid-template-columns: 2fr 1.4fr;
  gap: 2rem;
            margin-bottom: 130px;
}

    .wp-singular .about, .archive .about{
        grid-template-columns: 1fr 0fr;
        gap: 0;
    }

.about{
	margin-bottom: 130px;
}

.about-text p, .for p, .about-text ul
 {
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 15px;
    line-height: 2.3rem;
}

.about-text ul{
	margin-left: 20px;
}


.about-graphic {
background: #e7e7e7;

    position: absolute;
    right: -10%;
    top: 10px;
    width: 42%;

    height: auto;

    box-sizing: border-box;
    padding: 60px;
}

.about-graphic   h3 {
    font-weight: 700;
    border-bottom: solid 2px #fff;
    margin-bottom: 15px;
    padding-BOTTOM: 15PX;
    display: block;
    width: 100%;
     font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
}

.about-graphic a, .footer-top a, .about-graphic span{
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    padding-left: 35px;
    background-repeat: no-repeat;
    background-position: left center;
    line-height: 2.6rem
}

.for {
    border-top: solid 2px #ccc;
    margin-top: 50px;
    padding: 30px 0px 0px 0px;
}

.about-text h3, .for h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 10px;
	    line-height: 2em;
}

strong{
    font-weight: 600;
}

.bank strong{
    font-weight: 600;
    color: #ad122a;
}

a.tel{
    background-image: url(../images/tel.svg);
    display: block;
    background-size: 20px;
}

a.mob{
    background-image: url(../images/kom.svg);
     display: block;
    background-size: 20px;
}

a.mail{
    background-image: url(../images/mail.svg);
     display: block;
    background-size: 20px;
}

a.pin{
    background-image: url(../images/pin.svg);
     display: block;
    background-size: 17px;
}


.about-graphic span.bank{
    background-image: url(../images/bank.svg);
     display: block;
    background-size: 17px;
    line-height: 1.4em;
}

.wp-block-column  span.bank {
    color: #ad122a;
	font-weight: 600;
}


#kontakt a.tel{
    background-image: url(../images/tel_2.svg);
    display: block;
    background-size: 20px;
}

#kontakt a.mob{
    background-image: url(../images/kom_2.svg);
     display: block;
    background-size: 20px;
}

#kontakt a.mail{
    background-image: url(../images/mail_2.svg);
     display: block;
    background-size: 20px;
}

#kontakt a.pin{
    background-image: url(../images/pin_2.svg);
     display: block;
    background-size: 17px;
}

 .licytacje-grid {
                    display: grid;
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: 4rem;
                }
                @media (max-width: 768px) {
                    .licytacje-grid { grid-template-columns: 1fr; }
                }
                .licytacje-item {
                    display: flex;
                    gap: 1rem;
                    align-items: flex-start;
                }
                .licytacje-thumb {
                       width: 180px;
    min-width: 180px;
    aspect-ratio: 4 / 3;
    background: #f1f1f1;
    overflow: hidden;
    display: block;
                }
                .licytacje-thumb img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }
                .licytacje-content h2 {
                    margin: 0 0 .25rem 0;
                    font-size: 1.125rem;
                }
                .licytacje-meta {
                    font-size: .875rem;
                    opacity: .8;
                    margin-bottom: .5rem;
                }
          
                .pagination-wrap ul {
                    list-style: none;
                    display: flex;
                    gap: .5rem;
                    padding: 0;
                    margin: 2rem 0 0 0;
                    flex-wrap: wrap;
                }
                .pagination-wrap li a,
                .pagination-wrap li span {
                    display: block;
                    padding: .4rem .6rem;
                    border: 1px solid #ddd;
                    border-radius: 6px;
                    text-decoration: none;
                }
                .pagination-wrap li .current {
                    border-color: #aaa;
                    font-weight: 600;
                }


.logos {
display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding-top: 4rem;
}


p {
    margin-bottom: 25px;
}

.licytacje-filters a.button{
	    margin-top: 0px;
}

a.button, .button a {
    background: #ad122a;
    color: #fff;
    text-decoration: none;
    padding: 14px 40px;

    font-size: 15px;
    margin-top: 30px;
                -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
    display: table;
}

.licytacje-filters a.button {
    background: #fff;
    color: #ad122a;
	border: solid 2px #ad122a;
}

.licytacje-filters a.button.is-active{
	 background: #ad122a;
    color: #fff;
}

a.button:hover, .button a:hover{
     padding: 14px 40px;
}

a.button_small {
    background: none;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 25px;
    font-size: 0.8rem;
    margin-bottom: 25px;
    -webkit-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
    display: table;
    border: solid 3px #ad122a;
}

a.button_small:hover{
     padding: 5px 30px;
}

.about-graphic a.button {
    margin-top: 0px;
    margin-bottom: 30px;
} 

.logos img {
  max-width: 200px;
  opacity: 0.8;
  transition: opacity .3s ease;
}
.logos img:hover {
  opacity: 1;
}

/* Stopka */
footer {
    display: flex;
    justify-content: flex-end;
}

.kontakt_wew{
    background: var(--dark-blue);
  color: #fff;
  padding: 2rem 2rem 5rem 2rem;
    width: 100%;

}


.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
.footer-top {
display: flex
;
    padding: 40px 0px;
    justify-content: flex-start;

    flex-direction: row;
    border-bottom: solid 1px #aaa;
    margin-bottom: 40px;
}


.footer-top a {
  color: #fff;
  text-decoration: none;
}
.footer-bottom, .footer-top {
  display: flex;
  flex-wrap: nowrap; /* trzy obok siebie */
  justify-content: space-between;
  font-size: .9rem;
}

.footer-bottom > div, .footer-top > a {
  flex: 0 0 33.333%; /* nie kurcz, nie rośnij, szerokość 1/3 */
  box-sizing: border-box; /* żeby padding/border nie rozszerzał */
}


.footer-meta {
  text-align: center;
  padding: 2rem;
  font-size: .8rem;
        background: #303d52;
        color: #596579;
    border-top: solid #596579 1px;
}

#kontakt .logo-text strong:after{
    display: none;
}


#kontakt .logo-text strong, .logo-text strong a, .logo-text a{
    border-bottom: none;
    text-decoration: none;
    
}

.logo-text strong a{
    color: #333;
    font-weight: 700;
}

.logo-text a{
        color: #333;
}

/* Responsywność */
@media (min-width: 768px) {
  .about {
    grid-template-columns: 2fr 1.4fr;
  }


}
