.tile-css {
  max-width: 900px;
  margin: 0 auto;
}

.tile-box {
  border-radius: 12px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.tile-box:hover {
  transform: scale(1.05);
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.25);
}

.tile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 800px) {
  .tile-row {
    justify-content: center;
  }
}

.why-us-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto;
  gap: 40px;
  /*padding: 0 20px;*/
  
}

.why-us-text {
  flex: 1 1 50%;
}

.why-us-text h2 {
  margin-bottom: 20px;
}

.why-us-text ul {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.6;
  font-size: 16px;
}

.why-us-img {
  flex: 1 1 40%;
  text-align: center;
}

.why-us-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.2);
}

.footer-custom {
  background-color: #75a9c2;
  color: #ffffff;
  padding: 10px 15px;
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
}

.footer-custom p {
  margin: 4px 0;
}

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


/*DRUK3D*/
@media (max-width: 768px) {
  .druk3d-article .responsive-block {
    flex-direction: column !important;
  }
  .druk3d-article .responsive-block > div {
    flex: 1 1 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }
  .druk3d-article .responsive-block img {
    height: auto !important;
    max-width: 80% !important;
    margin: 0 auto 20px auto !important;
  }
}
/*MENU*/
/* Styl tylko dla list rozwijanego submenu (level-2) */
ul[class*="mm-collapse"] li[class*="level-2"] > a,
ul[class*="menu"] li[class*="level-2"] > a,
ul[class*="mm"] li[class*="level-2"] > a {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  padding: 10px 24px;
  display: block;
  background-color: transparent !important;
  transition: background-color 0.2s ease;
}

/* Hover tylko dla submenu */
ul[class*="mm-collapse"] li[class*="level-2"] > a:hover,
ul[class*="menu"] li[class*="level-2"] > a:hover,
ul[class*="mm"] li[class*="level-2"] > a:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Tło, cień i blur tylko dla submenu (ul zawierające level-2) */
ul[class*="mm-collapse"],
ul[class*="menu"] ul,
ul[class*="mm"] ul {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  border-radius: 12px;
  padding: 12px 0;
}

/*FORMATOWANIE DO HEADINGÓW STRON*/
/* Upewnij się, że kontener nagłówka ma position: relative */
.page-header,
.joomla-page-heading,
#page {
  position: relative !important;
}

/* Pozycjonowanie i styl Page Heading na dole, wyśrodkowany, mały, szary */
.page-header h1,
.page-heading,
.joomla-page-heading h1,
#page h1,
h1.page-heading {
  position: absolute !important;
  bottom: 10px !important;            /* 10px od dołu kontenera */
  left: 50% !important;               /* wyśrodkowanie w poziomie */
  transform: translateX(-50%) !important;
  font-size: 2rem !important;         /* niewielka czcionka */
  /*color: #fff !important;             /* szary */
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 400 !important;        /* lekkie pismo */
  text-transform: none !important;
}
}
/* Zwiększ padding bottom w wrapperze nagłówka, żeby odsuniąć treść */
.page-header,
.joomla-page-heading,
#page {
  padding-bottom: 2.5rem !important;  /* dostosuj wartość w razie potrzeby */
}

/* (Opcjonalnie) Dodatkowe odsunięcie samej treści */
.page-content,
.article-content,
#main-content {
  margin-top: 2.5rem !important;      /* wyrównuje treść poniżej headera */
}

