html,
body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: transparent;
}

* {
    box-sizing: border-box;
}

.badge {
    width: 100%;
    min-height: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    justify-content: center;
    padding: 18px 18px 16px;
    background: #ffffff;
    border-radius: 16px;
}

.mini-badge {
    position: relative;
    display: grid;
    gap: 8px;
    align-content: start;
    color: #0d1b3d;
}

.mini-badge,
.mini-badge__org-name {
    color: #0d1b3d;
}

.mini-badge__org-name {
    margin-right: 104px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mini-badge__logo {
    opacity: .4;
    position: absolute;
    top: 2px;
    right: 0;
    width: 92px;
    height: 14px;
}

.mini-badge__logo:hover {
    opacity: .8;
}

.mini-badge__rating-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 0;
}

.mini-badge__stars-count {
    font-size: 42px;
    line-height: .95;
    margin-right: 0;
    font-weight: 700;
    color: #0d1b3d;
}

.mini-badge__stars {
    margin-bottom: 4px;
}

.mini-badge__stars,
.stars-list {
    width: 88px;
}

.mini-badge__rating {
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    color: #66718c;
}

.mini-badge__rating:hover,
.mini-badge__org-name:hover {
    color: #1a6df2;
}

.badge__form {
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(48, 111, 230, 0.08);
    border: 1px solid rgba(48, 111, 230, 0.12);
}

.badge__form._without-comments {
    margin-bottom: 0;
}

.badge__form-text {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #0d1b3d;
    white-space: normal;
}

.badge__link-to-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: #306fe6;
    color: #fff;
    box-shadow: 0 12px 24px rgba(48, 111, 230, 0.18);
}

.badge__link-to-map:hover {
    background: #285fd0;
    color: #fff;
}

.badge__comments {
    display: none !important;
}

.badge__more-reviews-link-wrap {
    display: none !important;
}

.comment {
    display: none !important;
}

.mini-badge__rating,
.badge__link-to-map,
.badge__form-text {
    text-rendering: optimizeLegibility;
}

@media (max-width: 767.98px) {
    .badge {
        padding: 16px;
    }

    .mini-badge__org-name {
        margin-right: 96px;
        font-size: 18px;
    }

    .mini-badge__stars-count {
        font-size: 38px;
    }

    .badge__form {
        padding: 12px 14px;
    }

    .badge__link-to-map {
        width: 100%;
    }
}
