.aktualnosci {
    background: linear-gradient(135deg, #ffffff 0%, #d37f0003 100%);
  
    padding: 100px 20px;
    color: #333;
}


.aktualnosci h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    
}

.artykul {
    margin-bottom: 60px;
    max-width: 900px; /* lub np. 800px */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px 40px; /* delikatne marginesy boczne */
    border-bottom: 1px solid rgb(198 198 90 / 76%)
  }

/* ----------------------------- */
/* Nagłówek artykułu - układ poziomy */

.artykul-header-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.artykul-meta {
    flex: 1;
    min-width: 200px;
}

.artykul-meta h2 {
    font-size: 1.8em;
    margin: 0;
    color: #222;
}

.artykul p{
    font-size:1.1rem;
    text-align: justify;
}
.data-artykulu {
    font-size: 0.95em;
    color: #888;
    margin-top: 5px;
}
.galeria-artykulu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
  }
  
  .galeria-artykulu img {
    width: 225px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .galeria-artykulu img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 proporcje */
  height: 0;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
  
/* ----------------------------- */
/* Plaster miodu */

.plaster-miodu {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.hex {
    width: 40px;
    height: 40px;
    padding: 2px; /* grubość ramki */
    background-color: black; /* kolor obramowania */
    clip-path: polygon(
      50% 0%, 93% 25%, 93% 75%,
      50% 100%, 7% 75%, 7% 25%
    );
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* środek heksagonu – biały, pusty */
.hex-inner {
    width: 100%;
    height: 100%;
    background-color: white;
    clip-path: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: black;
    animation: hexFala 30s infinite ease-in-out;
  }

  .plaster-miodu .hex:nth-child(1) .hex-inner { animation-delay: 0s; }
  .plaster-miodu .hex:nth-child(2) .hex-inner { animation-delay: 1s; }
  .plaster-miodu .hex:nth-child(3) .hex-inner { animation-delay: 2s; }
  .plaster-miodu .hex:nth-child(4) .hex-inner { animation-delay: 4s; }
  .plaster-miodu .hex:nth-child(5) .hex-inner { animation-delay: 6s; }
  .plaster-miodu .hex:nth-child(6) .hex-inner { animation-delay: 8s; }
@keyframes hexFala {
    0%, 100% {
      background-color: white;
    }
    50% {
      background-color: rgba(255, 204, 0, 0.905); /* miodowy błysk */
    }
  }


/* Zygzakowy układ – PARZYSTE wyżej, NIEparzyste niżej */
.hex:nth-child(even) {
    transform: translateY(-6px);
}

.hex:nth-child(odd) {
    transform: translateY(6px);
}



  

/* ----------------------------- */
/* Responsywność */

@media (max-width: 768px) {
    .artykul-header-horizontal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .plaster-miodu {
        justify-content: center;
        margin-top: 10px;
    }
    .artykul{
      padding: 20px 10px;
    }
}

