/**
 * Theme Name: KeyStone
 * Author: SynapseTeam
 * Version: 1.0
**/
body:not(.page-template-tmpl-home) .header {
    background-color: #fff;
    margin-bottom: 145px;
}
body:not(.page-template-tmpl-home) .header h1 {
    line-height: 100px;
}
.header {
    transition: all .3s ease;
}
body.scroll-site .header {

}
body.scroll-site.scroll-down .header{
    transform: translateY(-120%);
}
body.scroll-site.scroll-up .header{
    transform: translateY(0);
    padding: 0 .625rem;
    background-color: #fff;
    box-shadow: 0px 4px 4px -6px rgba(0, 0, 0, 0.54);
    -webkit-box-shadow: 0px 4px 4px -6px rgba(0, 0, 0, 0.54);
    -moz-box-shadow: 0px 4px 4px -6px rgba(0, 0, 0, 0.54);
}
body.scroll-site.scroll-up  .header__logo .cls-1 {
    fill: #0091ea;
}
body.scroll-site.scroll-up .header__logo .cls-2 {
    fill: #000;
}

body.scroll-site.scroll-up .header__logo .cls-3{
     fill: #031033;
}
body.scroll-site.scroll-up .header__menu li>a{
    color: #000;
}
body.scroll-site.scroll-up .header__menu li>a.button{
    color: #fff;
}
body.scroll-site.scroll-up .header__menu li>a.button:hover{
    color: #000;
}
body.scroll-site.scroll-up .menu-icon {
    color: #000;
}
.inner-posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    row-gap: 24px;
    column-gap: 24px;
}
.title-page-ks {
    margin-bottom: 62px;
}
.loop-item {
    position: relative;
    transition: color 0.3s ease;
}
.loop-item__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}
.loop-item .post-thumbnail {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 100%;
}
.loop-item .post-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.833;
    object-position: top;
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: all 0.3s ease;
}
.loop-item:hover .post-thumbnail img{
    transform: scale(1.05);
}
.loop-item .post-thumbnail .category-items {
    position: absolute;
    top: 24px;
    left: 18px;
    display: flex;
    gap:8px;
    flex-wrap: wrap;

}
.loop-item .post-thumbnail .category-items .category-loop-post {
    padding: 10px 14px;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: var(--text-cat-color);
    background-color: var(--background-cat-color);
    border-radius: 28px;
    text-decoration: none;

}
.loop-item .post-info {
    display: flex;
    flex-direction: column;
    padding: 23px 24px 22px;
    background-color: #F6F8FB;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 100%;
    
}
.loop-item .post-info h2 { 
    font-size: 16px;
    font-weight: 500;
    color: #031033;
    margin-bottom: 28px;
    transition: color 0.3s ease;
}
.loop-item .post-info h2:hover {
    color: #0091EA;
}
.loop-item .post-info p {
    font-size: 16px;
    font-weight: 300;
    color: #031033;
    line-height: 22px;
    margin-bottom: 23px;
}
.loop-item .post-info .post-learn-more {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #0091EA;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}
.loop-item .post-info .post-learn-more:hover {
    opacity: .8;
}

.single-post-title {
    max-width: 80%;
    margin-bottom: 78px;
}
.single-post-image {
    width: 100%;
    margin-bottom: 78px;
}
.single-post-image img {
    width: 100%;
    height: 800px;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;

}
.inner-container {
    display: flex;
}
.sidebar-post {
    position: relative;
    max-width:450px;
    width: 100%; 
}
.post-content .button.button-outline {
    background-color: #fff;
    color: #0091EA;
    border-color: #0091EA;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 22px 30px;
    border-width: 2px;
    border-radius: 40px;
}
.post-content .button.button-outline:hover {
    background-color: #0091EA;
    color: #fff;
}
.inner-post-content {
    max-width: 799px;
}
.single-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 39px;
}
.single-post-meta a {
    font-weight: 500;
    font-size: 18px;
    position: relative;
    padding-left: 39px;
    color: #0091EA;
    text-decoration: none;
}
.single-post-meta a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    display: block;
    border-radius: 12px;
    background-color: #0091EA;
}
.single article {
    margin-bottom: 5.629rem;
}

article p {
    font-size: 18px;
    line-height: 24px;
    color: #5D6E90;
    margin-bottom: 36px;
}
article blockquote {
    font-size: 18px;
    line-height: 24px;
    font-family: Roboto, serif;
    padding: 0 0 22px 22px;
    border-left: 1px solid #0091EA;
    margin-bottom: 65px;
}
article blockquote p {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    font-family: Roboto, serif;
    color: #0091EA;
}
article blockquote p strong {
    font-size: 18px;
    line-height: 24px;
    font-weight: inherit;
    margin-bottom: 36px;
    display: inline-block;
}
article blockquote em {
    font-weight: 400;
    font-style: normal;
}
article .wp-block-image {
    margin-bottom: 104px;
}
article .wp-block-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
}
article .wp-block-list {
    margin-bottom: 82px;
}
article .wp-block-list li{
    position: relative;
    padding-left: 23px;
    color: #031033;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 6px;
}
article .wp-block-list li:last-child {
    margin-bottom: 0;
}
article ul.wp-block-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: 4px;
    display: block;
    border-radius: 12px;
    background-color: #0091EA;
}
article ol.wp-block-list {
    margin-left: 18px;
}
article ol.wp-block-list li {
    padding-left: 5px;
}
article ol.wp-block-list li::marker {
    color: #0091EA;
}
article .wp-block-heading {
    color: #0091EA;
    position: relative;
    margin-bottom: 39px;
    padding-left: 39px;

}
article .wp-block-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    display: block;
    border-radius: 12px;
    background-color: #0091EA;
}
.post-text-content {
    margin-bottom: 127px;
}
.share-linkedin-button {
    display: flex;
    align-items: center;
    padding: 17px 22px;
    border: 2px solid #0091EA;
    border-radius: 10px;
    background-color: #fff;
    color: #0091EA;
    font-size: 16px;
    text-decoration: none;
    width: fit-content;;
}
.share-linkedin-button span {
    margin-right: 72px;
}
.share-linkedin-button:hover{
    background-color: #0091EA;
    color: #fff;
}
.share-linkedin-button:hover path {
    fill: #fff;
}
body:not(.home) .header .menu-icon{
    color: #031033;
}
body.menu-open .header .menu-icon{
    color: #fff;
}
body:not(.page-template-tmpl-home).menu-open .header__logo .cls-2{
    fill: #fff;
}
body:not(.page-template-tmpl-home).menu-open .header__logo .cls-3{
    fill: #fff;
}
.title-page-ks {
    border-bottom: 1px solid #0091EA;
    padding-bottom: 61px;
}
.section-filter-blog {
    margin-bottom: 160px;
}
.section-filter-blog .inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.section-filter-blog .inner-container .item {
    width: 50%;
    display: flex;
}
.section-filter-blog  .wrapper-text {
    width: 65%;
}
.section-filter-blog  .wrapper-text p {
    font-size: 30px;
    font-weight: 200;
    line-height: 38px;
}
.section-filter-blog .ready__part{
    font-size: 16px;
}
.text-choose-cat {
    padding: 62px 0 52px;
}
.select-category-dropdown {
    margin-left: auto;
    margin-right: 10%;
}
body:not(.home) .main-content {
    margin-bottom:7.815rem;
}
.dropdon-category-ks {
    position: relative;
    width: 234px;
   
}
.dropdon-category-ks  .selected-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 31px;
    font-size: 16px;
    color: #0091EA;
    width: 100%;
    border:2px solid #0091EA;
    border-radius: 50px;
    cursor: pointer;
    background-color: #fff;
}
.dropdon-category-ks .content-dropdown {
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    
}
.dropdon-category-ks .content-dropdown .category-list {
    padding: 16px;
}
.dropdon-category-ks .content-dropdown .category-list li {
    padding: 5px 0;

}
.dropdon-category-ks .content-dropdown .category-list li a {
    text-decoration: none;
}
.dropdon-category-ks .content-dropdown svg {
    transition: all 0.3s ease;
}
.dropdon-category-ks.show-dropdown  .content-dropdown {
    height: auto;
    visibility: visible;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
    opacity: 1;
}
.dropdon-category-ks.show-dropdown .selected-item svg{
   transform: rotate(180deg);
}
.logos .container {
    padding-left: 92px;
    padding-right: 0;
    max-width: 100%;
}
.main-contact .learn {
    padding: 5.1875rem 0 6.875rem;
    
}
.wpcf7-not-valid-tip {
    margin-top: 8px;
}
.video-section {
    position: relative;
    z-index: 2;
}
.video-section iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    touch-action: none;
    position: relative;
    z-index: -1;
}

@media (max-width: 1400px) {
    .logos .container{
        padding-left: 4.5rem;
    }
}
@media (max-width: 1200px) {
    body:not(.page-template-tmpl-home) .header {
        margin-bottom: 0px;
    }
    body:not(.home) .main-content {
        margin-top: 10.625rem;
    }
    .single-post-image img {
        height: 600px;
    }
}
@media (max-width: 1024px) {
    .menu-icon {
        top: -.875rem;
        font-size: 14px;
    }
    .header__menu--mobile .top {
        padding: 0;
    }
    .header__menu li {
        margin: 0;
    }
    .header__menu--mobile .form {
        margin-top: .0;
    }
    .header__menu--mobile {
        padding-top: 7.875rem;
    }
    /* .header {
        padding: 28px .625rem;
    } */
    .header__logo img, .header__logo svg {
        max-width: 176px;
    }
    .header__menu .top-bar.mobile-top-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }
    .header__menu .top-bar.mobile-top-menu li a {
        font-size: 14px;
        line-height: 1;
        padding: 45px 0;
        color: #fff;
    }
    .header__menu--mobile .form .name {
        font-size: 33px;
    }
    .header__menu--mobile .form .text {
        font-size: 14px;
    }
    .header__menu--mobile .form form {
        margin-top: 30px;
    }
    .header__menu--mobile .form input {
        font-size: 12px;
        padding: 22px 1.25rem;
    }
    .header__menu--mobile{
        height: calc((var(--vh, 1vh) * 100));
    }
    .title-page-ks {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
    .text-choose-cat{
        padding: 32px 0;
    }
    .section-filter-blog {
        margin-bottom: 60px;
    }

    #scroll-container {
        max-height: initial;
    }
    .single-post main {
        margin-top: 11.625rem;
    }

    .single-post-title {

        font-size: 2.0625rem;
    
    }
    .wp-block-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .post-content .button.button-outline{
        font-size: 16px;
        padding: 17px 22px;
    }
    .inner-container {
        flex-direction: column;
    }
    .section-filter-blog .inner-container {
        flex-direction: row;
    }
    .section-filter-blog .wrapper-text{
        width: 90%;
    }
    .button-case-study {
        margin-bottom: 24px;
    }
    .logos {
        overflow: hidden;
    }
    .footer__bottom--inner {
        flex-wrap: wrap;
    }
    .footer__top--right {
        width: 100%;
    }
    .footer__top--inner {
        flex-direction: column;
    }
}
@media(max-width: 992px) {
   .single-post-image img {
        height: 400px;
    }
    .sticky-wrapper {
        position: static!important;
    }
}
@media (max-width: 900px) {
    .ready__block{
        width: 100%;

    }
    .footer__top {
        flex-direction: column;
    } 
}
@media (max-width: 890px) {
    .loop-item .post-thumbnail {

        height: auto;
    }
    .loop-item .post-info {
        height: auto;
    }
}
@media (max-width: 767px) {
    .single-post main {
        margin-top: 6.625rem;
    }
    .single-post-image {
        margin-bottom: 24px;
    }
    .section-filter-blog .inner-container {
        flex-direction: column;
    }
    .section-filter-blog .inner-container .item {
        width: 100%;

    }
    .section-filter-blog .wrapper-text {
        margin-bottom: 24px;
    }
    .select-category-dropdown{
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 640px) {
    #scroll-container {
        max-height: initial;
    }
    .main-contact .learn  {
        padding: 3.7875rem 0 3.375rem;
    }
    .inner-posts-list {
        grid-template-columns: 1fr;
    }
    .dropdon-category-ks .selected-item {
        padding: 15px 20px;
    }
}
@media (max-width: 575px) {
    .logos .container{
        padding-left: 2.5rem;
    }
    .single-post-image img {
        height: 300px;
    }
}