body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

p, li, a, span {
  font-weight: 300;
  /* lub 400 w zależności od stylu */
}

.nav-link {
  font-size: .9rem;
}

.navbar-nav .dropdown-menu {
  position: absolute;
}

#main section ul li::marker {
  color: #ff4200;
}

#site-header {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1040;
  background-color: #ffffff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#site-header .navbar-brand img {
  max-height: 64px;
  transition: max-height 0.3s ease, filter 0.3s ease;
}

#site-header.is-sticky {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
}

#site-header.is-sticky.is-sticky-visible {
  animation: sticky-slide-down 0.25s ease forwards;
}

#site-header.is-sticky.is-sticky-hiding {
  animation: sticky-slide-up 0.15s ease forwards;
}

@keyframes sticky-slide-down {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes sticky-slide-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

#site-header.is-sticky .navbar-brand img {
  max-height: 20px;
}

#site-header .header-sticky {
  display: none;
  background-color: #ffffff;
}

#site-header .header-sticky__inner {
  gap: 2rem;
}

#site-header .header-sticky__nav .sticky-menu > li {
  margin-left: 1.5rem;
}

#site-header .header-sticky__nav .sticky-menu > li:first-child {
  margin-left: 0;
}

#site-header .header-sticky__nav .nav-link {
  color: #1c1c1c;
  font-weight: 500;
  letter-spacing: 0.3px;
}

#site-header .header-sticky__nav .nav-link:hover {
  color: #ff4200;
  letter-spacing: 0;
}

/* Sticky header - działa na wszystkich urządzeniach */
#site-header.is-sticky:not(.is-sticky-hiding) .header-top,
#site-header.is-sticky:not(.is-sticky-hiding) .header-bottom {
  display: none;
}

#site-header.is-sticky .header-sticky {
  display: block;
}

#site-header.is-sticky.is-sticky-hiding .header-top,
#site-header.is-sticky.is-sticky-hiding .header-bottom {
  display: block;
}

.page-template-page-structured #main,
.page-template-page-home #main {
  margin-top: 0;
}

.page-template-page-home #site-header {
  position: absolute;
  width: 100%;
  z-index: 1040;
  background: rgba(0, 0, 0, .3);
  box-shadow: none;
}

.page-template-page-home #site-header.is-sticky {
  position: sticky;
  background: #ffffff;
  box-shadow: 5px 0 15px #111;
}

.page-template-page-home #site-header.is-sticky.is-sticky-visible {
  animation: sticky-slide-down 0.24s ease forwards;
}

.page-template-page-home #site-header.is-sticky.is-sticky-hiding {
  animation: sticky-slide-up 0.18s ease forwards;
}

.page-template-page-home #site-header .header-bottom,
.page-template-page-home #site-header .header-top {
  background: transparent;
}

.page-template-page-home #site-header .nav-link {
  color: #fff;
  font-weight: 400;
  letter-spacing: .3px;
}

.page-template-page-home #site-header .nav-link:hover {
  color: #ff4200;
  font-weight: 700;
  letter-spacing: 0;
}

.page-template-page-home #site-header.is-sticky .nav-link {
  color: #1c1c1c;
}

.footer {

  color: #ffffff;
}

.footer--first-row {
  background-color: #ff4200;
}
.page-id-1485 .footer--first-row,
.page-template-page-generalne-wykonawstwo .footer--first-row,
.page-template-page-kariera .footer--first-row {
background: #737373;
}

.footer--second-row {
  background-color: #343434;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-widget {
  margin-bottom: 1.5rem;
}

.footer-title, .footer-subtitle {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer ul li::before {
  content: "- ";
  margin-right: 4px;
  color: #ffffff;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer-copyright {
  background-color: #222;
  font-size: 0.875rem;
}

.footer-header {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 10px;
  padding-bottom: 10px;
}

.footer-header::before {
  display: inline-block;
  content: '';
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url('/wp-content/themes/cobouw/assets/img/cobouw-miniogo-white.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-content {
  padding-left: 20px;
}


.footer-sec-row .footer-subtitle {
  font-size: 1.1rem;
}

.hero-section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.4;
  z-index: 2;
}

.hero-section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
    width: 40vw;
    height: 30vh;
    min-height: 311px;
  background-image: url('/wp-content/themes/cobouw/assets/img/bg-naroznik.svg');
background-position: right bottom;
    background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}

.hero-section .container {
  z-index: 3;
  position: relative;
}

/* Hero Section - RWD */
@media (max-width: 767px) {
  .hero-section {
    min-height: 75vh !important;
    height: 75vh !important;
  }

  .hero-section::after {
    width: 60vw;
    height: 25vh;
    min-height: 200px;
  }
}

/* Szerokość treści Hero - 60% od md w górę */
.w-md-60 {
  width: 100%;
}

@media (min-width: 768px) {
  .w-md-60 {
    width: 60%;
  }
}

.offer-items {
  --offer-gap: 24px;
  margin: 0 calc(var(--offer-gap) / -2);
  display: flex;
  flex-wrap: wrap;
}

.offer-item {
  position: relative;
  --offer-item-h: 500px;
  --pad: 15px;
  --gap-r: 30px;
  height: var(--offer-item-h);
  cursor: pointer;
  transition: flex-basis .6s ease, max-width .6s ease, filter .5s ease;
  will-change: flex-basis, max-width;
  overflow: hidden;
  padding: var(--pad);
  margin: calc(var(--offer-gap) / 2);
  border-radius: 25px;
}


.offer-bg {
  position: absolute;
  inset: 0;
  border-radius: 25px;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: filter .5s ease;
}

.offer-item:not(.active) {
  filter: none;
}

.offer-item:not(.active) .offer-bg {
  filter: grayscale(100%) contrast(.9);
}

.offer-item:not(.active):hover .offer-bg {
  filter: grayscale(65%) contrast(.9);
}

.offer-content {
  position: absolute;
  inset: 0;
  border-radius: 25px;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
}

.offer-item.active.content-visible .offer-content {
  opacity: 1;
  transform: none;
}

.offer-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #1f1f1f;
  opacity: .30;
  border-radius: 25px;
  z-index: -1;
}

.page-id-260 .offer-content::before {
  display: none;
}

.offer-content .btn-outline {
  width: fit-content;
  padding: 7px 10px;
  font-size: 0.9rem;
}


.offer-title-rotated {
  position: absolute !important;
  right: 45px;
  top: 30px;
  z-index: 2;

  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;

  display: block;
  max-width: calc(var(--offer-item-h) - (var(--pad) * 2));

  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;

  line-height: 1.1;
  text-align: right;
  font-size: 1.4rem;
  text-shadow: 5px 5px 15px #1c1c1c;
  color: #fff;
  pointer-events: none;
  transition: opacity .25s ease;
}

.offer-item.active .offer-title-rotated {
  opacity: 0;
}

.offer-item.active {
  flex: 0 0 calc(50% - var(--offer-gap)) !important;
  max-width: calc(50% - var(--offer-gap)) !important;
}

.offer-item:not(.active) {
  flex: 0 0 calc(16.666% - var(--offer-gap)) !important;
  max-width: calc(16.666% - var(--offer-gap)) !important;
}

/* Podział szerokości dla 3 kafli: 50% + 25% + 25% */
.rozsylacz-section .offer-item.active{
  flex: 0 0 50% !important;
  max-width: 50% !important;
}
.rozsylacz-section .offer-item:not(.active){
  flex: 0 0 22% !important;
  max-width: 22% !important;
}

@media (max-width: 992px) {
  .offer-items {
    --offer-gap: 16px;
  }

  .offer-item {
    --offer-item-h: 420px;
  }
}

@media (max-width: 767px) {
  .offer-items {
    --offer-gap: 12px;
    flex-direction: column;
    margin: 0 !important;
  }

  .offer-item,
  .offer-item.active,
  .offer-item:not(.active) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 var(--offer-gap) 0 !important;
  }

  /* Aktywny element - 400px */
  .offer-item.active {
    height: 400px !important;
  }

  /* Nieaktywne elementy - 200px */
  .offer-item:not(.active) {
    height: 200px !important;
  }

  /* Pokaż tytuł poziomo na mobile (nie obrócony) */
  .offer-title-rotated {
    display: block !important;
    position: relative !important;
    transform: none !important;
    right: auto;
    top: auto;
    text-align: left;
    max-width: 100%;
    margin-bottom: 0;
    padding: var(--pad);
  }

  /* Content - ukryty na nieaktywnych */
  .offer-content {
    display: none;
  }

  /* Pokaż content tylko na aktywnym */
  .offer-item.active .offer-content {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: var(--pad);
    opacity: 1 !important;
    transform: none !important;
  }

  /* Ukryj tytuł na aktywnym (jak na desktop) */
  .offer-item.active .offer-title-rotated {
    display: none !important;
  }

  .offer-item:not(.active) .offer-bg {
    filter: grayscale(100%) contrast(.9);
  }

  /* Rozsylacz-section na mobile - takie same style jak strona główna */
  .rozsylacz-section .offer-item,
  .rozsylacz-section .offer-item.active,
  .rozsylacz-section .offer-item:not(.active) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 var(--offer-gap) 0 !important;
  }

  .rozsylacz-section .offer-item.active {
    height: 400px !important;
  }

  .rozsylacz-section .offer-item:not(.active) {
    height: 200px !important;
  }

  .rozsylacz-section .offer-title-rotated {
    display: block !important;
    position: relative !important;
    transform: none !important;
    right: auto;
    top: auto;
    text-align: left;
    max-width: 100%;
    margin-bottom: 0;
    padding: var(--pad);
  }

  .rozsylacz-section .offer-item.active .offer-title-rotated {
    display: none !important;
  }

  .rozsylacz-section .offer-content {
    display: none;
  }

  .rozsylacz-section .offer-item.active .offer-content {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: var(--pad);
    opacity: 1 !important;
    transform: none !important;
  }

  .rozsylacz-section .offer-item:not(.active) .offer-bg {
    filter: grayscale(100%) contrast(.9);
  }
}

.step-box {
  border: 1px solid #ff4200;
  background-color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 25px;
}

.step-number {
  font-size: 5rem;
  color: #f0f0f0;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  transition: color 0.3s ease;
}

.step-title,
.step-text {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.fs-bigger,
.step-title {
    font-size: 1.25rem;
}

.step-box:hover {
  background-color: #ff4200;
  border-color: #ff4200;
}

.step-box:hover .step-title,
.step-box:hover .step-text {
  color: #ffffff !important;
}

/* Steps Section - RWD */
@media (max-width: 767px) {
  .step-box {
    padding: 2rem !important; /* Zmniejsz z p-5 (3rem) do 2rem */
  }

  .step-number {
    font-size: 3.5rem; /* Zmniejsz rozmiar numeru */
  }
}

.step-box:hover .step-number {
  color: #e79380;
}

.step-box .step-number {
  top: 10px;
  left: 10px;
}
.projects-section {
  position: relative;
  padding-bottom: 1px;
}
.projects-section img.darken {
  filter: brightness(0.7);
}
.slide-control.prev-slide,
.slide-control.next-slide,
.projects-section .prev-project,
.projects-section .next-project {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: #ff4200;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  z-index: 5;
}

.slide-control.next-slide,
.projects-section .next-project {
  left: auto;
  right: -10px;
}
.slide-control.prev-slide:hover,
.slide-control.next-slide:hover,
.projects-section .prev-project:hover,
.projects-section .next-project:hover {
filter: brightness(1.15);
}


.slider-realizacje .slide-control.prev-slide,
.offers-slick .slide-control.prev-slide,
#opinie .opinie-slick .slide-control.prev-slide{
left: -50px;
}

.slider-realizacje .slide-control.next-slide,
.offers-slick .slide-control.next-slide,
#opinie .opinie-slick .slide-control.next-slide{
right: -90px;
}


.offers-slick .slick-dots li.slick-active,
.offers-slick .slick-dots li,
#opinie .slick-dots li {
  background: #ff4200;
}

.project-info {
  min-width: 250px;
  max-width: 90%;
  padding-bottom: 60px !important;
}

.project-info .header-h2 {
  font-size: 1.5rem;
}

.project-status {
  top: -28px !important;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.project-see-more {
  position: absolute;
  bottom: 20px;
  right: 15px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: #ff4200;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 15px;
  z-index: 10;
}

.project-see-more .arrow {
  color: #fff;
  flex-shrink: 0;
  font-size: 1rem;
}

.project-info:hover .project-see-more {
  width: 165px;
}

.slick-projects .slick-slide {
  outline: none;
  border-top: 1px solid #fff;
}

.projects-slider-controls {
  top: 0;
  right: 0;
  margin-top: 20px;
}

.project-main-image {
  position: relative;
  overflow: hidden;
  border-right: 1px #fff solid;
}

.project-main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Projects Slider - RWD */
@media (max-width: 767px) {
  .project-slide .row {
    flex-direction: column;
  }

  .project-main-image {
    position: relative;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #fff;
  }

  .project-main-image img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  /* Ukryj małe obrazki po prawej na mobile */
  .project-slide .col-md-5 {
    display: none !important;
  }

  .project-info {
    position: relative !important;
    max-width: 100%;
    padding: 1.5rem !important;
    padding-bottom: 3.5rem !important;
    bottom: auto !important;
    right: auto !important;
    background-color: #1c1c1c !important;
  }

  /* Przycisk "Zobacz więcej" widoczny na mobile */
  .project-see-more {
    width: 165px !important;
  }

  /* Przyciski slidera na mobile - odsunięte 40px od krawędzi */
  .projects-section .prev-project,
  .projects-section .next-project {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    top: 23%;
  }

  .projects-section .prev-project {
    left: 40px;
  }

  .projects-section .next-project {
    right: -10px;
  }

  /* Moduł realizacje - slider na mobile */
  .modul-realizacje .slider-realizacje .slide-control.prev-slide {
    left: 20px;
    z-index: 10;
  }

  .modul-realizacje .slider-realizacje .slide-control.next-slide {
    right: -25px;
    z-index: 10;
  }

  /* Kropki slidera realizacji na mobile */
  .modul-realizacje .slider-realizacje .slick-dots {
    bottom: -40px;
    text-align: center;
  }

  .modul-realizacje .slider-realizacje .slick-dots li {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
  }

  .modul-realizacje .slider-realizacje .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #ccc;
    font-size: 0;
    cursor: pointer;
  }

  .modul-realizacje .slider-realizacje .slick-dots li.slick-active button {
    background-color: #ff4200;
  }
}

.projects-slider-controls .prev-project,
.projects-slider-controls .next-project {
  background: #ccc;
}



.text-orange {
  color: #ff4200;
}

.btn,
.btn-primary {
  border: none;
  border-radius: 0;
  padding: 10px 20px;
  box-shadow: none !important;
  transition: all .3s ease-in-out;
  background-image: none;
}

.btn:hover,
.btn-primary:hover {
  background: #e03a00;
}

.bg-orange {
  background-color: #ff4200;
}

.bg-light {
  background-color: #eee;
}

#kontakt-cta .wpcf7-submit,
.btn-orange {
  background-color: #ff4200;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 10px 20px;
  box-shadow: none !important;
}

#kontakt-cta .wpcf7-submit:hover,
.btn-orange:hover {
  background-color: #e03a00;
  color: #fff;
  box-shadow: none !important;
}



.btn-outline-orange {
    background: transparent;
  color: #ff4200;
  border: 1px solid #ff4200;
}

.btn-outline-dark,
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline-dark {
  border: 1px solid #aaa;
  background: transparent;
  color: #aaa;
}

.btn-outline-orange:hover,
#kontakt-cta .wpcf7-submit:hover,
.btn-outline-dark:hover {
  border-color: #ff4200;
  background: #ff4200;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #ff4200;

}


#kontakt-cta input.wpcf7-text {
  width: 100%;
  padding: 8px 10px;
}

#kontakt-cta .form-check {
  padding-left: 0;
  margin-top: 0 !important;
  color: #6c757d;
}

#kontakt-cta .wpcf7-acceptance > span {
  margin-left: 0;
  font-size: .8rem;
}
.oddzial-box {
  position: relative;
}

.oddzial-box a {
  color: #1c1c1c;
}

.oddzial-box a:hover {
  text-decoration: underline;
  color: #ff4200;
}

.oddzial-box.has-subpage {
  margin-bottom: 0 !important;

}

.oddzial-nazwa {
  font-weight: bold;
}

.oddzial-nazwa,
.oddzial-adres,
.oddzial-telefon,
.oddzial-email {
  padding-left: 30px;
  position: relative;
  padding-bottom: 10px;
}

.oddzial-nazwa::before,
.oddzial-adres::before,
.oddzial-telefon::before,
.oddzial-email::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 0;
  width: 21px;
  height: 21px;
  background-size: contain;
  background-repeat: no-repeat;
}

.oddzial-nazwa::before {
  background-image: url('/wp-content/themes/cobouw/assets/img/icon-office.png');
}

.oddzial-adres::before {
  background-image: url('/wp-content/themes/cobouw/assets/img/icon-location.png');
}

.oddzial-telefon::before {
  background-image: url('/wp-content/themes/cobouw/assets/img/icon-phone.png');
}

.oddzial-email::before {
  background-image: url('/wp-content/themes/cobouw/assets/img/icon-mail.png');
}


.formularz-box label {
  width: 100%;
  display: inline-block;
}

.formularz-box input,
.formularz-box textarea {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  border-radius: 0px;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
  width: 100%;
  padding: 10px;
}

.formularz-box textarea {
  max-height: 160px;
  resize: vertical;
}

.formularz-box input::placeholder,
.formularz-box textarea::placeholder {
  color: #eee;
}

.formularz-box input:focus,
.formularz-box textarea:focus,
.formularz-box input:focus-visible,
.formularz-box textarea:focus-visible {
  outline-color: #fff;
  outline-style: solid;
  outline-width: 1px;
  outline-offset: -1px;
  border: 0px;
}

.formularz-box .wpcf7-submit {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 0;
  width: auto;
  float: right;
}

.formularz-box p {
  margin-bottom: 0;
}

.formularz-box .wpcf7-submit:hover {
  background-color: #fff;
  color: #ff4200;
}
#kontakt-cta .wpcf7-not-valid-tip, 
.formularz-box .wpcf7-not-valid-tip {
  font-size: 0.8em;
  font-size: #eee;
}
#kontakt-cta .wpcf7-response-output, 
.formularz-box .wpcf7-response-output {
  border-color: #eee !important;
  color: #eee;
  font-size: 0.8em;
  margin-top: 10px;
}

#kontakt-cta .wpcf7-not-valid-tip,
.formularz-box .wpcf7-not-valid-tip {
  color: #eee !important;
}

/* Style dla checkboxa zgody w formularzu kontaktowym */
.formularz-box .form-check,
.formularz-box .wpcf7-acceptance {
  padding-left: 0;
  margin-top: 0 !important;
}

.formularz-box .wpcf7-acceptance > span {
  margin-left: 0;
  font-size: .8rem;
}

.formularz-box .wpcf7-list-item-label {
  color: #eee;
  font-size: .8rem;
}

.formularz-box .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.formularz-box .wpcf7-list-item input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  margin-top: 3px;
}

.bg-cobouw-down {
  position: relative;
}

.bg-cobouw-down::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  display: block;
  z-index: -1;
  background-image: url('/wp-content/themes/cobouw/assets/img/bg-lines-grey.svg');
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  width: 550px;
  height: 280px;
}

.page-header.bg-cobouw-down::after {
  opacity: 0.14;
  z-index: 2;
}

.page-template-page-kontakt .bg-cobouw-down::after {
  z-index: 1;
}

.page-template-page-kontakt #kontakt>.container {
  z-index: 2;
  position: relative;
}

.single-realizacje #wrapper,
.page-template-page-kariera #kariera-hero{
  background: linear-gradient(to bottom, #dfdfdf 0%, #ffffff 60%);

}

.page-template-page-kontakt #wrapper  { background:  linear-gradient(to bottom, #dfdfdf 0%, #ffffff 30%)
}

.left-line {
  display: flex;
  align-items: center;
}

.left-line::before {
  content: '';
  display: inline-block;
  margin-right: 10px;
  width: 8px;
  height: 1em;
  /* lub 100% jeśli flex działa poprawnie */
  background-color: #ff4200;
}

.kontakt-opis {
  padding-left: 20px;
}

.breadcrumbs a,
.breadcrumbs {
  font-size: 11px;
  color: #434343;
}

.breadcrumbs p#breadcrumbs {
  margin-bottom: 5px;
  padding-left: 20px;
}

.breadcrumbs a:hover {
  color: #ff4200;
}

.header-top {
  background-color: #ffffff;
  border-bottom: 0px !important;
}

.header-bottom {
  background-color: #fff;
}

.navbar-nav>li {
  margin-left: 1rem;
}

.navbar-toggler {
  border: none;
  padding: 0;
  background: transparent;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Model 6 - Hamburger Menu */
.navbar-toggler .menu {
  height: 30px;
  width: 30px;
  position: relative;
  margin: 0;
  cursor: pointer;
}

.navbar-toggler .bar {
  height: 3px;
  width: 30px;
  display: block;
  margin: 6px auto;
  position: relative;
  background-color: #080808; /* Domyślnie ciemny kolor */
  border-radius: 3px;
  transition: 0.4s;
}

/* Animacja przy otwarciu */
.navbar-toggler[aria-expanded="true"] .bar:nth-of-type(1) {
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-of-type(2) {
  transform: translateX(100px);
  transition: 0.6s;
}

.navbar-toggler[aria-expanded="true"] .bar:nth-of-type(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Strona główna: biały kolor gdy nie sticky */
.home .navbar-toggler .bar {
  background-color: #fff;
}

/* Strona główna: ciemny kolor gdy sticky */
.home .header-sticky .navbar-toggler .bar,
.home .header-sticky.is-sticky .navbar-toggler .bar,
.home.scrolled .navbar-toggler .bar {
  background-color: #080808;
}

/* Podstrony: zawsze ciemny kolor */
body:not(.home) .navbar-toggler .bar {
  background-color: #080808;
}

.header-widget {
  font-size: 0.9rem;
}

.mapa-link {
  display: block;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
}

.show-details-office {
  margin-bottom: 25px;
  padding-left: 20px;
}

.show-details-office .btn {
  margin-top: 0px !important;
  transition: all 0.3s ease;
}

.show-details-office .btn:hover {
  padding-top: 20px;
}


#kontakt-cta {
  background-color: #1c1c1c;
  position: relative;
  min-height: 540px;
}

.cta-image-wrapper {
  width: 120%;
  max-width: 500px;
  z-index: 1;
  position: absolute;
  bottom: 0;
  pointer-events: none;
}

.cta-image-wrapper img {
  display: block;
  height: auto;
  transform: translateX(-15%);
  /* obrazek wychodzi w lewo */
  border-radius: 25px;
}

.features-slider {
  text-align: center;
}

.features-slider .slide img {
  display: inline-block;

}

.faq-section,
.content-features-section {
  position: relative;
}

.faq-section::after,
.content-features-section::after {

  content: '';
  display: block;
  position: absolute;
  background: #ff4200;
  width: 48%;
  height: 100%;
  right: 0;
  top: 0;
  z-index: 0;
}

.faq-section>.container,
.content-features-section>.container {
  z-index: 2;
  position: relative;
}


.faq-section::after {
  background: #1c1c1c;
  background-image: url('/wp-content/uploads/2025/07/faq-bg.jpg');
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
}

/* FAQ Section - ukryj obrazek na mobile */
@media (max-width: 767px) {
  .faq-section::after {
    display: none !important;
  }

  .faq-section .col-md-6 {
    width: 100% !important;
  }
}

.page-id-977 .faq-section::after {
  background: #fff;
  background-image: url('/wp-content/themes/cobouw/assets/img/rozbudowa-cta.png');
    background-position: bottom left;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-id-1280 .faq-section::after {
  background: #fff;
  background-image: url('/wp-content/themes/cobouw/assets/img/faq-bg-white.jpg');
    background-position: bottom left;
  background-repeat: no-repeat;
  background-size: cover;
}



.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 5px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slick-dots {
  position: relative;
  justify-content: center;
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  height: 15px;
  transition: all .15s linear;
  background: #fff;
  border-radius: 0;
  width: 15px;
  margin: 5px;
  opacity: 0.5;
}

.slick-dots li.slick-active, .slick-dots li.slick-active button:before {
  width: 40px;
  border-radius: 0;
  background-color: rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  opacity: 1;
}


.slider-realizacje-widget .slick-dots li {
  background: #ff4200;
}

.slider-realizacje-widget .slick-dots li.slick-active,
.slider-realizacje-widget .slick-dots li.slick-active button:before {
  background-color: #ff4200;
  color: #ff4200;
}

.partners-slider img {
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
}

.partners-slider img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


.partners-slider .slick-dots li {
  background: #d1d1d1;
}

.partners-slider .slick-dots li.slick-active,
.partners-slider .slick-dots li.slick-active button:before {
  width: 40px;
  border-radius: 0;
  background-color: #ff4200;
  color: #ff4200;
  opacity: 1;
}

.slick-dots li button, .slick-dots li button:before {
  color: #E1C2FF;
  height: 5px;
  transition: all .15s linear;
}

.slick-dots li button {
  font-size: 0px;
  line-height: 0;
  display: block;
  width: 20px;
  height: 5px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0px;
  outline: currentcolor;
  background: none;
}

.slick-dots li.slick-active, .slick-dots li.slick-active button:before {
  width: 40px;
  border-radius: 10px;
  background: #fff;
  color: #fff;
}

.slick-dots li button,
.slick-dots li button:hover:before, .slick-dots li button:focus:before,
.slick-dots li.slick-active button::before {
  opacity: 0.75;
  color: black;
  display: none !important;
}

.slick-dots li button:before {
  font-size: 15px;
  height: 15px;
}

.cta-section-building {
  position: absolute;
  right: 0; /* Przesuń w lewo (ujemna wartość) */
  bottom: 0;
  height: calc(100% + 115px);
  max-width: auto;
}

/* CTA Section - RWD */
@media (max-width: 767px) {
  .cta-section-building {
    display: none !important; /* Ukryj obrazek na mobile */
  }

  .cta-section .container {
    padding-top: 3rem !important; /* Zmniejsz padding-top z 150px */
    min-height: auto !important; /* Usuń min-height 500px */
  }
}

.accordion,
.accordion-item,
.accordion-button:not(.collapsed) {
  background: transparent;
  border: 0px !important;
}

.accordion-button:not(.collapsed) {
  box-shadow: 0;
  color: #111;
  font-weight: 700;
}

.accordion-button {
  background: transparent;
  color: #111;
  font-weight: 700;
}

.faq-bg {
  background: #1c1c1c;
  position: relative;
  z-index: -1;

}

.home .header-widget-item {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 5px 10px;
}

.header-widget-item a {
  color: #ff4200;
  font-weight: 700;
}


.home .header-widget-item a {
  color: #eee;
  font-weight: 700;
}

.home .header-widget-item a:hover {
  color: #ff4200;
}

.page-header {
  position: relative;
  height: 350px;
  color: #fff;
  background-color: #1c1c1c;

  .container {
    position: relative;
    z-index: 1;
  }

  .bg-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 65%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }
}

.widget-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.widget-title .h4 {
  color: #ff4200;
  font-weight: bold;
  font-size: 1.3rem;

}

.widget-title .btn {
  text-wrap: nowrap;
  font-size: 0.8rem;
  padding: 5px 10px;
  line-height: 19px;
  height: max-content;
}

.widget-cta-sidebar {
  padding: 1.5rem;
  margin-top: 105px;
  position: relative;
  background: #ff4200;
  color: #ffffff;


}


.widget-cta-sidebar::before {
  z-index: 1;
  display: block;
  position: absolute;
  content: '';
  top: -105px;
  left: -20px;
  width: 100%;
  height: 380px;
  background-image: url('/wp-content/themes/cobouw/assets/img/bg-widget-contact.png');
  background-position: top left;
  background-size: contain;
  background-repeat: no-repeat;
}

.widget-cta-sidebar h4 {
  font-size: 1.25rem;
  z-index: 2;
  position: relative;
  margin-top: 50px;
}

.widget-cta-sidebar p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  z-index: 2;
  position: relative;
}

.widget-cta-sidebar .btn {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
  z-index: 2;
  position: relative;
}

.widget-cta-sidebar .btn:hover {
  background: #1c1c1c;
  color: #ffffff;
}


.polecane-list .border-top {
  border-top-color: #e5e5e5 !important;
  /* delikatna szarość */
}

.polecane-link {
  color: #1c1c1c;
  /* czarny */
}

.polecane-link:hover {
  color: #ff4200;
  /* pomarańczowy przy hoverze */
  text-decoration: underline;
}


.apla-right-black {
  position: relative;
}

.apla-right-black::after {
  content: '';
  display: block;
  background: #1c1c1c;
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
}

.header-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: linear-gradient(to right, #1c1c1c 0%, transparent 100%);
  z-index: 1;
}

#breadcrumbs a,
#breadcrumbs {
  color: #aaa !important;
  font-size: 0.8rem;
}

#breadcrumbs a:hover {
  color: #ff4200 !important;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
  border-left: 5px solid #ff4200;
  padding-left: 10px;
  max-width: 45%;
  word-wrap: break-word;
}

/* Page Header - RWD Mobile */
@media (max-width: 767px) {
  .page-header {
    height: auto !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .page-header h1 {
    max-width: 100% !important;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-shadow: 5px 5px 10px #111;
  }
  .bg-cobouw-down::after {
    width: 80%;
  }

}

.box-link-item {
  transition: all ease-in-out .3s;
  transform: translateY(0px);
}

.box-link-item:hover {
  transform: translateY(-10px);

}

.orange-column {
  position: relative;
}


.steps-section {
  padding-bottom: 150px !important;
}

.offers-section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background-color: #1c1c1c;

}

.slick-prev,
.slick-next,
.projects-slider-controls-widget .next-project,
.projects-slider-controls-widget .prev-project .projects-slider-controls .next-project,
.projects-slider-controls .prev-project {
  background: #e9e9e9;
  font-size: 1.5rem;
}

.opinie-slider {
  position: relative;
}


@media (max-width: 768px) {
  .opinie-slider .slick-prev {
    left: 8px;
  }

  .opinie-slider .slick-next {
    right: 8px;
  }
}



.knowledge-box {
  height: 300px;
  transition: transform 0.4s ease;
  position: relative;
}

.knowledge-box:hover .box-background {
  transform: scale(1.1);
}

.box-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.4s ease;
}

.box-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111 100%);
  z-index: 1;
}

.bg-sketch-warehouse {
  position: relative;
  z-index: 0;
}

.bg-sketch-warehouse::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/cobouw/assets/img/tlo-hala-szkic.png');
  background-position: right bottom;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.45;
  /* <-- tu kontrolujesz przezroczystość tła */
  z-index: -1;
}

.page-id-414 .bg-sketch-warehouse::before {
      background-size: cover;
      background-image: url('/wp-content/themes/cobouw/assets/img/geodeta-tlo-cobouw.png');
      opacity: .7;
}

.page-id-926 .bg-sketch-warehouse::before {
    background-image: url('/wp-content/themes/cobouw/assets/img/tlo-automotive-cobouw.png');
      opacity: .7;
}

.page-id-957 .bg-sketch-warehouse::before {
    background-image: url('/wp-content/themes/cobouw/assets/img/cobouw-przemysl-ciezki-tlo.png');
    opacity: .7;
}
.page-id-960 .bg-sketch-warehouse::before {
    background-image: url('/wp-content/themes/cobouw/assets/img/farmacja-cobouw-tlo.png');
    opacity: .7;
}

.page-id-963 .bg-sketch-warehouse::before {
    background-image: url('/wp-content/themes/cobouw/assets/img/przetworstwo-spozywcze-cobouw-tlo.png');
    opacity: .7;
}

.page-id-965 .bg-sketch-warehouse::before {
    background-image: url('/wp-content/themes/cobouw/assets/img/tworzywa-sztuczne-cobouw-tlo.png');
    opacity: .7;
}
.page-id-967 .bg-sketch-warehouse::before {
    background-image: url('/wp-content/themes/cobouw/assets/img/agd-rtv-elektronika-cobouw.png');
    opacity: .7;
}

.page-id-969 .bg-sketch-warehouse::before {
    background-image: url('/wp-content/themes/cobouw/assets/img/ecommerce-logistyka-cobouw-tlo.png');
    opacity: .7;
}

.page-id-430 .faq-section  {
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
}


.rozsyłacz-box {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 1rem;
  transition: transform 0.3s ease;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  border: 4px solid #fff;
}

.rozsyłacz-box:hover {
  transform: scale(1.02);
}

.rozsyłacz-title {
  font-weight: bold;
  font-size: 1.25rem;
  color: #fff;
  z-index: 2;
  background: #ff4200;
  padding: 5px 10px;
}

.rozsyłacz-icon {
  position: absolute;
  bottom: -15px;
  right: -15px;
  max-width: 70%;
  height: auto;
  z-index: 3;
  border: 4px solid #fff;
  transition: transform .3s ease;
}

.rozsyłacz-box:hover .rozsyłacz-icon {
  transform: translateX(-10px);
  /* przesunięcie w lewo */

}

.rozsyłacz-text {
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(28, 28, 28, 0.8);
  color: #fff;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  z-index: 2;
  transition: opacity .3s ease;
}

.rozsyłacz-box:hover .rozsyłacz-text {
  opacity: 1;
}

.rozsylacz-section::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background-image: url(https://cobouw.works.wybo.pl/wp-content/uploads/2025/08/tlo-tekst-o-firmie-orange.jpg);
background-size: contain;
background-position: right;
background-repeat: no-repeat;
  background-color: #ff4200;
}

.rozsylacz-section.offers-section {
  background:#1c1c1c;
}

/* Slider referencji na stronie głównej - pełna szerokość */
.slider-referencje .referencja-box {
  min-height: 300px;

  border: 1px solid #eee;
  border-left: 8px solid #ff4200;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



/* Przycisk "Zobacz realizację" na stronie głównej */
.referencje-btn-realizacja-home {
  border: 1px solid #ff4200;
  color: #ff4200;
  background: transparent;
  transition: all 0.3s ease;
  z-index: 1;
}

.referencje-btn-realizacja-home:hover {
  background: #ff4200;
  color: #fff;
  border-color: #ff4200;
}

/* Slider referencji w modułach o-firmie (zachowaj istniejące style) */
.referencje-slider-wrapper .referencje-slider .referencja-box {
  min-height: 300px;
  border: 1px solid #eee;
  border-left: 8px solid #ff4200;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.referencje-slider .referencja-box blockquote {
  font-weight: 300 !important;
  font-style: italic;
}

.referencje-slider .slick-prev,
.referencje-slider .slick-next {
  position: absolute;
bottom: -60px !important;
z-index: 3;
top: auto;
  background: #e9e9e9;
  border: 1px solid #ccc;
  color: #434343;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.referencje-slider .slick-prev:before, .referencje-slider .slick-next:before {
  display: none;
}

.referencje-slider .slick-prev:hover,
.referencje-slider .slick-next:hover,
.referencje-slider .slick-prev:focus-visible,
.referencje-slider .slick-next:focus-visible {
  background: #ff4200;
  border-color: #ff4200;
  color: #fff;
}

.referencje-slider .slick-prev {
  right: 45px !important;
  left: auto;
}

.referencje-slider .slick-next {
  right: 5px;
}

.slownik-item {
  border-bottom: 1px dotted #ccc;
}

.slownik-item:last-child {
  border-bottom: 0;
}

mark {
  background-color: #ff4200;
  color: white;
  padding: 0 2px;
  border-radius: 2px;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

.faq-question {
  font-weight: bold !important;
}

.outbox-section-building {
  position: absolute;
  top: 0;
  right: 0;
  max-height: 100%;
  max-width: 100%;
  z-index: 0;
  object-fit: cover;
  opacity: 0.25;
}

.slider-referencje-module .referencja-box-content {
  border: 1px solid #eee;
  border-left: 8px solid #ff4200;
  background: #fff;
  padding: 15px;

}

.slider-referencje-module .referencja-box-content blockquote {
  font-weight: 300 !important;
  font-style: italic;
}


.realizacja-box {
  padding: 15px;
}

.realizacja-box .card .badge {
  position: absolute;
  bottom: 0;
  left: 20px;
  border-radius: 0 !important;
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 7px 10px;
  background-image: none;
}

.realizacja-box:hover .card {
  transform: translateY(-4px);
  color: #fff;
  transition: transform 0.3s ease;
}

.realizacja-img {
  border-bottom: 1px solid #eee;
}

.badge {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
  border-radius: 0.4rem;
}

.modul-big-cta .cta-image-wrapper {
  width: 120%;
  max-width: 500px;
  z-index: 1;
  position: absolute;
  bottom: 0;
  max-height: 100%;
  max-height: calc(100% + 25px);
  height: 100%;
}

.modul-big-cta .cta-image-wrapper img {
  max-height: calc(100% + 25px);
  object-fit: contain;
  position: absolute;
  bottom: 0;
  left: 15px;
  transform: none;
}

.modul-big-cta h2 {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .modul-big-cta .cta-image-wrapper {
    text-align: center;
    margin-bottom: 2rem;
  }
}

.slider-referencje-module .slick-prev,
.slider-referencje-module .slick-next {
  background: #ff4200;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.slider-referencje-module .slick-prev:hover,
.slider-referencje-module .slick-next:hover,
.slider-referencje-module .slick-prev:focus-visible,
.slider-referencje-module .slick-next:focus-visible {
  background: #e63900;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.slider-referencje-module .slick-prev:before,
.slider-referencje-module .slick-next:before {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  margin-top: 6px;
}

.slider-referencje-module .slick-prev:before {
  content: "❮";
}

.slider-referencje-module .slick-next:before {
  content: "❯";
}

.nav-link:hover {
  color: #ff4200;
}

.dropdown-menu {
  padding: 0;
}

.navbar-nav .dropdown-menu {
  border-radius: 0px !important;
}

.dropdown-item:hover {
  background: #fff;
  color: #ff4200;
}

.dropdown-item:hover:active {
background: #ff4200;
color: #fff;
}

.dropdown-item.active:hover,
.dropdown-item.active, .dropdown-item:active {
  background-color: #ff4200;
  background-image: none;
}
.dropdown-item.active:hover:active,
.dropdown-item.active:hover {
  color: #fff !important;
  background-color: #ff4200;
  background-image: none;
}

.dropdown-item {
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
}

.dropdown-menu .dropdown-submenu {
  position: relative;
}

.dropdown-menu .dropdown-submenu > a.dropdown-toggle::after {
transform: translateY(2px) translateX(20px) rotate(-90deg);
display: inline-block;
margin-left: .35rem;
font-size: 1.2rem;
line-height: 1;
}

.dropdown-menu .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0rem;
  min-width: 220px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  pointer-events: none;
  z-index: 1051;
  transition: opacity .2s ease, transform .2s ease;
}

.dropdown-menu .dropdown-submenu > .dropdown-menu.dropdown-menu-nested {
  border-radius: 0;
}

.dropdown-menu .dropdown-submenu.show > .dropdown-menu,
.dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

@media (max-width: 991.98px) {
  /* Mobile menu - białe tło i ciemny tekst */
  .navbar-collapse {
    background-color: #ffffff;
    padding: 1rem;
    margin-top: 0.5rem;
  }

  /* Na stronie głównej (przed sticky) - białe tło z ciemnymi linkami */
  .page-template-page-home .navbar-collapse {
    background-color: #ffffff;
  }

  .page-template-page-home .navbar-collapse .nav-link {
    color: #1c1c1c !important;
  }

  .page-template-page-home .navbar-collapse .dropdown-item {
    color: #1c1c1c !important;
  }

  /* Separacja elementów menu - border-bottom */
  .navbar-collapse .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .navbar-collapse .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-collapse .dropdown-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-collapse .dropdown-item:last-child {
    border-bottom: none;
  }

  /* Podmenu zagnieżdżone - też oddzielane linią */
  .navbar-collapse .dropdown-submenu > .dropdown-menu .dropdown-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-collapse .dropdown-submenu > .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
  }

  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    box-shadow: none;
    background-color: transparent;
    border: none;
  }

  /* Łamanie długich tekstów w menu - do dwóch linii */
  .navbar-collapse .nav-link,
  .navbar-collapse .dropdown-item {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  /* Link z podmenu - strzałka po prawej jako osobny element klikalny */
  .navbar-nav .nav-link.dropdown-toggle,
  .dropdown-menu .dropdown-submenu > a.dropdown-toggle {
    position: relative;
    padding-right: 50px;
  }

  .navbar-nav .nav-link.dropdown-toggle::after,
  .dropdown-menu .dropdown-submenu > a.dropdown-toggle::after {
    content: '\203A';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    margin: 0;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* Strzałka obrócona gdy menu rozwiniete */
  .navbar-nav .nav-item.show > .nav-link.dropdown-toggle::after,
  .dropdown-menu .dropdown-submenu.show > a.dropdown-toggle::after {
    transform: rotate(90deg);
  }

  .dropdown-menu .dropdown-submenu > .dropdown-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0;
    margin-left: 20px;
    padding-left: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: none;
    background-color: transparent;
  }

  .dropdown-menu .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }

  /* Ukryj dropdown-menu domyślnie */
  .navbar-nav .dropdown-menu {
    display: none;
  }

  .navbar-nav .nav-item.show > .dropdown-menu {
    display: block;
  }
}

ul.dropdown-menu li:last-child .dropdown-item {
  border-bottom: 0;
}





.widget-realizacje .card {
  transition: transform 0.3s ease;
}

.widget-realizacje .card:hover {
  transform: translateY(-3px);
}


.widget-realizacje .badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #ff4200;
  box-shadow: none;
  background-image: none;
  border-radius: 0px !important;
}

.modul-full-parallax {
  height: 500px;
  position: relative;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-25%);
  will-change: transform;
}

.page-header__title-image {
  max-width: 300px;
}

.modul-full-static {
  position: relative;
  min-height: 500px;
}

.modul-full-static .static-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.module-video-embed__player,
.module-video-embed__image {
  object-fit: cover;
  background-color: #000;
  display: block;
}

.main-content ul li::marker {
  color: #ff4200;
}

.module-masonry-gallery__grid {
  position: relative;
  margin: 0 -12px;
}

.module-masonry-gallery__grid::after {
  content: '';
  display: block;
  clear: both;
}

.module-masonry-gallery__sizer,
.module-masonry-gallery__item {
  width: 33.3333%;
}

.module-masonry-gallery__sizer {
  float: left;
  padding: 0 12px;
  height: 0;
}

.module-masonry-gallery__item {
  float: left;
  padding: 0 12px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.module-masonry-gallery__media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.module-masonry-gallery__link {
  display: block;
  position: relative;
}

.module-masonry-gallery__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.module-masonry-gallery__link:hover::after,
.module-masonry-gallery__link:focus::after {
  opacity: 1;
}

.module-masonry-gallery__image {
  display: block;
  width: 100%;
  height: auto;
}

.module-masonry-gallery__caption {
  font-size: 0.95rem;
  color: #5d5d5d;
  margin: 0;
}

.module-masonry-gallery__description {
  max-width: 720px;
  margin: 0 auto;
  color: #5d5d5d;
}

@media (max-width: 991.98px) {
  .module-masonry-gallery__sizer,
  .module-masonry-gallery__item {
    width: 50%;
  }
}

@media (max-width: 575.98px) {
  .module-masonry-gallery__sizer,
  .module-masonry-gallery__item {
    width: 100%;
  }
}

.page-id-395 .module-video-embed {
  background: color(srgb 0.99 0.99 0.99);
}


.page-id-600 .cta-section-building {
  height: calc(100% + 104px) !important;
}

.page-id-430 .faq-section::after {
  background-image: url('/wp-content/themes/cobouw/assets/img/doradztwo-faq.jpg');
}
.page-id-414 .faq-section::after {
  background-image: url('/wp-content/themes/cobouw/assets/img/weltech-tlo-faq.png');
}
.page-id-1252 .cta-section-building {
  height: 100% !important;
}

.page-id-395 .module-tryptyk-galeria__media::after,
.page-id-395 .module-tryptyk-galeria__label {
  display: none;
}

.social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #1c1c1c;
  border-color: #1c1c1c;
  color: #ff4200;
  text-decoration: none !important;
}


#wartosci .wartosci-item {
  border: 1px solid #ff4200;
}


.page-template-page-kariera #kariera-hero {
  padding-bottom: 0 !important;
  border-bottom: 2px solid #ff4200;
}


#tydzien-skrot-cta {
  background-image: url('/wp-content/uploads/2025/09/kariera-jak-pracujemy.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 90px;
  padding-bottom: 90px;
}


.page-id-260 footer.footer {
  background-color: #1c1c1c !important;
}

.page-id-260 footer .footer-copyright {
  background-color: #111 !important;
}

.page-id-362 .faq-section::after {
  background-image: url('/wp-content/themes/cobouw/assets/img/hale-przemyslowe-pod-klucz-cobouw.jpg');
}


.page-template-page-generalne-wykonawstwo .cta-with-image {
  position:relative;
}

.page-template-page-generalne-wykonawstwo .cta-with-image::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
width: 30%;
height: 370px;
  background-image: url('/wp-content/themes/cobouw/assets/img/cta-architekt-plany.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  z-index: 0;
}
.page-template-page-generalne-wykonawstwo .cta-with-image .container {
  z-index: 1;
  position:relative
}


section#card-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
}

section#card-stack .cards {
  padding: 0;
  margin: 0;
  display: grid;
  width: 60svw;

  >* {
    grid-area: 1 / 1 / 1 / 1;
  }

  li {
    list-style: none;
  }
}

section#card-stack .card {
  height: 400px;
  min-height: auto;
  padding: 30px;
}

.small-cta.bg-orange .container>* {
  position: relative;
  z-index: 8;
}



.small-cta.bg-orange .container .btn-white:hover {
  background: #fff;
  border-color: #fff;
}

.header-h2 {
  font-size: 2rem;
  font-weight: 700;
}

.slownik-indeks__link {
  display: inline-block;
  padding: 0 12px 0px 6px;
  color: #434343;
  /* pomarańczowy */
  font-weight: 400;
  font-size: 1.1rem;
  text-decoration: none;
  border-right: 1px solid #ddd;
  /* delikatna kreseczka */
}

.slownik-indeks__link:last-child {
  border-right: none;
  /* bez kreski na końcu */
}

.slownik-indeks__link:hover {
  color: #ff4200;
  /* zmiana na czarny przy hoverze */
}

.realizacja-details strong {
  font-size: 1.3rem;
  font-weight: 300;
}



.realizacja-details--header {
  flex-direction: column;
  align-items: flex-start;
  /* żeby ikona + tekst były wyrównane do lewej */
}

.realizacja-details--header::after {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: #fff;
  margin-top: 0px;
  margin-bottom: 15px;
}


.realizacja-card__media {
  overflow: hidden;
}

.realizacja-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4200;
  color: #fff;
  letter-spacing: .02em;
  font-weight: 300;
  z-index: 5;
}

.realizacja-status {
  background: #ff4200;
}


/* Before/After */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f3f3f3;
}

.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.ba__img--after {
  clip-path: inset(0 0 0 50%);
}

/* start 50% */
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffffaa;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba__handle-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: block;
  border-radius: 0;
  background-image: url('/wp-content/themes/cobouw/assets/img/slide-arrows.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* box-shadow: 0 0 0 4px #ffffff55; */
  position: absolute;
  background-color: transparent;
}

.ba__range {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ba__labels {
  position: absolute;
  inset: auto 0 10px 0;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}

.ba__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #1c1c1ccc;
  padding: 4px 8px;
  border-radius: 4px;
}

.ba__label--left {
  margin-right: auto;
}

.ba__label--right {
  margin-left: auto;
}


.page-id-516 #main {
  margin-top: 0;
}

.page-id-516 .modul-tlo .container-fluid {
  background-size: 80% !important;
}
.page-id-379 .modul-tlo .container-fluid,
.page-id-977 .modul-tlo .container-fluid {
    background-size: 70% !important;
}


/* Karta */
.realizacja-card {
  overflow: hidden;
}

.realizacja-card__media {
  position: relative;
  background: #f3f3f3;
}

/* Status badge */
.realizacja-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  background: #ff4200;
  color: #fff;
  letter-spacing: .02em;
  font-weight: 600;
}

.realizacja-status.status--progress {
  background: #1c1c1c;
}

.realizacja-status.status--draft {
  background: #6c757d;
}

/* Tło, gdy brak BA */
.realizacja-bg {
  width: 100%;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

/* Link na całym tle - tylko dla pojedynczego obrazu */
.realizacja-bg-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.realizacja-bg-link:hover {
  opacity: 0.95;
}

/* Overlay info na dole obrazka */
.realizacja-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .75) 100%);
  pointer-events: none;
  /* nie blokuj BA */
}

@media (max-width: 767px) {
  .realizacja-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .realizacja-info__left {
    width: 100%;
  }

  .realizacja-info__right {
    width: auto;
  }

  .realizacja-info__right .btn {
    width: auto;
    padding: 0.5rem 1rem;
  }
}

.realizacja-info .btn,
.realizacja-info a {
  pointer-events: auto;
}

/* Przycisk "Zobacz szczegóły" zawsze w jednej linii */
.realizacja-info__right .btn {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.realizacja-info a:hover {
  text-decoration: underline;
}

.realizacja-company {
  color: #f3f3f3;
}

/* CTA w brandzie */
.btn-cta {
  background: #ff4200;
  border-color: #ff4200;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
}

.btn-cta:hover, .btn-cta:focus {
  filter: brightness(0.95);
  color: #fff;
  background: #ff4200;
  border-color: #ff4200;
}

/* Before/After (jak poprzednio, z drobnym z-index) */
.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f3f3f3;
}

.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.ba__img--after {
  clip-path: inset(0 0 0 50%);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffffaa;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.ba__handle-dot {
  border-radius: 50%;
  background: #ff4200;
  box-shadow: 0 0 0 4px #ffffff55;
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: #fff;
  display: block;
  border-radius: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/wp-content/themes/cobouw/assets/img/slide-arrows.png');
}

.ba__range {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ba__labels {
  position: absolute;
  inset: 15px 0 auto 0;
  display: flex;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}

.ba__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  opacity: .8;
  padding: 4px 8px;
  border-radius: 4px;
}

.realizacje-karty {
  margin-top: 50px;
}

/* --- Stacking Cards: starter CSS --- */
.stack-cards {
  --stack-cards-gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Każda karta musi być sticky i mieć wysokość! */
.stack-cards__item {
  position: sticky;
  top: 50px;
  will-change: transform;
  transform-origin: center top;
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 5px 5px 10px #eee;

}

/* Prosty fallback na siatkę z CodyHouse (używamy ich klas w HTML) */
.stack-cards .grid {
  display: flex;
  flex-wrap: nowrap;

}

.stack-cards .col-6 {
  width: 50%;
}

/* Mobile: kolumny na całą szerokość, obrazek nad tekstem */
@media (max-width: 767px) {
  .stack-cards .grid {
    flex-direction: column-reverse;
    flex-wrap: wrap;
  }

  .stack-cards .col-6 {
    width: 100%;
  }
}

.stack-cards .height-100 {
  height: 100%;
}

.stack-cards .object-cover {
  object-fit: cover;
}

.stack-cards .padding-md {
  padding: 24px;
}

/* Odstęp pod listą tak, aby dało się zjechać z ostatniej karty */
.js-stack-cards {
  padding-bottom: 0;
}

/* JS i tak nadpisze */


.single-post #sidebar h2.wp-block-heading {
  margin-top: 30px;
  color: #ff4200;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.wp-block-categories-list {
  padding-left: 0;
}

.wp-block-categories-list .cat-item {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 8px 5px;
  gap: 10px;
}

.wp-block-categories-list .cat-item a {
  display: block;
  color: #111;
}

.wp-block-categories-list .cat-item a:hover {
  color: #ff4200;
}

.job-offer-single .section-title {
  position: relative;
  padding-bottom: .4rem;
}

.job-offer-single .section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: #ff4200;
  margin-top: .5rem;
}

.benefit-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #f3f3f3;
}

.benefit-card__title {
  color: #1c1c1c;
}

.benefit-card__desc {
  color: #1c1c1c;
  opacity: .9;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.apply-form {
  border-radius: 18px;
}

.job-offer-single .wysiwyg ul {
  padding-left: 1.2rem;
}


.page-id-1280 .modul-tekst-na-tle {
  background-size: contain !important;
background-position: right !important;
}


.offer-image{
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
@media (min-width: 768px){
  .offer-image{ min-height: 460px; }
}

.offers-slick .slick-dots{ margin-top: 16px; }
.offer-tags{ gap:.5rem; } /* gap uzupełnia flex-wrap */
.offer-tag{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin-bottom: 10px;
  padding:.35rem .6rem;
  border-radius:9999px;              /* kapsułka */  
}
.offer-tag-icon{
  width:20px; height:20px;
  object-fit:contain; display:block;
}
.offer-tag-text{
  color:#ff4200;  
  font-size: .8rem;                   /* czarny z brandu */
  font-weight:400;                   /* pogrubiony */
}


@media (max-width: 1550px) {
  .modul-tlo .container-fluid {
    background-size: 65% !important;
    min-height: 700px !important;
  }

    .outbox-image .cta-section-building {
    right: -15% !important;

  }

  .cta-section.outbox-image {
    overflow-x: hidden;
  }
}

@media (max-width: 1350px) {
  .modul-tlo .container-fluid {
    background-position: -100px center !important;
    background-size: 67% !important;
    min-height: 626px !important;
  }
}

@media (max-width: 1300px) {
  .modul-tlo .container-fluid {
    background-size: contain !important;
    min-height: 600px !important;
  }

  .outbox-image .cta-section-building {
    right: -40% !important;

  }

}

@media (max-width: 1200px) {
  .cta-image-wrapper img {
    transform: translateX(-35%);
  }

  #kontakt-cta .col-md-8 {
    position: relative;
    z-index: 2;
  }
}


@media (max-width: 1024px) {
  .module-image-text .container .row {
    display: flex;
    flex-direction: column-reverse;
  }

  .module-image-text .container .row .col-md-6 {
    width: 100%;
  }

  .module-image-text .container .row .col-image {
    margin-top: 50px;
  }

  .modul-tlo .container-fluid {
    background-position: -105px center !important;
  }

  .page-id-516 .cta-section.outbox-image {
    padding-bottom: 600px;
    flex-direction: column-reverse;
    display: flex;
  }

  .page-id-516 .cta-section.outbox-image .cta-section-building {

    height: auto !important;

  }

}

@media (max-width: 767px) {
  .modul-tlo .container-fluid {
    background-position: -175px center !important;
  }

  .page-id-233 .modul-tlo .col-12 {
    padding-left: 160px;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    /* background:rgba(255,255,255,0.4); */
    text-shadow: 1px 1px 5px #FFF;
    position: relative;
  }

  .page-id-233 .modul-tlo .col-12>* {
    position: relative;
    z-index: 2;
  }

  .page-id-233 .modul-tlo .col-12::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 15px;
    width: calc(100% - 160px);
    height: 100%;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.4) 80%,
        rgba(255, 255, 255, 0) 100%);
  }


  /* Modul TŁO - mobile layout */
  @media (max-width: 767px) {
    .modul-tlo .container-fluid {
      background-size: contain !important;
      background-position: center top !important;
      min-height: auto !important;
      padding-top: 250px !important; /* Miejsce na obrazek */
      position: relative;
    }

    .page-id-379 .modul-tlo .container-fluid,
    .page-id-977 .modul-tlo .container-fluid {
      background-size: 100% !important;
    }

    /* Treść na białym tle pod obrazkiem */
    .modul-tlo .col-md-7 {
      background-color: #fff;
      padding: 2rem 1.5rem !important;
      margin: 0 !important;
      max-width: 100% !important;
      width: 100% !important;
    }

    .modul-tlo .offset-md-5 {
      margin-left: 0 !important;
    }
  }


  /* Big CTA - ukryj obrazek na mobile */
  .cta-image-wrapper {
    display: none !important;
  }

  #kontakt-cta .col-md-4 {
    display: none !important;
  }

  #kontakt-cta .col-md-8 {
    position: relative;
    z-index: 2;
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
  }

  #kontakt-cta .col-md-8 p {
    text-shadow: none; /* Usuń text-shadow bo nie ma obrazka pod spodem */
  }

  /* Formularz kontaktowy - mobile layout */
  #kontakt-cta .wpcf7-form .row.g-2 {
    flex-direction: column;
  }

  #kontakt-cta .wpcf7-form .col-8,
  #kontakt-cta .wpcf7-form .col-4 {
    width: 100% !important;
    max-width: 100% !important;
  }

  #kontakt-cta .wpcf7-form .col-4 {
    margin-top: 0.5rem;
  }


  .page-id-233 .modul-tekstowy .col-12.col-md-5 img {
    margin-top: 30px;
  }

  .modul-kariera {
    background-position: 37% 40% !important;
    background-size: auto 100% !important;
  }

  .modul-kariera .col-md-7 {
    background: linear-gradient(to right, rgb(255 255 255 / 60%) 80%, rgb(255 255 255 / 4%) 100%) !important;
  }

  .page-id-233 .header-image {
    width: 65%;
    background-size: cover;
    background-position: 32% 53% !important;
    background-repeat: no-repeat;
  }
}

/* ==========================================================================
   Tryptyk - galeria
   ========================================================================== */
.module-tryptyk-galeria {
  position: relative;
}

.module-tryptyk-galeria__header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.module-tryptyk-galeria__description {
  color: #5b5b5b;
}

.module-tryptyk-galeria__outer {
  overflow: hidden;
  padding: 0 clamp(32px, 7vw, 140px);
  box-sizing: border-box;
}

.module-tryptyk-galeria__viewport {
  overflow: hidden;
  width: 100%;
}

.module-tryptyk-galeria__track {
  display: flex;
  gap: 0;
  min-width: 100%;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.sticky-sidebar {
  position: sticky;
  top: clamp(30px, 12vw, 50px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 24px);
}

.widget-realizacje,

.widget-polecane-artykuly {
  padding: 15px;
border: 1px solid #eee;
border-radius: 15px;
font-size: .85rem;
}

.widget.blog-cat {
  padding: 15px;
border: 1px solid #eee;
border-radius: 15px 15px 0 0;
border-bottom: 0;
font-size: .85rem;
}

.widget .wp-block-categories-list.wp-block-categories {
  border: 1px solid #eee;
border-radius: 0 0 15px 15px;
padding: 0 15px 15px 15px;
font-size: .85rem;
border-top: 0;
}
.features-slider .slick-dots li button,
.widget-realizacje .slick-dots li button {
  display: none;
}

.radius-15 {
  border-radius: 15px;
}

@media (max-width: 991px) {
  .sticky-sidebar {
    position: static;
    top: auto;
  }
}

.module-tryptyk-galeria__item {
  flex: 0 0 50vw;
  width: 50vw;
  min-width: 50vw;
  max-width: 720px;
  height: 550px;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.module-tryptyk-galeria__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  padding: clamp(24px, 5vw, 38px);
}

.module-tryptyk-galeria__label span {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.module-tryptyk-galeria__media {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
}

.module-tryptyk-galeria__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 25%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.module-tryptyk-galeria__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.module-tryptyk-galeria__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, rgba(15, 15, 15, 0.8) 100%);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .module-tryptyk-galeria__item {
    flex-basis: 82vw;
    width: 82vw;
    min-width: 82vw;
    height: 440px;
  }

  .module-tryptyk-galeria__label {
    padding: clamp(20px, 6vw, 32px);
  }

  .module-tryptyk-galeria__label span {
    letter-spacing: 0.18em;
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .module-tryptyk-galeria__outer {
    padding: 0 clamp(16px, 6vw, 56px);
  }

  .module-tryptyk-galeria__track {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .module-tryptyk-galeria__track {
    transition: none;
  }
}

.modul-wyrozniki p > strong {
  font-weight: 700;
  font-size: 1.2rem;
  padding-bottom: 5px;
}


/* ==========================================================================
   Process Wheel Slider
   ========================================================================== */
.module-process-wheel {
  position: relative;
  background-image: url('/wp-content/themes/cobouw/assets/img/wheel-bg.jpg');
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;
}

.module-process-wheel__header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.process-wheel {
  position: relative;
  display: flex;
  justify-content: center;
  --items-count: 1;
  --wheel-size: clamp(280px, 55vw, 420px);
  --icon-radius: calc(var(--wheel-size) / 2 + clamp(32px, 6vw, 56px));
  --angle-step: calc(360deg / var(--items-count));
  padding: clamp(48px, 8vw, 80px) 0;
}

.process-wheel__circle {
  position: relative;
  width: var(--wheel-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: visible;
  background: #fff;
  box-shadow: 0 40px 60px rgba(23, 23, 23, 0.38);
  isolation: isolate;
  --inner-offset: 18%;
}

.process-wheel__bg {
  position: absolute;
  inset: var(--inner-offset);
  border-radius: 50%;
  background-color: #ff4200;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease, filter 0.4s ease, opacity 0.4s ease;
  filter: brightness(0.9) saturate(1.05);
  z-index: 2;
}

.process-wheel__overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 48%, rgba(238, 238, 238, 0.55) 82%, rgba(238, 238, 238, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.process-wheel__center {
  position: absolute;
  inset: var(--inner-offset);
  z-index: 3;
  background: transparent;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 6vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.process-wheel__center::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(rgba(255, 66, 0, 0.19), rgba(15, 15, 15, 0.2));
  mix-blend-mode: multiply;
  z-index: 0;
}

.process-wheel__center > * {
  position: relative;
  z-index: 1;
}

.process-wheel__step-number {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-wheel__step-title {
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

.process-wheel__icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.process-wheel__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(60px, 10vw, 78px);
  height: clamp(60px, 10vw, 78px);
  border-radius: 50%;
background: rgba(246, 246, 246, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease, opacity 0.3s ease;
  --icon-scale: 1;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--angle-step) * var(--item-index)))
    translateX(var(--icon-radius))
    rotate(calc(var(--angle-step) * -1 * var(--item-index)))
    scale(var(--icon-scale));
}

.process-wheel__icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.process-wheel__icon-fallback {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.process-wheel__icon:hover {
  --icon-scale: 1.05;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.process-wheel__icon:disabled {
  cursor: default;
  opacity: 0.65;
  box-shadow: none;
}

.process-wheel__icon.is-active {
  background: #fff;
  border-color: #ffb899;
  --icon-scale: 1.12;
  box-shadow: 0 24px 48px rgba(255, 66, 0, 0.35);
}

.process-wheel__indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(84px, 12vw, 96px);
  height: clamp(84px, 12vw, 96px);
  border-radius: 50%;
  border: 2px solid rgba(255, 66, 0, 0.85);
  box-shadow: 0 0 0 8px rgba(255, 66, 0, 0.15), inset 0 0 18px rgba(255, 66, 0, 0.22);
  pointer-events: none;
  mix-blend-mode: screen;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--angle-step) * var(--active-index, 0)))
    translateX(var(--icon-radius))
    rotate(calc(var(--angle-step) * -1 * var(--active-index, 0)));
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
  z-index: 3;
}

.process-wheel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 12, 12, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 5;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.process-wheel__nav--prev {
  left: clamp(15px, -6vw, -28px);
}

.process-wheel__nav--next {
  right: clamp(15px, -6vw, -28px);
}

.process-wheel__nav:hover {
  background: #ff4200;
  border-color: #ff4200;
  transform: translateY(-50%) scale(1.05);
}

.process-wheel__content {
  position: relative;
  height: 100%;
}

.process-wheel__step {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 5vw, 38px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
  margin-bottom: 18px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-module="process-wheel"][data-enhanced="true"] .process-wheel__step {
  display: none;
}

[data-module="process-wheel"][data-enhanced="true"] .process-wheel__step.is-active {
  display: block;
  animation: process-wheel-fade 0.35s ease;
}

.process-wheel__step-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process-wheel__step-text p:last-child {
  margin-bottom: 0;
}

@keyframes process-wheel-fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@media (max-width: 1199px) {
  .process-wheel {
    --wheel-size: clamp(260px, 48vw, 380px);
    --icon-radius: calc(var(--wheel-size) / 2 + clamp(28px, 5vw, 52px));
  }
}

@media (max-width: 991px) {
  .module-process-wheel__header {
    margin-bottom: 2.5rem;
  }

  .process-wheel__nav--prev {
    left: clamp(-4px, -2vw, 8px);
  }

  .process-wheel__nav--next {
    right: clamp(-4px, -2vw, 8px);
  }
}

@media (max-width: 768px) {
  .process-wheel {
    --wheel-size: clamp(240px, 70vw, 320px);
    --icon-radius: calc(var(--wheel-size) / 2 + clamp(24px, 8vw, 40px));
  }

  .process-wheel__indicator {
    box-shadow: 0 0 0 6px rgba(255, 66, 0, 0.12), inset 0 0 12px rgba(255, 66, 0, 0.18);
  }

  .process-wheel__step {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-wheel__icon,
  .process-wheel__indicator,
  .process-wheel__step,
  .process-wheel__bg {
    transition: none;
  }
}

.module-pages-grid {
  position: relative;
}

.module-pages-grid__header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.module-pages-grid__intro p:last-child {
  margin-bottom: 0;
}

.module-pages-grid__card {
  position: relative;
  min-height: 260px;
  padding: clamp(24px, 6vw, 36px);
  border-radius: 24px;
  overflow: hidden;
  background: #1c1c1c;
  color: #fff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}

.module-pages-grid__card-bg,
.module-pages-grid__card-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.module-pages-grid__card-bg {
  filter: brightness(0.82) saturate(1.1);
  opacity: 0.92;
}

.module-pages-grid__card-overlay {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.05) 10%, rgba(8, 8, 8, 0.65) 100%);
  z-index: 1;
  opacity: 1;
}

.module-pages-grid__card-content {
  position: relative;
  z-index: 2;
}

.module-pages-grid__card-title {
  font-weight: 600;
}

.module-pages-grid__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.24);
}

.module-pages-grid__card:hover .module-pages-grid__card-bg {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(1.18);
}

.module-pages-grid__card:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 66, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991px) {
  .module-pages-grid__card {
    min-height: 220px;
    border-radius: 20px;
  }
}

@media (max-width: 575px) {
  .module-pages-grid__card {
    min-height: 200px;
    padding: 24px;
    border-radius: 18px;
  }
}

/* ============================================
   Moduł Hero Image
   ============================================ */

.modul-hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 400px;
}

/* Gradient od góry (biały) */
.modul-hero-image .hero-gradient {
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 15%,
    rgba(255, 255, 255, 0.4) 30%,
    rgba(255, 255, 255, 0.2) 45%,
    rgba(255, 255, 255, 0) 60%
  );
  z-index: 1;
  pointer-events: none;
}

/* Kontener treści */
.modul-hero-image .container {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Górna sekcja - Breadcrumbs i tytuł */
.modul-hero-image .hero-header-content {
  padding-top: 1rem;
}

.modul-hero-image .hero-breadcrumbs {
  opacity: 0.9;
}

.modul-hero-image .hero-breadcrumbs a {
  color: #1c1c1c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modul-hero-image .hero-breadcrumbs a:hover {
  color: #ff4200;
}

.modul-hero-image .hero-breadcrumbs .breadcrumb_last {
  color: #6c757d;
}

.modul-hero-image .hero-title {
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 0;
  line-height: 1.2;
}

/* Dolna sekcja - Dodatkowy tytuł */
.modul-hero-image .hero-footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}

.modul-hero-image .hero-subtitle-box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  max-width: 800px;
}

.modul-hero-image .hero-subtitle {
  font-size: 1.75rem;
  font-weight: 300;
  max-width: 600px;
  color: #1c1c1c;
  margin-bottom: 0;
  line-height: 1.4;
}

.page-id-1503 .modul-hero-image .hero-subtitle {
  max-width: 900px;
}

/* Responsywność */
@media (max-width: 991px) {
  .modul-hero-image .hero-title {
    font-size: 2.5rem;
  }

  .modul-hero-image .hero-subtitle {
    font-size: 1.5rem;
  }

  .modul-hero-image .hero-subtitle-box {
    padding: 1.5rem 2rem;
  }

  .modul-hero-image .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .modul-hero-image {
    height: 50vh !important;
    min-height: 400px;
  }

  .modul-hero-image .hero-title {
    font-size: 2rem;
  }

  .modul-hero-image .hero-subtitle {
    font-size: 1.25rem;
  }

  .modul-hero-image .hero-subtitle-box {
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
  }

  .modul-hero-image .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .modul-hero-image .hero-footer-content {
    padding-bottom: 1rem;
  }

  .modul-hero-image .hero-gradient {
    background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.6) 20%,
      rgba(255, 255, 255, 0.3) 40%,
      rgba(255, 255, 255, 0) 60%
    );
  }
}

@media (max-width: 575px) {
  .modul-hero-image .hero-title {
    font-size: 1.75rem;
  }

  .modul-hero-image .hero-subtitle {
    font-size: 1.1rem;
  }

  .modul-hero-image .hero-subtitle-box {
    padding: 1rem 1.25rem;
  }

  .modul-hero-image .hero-breadcrumbs {
    font-size: 0.8rem;
  }
}

/* ==========================================
   PAGINATION STYLES
   ========================================== */

/* Pagination container */
.navigation.pagination {
  margin: 2.5rem 0;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Page numbers and arrows */
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1c1c1c;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.navigation.pagination .page-numbers:hover {
  background: #ff4200;
  color: #ffffff;
  border-color: #ff4200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 66, 0, 0.2);
}

/* Current page */
.navigation.pagination .page-numbers.current {
  background: #ff4200;
  color: #ffffff;
  border-color: #ff4200;
  cursor: default;
  box-shadow: 0 4px 12px rgba(255, 66, 0, 0.25);
}

.navigation.pagination .page-numbers.current:hover {
  transform: none;
}

/* Prev/Next arrows */
.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
}

/* Dots separator */
.navigation.pagination .dots {
  border: none;
  background: transparent;
  color: #999;
  pointer-events: none;
}

/* Hide inner spans added by WordPress */
.navigation.pagination .page-numbers span {
  display: contents;
}

/* Bootstrap pagination support (for cobouw_pagination function) */
.pagination {
  margin: 2.5rem 0;
}

.pagination .page-item {
  margin: 0 4px;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1c1c1c;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.pagination .page-link:hover {
  background: #ff4200;
  color: #ffffff;
  border-color: #ff4200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 66, 0, 0.2);
}

.pagination .page-item.active .page-link {
  background: #ff4200;
  color: #ffffff;
  border-color: #ff4200;
  box-shadow: 0 4px 12px rgba(255, 66, 0, 0.25);
}

.pagination .page-item.disabled .page-link {
  opacity: 0.5;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 575px) {
  .navigation.pagination .page-numbers,
  .pagination .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }

  .navigation.pagination .nav-links {
    gap: 6px;
  }

  .pagination .page-item {
    margin: 0 3px;
  }
}

/* ============================================
   Moduł Pages Grid Custom - Niestandardowy układ
   ============================================ */

.module-pages-grid-custom {
  position: relative;
}

.module-pages-grid-custom__header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.module-pages-grid-custom__intro p:last-child {
  margin-bottom: 0;
}

.module-pages-grid-custom__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Wiersze */
.module-pages-grid-custom__row {
  display: grid;
  gap: 24px;
}

.module-pages-grid-custom__row--split {
  grid-template-columns: 1fr 1fr;
}

.module-pages-grid-custom__row--panoramic {
  grid-template-columns: 1fr;
}

.module-pages-grid-custom__column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Karty bazowe */
.module-pages-grid-custom__card {
  position: relative;
  padding: clamp(28px, 6vw, 40px);
  border-radius: 24px;
  overflow: hidden;
  background: #1c1c1c;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.module-pages-grid-custom__card--large {
  min-height: 505px;
}

.module-pages-grid-custom__card--small {
  min-height: 240px;
}

.module-pages-grid-custom__card--panoramic {
  /* Ratio 3:1.3 = height około 43.33% width */
  aspect-ratio: 3 / 1.3;
  min-height: 280px;
}

/* Tło i overlay */
.module-pages-grid-custom__card-bg,
.module-pages-grid-custom__card-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.35s ease, transform 0.4s ease;
  overflow: hidden;
}

.module-pages-grid-custom__card-bg {
  filter: brightness(0.82) saturate(1.1);
  opacity: 0.92;
}

.module-pages-grid-custom__card-overlay {
  /* Ciemny gradient od dołu dla czytelności tekstu */
  background: linear-gradient(180deg, rgba(8, 8, 8, 0) 0%, rgba(8, 8, 8, 0.15) 40%, rgba(8, 8, 8, 0.75) 100%);
  z-index: 1;
  opacity: 1;
}

/* Treść karty */
.module-pages-grid-custom__card-content {
  position: relative;
  z-index: 2;
}

.module-pages-grid-custom__card-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.module-pages-grid-custom__card--small .module-pages-grid-custom__card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.module-pages-grid-custom__card-excerpt {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.module-pages-grid-custom__card--small .module-pages-grid-custom__card-excerpt {
  font-size: 0.9rem;
}

/* Hover effects */
.module-pages-grid-custom__card:hover {
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.24);
}

.module-pages-grid-custom__card:hover .module-pages-grid-custom__card-bg {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(1.18);
}

.module-pages-grid-custom__card:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 66, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.18);
}

/* Responsywność */
@media (max-width: 991px) {
  .module-pages-grid-custom__row--split {
    grid-template-columns: 1fr;
  }

  .module-pages-grid-custom__card--large {
    min-height: 380px;
  }

  .module-pages-grid-custom__card--small {
    min-height: 220px;
  }

  .module-pages-grid-custom__card--panoramic {
    min-height: 240px;
  }

  .module-pages-grid-custom__card {
    border-radius: 20px;
  }
}

@media (max-width: 575px) {
  .module-pages-grid-custom__grid {
    gap: 16px;
  }

  .module-pages-grid-custom__row {
    gap: 16px;
  }

  .module-pages-grid-custom__column {
    gap: 16px;
  }

  .module-pages-grid-custom__card {
    padding: 24px;
    border-radius: 18px;
  }

  .module-pages-grid-custom__card--large {
    min-height: 200px;
  }

  .module-pages-grid-custom__card--small {
    min-height: 200px;
  }

  .module-pages-grid-custom__card--panoramic {
    min-height: 200px;
  }

  .module-pages-grid-custom__card-title {
    font-size: 1.25rem !important;
  }

  .module-pages-grid-custom__card-excerpt {
    font-size: 0.875rem;
  }
}

/* ============================================
   ZABEZPIECZENIE OBRAZKÓW - WARIANT A
   Można łatwo usunąć/wyłączyć tę sekcję
   ============================================ */

/* Blokada zaznaczania i przeciągania obrazków */
img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

/* Dodatkowa ochrona dla galerii realizacji */
.realizacja-gallery img,
.modul-realizacje img,
.masonry-gallery img,
.slider-realizacje img,
.projects-slider img {
  pointer-events: none;
}

/* Przywróć pointer-events dla linków zawierających obrazki */
a img {
  pointer-events: auto;
}

/* Jednak zablokuj interakcje bezpośrednio z obrazkiem w linku */
a {
  position: relative;
}

/* ============================================
   KONIEC SEKCJI ZABEZPIECZENIA OBRAZKÓW
   ============================================ */

/* ============================================
   WYSZUKIWARKA REALIZACJI - WIDGET
   ============================================ */
.realizacje-search-widget {
  margin-bottom: 1rem;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 15px;
  font-size: 0.85rem;
}

.realizacje-search-widget .widget-title {
  color: #ff4200;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.realizacje-search-widget-inner {
  margin-top: 15px;
}

.realizacje-search-form {
  position: relative;
}

.realizacje-search-form .input-group {
  display: flex;
  align-items: stretch;
}

.realizacje-search-input {
  flex: 1;
  border-radius: 0.375rem 0 0 0.375rem;
  border-right: none;
  padding: 0.5rem 0.75rem;
  border: 1px solid #dee2e6;
  outline: none;
}

.realizacje-search-input:focus {
  outline: none;
  border: 1px solid #ff4200;
  box-shadow: none;
}

.realizacje-search-btn {
  border-radius: 0 0.375rem 0.375rem 0;
  border: 1px solid #ff4200;
  border-left: none;
  background-color: #ff4200;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.realizacje-search-btn:hover {
  background-color: #e63900;
  border-color: #e63900;
}

.realizacje-search-btn i {
  font-size: 0.875rem;
  color: #fff;
}

.realizacje-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: -1px;
}

.realizacje-search-suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.realizacje-search-suggestions-list li {
  border-bottom: 1px solid #f0f0f0;
}

.realizacje-search-suggestions-list li:last-child {
  border-bottom: none;
}

.realizacje-search-suggestion-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #212529;
  text-decoration: none;
  transition: background-color 0.2s;
}

.realizacje-search-suggestion-link:hover {
  background-color: #f8f9fa;
  color: #212529;
}

/* Responsywność */
@media (max-width: 991.98px) {
  .realizacje-search-widget {
    margin-bottom: 1.5rem;
  }
}
/* ============================================
   KONIEC WYSZUKIWARKI REALIZACJI
   ============================================ */

/* ============================================
   SLIDER REFERENCJE - MODUŁ O-FIRMIE
   ============================================ */
.referencje-slider-wrapper {
  position: relative;
  padding: 0 60px 50px;
}

.referencje-slider {
  position: relative;
}

.referencje-slide {
  padding: 0 12px;
}

.referencje-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.referencje-cytat {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1c1c1c;
  flex-grow: 1;
}

.referencje-firma {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: bold;
  color: #ff4200;
}

.referencje-btn-realizacja {
  z-index: 1;
  border: 1px solid #ff4200;
  color: #ff4200;
  background: transparent;
  transition: all 0.3s ease;
}

.referencje-btn-realizacja:hover {
  background: #ff4200;
  color: #fff;
  border-color: #ff4200;
}

/* Strzałki slidera */
.referencje-slider-wrapper .referencje-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #ff4200;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  z-index: 10;
  cursor: pointer;
  transition: all .3s ease;
  margin: 0;
}

.referencje-slider-wrapper .referencje-nav-btn:hover {
  background: #e63900;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.referencje-slider-wrapper .referencje-nav-btn.slick-prev {
  left: -60px;
}

.referencje-slider-wrapper .referencje-nav-btn.slick-next {
  right: -60px;
}

.referencje-slider-wrapper .referencje-nav-btn .arrow-icn {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.referencje-slider-wrapper .referencje-nav-btn.slick-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #ccc;
}

/* Paginacja (dots) */
.referencje-slider .slick-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  width: auto;
}

.referencje-slider .slick-dots li {
  margin: 0;
  background: #737373;
  color: #737373;
}

.referencje-slider .slick-dots li button {
  border-radius: 50%;
  border: none;
  background: #666 !important;
  cursor: pointer;
  padding: 0;
  font-size: 0;
  line-height: 0;
  transition: background 0.3s;
  opacity: 1;
}

.referencje-slider .slick-dots li button:before {
  display: none;
}

.referencje-slider .slick-dots li.slick-active  {
  background: #ff4200 !important;
  color: #ff4200;
}

/* Responsywność */
@media (max-width: 768px) {
  .referencje-slider-wrapper {
    padding: 0 0 50px;
  }

  .referencje-nav-btn.slick-prev {
    left: 8px;
  }

  .referencje-nav-btn.slick-next {
    right: 8px;
  }

  .referencje-slide {
    padding: 0 8px;
  }
}
/* ============================================
   KONIEC SLIDERA REFERENCJE
   ============================================ */

/* ============================================
   SPIS TREŚCI (TOC)
   ============================================ */
#toc_container {
  background: #f8f9fa !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin: 20px 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

#toc_container .toc_title {
  font-size: 1.1rem !important;
  font-weight: bold !important;
  color: #1c1c1c !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

#toc_container .toc_toggle {
  font-size: 0.85rem !important;
  font-weight: normal !important;
  margin-left: 10px;
}

#toc_container .toc_toggle a {
  color: #ff4200 !important;
  text-decoration: none !important;
}

#toc_container .toc_toggle a:hover {
  text-decoration: underline !important;
}

#toc_container .toc_list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  margin-top: 15px !important;
  padding-top: 15px !important;
  border-top: 1px solid #e0e0e0 !important;
}

#toc_container .toc_list li {
  margin: 8px 0 !important;
  padding-left: 0 !important;
}

#toc_container .toc_list a {
  color: #1c1c1c !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: block !important;
  padding: 4px 0 !important;
}

#toc_container .toc_list a:hover {
  color: #ff4200 !important;
  text-decoration: none !important;
}

#toc_container .toc_number {
  color: #ff4200 !important;
  font-weight: bold !important;
  margin-right: 8px !important;
}

#toc_container .toc_list ul {
  list-style: none !important;
  padding-left: 20px !important;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

#toc_container .toc_list ul li {
  margin: 5px 0 !important;
}

#toc_container .toc_list ul a {
  font-size: 0.9em !important;
  color: #666 !important;
}

#toc_container .toc_list ul a:hover {
  color: #ff4200 !important;
}

#toc_container .toc_list ul .toc_number {
  color: #999 !important;
  font-weight: normal !important;
}

/* Responsywność */
@media (max-width: 768px) {
  #toc_container {
    padding: 15px !important;
    font-size: 0.85rem !important;
  }

  #toc_container .toc_title {
    font-size: 1rem !important;
  }
}
/* ============================================
   KONIEC SPISU TREŚCI
   ============================================ */

/* ============================================
   LINKI W TREŚCI WPISÓW BLOGOWYCH
   ============================================ */
.single-post article a,
.post a,
.entry-content a,
.wp-block-post-content a {
  color: #ff4200 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.single-post article a:hover,
.post a:hover,
.entry-content a:hover,
.wp-block-post-content a:hover {
  color: #ff4200 !important;
  text-decoration: underline !important;
}

/* Wykluczamy linki w nagłówkach i innych elementach, które mogą mieć własne style */
.single-post article h1 a,
.single-post article h2 a,
.single-post article h3 a,
.single-post article h4 a,
.single-post article h5 a,
.single-post article h6 a,
.post h1 a,
.post h2 a,
.post h3 a,
.post h4 a,
.post h5 a,
.post h6 a {
  color: inherit !important;
  text-decoration: none !important;
}

.single-post article h1 a:hover,
.single-post article h2 a:hover,
.single-post article h3 a:hover,
.single-post article h4 a:hover,
.single-post article h5 a:hover,
.single-post article h6 a:hover,
.post h1 a:hover,
.post h2 a:hover,
.post h3 a:hover,
.post h4 a:hover,
.post h5 a:hover,
.post h6 a:hover {
  text-decoration: underline !important;
}
/* ============================================
   KONIEC LINKÓW W TREŚCI WPISÓW
   ============================================ */

/* Oddział Rzeszów page */
.page-template-page-oddzial-rzeszow-php .oddzial-hero {
  padding: 32px 0 24px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero .container {
  max-width: 1320px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero__card {
  position: relative;
  border-radius: 28px;
  background-color: #1c1c1c;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 56px 60px;
  min-height: 260px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.1));
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: #ffffff;
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero__breadcrumbs {
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero__title {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}

.page-template-page-oddzial-rzeszow-php .oddzial-hero__intro {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
}

.page-template-page-oddzial-rzeszow-php .oddzial-text {
  padding: 48px 0;
}

.page-template-page-oddzial-rzeszow-php .oddzial-text__title {
  margin-bottom: 20px;
  font-weight: 700;
}

.page-template-page-oddzial-rzeszow-php .oddzial-text__content p {
  color: #3b3b3b;
}

@media (min-width: 992px) {
  .page-template-page-oddzial-rzeszow-php .oddzial-text--with-image .row > [class*="col-lg-6"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.page-template-page-oddzial-rzeszow-php .oddzial-text__media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.page-template-page-oddzial-rzeszow-php .oddzial-text__media img {
  width: 100%;
  height: auto;
  display: block;
}

.page-template-page-oddzial-rzeszow-php .oddzial-text__media--overlap {
  margin-top: -80px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje {
  padding: 64px 0 72px;
  background: #f4f4f4;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__header {
  margin-bottom: 28px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff4200;
  margin-bottom: 8px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__desc {
  max-width: 620px;
  color: #4b4b4b;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero-slide {
  display: flex;
  gap: 0;
  background: #ff4200;
  color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__content {
  flex: 1 1 45%;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__media {
  flex: 1 1 55%;
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__badge {
  align-self: flex-start;
  background: #ffffff;
  color: #ff4200;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__pin {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero__link:hover {
  text-decoration: underline;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__nav {
  margin-top: 24px;
  position: relative;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__hero {
  position: relative;
}

.page-template-page-oddzial-rzeszow-php .realizacje-hero-pointer {
  position: absolute;
  bottom: -14px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #ff4200;
  transform: translateX(-50%);
  transition: left 0.25s ease;
  z-index: 2;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-slider .slick-slide {
  padding: 0 10px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__nav .slide-control.prev-slide,
.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__nav .slide-control.next-slide {
  top: 50%;
  transform: translateY(-50%);
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__nav .slide-control.prev-slide {
  left: -50px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-realizacje__nav .slide-control.next-slide {
  right: -50px;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-card {
  display: block;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #1d1d1d;
  height: 100%;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-card__image {
  height: 130px;
  background-size: cover;
  background-position: center;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-card__content {
  padding: 16px 18px;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-card__meta {
  font-size: 0.85rem;
  color: #ff4200;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-slider .slick-arrow:not(.slide-control) {
  position: absolute;
  top: -56px;
  right: 0;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4200;
  z-index: 2;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-slider .slick-prev:not(.slide-control) {
  right: 48px;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-slider .slick-arrow:hover {
  background: #ff4200;
  color: #ffffff;
  border-color: #ff4200;
}

.page-template-page-oddzial-rzeszow-php .realizacje-nav-slider .slick-current .realizacje-nav-card {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.page-template-page-oddzial-rzeszow-php .oddzial-orange {
  padding: 64px 0;
}

.page-template-page-oddzial-rzeszow-php .oddzial-orange__card {
  background: #ff4200;
  border-radius: 24px;
  padding: 40px 36px;
  color: #ffffff;
}

.page-template-page-oddzial-rzeszow-php .oddzial-orange__media {
  border-radius: 20px;
  overflow: hidden;
}

.page-template-page-oddzial-rzeszow-php .oddzial-orange__media img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

.page-template-page-oddzial-rzeszow-php .oddzial-orange__title {
  font-weight: 700;
  margin-bottom: 16px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact {
  padding: 64px 0;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__form {
  background: #f3f3f3;
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__title {
  font-weight: 700;
  margin-bottom: 20px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__form input,
.page-template-page-oddzial-rzeszow-php .oddzial-contact__form textarea,
.page-template-page-oddzial-rzeszow-php .oddzial-contact__form select {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 12px 14px;
  background: #ffffff;
  font-size: 0.95rem;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__form textarea {
  min-height: 120px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__form .wpcf7-submit {
  background: #ff4200;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-weight: 600;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__rep {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 18px;
  height: 100%;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__rep-photo img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  background: #f3f3f3;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__rep-role {
  color: #6b6b6b;
  margin-bottom: 16px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__rep-info a {
  color: #1d1d1d;
  text-decoration: none;
}

.page-template-page-oddzial-rzeszow-php .oddzial-contact__rep-info a:hover {
  color: #ff4200;
}

.page-template-page-oddzial-rzeszow-php .oddzial-mapka {
  padding: 64px 0 48px;
  background: #f4f4f4;
}

.page-template-page-oddzial-rzeszow-php .oddzial-mapka__wrapper {
  position: relative;
  width: 100%;
}

.page-template-page-oddzial-rzeszow-php .oddzial-mapka__base {
  width: 100%;
  height: auto;
  display: block;
}

.page-template-page-oddzial-rzeszow-php .oddzial-mapka__overlay {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

.page-template-page-oddzial-rzeszow-php .oddzial-mapka__wrapper--row .oddzial-mapka__overlay {
  position: relative;
  inset: auto;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
  flex-wrap: wrap;
}

.page-template-page-oddzial-rzeszow-php .wojewodztwo-item {
  position: absolute;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.25s ease;
  z-index: 2;
}

.page-template-page-oddzial-rzeszow-php .wojewodztwo-item.is-active {
  padding-right: 160px;
}

.page-template-page-oddzial-rzeszow-php .wojewodztwo-img {
  display: block;
  max-width: 170px;
  height: auto;
  transition: transform 0.25s ease;
}

.page-template-page-oddzial-rzeszow-php .oddzial-mapka__wrapper--row .wojewodztwo-item {
  position: relative;
  transform: none;
}

.page-template-page-oddzial-rzeszow-php .oddzial-mapka__wrapper--row .wojewodztwo-img {
  max-width: 180px;
}

.page-template-page-oddzial-rzeszow-php .wojewodztwo-item.is-active .wojewodztwo-img,
.page-template-page-oddzial-rzeszow-php .wojewodztwo-item:hover .wojewodztwo-img,
.page-template-page-oddzial-rzeszow-php .wojewodztwo-item:focus .wojewodztwo-img {
  transform: scale(1.15);
}

.page-template-page-oddzial-rzeszow-php .samochod-wrapper {
  position: absolute;
  top: auto;
  bottom: 70px;
  left: 0;
  width: 180px;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.35s ease;
  z-index: 3;
}

.page-template-page-oddzial-rzeszow-php .samochod-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
  transform-origin: center;
}

.page-template-page-oddzial-rzeszow-php .samochod-wrapper.is-flipped img {
  transform: scaleX(-1);
}

.page-template-page-oddzial-rzeszow-php .oddzial-map {
  padding: 24px 0 64px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-map__embed iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
}

.page-template-page-oddzial-rzeszow-php .oddzial-map__address {
  text-align: center;
  margin-top: 16px;
  color: #6b6b6b;
}

@media (max-width: 991px) {
  .page-template-page-oddzial-rzeszow-php .oddzial-hero__card {
    padding: 40px 32px;
  }

  .page-template-page-oddzial-rzeszow-php .oddzial-text__media--overlap {
    margin-top: 0;
  }

  .page-template-page-oddzial-rzeszow-php .realizacje-hero-slide {
    flex-direction: column;
  }

  .page-template-page-oddzial-rzeszow-php .realizacje-hero__content,
  .page-template-page-oddzial-rzeszow-php .realizacje-hero__media {
    flex: 1 1 100%;
  }

  .page-template-page-oddzial-rzeszow-php .realizacje-hero__media {
    min-height: 220px;
  }

  .page-template-page-oddzial-rzeszow-php .samochod-wrapper {
    display: none;
  }

  .page-template-page-oddzial-rzeszow-php .oddzial-mapka__wrapper--row .oddzial-mapka__overlay {
    transform: none;
  }
}

@media (max-width: 576px) {
  .page-template-page-oddzial-rzeszow-php .oddzial-hero__card {
    padding: 32px 24px;
    min-height: 220px;
  }

  .page-template-page-oddzial-rzeszow-php .realizacje-nav-slider .slick-arrow {
    top: -46px;
  }

  .page-template-page-oddzial-rzeszow-php .oddzial-mapka__wrapper--row .oddzial-mapka__overlay {
    transform: none;
  }

  .page-template-page-oddzial-rzeszow-php .oddzial-mapka__wrapper--row .wojewodztwo-img {
    max-width: 140px;
  }
}

@media (min-width: 1200px) {
  .page-template-page-oddzial-rzeszow-php .oddzial-hero .container {
    max-width: 1500px;
  }

  .page-template-page-oddzial-rzeszow-php .oddzial-hero__card {
    min-height: 410px;
  }
}

/* --- Sekcja Przedstawiciele (strona kontakt) --- */
.przedstawiciele-section {
  position: relative;
  z-index: 2;
}

.przedstawiciele-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.przedstawiciel-card {
  position: relative;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  transition: background-color 0.25s ease;
  cursor: default;
  border: 0;
}

.przedstawiciel-card:hover,
.przedstawiciel-card.active {
  background-color: #f5f5f5;
}

.przedstawiciel-card-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid #f5f5f5;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.przedstawiciel-card:hover .przedstawiciel-card-arrow,
.przedstawiciel-card.active .przedstawiciel-card-arrow {
  opacity: 1;
}

.przedstawiciel-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.przedstawiciel-card-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid #fff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.przedstawiciel-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.przedstawiciel-card-content {
  flex: 1;
  min-width: 0;
}

.przedstawiciel-card-map-mobile {
  display: none;
}

.przedstawiciel-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 0.15rem;
}

.przedstawiciel-stanowisko {
  font-size: 0.9rem;
  color: #434343;
  margin-bottom: 0.35rem;
}

.przedstawiciel-tel a,
.przedstawiciel-email a {
  font-size: 0.9rem;
  color: #1c1c1c;
  text-decoration: none;
}

.przedstawiciel-tel a:hover,
.przedstawiciel-email a:hover {
  color: #ff4200;
  text-decoration: underline;
}

/* Kolumna mapy */
.przedstawiciele-map-col {
  position: relative;
}

.przedstawiciele-map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  min-height: 280px;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 100%;
}

.przedstawiciele-map-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.przedstawiciele-map-layer.active {
  opacity: 1;
  pointer-events: auto;
}

.przedstawiciele-map-layer img:first-child {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.przedstawiciele-car {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateX(120%);
  width:  clamp(130px, 18%, 140px);
  z-index: 2;
  transition: transform 0.5s ease;
}

.przedstawiciele-car.has-right {
  left: auto;
  transform: translateX(120%);
}

.przedstawiciele-car.has-right[data-od-lewej="1"] {
  transform: translateX(-120%);
}

.przedstawiciele-car[data-od-lewej="1"] {
  transform: translateX(-50%) translateX(-120%);
}

.przedstawiciele-map-layer.active .przedstawiciele-car.drive-in,
.przedstawiciele-car.drive-in {
  transform: translateX(-50%) translateX(0);
}

.przedstawiciele-car.has-right.drive-in {
  transform: translateX(0);
}

.przedstawiciele-car[data-od-lewej="1"].drive-in {
  transform: translateX(-50%) translateX(0);
}

.przedstawiciele-car img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile: ukryj kolumnę mapy, pokaż mapkę obok danych */
@media (max-width: 991px) {
  .przedstawiciele-map-col {
    display: none;
  }

  .przedstawiciel-card {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    margin-bottom: 1rem;
    padding: 1rem 0.85rem;
    border-radius: 0.5rem;
  }

  .przedstawiciel-card:hover,
  .przedstawiciel-card.active {
    background-color: #fff;
  }

  .przedstawiciel-card-arrow {
    display: none;
  }

  .przedstawiciel-card-inner {
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .przedstawiciel-card-photo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .przedstawiciel-card-content {
    flex: 1;
    min-width: 0;
  }

  .przedstawiciel-card-map-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    width: 110px;
    margin-left: auto;
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .przedstawiciel-card-map-mobile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
}
