/* ==========================================================================
   Mieszkania / Lokale
   Style dla custom post type "lokale" (single + archiwum)
   ========================================================================== */

/* ==========================================================================
   Fundamenty
   ========================================================================== */

:root {
   --tekst: #363E41;
   --yellow: #F5C46A;
   --50: clamp(30px, calc(30px + 20 * ((100vw - 768px) / 632)), 50px);
   --100: clamp(50px, calc(50px + 50 * ((100vw - 768px) / 632)), 100px);
}

.page--lokal {
  padding-top: calc(75px + var(--100));
}


/* ==========================================================================
   Single lokale - okruszki
   ========================================================================== */

.lokale-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 50px;
  color: var(--tekst);
  font-size: 16px;
  line-height: 1.2;
  
}

.lokale-breadcrumbs a,
.lokale-breadcrumbs span {
  color: #2e3a3e;
  transition: color 0.3s ease;
}

.lokale-breadcrumbs a:hover {
  color: var(--yellow);
  text-decoration: none;
}

/* ==========================================================================
   Single lokale - galeria i mapa
   ========================================================================== */

.lokale-hero {
  display: flex;
  gap: 15px;
  align-items: stretch;
  width: 100%;
}

.lokale-hero__info {
  font-size: 15px;
font-style: normal;
font-weight: 500;
line-height: 1.5;
margin-top: 35px;
}

.lokale-hero__main {
  flex: 0 0 52.53164556962026%;
  height: 490px;
  position: relative;
}

.lokale-hero--only-main .lokale-hero__main {
  flex-basis: 100%;
  width: 100%;
}
.lokale-hero__main:after, .lokale-hero__main:before {
   display: block;
    position: absolute;
    width: 90%;
    height: 20px;
    background: #363e41;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.lokale-hero__main:before {
    top: -20px;
}
.lokale-hero__main:after {
    bottom: -20px;
}

.lokale-hero__side {
  display: flex;
  flex:  1;
  min-height: 490px;
  flex-direction: column;
  gap: 15px;
}

.lokale-hero__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  flex: 1;
}

.lokale-hero--has-gallery:not(.lokale-hero--has-map) .lokale-hero__thumbs {
  flex: 0 0 calc((490px - 15px) / 2);
}

.lokale-hero__thumbs:empty {
  display: none;
}

.lokale-hero__thumbs a,
.lokale-hero__main a,
.lokale-hero__thumbs img,
.lokale-hero__main img,
.lokale-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lokale-hero__thumbs a {
  overflow: hidden;
}

.lokale-hero__thumbs .lokale-hero__fancybox-hidden {
  display: none !important;
}

.lokale-hero__thumbs-link--overlay {
  position: relative;
}

.lokale-hero__thumbs-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  z-index: 2;
}

.lokale-hero__thumbs-overlay svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.lokale-hero__thumbs a:only-child {
  grid-column: 1 / -1;
}

.lokale-hero__thumbs img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.lokale-hero__thumbs a:hover img {
  transform: scale(1.05);
}



.lokale-hero__map {
  position: relative;
  flex: 1 1 auto;
  min-height: 158px;
  background: #f4f4f4;
  overflow: hidden;
}

.lokale-hero__map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.72) contrast(1.05) brightness(1.03) sepia(0.08);
}

/* ==========================================================================
   Single lokale - szczegoly i formularz
   ========================================================================== */

.lokale-details {
  display: grid;
  row-gap: 3rem;
  gap: 30px;
  padding-bottom: 70px;
  color: var(--tekst);
  max-width: 1400px;
  margin: 80px auto 0;
  grid-template-columns: minmax(0, 590px) 100px minmax(0, 1fr);
}

.lokale-details__left {
  min-width: 0;
  grid-column: 1;
}

.lokale-details__right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: 3;
}

.lokale-details__title {
  max-width: 350px;
  margin: 0 auto 42px;
  color: var(--tekst);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
}

.lokale-details__params {
  display: grid;
  gap: 8px;
  max-width: 350px;
  margin: 0 auto 48px;
  padding: 0;
}

.lokale-details__params li {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--tekst);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
}

.lokale-details__params strong {
  font-weight: 700;
}

.lokale-details__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  background: var(--tekst);
  border-radius: 0 7px 7px 0;
}

.lokale-details__icon img {
  display: block;
  object-fit: contain;
}

.lokale-details__amenities {
  max-width: 350px;
  margin: 0 auto 0;
}

.lokale-details__amenities h2,
.lokale-details__form h2 {
  margin: 0 0 8px;
  color: var(--tekst);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.lokale-details__amenities div,
.lokale-details__available,
.lokale-details__special div {
  color: var(--tekst);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.lokale-details__available {
  max-width: 350px;
  margin: 40px auto 40px;
}

.lokale-details__plan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  max-width: 100%;
  min-height: 58px;
  margin: 0 auto;
  border: 1px solid var(--tekst);
  border-radius: 6px;
  color: var(--tekst);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.3s ease, color 0.3s ease;
}

.lokale-details__plan:hover {
  background: var(--tekst);
  color: #ffffff;
  text-decoration: none;
}

.lokale-details__special {
  max-width: 590px;
  margin-top: 80px;
}

.lokale-details__special h2 {
  display: flex;
  position: relative;
  align-items: center;
  width: 590px;
  min-height: 64px;
  background: var(--yellow);
  color: var(--tekst);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4.16px;
  line-height: 1.5;
  text-transform: uppercase;
  border-radius: 0 7px 7px 0;

}

.lokale-details__special h2:after {
  margin-left: 50px;
  color: #ffffff;
  content: '!';
  font-size: 58px;
  line-height: 0.7;
}

.lokale-details__special h2:before {
  width: 590px;
  min-height: 64px;
  background: var(--yellow);
  content:'';
  position: absolute;
  left: -590px;
  top: 0;
}
.lokale-details__special div {
  margin-top: 30px;
}

.lokale-details__price {
  margin-bottom: 72px;
  max-width: 400px;
}

.lokale-details__price-current {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--tekst);
  align-items: center;
}

.lokale-details__price-current span:last-of-type {
  font-size: 41px;
  font-weight: 700;
  line-height: 1;
}

.lokale-details__price-current small {
  color: var(--tekst);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-decoration: underline;
}

.lokale-details__price-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  align-self: center;
}

.lokale-details__price-icon:before {
  position: absolute;
  left: 17px;
  top: 12px;
  width: 16px;
  height: 23px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  border-radius: 0 0 12px 0;
  content: '';
}

.lokale-details__price-icon:after {
  position: absolute;
  left: 22px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  content: '';
  transform: rotate(45deg);
}

.lokale-details__price-old {
  margin-bottom: 32px;
  color: var(--tekst);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: line-through;
}

.lokale-details__price-lowest {
  color: var(--tekst);
  font-size:18px;
  font-weight: 400;
  line-height: 1.35;
}

.lokale-details__form h2 {
  margin-bottom: 44px;
}

/* Single lokale - formularz CF7 */
.lokale-form {
  display: grid;
  gap: 12px;
  width: 385px;
}

.lokale-form p {
  margin: 0;
}

.lokale-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.lokale-form .wpcf7-text,
.lokale-form .wpcf7-email,
.lokale-form .wpcf7-tel,
.lokale-form .wpcf7-textarea {
  width: 100%;
  height: 59px;
  padding: 0 15px;
  border: 1px solid #D9D9D9;
  border-radius:7px;
  background: #ffffff;
  color: var(--tekst);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.lokale-form .wpcf7-text:focus,
.lokale-form .wpcf7-email:focus,
.lokale-form .wpcf7-tel:focus,
.lokale-form .wpcf7-textarea:focus {
  border-color: var(--tekst);
}

.lokale-form .wpcf7-text::placeholder,
.lokale-form .wpcf7-email::placeholder,
.lokale-form .wpcf7-tel::placeholder,
.lokale-form .wpcf7-textarea::placeholder {
  color: #9ba0a2;
  opacity: 1;
}

.lokale-form .wpcf7-textarea {
  height: auto;
  max-height: 138px;
  padding: 15px;
  resize: vertical;
  line-height: 1.5;
}

.lokale-form__row--phone {
  position: relative;
}


.lokale-form__actions {
  margin-top: 6px;
}

.lokale-form .wpcf7-submit {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 7px;
  background: var(--tekst);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.lokale-form .wpcf7-submit:hover {
  background: var(--yellow);
  color: var(--tekst);
}

.lokale-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  color: #d33;
  font-size: 12px;
}

.lokale-form .wpcf7-response-output {
  margin: 12px 0 0 !important;
  padding: 10px 14px !important;
  border-radius: 4px;
  font-size: 13px;
}

/* ==========================================================================
   Single lokale - udogodnienia
   ========================================================================== */

/* Sekcja udogodnien - kontener */
.lokale-amenities {
  max-width: 1400px;
  display: block;
  margin: 0 auto;
  padding: 80px 0;
  background: #f4f4f4;
  color: var(--tekst);
}

/* Sekcja udogodnien - srodek */
.lokale-amenities__inner {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
}

/* Sekcja udogodnien - naglowek */
.lokale-amenities__title {
  margin: 0 0 44px;
  color: var(--tekst);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.lokale-amenities__title span {
  display: inline-block;
  padding: 4px 10px;
  background: var(--tekst);
  color: #ffffff;
}

/* Sekcja udogodnien - tresc */
.lokale-amenities__text {
  max-width: 900px;
  margin: 0 auto 46px;
  color: var(--tekst);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

/* Sekcja udogodnien - lista ikon */
.lokale-amenities__list {
  justify-content: center;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 34px 0;
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
}

.lokale-amenities__list li {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  color: #000000;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}
.lokale-amenities__list li span {
  max-width: 100px;
  font-size: 15px;
}

.lokale-amenities__list img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* ==========================================================================
   Single lokale - tresc
   ========================================================================== */

.page--lokal .lokal__content {
  margin-top: 30px !important;
}

/* ==========================================================================
   Single lokale - podobne lokale
   ========================================================================== */

/* Podobne lokale - kontener */
.lokale-related {
  padding: 70px 0 55px;
  color: var(--tekst);
  max-width: 1400px;
  display: block;
  margin: 0 auto;
}

/* Podobne lokale - naglowek */
.lokale-related__title {
  margin: 0 0 90px;
  color: var(--tekst);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

/* Podobne lokale - lista */
.lokale-related__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
}

/* Podobne lokale - karta */
.lokale-related__item {
  color: var(--tekst);
}

.lokale-related__image {
  position: relative;
  display: block;
  width: 420px;
  max-width: 100%;
  height: 420px;
  margin-bottom: 34px;
}

.lokale-related__image:before {
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 94%;
  height: 94%;
  background: var(--tekst);
  content: '';
  z-index: 0;
}

.lokale-related__thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  z-index: 1;
}

.lokale-related__image:hover .lokale-related__thumb {
  transform: scale(1.02);
}

.lokale-related__item h3 {
  margin: 0 0 22px;
  color: var(--tekst);
  font-size:30px;
  font-weight: 700;
  line-height: 1.5;
}

.lokale-related__item h3 a {
  color: var(--tekst);
}

.lokale-related__item h3 a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.lokale-related__item p {
  margin: 0 0 6px;
  color: var(--tekst);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

.lokale-related__item strong {
  font-weight: 700;
}

/* ==========================================================================
   Single lokale - powrot
   ========================================================================== */

.lokale-back {
  display: flex;
  justify-content: center;
  padding: 20px 0 30px;
}

.lokale-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 280px;
  min-height: 44px;
  background: var(--tekst);
  color: #ffffff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  transition: background 0.3s ease, color 0.3s ease;
}

.lokale-back a:hover {
  background: #242b2d;
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   Single lokale - SEO
   ========================================================================== */

/* SEO - kontener */
.lokale-seo {
  padding: 70px 0 70px;
  color: var(--tekst);
  background: #f4f4f4;
  margin: var(--50) 0 0 0;
  display: block;
  width: 100%;
}

.lokale-seo__inner {
  max-width: 1400px;
  display: block;
  margin: 0 auto;
}

/* SEO - zajawka */
.lokale-seo__intro {
  color: var(--tekst);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;

  max-width: 1100px;
  display: block;
  margin: 0 auto;
}

.lokale-seo__intro p {
  margin: 0 0 18px;
}

/* SEO - rozwiniecie */
.lokale-seo__more {
  margin-top: 34px;
  max-width: 1100px;
  display: block;
  margin:  34px auto 0;
}


.lokale-seo__more summary {
  display: block;
  width: max-content;
  margin: 0 auto;
  color: var(--tekst);
  cursor: pointer;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  list-style: none;
  text-decoration: underline;
}

.lokale-seo__more summary::-webkit-details-marker {
  display: none;
}

.lokale-seo__more[open] summary {
  display: none;
}

/* SEO - tresc z edytora */
.lokale-seo__content {
  margin-top: 34px;
  color: var(--tekst);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.lokale-seo__content h1,
.lokale-seo__content h2,
.lokale-seo__content h3,
.lokale-seo__content h4,
.lokale-seo__content h5,
.lokale-seo__content h6 {
  margin: 34px 0 16px;
  color: var(--tekst);
  font-weight: 700;
  line-height: 1.2;
}

.lokale-seo__content h1 {
  font-size: 38px;
}

.lokale-seo__content h2 {
  font-size: 32px;
}

.lokale-seo__content h3 {
  font-size: 26px;
}

.lokale-seo__content h4 {
  font-size: 22px;
}

.lokale-seo__content h5,
.lokale-seo__content h6 {
  font-size: 18px;
}

.lokale-seo__content p {
  margin: 0 0 18px;
}

.lokale-seo__content a {
  color: var(--tekst);
  text-decoration: underline;
}

.lokale-seo__content a:hover {
  color: var(--yellow);
}

.lokale-seo__content ul,
.lokale-seo__content ol {
  margin: 0 0 22px 24px;
  padding: 0;
}

.lokale-seo__content ul li,
.lokale-seo__content ol li {
  margin-bottom: 8px;
  list-style-position: outside;
}

.lokale-seo__content ul li {
  list-style-type: disc;
}

.lokale-seo__content ol li {
  list-style-type: decimal;
}

.lokale-seo__content blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--yellow);
  background: #f4f4f4;
}

.lokale-seo__content img {
  max-width: 100%;
  height: auto;
}

.lokale-seo__content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.lokale-seo__content th,
.lokale-seo__content td {
  padding: 12px;
  border: 1px solid #d8d8d8;
  text-align: left;
}

/* ==========================================================================
   Archiwum lokale - naglowek
   ========================================================================== */

.page--lokale-archive {
  padding-top: 75px;
  color: var(--tekst);
}

.lokale-archive-header {
  max-width: 1120px;
  margin: 0 auto 78px;
  text-align: center;
  padding-top: var(--100);
}

.lokale-archive-header h1 {
  margin: 0 0 60px;
  color: var(--tekst);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.lokale-archive-header h1 span {
  display: inline-block;
  padding: 4px 8px;
  background: var(--tekst);
  color: #ffffff;
}

.lokale-archive-header__description {
  max-width: 920px;
  margin: 0 auto;
  color: var(--tekst);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* ==========================================================================
   Archiwum lokale - filtr
   ========================================================================== */

.lokale-archive-filter {
  max-width: 1400px;
  margin: 0 auto 110px;
  padding: 62px 135px;
  background: #f4f4f4;
}

.lokale-archive-filter__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1060px;
}

.lokale-archive-filter__checks {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}


.lokale-archive-filter label {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--tekst);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.lokale-archive-filter__checks label {
  display: flex;
  align-items: center;
}

.lokale-archive-filter select,
.lokale-archive-filter input[type="text"] {
  width: 100%;
  height: 55px;
  padding: 0 18px;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  background: #ffffff;
  color: var(--tekst);
  font-size: 14px;
  outline: none;
}

.lokale-archive-filter input[type="checkbox"] {
  width: 25px;
  height: 25px;
  margin: 0;
  appearance: none;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
}

.lokale-archive-filter input[type="checkbox"]:checked {
  background: var(--tekst);
  box-shadow: inset 0 0 0 6px #ffffff;
}

.citizen-select {
  position: relative;
}

.lokale-archive-filter .citizen-select > select,
.citizen-select > select {
  display: none !important;
}

.citizen-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 55px;
  padding: 0 18px;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  background: #ffffff;
  color: var(--tekst);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.citizen-select__trigger::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-left: 12px;
  border-right: 2px solid #9ba0a2;
  border-bottom: 2px solid #9ba0a2;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.citizen-select.is-open .citizen-select__trigger::after {
  transform: translateY(2px) rotate(-135deg);
}

.citizen-select__label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.citizen-select__list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  max-height: 260px;
  overflow-y: auto;
}

.citizen-select.is-open .citizen-select__list {
  display: block;
}

.citizen-select__option {
  padding: 10px 18px;
  color: var(--tekst);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.citizen-select__option:hover {
  background: #f4f4f4;
}

.citizen-select__option.is-selected {
  background: #f4f4f4;
  font-weight: 700;
}

/* ==========================================================================
   Archiwum lokale - lista
   ========================================================================== */

.lokale-archive-list {
  max-width: 1400px;
  margin: 0 auto var(--100);
}

[data-lokale-results] {
  transition: opacity 0.25s ease;
}

[data-lokale-results].is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.lokale-archive-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 52px;
}

.lokale-archive-card {
  display: flex;
  flex-direction: column;
  color: var(--tekst);
}

.lokale-archive-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--tekst);
  text-decoration: none;
  transition: color 0.3s ease;
}

.lokale-archive-card__top h2 {
  margin: 0;
  color: var(--tekst);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  transition: color 0.3s ease;
}

.lokale-archive-card__top:hover {
  color: var(--yellow);
  text-decoration: none;
}

.lokale-archive-card__top:hover h2 {
  color: var(--yellow);
}

.lokale-archive-card__top svg path {
  transition: fill 0.3s ease;
}

.lokale-archive-card__top:hover svg path {
  fill: var(--tekst);
}

.lokale-archive-card__arrow {
  display: inline-flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.lokale-archive-card__image {
  position: relative;
  display: block;
  width: 420px;
  max-width: 100%;
  height: 420px;
}

.lokale-archive-card__image:before {
  position: absolute;
  left: -12px;
  bottom: -12px;
  width: 96%;
  height: 96%;
  background: var(--tekst);
  content: '';
  z-index: 0;
}

.lokale-archive-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.lokale-archive-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  max-width: 432px;
  padding: 42px 32px 36px;
  background: #f4f4f4;
  margin-left: -12px;
}

.lokale-archive-card__price {
  margin: 0 0 12px;
  color: var(--tekst);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lokale-archive-card__amenities {
  margin-bottom: 34px;
  min-height: 42px;
  color: var(--tekst);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.lokale-archive-card__params {
  display: grid;
  gap: 14px;
  margin: auto 0 0;
  padding: 0;
}

.lokale-archive-card__params li {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--tekst);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.lokale-archive-card__params img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.lokale-archive-card__params strong {
  font-weight: 700;
}

.lokale-archive-list__empty {
  padding: 50px 20px;
  background: #f4f4f4;
  color: var(--tekst);
  font-size: 17px;
  text-align: center;
}

.lokale-archive-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.lokale-archive-pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--tekst);
  background: transparent;
  color: var(--tekst);
  cursor: pointer;
}

.lokale-archive-pagination button.is-active,
.lokale-archive-pagination button:hover {
  background: var(--tekst);
  color: #ffffff;
}

/* ==========================================================================
   Single lokale - responsywnosc
   ========================================================================== */

@media only screen and (max-width: 1790px) {
  .lokale-single-container {
    max-width: 1580px !important;
  }

  .lokale-hero {
    gap: 20px;
  }

  .lokale-hero__main {
    flex-basis: calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }

  .lokale-hero__side {
    flex-basis: calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }

  .lokale-hero__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .lokale-hero__thumbs img {
    width: 100%;
  }
}

@media only screen and (max-width: 991px) {
  .lokale-hero {
    flex-direction: column;
  }

  .lokale-hero__info {
    margin-top: 15px;
    font-size: 14px;
  }
  

  .lokale-hero__main,
  .lokale-hero__side {
    flex-basis: auto;
    width: 100%;
  }

  .lokale-hero__main {
    height: auto;
    aspect-ratio: 840 / 490;
  }

  .lokale-hero__side {
    min-height: 0;
  }

  .lokale-hero__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 25px;
  }

  .lokale-hero--has-gallery:not(.lokale-hero--has-map) .lokale-hero__thumbs {
    flex: 0 0 auto;
  }

  .lokale-hero__thumbs img {
    height: auto;
    aspect-ratio: 405 / 317;
  }

  .lokale-hero__map {
    flex: 0 0 auto;
    height: 220px;
    min-height: 220px;
  }

  .lokale-details {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 60px;
  }

  .lokale-details__left,
  .lokale-details__right {
    display: contents;
  }

  .lokale-details__price {
    margin-left: auto;
    margin-right: auto;
  }

  .lokale-details__form {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    order: 2;
  }

  .lokale-details__special {
    order: 1;
  }

  .lokale-details__title {
    font-size: 34px;
  }

  .lokale-details__special {
    width: 100%;
    max-width: none;
    margin-top: 10px;
  }

  .lokale-details__special h2 {
    width: 100%;
    margin-left: 0;
    padding: 0 24px;
    justify-content: center;
    text-align: center;
    border-radius: 7px;
  }

  .lokale-details__special h2:before {
    display: none;
  }

  .lokale-amenities {
    padding: 55px 0;
  }

  .lokale-amenities__title {
    font-size: 26px;
  }

  .lokale-related__title {
    margin-bottom: 58px;
    font-size: 34px;
  }

  .lokale-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
    display: grid;
  }

  .lokale-related__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .lokale-seo__inner {
    max-width: calc(100% - 40px);
  }

  .lokale-archive-filter {
    padding: 44px 40px;
  }

  .lokale-archive-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
  }

  .lokale-archive-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .lokale-archive-card__body {
    max-width: none;
  }
}

@media only screen and (max-width: 767px) {

  .lokale-breadcrumbs {
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 0 10px;
  }

  .lokale-hero {
    gap: 12px;
  }

  .lokale-hero__side {
    gap: 12px;
  }

  .lokale-hero__thumbs {
    gap: 12px;
  }

  .lokale-details {
    margin-top: 42px;
    padding-bottom: 40px;
    gap: 38px;
  }

  .lokale-details__title {
    margin-bottom: 0;
    font-size: 30px;
  }

  .lokale-details__params {
    gap: 12px;
    max-width: 100%;
    margin-bottom: 36px;
  }

  .lokale-details__params li {
    gap: 18px;
    font-size: 18px;
  }

  .lokale-details__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .lokale-details__available {
    margin-bottom: 0;
  }

  .lokale-details__plan {
    width: 100%;
  }

  .lokale-details__special h2 {
    width: 100%;
    min-height: 56px;
    margin-bottom: 32px;
    padding: 0 18px;
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 1.15;
  }

  .lokale-details__special h2:after {
    margin-left: 16px;
    font-size: 44px;
  }

  .lokale-details__price {
    margin-bottom:0;
    max-width: 100%;
    margin-top: 20px;
  }

  .lokale-details__price-current {
    flex-wrap: wrap;
    gap: 10px;
  }

  .lokale-details__price-current span:last-of-type {
    font-size: 32px;
  }

  .lokale-details__price-current small,
  .lokale-details__price-lowest {
    font-size: 17px;
  }

  .lokale-details__price-old {
    font-size: 26px;
  }


  .lokale-amenities {
    padding: 42px 0;
  }

  .lokale-amenities__title {
    margin-bottom: 28px;
    font-size: 22px;
  }

  .lokale-amenities__text {
    margin-bottom: 32px;
    font-size: 13px;
  }

  .lokale-amenities__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    display: grid;
  }

  .lokale-related {
    padding-top: 48px;
  }

  .lokale-related__title {
    margin-bottom: 38px;
    font-size: 28px;
    letter-spacing: 1px;
  }

  .lokale-related__list {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .lokale-related__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 28px;
  }

  .lokale-related__item h3 {
    font-size: 26px;
  }

  .lokale-related__item p {
    font-size: 18px;
  }

  .lokale-back a {
    width: 100%;
    max-width: 280px;
  }

  .lokale-seo {
    padding: 44px 0 34px;
  }

  .lokale-seo__intro,
  .lokale-seo__content,
  .lokale-seo__more summary {
    font-size: 15px;
  }

  .lokale-seo__content h1 {
    font-size: 30px;
  }

  .lokale-seo__content h2 {
    font-size: 26px;
  }

  .lokale-seo__content h3 {
    font-size: 22px;
  }

  .lokale-seo__content h4 {
    font-size: 19px;
  }

  .page--lokale-archive {
    padding-top: 40px;
  }

  .lokale-archive-header {
    margin-bottom: 44px;
  }

  .lokale-archive-header h1 {
    margin-bottom: 30px;
    font-size: 24px;
  }

  .lokale-archive-filter {
    margin-bottom: 52px;
    padding: 28px 20px;
  }

  .lokale-archive-filter__row {
    grid-template-columns: 1fr;
  }

  .lokale-archive-filter__checks {
    flex-wrap: wrap;
  }

  .lokale-archive-filter input[type="checkbox"] {
    /* width: 82px; */
  }

  .lokale-archive-list__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .lokale-archive-card__top h2 {
    font-size: 22px;
  }

  .lokale-archive-card__body {
    padding: 34px 24px 30px;
  }
}

@media (max-width: 479px) {
  .lokale-seo__inner {
    padding: 0 5% !important;
    max-width: 100% !important;
  }
  .page--lokal .container {
    padding: 0 5% !important;
    max-width: 100% !important;
  }
}

.lokale-details__form .wpcf7-response-output {
font-size:12px !important;
max-width: 385px;
}