@media (max-width: 767.98px) {
    section.c-08-brand-cards .filters-wrap {
        overflow-x: scroll;
        height: 48px;
        position: absolute;
        top: 25px;
        left: 20px;
        z-index: 1;
        width: 100%;
    }
}

section.c-08-brand-cards .brands-filters {
    display: flex;
    margin-bottom: 30px;
}

@media (max-width: 767.98px) {
    section.c-08-brand-cards .brands-filters {
        position: absolute;
        top: 0;
        height: 40px;
        left: 0;
        padding-right: 30px;
    }
}

section.c-08-brand-cards .brands-filters .btn {
    margin-right: 10px;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    word-break: keep-all;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    section.c-08-brand-cards .brands-filters .btn::before {
        display: none !important;
    }
}

section.c-08-brand-cards .brands-filters .btn.active {
    color: rgb(255, 255, 255);
    background: #00A94F;
    border-color: #00A94F;
}

section.c-08-brand-cards .brands-filters .btn:hover {
    color: #00A94F !important;
    background: transparent;
    border-color: #00A94F;
}

section.c-08-brand-cards .brands-filters .btn:hover.active {
    color: rgb(255, 255, 255) !important;
    background: #00A94F !important;
    border-color: #00A94F !important;
}

@media (min-width: 992px) {
    section.c-08-brand-cards .brands-filters .btn:hover {
        color: rgb(255, 255, 255) !important;
        background: #00A94F;
        border-color: #00A94F;
    }
}

section.c-08-brand-cards .brands-filters .btn i {
    display: none !important;
    margin-left: 9px;
    line-height: 1;
    transform: translate(0, 1px);
}

section.c-08-brand-cards .brands-filters .btn.active i {
    display: inline-block !important;
}

section.c-08-brand-cards .brand-row {
    transition: opacity 0.12s ease;
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brand-row {
        max-width: 75%;
        margin: 0 auto;
    }
}

section.c-08-brand-cards .brand-row a:hover {
    text-decoration: none !important;
}

section.c-08-brand-cards .brand-post {
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    margin: 0 auto;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brand-post {
        width: 45%;
    }
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brand-post {
        width: 31.5%;
        margin: 0 auto 2vw;
    }
}

section.c-08-brand-cards .brandbox {
    margin-bottom: 75%;
    height: 100%;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox {
        margin-bottom: 62%;
    }
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brandbox {
        margin-bottom: 70%;
    }
}

@media (min-width: 3840px) {
    section.c-08-brand-cards .brandbox {
        margin-bottom: 40%;
    }
}

section.c-08-brand-cards .brandbox:hover .brandbox-img img {
    transform: scale(1.1) !important;
}

section.c-08-brand-cards .brandbox:hover .brandbox-link {
    text-decoration: underline !important;
}

section.c-08-brand-cards .brandbox-top {
    position: relative;
    height: 60%;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox-top {
        height: 50%;
    }
}

@media (min-width: 1024px) {
    section.c-08-brand-cards .brandbox-top {
        height: 70%;
    }
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brandbox-top {
        height: 50%;
    }
}

@media (min-width: 1266px) {
    section.c-08-brand-cards .brandbox-top {
        height: 60%;
    }
}

@media (min-width: 1720px) {
    section.c-08-brand-cards .brandbox-top {
        height: 78%;
    }
}

@media (min-width: 1920px) {
    section.c-08-brand-cards .brandbox-top {
        height: 85%;
    }
}

section.c-08-brand-cards .brandbox-btm {
    padding: 0 30px 30px;
    margin-top: -30px;
    display: flex;
    flex-direction: column;
    background: #F8F8F8;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox-btm {
        height: 23.8888888889rem;
    }
}

@media (min-width: 2560px) {
    section.c-08-brand-cards .brandbox-btm {
        height: 28rem;
    }
}

section.c-08-brand-cards .brandbox-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* padding-bottom: 76.5%; */
}

section.c-08-brand-cards .brandbox-img img {
    transition: transform 0.3s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section.c-08-brand-cards .brandbox-logo {
    background: rgb(255, 255, 255);
    transform: translate(0, -25%);
    max-width: calc(60% - 20px);
    padding: 30px;
    display: flex;
    align-items: center;
    padding: 0;
    aspect-ratio: 16/10;
    position: relative;
    z-index: 1;
}

@media (max-width: 1199.98px) {
    section.c-08-brand-cards .brandbox-logo {
        max-width: calc(70% - 20px);
    }
}

section.c-08-brand-cards .brandbox-logo img {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    object-fit: contain;
    position: absolute;
    left: 60px;
    top: 60px;
    margin-left: -30px;
    margin-top: -30px;
}

@media (max-width: 1399.98px) {
    section.c-08-brand-cards .brandbox-logo img {
        width: calc(100% - 50px);
        height: calc(100% - 40px);
        left: 55px;
        top: 50px;
    }
}

section.c-08-brand-cards .brandbox-title {
    font-size: 1.3888888889rem;
    font-weight: 700;
    color: #1D2B44 !important;
    margin-bottom: 24px;
    text-decoration: none !important;
}

@media (max-width: 1399.98px) {
    section.c-08-brand-cards .brandbox-title {
        font-size: 1.366667rem;
    }
}

section.c-08-brand-cards .brandbox-text {
    color: #1D2B44 !important;
    text-decoration: none !important;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5555555556rem;
    margin: 0;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox-text {
        max-height: 10.8888888889rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 720px) and (max-width: 991.98px) {
    section.c-08-brand-cards .brandbox-text {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    section.c-08-brand-cards .brandbox-text {
        margin-bottom: 0.5rem;
    }
}

section.c-08-brand-cards .brandbox-link {
    display: inline-block;
    margin-top: auto;
}