/* ==========================================================
   AEGEO.GR – ΠΟΛΙΤΙΚΗ
   1 lead είδηση + 3 compact
   ΧΩΡΙΣ CROP / ΧΩΡΙΣ FIXED HEIGHT

   FIX:
   Ο τίτλος και το underline effect περιορίζονται
   μόνο στον χώρο δεξιά από τη μεγάλη εικόνα.
   ========================================================== */

.aegeo-politiki-news {
  width: 100%;
  box-sizing: border-box;
}


/* ==========================================================
   ΟΛΕΣ ΟΙ ΕΙΔΗΣΕΙΣ
   ========================================================== */

.aegeo-politiki-news .views-row {
  width: 100%;
  box-sizing: border-box;

  margin: 0;
  padding: 11px 0;

  border-bottom: 1px solid #e5e5e5;
}


/* ==========================================================
   1η ΕΙΔΗΣΗ – LEAD
   ========================================================== */

.aegeo-politiki-news .views-row:first-child {
  display: block;
  overflow: hidden;

  padding-top: 0;
  padding-bottom: 18px;
}


/* ==========================================================
   ΜΕΓΑΛΗ ΕΙΚΟΝΑ ΑΡΙΣΤΕΡΑ
   ========================================================== */

.aegeo-politiki-news
.views-row:first-child
.views-field-field-image {
  float: left;

  margin: 0 20px 8px 0;
  padding: 0;
}

.aegeo-politiki-news
.views-row:first-child
.views-field-field-image .field-content,
.aegeo-politiki-news
.views-row:first-child
.views-field-field-image a {
  display: block;
}

.aegeo-politiki-news
.views-row:first-child
.views-field-field-image img {
  display: block;

  width: auto !important;
  max-width: 100% !important;
  height: auto !important;

  margin: 0;

  border-radius: 8px;
}


/* ==========================================================
   ΤΙΤΛΟΣ ΠΡΩΤΗΣ ΕΙΔΗΣΗΣ

   Το overflow:hidden είναι το σημαντικό fix.
   Δημιουργεί νέο formatting context και δεν επιτρέπει
   στο title/underline να περάσει πίσω από την εικόνα.
   ========================================================== */

.aegeo-politiki-news
.views-row:first-child
.views-field-title {
  display: block;

  overflow: hidden;

  margin: 0 0 9px 0;
  padding: 0;

  min-width: 0;
}

.aegeo-politiki-news
.views-row:first-child
.views-field-title .field-content {
  display: block;
  overflow: hidden;
}

.aegeo-politiki-news
.views-row:first-child
.views-field-title a {
  display: inline-block;

  position: relative;

  max-width: 100%;

  margin: 0;
  padding: 0;

  color: #181818;

  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.28;

  text-decoration: none;
}

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


/* ==========================================================
   INTRO ΑΚΡΙΒΩΣ ΚΑΤΩ ΑΠΟ ΤΟΝ ΤΙΤΛΟ

   Και αυτό περιορίζεται δεξιά από την εικόνα.
   ========================================================== */

.aegeo-politiki-news
.views-row:first-child
.views-field-body {
  display: block;

  overflow: hidden;

  margin: 0;
  padding: 0;

  min-width: 0;

  color: #555;

  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
}

.aegeo-politiki-news
.views-row:first-child
.views-field-body p {
  margin: 0;
  padding: 0;
}


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

.aegeo-politiki-news
.views-row:not(:first-child) {
  display: grid;

  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;

  align-items: center;
}


/* Compact εικόνες */

.aegeo-politiki-news
.views-row:not(:first-child)
.views-field-field-image {
  width: 105px;

  margin: 0;
  padding: 0;
}

.aegeo-politiki-news
.views-row:not(:first-child)
.views-field-field-image .field-content,
.aegeo-politiki-news
.views-row:not(:first-child)
.views-field-field-image a {
  display: block;
}

.aegeo-politiki-news
.views-row:not(:first-child)
.views-field-field-image img {
  display: block;

  width: 105px !important;
  max-width: 100% !important;
  height: auto !important;

  margin: 0;

  border-radius: 7px;
}


/* ==========================================================
   COMPACT ΤΙΤΛΟΙ
   ========================================================== */

.aegeo-politiki-news
.views-row:not(:first-child)
.views-field-title {
  min-width: 0;

  margin: 0;
  padding: 0;
}

.aegeo-politiki-news
.views-row:not(:first-child)
.views-field-title a {
  display: inline-block;

  position: relative;

  max-width: 100%;

  color: #222;

  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;

  text-decoration: none;
}

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


/* ==========================================================
   BODY ΜΟΝΟ ΣΤΗΝ ΠΡΩΤΗ ΕΙΔΗΣΗ
   ========================================================== */

.aegeo-politiki-news
.views-row:not(:first-child)
.views-field-body {
  display: none !important;
}


/* Τελευταία είδηση χωρίς border */

.aegeo-politiki-news .views-row:last-child {
  border-bottom: 0;
}


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

@media (max-width: 768px) {

  /* Lead εικόνα πάνω */
  .aegeo-politiki-news
  .views-row:first-child
  .views-field-field-image {
    float: none;

    width: 100%;

    margin: 0 0 10px 0;
  }


  /* Στο mobile δεν χρειάζεται πλέον το BFC γύρω από το float */
  .aegeo-politiki-news
  .views-row:first-child
  .views-field-title,
  .aegeo-politiki-news
  .views-row:first-child
  .views-field-body {
    overflow: visible;
  }


  .aegeo-politiki-news
  .views-row:first-child
  .views-field-title {
    margin-bottom: 7px;
  }

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

  .aegeo-politiki-news
  .views-row:first-child
  .views-field-body {
    font-size: 0.87rem;
    line-height: 1.4;
  }


  /* Compact ειδήσεις */

  .aegeo-politiki-news
  .views-row:not(:first-child) {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
  }

  .aegeo-politiki-news
  .views-row:not(:first-child)
  .views-field-field-image {
    width: 90px;
  }

  .aegeo-politiki-news
  .views-row:not(:first-child)
  .views-field-field-image img {
    width: 90px !important;
    max-width: 100% !important;
    height: auto !important;
  }

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


/* ==========================================================
   AEGEO – ΤΙΤΛΟΙ SECTION
   ========================================================== */


/* ΠΟΛΙΤΙΚΗ */

.block:has(.aegeo-politiki-news) > h2,
.block:has(.aegeo-politiki-news) .block-title {
  margin: 0 0 14px 0 !important;
  padding: 2px 0 2px 10px !important;

  border-left: 4px solid #c40000 !important;

  color: #111 !important;

  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;

  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}


/* ΒΟΥΛΗ */

.block:has(.aegeo-vouli-news) > h2,
.block:has(.aegeo-vouli-news) .block-title {
  margin: 0 0 14px 0 !important;
  padding: 2px 0 2px 10px !important;

  border-left: 4px solid #c40000 !important;

  color: #111 !important;

  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;

  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}