/*
Theme Name: Nason
Author: domainlee
Support: domainlee.niit@gmail.com
Description: Blog & Magazine Minimal
Version: 1.0.0
*/

/* CSS Index
-------------------------------------
1. Theme default css
2. Loading
3. Header
4. Area Feature Style 1
5. Area Feature Style 2
6. Area Feature Style 3
7. Post Five
8. Sidebar & Pagination
9. Footer
10. 404
11. Contact
12. Page About, Author
13. Archive
14. Typography
15. Breadcrumb
16. Single Page
17. Custom OWL
*/

/* 1. Theme default css */

::selection {
    background: #111;
    color: #fff;
}

html {
    --color-bg-def: #fdfdff;
    --background-color-df: var(--background-color, var(--color-bg-def));
    --background-color-main: #FFF;
    --background-color-qoute: #29294b;
    --color-bg-nav: #efefef;
    --color-text-main: #29294b;
    --color-box-shadow-rgb: #7272ff1f;
    --color-box-shadow-hover-rgb: #6c6cc73d;
    --color-a-hover: #000;
    --color-entry-date: #717389;
    --color-entry-author: #4440b4;
    --color-sub-content: #64667b;
    --color-main: #9490e3;
    --color-heading: #666;
    --color-border: #DDD;
    .light {
        display: inline-block;
    }
    .dark {
        display: none;
    }
}
html[data-theme='dark'] {
    --color-bg-def: #222222;
    --background-color-df: var(--background-color, var(--color-bg-def));
    --background-color-main: #2e2e2e;
    --background-color-qoute: #2e2e2e;
    --color-bg-nav: #494747;
    --color-text-main: #FFF;
    --color-box-shadow-rgb: #202020cc;
    --color-box-shadow-hover-rgb: #202020cc;
    --color-a-hover: #FFF;
    --color-entry-date: #FFF;
    --color-entry-author: #FFF;
    --color-sub-content: #FFF;
    --color-main: #FFF;
    --color-heading: #FFF;
    --color-border: #333;
    .light {
        display: none;
    }
    .dark {
        display: inline-block;
    }
}


:root {
    --color-bg-active-def: var(--color-main);
    --primary-custom-border-color: #000;
    --background-color-heading-sidebar-df: #f4e4d9;
    --background-active-df: var(--background-active, var(--color-bg-active-def));
}
$color-grey: #DDD;

.ratio219 {
    aspect-ratio: 21 / 9;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: $color-grey;
}
.ratio169 {
    aspect-ratio: 16 / 9;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: $color-grey;
}
.ratio32 {
    aspect-ratio: 3 / 2;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: $color-grey;
}
.ratio43 {
    aspect-ratio: 4 / 3;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: $color-grey;
}
.ratio11 {
    aspect-ratio: 1 / 1;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: $color-grey;
}
a {
    color: var(--color-text-main);
    text-decoration: none;
}

a:hover {
    color: var(--color-a-hover);
    text-decoration: underline;
    text-decoration-color: var(--background-active-df);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    font-family: var(--heading-font);
    @extend .text-break;
    color: var(--color-text-main);
}

/* New line css updated 09/02/25 */
body {
    background: var(--background-color-df);
    font-family: var(--body-font);
    &.search-open-js {
        overflow: hidden;
    }
}

// *** Start Header ****/


.head--v1 {
    &.head {
        margin: 0;
        width: 100%;
        z-index: 5;
        position: relative;
    }
    .head__inner {
        padding: 20px 0;
        background: var(--background-color-df);
    }
    i {
        font-size: 20px;
    }
    .head--v1__left {
        .left {
            margin: 0 15px 0 0;
        }
    }
    .head--v1__right {
        .right {
            margin: 0 0 0 15px;
        }
    }
}

.head__fixed {
    .head--v1 {
        .head__inner {
            padding: 10px 0;
            position: fixed;
            width: 100%;
            -webkit-animation: headerPinnedSlideDown .5s;
            animation: headerPinnedSlideDown .5s;
        }
        .head__nav {
            margin: 0;
        }
    }
}

@-webkit-keyframes headerPinnedSlideDown{
    0%{
        top:-100%
    }
    to{
        top:0
    }
}
@keyframes headerPinnedSlideDown{
    0%{
        top:-100%
    }
    to{
        top:0
    }
}
.head__sologan {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    font-weight: 700;
    font-family: var(--logo-font);
    span {
        font-weight: 400;
        font-size: 16px;
    }
    img {
        max-height: 40px;
    }
}
// *** End Header ****/

// *** Start Navigation ****/

.head__social {
    display: inline-flex;
    .head__social--list {
        list-style: none;
        display: inline-flex;
        li {
            margin: 0 0;
            display: inline-flex;
            a {
                i {
                    font-size: 17px;
                }
                display: inline-flex;
                &:hover {
                    text-decoration: none;
                }
            }
        }
    }
    &.left .head__social--list li {
        margin: 0 10px 0 0;
    }
    &.right .head__social--list li {
        margin: 0 0 0 15px;
    }
}

.toggle-search {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    &:hover {
        text-decoration: none;
    }
}
.button-nav {
    display: inline-flex;
    &:hover {
        text-decoration: none;
    }
}
.form-search {
    position: relative;
    opacity: 0;
    visibility: hidden;
    .form-search__inner {
        height: 100vh;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--background-color-df);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow: hidden;
        z-index: 10;
        .search-form {
            display: flex;
            justify-content: center;
            width: 90%;
            max-width: 500px;
            > label {
                width: 100%;
            }
            .search-field {
                border: 2px solid;
                padding: 8px 20px;
                border-radius: 10px;
                width: 100%;
            }
            .search-submit {
                margin: 0 0 0 5px;
                padding: 0 30px;
                border: none;
                border-radius: 10px;
                font-weight: 600;
                background-color: #000;
                font-size: 16px;
                color: #FFF;
            }
        }
        .btn-search-close {
            position: absolute;
            top: 8%;
            right: 4%;
            font-size: 22px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-end;
            cursor: pointer;
            z-index: 2;
            label {
                margin: 3px 0 0;
                font-size: 13px;
                color: #656565;
            }
            &:hover {
                text-decoration: none;
            }
        }
        .form-search__reference {
            margin: 30px 0 0;
            width: 90%;
            max-width: 800px;
            text-align: center;
            > h3 {
                font-size: 16px;
                margin: 0 0 15px;
            }
            ul {
                list-style: none;
                padding: 0;
                margin: 0;
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                li {
                    a {
                        border: 1px solid;
                        padding: 5px 15px;
                        margin: 5px;
                        border-radius: 17px;
                        -webkit-transition: all .2s ease;
                        -moz-transition: all .2s ease;
                        -o-transition: all .2s ease;
                        transition: all .2s ease;
                        display: inline-block;
                        &:hover {
                            text-decoration: none;
                            transform: translate(0, -2px);
                            box-shadow: 3px 3px 0 #000;
                        }
                    }
                }
            }
        }
    }
    .search-open-js & {
        opacity: 1;
        visibility: visible;
    }
}
.header__cart {
    position: relative;
    display: inline-flex;
    span {
        width: 18px;
        height: 18px;
        display: inline-flex;
        background-color: #000;
        color: #FFF;
        border-radius: 50%;
        position: absolute;
        right: -10px;
        top: -8px;
        justify-content: center;
        align-items: center;
        font-size: 11px;
    }
    a {
        display: inline-flex;
        &:hover {
            text-decoration: none;
        }
    }
}

.head__nav .nav__desktop >  ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.head__nav .nav__desktop > ul > li {
    list-style: none;
    position: relative;
    padding: 10px 0;
    &.current-menu-item, &:hover {
        > a {
            border-radius: 7px;
            background-color: var(--color-bg-nav);
        }
    }
}

.head__nav .nav__desktop > ul > li > a {
    margin: 0 2px;
    padding: 5px 15px;
    color: var(--color-text-main);
    font-size: 17px;
    font-weight: 500;
    font-family: var(--nav-font);
    display: inline-flex;
    align-items: center;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-radius: 5px;
    border: 1px solid transparent;
    text-transform: var(--header-nav-transform, var(--header-nav-transform-df));
}
.head__nav .nav__desktop > ul > li:hover > a {
    text-decoration: none;
}
.head__nav .nav__desktop > ul > li.menu-item-has-children > a:after {
    margin: 0 0 0 5px;
    content: "\f107";
    font: normal normal normal 14px/1 FontAwesome;
}

.head__nav .nav__desktop > ul > li > ul > li.menu-item-has-children > a:after {
    margin: 7px 0 0 auto;
    content: "\f054";
    font: normal normal normal 10px/1 FontAwesome;
}

.head__nav .nav__desktop > ul > li > ul {
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 60px;
    left: 0;
    width: 250px;
    background-color: var(--background-color-main);
    box-shadow: 0 5px 20px 0 var(--color-box-shadow-rgb);
    z-index: 3;
    border-radius: 6px;
}
.head__nav .nav__desktop > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
}
.head__nav .nav__desktop > ul > li > ul > li,
.head__nav .nav__desktop > ul > li > ul > li > ul > li {
    padding: 5px 15px;
    list-style: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.head__nav .nav__desktop > ul > li > ul > li > a {
    color: var(--color-text-main);
    display: flex;
    text-transform: var(--header-nav-transform, var(--header-nav-transform-df));
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.head__nav .nav__desktop > ul > li > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
}
.head__nav .nav__desktop > ul > li > ul > li:hover,
.head__nav .nav__desktop > ul > li > ul > li > ul > li:hover {
    border-radius: 6px 6px 0 0;
    > a {
        background-color: var(--color-bg-nav);
        transform: translate(5px, 0);
    }
}
.head__nav .nav__desktop > ul > li > ul > li,
.head__nav .nav__desktop > ul > li > ul > li > ul > li {
    &:first-child {
        &:hover {
            border-radius: 6px 6px 0 0;
        }
    }
    &:last-child {
        &:hover {
            border-radius: 0 0 5px 5px;
        }
    }
}
.head__nav .nav__desktop > ul > li > ul > li:hover a,
.head__nav .nav__desktop > ul > li > ul > li > ul > li:hover a {
    text-decoration: none;
}
.head__nav .nav__desktop > ul > li > ul > li > ul  {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: -1px;
    width: 250px;
    right: -250px;
    padding: 10px 0;
    background-color: var(--background-color-main);
    box-shadow: 0 5px 20px 0 var(--color-box-shadow-rgb);
    border-radius: 6px;
}
.head__nav .nav__desktop > ul > li > ul > li > ul > li {
    padding: 5px 15px;
    list-style: none;
}
.head__nav .nav__desktop > ul > li > ul > li > ul > li > a {
    color: var(--color-text-main);
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.head__nav .nav__desktop > ul > li:focus-within>ul {
    opacity: 1;
    visibility: visible;
}
.head__nav .nav__desktop > ul > li>ul>li:focus-within>ul {
    opacity: 1;
    visibility: visible;
}

.nav__mobile {
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        > li {
            padding: 5px 0;
            border-bottom: 1px solid var(--color-border);
            position: relative;
        }
        > li {
            ul {
                margin: 5px 0;
                padding: 0 0 0 15px;
                border-left: 2px solid var(--color-border);
                display: none;
                > li {
                    &:last-child {
                        border-bottom: none;
                    }
                }
            }
            &:last-child {
                border-bottom: none;
            }
        }
    }
    .menu-btn-more {
        position: absolute;
        right: 0;
        padding: 0 10px;
    }
}

.header__side {
    &:after {
        content: '';
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #00000094;
        transition: opacity 0.1s ease;
        opacity: 0;
        visibility: hidden;
        .nav-open-js & {
            opacity: 1;
            visibility: visible;
        }
    }
    .header__side--inner {
        padding: 50px;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 300px;
        background-color: var(--background-color-main);
        z-index: 2;
        transform: translateX(-300px);
        transition: all 0.3s ease;
        .nav-open-js & {
            transform: translateX(0px);
        }
        .admin-bar & {
            top: 32px;
        }
    }
}


.knobs, .layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.button-dark-mode, .button-dark-mode .layer {
    border-radius: 100px;
}
.button-dark-mode .knobs, .button-dark-mode .knobs:before, .button-dark-mode .layer {
    transition: 0.3s ease all;
}
.button-dark-mode .knobs:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    right: initial;
    width: 24px;
    height: 24px;
    bottom: 0;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    background-color: #FFF;
    z-index: -1;
    border-radius: 15px;
    transition: all 0.4s ease;
}
.button-dark-mode .checkbox:checked + .knobs:before {
    left: initial;
    right: 4px;
}
.button-dark-mode {
    position: relative;
    width: 65px;
    height: 30px;
    overflow: hidden;
    background-color: #bfbfbf;
    .checkbox {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }

    .knobs {
        display: flex;
        z-index: 0;
        justify-content: space-between;
        align-items: center;
        background-color: #ffffff85;
        span , strong {
            margin: 0 2px;
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            i {
                font-size: 12px;
            }
        }
    }
}

// *** End Navigation ****/

/** Start Hero **/
.hero {
    .hero__item--inner:not(.hero__row-1 *) {
        margin: 0 15px 20px 15px;
        @extend .border-default;
        .hero__content {
            padding: 10px 20px;
            height: 170px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .hero__title {
            font-size: 22px;

        }
        .thumbnail {
            border-radius: 15px;
        }
    }
    &.hero__row-3 {
        .hero__item--inner {
            .hero__title {
                font-size: 20px;
            }
        }
    }
    &.hero__row-4 {
        .hero__item--inner {
            .hero__title {
                font-size: 18px;
            }
        }
    }
    &.hero__row-1 {
        .hero__item--inner {
            margin: 0 15px 10px;
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            &:before {
                content: '';
                background-color: #00000057;
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                display: block;
                z-index: 1;
            }
            .hero__title {
                font-size: 32px;
                a {
                    color: #FFF;
                }
            }
            .hero__content {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                z-index: 3;
                display: flex;
                flex-direction: column;
                justify-content: end;
                padding: 70px;
                width: 60%;
                .hero__sub {
                    color: #FFF;
                }
                .entry__date {
                    color: #FFF;
                }
            }
            .hero__entry {
                color: #FFF;
            }
            .entry .entry__author a {
                color: #FFF;
            }
            .entry__cat-read .entry {
                padding: 70px;
            }
        }
    }
    img {
        width: 100%;
        object-fit: cover;
    }
    &.hero__slider-js {
        margin: 0 -15px;
    }
    &.hero__fullwidth {
        margin: 0;
    }
    &.hero__row-1 {
        &.hero__fullwidth {
            .hero__item--inner {
                //margin: 0 0 10px;
            }
        }
    }
    .hero__entry {
        color: var(--color-entry-date);
        font-size: 14px;
    }
}
.hero-tax__item--inner {
    margin: 5px 10px 10px 10px;
    @extend .border-default;
    transition: all 0.5s ease;
    &:hover {
        transform: translate(0, -5px);
        box-shadow: 6px 6px 0 #000;
    }
    figure {
        position: relative;
        .hero-tax__content {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: #00000094;
            color: #FFFF;
        }
    }
}
.hero__text {
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    h2, h1, h3 {
        margin: 0 auto;
        font-size: 54px;
        max-width: 900px;
        span {
            @include text-gradient();
        }
    }
    div, p {
        margin: 15px auto 0;
        max-width: 600px;
        color: var(--color-sub-content);
        font-size: 18px;
    }
}

.hero-grid {
    .hero-grid__right--item {
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--color-border);
        &:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
    }
    .hero-grid__inner {
        margin: 0 -20px;
        .hero-grid__left {
            padding: 0 20px;
            width: 60%;
            .hero-grid__left--inner {
                @extend .border-default;
            }
            .hero-grid__left--content {
                padding: 50px;
                .hero-grid__left--title {
                    font-size: 32px;
                }
            }
            .thumbnail {
                border-radius: 16px;
            }
        }
        .hero-grid__right {
            padding: 0 15px;
            width: 40%;
            .thumbnail {
                border-radius: 10px;
            }
            .hero-grid__right--inner {

            }
            .hero-grid__right--col:nth-child(1) {
                padding: 0 20px 0 0;
                width: 65%;
            }
            .hero-grid__right--col:nth-child(2) {
                width: 35%;
            }
            .entry .entry__category .post-categories li a {
                color: var(--color-text-main);
                box-shadow: 0 5px 20px 0 var(--color-box-shadow-rgb);
                background-color: var(--background-color-main);
            }
        }
    }
}

/** End Hero **/

.topic-tax {
    padding: 50px 0;

    .topic-tax__heading {
        text-align: center;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 3px;
        color: var(--color-sub-content);
        font-weight: 500;
    }
    .topic-tax__list {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 80%;
        .topic-tax__item a {
            margin: 10px;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            box-shadow: 0 5px 20px 0 var(--color-box-shadow-rgb);
            background-color: var(--background-color-main);
            border-radius: 25px;
            transition: all 0.3s ease;

            img {
                margin: 0 5px 0 0;
                width: 20px;
            }

            h3 {
                margin: 0;
                font-weight: 500;
            }

            &:hover {
                text-decoration: none;
                box-shadow: 0 8px 25px 0 var(--color-box-shadow-hover-rgb);
            }
        }
    }
}

/** Start Widget **/

@mixin heading_widget() {
    .wp-block-heading, .widget-title {
        margin: 0 0 15px;
        display: inline-flex;
        align-items: center;
        position: relative;
        z-index: 0;
        font-size: 13px;
        text-transform: uppercase;
        color: var(--color-heading);
        letter-spacing: 1px;
    }
}

@mixin tag_cloud() {
    .wp-block-tag-cloud {
        a {
            border-radius: 17px;
            padding: 5px 15px;
            -webkit-transition: all 0.2s ease;
            -moz-transition: all 0.2s ease;
            -o-transition: all 0.2s ease;
            transition: all 0.2s ease;
            &:hover {
                color: #333;
                background-color: var(--background-active-df);
                border: 1px solid #000;
                box-shadow: 3px 3px 0 #000;
                transform: translate(0, -2px);
            }
        }
    }
}

.crt-manage-widget-author__wrap {
    h3 {
        color: var(--color-entry-author);
    }
    color: var(--color-sub-content);
    &.crt-manage-widget-author__center {
        img {
            border: none !important;
        }
    }
}

.widget {
    margin: 0 0 20px;
    padding: 30px;
    @extend .border-default;
    .wp-block-latest-posts__post-title {
        font-size: 18px;
        font-weight: 600;
        font-family: var(--heading-font);
        @extend .text-break;
    }
    .wp-block-latest-comments__comment-link {
        font-family: var(--heading-font);
        font-weight: 600;
    }

    ul.wp-block-latest-posts__list {
        li {
            padding-bottom: 10px;
            margin-bottom: 10px;
            color: var(--color-sub-content);
            display: inline-block;
            width: 100%;
            &:last-child {
                border-bottom: none;
            }
        }
    }

    .wp-block-latest-posts__featured-image {
        border-radius: 8px;
        overflow: hidden;
    }
    ul, ol {
        margin: 0;
        padding: 0;
    }

    .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt, .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
        margin-left: 90px;
    }
    .wp-block-latest-comments .avatar, .wp-block-latest-comments__comment-avatar {
        height: 80px;
        width: 80px;
    }


    /** Custom Overwrite Default WP **/
    .wp-block-search__label {
        margin: 0 0 10px;
        color: var(--color-entry-author);
    }
    :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper), .wp-block-search__input {
        border-radius: 7px;
    }
    button.wp-block-search__button {
        padding: 0 15px;
        background-color: #000;
        color: #FFF;
        border-radius: 7px;
        border: none;
    }
    /***/

    ul.wp-block-categories-list, .wp-block-categories {
        list-style: none;
        li {
            padding: 10px 0;
            border-bottom: 1px solid var(--color-border);
            a {
                font-size: 16px;
                font-weight: 600;
                font-family: var(--heading-font);
                color: var(--color-text-main);
            }
            &:first-child {
                padding: 0 0 10px;
            }
            &:last-child {
                padding: 10px 0 0;
                border-bottom: none;
            }
        }
    }
    @include heading_widget;

    .mc4wp-form {
        .mc4wp-form-theme input[type=text], .mc4wp-form-theme input[type=email], .mc4wp-form-theme input[type=tel], .mc4wp-form-theme input[type=url], .mc4wp-form-theme input[type=date], .mc4wp-form-theme textarea, .mc4wp-form-theme select {
            margin: 10px 0 0;
            border-radius: 8px;
        }
        .mc4wp-form-theme-dark button, .mc4wp-form-theme-dark input[type=submit], .mc4wp-form-theme-dark input[type=button] {
            border-radius: 8px;
        }
    }
}

@include tag_cloud;


/** End Widget **/

/*** Start Post ***/
.post-list__title {
    font-size: 24px;
    @extend .text-break;
}
.post-list__item--content {
    padding: 0;
}
.post-list__btn {
    margin: 15px 0 0;
    a {
        @include btn-gradient();


    }
}
.post-list__item {

}


.post-grid-two__image,
.post-grid-three__image,
.post-grid-four__image {
    border-radius: 16px;
}

.post-grid-four__item--inner {
    @extend .height-flex;
    .post-grid-four__content {
        padding: 30px;
        text-align: center;
    }
}
.grid {
    margin: 0 calc(var(--bs-gutter-x)/-2);
    .grid__item {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        float: left;
        img {
            max-width: 100%;
            border-radius: 16px;
        }
        &.grid__item-two  {
            width: 50%;
        }
        &.grid__item-three  {
            width: 33.3333%;
        }
        &.grid__item-four  {
            width: 25%;
        }
    }
}

.image-default {
    border-radius: 16px;
}
.border-default {
    background-color: var(--background-color-main);
    border-radius: 15px;
    box-shadow: 0 5px 20px 0 var(--color-box-shadow-rgb);
    overflow: hidden;
}
.height-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.post_video {
    figure {
        @include icon_post_format('\f144');
    }
}
.post_gallery {
    figure {
        @include icon_post_format('\f302');
    }
}
.post_audio {
    figure {
        @include icon_post_format('\f1c7');
    }
}
.grid {
    .post_video {
        .border-default {
            > a {
                @include icon_post_format('\f144');
            }
        }
    }
    .post_audio {
        .border-default {
            > a {
                @include icon_post_format('\f1c7');
            }
        }
    }
    .post_gallery {
        .border-default {
            > a {
                @include icon_post_format('\f302');
            }
        }
    }
}
.post-list__item {
    .post-list__item--inner {
        padding: 40px 0;
        border-bottom: 1px solid var(--color-border);
    }
    &:first-child {
        .post-list__item--inner {
            padding: 0 0 40px;
        }
    }
    &:last-child {
        .post-list__item--inner {
            border-bottom: none;
        }
    }
}
.post-grid-two__item--inner {
    @extend .height-flex;
    .post-grid-two__content {
        padding: 30px;
        text-align: center;
        .post-grid-two__title {
            margin: 0 0 15px;
            font-size: 24px;
        }
    }
}
.post-grid-three__item--inner {
    @extend .height-flex;
    .post-grid-three__content {
        padding: 30px;
        text-align: center;
        .post-grid-three__title {
            margin: 0 0 15px;
            font-size: 22px;
        }
    }
}
.post-grid-four__item--inner {
    @extend .height-flex;
    .post-grid-four__content {
        padding: 30px;
        text-align: center;
        .post-grid-four__title {
            margin: 0 0 15px;
            font-size: 20px;
        }
    }
}
.post-masonry-two__item--inner {
    @extend .height-flex;
    .post-masonry-two__content {
        padding: 30px;
        text-align: center;
        .post-masonry-two__title {
            margin: 0 0 15px;
            font-size: 26px;
        }
    }
}
.post-masonry-three__item--inner {
    @extend .height-flex;
    .post-masonry-three__content {
        padding: 30px;
        text-align: center;
        .post-masonry-three__title {
            margin: 0 0 15px;
            font-size: 24px;
        }
    }
}
.post-masonry-four__item--inner {
    @extend .height-flex;
    .post-masonry-four__content {
        padding: 30px;
        text-align: center;
        .post-masonry-four__title {
            margin: 0 0 15px;
            font-size: 22px;
        }
    }
}
/** End Post **/


/** Start Archive **/
.archive-header {
    .archive-heading-default {
        text-align: center;
        .archive-heading-default__title {
            margin: 0 0 15px;
            text-transform: capitalize;
        }
    }
    .archive-description {
        margin: 0 auto;
        max-width: 600px;
        font-size: 18px;
        color: var(--color-sub-content);
        @extend .text-break;
        p {
            margin: 0 0 15px;
        }
    }
}
.author-socials {
    li {
        a {
            font-size: 24px;
        }
    }
}
.single-header {
    .single-heading-default__title {
        margin: 0 auto 15px;
        max-width: 800px;
        font-size: 46px;
    }
    .single-entry__excerpt {
        margin: 0 auto;
        max-width: 600px;
        font-size: 18px;
        color: var(--color-sub-content);
    }
}
.single-header-v3 {
    .single-entry__excerpt {
        max-width: 80%;
    }
}
.single-entry__cat {
    margin: 15px 0 0;
    .post-categories {
        padding: 0;
        margin: 0;
        display: inline-flex;
        list-style: none;
        li {
            a {
                margin: 0 5px;
                padding: 3px 12px;
                box-shadow: 0 5px 20px 0 var(--color-box-shadow-rgb);
                border-radius: 7px;
                background-color: #FFF;
                color: #000;
                text-transform: uppercase;
                font-weight: 500;
                font-size: 13px;
                &:hover {
                    text-decoration: none;
                    box-shadow: 0 8px 25px 0 var(--color-box-shadow-hover-rgb);
                }
            }
        }
    }
}
.breadcrumb-option {
    ul {
        margin: 0 0 10px;
        padding: 0;
        list-style: none;
        display: flex;
        justify-content: center;
        li {
            display: inline-flex;
            align-items: center;
            font-size: 13px;
            color: var(--color-sub-content);
            a {
                color: var(--color-sub-content);
            }
            &:after {
                font: normal normal normal 14px / 1 FontAwesome;
                margin: 0 8px;
                content: "\f054";
                display: inline-block;
                font-size: 8px;
            }
            &:last-child {
                &:after {
                    display: none;
                }
            }
            &.trail-end {
                span {
                    color: var(--color-entry-author);
                }
            }
        }
    }
}

.single-detail__inner {

}
.single-detail__left {
    display: flex;
}


.wp-block-pullquote {
    margin: 0 0 1em !important;
}
.single-author {
    background-color: var(--background-color-main);
    color: var(--color-text-main);
    box-shadow: 0 2px 10px 0 var(--color-box-shadow-rgb);
}
.col-12.col-md-4 {
    #secondary {
        padding-left: 30px;
    }
    &.order-first{
        #secondary {
            padding-left: 0;
            padding-right: 30px;
        }
    }
}
.editor-content {
    color: var(--color-text-main) !important;
    .wp-block-quote {
        margin: 0 0 15px;
        padding: 50px 20px 30px;
        background-color: var(--background-color-qoute);
        border-radius: 15px;
        color: #FFF;
        position: relative;
        border: none;
        &:before {
            content: "“";
            margin: 0;
            font-size: 74px;
            line-height: 50px;
            display: inline-block;
            position: absolute;
            top: 20px;
        }
    }
}
.editor-content figure figcaption {
    margin: 6px 0 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}
.editor-content figure.aligncenter {
    figcaption {
        text-align: center;
    }
}
.editor-content figure.alignleft {
    figcaption {
        text-align: left;
    }
}
.editor-content figure.alignright {
    figcaption {
        text-align: right;
    }
}
.single-no-sidebar .wp-block-image.alignwide {
    margin-left: -150px;
    margin-right: -150px;
    max-width: calc(100% + 300px) !important;
}
.editor-content .wp-block-image.alignwide {
    margin: 0 -30px 1em;
}
.editor-content a {
    text-decoration: underline;
}
.pagination {
    margin: 30px 0 0;
    .pagination__inner {
        width: 100%;
    }
    .page-numbers {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        li {
            margin: 0 3px;
            a, span {
                width: 40px;
                height: 40px;
                display: inline-flex;
                align-items: center;
                border-radius: 50%;
                font-weight: 600;
                color: var(--color-text-main);
                &.current {
                    background-color: var(--background-active-df);
                    color: #333;
                }
                &:hover {
                    text-decoration: none;
                }
            }
            a.prev, a.next {
                margin: 0 5px;
                width: inherit;
                height: inherit;
                border: none;
                background-color: transparent;
                color: var(--color-text-main);
            }
        }
    }
}

#comments {
    display: none;
    .comment-form {
        input[type="submit"] {
            @include btn-gradient();
        }
    }
}
.comments-area__count {
    margin: 30px 0 0;
    a {
        @include btn-gradient();
    }
}
.post_navigation_thumb__item {
    figure {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        width: 90px;
        height: 90px;
        border-radius: 15px;
        > div {
            padding: 0 15px;
            z-index: 1;
            color: #FFF;
            position: relative;
            h3 {
                color: #FFF;
            }
        }
    }
    .d-flex.flex-column {
        flex: 1;
        span {
            font-size: 13px;
            color: var(--color-entry-date);
        }
        h3 {
            margin: 0;
            font-size: 18px;
        }
    }
    a:hover {
        text-decoration: none;
    }
}
.single-author {
    border-radius: 10px;
    .single-author__name {
        text-transform: capitalize;
    }
}
#post-progress {
    width: 65px;
    height: 65px;
    margin: 0 auto 10px;
    border-radius: 50%;
    place-items: center;
    box-shadow: 0 0 10px rgba(131, 131, 131, 0.12);
    div {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 13px;
        background-color: #FFF;
        border-radius: 50%;
        height: calc(100% - 5px);
        width: calc(100% - 5px);
        font-weight: 500;
    }
}
.single-detail__share {
    width: 70px;
}
.single-detail__content {
    padding: 0 30px;
    flex: 1;
}
.single-share {
    margin: 30px 0 0 -50px;
}
.single-share__icon {
    position: relative;
    align-items: center;
    label {
        margin: 0 10px 0 0;
        font-weight: 600;
        font-size: 14px;
    }
    ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        li {
            a {
                margin: 0 2px;
                width: 35px;
                height: 35px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                font-size: 20px;
                -webkit-transition: all 0.2s ease;
                -moz-transition: all 0.2s ease;
                -o-transition: all 0.2s ease;
                transition: all 0.2s ease;
                cursor: pointer;
                &:hover {
                    text-decoration: none;
                    transform: translate(0, -2px);
                }
                &.active {
                    background-color: var(--background-active-df);
                }
            }
        }
    }
}
.single-share__copy {
    position: relative;
    input {
        padding: 7px 20px;
        max-width: 350px;
        background-color: #ebebeb;
        color: #5d5d5d;
        border: none;
        width: 85%;
        &:focus {
            outline: none;
        }
    }
    button {
        margin-left: 5px;
        border: none;
        background-color: transparent;
        color: #5d5d5d;
    }
}
#single-share-url {
    opacity: 0;
    position: absolute;
    visibility: visible;
    z-index: -1;
}

.post-list-large__item--inner {
    position: relative;
    &:before {
        content: "";
        background-color: rgba(0, 0, 0, 0.3411764706);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: block;
        z-index: 1;
    }
    .entry__cat-read {
        .entry {
            padding: 50px;
        }
    }
    .post-list-large__item--content {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: end;
        padding: 50px;
        width: 80%;
        color: #FFF;
        .post-list-large__title {
            font-size: 26px;
            a {
                color: #FFF;
            }
        }
    }
    .entry .entry__author a {
        color: #FFF;
    }
    .entry .entry__date {
        color: #FFF;
    }
}

.entry-footer.entry-footer--single span {
    margin: 0 10px 0 0;
    color: var(--color-text-main);
    a {
        border: 1px solid;
        border-radius: 5px;
        padding: 3px 10px;
        font-size: 13px;
    }
    .post-categories {
        margin: 0;
        padding: 0;
        display: inline-flex;
        list-style: none;
        li {
            margin: 0 5px 5px 0;
        }
    }
}
.page__inner {
    padding: 30px;
    @extend .border-default;
}
.main__404 {
    text-align: center;
    padding: 50px 0;
    h1 {
        font-weight: 600;
        font-size: 72px;
        text-shadow: 4px 4px var(--background-active-df);
    }
    .main__404--button {
        margin: 10px 0 0;
        border: 1px solid;
        padding: 10px 20px;
        border-radius: 5px;
        display: inline-block;
        -webkit-transition: all 0.2s ease;
        -moz-transition: all 0.2s ease;
        -o-transition: all 0.2s ease;
        transition: all 0.2s ease;
        &:hover {
            text-decoration: none;
            background-color: var(--background-active-df);
            box-shadow: 3px 3px 0 #000;
            transform: translate(0, -2px);
        }
    }
}
/** End Archive **/

/** Start Entry **/
.hero__item--inner,
.post-list__item--inner
{
    &:hover {
        .entry__read-time {
            opacity: 1;
            visibility: visible;
        }
    }
}
.entry {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    a:hover {
        text-decoration: none;
    }
    .entry__author {
        margin: 0 10px 0 0;
        a {
            color: var(--color-entry-author);
            font-weight: 500;
        }
    }
    > span {
        display: inline-flex;
        align-items: center;
        font-size: 15px;
        > i {
            margin: 0 5px 0 0;
            font-size: 12px;
        }
    }
    .entry__read-time {
        padding: 3px 10px;
        border-radius: 13px;
        background: #29294b26;
        font-weight: 500;
        color: #FFF;
        font-size: 14px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    .entry__category {
        .post-categories {
            padding: 0;
            margin: 0;
            list-style: none;
            display: flex;
            li {
                margin: 0 7px 0 0;
                &:last-child {
                    margin: 0;
                }
                a {
                    padding: 3px 12px;
                    border-radius: 7px;
                    background-color: #7f7e7ec4;
                    color: #000;
                    text-transform: uppercase;
                    font-weight: 500;
                    font-size: 13px;

                }

            }
        }
    }
    .entry__date, .entry__view-count, .entry__comment {
        color: var(--color-entry-date);
        font-size: 14px;
    }
    .entry__view-count, .entry__comment {
        margin: 0 0 0 10px;
    }
    &.c-white {
        .entry__category {
            .post-categories {
                li {
                    a {
                        color: #FFF;
                    }
                }
            }
        }
    }
    &.b-white {
        .entry__category {
            .post-categories {
                li {
                    a {
                        margin: 0 5px;
                        padding: 3px 12px;
                        box-shadow: 0 5px 20px 0 var(--color-box-shadow-rgb);
                        border-radius: 7px;
                        background-color: #FFF;
                        color: #000;
                        &:hover {
                            box-shadow: 0 8px 25px 0 var(--color-box-shadow-hover-rgb);
                        }
                    }
                }
            }
        }
    }
    &.pd-20 {
        @include entry_padding(20px);
    }
    &.pd-40 {
        @include entry_padding(40px);
    }
    &.pd-60 {
        @include entry_padding(60px);
    }

}
.single-share__label {
    color: var(--color-entry-date);
    font-size: 14px;
}
.post-list__sub,
.post-grid-two__sub,
.post-grid-three__sub,
.post-grid-four__sub,
.post-masonry-two__sub,
.post-masonry-three__sub,
.post-masonry-four__sub {
    color: var(--color-sub-content);
}
.entry__cat-read {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
}
.entry__author {
    display: inline-flex;
    .entry-author {
        display: inline-flex;
        align-items: center;
        img {
            margin: 0 10px 0 0;
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }
        a {
            text-transform: capitalize;
            display: inline-flex;
            align-items: center;
        }
    }
}
.order-6 {
    order: 6 !important;
}
.order-7 {
    order: 7 !important;
}
.order-8 {
    order: 8 !important;
}
/** End Entry **/

.slick-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    z-index: 2;
    top: 40%;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    .single-detail__inner & {
        top: 45%;
    }
    #woo_gallery & {
        top: 35%;
    }
    &.prev {
        left: 2%;
    }
    &.next {
        right: 2%;
    }
    &.small {
        width: 30px;
        height: 30px;
        i {
            font-size: 14px;
        }
    }
    &.medium {
        width: 40px;
        height: 40px;
        i {
            font-size: 18px;
        }
    }
    &.large {
        width: 50px;
        height: 50px;
        i {
            font-size: 24px;
        }
    }
    &:hover {
        background-color: var(--background-active-df);
        box-shadow: 2px 2px 2px #11111175;
    }
}

footer.footer {

    .footer__inner {
        padding: 80px 0;
        color: var(--color-text-main);
        border-top: 1px solid var(--color-border);
    }
    .footer {
        ul {
            padding: 0;
            list-style: none;
            li > ul {
                display: none;
            }
            &.wp-block-latest-posts__list {
                li {
                    margin: 0 0 10px 0;
                    color: var(--color-sub-content);
                    a {
                        font-family: var(--heading-font);
                        font-weight: 600;
                        font-size: 16px;
                    }
                    img {
                        margin: 0 0 10px;
                        border-radius: 10px;
                    }
                }
            }
        }
        @include heading_widget;
        &.widget_nav_menu {
            ul {
                li {
                    padding: 10px 0;
                    border-bottom: 1px solid var(--color-border);
                    &:last-child {
                        border-bottom: none;
                    }
                    a {
                        font-family: var(--heading-font);
                        font-weight: 600;
                        font-size: 16px;
                    }
                }
            }
        }
    }
    .footer-above {
        margin: 30px auto 0;
        max-width: 70%;
        text-align: center;
        .footer-above__logo {
            margin: 0 0 30px;
            font-size: 48px;
            font-weight: 700;
            font-family: var(--logo-font);
        }
        p {
            font-size: 14px;
            margin: 0 0 15px;
        }
    }
    @include tag_cloud;
}

/*** Start Woo ***/
.woocommerce ul.products li.product .product-item-inner,
.woocommerce-page ul.products li.product .product-item-inner {
    @extend .border-default;
    padding: 0 0 20px;
}
.product-left__inner {
    padding: 30px;
    @extend .border-default;
}
.product-section, .html-custom, .shortcode {
    padding: 60px 0;
    border-top: 1px solid;
}
.product__heading {
    padding: 0 0 30px;
    text-align: center;
    font-size: 32px;
    i {
        margin-left: 10px;
        color: var(--background-active-df);
        filter: brightness(90%);
    }
}
.product__list {
    margin: 0 -10px;
    display: flex;
    .product__item {
        padding: 0 10px;
        .product__item--inner {
            display: flex;
            flex-direction: column;
            height: 100%;
            @extend .border-default;
            .product__content {
                padding: 30px;
                text-align: center;
            }
            .product__view {
                margin: 10px 0 0;
                a {
                    padding: 7px 15px;
                    background-color: #000;
                    border-radius: 5px;
                    color: #fff;
                    display: inline-block;
                    font-family: var(--heading-font);
                    &:hover {
                        text-decoration: none;
                    }
                }
            }
            .woocommerce-loop-product__title {
                font-size: 18px;
            }
        }
    }
    &.product-col-1 {
        .product__item {
            width: 100%;
        }
    }
    &.product-col-2 {
        .product__item {
            width: 50%;
        }
    }
    &.product-col-3 {
        .product__item {
            width: 33.333%;
        }
    }
    &.product-col-4 {
        .product__item {
            width: 25%;
        }
    }
    &.product-col-5 {
        .product__item {
            width: 20%;
        }
    }
}
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout {
    padding: 30px;
    @extend .border-default;
}
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
    background-color: #000;
    border-radius: 5px;
    color: #FFF;
    &:hover {
        color: #FFF;
    }
}
.woocommerce .quantity .qty {
    border-radius: 5px;
}
/*** End Woo ***/

.slick-dots  {
    li {
        button:before {
            color: var(--color-heading);
        }
        &.slick-active {
            button:before {
                color: var(--color-text-main);
            }
        }
    }
}
#progress {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 50px;
    width: 50px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(131 131 131 / 12%);
    cursor: pointer;
    #progress-value {
        height: calc(100% - 5px);
        width: calc(100% - 5px);
        background-color: #ffffff;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 16px;
        color: #333;
    }
}
