.cbc-services {
    color: #004079;
    overflow: hidden;
}
.cbc-services__hero {
    align-items: flex-end;
    background-image: linear-gradient(180deg, rgba(0, 38, 80, .08), rgba(0, 38, 80, .4)), var(--services-hero);
    background-position: center;
    background-size: cover;
    display: flex;
    min-height: 560px;
    padding: 0 ;
}
.cbc-services__hero h1 {
    color: #fff;
    font-size: clamp(42px, 9vw, 92px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: .9;
    margin: 0 auto;
    text-transform: uppercase;
}
.cbc-services__business {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1180px;
}
.cbc-services__business-title {
    color: #004079;
    font-size: 32pt;
    font-weight: 800;
    padding: 44px 36px;
}
.cbc-services__business-copy {
    color: #65839d;
    font-size: 16pt;
    grid-column: span 2;
    line-height: 1.4;
    padding: 38px 44px;
}
.cbc-services__business-card {
    background: #fff;
    border: 1px solid #d9e2eb;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 500px;
    overflow: hidden;
    padding: 30px 28px;
    position: relative;
    text-decoration: none;
}
.cbc-services__business-card h2 {
    color: #004079;
    font-size: 18pt;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
    position: relative;
    transition: color .25s ease;
    z-index: 2;
}
.cbc-services__business-card.has-hover-image::before {
    background-image: var(--service-card-image);
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: scale(1.04);
    transition: opacity .25s ease, transform .35s ease;
    z-index: 1;
}
.cbc-services__business-card.has-hover-image::after {
      background: linear-gradient(360deg, rgba(0, 60, 115, 0.42) 0%, rgba(0, 60, 115, 0.32) 28%, rgba(0, 60, 115, 0) 100%);
    bottom: 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    transition: opacity .25s ease;
    z-index: 1;
}
.cbc-services__business-card.has-hover-image:hover::before {
    opacity: 1;
    transform: scale(1);
}
.cbc-services__business-card.has-hover-image:hover::after {
    opacity: 1;
}
.cbc-services__business-card.has-hover-image:hover h2 {
    color: #fff;
}
/* 
.cbc-services__business-card.is-visual span {
    align-items: center;
    background: #dff3fb;
    border-radius: 50%;
    bottom: 90px;
    display: flex;
    height: 54px;
    justify-content: center;
    left: 28px;
    position: absolute;
    width: 54px;
} */
.cbc-services__business-card.is-visual span::before {
    background: #004079;
    border-radius: 50%;
    content: "";
    height: 5px;
    width: 5px;
}
.cbc-services__operation {
    background: #004079;
    color: #fff;
}
.cbc-services__operation-header {
    align-items: start;
    display: grid;
    gap: 50px;
    grid-template-columns: minmax(300px, 480px) minmax(0, 100%);
    margin: 0 auto;
    max-width: 1180px;
    padding: 58px 36px;
}
.cbc-services__operation-header h2 {
    color: #fff;
    font-size: 32pt;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}
.cbc-services__operation-header p {
    color: #fff;
    font-size: 18pt;
    line-height: 1.4;
    margin: 0;
}
.cbc-services__operation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1180px;
}
.cbc-services__operation-grid article,
.cbc-services__operation-grid a {
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, .16);
    display: flex;
    min-height: 595px;
    overflow: hidden;
    padding: 0 22px 34px;
    position: relative;
    text-decoration: none;
}
.cbc-services__operation-grid h3 {
    color: #fff;
    font-size: 18pt;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
    position: relative;
    z-index: 2;
}
.cbc-services__operation-grid .has-hover-image::before {
    background-image: var(--operation-image);
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: scale(1.04);
    transition: opacity .25s ease, transform .35s ease;
    z-index: 1;
}
.cbc-services__operation-grid .has-hover-image::after {
  background: linear-gradient(360deg, rgba(0, 60, 115, 0.42) 0%, rgba(0, 60, 115, 0.32) 28%, rgba(0, 60, 115, 0) 100%);
    bottom: 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    transition: opacity .25s ease;
    z-index: 1;
}
.cbc-services__operation-grid .has-hover-image:hover::before,
.cbc-services__operation-grid .has-hover-image:hover::after {
    opacity: 1;
}
.cbc-services__operation-grid .has-hover-image:hover::before {
    transform: scale(1);
}
.cbc-services__design {
    align-items: flex-end;
    background-image: linear-gradient(180deg, rgba(0, 64, 121, .02) 0%, rgba(0, 64, 121, .08) 58%, rgba(0, 64, 121, .52) 100%), var(--design-image);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    min-height: 560px;
    padding: 0;
}
.cbc-services__design h2 {
    color: #fff;
    font-size: clamp(34px, 6vw, 70px);
    font-weight: 400;
    letter-spacing: 0;
    margin: 0 0 8px;
}
.cbc-services__design h1 {
    color: #fff;
    font-size: clamp(34px, 6vw, 70px);
    font-weight: 400;
    letter-spacing: 0;
    margin: 0 0 8px;
}
.cbc-services__design p {
    color: #fff;
    font-size: 12px;
    margin: 0;
}
.cbc-services-detail {
    padding-bottom: 70px;
}
.cbc-service-detail-page .site-header {
    display: none;
}
.cbc-services-detail__hero {
    background-position: center;
    margin: 0 auto;
    /* max-width: 790px; */
    min-height: 565px;
    position: relative;
}
.cbc-services-detail__back {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    left: 36px;
    padding-left: 22px;
    position: absolute;
    text-decoration: none;
    top: 34px;
    z-index: 2;
}
.cbc-services-detail__back::before {
    content: "<";
    font-size: 24px;
    font-weight: 300;
    left: 0;
    line-height: 1;
    position: absolute;
    top: -5px;
}
.cbc-services-detail__hero-copy {
    margin-bottom: 66px;
    padding: 0 40px;
    width: 100%;
}
.cbc-services-detail__hero-copy h1 {
    font-size: clamp(42px, 5.3vw, 66px);
    line-height: 1;
    margin: 0 0 16px;
}
.cbc-services-detail__hero-copy p {
    font-size: 13px;
    font-weight: 700;
    max-width: 470px;
}
.cbc-services-detail__scroll {
    bottom: 34px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding-left: 34px;
    position: absolute;
    right: 38px;
}
.cbc-services-detail__scroll::before {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
    height: 13px;
    left: 0;
    position: absolute;
    top: 0;
    transform: rotate(45deg);
    width: 13px;
}
.cbc-services__delivery {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 2.2fr;
    grid-template-rows: 280px 300px;
    margin: 0 auto;
    /* max-width: 1180px; */
    min-height: 580px;
    position: relative;
}
.cbc-services-detail .cbc-services__delivery {
    grid-template-columns: 1.15fr .9fr 2.45fr;
    /* max-width: 790px; */
}
.cbc-services-detail .cbc-services__delivery-card {
    padding-left: 34px;
    padding-right: 28px;
}
.cbc-services-detail .cbc-services__details {
    right: 130px;
}
.cbc-services__delivery-side {
    background-image: var(--delivery-side-image);
    background-position: left center;
    background-size: cover;
    grid-column: 1;
    grid-row: 1;
}
.cbc-services__delivery-card {
    background: #5cbce8;
    color: #fff;
    grid-column: 2;
    grid-row: 1;
    padding: 44px 34px;
}
.cbc-services__delivery-card span,
.cbc-services__delivery-card h2 {
    color: #fff;
    display: block;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}
.cbc-services__delivery-card span {
    font-size: 28px;
    margin-bottom: 18px;
}
.cbc-services__delivery-card h2 {
    font-size: 18px;
    line-height: 1.1;
}
.cbc-services__delivery-card div {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    height: 22px;
    margin: 66px auto 0;
    transform: rotate(45deg);
    width: 22px;
}
.cbc-services__delivery--loop {
    grid-auto-rows: 280px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
}
.cbc-services__delivery--loop .cbc-services__delivery-card,
.cbc-services__delivery--loop .cbc-services__delivery-card-link {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
}
.cbc-services__delivery-card-link {
    background: #fff;
    border: 1px solid #d9e2eb;
    color: #004079;
    display: flex;
    min-height: 280px;
    overflow: hidden;
    padding: 32px 28px;
    position: relative;
    text-decoration: none;
}
.cbc-services__delivery-card-link::before {
    background-image: var(--delivery-card-image);
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: 1;
    position: absolute;
    transform: scale(1);
    transition: opacity .25s ease, transform .35s ease;
    z-index: 1;
}
.cbc-services__delivery-card-link::after {
    background: linear-gradient(0deg, rgba(0, 60, 115, .45) 0%, rgba(0, 60, 115, .18) 48%, rgba(0, 60, 115, 0) 100%);
    bottom: 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 1;
}
.cbc-services__delivery-card-link h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    margin: auto 0 0;
    position: relative;
    z-index: 2;
}
.cbc-services__delivery-card-link:hover::before {
    transform: scale(1.04);
}
.cbc-services__delivery--loop .cbc-services__building {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 300px;
}
.cbc-services__delivery--loop .cbc-services__mark {
    grid-column: 3 / 5;
    grid-row: auto;
    min-height: 600px;
}
.cbc-services__delivery-image {
    background-image: var(--delivery-image);
    background-position: center;
    background-size: cover;
    grid-column: 3;
    grid-row: 1;
}
.cbc-services__building {
    grid-column: 1 / 3;
    grid-row: 2;
    min-height: 300px;
    overflow: hidden;
}
.cbc-services__building img {
    display: block;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.cbc-services__mark {
    color: rgba(0, 64, 121, .04);
    font-size: 360px;
    font-weight: 800;
    grid-column: 3;
    grid-row: 2;
    line-height: .75;
    overflow: hidden;
    text-align: right;
}
.cbc-services__details {
    align-items: center;
    border: 1px solid #004079;
    bottom: 78px;
    color: #004079;
    display: inline-flex;
    font-size: 9px;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    position: absolute;
    right: 130px;
    text-decoration: none;
    text-transform: uppercase;
    width: 110px;
}
.cbc-services-detail__content {
    color: #004079;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 1180px;
    padding: 56px 36px;
}
.cbc-services-detail__content img {
    height: auto;
    max-width: 100%;
}
.cbc-services-detail__related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto 64px;
    max-width: 1180px;
}
@media (max-width: 900px) {
    .cbc-services__business,
    .cbc-services__operation-grid,
    .cbc-services__delivery {
        grid-template-columns: 1fr 1fr;
    }
    .cbc-services__business-copy {
        grid-column: span 1;
    }
    .cbc-services__operation-header {
        gap: 24px;
        grid-template-columns: 1fr;
        padding: 44px 24px;
    }
    .cbc-services__delivery {
        grid-template-rows: repeat(3, minmax(220px, auto));
    }
    .cbc-services__delivery--loop {
        grid-template-columns: 1fr 1fr;
    }
    .cbc-services-detail__hero {
        min-height: 460px;
    }
    .cbc-services__delivery-image {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    .cbc-services__building {
        grid-column: 1 / 3;
        grid-row: 3;
    }
    .cbc-services__delivery--loop .cbc-services__building {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    .cbc-services__delivery--loop .cbc-services__mark {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 300px;
    }
    .cbc-services__mark {
        display: none;
    }
    .cbc-services__details {
        bottom: 34px;
        right: 32px;
    }
}
@media (max-width: 767px){
    .cbc-services__business-copy {
    padding: 0 25px;
}
.cbc-services__business-title {
    padding: 25px;
    padding-bottom: 0;
}
.cbc-services__business-card{min-height: 200px;}
.cbc-services__business-card.has-hover-image::after{opacity: 1}
.cbc-services__business-card.has-hover-image::before {
    opacity: 1;
}
.cbc-services__operation-grid article,
.cbc-services__operation-grid a {
    min-height: 195px;
}
.cbc-services__operation-grid .has-hover-image::before {
    opacity: 1;
}
}
@media (max-width: 560px) {
    .cbc-services__hero,
    .cbc-services__design {
        min-height: 300px;
        padding-left: 22px;
        padding-right: 22px;
    }
    .cbc-services-detail__hero {
        padding-left: 0;
        padding-right: 0;
    }
    .cbc-services-detail__back {
        left: 22px;
        top: 24px;
    }
    .cbc-services-detail__hero-copy {
        margin-bottom: 58px;
        padding: 0 22px;
    }
    .cbc-services-detail__scroll {
        bottom: 24px;
        left: 22px;
        right: auto;
    }
    .cbc-services__business,
    .cbc-services__operation-grid,
    .cbc-services__delivery {
        grid-template-columns: 1fr;
    }
    .cbc-services__business-copy,
    .cbc-services__delivery-side,
    .cbc-services__delivery-card,
    .cbc-services__delivery-card-link,
    .cbc-services__delivery-image,
    .cbc-services__building {
        grid-column: 1;
    }
    .cbc-services__delivery--loop .cbc-services__building,
    .cbc-services__delivery--loop .cbc-services__mark {
        grid-column: 1;
    }
    .cbc-services__delivery-image {
        grid-row: 3;
    }
    .cbc-services__building {
        grid-row: 4;
    }
}
