.td-post-content > p:first-child {
    font-weight: bold !important;
    color: #000000 !important;  /* Μαύρο χρώμα */
/* Πλήρεις τίτλοι σε 2-3 γραμμές στα Related Posts (Contextual Related Posts plugin) */
.crp_related .crp_title {
    white-space: normal !important;          /* Επιτρέπει wrap */
    overflow: visible !important;            /* Δεν κρύβει το υπόλοιπο */
    text-overflow: unset !important;         /* Καταργεί τα ... */
    height: auto !important;                 /* Αφήνει να μεγαλώσει */
    line-height: 1.4 !important;             /* Καλύτερο διάστημα */
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;        /* Μέγιστο 3 γραμμές – άλλαξε σε 2 αν θες */
    -webkit-box-orient: vertical !important;
    font-size: 15px !important;              /* Λίγο μικρότερο font για καλύτερο fit */
}

/* Προσαρμογή ύψους του box για να χωράει ο τίτλος */
.crp_related .crp_item {
    height: auto !important;
    min-height: 300px !important;            /* Αυξάνει το ύψος του κάθε card */
    padding-bottom: 10px !important;
}

/* Ίδιο ύψος σε όλα τα cards για ομοιόμορφο grid */
.crp_related ul.crp_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.crp_related .crp_item {
    flex: 1 1 calc(33.333% - 20px);           /* 3 ανά σειρά */
}
/* Πλήρεις τίτλοι σε 3 γραμμές ΧΩΡΙΣ ... στα Contextual Related Posts */
.crp_related .crp_title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    height: auto !important;
    line-height: 1.4 !important;
    display: block !important;                /* Απλό block για πλήρη wrap */
    font-size: 15px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
}

/* Ίδιο ύψος σε ΟΛΑ τα cards + καλύτερο grid */
.crp_related .crp_item {
    height: 320px !important;                 /* Σταθερό ύψος – άλλαξε σε 340px αν θες ψηλότερα */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #000 !important;              /* Μαύρο background σαν τα δικά σου */
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
}

.crp_related .crp_thumb {
    height: 180px !important;                 /* Σταθερό ύψος εικόνας */
    object-fit: cover !important;
}

.crp_related .crp_item .crp_title {
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px !important;
}

/* Grid: 2 cards ανά σειρά σε mobile, 3-4 σε desktop */
.crp_related ul.crp_list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 10px !important;
}

/* Κεφαλίδα "Related Posts" */
.crp_related h3 {
    color: #ff0000 !important;                /* Κόκκινο σαν το site σου */
    font-size: 24px !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}
	/* Contextual Related Posts - Καθαρό grid με πλήρεις τίτλους σε 3 γραμμές max + ίδιο ύψος */
.crp_related .crp_title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;      /* Μέγιστο 3 γραμμές */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;   /* ... μόνο αν ξεπεράσει τις 3 γραμμές */
    padding: 10px !important;
    margin: 0 !important;
    text-align: center !important;
    height: 80px !important;              /* Σταθερό ύψος για τον τίτλο */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.crp_related .crp_item {
    height: 300px !important;             /* Ίδιο ύψος σε ΟΛΑ τα cards */
    display: flex !important;
    flex-direction: column !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.crp_related .crp_thumb {
    height: 200px !important;             /* Σταθερό ύψος εικόνας */
    object-fit: cover !important;
    width: 100% !important;
}

/* Grid: 2 cards σε mobile, 3 σε tablet/desktop */
.crp_related ul.crp_list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;/* Related Posts - Πλήρεις τίτλοι σε 3 γραμμές + ίδιο ύψος cards */
.crp_related .crp_title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;       /* Μέγιστο 3 γραμμές */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;     /* ... μόνο αν >3 γραμμές */
    padding: 10px !important;
    text-align: center !important;
    height: 90px !important;                /* Σταθερό ύψος τίτλου */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.crp_related .crp_item {
    height: 320px !important;               /* Ίδιο ύψος cards – άλλαξε σε 340px αν θες ψηλότερα */
    border-radius: 12px !important;
    overflow: hidden !important;
}

.crp_related .crp_thumb {
    height: 200px !important;               /* Σταθερή εικόνα */
    object-fit: cover !important;
}
    padding: 0 10px !important;
    margin: 0 !important;
}

/* Κεφαλίδα "Related Posts:" */
.crp_related h3 {
    color: #ff0000 !important;
    font-size: 26px !important;
    text-align: center !important;
    margin: 30px 0 20px 0 !important;
    font-weight: bold !important;
}
	/* Related Posts - Πλήρεις τίτλοι σε 3 γραμμές + ίδιο ύψος cards */
.crp_related .crp_title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;       /* Μέγιστο 3 γραμμές */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;     /* ... μόνο αν >3 γραμμές */
    padding: 10px !important;
    text-align: center !important;
    height: 90px !important;                /* Σταθερό ύψος τίτλου */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.crp_related .crp_item {
    height: 320px !important;               /* Ίδιο ύψος cards – άλλαξε σε 340px αν θες ψηλότερα */
    border-radius: 12px !important;
    overflow: hidden !important;
}

.crp_related .crp_thumb {
    height: 200px !important;               /* Σταθερή εικόνα */
    object-fit: cover !important;
}
	/* Related Posts full-width στο κινητό (χωρίς λευκά κενά δίπλα) */
@media screen and (max-width: 768px) {   /* Μόνο σε κινητά/tablet */
    .crp_related ul.crp_list {
        padding: 0 !important;          /* Καταργεί padding */
        margin: 0 -10px !important;     /* Αντιστάθμιση για negative margin */
        width: calc(100% + 20px) !important;  /* Επεκτείνει πέρα από τα όρια */
    }

    .crp_related .crp_item {
        padding: 0 10px !important;     /* Χώρος μεταξύ cards */
        margin-bottom: 20px !important;
        box-sizing: border-box !important;
    }

    /* Grid: 2 cards ανά σειρά, full-width */
    .crp_related ul.crp_list {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .crp_related .crp_item {
        width: 50% !important;          /* Ακριβώς 2 ανά σειρά */
        flex: 0 0 50% !important;
    }

    /* Γενικό container fix (αν το theme προσθέτει padding) */
    .td-ss-main-content,
    .td-post-content,
    .entry-content {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Extra για καλύτερο look σε όλα τα μεγέθη */
.crp_related .crp_item {
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}
	.td-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
	/* Related Posts FULL-WIDTH στο κινητό - ΧΩΡΙΣ λευκά κενά δίπλα */
@media screen and (max-width: 767px) {  /* Μόνο κινητά */
    /* Καταργεί padding/margin από το main container του theme */
    .td-container,
    .td-ss-main-content,
    .td-main-content,
    .entry-content,
    .td-post-content {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Το grid των related */
    .crp_related,
    .crp_related ul.crp_list {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;   /* Μικρό εσωτερικό χώρο μόνο */
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Κάθε card */
    .crp_related .crp_item {
        width: 50% !important;        /* 2 cards ανά σειρά */
        padding: 5px !important;      /* Μικρό gap μεταξύ */
        box-sizing: border-box !important;
    }

    /* Εικόνα και τίτλος */
    .crp_related .crp_thumb {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
    }

    .crp_related .crp_title {
        padding: 10px !important;
        font-size: 14px !important;
        text-align: center !important;
    }
}
	/* Related Posts FULL-WIDTH στο κινητό - ΧΩΡΙΣ ΚΑΝΕΝΑ λευκό κενό δίπλα */
@media screen and (max-width: 767px) {
    /* Μηδενίζει ΟΛΑ τα padding/margin του theme στο single post */
    .td-main-content-wrap,
    .td-container,
    .td-container-wrap,
    .td-ss-main-content,
    .td-pb-row,
    .td-pb-span12,
    .entry-content,
    .td-post-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;           /* Πιάνει όλο το viewport */
        max-width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }

    /* Το section των related */
    .crp_related {
        padding: 0 5px !important;        /* Μόνο ελάχιστο gap */
        margin: 0 -5px !important;
        width: 100vw !important;
    }

    .crp_related ul.crp_list {
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

    .crp_related .crp_item {
        width: calc(50% - 10px) !important;   /* 2 cards με μικρό gap */
        margin: 5px !important;
        padding: 0 !important;
    }
}
	/* Related Posts FULL-WIDTH στο κινητό - ΤΕΛΙΚΗ ΛΥΣΗ */
@media screen and (max-width: 767px) {
    .td-main-content-wrap,
    .td-container,
    .td-container-wrap,
    .td-ss-main-content,
    .td-pb-row,
    .td-pb-span12,
    .entry-content,
    .td-post-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }

    .crp_related {
        padding: 0 5px !important;
        margin: 0 -5px !important;
        width: 100vw !important;
        box-sizing: border-box !important;
    }

    .crp_related ul.crp_list {
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

    .crp_related .crp_item {
        width: calc(50% - 10px) !important;
        margin: 5px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}
	/* Related Posts 100% FULL-WIDTH στο κινητό - ΤΕΛΙΚΟ FIX */
@media screen and (max-width: 767px) {
    /* Παρακάμπτει το fixed width του Newsmag container */
    .td-stretch-content .td-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Το section των related */
    .crp_related {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .crp_related ul.crp_list {
        padding: 0 8px !important;   /* Μόνο ελάχιστο gap για ομορφιά */
        margin: 0 !important;
    }

    .crp_related .crp_item {
        padding: 4px !important;    /* Μικρό χώρος μεταξύ cards */
    }
}
	.crp_related ul.crp_list { padding: 0 !important; }
	@media (max-width: 767px) {
    .crp_related ul.crp_list { padding: 0 !important; margin: 0 !important; }
}
	/* Related Posts - Πιο compact cards στο κινητό (μικρότερο ύψος) */
@media screen and (max-width: 767px) {
    .crp_related .crp_item {
        height: 240px !important;            /* Μικρότερο συνολικό ύψος (από ~320px σε 240px) */
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .crp_related .crp_thumb {
        height: 140px !important;            /* Μικρότερη εικόνα (από ~200px σε 140px) */
        object-fit: cover !important;
    }

    .crp_related .crp_title {
        font-size: 14px !important;          /* Μικρότερο font για καλύτερο fit */
        line-height: 1.3 !important;
        padding: 8px !important;
        height: 80px !important;             /* Σταθερό ύψος τίτλου */
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;    /* Max 3 γραμμές */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Λιγότερο gap μεταξύ cards */
    .crp_related ul.crp_list {
        gap: 10px !important;
        padding: 0 5px !important;
    }
}
	/* Κάνε τα related posts πιο ευανάγνωστα και μοντέρνα */
.td-related-post { 
    margin-bottom: 25px !important; 
    padding-bottom: 20px !important; 
    border-bottom: 1px solid #eee !important; 
}

.td-related-post:last-child { 
    border-bottom: none !important; 
}

.td-related-title .td-cur-span { 
    font-size: 24px !important; 
    font-weight: bold !important; 
    color: #d32f2f !important;  /* Ίδιο κόκκινο με τον τίτλο "Παρόμοια Άρθρα" */
}

.td-module-thumb { 
    margin-right: 15px !important; 
}

.td-module-title { 
    font-size: 18px !important; 
    line-height: 1.4 !important; 
    font-weight: 600 !important; 
}

.td-module-title a { 
    color: #111 !important; 
}

.td-module-title a:hover { 
    color: #d32f2f !important; 
}

/* Σε mobile κάνε thumbnail λίγο μεγαλύτερο */
@media (max-width: 767px) {
    .td-module-image { width: 120px !important; }
    .td-module-title { font-size: 17px !important; }
}
	/* Μαύρο χρώμα στους τίτλους των Related Posts Thumbnails */
#related_post_thumbnails .relpost_content a,
#related_post_thumbnails .relpost-thumb-title a,
.relpost_block_wrapper .relpost-thumb-title a {
    color: #000000 !important;
}

/* Για να μείνει μαύρο και όταν περνάει το ποντίκι από πάνω */
#related_post_thumbnails .relpost_content a:hover,
#related_post_thumbnails .relpost-thumb-title a:hover {
    color: #000000 !important;
}