html {
    scroll-padding-top: 80px;
}

.site-main {
    font-family: "Nunito", Sans-serif;
    background-color: #F9FAFD;
    padding-top: 20px;
}

.kama_breadcrumbs {
    color: #7688a7;
    font-size: 12px;
    line-height: 140%;
    font-weight: 600;
    line-height: 120%;
    text-decoration: none;
    padding-bottom: 80px;
}

.breadcrumbs-container a {
    color: rgba(118,136,167,.5);
    padding: 5px 0;
    font-size: 12px;
    line-height: 140%;
    font-weight: 600;
    line-height: 120%;
    text-decoration: none;
}

.breadcrumbs-container .kb_sep {
    color: rgba(118,136,167,.5);
}

/* Related articles */
.related-articles {
    position: relative;
    max-width: 100%;
}

.related-articles__title {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.articles-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.articles-container::-webkit-scrollbar {
    display: none;
}

.articles-container .post,
.articles-container .page {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(23,49,143,.06);
    border-radius: 12px;
    border: 1px solid #c7d1f6;
    color: #001434;
    max-width: 370px;
}

.entry-meta {
    display: grid;
    grid-template-columns: 1fr 100px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.author-byline {
    margin-right: 5px;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    align-items: center;
}

.author-byline .avatar {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.author-byline .url {
    font-size: 16px;
    color: #000;
    text-decoration: none;
}

.posted-on {
    text-align: right;
}

.post-thumbnail__wrapper {
    position: relative;
}

.post-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(23,49,143,.05), 0 0 1px rgba(23,49,143,.25);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.cat-links {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cat-links a {
    font-size: 12px;
    padding: 5px 8px;
    border-width: 1px;
    border-radius: 5px;
    font-weight: 600;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(23,49,143,.05), 0 0 1px rgba(23,49,143,.25);
    background: #fff;
    border-color: #2d4eed;
    color: #2d4eed;
    text-decoration: none;
}

.cat-links a + a {
    margin-left: 10px;
}

.entry-title a {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    margin: 20px 0;
    color: #001434;
    text-decoration: none;
}

.entry-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(40,87,161,.06);
}

.entry-footer__link {
    width: 100%;
    border: 2px solid #dfe6f5;
    box-shadow: 0 4px 10px rgba(23,49,143,.05), 0 0 1px rgba(23,49,143,.25);
    background: #fff;
    color: #001434;
    display: inline-block;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 13px 30px;
    min-width: -moz-fit-content;
    min-width: fit-content;
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
    text-decoration: none;
    transition: border .3s,color .3s,background-color .3s,background-image .3s,box-shadow .3s;
    cursor: pointer;
}

.entry-footer__link:hover {
    box-shadow: 0 6px 20px rgba(23,49,143,.2), 0 0 1px rgba(23,49,143,.2);
}

@media screen and (min-width: 768px) {
    .related-articles__title {
        font-size: 46px;
    }

    .entry-title a {
        font-size: 22px;
    }

    .entry-footer__link {
        font-size: 16px;
    }
}

@media screen and (min-width: 992px) {
    .entry-title a {
        font-size: 24px;
    }

    .articles-container {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 30px;
    }
}

/* Main article */
.article-header {
    padding: 30px 0 30px;
}

.article-header .post-thumbnail__wrapper {
    display: none;
}

.article-header__text .cat-links {
    position: relative;
    left: 0;
}

.article-title {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 700;
}

.article-content__wrapper {
    border-bottom: 1px solid rgba(40,87,161,.06);
    padding: 20px 0;
    display: block;
}

.article-content {
    font-size: 14px;
}

.article-content a {
    color: #0f75ff;
    text-decoration: none;
}

.article-content h1,
.article-content h2 {
    font-size: 26px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h3,
.article-content h4 {
    margin-top: 20px;
    font-size: 20px;
}

.article-content ul, 
.article-content ol {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 14px;
    padding-left: 25px;
}

.article-content ul li::marker, 
.article-content ol li::marker {
    color: #2d4eed;
}

@media screen and (min-width: 768px) {
    .article-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .article-header .post-thumbnail__wrapper {
        display: block;
    }

    .article-header .post-thumbnail {
        max-width: 440px;
        width: 100%;
    }

    .article-title {
        font-size: 40px;
    }

    .article-content h1,
    .article-content h2 {
        margin-top: 40px;
        font-size: 34px;
    }

    .article-content h3,
    .article-content h4 {
        font-size: 26px;
    }

    .article-content ul, 
    .article-content ol {
        margin-top: 40px;
        margin-bottom: 40px;
        font-size: 16px;
    }
}

@media screen and (min-width: 992px) {
    .article-header {
        padding: 30px 0 50px;
        display: grid;
        grid-template-columns: minmax(440px,auto) minmax(200px,670px);
        grid-gap: 60px;
        gap: 60px;
    }
    
    .article-title {
        font-size: 52px;
    }

    .article-content__wrapper {
        padding: 60px 0;
        display: grid;
        grid-template-columns: minmax(440px,auto) minmax(200px,670px);
        align-items: start;
        grid-gap: 60px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content h1,
    .article-content h2 {
        font-size: 46px;
    }

    .article-content h3,
    .article-content h4 {
        font-size: 32px;
    }
}

/* TOC */
.article-content__toc {
    max-width: 370px;
    border: 1px solid #c7d1f6;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(23,49,143,.06);
    padding-bottom: 20px;
}

.toc__list-title {
    position: relative;
    padding: 10px 30px 10px;
    color: #7688a7;
    font-size: 12px;
    line-height: 136%;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.toc__list-title::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    height: 1px;
    bottom: 0;
    background-color: #c7d1f6;
}

.toc__list {
    position: relative;
    padding: 10px 0 20px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

.toc__item {
    padding: 5px 30px;
    transition: color .25s;
}

.toc__link {
    color: inherit;
    text-decoration: none;
}

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

}

@media screen and (min-width: 992px) {
    .article-content__toc {
        position: -webkit-sticky;
        position: sticky;
        top: 130px;
        z-index: 1;
    }

}

/* Article meta */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 10px;
    box-shadow: 0 4px 15px rgba(23,49,143,.06), inset 0 4px 10px #fff, 0 0 1px rgba(49,89,227,.25);
    border: 1px solid hsla(0,0%,100%,.8);
    background-color: hsla(0,0%,100%,.8);
    border-radius: 12px;
    position: relative;
}

.article-meta .author-byline {
    flex-grow: 0;
    display: flex;
    align-items: center;
    margin-right: 60px;
    width: 100%;
    margin-bottom: 20px;
}

.article-meta .avatar {
    width: 40px;
    height: 40px;
}

.article-meta__accent {
    color: #2d4eed;
    margin-right: 10px;
}

.article-meta__separator {
    margin: 0 20px;
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #cdd6ff;
    border-radius: 50%;
}

.article-meta__footer {
    margin-top: 60px;
    margin-bottom: 10px;
    font-size: 14px;
}

.article-meta__footer + .article-meta__footer {
    margin-top: 0;
}

.article-meta__footer > span {
    width: 100%;
}

.article-meta__footer .article-meta__accent {
    margin-left: 10px;
    margin-right: 0;
}

.article-meta__footer--dates {
    gap: 30px;
}

.article-meta__footer--dates .article-meta__accent {
    display: block;
    margin-left: 0;
}

.article-meta__footer--author {
    flex-wrap: wrap;
    justify-content: flex-start
}

.article-meta__footer--author .author-byline {
    margin-right: 20px;
    margin-bottom: 0;
    width: fit-content;
}

.authors__link {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(23,49,143,.05), 0 0 1px rgba(23,49,143,.25);
    background: #fff;
    border-color: #2d4eed;
    color: #2d4eed;
}

.authors__link:hover {
    box-shadow: 0 6px 20px rgba(77,105,250,.2);
}

.article-meta__footer span.article-meta__footer-separator {
    display: block;
    width: 100%;
    height: 1px;
    margin: 25px 0 20px;
    background: #eef0f9;
}

.authors__more {
    display: inline-block;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 13px 30px;
    min-width: -moz-fit-content;
    min-width: fit-content;
    font-size: 16px;
    line-height: 150%;
    font-weight: 700;
    line-height: 140%;
    text-decoration: none;
    transition: border .3s,color .3s,background-color .3s,background-image .3s,box-shadow .3s;
    cursor: pointer;
    background: #fff;
    color: #001434;
    border: 2px solid #dfe6f5;
    box-shadow: 0 4px 10px rgba(23,49,143,.05), 0 0 1px rgba(23,49,143,.25);
    width: auto;
}

@media screen and (min-width: 768px) {
    .article-meta {
        padding: 30px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .article-meta .author-byline {
        width: auto;
        margin-bottom: 0;
    }

    .article-meta__footer {
        font-size: 16px;
    }

    .article-meta__footer > span {
        width: fit-content;
    }

    .article-meta__footer--dates .article-meta__accent {
        display: inline;
        margin-left: 10px;
    }

    .article-meta__footer--author {
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 992px) {
}

/* CTA */
.cta-order {
    padding: 30px;
    background-image: linear-gradient(314.65deg,#9665fd -.61%,#65b4fd);
    border-radius: 8px;
    margin-top: 30px;
}

.cta-order__text {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
    margin-bottom: 15px;
}

.cta-order__btn {
    display: inline-block;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 13px 30px;
    min-width: -moz-fit-content;
    min-width: fit-content;
    font-size: 14px;
    line-height: 150%;
    font-weight: 700;
    line-height: 140%;
    text-decoration: none;
    transition: border .3s,color .3s,background-color .3s,background-image .3s,box-shadow .3s;
    cursor: pointer;
    width: auto;
    background: linear-gradient(180deg,#ffd643,#ffbc43);
    box-shadow: 0 4px 10px rgba(255,206,83,.5);
    color: #001434;
    margin-top: 1.875rem;
}

.cta-order__btn:hover {
    box-shadow: 0 6px 20px rgba(255,206,83,.2);
}

@media screen and (min-width: 768px) {
    .cta-order__text {
        font-size: 24px;
    }

    .cta-order__btn {
        font-size: 16px;
    }
}

@media screen and (min-width: 992px) {
}
