.tresc-glowna {
	height: 100% !important;
	box-sizing: border-box;
	padding-left: 20px !important;
	padding-right: 20px !important;
	overflow: visible !important;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.tresc-glowna h2,
.tresc-glowna h3,
.tresc-glowna p,
.tresc-glowna hr {
	margin-left: 0 !important;
	text-indent: 0 !important;
	max-width: 100%;
}
.tresc-glowna h2,
.tresc-glowna h3,
.tresc-glowna p {
	padding-left: 6px;
	padding-right: 6px;
}

.hex img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hexagon-gallery {
  margin: auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 200px;
  grid-gap: 14px;
  padding-bottom: 50px;
	margin-bottom: 1em;
}

.hex {
  display: flex;
  position: relative;
  width: 240px;
  height: 265px;
  background-color: #424242;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

@media (max-width: 900px) {
	.hexagon-gallery {
		grid-auto-rows: 100px;
		grid-gap: 7px;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	.hex {
		width: auto;
  		height: auto;
	}
	.tresc-glowna {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}

.hex:first-child {
  grid-row-start: 1;
  grid-column: 1 / span 2;
}

.hex:nth-child(2) {
  grid-row-start: 1;
  grid-column: 3 / span 2;
}

.hex:nth-child(3) {
  grid-row-start: 1;
  grid-column: 5 / span 2;
}

.hex:nth-child(4) {
  grid-row-start: 1;
  grid-column: 7 / span 2;
}

.hex:nth-child(5) {
  grid-row-start: 2;
  grid-column: 2 / span 2;
}

.hex:nth-child(6) {
  grid-row-start: 2;
  grid-column: 4 / span 2;
}

.hex:nth-child(7) {
  grid-row-start: 2;
  grid-column: 6 / span 2;
}

.hex:nth-child(8) {
  grid-row-start: 3;
  grid-column: 1 / span 2;
}

.hex:nth-child(9) {
  grid-row-start: 3;
  grid-column: 3 / span 2;
}

.hex:nth-child(10) {
  grid-row-start: 3;
  grid-column: 5 / span 2;
}

.hex:nth-child(11) {
  grid-row-start: 3;
  grid-column: 7 / span 2;
}

.hex:nth-child(12) {
  grid-row-start: 4;
  grid-column: 2 / span 2;
}

.hex:nth-child(13) {
  grid-row-start: 4;
  grid-column: 4 / span 2;
}

.hex:nth-child(14) {
  grid-row-start: 4;
  grid-column: 6 / span 2;
} 