.overview-cards {
    --real-estate: #99C80C;
    --corporate: #ff0084;
    --finance: #9870ff;
    --other-departments: #bababf;
    --in-house: #ea5a53;
}

.overview-cards.sector--real-estate .overview-cards__content .title{
    color: var(--real-estate);
}

.overview-cards.sector--corporate .overview-cards__content .title{
    color: var(--corporate);
}

.overview-cards.sector--finance .overview-cards__content .title{
    color: var(--finance);
}

.overview-cards.sector--other-departments .overview-cards__content .title{
    color: var(--other-departments);
}

.overview-cards.sector--in-house .overview-cards__content .title{
    color: var(--in-house);
}


@media(min-width: 1300px) {
    .overview-cards .container{
        max-width: 1400px !important;
    }
}

@media(min-width: 960px) {
    .overview-cards .container{
        max-width: none; !important;
        width: 90% !important
    }
}

.overview-cards .slick-slide {
    margin: 18px;
}

.overview-cards__content {
	text-align: center
}
.overview-cards__content h1.title {
	margin-bottom: 0
}

@media (min-width: 1024px) {
	.overview-cards__content p.standfirst {
		max-width: 80%;
		margin-left:auto;
		margin-right:auto;
	}
}

.overview-cards .overview-cards__info-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 25px 20px;
}

.overview-cards .overview-cards__info-boxes.overview-cards__info-boxes--x2{
    max-width: calc((285px * 2) + 20px);
}

.overview-cards .overview-cards__info-boxes.overview-cards__info-boxes--x3{
    max-width: calc((285px * 3) + 40px);
}

.overview-cards .overview-cards__info-boxes.overview-cards__info-boxes--x4{
    max-width: calc((285px * 4) + 60px);
}

.overview-cards:has(.overview-cards__content) .overview-cards__info-boxes {    
	margin-top: 50px;
}

.overview-cards .banner-key-info-box {
	background-color: #FFF;
    box-shadow: 0px 3px 12px #00000019;
    border-radius: 10px;
    padding: 30px 25px 35px 25px;
	text-decoration: none;
	color: var(--dark-blue, #01245c);
    transition: 0.5s all ease-in-out;
}

.overview-cards .banner-key-info-box-pretitle {
	font-size: 20px;
	margin: 0 0 4px;
}

.overview-cards .banner-key-info-box .button {
	font-size: 15px;
    font-weight: 400;
	display: flex;
	align-items: center;
    border-radius: 10px;
    padding: 10px 25px;
    margin: auto;
}


.overview-cards .banner-key-info-box .button.sector--real-estate{
    border: 1px solid var(--real-estate);
    color: var(--real-estate);
}

.overview-cards .banner-key-info-box .button.sector--corporate{
    border: 1px solid var(--corporate);
    color: var(--corporate);
}

.overview-cards .banner-key-info-box .button.sector--finance{
    border: 1px solid var(--finance);
    color: var(--finance);
}

.overview-cards .banner-key-info-box .button.sector--other-departments{
    border: 1px solid var(--other-departments);
    color: var(--other-departments);
}

.overview-cards .banner-key-info-box .button.sector--in-house{
    border: 1px solid var(--in-house);
    color: var(--in-house);
}

.overview-cards .row{
    display: flex; 
    flex-direction: column;
    align-items: center
}

.overview-cards .banner-key-info-box{
    position: relative;
    display: grid !important;
    gap: 20px;
    grid-template-columns: 100%;
    grid-template-rows: 1fr;
    position: relative;
    width: 285px;
}

.overview-cards .banner-key-info-box{
    overflow: hidden;
}

.overview-cards .banner-key-info-box-title{
    position: relative;
    z-index: 2;
    text-align: center;
    align-items: center;
    max-width: 170px;
    margin: auto;
}

.overview-cards__info-boxes__icon{
    width: 70px;
    height: auto;
    position: absolute;
    right: 25px;
    bottom: 20px;
}

.overview-cards .banner-key-info-box .button.sector--real-estate:hover{
    background-color: #789F06;
    border-color: #789F06;
    color: white;
}

.overview-cards .banner-key-info-box .button.sector--corporate:hover{
    background-color: #E00074;
    border-color: #E00074;
    color: white;
}

.overview-cards .banner-key-info-box .button.sector--finance:hover{
    background-color: #7350CC;
    border-color: #7350CC;
    color: white;
}

.overview-cards .banner-key-info-box .button.sector--other-departments:hover{
    background-color: #99999F;
    border-color: #99999F;
    color: white;
}

.overview-cards .banner-key-info-box .button.sector--in-house:hover{
    background-color: #D14B44;
    border-color: #D14B44;
    color: white;
}


@media only screen and (max-width:1250px) {

    .overview-cards .banner-key-info-box .button {
        padding: 12px 30px;
    }
}

@media only screen and (min-width: 769px) {

    .overview-cards__info-boxes--mobile{
        display: none;
    }
}

@media only screen and (max-width: 1180px) {
    .overview-cards .banner-key-info-box {
        width: calc(50% - 12.5px);
    }
}

@media only screen and (max-width: 768px) {
    .overview-cards .banner-key-info-box{
        width: 100%;   
    }
}

@media only screen and (max-width: 768px) {
    
    .overview-cards__content h1.title {
        margin-bottom: 28px;
    }
    
    .overview-cards .row{
        display: flex; 
        flex-direction: column;
    }
    
    .overview-cards__info-boxes--mobile .banner-key-info-box-title{
        margin: 0;
    }
    
    .overview-cards .container{
        width: 95%;    
    }
    
	.overview-cards .overview-cards__info-boxes {
		flex-direction: column;
	}
	.overview-cards .banner-key-info-box {
		width: 100%;
		margin: 10px 0;
        display: flex;
        flex-direction: column;
		min-height: 0;
        gap: 15px;
        justify-content: center;
	}
      
    
    .overview-cards .overview-cards__info-boxes{
        display: none;
    }
    
    
    .overview-cards__info-boxes--mobile{
        display: grid;
        grid-template-columns: 100%;
    }
    
    .overview-cards__info-boxes--mobile .banner-key-info-box-title{
        font-size: 18px;
        line-height: 26px;
        letter-spacing: 0px;
        text-transform: none;
        font-family: Mulish, sans-serif;
        font-style: normal;
        font-weight: 700;
        text-decoration: none;
        width: 100%;
        max-width: none;
    }
   
}