/* Blockquote ---------------------*/
blockquote,
.wp-block-quote {
    font-size: 18px;
    line-height: 1.33;
    padding: 56px 61px 56px 61px;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: block;
    position: relative;
    background-color: $title-color;
    margin: 34px 0 40px 0;
    font-weight: 400;
    font-size: 24px;
    color: $white-color;
    font-style: normal;
    text-align: center;

    .quote {
        margin-bottom: 32px;
    }


    p {
        font-size: inherit;
        font-family: inherit;
        margin-top: -0.3em;
        margin-bottom: 9px;
        line-height: inherit;
        color: inherit;
        width: 100%;
        position: relative;
        z-index: 3;
        margin-bottom: 0;

        a {
            color: inherit;
        }
    }

    cite {
        display: inline-block;
        font-weight: 400;
        font-size: 20px;
        line-height: 1;
        font-style: normal;
        font-family: $body-font;
        white-space: nowrap;
        color: $white-color;
        margin-top: 22px;

        @include vxs {
            font-size: 18px;
        }

        br {
            display: none;
        }
    }

    &.is-large:not(.is-style-plain),
    &.is-style-large:not(.is-style-plain),
    &.style-left-icon,
    &.has-text-align-right {
        padding: 40px;
        margin-bottom: 30px;
    }

    &.style-left-icon {
        font-size: 18px;
        color: $body-color;
        font-weight: 400;
        line-height: 1.556;
        background-color: $smoke-color;
        padding-left: 160px;

        &:before {
            right: unset;
            left: 56px;
            top: 60px;
            font-size: 6rem;
            font-weight: 400;
            line-height: 4rem;
            color: $theme-color;
            text-shadow: none;
        }

        cite {
            color: $title-color;

            &:before {
                background-color: $title-color;
                top: 8px;
            }
        }
    }

    &:not(:has(> cite)) {
        p:last-child {
            margin-bottom: -0.3em;
        }
    }

    p {
        &:has(cite) {
            padding-bottom: 10px;
        }

        cite {
            margin-top: 20px;
            margin-bottom: -0.5em;
            bottom: -32px;
        }
    }
}

.page--content {

    blockquote:before,
    .wp-block-quote:before {
        background-color: #fff;
    }
}

.wp-block-pullquote {
    color: $body-color;
    padding: 0;
}

blockquote.has-very-dark-gray-color {
    color: $body-color !important;
}

.wp-block-column {

    blockquote,
    .wp-block-quote {

        &.style-left-icon,
        &.is-large:not(.is-style-plain),
        &.is-style-large:not(.is-style-plain),
        &.has-text-align-right {
            padding: 100px 15px 30px 15px;
        }
    }
}

@include lg {

    blockquote,
    .wp-block-quote {
        font-size: 16px;
        padding: 40px 20px 40px 20px;

        &:before {
            width: 100px;
            font-size: 52px;
        }

        cite {
            margin-top: 23px;
        }

    }
}

@include sm {

    .wp-block-pullquote.is-style-solid-color blockquote {
        max-width: 90%;
    }
}

.blog-meta {
    display: block;

    span,
    a {
        display: inline-block;
        font-size: 16px;
        font-weight: 400;
        color: $body-color;
        font-family: $body-font;
        position: relative;
        margin-right: 32px;

        i {
            margin-right: 6px;
            color: $title-color;
        }

        &:last-child {
            margin-right: 0;
        }
    }

    .author {
        img {
            border-radius: 50%;
            width: 30px;
            height: 30px;
            margin-right: 6px;
        }
    }

    a:hover {
        color: $theme-color;
    }
}


@include lg {
    .blog-meta {

        span,
        a {
            margin-right: 6px;
            padding-right: 15px;
        }
    }
}

.blog-audio,
.blog-img,
.blog-video {
    img {
        transition: 0.4s ease-in-out;
    }
}

.blog-title {
    text-transform: capitalize;

    a {
        color: inherit;

        &:hover {
            color: $theme-color;
        }
    }
}

.th-blog {
    margin-bottom: 30px;
}

.blog-inner-title {
    margin-top: -0.25em;
    margin-bottom: 25px;

    i {
        color: $theme-color;
        margin-right: 10px;
    }
}

@media (min-width: 1300px) {

    .page-single,
    .blog-single,
    .as-comments-wrap,
    .as-comment-form {
        margin-right: 16px;
    }
}

.page-single {
    .subtitle {
        background: #FFF2F2;
        border-radius: 24px;
        padding: 9px 16px;
        font-weight: 500;
        font-size: 14px;
        line-height: 28px;
        letter-spacing: 0.02em;
        color: $title-color;
        display: inline-block;
        margin-bottom: 20px;
    }
}

.blog-single {
    position: relative;
    margin-bottom: var(--blog-space-y, 40px);
    overflow: hidden;

    .blog-date {
        .date {
            font-weight: 700;
            font-size: 24px;
            color: $title-color;
            display: block;
        }

        .month {
            font-weight: 400;
            font-size: 14px;
            color: $body-color;
        }
    }

    &.single-grid {
        .blog-img {
            margin-bottom: 24px;
        }

        .blog-meta {
            margin: -0.25em 0 16px 0;

            span,
            a {
                padding: 8px;
                border: 1px solid #EDEDED;
                font-weight: 400;
                font-size: 14px;
                color: $theme-color;
                margin-right: 10px;

                i {
                    color: $theme-color;
                    margin-right: 8px;
                }
            }

            .author {
                color: $body-color;
            }
        }

        .blog-date {
            .date {
                font-weight: 700;
                font-size: 24px;
                color: $title-color;
                display: block;
            }

            .month {
                font-weight: 400;
                font-size: 14px;
                color: $body-color;
            }
        }

        .box-title {
            max-width: 462px;
            border-bottom: 1px solid rgba(92, 95, 113, 0.2);
            margin-bottom: 32px;
            padding-bottom: 25px;

            @include lg {
                max-width: 425px;

            }

            @include md {
                max-width: 100%;
            }
        }

    }

    .th-btn {
        color: $title-color; 
    }

    .blog-title {
        border-bottom: 1px solid $smoke-color3;
        padding-bottom: 24px;
        margin-bottom: 32px;
    }

    .blog-text {
        margin-bottom: 35px;
    }

    .social-links {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: inline-block;
        padding: 3.5px 19px;
        background: #F2F3FC;
        border-radius: 4px;


        li {
            display: inline-block;
            margin-right: 15px;

            &:last-child {
                margin-right: 0;
            }
        }

        a {
            display: inline-block;
            font-size: 16px;
            color: $title-color;
            text-align: center;

            &:hover {
                color: $theme-color;
            }
        }
    }

    .blog-meta {
        margin: -0.25em 0 3px 0;
    }

    .blog-content {
        position: relative;
    }

    .blog-audio {
        line-height: 1;
    }

    .blog-audio,
    .blog-img,
    .blog-video {
        position: relative;
        overflow: hidden;
        background-color: $smoke-color;
    }

    .blog-img {
        margin-bottom: 50px;

        @include md {
            margin-bottom: 35px;
        }

        img {
            width: 100%;
        }

        .slick-arrow {
            --pos-x: 30px;
            --icon-size: 45px;
            border: none;
            background-color: $white-color;
            color: $theme-color;
            border-radius: 5px;
            box-shadow: none;

            &:hover {
                background-color: $theme-color;
                color: $white-color;
            }
        }

        .play-btn {
            --icon-size: 60px;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }
    }

    .line-btn {
        display: block;
        max-width: fit-content;
        margin-bottom: -1px;
    }

    &:hover {
        .blog-img {
            .slick-arrow {
                opacity: 1;
                visibility: visible;
            }
        }
    }
}

.blog-list-single {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;

    @include ml {
        flex-direction: column;
    }

    .blog-img {
        min-width: 496px;
        max-width: 496px;
        border-radius: 24px;

        @include ml {
            min-width: 100%;
        }

        @include md {
            margin-bottom: 0;
        }

        img {
            width: 100%;
            border-radius: 24px;
            object-fit: cover;
        }

    }

    .blog-profile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
    }

    .blog-author {
        display: flex;
        align-items: center;
        gap: 8px;

        img {
            max-width: 40px;
            object-fit: cover;
        }

        .title {
            font-family: $body-font;
            font-weight: 500;
            font-size: 16px;
            letter-spacing: 0.02em;
            color: $title-color;
            margin-bottom: 0;
        }
    }

    .tag {
        padding: 4px 18px;
        font-weight: 400;
        font-size: 14px;
        letter-spacing: 0.02em;
        color: #4E4E4E;
        border: 1px solid #E4E4E6;
        border-radius: 48px;

    }

    .blog-text {
        margin-bottom: 35px;
    }
}

.blog-desc {
    font-size: 18px;
    line-height: 1.5;
}

.share-links-title {
    font-size: 20px;
    color: $title-color;
    font-family: $body-font;
    font-weight: 500;
    margin: 0 15px 0 0;
    display: inline-block;
}

.share-links {
    border-top: 1px solid $border-color;
    padding: 32px 0 0 0;

    >.row {
        align-items: center;
        --bs-gutter-y: 20px;
    }

    .wp-block-tag-cloud,
    .tagcloud {
        display: inline-block;
    }
}

@include ml {
    .blog-single {

        // .blog-title {
        //     font-size: 40px;
        // }
    }

    .share-links {
        --blog-space-x: 20px;
    }
}


@include md {
    .blog-details .blog-single {
        --blog-space-x: 20px;
        --blog-space-y: 40px;
    }

    .share-links {
        --blog-space-x: 40px;
    }
}

@include sm {
    .share-links {
        --blog-space-x: 20px;
    }

    .blog-details .blog-single {
        --blog-space-x: 20px;
        --blog-space-y: 20px;
    }

    .blog-single {

        .blog-text {
            margin-bottom: 22px;
        }

        .blog-bottom {
            padding-top: 15px;
        }

        .share-links-title {
            font-size: 18px;
            display: block;
            margin: 0 0 10px 0;
        }
    }
}

.blog-text {
    line-height: 26px;
    margin-bottom: 25px;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;

    @include xl {
        flex-direction: column;
        gap: 20px;
    }

    .nav-text {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 24px;
        color: $white-color;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        font-weight: 500;
        width: 100%;
        z-index: 2;
        transform: translate(-50%, -50%);
        transition: all 0.4s ease-in-out;

        @include sm {
            font-size: 16px;
        }
    }

    .icon {
        width: 88px;
        height: 40px;
        line-height: 35px;
        text-align: center;
        border: 1px solid $white-color;
        border-radius: 48px;
        transition: all 0.4s ease-in-out;

        img {
            filter: brightness(0) invert(1);
        }

        &:hover {
            background-color: $theme-color;
            border-color: $theme-color;
        }
    }

    .nav-btn {
        position: relative;
        z-index: 2;

        &.next {
            flex-direction: row-reverse;
            text-align: right;
        }

        &:hover {
            .nav-text {
                color: $theme-color;
            }

            .nav-img {
                &:after {
                    transform: scale(1);
                }

                i {
                    transform: scale(1);
                }
            }
        }

        .nav-img {
            min-width: 387px;
            position: relative;
            overflow: hidden;
            transition: 0.4s;
            z-index: 2;

            @include xl {
                min-width: 100%;
            }

            img {}

            &:after {
                content: "";
                position: absolute;
                inset: 0;
                background-color: rgba(0, 0, 0, 0.7);
                transform: scale(0);
                transition: 0.4s ease-in-out;
            }

            i {
                position: absolute;
                inset: 0;
                text-align: center;
                line-height: 81px;
                font-size: 24px;
                color: var(--theme-color);
                transform: scale(0);
                z-index: 2;
                transition: 0.4s ease-in-out;
            }

            img {
                width: 100%;
                height: 100%;
                transform: scale(1.2);
                border-radius: 10px;
                transition: 0.4s ease-in-out;
            }
        }
    }

    .blog-next {
        text-align: right;
    }

    .blog-btn {
        font-size: 34px;
        color: $title-color;

        @include sm {
            font-size: 25px;
        }

        &:hover {
            color: $theme-color;
        }
    }
}



.blog-slideshow {
    position: relative;
    width: 100%;
    height: 745px;
    overflow: hidden;

    .box-img {
        position: absolute;
        top: 0%;
        left: 0%;
        width: 120%;
        height: 120%;
        background-size: cover;
        background-position: center;
        will-change: transform;

        &:after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(2, 0, 15, 0.5), rgba(2, 0, 15, 0.5));
        }
    }

    .box-content {
        position: absolute;
        bottom: 64px;
        left: 64px;
        max-width: 570px;
        z-index: 5;

        .field-tag {
            margin-bottom: 16px;

            .tag {
                display: inline-block;
                font-weight: 400;
                font-size: 14px;
                line-height: 14px;
                color: $white-color;
                border: 1px solid #EDEDED;
                padding: 8px;
                word-spacing: 0px;
                transform: translateY(100%);
                opacity: 0;

                &:not(:last-child) {
                    margin-right: 12px;
                }

            }
        }

        .box-title {
            display: block;
            font-family: $title-font;
            font-size: 48px;
            line-height: 58px;
            font-weight: 500;
            color: #FFFFFF;
            word-spacing: 14px;
            transform: translateY(100%);
            opacity: 0;

        }
    }
}

.slider-counter-wrapp {
    position: absolute;
    bottom: 64px;
    right: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    z-index: 9;
    min-width: 460px;

    .icon-btn {
        --btn-size: 54px;
        background-color: $white-color;
        border-radius: 0;
        font-size: 22px;

        &:hover {
            background-color: $theme-color;
        }

    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(0);
}

.slide.active {
    visibility: visible;
}




.controls {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.controls-text {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
}

.slide-counter {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 10;

    .box-title {
        font-weight: 700;
        font-size: 24px;
        color: $white-color;
        margin-bottom: -0.4rem;
    }

    .divided {
        height: 46px;
        width: 1px;
        background-color: #EDEDED;

    }

}

.counter-container {
    position: relative;
    min-width: 40px;
    height: 40px;
    overflow: hidden;
    text-align: right;
}

.counter-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: right;
}

.counter-total {
    min-width: 2rem;
    text-align: left;
}

.slide-info {
    position: fixed;
    top: 2rem;
    left: 2rem;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
    z-index: 10;
    max-width: 15rem;
}

.slide-info-title {
    margin-bottom: 0.5rem;
}

.cursor {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: -30px;
    margin-left: -30px;
    z-index: 9999;
    pointer-events: none;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.cursor-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    opacity: 0;
}

.cursor.active {
    transform: scale(1);
}

.cursor.prev .cursor-arrow.prev,
.cursor.next .cursor-arrow.next {
    opacity: 1;
}

/* ------------ popup-card -------------------*/
.popup-card {}