/* Main nav changes */
@media screen and (min-width: 1024px) {
    .header.header-new .header-wrap .container {
        margin: 0 20px;
    }
}  

@media (min-width: 1200px) {
    .header.header-new .header-wrap .container {
        margin: 0 118px;
    }
} 

@media screen and (min-width: 1024px) and (max-width: 1400px) {
    .header.header.header-new .nav > ul > li.nav-button {
        margin-top: -3px;
    }


    .header.header.header-new .nav-button .btn {
        min-width: 68px;
        font-size: 14px;
    }

    .header.header.header-new .nav-button .btn:after {
        display: none;
    }

    .header.header-new .nav > ul > li > a.btn {
        padding: 4px 0;
    }

    .header.header.header-new .nav > ul > li {
        margin-left: 15px;
    }

    .header.header.header-new .nav > ul > li > a {
        font-size: 16px;
    }

  .header.header.header-new .nav > ul > li > a:before {
left: -13px;
height: 20px;
top: 1px;
}

.header.header.header-new .nav > ul > li:hover > a:before {
    left: -7px;
}
}
/* End Main nav changes */

/* Blog landing page changes */
.blog-landing-filter .blog-landing-filter-buttons a::before {
    transition: width 1s, padding .5s;
    padding-right: 0px;
    width: 0;
    opacity: 0;
    content: "";
    display: inline-block;
    height: 17px;
}

.blog-landing-filter .blog-landing-filter-buttons a:hover::before {
    opacity: 1;
    transition: width 1s, padding-right .5s, opacity 1s;
}

@media screen and (min-width: 800px) {
    
    .blog-landing-card-content h3,.blog-landing-card-content p, .blog-landing-card-content a {
        max-width: 648px;
    }
}

.blog-landing-category-mobile::before {
    background-position-x: 8px;
    background-position-y: 8px
}

.blog-landing-cards .blog-landing-cards-button-container {
    display: flex;
    justify-content: center;
}

/* End Blog landing page changes */

/* Blog article page changes */
@media screen and (max-width: 1040px) {
    .article-detail-header-img {
        position: fixed;
        z-index: -1;
        height: 561px;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    .article-detail-header-img div {
        background-attachment: unset;
    }
    .article-detail-header {
        margin-top: 561px;
    }
    .article-detail-header div, .article-detail-author-card .article-detail-author-card-container {
        margin-top: 0;
        margin-bottom: -1px;
        padding-top: 40px;
        padding-bottom: 20px;
    }
    .article-detail-header, .article-detail-rich-text, .article-detail-author-card, .industry-insights {
        background-color: #fff;
    }
    .article-detail-rich-text div {
        margin-top: -1px;
        padding-bottom: 20px;
    }
    p.article-detail-header-date {
        display: block;
    }
}
.article-detail-rich-text h2 {
    margin: 40px 0;
}
@media (max-width: 767px) {
    .article-detail-rich-text h2 {
        margin: 35px 0 30px;
        font-size: 38px;
    }
}
.article-detail-rich-text h3 {
    margin: 37px 0 18px;
}
@media (max-width: 767px) {
    .article-detail-rich-text h3 {
        font-size: 26px;
        margin: 15px 0;
    }
}
.article-detail-rich-text h4 {
    font-family: "Catamaran", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin: 10px 0;
}
@media (max-width: 767px) {
    .article-detail-rich-text h4 {
        margin: 15px 0;
    }
}
.article-detail-rich-text ul {
    margin: 0 40px;
}
.article-detail-rich-text ul li:first-child {
    padding-top: 5px;
}
.article-detail-rich-text ul li {
    font-weight: 400;
    font-size: 19px;
    padding: 5px 0 5px 20px;
    position: relative;
}
.article-detail-rich-text ul li::before {
    top: 12px;
    left: 0;
    position: absolute;
    width: 7px;
    height: 7px;
}
.article-detail-rich-text blockquote {
    padding: 40px 80px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    margin: 60px 0;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
}
.article-detail-rich-text blockquote:before {
    content: '';
    height: 100%;
    width: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: rotate(180deg);
    background: linear-gradient(180deg, #000979 6.41%, #FF2445 43.78%, #FF5400 68.55%, #FF7800 90.35%, rgba(255, 41, 22, 0.33516) 90.36%, rgba(2, 17, 118, 0.19684) 90.37%, #FF7800 90.38%);
}
.article-detail-rich-text blockquote p {
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    max-width: 720px;
    font-family: "Catamaran", Arial, Helvetica, sans-serif;
    background: linear-gradient(90.14deg, #FF2445 0%, #FF7800 78.42%);
    background-clip: text;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    width: 100%;
}
.article-detail-rich-text blockquote span {
    display: block;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 4px;
}
.article-detail-rich-text blockquote span:before {
    content: '';
    display: inline-block;
    height: 1px;
    width: 30px;
    background-color: #121035;
    margin: 0 5px 6px 0;
}
/* End Blog article page changes */
/* Why Card component changes */
.why-card {
    overflow: hidden;
}
.why-card-img img {
    object-fit: cover;
}
.why-card a .why-card-info {
    top: 0;
    transition: top .5s ease-in-out;
    background-color: #fff;
}
.why-card a:hover .why-card-info {
    transition: top .5s ease-in-out;
}
@media screen and (min-width: 768px) {
    .why-card a .why-card-info {
        top: 0;
        transition: top .5s ease-in-out, padding .5s ease-in-out;
        background-color: #fff;
    }
    .why-card a:hover .why-card-info {
        transition: top .5s ease-in-out, padding .5s ease-in-out;
        padding: 46px 45px 64px 54px;
    }
    .why-card a .why-card-info p {
        opacity: 0;
        display: block;
        transition: opacity .5s ease-in-out;
    }

    .why-card a:hover .why-card-info p {
        opacity: 1;
        transition: opacity .5s ease-in-out;
    }
    .why-slider-container .why-swiper-button-next {
        right: -60px;
    }
}
@media screen and (min-width: 768px) {
    .why-slider-container .why-swiper-button-next {
        right: -60px;
    }
    .why-slider-container .why-swiper-button-prev {
        left: -60px;
    }
}
@media screen and (min-width: 1024px) {
    .why-slider-container .why-swiper-button-next {
        right: -75px;
    }
    .why-slider-container .why-swiper-button-prev {
        left: -75px;
    }
}
/* End Why Card component changes */
/* Sitecore Services component */
.sitecore-services {
    position: relative;
    /* background: #f7f7fa; */
    background: linear-gradient(93.49deg, rgba(228, 227, 234, 0.8) 2.63%, rgba(255, 255, 255, 0.8) 85.16%);
}
@media screen and (width >= 1400px) {
    .sitecore-services {
        background: url(../images/thought-leadership-background-new.png) no-repeat 0 0 transparent;
    }
}

.sitecore-services__container {
    max-width: 1388px;
    margin: 0 auto;
    /*padding: 80px 40px;*/
    padding-top: 135px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 94px;
}
.sitecore-services__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    h2 {
        margin: 0;
        font-family: "romanat", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
        font-size: 70px;
        font-weight: 400;
        line-height: 88px;
        color: #100A99;
        &--secondary {
            color: green
        }
    }
}
.sitecore-services__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.sitecore-services__card {
    background-color: #fff;
    flex: 1 1 20%;
    max-width: 25%;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: default;
    min-height: 200px;
    &:after {
        content: '';
        height: 10px;
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        opacity: 0;
        background: linear-gradient(95.35deg, #000979 6.41%, #FF2445 43.78%, #FF5400 68.55%, #FF7800 90.35%, rgba(255, 41, 22, 0.33516) 90.36%, rgba(2, 17, 118, 0.19684) 90.37%, #FF7800 90.38%);
    }
    span {
        font-size: 17px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
        background: linear-gradient(95deg, #FF2445 6.41%, #FF2445 6.42%, #FF5400 48.4%, #FF7800 90.35%, rgba(255, 41, 22, 0.34) 90.36%, rgba(2, 17, 118, 0.20) 90.37%, #FF7800 90.38%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    h3 {
        font-size: 29px;
        font-style: normal;
        font-weight: 700;
        line-height: 37px;
        background: var(--Orange-Gradient, linear-gradient(90deg, #FC0404 0%, #F76300 50.05%));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-family: "Catamaran", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
        margin: 0;
    }
    @media screen and (width <= 1300px) {
        h3 {
            font-size: 20px;
            line-height: 24px;
        }
    }
    @media screen and (width >= 768px) and (width <= 899px) {
        flex: 1 1 35%;
        max-width: 50%;
        min-height: 200px;
        padding: 20px;
    }
    @media screen and (width >= 900px) and (width <= 1200px) {
        flex: 1 1 25%;
        max-width: 33%;
        min-height: 200px;
    }
    @media screen and (width <= 767px) {
        flex: 1 1 100%;
        max-width: 100%;
        min-height: 200px;
        padding: 20px;
        h3 {
            font-size: 29px;
            line-height: 36px;
        }
    }
    &.active {
        .sitecore-services__content {
            opacity: 1;
            height: 100%;
            display: flex;
            transition: opacity 1s ease-in-out;
        }
        h3, span:not(.sitecore-services__mobile-trigger) {
            display: none;
        }
        &:after {
            opacity: 1;
            transition: opacity 1s ease-in-out;
        }
    }
}
@media screen and (width >= 768px) {
    .sitecore-services__card:hover {
        padding: 0;
        &:after {
            opacity: 1;
            transition: opacity 1s ease-in-out;
        }
        .sitecore-services__content {
            display: flex;
            opacity: 1;
            height: 100%;
            transition: opacity 1s ease-in-out;
        }
        span, h3 {
            display: none;
            opacity: 0;
        }
    }
}
.sitecore-services__content {
    position: relative;
    height: 0;
    opacity: 0;
    p {
        font-size: 16px;
        margin: 0;
        padding: 40px;
        display: flex;
        align-items: center;
    }
    @media screen and (width <= 899px) {
        p {
            padding: 20px;
        }
    }
}
.sitecore-services__mobile-trigger {
    position: absolute;
    top: 18px;
    right: 15px;
    content: "";
    width: 25px;
    height: 25px;
    border: 1px solid #fa3900;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    &:before, &:after {
        position: absolute;
        top: 12px;
        right: 6px;
        content: "";
        height: 1px;
        width: 11px;
        background: #fa3900;
    }
    &:after {
        transition: opacity .3s ease-in-out;
        top: 7px;
        right: 11px;
        width: 1px;
        height: 11px;
    }
    &.active {
        &:after {
            display: none;
        }
    }
}
@media screen and (width >= 768px) {
    .sitecore-services__mobile-trigger {
        display: none;
    }
}

/* End Sitecore Services component */