.brands-table * {
    margin: 0;
    padding: 0
}

.brands-table__head {
    display: none
}

.brands-table {
    font-family: Montserrat, sans-serif;
    width: 100%;
    margin: 16px 0;
    border: none !important
}

.brands-table__body {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.brands-table__item {
    border-radius: 2px;
    border: 1px solid #f5f5f5;
    overflow: hidden
}

.brands-table__item:nth-of-type(-n+3) {
    border: 1px solid #17425d
}

.brands-table__item:nth-of-type(-n+3) .bt-item__rank {
    background: #e10000;
    color: #fff
}

.bt-item__list ul, .list-reset {
    list-style: none
}

.bt-item {
    display: grid;
    grid-template-columns:34px 245px 385px 1fr;
    grid-template-rows:auto;
    grid-gap: 16px;
    align-items: center;
    padding: 16px;
    background: #fff
}

@media (max-width: 900px) {
    .brands-table__body {
        flex-direction: row;
        flex-wrap: wrap
    }

    .bt-item {
        width: calc(50% - 8px);
        grid-template-columns:repeat(2, auto);
        grid-template-rows:repeat(3, auto);
        grid-template-areas:"rank rank" "rating rating" "bonus bonus" "link link"
    }

    .bt-item__rank {
        grid-area: rank
    }

    .bt-item__rating {
        grid-area: rating
    }

    .bt-item__bonus {
        grid-area: bonus
    }

    .bt-item__link {
        grid-area: link
    }
}

@media (max-width: 700px) {
    .bt-item {
        width: 100%
    }
}

.bt-item__rank {
    font-weight: 500;
    font-size: 14px;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -16px 0 -16px -16px;
    background: #f5f5f5;
    color: #17425d;
    border: none !important
}

.bt-bonus__title, .bt-item__name, .bt-item__rt-val {
    font-weight: 500;
    color: #000
}

.bt-item__rating {
    display: flex;
    align-items: center;
    border: none;
    padding: 0 !important;
    gap: 16px
}

.bt-item__bonus, .bt-item__link {
    border: none !important;
    padding: 0 !important
}

.bt-item__logo {
    min-width: 80px
}

.bt-item__logo img {
    width: 100px;
    object-fit: contain;
	height: auto;
}

.bt-item__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px
}

.bt-item__name {
    font-size: 18px;
    line-height: 26px;
    flex: 1 0 100%;
    text-align: center
}

.bt-item__rt-val {
    font-size: 14px;
    line-height: 16px
}

.bt-item__rt-stars {
    letter-spacing: 3px;
    font-size: 16px;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
    background: linear-gradient(90deg, #ffbf00 var(--rating), #abb7c0 var(--rating));
    -webkit-background-clip: text
}

.bt-item__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.bt-bonus {
    width: auto;
    background: #f5f5f5;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2px
}

.bt-bonus:first-of-type {
    border-right: 1px solid #c8c8c8
}

@media (max-width: 900px) {
    .bt-item__rank {
        margin: -16px -16px 0;
        padding: 4px !important;
        max-width: none !important
    }

    .bt-item__rating {
        flex-direction: column;
        gap: 16px
    }

    .bt-item__block {
        flex-direction: column
    }

    .bt-bonus:first-of-type {
        border-right: none;
        border-bottom: 1px solid #c8c8c8
    }
}

.bt-bonus__title {
    font-size: 14px;
    line-height: 140%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px
}

.bt-bonus__value {
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: #282556;
    text-align: center
}

.bt-link, .news-card__desc_title {
    font-size: 16px;
    line-height: 24px
}

.bt-bonus__value_dashed {
    border: 1px dashed #43483e;
    padding: 5px 16px;
    border-radius: 2px
}

.bt-bonus__icon {
    display: inline-block;
    width: 14px;
    aspect-ratio: 1/1;
    background: center center/100% no-repeat
}

.bt-bonus__icon_bonus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='15' height='15' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.8 7.4v6.7H2.2V7.4m5.3 6.7v-10m0 0h-3a1.7 1.7 0 0 1 0-3.3c2.3 0 3 3.3 3 3.3Zm0 0h3a1.7 1.7 0 1 0 0-3.3C8.2.8 7.5 4 7.5 4Zm-6.7 0h13.4v3.3H.8V4.1Z' stroke='%2317425D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e")
}

.bt-bonus__icon_promocode {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='18' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m10 1.9 1.1 1c.3.3.6.5 1 .5h1.5a1.4 1.4 0 0 1 1.5 1.4v1.5c0 .4.1.8.4 1l1 1.1a1.4 1.4 0 0 1 0 2l-1 1.1c-.3.3-.4.7-.4 1v1.6a1.4 1.4 0 0 1-1.5 1.4h-1.5c-.4 0-.7.2-1 .4L10 17a1.4 1.4 0 0 1-2 0l-1.1-1c-.3-.3-.6-.5-1-.5H4.3A1.4 1.4 0 0 1 3 14.1v-1.5c0-.4-.1-.8-.4-1l-1-1.2a1.4 1.4 0 0 1 0-2l1-1c.3-.3.4-.7.4-1V4.7a1.4 1.4 0 0 1 1.4-1.4H6c.4 0 .7-.2 1-.5l1-1a1.4 1.4 0 0 1 2.1 0Z' stroke='%2317425D' stroke-width='1.5' stroke-miterlimit='10'/%3e%3cpath d='m12.2 7.5-4.1 4-2.3-2.3' stroke='%2317425D' stroke-width='1.5' stroke-miterlimit='10'/%3e%3c/svg%3e")
}

.bt-link {
    font-weight: 500;
    min-width: 200px;
    text-align: center;
    color: #444;
    border: 1px solid #e10000;
    border-radius: 8px;
    padding: 10px;
    text-decoration: none
}

.bt-link_bg {
    background: #e10000;
    color: #fff!important;
    padding: 10px;
    border-radius: 8px
}
.header_btns {
	display: flex;
	gap: 16px;
	align-items: center
}

.hfg_header {
		display: flex;
	justify-content: space-between;
	margin: 0 32px;
}

.button {
	padding: 10px!important;
	    max-height: 48px;
}
