body {
  font-family: 'Arial', sans-serif;
}


.post-carousel .slick-track{
	display: flex;
	gap: 50px;
}


.post {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
  padding: 10 em;
}

.post:hover {
  transform: scale(1.02);
}

.post img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-content {
  padding: 15px 20px;
}

.post-carousel .post {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 400px; /* stała wysokość */
  overflow: hidden;
}
.post-carousel .post-content {
  flex: 1;
}

.post h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.post h4 {
  margin: 0;
  font-weight: normal;
  color: #555;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
  margin-top: 0;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
