/* ==========================================================
   AEGEO – ΘΕΜΑΤΙΚΑ BLOCK ΕΙΔΗΣΕΩΝ
   1 κύρια είδηση + 3 compact
   ========================================================== */

.aegeo-category-news {
  width: 100%;
}

/* Κάθε είδηση */
.aegeo-category-news .views-row {
  position: relative;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #e5e5e5;
}

/* ==========================================================
   1η ΕΙΔΗΣΗ – ΚΥΡΙΑ
   ========================================================== */

.aegeo-category-news .views-row:first-child {
  padding-top: 0;
  padding-bottom: 15px;
}

/* Μεγάλη εικόνα μόνο στην πρώτη */
.aegeo-category-news
.views-row:first-child
.views-field-field-image {
  margin: 0 0 10px;
}

.aegeo-category-news
.views-row:first-child
.views-field-field-image img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

/* Τίτλος πρώτης */
.aegeo-category-news
.views-row:first-child
.views-field-title a {
  display: block;
  color: #171717;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.aegeo-category-news
.views-row:first-child
.views-field-title a:hover {
  color: #b30000;
}


/* ==========================================================
   2η – 4η ΕΙΔΗΣΗ
   ========================================================== */

/* Δεν χρειαζόμαστε μεγάλη εικόνα στις υπόλοιπες */
.aegeo-category-news
.views-row:not(:first-child)
.views-field-field-image {
  display: none;
}

.aegeo-category-news
.views-row:not(:first-child)
.views-field-title {
  margin: 0;
}

.aegeo-category-news
.views-row:not(:first-child)
.views-field-title a {
  display: block;
  color: #222;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.aegeo-category-news
.views-row:not(:first-child)
.views-field-title a:hover {
  color: #b30000;
}


/* Τελευταία είδηση χωρίς γραμμή */
.aegeo-category-news .views-row:last-child {
  border-bottom: 0;
}


/* ==========================================================
   ΤΙΤΛΟΣ ΤΟΥ BLOCK
   ========================================================== */

.block-views .aegeo-category-news + *,
.aegeo-category-news {
  box-sizing: border-box;
}

/* Αν ο τίτλος είναι h2 του block */
.block-views:has(.aegeo-category-news) > h2 {
  margin: 0 0 15px;
  padding-left: 10px;
  border-left: 4px solid #b30000;

  color: #111;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;

  text-transform: uppercase;
  letter-spacing: 0.4px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

  .aegeo-category-news
  .views-row:first-child
  .views-field-field-image img {
    height: 210px;
  }

  .aegeo-category-news
  .views-row:first-child
  .views-field-title a {
    font-size: 1rem;
  }

  .aegeo-category-news
  .views-row:not(:first-child)
  .views-field-title a {
    font-size: 0.9rem;
  }
}

/* */ 
/* ==================================================
   AEGEO – ΚΕΝΟ ΜΕΤΑΞΥ CATEGORY BLOCKS
   ================================================== */

.aegeo-category-news {
  width: 100%;
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 12px;
}

/* Η εικόνα μένει μέσα στο διαθέσιμο πλάτος */
.aegeo-category-news
.views-row:first-child
.views-field-field-image img {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .aegeo-category-news {
    padding-left: 0;
    padding-right: 0;
  }
}