.post {
    background-color: #f7f7fa;
}

.post__header {
    background: #D5D9D93D;
    padding: 80px 0;
}

.post__header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post__image {
    max-width: 577px;
    border-radius: 16px;
}

.post .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.post .breadcrumbs a {
    color: #777777;
    font-size: 14px;
    line-height: 1;
}

.post__title {
    color: #282828;
    font-size: 47px;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: 0.01em;
    max-width: 512px;
    padding: 0;
    margin: 24px 0 0 0;
}

.post__author {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: 31px;
}

.post__author:has(.author__photo--empty) {
    gap: 0;
}

.author__photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.author__photo--empty {
    width: 0;
    height: 0;
}

.author__caption {
    color: #777777;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.author__meta {
    position: relative;
}

.author__fullname {
    padding-bottom: 2px;
    color: #282828;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    margin-top: 12px;
    transition: color 0.3s;
    border-bottom: 1px dashed rgba(40, 40, 40, 0.5);
}

/*.post__header-content .author__fullname {*/
/*    text-decoration: underline;*/
/*}*/

.post__header-content .author__fullname:hover {
    cursor: pointer;
    color: #409A65;
}

.author__info {
    color: #666666;
    font-size: 13px;
    line-height: 17px;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 5px);
    /*left: 50%;*/
    left: 120px;
    transform: translateX(-50%);
    margin-top: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /*width: 245px;*/
    width: 370px;
    z-index: 100;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out;
}

.author__info::before {
    content: '';
    position: absolute;
    top: -7px;
    /*left: 50%;*/
    left: 30%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid #f9f9f9;
}

.author__fullname:hover+.author__info,
.author__info:hover {
    visibility: visible !important;
    opacity: 1 !important;
    transition: visibility 0s linear 0s, opacity 0.3s ease-in-out;
}

.post__meta--header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 39px;
}

.post .bullet {
    background-color: #828282;
    width: 4px;
    height: 4px;
    border-radius: 100%;
}

.post__category {
    color: #737475;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: lowercase;
    background-color: #d3d4d6;
    border-radius: 24px;
    padding: 8px 10px 7px 10px;
}

.post__date {
    color: #828282;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    span {
        color: rgba(40, 40, 40, 1);
    }
}

.post__reading-time {
    /*display: flex;*/
    align-items: center;
    color: #828282;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    span {
        color: rgba(40, 40, 40, 1);
    }
}

/*.post__reading-time:before {*/
/*  content: "";*/
/*  display: block;*/
/*  width: 16px;*/
/*  height: 16px;*/
/*  margin-right: 4px;*/
/*  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cg fill='%23666' clip-path='url(%23a)' opacity='.8'%3E%3Cpath d='M7.911 10.156a1.089 1.089 0 1 1 .24-2.164 1.089 1.089 0 0 1-.24 2.164Z'/%3E%3Cpath fill-rule='evenodd' d='m10.794 12.07-3.32-2.328 1.101-1.244 2.851 2.756a.516.516 0 0 1-.632.817Z' clip-rule='evenodd'/%3E%3Cpath fill-rule='evenodd' d='M6.06 1.01c0-.544.441-.984.985-.984h1.974c.544 0 .985.44.985.984v.07c0 .544-.441.984-.985.984h-.24v.803a6.542 6.542 0 1 1-1.494 0v-.803h-.24a.984.984 0 0 1-.985-.984v-.07Zm1.974 13.188a4.832 4.832 0 1 0 0-9.664 4.832 4.832 0 0 0 0 9.664Z' clip-rule='evenodd'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 .026h16v16H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");*/
/*}*/

.post__content-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1178px;
    margin: 79px auto 0;
}

.post__content-inner {
    max-width: 597px;
    padding-bottom: 31px;
}

.post__sidebar {
    max-width: 251px;
    width: 100%;
    position: relative;
}

.post__sidebar-inner {
    position: sticky;
    top: 160px;
}

.share__caption {
    display: flex;
    align-items: center;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;

    svg {
        width: 32px;
    }

    span {
        padding-top: 3px;
    }
}

.share__links {
    display: none;
    position: absolute;
    top: 45px;
    flex-direction: column;
    padding: 16px;
    background-color: white;
    gap: 16px;
    border-radius: 8px;
    z-index: 1;
}

.share__links--show {
    display: flex;
}

.share__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    line-height: 1.4;
    color: #333333;
}

.post .toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #D5D9D9;
    padding-bottom: 24px;
}

.post .toc__header-title {
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.post .toc__content {
    margin-top: 24px;
}

.post .toc__content a {
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    padding: 10px 0 10px 30px;
    position: relative;
}

.post .toc__content a::before {
    content: "•";
    font-size: 16px;
    color: black;
    display: block;
    position: absolute;
    left: 14px;
    top: 9px;
}

.post .scroll-anchor {
    top: -110px;
}

.post__content:where(p, span, a, div) {
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.01em;
}

.post__content img {
    height: auto;
    border-radius: 16px;
}

.post__content h2:first-of-type {
    margin: 0;
}

.post__content h2 {
    color: #282828;
    font-size: 31px;
    font-weight: 700;
    line-height: 39px;
    margin: 20px 0 30px;
}

.post__content h3,
.post__content h4 {
    color: #333333;
    font-size: 22px;
    font-weight: 700;
    line-height: 22px;
    margin: 31px 0 23px;
}

.post__content p:first-child,
.post__content h2:first-child,
.post__content h3:first-child,
.post__content h4:first-child {
    margin-top: 0;
}

.post__content blockquote {
    padding: 20px 0 5px 32px;
    margin: 32px 0;
    font-weight: 400;
    font-style: italic;
    border-left: 4px solid rgba(64, 154, 101, 1);
    background-color: #EAEEEA;
}

.post__content .post__quote {
    padding: 29px 24px 24px 24px;
    border-top: 5px solid #409A65;
    background-color: #EAEEEA;
    position: relative;

    h3 {
        margin: 0 0 24px 0;
        font-size: 32px;
        font-weight: 700;
        color: #282828;
        line-height: normal;
    }

    p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
        color: #333333;
    }

    .button {
        display: block;
        width: fit-content;
        margin-top: 24px;
    }

    img {
        position: absolute;
        right: 24px;
        top: 29px;
        width: 164px;
        height: 164px;
        object-fit: cover;
    }
}

.post__content .post__quote:has(img) {
    padding-right: 220px;
    min-height: 230px;
}

.post {
    .faq {
        border-top: 5px solid #409A65;
        background-color: #EAEEEA;
        margin-top: 58px;

        .container {
            padding: 29px 24px 14px 24px;

            .faq__title {
                color: #282828;
                text-align: left;
                margin: 0 0 24px 0;
            }

            .faq-row {
                margin: 0;

                .faq-item {
                    background-color: unset;
                    padding: unset;
                    border: unset;

                    .faq-header {
                        .faq-header__title {
                            color: #333333;
                            cursor: auto;
                        }

                        .plus {
                            display: none;
                        }
                    }

                    .faq-item__body {
                        max-height: unset;
                        opacity: unset;
                        padding-top: 5px;
                        padding-bottom: 10px;
                    }
                }
            }
        }
    }
}

.post__meta {
    margin-top: 47px;
    clear: both;
}

.post__meta-head {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    border-bottom: 1px solid #D5D9D980;
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.post__meta-photo {
    height: 80px;
    width: 80px;
    border-radius: 100%;
}

.post__meta-caption {
    color: #777777;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 500;
}

.post__meta-name {
    display: inline;
    color: #333333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post__meta-link {
    display: flex;
    align-items: center;
}

.post__meta-position {
    color: #777777;
    font-size: 14px;
    line-height: 1;
    padding-bottom: 4px;
    margin-top: 8px;
    font-weight: 400;
}

.post__meta-info {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #777777;
}

.glide__slides {
    padding: 20px 0px;
}


.post .cta-section {
    border-image: none;
    background: linear-gradient(90deg, rgba(64, 154, 101, 0.3) -2.05%, rgba(135, 198, 206, 0.3) 24.81%, rgba(243, 147, 37, 0.3) 56.56%, rgba(251, 207, 84, 0.3) 90%);
    padding: 90px 0 110px;
    border-top: none;
    margin-top: 80px;
}

.post .cta-section .case-study--container {
    gap: 0;
}

.post .cta-section__title,
.post .cta-section__description {
    text-align: center;
    text-wrap: balance;
    max-width: 530px;
}

.post .cta-section__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 53px;
}

.post .cta-section__description {
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.01em;
    margin-top: 24px;
}

.post .cta-section__buttons {
    margin-top: 32px;
}

.post__related-posts {
    margin-top: 102px;
}

.post__subscription.subscription {
    justify-content: center;
    border-radius: 24px;
    margin-top: 47px;
}

.post__subscription .subscription__wrapper {
    margin: 0 31px;
}

.post__subscription .subscription__icon {
    display: none;
}

.post__subscription .subscription__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}

.post__subscription .subscription__desc {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

.post__subscription .subscription__form {
    margin-top: 8px;
}

.post__subscription .subscription__email .wpcf7-form-control-wrap {
    background-color: #a5c2ad;
}

.post__subscription .subscription__privacy {
    justify-content: flex-start;
}


.related-cases h2 {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    font-weight: 700;
    color: rgb(40 40 40);
}

.related-cases h2 p {
    margin: 0;
}

.related-cases__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    padding: 0 35px;
}

.related-cases__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    margin-bottom: 20px;
}

.related-cases__item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 138px;
    min-height: 80px;
    background-color: rgb(255 255 255);
    width: 100%;
}

.related-cases__item-link {
    display: contents;
}

.related-cases__item-teg {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 6px;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1;
    color: #fbfbfd;
    background-color: #409a65;
}

.related-cases .button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


@media (max-width: 597px) {
    .post {
        background-color: #f5f5f7;
    }

    .post__header {
        padding: 32px 0;
    }

    .post__header-inner {
        flex-direction: column;
    }

    .post__header-content {
        display: flex;
        flex-direction: column;
    }

    .post .breadcrumbs {
        order: 1;
    }

    .post__meta--header {
        order: 2;
        margin-top: 24px;
    }

    .post__title {
        order: 1;
        font-size: 24px;
        line-height: 32px;
        margin-top: 31px;
    }

    .post__author {
        order: 1;
        margin-top: 24px;
    }

    .post__image {
        max-width: 100%;
        margin-top: 39px;
    }

    .post__content-wrapper {
        flex-direction: column;
        max-width: 100%;
        padding: 0 18px;
        margin-top: 0;
    }

    .post__sidebar {
        position: relative;
        top: 0;
        max-width: 100%;
    }

    .post__sidebar--right {
        padding: 0;
    }

    .post__content-inner {
        margin-top: 40px;
        border: none;
    }

    .post__meta-head {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .post__meta-name {
        font-size: 16px;
    }

    .post .toc {
        margin-top: 40px;
    }

    #toc .post__share {
        display: block;

        .share__links--show {
            right: 0;
        }

        .share__link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            line-height: 1.4;
            border: none;
            padding: unset;
        }

        a::before {
            display: none;
        }
    }

    .post .toc__header {
        justify-content: space-between;
    }

    .post .toc__header-title {
        font-size: 20px;
    }

    .post .toc__content {
        margin-top: 31px;
    }

    .post .toc__content a {
        font-size: 16px;
        line-height: 20px;
    }

    .post .toc .toc-content__text-content {
        max-height: fit-content;
    }

    .post__content {
        padding-bottom: 15px;
        border-bottom: 1px solid #D5D9D9;
    }

    .post__content:where(p, span, a, div) {
        font-size: 16px;
        line-height: 24px;
    }

    .post__content h3,
    .post__content h4 {
        font-size: 24px;
        line-height: 32px;
        margin: 47px 0 24px;
    }

    /*.post__content img {*/
    /*    margin-top: 20px;*/
    /*}*/

    .post__related-posts {
        background-color: #fbfbfd;
        padding-top: 64px;
        padding-bottom: 80px;
        margin-top: 31px;
    }

    .post__ads {
        /*margin-top: 39px;*/
        display: none;
    }

    .ads__logo {
        display: block;
        margin: 0 auto 31px auto;
    }

    .ads__desc {
        font-size: 31px;
        line-height: 38px;
        margin-bottom: 31px;
    }

    .post__scrolltop {
        display: none;
    }

    .post .cta-section {
        padding: 39px 3px 39px;
        margin-top: 0;
    }

    .post .cta-section__title {
        font-size: 24px;
        font-weight: 800;
        line-height: 31px;
        max-width: 220px;
    }

    .post .cta-section__description {
        font-size: 16px;
        line-height: 24px;
        max-width: 268px;
        text-wrap: auto;
    }

    .post--archive .pagination {
        margin-top: 20px;
    }

    .post__subscription .subscription__wrapper {
        margin: 0 auto;
    }

    .post__subscription .subscription__title {
        text-align: left;
        font-size: 28px;
    }

    .post__subscription .subscription__desc {
        text-align: left;
        font-size: 14px;
    }

    .post__subscription .subscription__form {
        margin-top: 24px;
    }

    .post__subscription .subscription__privacy {
        text-align: center;
        margin: 24px auto 0;
    }

    .post__subscription .subscription__privacy::before {
        display: none;
    }
}