/* ==================================================
   RADIO SAMOS - ΔΙΑΦΗΜΙΣΗ ΑΡΧΙΚΗΣ
   Σταθερό 300x250 + crop μέσα στο πλαίσιο
   ================================================== */

.home-ad-slot {
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
}

/* Ένδειξη ΔΙΑΦΗΜΙΣΗ */
.home-ad-slot::before {
    content: "ΔΙΑΦΗΜΙΣΗ";
    display: block;

    margin: 0 0 7px;

    color: #999;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-align: center;
}


/* ==================================================
   ΤΟ ΠΡΑΓΜΑΤΙΚΟ ΠΛΑΙΣΙΟ
   Αυτό είναι το .field__item που είδαμε στο Inspect
   ================================================== */

.home-ad-slot .field--name-body.field__item {
    width: 100%;
    height: 250px;

    margin: 0;
    padding: 0;

    overflow: hidden !important;

    border-radius: 9px;

    position: relative;
    box-sizing: border-box;
}


/* Αν ο CKEditor βάλει link γύρω από την εικόνα */
.home-ad-slot .field--name-body.field__item > a {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-radius: inherit;
}


/* ==================================================
   Η ΙΔΙΑ Η ΕΙΚΟΝΑ
   ================================================== */

.home-ad-slot .field--name-body.field__item img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: none !important;

    border: 0 !important;
    border-radius: 0 !important;
}


/* Προαιρετικό ελαφρύ zoom στο hover,
   αλλά ΠΑΝΤΑ μέσα στο πλαίσιο */
.home-ad-slot .field--name-body.field__item:hover img {
    transform: scale(1.05) !important;
}


/* Mobile */
@media (max-width: 767px) {

    .home-ad-slot {
        max-width: 300px;
    }

    .home-ad-slot .field--name-body.field__item {
        height: auto;
        aspect-ratio: 300 / 250;
    }
}