.gallery-tiles.gallery-tiles--rows-6-6 {
  grid-gap: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

@media screen and (max-width: 992px) {
  .gallery-tiles.gallery-tiles--rows-6-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsywność dla telefonów */
@media screen and (max-width: 576px) {
  .gallery-tiles.gallery-tiles--rows-6-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-tiles.gallery-tiles--rows-6-6 .gallery-tiles__item {
  border-radius: 0;
}

.gallery-tiles.gallery-tiles--rows-6-6 .gallery-tiles__item img {
  transition: all 0.3s ease-in-out;
}

.gallery-tiles.gallery-tiles--rows-6-6 .gallery-tiles__item:hover img {
  transform: scale(1.05);
}

.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 11px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.subcategory-tile {
  overflow: hidden;
  position: relative;
  height: 240px;
}

.subcategory-tile a {
  position: relative;
  height: 100%;
  width: 100%;
}

.subcategory-tile a::after {
  content: '';
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #000;
  opacity: 0.25;
}

.subcategory-tile img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.subcategory-tile__title {
  color: #fff;
  position: relative;
  z-index: 3;
}

@media screen and (max-width: 1210px) {
  .subcategories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .subcategories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .subcategory-tile {
    max-height: 160px;
  }
}

.lg-backdrop {
  z-index: 99999;
}

.lg-outer {
  z-index: 999999;
}

/* Focus */

:focus-visible {
  outline: 2px solid var(--color-blue-2);
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible,
a:focus-visible,
[role='button']:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-blue-2);
  outline-offset: 2px;
  border-radius: 2px;
  transition: outline-color 0.2s ease-in-out;
}

*:focus-visible {
  outline: 2px solid var(--color-blue-2);
  outline-offset: 2px;
}

*:focus-visible {
  outline: 2px solid var(--color-blue-2);
  outline-offset: 2px;
  border-radius: 2px;
}

.wp-block-details summary:focus {
  outline: 2px solid var(--color-blue-2);
  outline-offset: 2px;
  border-radius: 2px;
}

[data-focus-method='keyboard'] :focus {
  outline: 2px solid var(--color-blue-2);
  outline-offset: 2px;
}

a,
button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Tabs */
.links-tiles__item {
  overflow: visible;
}

.tab-content[hidden] {
  display: none;
}

.link-box::after {
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .map-point__name {
    height: auto !important;
    word-wrap: break-word;
    white-space: normal !important;
    max-width: 180px;
    width: max-content;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only:focus-within {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: inherit !important;
  margin: inherit !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

.map-text-point {
  background: none;
  border: none;
  color: var(--color-750);
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
  padding: 4px 8px;
  margin: 2px 0;
  font-size: inherit;
  font-family: inherit;
}

.map-text-point:hover,
.map-text-point:focus {
  background-color: #f0f8ff;
  outline: 2px solid var(--color-blue-2);
  outline-offset: 2px;
}

.map-text-point.active {
  background: var(--color-blue-2);
  color: white;
  text-decoration: none;
}

.map-text-point.active:focus {
  outline-color: white;
}

@media (prefers-reduced-motion: reduce) {
  .map-points__text-list {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
  }
}

.map-points__text-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-points__text-list li {
  margin: 0;
  padding: 0;
}

.map-points__text-list h3 {
  margin: 0 0 1rem 0;
  font-size: 1.2em;
  font-weight: bold;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-tiles__item {
    transition: none;
  }

  .gallery-tiles__item:hover,
  .gallery-tiles__item:active {
    transform: none;
  }
}

.honeypot {
  display: none !important;
}

.accessibility-title {
  display: none;
}

.breadcrumbs .breadcrumb_last {
  color: var(--color-blue-3);
}

.link-box__info {
  background-color: #0000000d;
  padding: 8px 32px 8px 32px;
  width: 100%;
}

.post-box__info {
  background-color: #0000000d;
  padding: 8px 32px 8px 32px;
  width: 100%;
}

.event-box__info {
  background-color: #0000000d;
  padding: 8px 32px 8px 32px;
  width: 100%;
}

@media (max-width: 1023px) {
  .event-box__info {
    padding: 8px 16px 8px 16px;
  }

  .post-box__info {
    padding: 8px 16px 8px 16px;
  }

  .link-box__info {
    padding: 8px 16px 8px 16px;
  }
}

.link-box {
  padding: 0 !important;
}

.post-box {
  padding: 0 !important;
}

.event-box {
  padding: 0 !important;
}

.region__photo-title {
  width: 100%;
  left: 0 !important;
  right: 0 !important;
  padding: 12px 8px;
  background: #0000000d;
  bottom: 0 !important;
}

.new-slider {
  position: relative;
  min-height: clamp(12.5rem, calc((394 / 1410) * 100vw), 59.625rem);
  max-height: calc(100vh - 100px);
  height: 100dvh;
  padding: clamp(3.125rem, calc((200 / 1410) * 100vw), 12.5rem) 0;
  background-color: #000;
}

.new-slider__overlay-image {
  height: 100% !important;
  object-fit: cover;
  width: 100%;
  bottom: 0;
  left: 0;
  pointer-events: none;
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.new-slider__overlay {
  background: #2f3e39;
  opacity: 90%;
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.nav-tile:focus {
  color: #fff;
}

.new-rit__source {
  font-style: italic;
  margin-top: 10px;
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
}

.new-rit__text:first-of-type {
  margin-top: 20px;
}

.new-rit__website-url {
  background-color: #fff;
  margin: 20px auto;
  display: block;
  width: fit-content;
}

.new-rit__gallery-slider {
  width: 100%;
  margin-bottom: 20px;
}

.new-rit__gallery-swiper {
  position: relative;
}

.new-rit__gallery-slider-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.new-rit__gallery-slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.new-rit__gallery-slider-item:hover .new-rit__gallery-slider-image {
  transform: scale(1.05);
}

.new-rit__swiper-pagination {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
}

.new-rit__swiper-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.new-rit__swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.rit-text #map {
  width: 100% !important;
}

h2 {
  font-size: 4.6rem;
}

h3 {
  font-size: 2.6rem;
}

#sb_instagram .sb_instagram_header,
.sb_instagram_header {
  display: none;
}

.is-style-container {
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .languages-wrapper {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
.header__languages-close {
  right: 20px;
}

.header {
  @media (min-width: 1024px) {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-gap: 28px 20px;
  }
}

article ul {
  list-style-type: initial;
}

@media (max-width: 768px) {
  .intro-slide__title {
    font-size: 2.8rem !important;
    line-height: normal;
    bottom: 170px !important;
  }
  .intro-slide__cta {
    margin-top: 20px !important;
  }
}

#newsletter .btn--blue-border {
  background: white;
  font-size: 13px;
}
#newsletter .btn--blue-border::after {
  background: none;
}
#newsletter .btn--blue-border:hover {
  background: white;
  font-size: 13px;
  color: #353537;
}
#newsletter .btn--blue-border:hover::after {
  background: none;
}
#newsletter
  .wp-block-cover
  .has-background-dim:not([class*='-background-color']) {
  background-color: transparent;
}
#newsletter .btn--blue-border:hover::after,
#newsletter .btn--blue-border:hover::after {
  background: url(../images/arrows/right-dark.svg) no-repeat center center !important;
}
#newsletter-form input[type='text'],
#newsletter-form input[type='email'],
#newsletter-form select {
  width: 100%;
  height: 38px;
  padding: 12px 24px;
  line-height: 100%;
  font-weight: 600;
}

#newsletter-form .dsc {
  font-weight: 600;
  font-size: 2.8rem;
  padding-top: 0.5rem;
  margin-bottom: 1rem;
  margin-bottom: 30px;
}
#newsletter-form label {
  margin-bottom: 5px;
  margin-top: 35px;
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
}
#newsletter-form .send-newsletter {
  background-color: var(--color-blue-2);
  float: right;
  font-size: 1.6rem;
  margin-top: 20px;
  color: #fff;
}
#newsletter-form .send-newsletter::after {
  background: url(https://www.polen.travel/de/wp-content/uploads/sites/8/2024/09/msg.png)
    no-repeat center center !important;
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  background-size: contain;
  margin-left: 10px;
}

/* .swiper-wrapper{
	height:auto!important;
}
 */

.swiper-mobile .intro-slide__photo.intro-slide-mobile {
  height: 100% !important;
  width: 100% !important;
}
