/*
 * Layout fixes made during the move to the new server (October 2026), loaded after style.v30.css.
 * Kept separate so style.v30.css stays as it was deployed.
 */

/* Hero shortcut bar: the first and last items were col-lg-1 (half width, no divider). Give all 7 equal width and a divider. */
@media all and (min-width: 992px){
    section.hero .bottom-shortcut .row > div{
        flex: 1 1 0;
        max-width: none;
    }
    section.hero .bottom-shortcut .row > div:not(:last-child):after{
        content: '';
        width: 1px;
        height: 46px;
        position: absolute;
        background: #fff;
        right: 0;
        top: 14px;
        opacity: 0.6;
    }
}

/* Filter dropdowns (localities, zones): the box was a float generated after the text, so long labels
   such as "Complex Studentesc" pushed it to the next line under the check mark. Pin it to the left instead. */
.filtre .dropdown .dropdown-localitati ul li input[type="checkbox"] + label,
.filtru-localitati .dropdown .dropdown-localitati ul li input[type="checkbox"] + label{
    display: inline-block;
    padding-left: 30px;
    min-height: 22px;
    line-height: 22px;
}
.filtre .dropdown .dropdown-localitati ul li input[type="checkbox"] + label:after,
.filtru-localitati .dropdown .dropdown-localitati ul li input[type="checkbox"] + label:after{
    position: absolute;
    float: none;
    left: 0;
    top: 1px;
    margin-right: 0;
}
.filtre .dropdown .dropdown-localitati ul li input[type="checkbox"]:checked + label:before,
.filtru-localitati .dropdown .dropdown-localitati ul li input[type="checkbox"]:checked + label:before{
    left: 0;
    top: 0;
    line-height: 22px;
}

/* No gap between the newsletter band and the footer. */
section.newsletter{
    margin-bottom: 0;
}
section.newsletter + footer{
    margin-top: 0;
}
