
/*
Theme Name: Apace Child
Description: Tema copil pentru Convorbiri Duhovnicești
Author: Convorbiri Duhovnicești
Version: 1.0
Template: apace
Text Domain: apace-child
*/

/* CONVORBIRI DUHOVNICESTI - ANTET COMPACT */

.apa-header-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .apa-header-image img {
        max-height: 90px;
    }
}

/* HEADER COMPACT - CONVORBIRI DUHOVNICESTI */

#masthead {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.apa-header-main-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.apa-header-image {
    margin: 0 !important;
    padding: 5px 0 !important;
}

.apa-header-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .apa-header-image img {
        max-height: 70px;
    }
}

/* SLIDESHOW - IMAGINI COMPLETE, FARA DECUPARE */
.home .cd-lpg-slider {
    margin-top: -45px !important;
}

.home .cd-lpg-slider .cd-lpg-slide-image,
.home .cd-lpg-slider .cd-lpg-slide-no-image {
    width: 100% !important;
    height: 230px !important;
    max-height: 230px !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 767px) {
    .home .cd-lpg-slider {
        margin-top: -30px !important;
    }

    .home .cd-lpg-slider .cd-lpg-slide-image,
    .home .cd-lpg-slider .cd-lpg-slide-no-image {
        height: 190px !important;
        max-height: 190px !important;
        object-fit: contain !important;
    }
}


/* SPATIU REDUS INTRE SLIDESHOW SI ARTICOLE */

.home .cd-lpg-slider {
    margin-bottom: -45px !important;
}

.home .cd-lpg-wrap {
    margin-top: -15px !important;
    padding-top: 0 !important;
}

.home .cd-lpg-grid {
    margin-top: 0 !important;
}

.home .entry-content > p:empty {
    display: none !important;
}
/* APROPIEREA ARTICOLELOR DE SLIDESHOW */
.home .cd-lpg-grid {
    position: relative !important;
    top: -40px !important;
    margin-bottom: -40px !important;
}
