/* === Layout για το news listing === */
.view-content-wrap .item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f5f8fa;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.view-content-wrap .item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Εικόνα */
.view-content-wrap .item .item-image img {
	width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;  /* δεν μικραίνει υπερβολικά όταν μικραίνει το container */
}

/* Περιεχόμενο */
.view-content-wrap .item .field-content {
  flex: 1;
}

/* Ημερομηνία */
.view-content-wrap h3 time {
  display: inline-block;
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 5px;
}

/* Τίτλος */
.view-content-wrap .subtitle a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003366;
  text-decoration: none;
}

.view-content-wrap .subtitle a:hover {
  color: #0059b3;
}

/* Κείμενο */
.view-content-wrap p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .view-content-wrap .item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .view-content-wrap .item .item-image img {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .view-content-wrap .subtitle a {
    font-size: 1.1rem;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .view-content-wrap .item .item-image img {
    max-width: 50%; /* μεσαία οθόνη — εικόνα λίγο μικρότερη */
  }
}

@media (max-width: 768px) {
  .view-content-wrap .item .item-image img {
    max-width: 100%; /* μικρή οθόνη — πλήρες πλάτος */
    height: auto;
    margin-bottom: 15px;
  }
}
