blockquote,
.wp-block-quote {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    padding: 30px;
    display: block;
    position: relative;
    background-color: $smoke-color;
    margin: 40px 0 53px 0;
    color: $title-color;
    font-family: $title-font;
    border-radius: 30px;

    &.event-blockquote {
        &:after {
            display: none;
        }
    }


    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;

        a {
            color: inherit;
        }
    }

    &:after {
        content: url("data:image/svg+xml,%3Csvg width='62' height='41' viewBox='0 0 62 41' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M34.0484 41C48.396 35.4229 42.279 25.8884 42.279 25.8884C37.8209 23.6428 34.7612 19.0133 34.7612 13.6667C34.7612 6.11877 40.8588 0 48.3806 0C55.9024 0 62 6.11877 62 13.6667C62 25.8884 51.4754 41 34.0484 41ZM0 41C14.3476 35.4229 8.23053 25.8884 8.23053 25.8884C3.77242 23.6428 0.712807 19.0133 0.712807 13.6667C0.712807 6.11877 6.81041 0 14.3322 0C21.854 0 27.9516 6.11877 27.9516 13.6667C27.9516 25.8884 17.427 41 0 41Z' fill='%23FE5A86'/%3E%3C/svg%3E%0A");
        position: absolute;
        bottom: -20px;
        right: 46px;
        //clip-path: path('M2.21945 18.2759C0.775335 16.6762 0 14.8819 0 11.9734C0 6.8553 3.44484 2.26804 8.45438 0L9.70641 2.01506C5.03057 4.65307 4.11643 8.07633 3.75189 10.2347C4.5048 9.82818 5.49044 9.68633 6.45645 9.77992C8.98576 10.0241 10.9795 12.1898 10.9795 14.8819C10.9795 16.2393 10.4625 17.5411 9.54219 18.5009C8.62192 19.4608 7.37376 20 6.07229 20C5.35256 19.9934 4.64126 19.8376 3.97981 19.5416C3.31836 19.2457 2.71996 18.8154 2.21945 18.2759ZM16.24 18.2759C14.7959 16.6762 14.0205 14.8819 14.0205 11.9734C14.0205 6.8553 17.4654 2.26804 22.4749 0L23.7269 2.01506C19.0511 4.65307 18.137 8.07633 17.7724 10.2347C18.5253 9.82818 19.511 9.68633 20.477 9.77992C23.0063 10.0241 25 12.1898 25 14.8819C25 16.2393 24.483 17.5411 23.5627 18.5009C22.6424 19.4608 21.3943 20 20.0928 20C19.3731 19.9934 18.6618 19.8376 18.0003 19.5416C17.3389 19.2457 16.7405 18.8154 16.24 18.2759Z');
    }

    cite {
        display: inline-block;
        font-size: 20px;
        font-weight: 600;
        line-height: 18px;
        font-style: normal;
        font-family: $title-font;
        white-space: nowrap;
        position: absolute;
        bottom: -17px;
        left: 80px;
        background-color: $theme-color;
        color: $white-color;
        padding: 8px 50px 8px 20px;
        clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0% 100%);

        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;
        }
    }
}

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

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

.wp-block-pullquote blockquote,
.wp-block-pullquote p {
    color: $title-color;
}

.wp-block-pullquote cite {
    position: absolute;
    color: $white-color !important;
}

.wp-block-column {

    blockquote,
    .wp-block-quote {
        &:before {
            width: 100%;
            height: 60px;
            font-size: 30px;
        }

        padding: 40px 15px 40px 15px;

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

        cite {
            font-size: 14px;

            // left: 20px;
            @include xl {
                left: 0;
            }

            &:before {
                bottom: 6px;
            }
        }
    }
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite,
.wp-block-pullquote footer {
    &::before {
        bottom: 7px;
    }
}

.has-cyan-bluish-gray-background-color {

    blockquote,
    .wp-block-quote {
        background-color: $white-color;
    }
}

.wp-block-pullquote.is-style-solid-color blockquote {
    &:before {
        background-color: var(--white-color);
    }

    @include xl {
        p {
            font-size: 22px;
        }
    }
}

.comment-content {
    blockquote {
        &:before {
            background-color: $white-color;
        }
    }
}

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

    blockquote,
    .wp-block-quote {
        cite {
            font-size: 18px;
            // left: 30px;
        }
    }
}

@include xs {

    .wp-block-quote.is-large:not(.is-style-plain) p,
    .wp-block-quote.is-style-large:not(.is-style-plain) p {
        font-size: 1.2em;
    }
}

@include vxs {

    blockquote,
    .wp-block-quote {
        cite {
            font-size: 14px;

            &:before {
                width: 20px;
                bottom: 40px;
                right: 20px;
            }
        }
    }
}

.blog-meta {
    display: block;

    span,
    a {
        display: inline-block;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        color: $body-color;
        font-family: $body-font;
        position: relative;
        text-transform: capitalize;
        margin-right: 16px;

        i {
            margin-right: 8px;
            color: $theme-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: 15px;

            &:not(:last-child) {
                padding-right: 15px;
            }
        }
    }
}

@include xs {
    .blog-meta {

        span,
        a {
            margin-right: 20px;

            &:not(:last-child) {
                padding-right: 0;

                &:after {
                    display: none;
                }
            }
        }
    }
}

.blog-audio,
.blog-img,
.blog-video {
    line-height: 1px;

    img {
        width: 100%;
        transition: 0.4s ease-in-out;
    }
}

.blog-title {
    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: 4px;
    }
}



.blog-single {
    position: relative;
    background-color: $white-color;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.05);
    border-radius: 60px;
    margin-bottom: 40px;
    overflow: hidden;
    @include lg {
        border-radius: 30px;
    }

    &.blog-grid {
        background-color: $smoke-color2;

        .blog-content {
            padding: 40px 30px 40px 40px;
            border: none;

            @include sm {
                padding: 30px;
            }

            .line-btn {
                color: $theme-color;

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


    .blog-title {
        margin-bottom: 25px;
        font-size: 30px;
        line-height: 1.25;
        font-weight: 600;
    }

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

    .blog-meta {
        margin: -0.35em 0 10px 0;
    }

    .blog-content {
        margin: 0 0 0 0;
        padding: var(--blog-space-y, 40px) var(--blog-space-x, 40px);
        position: relative;

        .blog-single {
            padding: 20px;
        }
    }

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

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

    .blog-img {
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;

        &:before {
            position: absolute;
            top: 0;
            left: -100%;
            display: block;
            content: '';
            width: 50%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transform: skewX(25deg);
            z-index: 2;
        }

        .slider-arrow {
            --pos-x: 30px;
            --icon-size: 44px;
            border: none;
            background-color: $white-color;
            color: $theme-color;
            box-shadow: none;
            visibility: visible;
            opacity: 1;
            transform: none;
            border-radius: 30px;

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

            @include lg {
                display: none;
            }
        }

        .play-btn {
            --icon-size: 100px;
            position: absolute;
            left: 50%;
            top: 50%;
            margin: calc(var(--icon-size) / -2) 0 0 calc(var(--icon-size) / -2);
            font-size: var(--icon-font-size, 1.7em);

            @include sm {
                --icon-size: 70px;
            }
        }

        .blog-date {
            position: absolute;
            top: 40px;
            left: 40px;
            background: $theme-color;
            border-radius: 30px;
            color: $white-color;
            font-family: $title-font;
            font-weight: 600;
            font-size: 36px;
            line-height: 30px;
            padding: 12.5px 20px;
            display: block;

            .month {
                font-size: 20px;
                display: block;
            }

        }
    }

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

    &:hover {
        .blog-img {
            &:before {
                animation: shine 1.9s;
            }
        }
    }
}

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

    @include lg {
        gap: 25px;
    }

    @include md {
        display: block;
    }

    .blog-img {
        position: relative;
        min-width: 50%;
        overflow: hidden;
        transition: all 0.4s ease;

        &:before {
            position: absolute;
            top: 0;
            left: -100%;
            display: block;
            content: '';
            width: 50%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transform: skewX(25deg);
            z-index: 2;
        }

        img {
            width: 100%;
            object-fit: cover;
        }

        @include md {
            min-width: 100%;
            margin-bottom: 30px;
        }
    }

    .blog-meta {
        display: block;
        margin-top: -0.3rem;
    }

    .blog-title {
        margin-bottom: 20px;
        font-size: 30px;
        line-height: 1.25;
        font-weight: 500;

        @include xl {
            font-size: 26px;
        }
    }

    &:hover {
        .blog-img {
            &:before {
                animation: shine 1.9s;
            }
        }
    }
}

.share-links-area {
    border-bottom: 1px solid #D8DDE1;
    padding-bottom: 15px;
}

.share-links-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    color: $title-color;
    font-family: $title-font;
    margin: 0 15px 0 0;
    display: inline-block;
    text-transform: capitalize;
}

.share-links {
    margin: 30px 0 0px 0;

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

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

        a {
            background-color: $smoke-color;
            font-family: $body-font;
            box-shadow: none;
            padding: 12px 20px;

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

    .th-social {
        display: inline-block;

        a {
            --icon-size: 25px;
            line-height: 25px;
            border-radius: 30px;
            font-size: 14px;
            padding: 1px;
            background-color: #16C4E3;
            color: $white-color;
            transition: all 0.4s ease-in-out;

            &:nth-child(2) {
                background-color: #FC800A;
            }

            &:nth-child(3) {
                background-color: $theme-color;
            }

            &:nth-child(4) {
                background-color: #7DBE48;
            }


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

        }
    }
}

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

    @include lg {
        display: block;
    }

    i {
        width: 56px;
        height: 104px;
        line-height: 104px;
        display: block;
        text-align: center;
        color: $white-color;
        font-size: 20px;
        background: $theme-color;
        border-radius: 60px 0px 0px 60px;

    }

    .nav-text {
        font-size: 20px;
        font-weight: 600;
        font-family: $title-font;
        color: $title-color;
        display: inline-block;
        max-width: 208px;

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

    .nav-btn {
        display: flex;
        align-items: center;
        gap: 30px;
        background-color: $white-color;
        box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.06);
        border-radius: 60px;
        min-width: 400px;

        @media(max-width: 1399px) {
            min-width: 340px;
        }

        @include xl {
            min-width: 300px;
        }

        @include lg {
            margin-bottom: 40px;
        }

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

            i {
                border-radius: 0px 60px 60px 0px;
            }
        }

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

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

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

        .nav-img {
            min-width: 85px;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            transition: 0.4s;

            @include sm {
                display: none;
            }

            &: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: 38px;
        color: $smoke-color;

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

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

.blog-author {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    background-color: $smoke-color;
    border-radius: 20px;
    overflow: hidden;

    .auhtor-img {
        width: 212px;
        min-height: 100%;
        background-color: #00ffff;
        text-align: center;
        display: grid;
        align-content: center;
        justify-content: center;

        @include sm {
            width: 100%;
            min-height: 200px;
        }

        img {
            width: 96px;
            height: auto;
            object-fit: cover;
            object-position: center center;
        }
    }

    .author-name {
        font-size: 24px;
        margin-top: -0.2em;
        margin-bottom: 16px;
    }

    .author-text {
        margin-bottom: 0;
    }

    .media-body {
        padding: 40px 40px 40px 40px;
        align-self: center;
    }
}

@include sm {
    .blog-author {
        flex-direction: column;

        .auhtor-img {
            img {
                width: 100%;
            }
        }
    }
}

@include xs {
    .blog-author .media-body {
        padding: 35px 20px 30px 20px;
    }
}

.blog-details {

    .blog-content {

        >p:last-child {
            margin-bottom: 0;
        }
    }

}

.blog-content {
    .wp-block-search .wp-block-search__input {
        box-shadow: none;
    }
}

@include ml {
    .blog-single {
        .blog-title {
            font-size: 28px;
            line-height: 1.4;
        }
    }

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

@include lg {
    .blog-single {
        --blog-space-x: 20px;
        --blog-space-y: 20px;
    }
}

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

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

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

    .blog-single {
        --blog-space-x: 30px;
        --blog-space-y: 30px;

        .blog-title {
            font-size: 24px;
            line-height: 1.3;
        }

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

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

@include xs {
    .share-links-title {
        margin: 0 15px 5px 0;
    }
}