/* --- Layout siatki artykułów --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* --- Karta pojedynczego artykułu --- */
.article-card {
  background: #111;
  border: 1px solid rgba(0,255,150,0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,255,150,0.3);
}

/* --- Miniatura artykułu --- */
.article-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0b0b0f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb.no-image {
  color: #666;
  font-style: italic;
  font-size: 0.9rem;
}

/* --- Treść artykułu --- */
.article-info {
  padding: 20px;
  text-align: left;
}

.article-info h3 {
  color: #00ff99;
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-shadow: 0 0 8px rgba(0,255,150,0.3);
}

.article-info .excerpt {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* --- Link "czytaj dalej" --- */
.read-more {
  color: #af0606;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.read-more:hover {
  color: #ff3d3d;
}

/* --- Wrapper sekcji artykułów (ramka 60%) --- */
.articles-wrapper {
  max-width: 60%;
  margin: 60px auto;
  padding: 40px 30px;
  background: rgba(17, 17, 17, 0.95);
  border: 1px solid rgba(0, 255, 150, 0.15);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 255, 150, 0.08);
}

/* --- Nagłówek sekcji --- */
.articles-wrapper h2 {
  color: #00ff99;
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  text-shadow: 0 0 10px rgba(0,255,150,0.25);
}
.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.article-reactions {
  color: #af0606;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
}

/* --- Responsywność --- */
@media (max-width: 992px) {
  .articles-wrapper {
    max-width: 80%;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .articles-wrapper {
    max-width: 90%;
    padding: 25px 15px;
  }

  .article-info h3 {
    font-size: 1.05rem;
  }

  .article-info .excerpt {
    font-size: 0.9rem;
  }
}
.audio-wrapper {
  background: rgba(0,0,0,0.25);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(90,245,160,0.12);
  backdrop-filter: blur(4px);
  text-align: center;
  margin: 40px 0;
}

.audio-wrapper p {
  color: #5af5a0;
  font-weight: bold;
  margin-bottom: 10px;
}

.audio-wrapper audio {
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 0 10px rgba(90,245,160,0.25));
}
