/* =========================================
   ΓΕΝΙΚΑ – ΔΙΑΦΑΝΕΙΑ, ΠΛΑΤΟΣ, FONT
   ========================================= */

.ch-dir-wrapper{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.ch-dir-wrapper,
.ch-dir-wrapper *{
    font-family: "Noto Sans", sans-serif;
    box-sizing: border-box;
}

/* =========================================
   ΑΛΦΑΒΗΤΙΚΗ ΜΠΑΡΑ – ΤΕΛΙΚΗ ΕΚΔΟΣΗ
   ========================================= */

.ch-dir-letters{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;        /* μία γραμμή σε μεγάλες οθόνες */
    gap: 36px;                /* μικρό κενό μεταξύ γραμμάτων */
    margin: 0 0 46px;
    padding: 0;
    background: transparent !important;
}

/* Γράμματα + Α-Ω */
.ch-dir-letter,
.ch-dir-letter-all{
	 font-size: 22px !important;   /* αύξηση μεγέθους */
    font-weight: 400 !important;  /* έντονα */
	position: relative;
    padding: 0 6px;            /* λίγο πιο άνετο */
	font-family: "Noto Sans", sans-serif;
    color: #000 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* ΑΚΥΡΩΝΟΥΜΕ οποιοδήποτε παλιό στιλ κουμπιού */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 4px !important;

    font-family: "Noto Sans", sans-serif;
    font-weight: 400;         /* έντονα */
    font-size: 18px;
    color: #000 !important;   /* μαύρα, με προτεραιότητα */
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.15s ease;
}

/* Κάθετη γραμμή ανάμεσα στα γράμματα */
.ch-dir-letter::after,
.ch-dir-letter-all::after{
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: #d0d0d0;
}

/* Στο τελευταίο στοιχείο (Α-Ω) δεν θέλουμε γραμμή */
.ch-dir-letters > *:last-child::after{
    display: none;
}

/* Hover / active σε teal, χωρίς background */
.ch-dir-letter:hover,
.ch-dir-letter-all:hover,
.ch-dir-letter.active,
.ch-dir-letter-all.active{
    color: #1e7c72 !important;
}

/* ===== RESPONSIVE ΓΙΑ ΚΙΝΗΤΑ / TABLET ===== */
@media (max-width: 768px){
    .ch-dir-letters{
        flex-wrap: wrap;      /* επιτρέπουμε 2 γραμμές */
        gap: 8px;
    }

    .ch-dir-letter,
    .ch-dir-letter-all{
        font-size: 16px;
    }
}

/* =========================================
   ΜΟΝΤΕΡΝΟ SEARCH ΚΑΤΩ ΑΠΟ ΤΑ ΓΡΑΜΜΑΤΑ
   ========================================= */

.ch-dir-search-bar{
    max-width: 520px;
    margin: 26px auto 32px;
}

.ch-dir-search-inner{
    position: relative;
}

.ch-dir-search-icon{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #1e7c72;
    font-size: 0; /* δεν φαίνεται κανένας χαρακτήρας */
}

/* "λαβή" του μεγεθυντικού φακού */
.ch-dir-search-icon::after{
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: #1e7c72;
    right: -4px;
    bottom: -1px;
    transform: rotate(45deg);
}

.ch-dir-search-input{
    width: 100%;
    padding: 10px 16px 10px 50px;    /* χώρος για το icon */
    border-radius: 999px;
    border: 1px solid #ccd5da;
    background: rgba(255,255,255,0.82);
    font-size: 15px;
    color: #000;
    outline: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    backdrop-filter: blur(6px);
}

.ch-dir-search-input::placeholder{
    color: #9aa1a7;
}

.ch-dir-search-input:focus{
    border-color: #1e7c72;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

/* =========================================
   ΛΙΣΤΑ ΕΙΔΙΚΟΤΗΤΩΝ – 3 ΣΤΗΛΕΣ
   ========================================= */

.ch-dir-list{
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 28px;
    background: transparent !important;
}

/* Κάθε group γράμματος (στήλη) */
.ch-dir-group{
    position: relative;
    padding-left: 32px;
    background: transparent !important;
}

/* Γράμμα (Α, Β, Γ) μέσα στη στήλη, αριστερά */
.ch-dir-letter-heading{
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    font-weight: 700;
    color: #b6bcc5;
    margin: 0;
}

/* Λίστα ειδικοτήτων κάτω από κάθε γράμμα */
.ch-dir-group ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Γραμμές ειδικοτήτων */
.ch-dir-item{
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px solid rgba(230,235,236,0.7);
}

.ch-dir-item:last-child{
    border-bottom: none;
}

.ch-dir-item a{
    text-decoration: none;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    display: block;
    transition: color 0.15s ease, transform 0.15s ease;
}

.ch-dir-item a:hover{
    color: #1e7c72;
    transform: translateX(3px);
}

/* =========================================
   RESPONSIVE GRID
   ========================================= */

/* Tablet: 2 στήλες */
@media (max-width: 1024px){
    .ch-dir-list{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
}

/* Mobile: 1 στήλη */
@media (max-width: 768px){
    .ch-dir-list{
        grid-template-columns: 1fr;
    }
    .ch-dir-group{
        padding-left: 26px;
    }
}

/* =========================================
   ΟΡΙΖΟΝΤΙΑ ΓΡΑΜΜΗ ΑΝΑ ΓΡΑΜΜΑ (GROUP)
   ========================================= */

/* Το γράμμα-κεφαλίδα (Α, Β, Γ...) */
.ch-dir-letter-heading{
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #b6bcc5;
    margin: 0;
}

/* Το UL που περιέχει τις ειδικότητες του γράμματος */
.ch-dir-group ul{
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(230,235,236,0.9);
}

/* Στο πρώτο group δεν θέλουμε γραμμή */
.ch-dir-list > .ch-dir-group:first-child ul{
    border-top: none;
}

/* =========================================
   ΓΡΑΜΜΗ ΠΑΝΩ ΑΠΟ ΤΗΝ ΠΡΩΤΗ ΕΙΔΙΚΟΤΗΤΑ ΚΑΘΕ ΓΡΑΜΜΑΤΟΣ
   ========================================= */


.ch-dir-group .ch-dir-item:first-child{
    border-top: 2px solid #036C5F;  /* πράσινη γραμμή CityHospital */
    padding-top: 10px;
}

