/* ==============================================
   CSS ΓΙΑ ΤΑΙΝΙΕΣ & ΚΡΙΤΙΚΕΣ - ΤΕΛΙΚΗ ΕΚΔΟΣΗ
   ============================================== */

/* ----------------------------------------------
   1. BLOCK ΤΑΙΝΙΩΝ (ΔΕΞΙΑ ΣΤΗΛΗ)
   ---------------------------------------------- */

/* -- ΚΑΡΤΑ ΤΑΙΝΙΑΣ: Γενική Δομή -- */
.movie-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.movie-card:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* -- ΑΦΙΣΑ -- */
.movie-card__poster {
    width: 85px;
    flex-shrink: 0;
    margin-right: 22px;
}

.movie-card__poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.movie-card__poster:hover img {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* -- ΛΕΠΤΟΜΕΡΕΙΕΣ: Τυπογραφία και Ιεραρχία -- */
.movie-card__details {
    flex-grow: 1;
}

/* -- ΤΙΤΛΟΣ ΤΑΙΝΙΑΣ (ΚΟΙΝΟΣ ΓΙΑ ΤΙΣ 2 ΣΤΗΛΕΣ) -- */
.movie-card__title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.15rem; 
    line-height: 1.4;
    font-weight: 600; 
}

.movie-card__title a {
    text-decoration: none;
    color: #022336; 
    transition: color 0.2s ease;
}

.movie-card__title a:hover {
    color: #022336; 
    text-decoration: underline;
    text-decoration-color: #022336;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* -- META-ΠΛΗΡΟΦΟΡΙΕΣ (ΔΕΞΙΑ ΣΤΗΛΗ) -- */
.movie-card__meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    font-family: 'Verdana', sans-serif;
    letter-spacing: 0.5px; 
}

/* -- ΣΚΗΝΟΘΕΤΕΣ (ΔΕΞΙΑ ΣΤΗΛΗ) -- */
.movie-card__director {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.movie-card__director a {
    color: #555; 
    text-decoration: none; 
    border-bottom: 1px dotted #aaa;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.movie-card__director a:hover {
    color: #000;
    border-bottom-color: #000; 
}

/* Στυλ για τα στατιστικά μέσα στα tabs */
.tab-stats {
    text-align: right;     /* <<<< Στοίχιση δεξιά (το είχαμε ήδη) */
    font-size: 0.85rem;    /* Μικρό μέγεθος */
    font-style: italic;    /* <<<< Πλάγια γραφή (η νέα προσθήκη) */
    color: #888;          /* Αχνό γκρι χρώμα */
    margin-top: 20px;      /* Απόσταση από την τελευταία ταινία */
    padding-top: 15px;     /* Κενό πάνω από τη γραμμή */
    border-top: 1px solid #eee; /* Διακριτική γραμμή διαχωρισμού */
}

/* ----------------------------------------------
   3. BLOCK ΣΤΑΤΙΣΤΙΚΩΝ (ΔΕΞΙΑ ΣΤΗΛΗ)
   ---------------------------------------------- */

/* Στυλ για τα συνοπτικά στατιστικά πάνω και κάτω από τα tabs */
.summary-stat-top,
.summary-stat-bottom {
    text-align: center;
    font-size: 0.95rem; /* <<<< 2. ΛΙΓΟ ΜΕΓΑΛΥΤΕΡΗ ΓΡΑΜΜΑΤΟΣΕΙΡΑ */
    color: #333; /* <<<< ΠΙΟ ΣΚΟΥΡΟ ΧΡΩΜΑ ΓΙΑ ΕΥΚΡΙΝΕΙΑ */
    background-color: #f8f9fa;
    padding: 12px; /* Λίγο περισσότερο padding */
    border: 1px solid #dee2e6;
}

.summary-stat-top {
    margin-bottom: 0;
    border-radius: 6px 6px 0 0;
    border-bottom: none;
}

.summary-stat-bottom {
    margin-top: -15px; /* <<<< 3. ΑΡΝΗΤΙΚΟ MARGIN ΓΙΑ ΝΑ "ΜΑΖΕΨΕΙ" ΤΟ ΚΕΝΟ */
    position: relative; /* Απαραίτητο για να λειτουργήσει σωστά το αρνητικό margin */
    z-index: 2; /* Για να κάθεται πάνω από τα tabs */
    border-radius: 0 0 6px 6px;
}

.summary-stat-top strong,
.summary-stat-bottom strong {
    color: #022336;
    font-size: 1.05rem;
}

/* Στυλ για τα στατιστικά ΜΕΣΑ στα tabs */
.tab-stats {
    text-align: right;
    font-size: 0.85rem;
    font-style: italic;
    color: #888;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* ----------------------------------------------
   2. BLOCK ΚΡΙΤΙΚΩΝ (ΑΡΙΣΤΕΡΗ ΣΤΗΛΗ) - FINAL WITH HOVER
   ---------------------------------------------- */

/* Κεντρική Επικεφαλίδα Ενότητας */
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #022336;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #022336;
    display: flex;
    align-items: center;
}
.section-title .fas {
    margin-right: 15px;
    color: #e74c3c;
    font-size: 1.2rem;
}

/* Ο τίτλος της ημερομηνίας */
.critic-reviews__date-group {
    font-size: 1.0rem;
    font-weight: 700;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ecf0f1;
}
.critic-reviews-container > .critic-reviews__date-group:first-of-type {
    margin-top: 0;
}

/* Η κάρτα για κάθε ταινία */
.critic-review-item {
    margin: 0 0 4px 0;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Hover για Α' προβολής */
.first-run-container .critic-review-item:hover {
    background-color: #f0f8ff;
    transform: scale(1.015);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.first-run-container .critic-review-item:hover .critic-review-item__critics {
    border-left-color: #022336;
}

/* Hover για επανεκδόσεις */
.re-release-container .critic-review-item:hover {
    background-color: #fffaf0;
    transform: scale(1.015);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.re-release-container .critic-review-item:hover .critic-review-item__critics {
    border-left-color: #cc7700;
}

/* Τίτλος ταινίας */
.critic-review-item .movie-card__title {
    margin-bottom: 5px;
}

/* Η παράγραφος με τη λίστα των κριτικών */
.critic-review-item__critics {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
    padding-left: 15px;
    border-left: 3px solid #ecf0f1;
    transition: border-color 0.2s ease-in-out;
}

.critic-review-item__critics a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px dotted #999;
}
.critic-review-item__critics a:hover {
    color: #000;
    border-bottom-color: #000;
}

.distribution-week {
    font-size: 1.6rem;
    font-weight: 700;
    color: #022336;
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
}

.critics-heading {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 0.5em;
  padding-left: 0.6em;
  color: #222;
  line-height: 1.3;
}

.critics-heading.first-run {
  color: #0077cc;
}

.critics-heading.re-release {
  color: #cc7700;
}

.critics-heading i {
  margin-right: 0.4em;
}


/* ----------------------------------------------
   4. STYLING ΓΙΑ ΤΟ PLAY BUTTON ΤΟΥ TRAILER
   ---------------------------------------------- */

/* 1. Κάνουμε το container της αφίσας "relative" */
/* Αυτό είναι απαραίτητο για να μπορέσουμε να τοποθετήσουμε το play button ακριβώς στο κέντρο του */
.movie-card__poster {
    position: relative;
}

/* 2. Ο σχεδιασμός του ίδιου του κουμπιού */
.play-button {
    /* -- Τοποθέτηση -- */
    position: absolute; /* Το "αποκολλάμε" από τη ροή */
    top: 50%;           /* Το κατεβάζουμε στο 50% του ύψους της αφίσας */
    left: 50%;          /* Το πάμε στο 50% του πλάτους της αφίσας */
    transform: translate(-50%, -50%); /* Το κεντράρουμε απόλυτα */
    z-index: 10;        /* Για να είναι πάντα πάνω από την εικόνα */

    /* -- Εμφάνιση -- */
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6); /* Ημιδιαφανές μαύρο φόντο */
    border-radius: 50%; /* Το κάνουμε τέλειο κύκλο */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* -- Εφέ & λεπτομέρειες για αντίθεση -- */
    border: 2px solid rgba(255, 255, 255, 0.7); /* Λευκό ημιδιαφανές περίγραμμα */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);   /* Σκιά για να ξεχωρίζει */
    
    /* -- Ομαλή μετάβαση για το hover effect -- */
    transition: all 0.2s ease-in-out;
    
    /* -- Αρχική κατάσταση (λίγο αόρατο) -- */
    opacity: 0.8;
}

/* 3. Το εικονίδιο "Play" (το τρίγωνο) μέσα στο κουμπί */
.play-button .fas.fa-play {
    color: #ffffff;
    font-size: 18px;
    /* Μια μικρή διόρθωση για να φαίνεται ακριβώς στο κέντρο */
    margin-left: 4px;
}

/* 4. Το Hover Effect */
.movie-card__poster:hover .play-button {
    /* Όταν κάνουμε hover στην αφίσα, το κουμπί... */
    background-color: #e74c3c; /* ...γίνεται κόκκινο! */
    border-color: #ffffff;      /* ...το περίγραμμα γίνεται συμπαγές λευκό */
    transform: translate(-50%, -50%) scale(1.1); /* ...μεγαλώνει ελαφρώς */
    opacity: 1; /* ...γίνεται πλήρως ορατό */
}

/* ----------------------------------------------
   5. BLOCK ΣΤΑΤΙΣΤΙΚΩΝ (ΚΑΤΩ ΑΡΙΣΤΕΡΑ) - FINAL ALIGNED
   ---------------------------------------------- */

.critic-stats-container {
    margin-top: 45px;
    padding: 18px 22px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.45;
}

.critic-stats-container,
.critic-stats-container li,
.critic-stats-container span,
.critic-stats-container .stat-value,
.critic-stats-container .critic-stats-cta {
    font-size: 15px !important;
    line-height: 1.45 !important;
}


.critic-stats-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* *** ΝΕΕΣ ΑΛΛΑΓΕΣ ΕΔΩ *** */
.critic-stats-container li {
    padding: 6px 0; /* <<<< 1. ΠΙΟ "ΣΦΙΧΤΕΣ" ΓΡΑΜΜΕΣ */
    border-bottom: 1px solid rgba(2,35,54,0.12);
    display: flex; /* <<<< 2. ΕΠΑΝΑΦΟΡΑ FLEXBOX */
    justify-content: space-between; /* Το κείμενο αριστερά, η τιμή δεξιά */
    align-items: center; /* Τέλεια κάθετη στοίχιση */
}

.critic-stats-container li:last-child {
    border-bottom: none;
    /* Ειδική μεταχείριση για την τελευταία γραμμή */
    display: block; /* Την κάνουμε απλό μπλοκ */
    text-align: left; /* Και τη στοιχίζουμε αριστερά */
    padding-top: 10px; /* Λίγο παραπάνω κενό από πάνω */
}

.critic-stats-container li span:first-child {
    opacity: 0.85;
}

/* Στυλ για τους αριθμούς/τιμές */
.critic-stats-container .stat-value {
    color: #022336;
    font-weight: 700;
    padding-left: 15px; /* Απόσταση από το κείμενο αριστερά */
    text-align: right; /* Διασφαλίζουμε ότι ο αριθμός είναι στοιχισμένος δεξιά */
    flex-shrink: 0; /* Δεν επιτρέπουμε στον αριθμό να "σπάσει" */
}

/* Στυλ για το link "πατήστε εδώ" */
.critic-stats-cta {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-style: italic;
}

/* ----------------------------------------------
   6. BLOCK ΓΙΑ TAB ΒΡΑΒΕΙΩΝ ΠΕΚΚ
   ---------------------------------------------- */

.pekk-awards-container {
    margin-top: 40px; /* Απόσταση από το προηγούμενο περιεχόμενο */
}

.pekk-awards-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pekk-awards-table th, 
.pekk-awards-table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: top;
}

/* Επικεφαλίδα με το αγαπημένο χρώμα */
.pekk-awards-table thead th {
    background-color: #022336;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

/* Εναλλάξ χρωματισμός γραμμών για ευκολία στην ανάγνωση */
.pekk-awards-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.pekk-awards-table tbody tr:hover {
    background-color: #e9ecef; /* Ένα hover effect για τις γραμμές */
}

.award-movie-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.award-movie-title a {
    color: #022336;
    text-decoration: none;
}
.award-movie-title a:hover {
    text-decoration: underline;
}

.award-movie-director {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 15px;
}

.award-poster-link {
    display: block;
    margin-bottom: 15px;
}
.award-poster-link img {
    max-width: 250px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.award-rationale {
    font-size: 0.85rem;
    line-height: 1.6;
    background-color: #ffffff;
    padding: 10px;
    border-left: 3px solid #022336;
}
.award-rationale p {
    margin-top: 0;
    margin-bottom: 5px;
}

/* Responsive στυλ για κινητά */
@media screen and (max-width: 768px) {
    .pekk-awards-table thead {
        display: none; /* Κρύβουμε την επικεφαλίδα */
    }
    .pekk-awards-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #dee2e6;
    }
    .pekk-awards-table td {
        display: block;
        text-align: right; /* Στοιχίζουμε το περιεχόμενο δεξιά */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%; /* Αφήνουμε χώρο για την ετικέτα */
    }
    .pekk-awards-table td::before {
        content: attr(data-label); /* Παίρνουμε την ετικέτα από το data-label */
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #022336;
    }
    .award-poster-link img {
        max-width: 100%;
    }
    
 .mod-pek-critics .distribution-week {
  font-size: 1.8em;
  font-weight: bold;
  margin: 1em 0;
  padding: 0.5em 0;
  color: #333;
  border-bottom: 1px solid #ccc;
}

.section-title {
  font-size: 1.4em;
  margin-bottom: 1em;
  color: #222;
}

.section-subtitle {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #444;
}

.critic-reviews-container {
  margin-bottom: 2em;
}

.critic-review-item {
  margin-bottom: 1em;
  padding: 0.5em;
  border-left: 3px solid #999;
}

.movie-card__title {
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 0.3em;
}
}