.brands {
    background-color: #F3F6F9;
    padding: 5.5rem 0;
}

.brands-container {
    width: min(1840px, calc(100% - 40px));
    margin: 0 auto;
}

.brands-container .title-wrapper {
    margin: 0;
    margin-bottom: 4rem;
    color: #0055A6;
    font-weight: 700;
    font-size: 4.2rem;
    text-align: center;
}

.brands-wrapper {
    /* display: flex; */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6.9rem;
}

.single-brand {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 2px 4px 0px #00000040;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    /* height: 520px; */
}

.single-brand .image-wrapper {
    width: 272px;
    height: 71px;
    margin: 0 auto;
}

.single-brand .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-brand .text-wrapper {
    margin-top: 4.9rem;
    margin-bottom: 2rem;
}

.single-brand .text-wrapper p {
    margin: 0;
    font-size: 3.2rem;
	text-align: center;
}

.single-brand .button-wrapper {
    margin-top: auto;
}

.single-brand .button-wrapper a {
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 3.2rem;
    color: #fff;
    text-align: center;
    display: table;
    margin: 0 auto;
}

@media (max-width: 1600px) {
    .single-brand .text-wrapper br {
        display: none;
    }
}

@media (max-width: 1200px) {
    .single-brand .text-wrapper p {
        font-size: 2.5rem;
    }
}

@media (max-width: 1023px) {
    .brands-wrapper {
        grid-template-columns: minmax(0, 1fr);
		gap: 0;
    }
	
	.single-brand {
		padding: 0;
	}
	
	.single-brand .image-wrapper {
		margin-top: 2rem;
	}
	
	.single-brand .button-wrapper {
		margin-bottom: 2rem;
	}
}