:root {
    --responsive: calc(1vw + 1vh);
    --responsive-ratio: calc( (100vw - 375px) / calc(1390 - 375) );
    --site-padding: clamp(15px, calc( var(--responsive) * 1.2 ), 40px);
    --bordered-lg: clamp(15px, calc( var(--responsive) * 1.3 ), 30px);
    --color-blue: #2d5bff;
    --color-gray: #b2b2b2
}

@view-transition {
    navigation: auto
}

@media (prefers-reduced-motion:reduce) {
    @view-transition {
        navigation: none
    }
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    box-sizing: border-box;
    color: inherit
}

input,button,textarea {
    outline: none
}

body {
    background-color: #fff;
    text-rendering: optimizeLegibility;
    text-decoration-skip: objects;
    text-decoration-skip-ink: none;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    min-height: 100vh;
    line-height: 1;
    min-width: 320px;
    font-size: 16px;
    color: #000;
    transition: padding .3s;
    letter-spacing: .5px;
    &:has(.info-page-wrap) {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    @media (max-width: 768px) { 
        &:has(.droid-container):before {
            display: block;
            content: "";
            position: fixed;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            transition: all .3s;
            opacity: 0;
            pointer-events: none;
            z-index: -1
        }
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 1216px;
    padding: 50px 15px 60px;
    gap: 20px;
    .page-numbers {
        font-weight: 600;
        font-size: 20px;
        line-height: 140%;
        color: var(--black-600);
        transition: 0.3s;
        &:hover {
            color: var(--grey-350);
        }
    }
    & span.page-numbers {
        font-weight: 600;
        font-size: 20px;
        line-height: 140%;
        background: linear-gradient(149.42deg, #30cbe9 7.37%, #3126a0 94.21%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        pointer-events: none;
    }
    .prev.page-numbers,
    .next.page-numbers {
        & path {
            transition: 0.3s;
        }
        &:hover {
            & path {
                fill: var(--grey-350);
            }
        }
    }
    span.prev.page-numbers,
    span.next.page-numbers {
        opacity: 0.5;
    }
    @media (max-width: 996px) { 
        padding: 10px 15px 40px;
        gap: 24px;
    }
}

.sidebar-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    .soc-item {
        display: flex;
        align-items: center;
        gap: 4px;
        transition: 0.3s;
        .soc-item__icon {
            width: 28px;
            height: 28px;
            min-width: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            & img,
            & svg {
                width: auto;
                height: auto;
                display: block;
                object-fit: contain;
                max-width: 60%;
                max-height: 60%;
            }
        }
        .soc-item__name {
            font-weight: 600;
            font-size: 14px;
            line-height: 143%;
            color: var(--black);
        }
        &:hover {
            opacity: 0.8;
        }
    }
}

.sidebar-wrapper {
    width: 300px;
    min-width: 300px;
    position: sticky;
    top: 100px;
    height: fit-content;
    .sidebar {
        .side-close {
            display: none;
            margin-left: auto;
            cursor: pointer;
        }
    }
    @media (max-width: 1400px) { 
        width: 220px;
        min-width: 220px;
    }
    @media (max-width: 996px) { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 95;
        padding: 0px 15px 20px;
        background: white;
        box-shadow: 0px 44px 25px 0px rgba(34, 60, 80, 0.07);
        opacity: 0;
        transition: 0.5s;
        pointer-events: none;
        .sidebar {
            display: flex;
            gap: 15px;
            width: 100%;
            min-width: unset;
            .side-close {
                display: block;
            }
        }
        &.opened {
            pointer-events: all;
            opacity: 1;
        }
    }
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
    min-width: 300px;
    .sidebar-title {
        font-weight: 600;
        font-size: 24px;
        line-height: 117%;
        color: #000;
        letter-spacing: -0.01em;
    }
    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        .sidebar-menu__item {
            font-size: 16px;
            color: #00000099;
            line-height: 150%;
            letter-spacing: -0.01em;
        }
        .btn {
            display: none;
        }
    }
    .sidebar-socials {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 12px;
        .soc-item {
            display: flex;
            align-items: center;
            gap: 4px;
            transition: 0.3s;
            .soc-item__icon {
                width: 28px;
                height: 28px;
                min-width: 28px;
                display: flex;
                align-items: center;
                justify-content: center;
                & img,
                & svg {
                    width: auto;
                    height: auto;
                    display: block;
                    object-fit: contain;
                    max-width: 60%;
                    max-height: 60%;
                }
            }
            .soc-item__name {
                font-weight: 600;
                font-size: 14px;
                line-height: 143%;
                color: var(--black);
                letter-spacing: -0.01em;
            }
            &:hover {
                opacity: 0.8;
            }
        }
    }
    .sidebar-form {
        display: flex;
        flex-direction: column;
        height: fit-content;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        padding: 2px;
        .sidebar-form__content {
            position: relative;
            z-index: 2;
            background: white;
            padding: 24px 20px;
            border-radius: 12px;
            .sidebar-form__title {
                font-weight: 600;
                font-size: 20px;
                line-height: 140%;
                color: #000;
                margin-bottom: 14px;
                letter-spacing: -0.01rem;
            }
            .sidebar-form__desc {
                font-weight: 600;
                font-size: 14px;
                line-height: 143%;
                color: var(--black);
                margin-bottom: 24px;
                letter-spacing: -0.01rem;
            }
            .sidebar-form__logo {
                width: 100%;
                height: auto;
                max-height: 210px;
                display: flex;
                justify-content: center;
                padding: 10px;
                & img {
                    width: auto;
                    height: auto;
                    display: block;
                    object-fit: contain;
                    max-width: 100%;
                    max-height: 100%;
                }
            }
        }
        .btn {
            margin-top: 24px;
            width: 100%;
        }
        .sidebar-form__mark {
            font-weight: 500;
            font-size: 14px;
            line-height: 143%;
            color: var(--grey-600);
            margin-top: 32px;
            letter-spacing: -0.01rem;
        }
        &:before {
            content: "";
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background: linear-gradient(282.37deg, #54ffb8 -60.71%, #05c2bb 27.89%, #28aaff 111.48%);
            border-radius: 12px;
            overflow: hidden;
        }
    }
    @media (max-width: 1400px) { 
        width: 220px;
        min-width: 220px;
    }
    @media (max-width: 992px) { 
        display: none;
        &.overflow {
            overflow-y:auto;
            max-height: calc(100vh - 80px);
            height: 100%;
        }
        .sidebar-menu {
            flex-direction:column;
            align-items: flex-start
        }
        .btn {
            order:2;
            margin-top: 10px;
        }
    }
}
.mobile-sidebar-holder {
    @media (max-width: 996px) { 
        .sidebar {
            display: flex;
        }
    }
}

.blogs-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
    gap: 40px;
    .breadcrumbs {
        padding-top: unset;
    }
    .page-title-holder {
        display: flex;
        align-items: center;
        gap: 20px;
        justify-content: space-between;
        margin-bottom: 12px;
        h1.page-title {
            margin-bottom: unset;
        }
        .side-open {
            cursor: pointer;
            width: 40px;
            height: 40px;
            min-width: 40px;
            display: none;
        }
    }
    .blogs-banner-desc {
        font-weight: 500;
        font-size: 16px;
        line-height: 138%;
        color: #b2b2b2;
        margin-bottom: 40px;
        letter-spacing: -0.01rem;
    }
    .blogs-top__left {
        display: flex;
        flex-direction: column;
        width: auto;
        max-width: 410px;
        flex-grow: 1;
    }
    .blogs-search {
        display: flex;
        align-items: center;
        gap: 12px;
        & input {
            padding: 11px 12px;
            transition: 0.3s;
            border-radius: 8px;
            background: #f1f2f6;
            flex-grow: 1;
            cursor: pointer;
            height: 100%;
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: var(--grey-800);
            &::placeholder {
                font-weight: 500;
                font-size: 16px;
                line-height: 138%;
                color: var(--grey-600);
            }
        }
    }
    .blogs-top__socials {
        margin-top: 40px;
    }
    .banner-item {
        display: flex;
        flex-direction: column;
        width: 48.5%;
        border: 1px solid #e4e4e4;
        border-radius: 12px;
        padding: 12px 12px 20px 12px;
        .banner-item__thumb {
            width: 100%;
            height: auto;
            max-height: 315px;
            display: flex;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 12px;
            & img {
                width: 100%;
                height: auto;
                display: block;
                object-fit: cover;
                object-position: center;
                transition: 1.5s;
            }
        }
        .default-card__meta {
            margin-top: 12px;
            .default-card__duration {
                display: none;
            }
        }
        .author__image {
            width: 40px;
            height: 40px;
            min-width: 40px;
        }
        .default-card__excerpt {
            display: none;
        }
        .default-card__date {
            font-weight: 500;
            font-size: 14px;
            line-height: 143%;
            color: #b2b2b2;
        }
    }
    @media (max-width: 1200px) { 
        gap: 20px;
        .page-title-holder {
            .side-open {
                display: flex;
            }
        }
        .blogs-top__left {
            width: 50%;
            min-width: unset;
            max-width: unset;
        }
        .banner-item {
            width: 50%;
        }
    }
    @media (max-width: 768px) { 
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
        gap: 40px;
        .blogs-top__left {
            width: 100%;
        }
        .blogs-top__socials {
            display: none;
        }
        .banner-item {
            width: 100%;
        }
    }
    @media (max-width: 600px) { 
        .blogs-banner-desc {
            margin-bottom: 24px;
        }
        .banner-item {
            .banner-item__thumb {
                max-height: 165px;
                margin-bottom: 12px;
            }
            .default-card__excerpt {
                display: -webkit-box;
            }
            .default-card__meta {
                margin-top: unset;
                .default-card__duration {
                    display: flex;
                }
            }
            .author__image {
                width: 32px;
                height: 32px;
                min-width: 32px;
            }
            .default-card__date {
                font-size: 12px;
            }
        }
        .blogs-search {
            gap: 8px;
        }
    }
    @media (max-width: 360px) { 
        .blogs-search {
            flex-direction: column;
            & input {
                width: 100%;
            }
            .btn {
                width: 100%;
            }
        }
    }
}

.wrapper, .archive-container {
    max-width: 1328px;
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}
.blog-page-wrapper {
    @media (max-width: 996px) { 
        .join-block {
            display: none;
        }
        .archive-container {
            position: relative;
        }
    }
}
.section-padding {
    padding-top: 76px;
    @media (max-width: 996px) { 
        padding-top: 20px;
    }
}

.page-grid-with-sidebars {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 30px;
    @media (max-width: 1400px) { 
        gap: 20px;
    }
    @media(max-width: 996px) {
        grid-template-columns:1fr;
    }
}
.single-blog-wrapper {
    .page-grid-with-sidebars {
        padding-top: 40px;
    }
    @media (max-width: 1200px) { 
        .page-grid-with-sidebars {
            padding: 0px 4px;
        }
    }
    @media (max-width: 996px) { 
        .page-grid-with-sidebars {
            padding-top: unset;
        }
        .article-blog-nav {
            margin-top: 12px;
        }
        .share-wrapper {
            margin-top: 66px;
        }
    }
    @media (max-width: 600px) { 
        .join-block {
            width: 100%;
            margin-left: unset;
            margin-right: unset;
        }
    }
    @media (max-width: 498px) { 
        .author {
            max-width: unset;
            .author__image {
                width: 44px;
                height: 44px;
                min-width: 44px;
            }
        }
    }
}

#archive-container {
    width: 100%;
    .blog-archive-grid,
    .loaded-holder {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 32px;
    }
    .false-search {
        display: none;
        font-weight: 600;
        font-size: 36px;
        line-height: 111%;
        color: var(--grey-600);
        & span {
            font-weight: 600;
            line-height: 111%;
            color: var(--black);
        }
        &.active {
            display: block;
        }
    }
    @media (max-width: 1200px) { 
        .blog-archive-grid,
        .loaded-holder {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
    }
    @media (max-width: 996px) { 
        .blog-archive-grid,
        .loaded-holder {
            display: grid;
            grid-template-columns: repeat(2,1fr);
        }
    }
    @media (max-width: 600px) { 
        .blog-archive-grid,
        .loaded-holder {
            display: flex;
            flex-direction: column;
        }
    }
}
.archive-container.loaded {
    .blog-archive-grid {
        display: none !important;
    }
    .pagination {
        display: none;
    }
}

.blog-archive-grid .search-message {
    grid-column: 1/span 2;
    @media (max-width: 460px) { 
        grid-column: 1;
    }
}

#category-sidebar .mobile-filter-title {
    display: none
}

@media (max-width: 991px) {
    #category-sidebar .mobile-filter-title {
        display:flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px
    }
}

.category-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    .tax-panel__item {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f1f2f6;
        border-radius: 100px;
        padding: 6px 16px 6px 6px;
        line-height: 120%;
        transition: 0.3s;
        & img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center;
            flex-shrink: 0
        }
        &.current,
        &:hover {
            background: #2d5bff;
            color: #fff
        }
        &:hover {
            background: #2d5bff;
            color: #fff
        }
    }
    .btn {
        margin-top: 24px;
    }
    @media (max-width: 991px) {
        flex-wrap:wrap;
        flex-direction: row;
    }
}
.single-author-wrapper,
.single-blog-wrapper {
    .category-panel .btn {
        display: none;
    }
}

.sticky-posts-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background: #f1f2f6;
    width: 100%;
    .sticky-posts-widget__title {
        font-weight: 600;
        font-size: 24px;
        line-height: 117%;
        color: var(--black);
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        & img {
            width: 24px;
            height: 24px;
            min-width: 24px;
            display: block;
            object-fit: contain;
        }
    }
    .posts {
        display: flex;
        flex-direction: column;
        gap: 24px
    }
    .post-item {
        display: flex;
        flex-direction: column;
        gap: 8px;
        .date {
            font-weight: 500;
            font-size: 14px;
            line-height: 143%;
            color: var(--grey-600);
            letter-spacing: -0.01rem;
        }
        .title {
            font-weight: 600;
            font-size: 16px;
            line-height: 138%;
            color: var(--black);
            letter-spacing: -0.01rem;
            transition: 0.3s;
            &:hover {
                color: #2d5bff;
            }
        }
    }
}



.mobile-sidebar-holder {
    display: none;
    padding-top: 20px;
    @media (max-width: 996px) { 
        display: flex;
        padding-bottom: 40px;
        .sidebar {
            gap: 10px;
            width: 100%;
            min-width: unset;
            flex-direction: column-reverse;
        }
    }
}

.author {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 70%;
    .name {
        font-weight: 600;
        font-size: 15px;
        line-height: 138%;
        color: #000;
    }
    .author__meta {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .author__image {
        display: block;
        object-fit: contain;
        border-radius: 50%;
        flex-shrink: 0;
        aspect-ratio: 1/1;
    }
    .date {
        font-weight: 500;
        font-size: 12px;
        line-height: 133%;
        color: var(--grey-350);
    }
    @media(min-width: 992px) {
        &.author--md {
            gap: 12px;
            .author__image {
                width: 48px;
                height: 48px;
            }
            .name {
                font-size: 18px;
            }
        }
    }
}


.default-card {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--grey-150);
    display: flex;
    flex-direction: column;
    .default-card__image-wrap {
        border-radius: 8px;
        margin-bottom: 12px;
        overflow: hidden;
        display: flex;
    }
    .default-card__image {
        object-fit: cover;
        width: 100%;
        height: auto;
        aspect-ratio: 16/8;
        display: block;
        border-radius: 8px;
        transition: transform 1.5s;
        will-change: transform;
        &:hover {
            transform:scale(1.1);
        }
    }
    .default-card__middle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
    }
    .default-card__title {
        font-weight: 600;
        font-size: 18px;
        line-height: 133%;
        color: #000;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
        overflow: hidden;
        &:hover {
            color: #2d5bff;
        }
    }
    .default-card__date {
        font-weight: 500;
        font-size: 12px;
        line-height: 133%;
        color: var(--grey-350);
        &.desctop-hidden {
            display: none;
        }
    }
    .default-card__badge {
        padding: 8px 10px;
        background-color: #e7ffd5;
        color: #49a500;
        font-size: 12px;
        border-radius: 8px;
    }
    .default-card__meta {
        display: flex;
        align-items: center;
        margin-top: 20px;
        gap: 30px;
        .default-card__left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .default-card__views,
        .default-card__duration {
            font-weight: 500;
            font-size: 12px;
            line-height: 133%;
            color: var(--grey-350);
        }
        .article__tags {
            margin-left: auto;
            .article__tag {
                font-weight: 500;
                font-size: 12px;
                line-height: 133%;
                color: var(--grey-350);
                &:hover {
                    color: #2d5bff;
                }
            }
        }
    }
    .default-card__excerpt {
        font-weight: 500;
        font-size: 14px;
        line-height: 143%;
        color: var(--grey-600);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
        overflow: hidden;
        margin-bottom: auto;
    }
    @media (max-width: 600px) { 
        .default-card__image-wrap {
            order: 1;
            margin-bottom: 12px;
        }
        .default-card__meta {
            order: 2;
            margin-top: unset;
            margin-bottom: 10px;
            display: flex;
            flex-direction: row-reverse;
            .article__tags {
                margin-right: auto;
                margin-left: unset;
            }
            .default-card__left {
                gap: 8px;
                flex-direction: row-reverse;
            }
        }
        .default-card__middle {
            order: 3;
        }
        .default-card__title {
            order: 4;
            font-size: 16px;
            margin-bottom: 2px;
        }
        .default-card__excerpt {
            order: 5;
            font-size: 14px;
            & p,
            &>* {
                font-size: 14px;
            }
        }
        .author {
            width: 100%;
            max-width: unset;
            .author__meta {
                gap: 2px;
            }
        }
        .default-card__date {
            font-size: 12px;
            &:not(.desctop-hidden) {
                display: none;
            }
        }
        .default-card__date.desctop-hidden {
            display: flex;
        }
    }
}

.article-col-container {
    width: calc(100% - 664px);
    @media (max-width: 1400px) { 
        width: calc(100% - 480px);
    }
    @media (max-width: 996px) { 
        width: 100%;
    }
}

.article-col {
    padding:24px 32px;
    border: 1px solid #e4e4e4;
    border-radius: 30px;
    .atricle-title {
        font-weight: 600;
        font-size: 32px;
        line-height: 113%;
        color: #000;
        margin-bottom: 40px;
    }
    .article__image-wrap {
        margin-bottom: 24px;
        .article__image {
            border-radius: 12px;
            width: 100%;
            object-fit: cover;
            aspect-ratio: 566/350;
            min-height: 210px
        }
    }
    @media (max-width: 996px) { 
        border-radius: unset;
        border: unset;
        padding: 20px 0px 40px;
        position: relative;
        .atricle-title {
            font-size: 24px;
            margin-bottom: 32px;
        }
        &:after {
            content: "";
            width: calc(100% + 32px);
            left: -16px;
            bottom: 0;
            position: absolute;
            height: 1px;
            background: #e4e4e4;
        }
    }
    @media (max-width: 498px) { 
        .article__image-wrap {
            aspect-ratio: unset;
            max-height: 210px;
            display: flex;
            & img {
                width: 100%;
                height: auto;
                display: block;
                object-fit: cover;
                object-position: center;
            }
        }
    }
}
.single-glossary-wrapper {
    &>.wrapper .page-grid-with-sidebars {
        padding-top: 40px;
    }
    @media (max-width: 996px) { 
        &>.wrapper .page-grid-with-sidebars {
            padding-top: 20px;
        }
        .share-wrapper {
            margin-top: 56px;
        }
    }
}

.article-blog-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 24px;
    .article-blog-nav__link {
        font-weight: 500;
        font-size: 16px;
        line-height: 138%;
        color: #b2b2b2;
    }
    .article-blog-nav__name {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 4px;font-weight: 600;
        font-size: 18px;
        line-height: 133%;
        color: #000;
    }
    .post-title {
        font-weight: 500;
        font-size: 14px;
        line-height: 143%;
        color: #b2b2b2;
        text-align: right;
    }
    .next {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 4px;
        max-width: clamp(220px, calc(220px + 100 * var(--responsive-ratio)), 320px)
    }
    @media(max-width: 996px) {
        .article-blog-nav {
            position:relative;
            margin-top: 32px;
            .article-blog-nav__link {
                font-size: clamp(16px, calc(16px + 8 * var(--responsive-ratio)), 24px);
                .post-title {
                    font-size: 14px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    padding-right: 25px;
                }
            }
            &:after {
                display: block;
                content: "";
                position: absolute;
                width: calc(100% + var(--site-padding) * 2 );
                height: 1px;
                left: calc(var(--site-padding) * -1);
                right: calc(var(--site-padding) * -1);
                top: -26px;
                background-color: #e4e4e4;
            }
        }
    }
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    .right {
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: flex-end;
        .right-top {
            display: flex;
            align-items: center;
            gap: 12px;
            .article__tags {
                margin-right: 4px;
            }
        }
        .article-duration {
            font-weight: 500;
            font-size: 12px;
            line-height: 133%;
            color: var(--grey-350);
        }
        .date {
            font-weight: 500;
            font-size: 12px;
            line-height: 133%;
            color: var(--grey-350);
        }
        .article__views {
            font-weight: 500;
            font-size: 12px;
            line-height: 133%;
            color: var(--grey-350);
            .icon {
                flex-shrink: 0;
            }
        }
    }
    @media (max-width: 1200px) { 
        width: calc(100% + 8px);
        margin-left: -4px;
        margin-right: -4px;
    }
    @media(max-width: 996px) {
        position:relative;
        margin-bottom: 40px;
        &:after {
            display: block;
            content: "";
            position: absolute;
            width: calc(100% + 32px);
            height: 1px;
            left: -16px;
            bottom: -20px;
            background-color: #e4e4e4
        }
    }
    @media (max-width: 498px) { 
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        .right {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 5px 20px;
        }
    }
}

.article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    .article__tag {
        font-weight: 500;
        font-size: 14px;
        line-height: 143%;
        color: #2d5bff;
    }
}

.mb--small {
    margin-bottom: 24px;
    @media (min-width: 992px) {
        .mb--small {
            margin-bottom:40px;
        }
    }
}

.single-content.text-content,
.text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    & p {
        font-weight: 500;
        color: #000;
        &>* {
            font-weight: 500;
        }
        &:has(+ul),
        &:has(+ol),
        &:has(strong),
        &:has(b) {
            font-weight: 600;
        }
    }
    h2 {
        margin-top: 20px;
        font-size: 24px;
    }
    h3 {
        margin-top: 20px;
        font-weight: 600;
        font-size: 20px;
        line-height: 140%;
        color: #000;
    }
    h4 {
        font-size: 16px;
        font-weight: 500;
        line-height: 140%;
        margin-top: 10px 0;
    }
    ul {
        margin-top: -8px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        & ol,
        & ul {
            margin-top: 10px;
        }
        & li {
            height: fit-content;
            padding-left: 16px;
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: #000;
            position: relative;
            &:before {
                content: "";
                width: 4px;
                height: 4px;
                top: 50%;
                transform: translateY(-50%);
                left: 1px;
                border-radius: 100%;
                background: #2d5bff;
                position: absolute;
            }
        }
    }
    & h2,
    & h3 {
        scroll-margin-top: 60px;
    }
    ol {
        counter-reset: list;
        display: flex;
        margin-top: -8px;
        flex-direction: column;
        gap: 8px;
        & ol,
        & ul {
            margin-top: 10px;
        }
        & li {
            list-style-type: none;
            padding-left: 20px;
            position: relative;
            counter-increment: list;
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: #000;
            &:before {
                content: counter(list) ".";
                width: 10px;
                height: 10px;
                border-radius: 5px;
                display: flex;
                align-items: center;
                justify-content: center;
                top: 6px;
                left: 5px;
                position: absolute;
                font-weight: 400;
                font-size: 16px;
                line-height: 140%;
                color: var(--main-text-primary);
            }
        }
    }
    & h2,
    & h3,
    & p,
    &>* {
        letter-spacing: -0.01rem;
    }
    & b,
    & strong {
        font-weight: 600;
    }
    figure {
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        &+p:has(em) {
            font-weight: 500;
            font-size: 14px;
            line-height: 143%;
            color: var(--grey-450);
            margin-top: -12px;
            & em {
                font-style: normal;
            }
        }
        .fancy-trigger {
            position: absolute;
            bottom: 15px;
            right: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            width: 32px;
            height: 32px;
            min-width: 32px;
            cursor: pointer;
            background: rgb(189 189 189 / 38%);
            backdrop-filter: blur(4px);
            z-index: 2;
        }
        &:has(table) {
            border-radius: unset;
            overflow: unset;
        }
    }
    blockquote {
        position: relative;
        padding: 12px 16px 12px 28px;
        background: #f1f2f6;
        border-radius: 8px;
        font-weight: 500;
        font-size: 16px;
        line-height: 138%;
        color: #000;
        & p {
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: #000;
        }
        &:before {
            display: block;
            content: "";
            width: 3px;
            height: calc(100% - 24px);
            position: absolute;
            left: 16px;
            top: 12px;
            bottom: 0;
            background-image: url(../images/bquoteBefore.svg);
            background-size: cover;
            border-radius: 10px;
        }
        &:has(img),
        &:has( p img) {
            position: relative;
        }
        & p:has(img) {
            width: 44px;
            height: 44px;
            min-width: 44px;
            display: flex;
            margin-bottom: 12px;
            & img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                object-position: center;
            }
        }
        /* &:has(img) p:has(strong),
        &:has(p img) p:has(strong) {
            position: absolute;
            top: 15px;
            left: 80px;
            font-weight: 600;
            font-size: 16px;
            line-height: 138%;
            color: #000;
        }
        &:has(img) p:has(em),
        &:has(p img) p:has(em) {
            position: absolute;
            top: 37px;
            left: 80px;
            font-weight: 500;
            font-size: 12px;
            line-height: 133%;
            color: var(--grey-350);
            & em {
                font-style: normal;
            }
        } */
    }
    .wp-block-preformatted {
        display: flex;
        flex-direction: column;
        background: linear-gradient(135.97deg, rgba(105, 195, 255, 0.04) 4.78%, rgba(143, 254, 255, 0.2) 48.29%, rgba(47, 139, 226, 0.25) 99.5%);
        border-radius: 8px;
        margin: 20px 0px;
        padding: 20px 24px;
        font-weight: 500;
        font-size: 16px;
        line-height: 138%;
        color: #000;
        letter-spacing: -0.01;
        & strong {
            font-weight: 600;
            font-size: 32px;
            line-height: 113%;
            color: #000;
            margin-bottom: 16px;
            letter-spacing: -0.01;
        }
        & br {
            display: none;
        }
        &:has(+h2),
        &:has(+h3) {
            margin-bottom: 0px;
        }
    }
    .question-block {
        padding-top: unset;
        padding-bottom: unset;
        h2.main-title {
            text-align: left;
            margin-bottom: 16px;
            font-size: 32px;
            line-height: 113%;
        }
        .block-subtitle {
            text-align: left;
            margin-bottom: 24px;
            font-size: 16px;
            letter-spacing: -0.02rem;
        }
    }
    & a:not(.btn) {
        text-decoration: underline;
        color: var(--color-blue);
        font-weight: 600
    }
    & table {
        width: 100%;
        font-size: 16px;
        line-height: 140%;
        border: 2px solid var(--alpha-gray-950-alpha-gray-10);
        & td {
            font-weight: 500;
            font-size: 14px;
            line-height: 133%;
            color: #060e23;
            border-right: 1px solid rgba(0, 0, 0, 0.15);
            width: 23%;
            &:nth-child(1) {
                width: 31%;
            }
        }
        & tr {
            display: grid;
            gap: 10px;
            &:first-child {
                background: var(--alpha-gray-950-alpha-gray-10);
                & td {
                    font-weight: 600;
                    font-size: 14px;
                    line-height: 133%;
                    color: var(--black);
                }
            }
            &:nth-child(2n + 3) {
                background: var(--grey-50);
            }
        }
        &.grid--lg td {
            min-width: 120px;
        }
    }
    .table-wrap {
        border-radius: 10px;
    }
    & img {
        &.align-left {
            float: left;
            margin-right: 10px;
        }
        &.alignright {
            float: right;
            margin-left: 10px;
        }
    }
    @media (max-width: 1200px) { 
        & table {
            font-size: 14px;
            & td {
                font-size: 13px;
            }
            & tr {
                &:first-child {
                    & td {
                        font-size: 13px;
                    }
                }
            }
        }
    }
    @media (max-width: 996px) { 
        h2,
        h3 {
            font-size: 24px;
            line-height: 117%;
        }
        .question-block {
            padding-top: 20px;
        }
        .wp-block-preformatted {
            padding: 10px;
            & strong {
                font-size: 24px;
                margin-bottom: 10px;
            }
        }
    }
    @media (max-width: 498px) { 
        figure {
            border-radius: 8px;
            &:has(table) {
                overflow: auto;
                width: 100%;
                justify-content: flex-start;
                & table {
                    min-width: 500px;
                }
            }
        }
        & table {
            & td {
                font-size: 12px;
            }
            & tr {
                &:first-child {
                    & td {
                        font-size: 12px;
                    }
                }
            }
        }
    }
}

.share-wrapper {
    margin-top: 40px;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    .share {
        width: fit-content;
        display: flex;
        align-items: center;
        gap: 8px;
        .title {
            font-weight: 500;
            font-size: 14px;
            line-height: 143%;
            color: var(--grey-600);
        }
        .item {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all .3s;
            & img,
            & svg {
                width: 70%;
                height: 70%;
                display: block;
                object-fit: contain;
            }
            &:hover {
                opacity: 0.6;
            }
        }
    }
}

.single-post,
.single-glossary {
    .single-content table tr {
        display: table-row;
    }
}

.single-page-content {
    display: flex;
    flex-direction: column;
    padding: 0px 24px;
    margin-bottom: 24px;
    .page-content__title {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: space-between;
        cursor: pointer;
        & p {
            font-weight: 600;
            font-size: 24px;
            line-height: 117%;
            letter-spacing: -0.01em;
            color: #000;
        }
        .single-content__opener {
            cursor: pointer;
            transition: 0.3s;
            & svg,
            & path {
                transition: 0.3s;
            }
            &:hover path {
                fill: #000;
            }
        }
    }
    .content-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 16px;
        & li {
            padding-left: 16px;
            position: relative;
            font-weight: 500;
            font-size: 14px;
            line-height: 143%;
            color: var(--grey-600);
            letter-spacing: -0.01em;
            &.main-element {
                color: var(--black);
            }
            &:before {
                content: "";
                width: 4px;
                height: 4px;
                border-radius: 100%;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 1px;
                background: #2d5bff;
            }
            &.parent {
                &:before {
                    width: 8px;
                    height: 3px;
                    top: 10px;
                    border-radius: 1px;
                }
            }
            &>a:hover {
                color: #2d5bff;
            }
            & ul {
                display: flex;
                flex-direction: column;
                gap: 4px;
                margin-top: 6px;
            }
            &>ul:hover {
                color: var(--grey-600);
            }
        }
    }
    &.is-opened {
        .page-content__title {
            .single-content__opener {
                & svg {
                    transform: rotate(-90deg);
                }
            }
        }
    }
    @media (max-width: 996px) { 
        padding: 0px 8px;
        .page-content__title {
            & p {
                font-size: 20px;
            }
        }
    }
    @media (max-width: 600px) { 
        .page-content__title {
            .single-content__opener {
                & svg {
                    transform: rotate(-90deg);
                }
            }
        }
        &.is-opened {
            .page-content__title {
                .single-content__opener {
                    & svg {
                        transform: rotate(0deg);
                    }
                }
            }
        }
    }
}

.single-similars {
    max-width: 632px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 0px 80px;
    h2.main-title {
        text-align: left;
    }
    .similars {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 24px 32px;
    }
    @media (max-width: 600px) {
        padding: 20px 0px 40px; 
        .similars {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
    }
}



.glossary-page-wrapper {
    padding-top: 20px;
    @media (max-width: 996px) { 
        .archive-container {
            position: relative;
        }
    }
    @media (max-width: 600px) { 
        .join-block {
            margin-left: unset;
            margin-right: unset;
            width: 100%;
        }
    }
}
.glossary-archive-top {
    display: flex;
    gap: 32px;
    padding-bottom: 60px;
    justify-content: space-between;
    .glossary-archive-left {
        display: flex;
        flex-direction: column;
        .page-desc {
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: #b2b2b2;
            letter-spacing: -0.01em;
            max-width: 513px;
        }
    }
    .page-title-holder {
        display: flex;
        align-items: center;
        gap: 20px;
        justify-content: space-between;
        margin-bottom: 32px;
        h1.page-title {
            margin-bottom: unset;
        }
        .side-open {
            cursor: pointer;
            width: 40px;
            height: 40px;
            min-width: 40px;
            display: none;
        }
    }
    #searchform {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 50%;
        max-width: 529px;
        align-items: flex-end;
        & input {
            padding: 11px 12px;
            transition: 0.3s;
            border-radius: 8px;
            background: #f1f2f6;
            flex-grow: 1;
            cursor: pointer;
            height: 100%;
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: var(--grey-800);
            letter-spacing: -0.01em;
            height: auto;
            &::placeholder {
                font-weight: 500;
                font-size: 16px;
                line-height: 138%;
                color: var(--grey-600);
                letter-spacing: -0.01em;
            }
        }
        .btn {
            padding: 11px 20px;
        }
    }
    @media (max-width: 996px) { 
        flex-direction: column;
        padding-bottom: 60px;
        gap: 40px;
        .glossary-archive-left {
            .page-desc {
                max-width: unset;
                width: 100%;
            }
        }
        #searchform {
            width: 100%;
            max-width: unset;
        }
        .page-title-holder {
            margin-bottom: 12px;
            .side-open {
                display: flex;
            }
        }
    }
}

.glossary-bottom-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 743px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 0px;
    h2.main-title {
        font-weight: 600;
        font-size: 36px;
        line-height: 111%;
        text-align: center;
        margin-bottom: 40px;
        letter-spacing: -0.005rem;
    }
    .glossary-desc {
        max-width: 522px;
        margin-left: auto;
        margin-right: auto;
        letter-spacing: -0.005rem;
        & p,
        &>* {
            letter-spacing: -0.005rem;
            color: var(--grey-600);
            & strong {
                font-weight: 600;
                color: var(--black);
            }
        }
        & ol {
            gap: unset;
            & li {
                color: var(--grey-600);
            }
        }
        & ul {
            margin-bottom: 20px;
            gap: unset;
            & li {
                padding-left: 25px;
                color: var(--grey-600);
                &:before {
                    left: 9px;  
                    top: 10px;
                    background: var(--grey-600);
                }
            }
        }
    }
    .text-all-btn {
        font-weight: 500;
        font-size: 14px;
        line-height: 143%;
        text-decoration: underline;
        text-decoration-skip-ink: none;
        color: var(--black);
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        transition: 0.3s;
        &:hover {
            color: #2d5bff;
        }
    }
    @media (max-width: 996px) { 
        padding: 40px 0px;
        h2.main-title {
            font-size: 32px;
            margin-bottom: 32px;
        }
        .glossary-desc {
            gap: 32px;
            & p,
            &>* {
                letter-spacing: 0.005rem;
                font-size: 14px;
                & strong {
                    font-size: 16px;
                }
            }
            & ul {
                & li {
                    padding-left: 20px;
                    font-size: 14px;
                    letter-spacing: 0.005rem;
                    &:before {
                        left: 6px;
                    }
                }
            }
        }
    }
}

.glossary-content,
.single-glossary-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    .category-panel {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .btn {
        margin-top: 12px;
    }
    .glossary-content__right {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .glossary-posts-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 20px 32px;
    }
    .glossary-section {
        display: none;
        flex-direction: column;
        &:has(.letter-block:not([hidden])) {
            display: block;
        }
    }
    .glossary-section__title {
        font-weight: 600;
        font-size: 36px;
        line-height: 111%;
        color: #000;
        margin-bottom: 24px;
        letter-spacing: -0.01em;
        padding-left: 18px;
    }
    .letter-block {
        display: flex;
        flex-direction: column;
        padding: 20px;
        border: 1px solid var(--grey-150);
        border-radius: 12px;
        &[hidden] {
            display: none;
        }
    }
    .glossary-letters {
        margin-bottom: 60px;
        .letters-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .letters {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            transition: opacity .3s;
        }
    }
    .letter {
        font-size: 14px;
        padding: 10px 11px;
        border-radius: 8px;
        background-color: transparent;
        transition: all .3s;
        cursor: pointer;
        min-width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        &.active {
            pointer-events: none;
        }
        &.active,
        &:hover {
            color: #fff;
            background-color: var(--color-blue);
        }
        &[hidden] {
            display: none;
        }
    }
    #archive-container {
        display: flex;
        flex-direction: column;
        gap: 80px;
        padding-bottom: 40px;
        &.letter-choised {
            .glossary-section {
                display: none !important;
                &.show {
                    display: flex !important;
                }
            }
        }
    }
    .glossary-posts__show-more {
        width: fit-content;
        cursor: pointer;
        display: block;
        margin: 32px auto 0;
        font-weight: 500;
        font-size: 16px;
        line-height: 138%;
        text-align: right;
        text-decoration: underline;
        text-decoration-skip-ink: none;
        color: var(--black);
        transition: 0.3s;
        &:hover {
            color: #2d5bff;
        }
    }
    &:has(.sticky-posts-widget) {
        .sidebar-form {
            margin-top: 40px;
        }
    }
    @media (max-width: 996px) { 
        .sidebar-form {
            display: none;
        }
    }
    @media (max-width: 768px) { 
        .glossary-posts-grid {
            grid-template-columns: repeat(2,1fr);
            gap: 20px;
        }
    }
    @media (max-width: 498px) { 
        .glossary-posts-grid {
            display: flex;
            flex-direction: column;
        }
        .glossary-section__title {
            text-align: center;
            padding-left: unset;
            font-size: 32px;
            margin-bottom: 32px;
        }
    }
}


.single-glossary-wrapper {
    .glossary-section__title {
        display: none;
    }
    .similar-section {
        max-width: 632px;
        margin-left: auto;
        margin-right: auto;
        padding: 60px 0px 160px;
        .similar-title {
            text-align: left;
        }
    }
    .glossary-posts-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .single-letter-block {
        padding: 20px;
        border: 1px solid var(--grey-150);
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        .letter-block__letter {
            font-weight: 600;
            font-size: 36px;
            line-height: 111%;
            color: var(--black);
        }
        .letter-items {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .letter-item {
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: var(--grey-600);
            letter-spacing: -0.01rem;
            width: fit-content;
            &:hover {
                color: #2d5bff;
            }
            &.hidden {
                display: none;
            }
        }
        .more-btn {
            font-weight: 500;
            font-size: 16px;
            line-height: 138%;
            color: var(--grey-350);
            margin-top: 4px;
            cursor: pointer;
            transition: 0.3s;
            width: fit-content;
            &:hover {
                color: #2d5bff;
            }
        }
    }
    @media (max-width: 996px) { 
        padding-top: unset;
        .page-grid-with-sidebars {
            position: relative;
            &:before {
                content: "";
                width: calc(100% + 32px);
                height: 1px;
                left: -16px;
                position: absolute;
                top: 0;
                background: #e4e4e4;
            }
        }
        .single-letter-block {
            .letter-block__letter {
                font-size: 32px;
                margin-bottom: 20px;
            }
        }
        .similar-section {
            padding: 40px 0px 80px;
        }
    }
    @media (max-width: 498px) { 
        .similar-section {
            .glossary-posts-grid {
                display: flex;
                flex-direction: column;
                gap: 12px;
            }
        }
    }
}
.glossary-letters {
    .letters-title {
        font-weight: 600;
        font-size: 24px;
        line-height: 117%;
        color: #000;
        margin-bottom: 20px;
    }
    .letters {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        .letter {
            min-width: 36px;
            height: 36px;
            border-radius: 8px;
            padding: 8px 13px;
            font-weight: 500;
            font-size: 14px;
            line-height: 143%;
            color: var(--black);
            transition: 0.3s;
            cursor: pointer;
            &.active {
                pointer-events: none;
            }
            &.active,
            &:hover {
                background: #2d5bff;
                color: var(--white);
            }
        }
    }
}


.glossary-posts-grid {
    .glossary-items {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .glossary-item {
        &:hover {
            color: #2d5bff;
        }
    }
    .letter-block__letter {
        font-size: 36px;
        margin-bottom: 24px;
    }
    .letter-block__show-more {
        margin-top: 16px;
        color: var(--color-gray);
        text-decoration: underline
    }
    @media (max-width: 498px) { 
        .letter-block__letter {
            font-size: 32px;
        }
    }
}


.faq-title {
    font-weight: 600;
    font-size: 32px !important;
    line-height: 113%;
    color: var(--black);
    margin-bottom: 16px;
    @media (max-width: 996px) { 
        font-size: 32px !important;
        margin-bottom: 8px;
    }
}
.schema-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    .schema-faq-section {
        border-radius: 12px;
        background: #f1f2f6;
        display: flex;
        flex-direction: column;
        &.uk-open {
            .schema-faq-question:before {
                transform: translateY(-50%) rotate(45deg);
            }
        }
    }
    .schema-faq-question {
        display: flex;
        align-items: center;
        padding: 21px 100px 21px 24px;
        font-weight: 600;
        font-size: 16px;
        line-height: 138%;
        color: var(--black);
        cursor: pointer;
        position: relative;
        &:before {
            content: "";
            width: 14px;
            height: 14px;
            top: 50%;
            transform: translateY(-50%);
            right: 38px;
            position: absolute;
            background-image: url(../images/questionBefore.svg);
            background-size: contain;
            background-repeat: no-repeat;
            pointer-events: none;
            transition: 0.3s;
        }
        & strong {
            font-weight: 600;
            font-size: 16px;
            line-height: 138%;
            color: var(--black);
        }
    }
    .schema-faq-answer {
        padding: 0px 24px 24px;
        font-weight: 400;
        font-size: 16px;
        line-height: 138%;
        color: var(--grey-600);
    }
}
p.wp-block-paragraph:has(+.schema-faq) {
    font-weight: 500;
    font-size: 16px;
    line-height: 138%;
    color: #716c7d;
}