.blog-page {
    font-family: 'Avenir', sans-serif;
    color: #161616;
    padding-top: 116px;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(33, 33, 33, .2);
    overflow-x: hidden;
}

.blog-header .page-title {
    font-weight: 900;
    font-size: 24px;
    line-height: 150%;
    color: #161616;
}

.posts-categories-list {
    display: flex;
    gap: 32px;
    width: max-content;
}

.post-category-link {
    font-weight: 400;
    font-size: 14px;
    line-height: 175%;
    color: #161616;
    cursor: pointer;
    text-decoration: none;
}

.post-category-link:hover {
    color: #6357FF;
}

.post-category-link.active {
    color: rgba(22, 22, 22, .4);
    cursor: default;
}

.post-link {
    text-decoration: none;
}

.posts {
    padding: 24px 0 80px;
    display: flex;
    gap: 48px;
}

.first-post {
    width: calc(60% - 24px);
}

.right-column {
    width: calc(40% - 24px);
    display: flex;
    flex-direction: column;
    gap: 48px;
    height: max-content;
}

.first-post .post-link {
    width: 100%;
    height: 100%;
    display: block;
}

.first-post .post {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.first-post .post-image {
    width: 100%;
    aspect-ratio: 768/430;
}

.first-post .post-image img {
    display: block;
    height: 100%;
    aspect-ratio: 768/430;
}

.first-post .post-content{
    min-height: 216px;
    display: flex;
    flex-direction: column;
}

.first-post .post-category {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.03em;
    color: rgba(22, 22, 22, .5);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.first-post .post-title {
    font-weight: 900;
    font-size: 28px;
    line-height: 135%;
    color: #161616;
    margin-bottom: 8px;
}

.first-post .post-excerpt {
    font-weight: 400;
    font-size: 14px;
    line-height: 175%;
    color: #161616;
    margin-bottom: 12px;
    min-height: 74px;
    overflow-y: hidden;
}

.first-post .post-info {
    display: flex;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #161616;
    margin-top: auto;
}

.right-column .post-link {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.right-column .post-link:after {
    content: "";
    display: block;
    bottom: -24px;
    width: 100%;
    height: 1px;
    position: absolute;
    background-color: rgba(33, 33, 33, .2);
}

.right-column .post-link:last-child:after {
    display: none;
}

.right-column .post {
    display: flex;
    gap: 16px;
    width: 100%;
    height: 100%;
}

.right-column .post-image {
    width: calc(44% - 8px);
    height: 100%;
    aspect-ratio: 212/116;
}

.right-column .post-image img {
    height: 100%;
    object-fit: cover;
    aspect-ratio: 212/116;
    width: 100%;
    display: block;
}

.right-column .post-content {
    width: calc(56% - 8px);
    display: flex;
    flex-direction: column;
}

.right-column .post-category {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.03em;
    color: rgba(22, 22, 22, .5);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.right-column .post-title {
    font-weight: 900;
    font-size: 14px;
    line-height: 150%;
    color: #161616;
    margin-bottom: 4px;
    max-height: 63px;
    overflow-y: hidden;
}

.right-column .post-excerpt {
    display: none;
}

.right-column .post-info {
    display: flex;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #161616;
    margin-top: auto;
}

.older-posts {
    padding-bottom: 80px;
}

.older-posts-header {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(33, 33, 33, .2);
}

.older-posts-header .title {
    font-weight: 900;
    font-size: 18px;
    line-height: 175%;
    color: #161616;
}

.older-content {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
}

.older-content .post {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.older-content .post-image {
    width: 100%;
}

.older-content .post-image img {
    width: 100%;
    aspect-ratio: 395/214;
    object-fit: cover;
    object-position: center;
    display: block;
}

.older-content .post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.older-content .post-category {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.03em;
    color: rgba(22, 22, 22, .5);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.older-content .post-title {
    font-weight: 900;
    font-size: 18px;
    line-height: 150%;
    color: #161616;
    margin-bottom: 8px;
}

.older-content .post-excerpt {
    font-weight: 400;
    font-size: 14px;
    line-height: 175%;
    color: #161616;
    max-height: 75px;
    overflow-y: hidden;
    margin-bottom: 14px;
}

.older-content .post-info {
    display: flex;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #161616;
    margin-top: auto;
}

.loading{
    pointer-events: none;
    cursor: default;
    opacity: .6;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
}

.post-navigation__item {
    position: relative;
    max-width: 416px;
    width: 100%;
    background: #F9F9F9;
    border-radius: 10px;
    padding: 23px 23px 17px 23px;
}

.post-navigation__item a {
    text-decoration: none;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #161616;
}

.post-navigation__item span {
    display: block;
    font-style: normal;
    font-weight: 900;
    font-size: 14px;
    line-height: 19px;
    color: #161616;
    text-decoration: none;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.post-navigation__prev span {
    padding-left: 25px;
}

.post-navigation__next span {
    padding-right: 25px;
}

.post-navigation__next {
    text-align: right;
}

.post-navigation__prev span::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    background-image: url('../img/blog/prev.svg');
    background-repeat: no-repeat;
    position: absolute;
    left: 27px;
    top: 24px;
}

.post-navigation__next span::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    background-image: url('../img/blog/next.svg');
    background-repeat: no-repeat;
    position: absolute;
    right: 25px;
    top: 24px;
}

.post-content-wrapper {
    margin-bottom: 50px;
}

.post-content-wrapper p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #161616;
    text-align: justify;
}

.post-content-wrapper h1 {
    margin: 48px 0 24px 0;
}

.post-content-wrapper h2 {
    margin: 48px 0 24px 0;
}

.post-content-wrapper h3 {
    margin: 48px 0 24px 0;
}

.post-content-wrapper h4 {
    margin: 48px 0 24px 0;
}

.post-content-wrapper h5 {
    margin: 48px 0 24px 0;
}

.post-content-wrapper h6 {
    margin: 48px 0 24px 0;
}

.post-content-wrapper li {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #161616;
}

.post-content-wrapper a {
    color: #161616;
    font-weight: 900;
}

.post-content-wrapper .wp-block-file__button {
    background: #32373c;
    color: #fff;
    text-decoration: none;
}

.post-share p {
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 33px;
    color: #6357FF;
    margin-bottom: 50px;
}

.share-icon {
    background-repeat: no-repeat;
    background-position: center;
}

.share42init {
    margin-bottom: 50px;
}

.share-icon-0 {
    background-image: url("../img/blog/fb.svg");
}

.share-icon-1 {
    background-image: url("../img/blog/in.svg");
}

.share-icon-2 {
    background-image: url("../img/blog/pin.svg");
}

.share-icon-3 {
    background-image: url("../img/blog/twitter.svg");
}

.post__image-wrapper {
    position: relative;
}

.resource-text {
    position: absolute;
    font-weight: 900;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    color: #161616;
    padding: 7px 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 5px;
    top: 23px;
    left: 23px;
}

.post-categories-list__link--active > div {
    color: #6357FF;
}

.wp-block-embed__wrapper iframe {
    width: 100%;
    height: 483px;
}

.wp-block-image figcaption.wp-element-caption{
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #161616;
    text-align: justify;
}

.post-content-wrapper .wp-block-file{
    display: flex;
    align-items: center;
}

.form_title {
    color: #161616;
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0;
}

form label.post_form {
    font-size: 16px;
    font-weight: bold;
    line-height: 2.2em;
    color: #161616;
}

form label.post_form span {
    color: red;
}

form label.post_form input {
    background-color: #F9F9F9;
    border-width: 0;
    border-radius: 5px 5px 5px 5px;
    border-color: #F9F9F9;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 15px;
    min-height: 40px;
    width: 100%;
}

form label.post_form input:focus {
    border-color: #bac9d540;
    border-width: 1px;
    padding: 5px 14px;
}

form label.post_form input:focus-visible {
    border-color: #bac9d540;
    border-width: 1px;
    padding: 5px 14px;
}

form label.post_form span:focus-visible {
    border-color: #bac9d540;
    border-width: 1px;
    padding: 5px 14px;
}

.post_form_check .wpcf7-list-item-label {
    font-size: 13px;
    font-weight: 400;
    line-height: 0.1em;
    color: #161616;
}

.post_form_check .wpcf7-checkbox span input {
    min-height: unset;
    vertical-align: middle;
    width: 13px;
    height: 13px;
}

form .post_form input[type="submit"] {
    font-size: 14px;
    font-weight: 500;
    background-color: #6357FF;
    color: #ffffff;
    border-radius: 44px 44px 44px 44px;
    padding: 15px 0 15px;
    width: 100%;
    border: 1px solid #6357FF;
    cursor: pointer;
    margin-top: 20px;
}

form .post_form input[type="submit"]:hover {
    background-color: #ffffff;
    color: #6357FF;
    border: 1px solid #6357FF;
}

.post_form_check .wpcf7-not-valid-tip {
    color: red;
    font-size: 16px;
}

.post_form .wpcf7-spinner {
    display: none;
}

.post-content-wrapper p.has-text-align-center {
    text-align: center;
}

.post-content-wrapper p strong {
    font-weight: bolder;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody {
    padding: 0;
    margin-top: 40px;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent h4 {
    color: #161616;
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0;
    font-family: 'Avenir', sans-serif;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p:last-child {
    font-family: 'Avenir', sans-serif;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
    background-color: #F9F9F9 !important;
    border-width: 0 !important;
    border-radius: 5px 5px 5px 5px !important;
    border-color: #F9F9F9;
    font-size: 13px !important;
    font-weight: 400;
    padding: 6px 15px !important;
    min-height: 40px;
    width: 100% !important;
    font-family: 'Avenir', sans-serif;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
    margin: 0 0 20px 0;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label p {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    color: #161616 !important;
    font-family: 'Avenir', sans-serif !important;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label a {
    color: #161616 !important;
    font-weight: 400 !important;
    text-decoration: none;
    font-family: 'Avenir', sans-serif !important;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description::before {
    top: 3px !important;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description::after {
    top: 3px !important;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
    font-family: 'Avenir', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background-color: #6357FF !important;
    color: #ffffff !important;
    border-radius: 44px 44px 44px 44px !important;
    padding: 15px 0 15px !important;
    line-height: unset !important;
    width: 100%;
    border: 1px solid #6357FF !important;
    cursor: pointer;
}

.demonstration #mlb2-2525025.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover {
    background-color: #ffffff !important;
    color: #6357FF !important;
    border: 1px solid #6357FF !important;
}

.custom-design img {
    border-radius: 16px;
}

.custom-design .custom-title {
    margin: 32px 0 24px 0;
    font-style: normal;
    font-weight: 900;
    font-size: 28px;
    line-height: 38px;
    text-align: left;
}

.custom-design .purple-title {
    font-weight: 900;
    font-size: 20px;
    line-height: 27px;
    color: #6357FF;
    margin: 32px 0 16px;
}

.custom-design .custom-block {
    display: flex;
    gap: 24px;
}

.custom-block-left {
    width: calc(45% - 12px);
}

.custom-block-right {
    width: calc(55% - 12px);
}

.custom-block-right img {
    width: 100%;
    object-fit: cover;
}

.custom-design .purple-subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #6357FF;
}

.custom-design .custom-img {
    margin: 32px 0;
}

.custom-design .custom-block-center {
    display: flex;
    gap: 42px;
}

.custom-design .custom-block-center .custom-block-left {
    width: calc(50% - 21px);
}

.custom-design .custom-block-center .custom-block-left p:first-of-type {
    margin-top: 0;
}

.custom-design .custom-block-center .custom-block-right {
    width: calc(50% - 21px);
}

.custom-design .custom-block-cts {
    display: flex;
    gap: 40px;
    align-items: center;
}

.custom-design .custom-block-cts .custom-block-left {
    width: calc(100% - 396px);
}

.custom-design .custom-block-cts .custom-block-left ol {
    margin-top: 0;
    padding-left: 20px;
}

.custom-design .custom-block-cts .custom-block-right {
    width: 356px;
}

/*       NEW STYLE        */

/*       NEW STYLE        */

@media (min-width: 1441px) {
    .first-post {
        width: 768px;
    }
    .right-column {
        width: 496px;
    }
    .right-column .post-image {
        width: 212px;
    }
    .right-column .post-content {
        width: 268px;
    }
}

@media (max-width: 1366px) {

}

@media (min-width: 1024px) and (max-width: 1280px) {

}

@media (max-width: 1024px) {
    .blog-page {
        padding-top: 78px;
    }

    .blog-header {
        flex-direction: column;
        align-items: start;
        gap: 16px;
    }

    .post-category-link {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: #161616;
    }

    .posts-categories-list {
        gap: 24px;
    }

    .blog-header {
        padding: 0 64px 16px;
    }

    .blog-header-container {
        padding: 0;
    }

    .posts {
        flex-direction: column;
        gap: 32px;
        padding-bottom: 32px;
    }

    .first-post {
        width: 100%;
    }

    .right-column {
        width: 100%;
        gap: 32px;
    }

    .first-post .post-image {
        aspect-ratio: 694/365;
    }

    .right-column .post-image {
        width: 212px;
        height: 123px;
    }

    .right-column .post-content {
        width: calc(100% - 228px);
    }

    .right-column .post-title {
        font-size: 18px;
        max-height: 81px;
    }

    .right-column .post-link:after {
        content: none;
    }

    .older-posts-header {
        display: none;
    }

    .older-content {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .older-content .post {
        display: flex;
        gap: 16px;
        width: 100%;
        height: 100%;
        flex-direction: row;
    }

    .older-content .post-image {
        width: 212px;
        height: 123px;
    }

    .older-content .post-content {
        width: calc(100% - 228px);
        height: auto;
    }

    .older-content .post-category {
        margin-bottom: 4px;
    }

    .older-content .post-title {
        font-size: 18px;
        max-height: 81px;
        margin-bottom: 4px;
        overflow-y: hidden;
    }

    .older-content .post-excerpt {
        display: none;
    }

    .right-column .post-info {
        display: flex;
        font-weight: 400;
        font-size: 12px;
        line-height: 150%;
        color: #161616;
        margin-top: auto;
    }
    .blog-header-categories{
        width: calc(100% + 24px);
        padding-right: 24px;
        overflow-x: scroll;
    }
    .blog-header-categories::-webkit-scrollbar {
        height: 0;
    }
    .first-post .post-content {
        min-height: unset;
    }
    .first-post .post-excerpt {
        min-height: unset;
        overflow-y: unset;
    }
    .right-column .post-image img {
        aspect-ratio: 212/123;
    }
    .first-post .post-image img {
        aspect-ratio: 694/365;
    }
    .older-content .post-image img {
        aspect-ratio: 212/123;
    }
}

@media (max-width: 1023px) {
    .custom-design .custom-block {
        align-items: center;
    }

    .custom-design .custom-block-center {
        align-items: center;
    }

    .custom-design .custom-block-cts {
        gap: 24px;
        flex-direction: column;
    }

    .custom-design .custom-block-cts .custom-block-left {
        width: 100%;
    }

    .custom-design .custom-block-cts .custom-block-right {
        width: 60%;
    }

    .blog-header {
        padding: 0 24px 16px;
    }
}

@media (max-width: 768px) {
    .custom-design .custom-block {
        flex-direction: column;
        gap: 0;
    }

    .custom-block-left {
        width: 100%;
    }

    .custom-block-right {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .custom-design .custom-block-center {
        flex-direction: column;
        gap: 24px;
    }

    .custom-design .custom-block-center .custom-block-left {
        width: 100%;
    }

    .custom-design .custom-block-center .custom-block-right {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .blog-page{
        position: relative;
    }
    .blog-header-container{
        position: sticky;
        top: 78px;
        background-color: #ffffff;
        z-index: 2;
    }
    .posts {
        padding-top: 11px;
    }
    .first-post .post {
        gap: 16px;
    }
    .first-post .post-image {
        aspect-ratio: 325/177;
    }
    .first-post .post-image img {
        height: 100%;
    }
    .first-post .post-category {
        margin-bottom: 8px;
    }
    .first-post .post-title {
        font-weight: 900;
        font-size: 18px;
        line-height: 150%;
        margin-bottom: 8px;
    }
    .first-post .post-excerpt {
        font-weight: 400;
        font-size: 14px;
        line-height: 175%;
        margin-bottom: 12px;
        max-height: 100px;
        overflow-y: hidden;
    }
    .right-column .post {
        flex-direction: column;
        gap: 16px;
    }
    .right-column .post-image {
        width: 100%;
        aspect-ratio: 325/177;
        height: auto;
    }
    .right-column .post-content {
        width: 100%;
    }
    .right-column .post-category {
        margin-bottom: 8px;
    }
    .right-column .post-title {
        max-height: unset;
        margin-bottom: 8px;
    }
    .right-column .post-excerpt {
        display: block;
        font-weight: 400;
        font-size: 14px;
        line-height: 175%;
        color: #161616;
        margin-bottom: 12px;
        max-height: 100px;
        overflow-y: hidden;
    }
    .older-content .post {
        flex-direction: column;
    }
    .older-content .post-image {
        width: 100%;
        aspect-ratio: 325/191;
        height: auto;
    }
    .older-content .post-content {
        width: 100%;
        height: auto;
    }
    .older-content .post-category {
        margin-bottom: 8px;
    }
    .older-content .post-title {
        font-size: 18px;
        max-height: unset;
        margin-bottom: 8px;
    }
    .older-content .post-excerpt {
        display: block;
        font-weight: 400;
        font-size: 14px;
        line-height: 175%;
        color: #161616;
        max-height: 100px;
        overflow-y: hidden;
        margin-bottom: 12px;
    }
    .older-posts {
        padding-bottom: 44px;
    }
    .first-post .post-image img {
        aspect-ratio: 325/177;
    }
    .right-column .post-image img {
        aspect-ratio: 325/177;
    }
    .older-content .post-image img {
        aspect-ratio: 325/177;
    }
}

@media (max-width: 450px) {
    .custom-design .custom-block-cts .custom-block-right {
        width: 100%;
    }
}

@media (max-width: 375px) {

}