/* --- ΚΕΝΤΡΙΚΟΣ ΚΟΡΜΟΣ & ΓΕΝΙΚΑ --- */
body {
  font-family: "Ubuntu", sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #2c3e50;
}

.main-content {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.main-content h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-left: 4px solid #007cba;
  padding-left: 10px;
  color: #2c3e50;
}

/* --- GRID ΔΙΑΤΑΞΗ (4 Στήλες) --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-sizing: border-box;
}

/* --- ΚΑΡΤΑ ΑΡΘΡΟΥ --- */
.article-card {
  background: #ffffff;
  border: 1px solid #e2e6ea;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* --- ΕΙΚΟΝΑ ΚΑΡΤΑΣ --- */
.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* --- ΠΕΡΙΕΧΟΜΕΝΟ ΚΑΡΤΑΣ --- */
.article-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-date {
  font-size: 0.75rem;
  color: #7f8c8d;
}

.article-title a {
  font-size: 0.9rem;
  color: #2c3e50;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.35;
}

.article-title a:hover {
  color: #007cba;
}

/* --- RESPONSIVE ΡΥΘΜΙΣΕΙΣ ΓΙΑ ΚΙΝΗΤΑ & TABLETS --- */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 στήλες σε tablets */
  }
}

@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr; /* 1 στήλη σε κινητά */
  }
}
