ul#filters .btn--filter {
    background-color: #f7f7f7;
    border-radius: 0;
    font-size: 0.8em;
}
ul#filters .btn--filter:hover {
    background-color: #7fb0d6;
    color: #fff;
}
ul#filters .btn--filter:has(.active) {
    background-color: #0061ae;
    color: #fff;
}

.polecani-lista .portfolio .expert__item {
    background-color: #f7f7f7;
    padding: 1em;
    border-top: 5px solid #ccc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
}
.polecani-lista .portfolio p {
    margin-bottom: 0.3em;
}
.polecani-lista .portfolio .expert__item:hover {
    background-color: #fafafa;
    border-top-color: #0061ae;
}
.polecani-lista .portfolio .expert__name {
    font-weight: 900;
    font-size: 1em;
    margin-bottom: 0.5em;
}
.polecani-lista .portfolio .expert__address {
    line-height: normal;
    font-size: 0.8em;
}
.polecani-lista .portfolio .expert__voivodeship {
    text-transform: uppercase;
    font-size: 0.6em;
    font-weight: 600;
    background-color: #eee;
    padding: 2px;
    display: inline-block;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
.polecani-lista .portfolio .expert__phone {
    margin-top: 0.3em;
    font-weight: 600;
}
.polecani-lista .portfolio .expert__email {
    margin-top: 0.3em;
    font-size: 0.8em;
}
.polecani-lista .portfolio .expert__www {
    margin-top: 0.3em;
    font-size: 0.8em;
}
.polecani-lista .portfolio .expert__phone a {
    display: flex;
    align-items: center;
}
.polecani-lista .portfolio .expert__email a {
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-items: center;
    text-decoration: underline;
}
.polecani-lista .portfolio .expert__www a {
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-items: center;
    font-size: 0.8em;
    font-weight: 600;
}
.polecani-lista .portfolio .expert__demo {
    background-color: #fff;
    margin-top: 10px;
}
.polecani-lista .portfolio .expert__demo .produkty-demo {
    text-transform: uppercase;
    font-size: 0.6em;
    font-weight: 600;
    margin-left: 5px;
    margin-right: 5px;
}
.polecani-lista .portfolio img.ikona {
    width: 20px;
    display: inline-block;
    margin-right: 5px;
    opacity: 0.5;
}
.polecani-lista .portfolio .expert__realiz {
    display: flex;
    align-items: center;
}
.polecani-lista .portfolio .expert__phone a:before {
    background: url("https://projekty.vidis.pl/assets/img/icons/addr-phone.svg");
}
.polecani-lista .portfolio .expert__email a:before {
    background: url("https://projekty.vidis.pl/assets/img/icons/addr-email.svg");
}
.polecani-lista .portfolio .expert__www a:before {
    background: url("https://projekty.vidis.pl/assets/img/icons/addr-www.svg");
}
.polecani-lista .portfolio .expert__phone a:before,
.polecani-lista .portfolio .expert__email a:before,
.polecani-lista .portfolio .expert__www a:before {
    content: "";
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-right: 5px;
    opacity: 0.5;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.polecani-lista .portfolio .expert__phone a:hover:before,
.polecani-lista .portfolio .expert__email a:hover:before,
.polecani-lista .portfolio .expert__www a:hover:before {
    opacity: 1;
}

/* Przycisk mapy na dole */
.polecani-lista .portfolio .expert__map {
    margin-top: 0.5em;
}

.polecani-lista .portfolio .expert__map .btn {
    width: 100%;
}

@media (max-width: 767.98px) {
    .polecani-lista .portfolio .expert__item {
        font-size: 1.4em;
    }
}
