/*
Theme Name: Quantiverse Theme
Author: Moziasoft
Description: Quantiverse
Version: 1.0
Text Domain: Quantiverse
*/
a {
    color: #000;
}
.featured {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1940px;
    margin: 0 auto;

    .item {
        width: 33.3333333%;
        position: relative;
        overflow: hidden;
        border-top: 3px solid transparent;
        border-right: 3px solid transparent;
    }

    .item::after {
        position: absolute;
        content: '';
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        background-color: #161616;
        transition: .3s;
        pointer-events: none;
        opacity: 0.25;
    }

    .item:hover:after {
        opacity: 0.75;
    }

    .item-image {
        position: relative;
        height: 100%;
        padding-bottom: 80%;
        overflow: hidden;
    }

    .item-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .overlay {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 1;
        padding: 30px;
    }

    .overlay a {
        color: #fff;
        text-decoration: none;
    }

    .overlay h3 a {
        font-size: 20px;
        color: #fff;
        text-decoration: none;
    }
}

.block-title-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    font-weight: 700;

    .block-title {
        font-size: 36px;
        font-weight: 700;
        letter-spacing: 0.1em;
        line-height: 1.2;
        text-transform: uppercase;
        position: relative;
        width: fit-content;
        margin: 0;
        position: relative;
        display: inline-block;
        padding: 0 30px 0 0;
    }

    .block-title::after {
        content: "";
        display: block;
        height: 6px;
        position: absolute;
        top: 50%;
        margin-top: -3px;
        width: 1920px;
        left: 100%;
        background: #161616;
    }
}

.grid-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .item {
        width: calc(33.3333% - 20px);
        flex: 0 0 calc(33.3333% - 20px);
        margin-bottom: 30px;
        border-bottom: 1px dotted #f2f2f2;
        padding-bottom: 30px;
    }

    .item h3 {
        margin: 10px 0;
    }

    .item h3 a {
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 0.1em;
        line-height: 1.3;
        text-transform: uppercase;
        color: #000;
        text-decoration: none;
    }

    .meta .author a {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.1em;
        line-height: 1.3;
        text-transform: uppercase;
        color: rgb(119, 119, 119);
        text-decoration: none;
    }

    .excerpt p {
        margin: 10px 0 0;
        font-weight: 400;
        line-height: 1.6;
        text-transform: none;
        color: #2e2e2e;
    }
}
.mask {
    position: relative;
    overflow: hidden;
}
.mask-img {
    width: 100%;
    height: 100%;
    display: block;
}
.mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    backface-visibility: hidden;
}
.single-post-container {
    padding-top: 30px;
}
.single-post-container h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}
.entry-content {
    word-break: break-word;
    margin: 20px 0;
    padding-bottom: 40px;
}
.entry-content p {
    margin-bottom: 1em;
    font-size: 18px;
}
.entry-content a {
    border-bottom: 1px dashed #1e1e1e;
    color: #000;
}
.entry-content a:hover {
    color: #990000!important;
}

.entry-content ul {
    list-style-type: circle;
    margin: 15px 0;
    list-style-position: inside;
    list-style: disc;
}

.entry-content h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 30px 0;
}

.left-sidebar {
    background-color: #f2f2f2;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
    height: fit-content;
}
.widget-title {
    border-bottom: 3px solid #161616;
    color: #161616;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}
.has-sidebar {
    display: flex;
    gap: 24px;
}
.has-sidebar > div:first-child {
    flex: 3;
}
.has-sidebar > div:last-child {
    flex: 1;
}
#ez-toc-container {
    width: 100%;
}
div#ez-toc-container .ez-toc-title {
    font-size: 120%;
    font-weight: 700;
}
#ez-toc-container a {
    text-decoration: none;
}
div#ez-toc-container ul li, div#ez-toc-container ul li a {
    font-size: 20px;
    text-decoration: none !important;
    border-bottom: none;
}
.grid-items .mask {
    padding-bottom: 60%;
}
.grid-items .mask img {
    position: absolute;
}
@media (max-width: 768px) {
    .q-navbar-toggler {
        /* display: none; */
    }
    .featured {
        padding-left: 16px;
        padding-right: 16px;
    }
    .featured .item {
        width: 100%;
    }
    .featured .item .item-image {
        padding-bottom: 50%;
    }
    .featured .overlay {
        padding: 15px;
    }

    .grid-items .item {
        width: 100%;
        flex: auto;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: none;
    }
    .grid-items .item h3 a {
        font-size: 14px;
    }
    .grid-items .item .meta .author a {
        font-size: 10px;
    }
    .grid-items .item .excerpt {
        display: none;
    }
    .block-title-wrap .block-title {
        font-size: 18px;
    }
    .q-container.has-sidebar {
        display: block;
    }
    .single-post-container h1, .entry-content h2 {
        font-size: 18px;
    }
    .left-sidebar {
        margin-top: 16px;
        padding: 16px;
        margin-bottom: 16px;
    }
    .widget-title {
        margin-bottom: 20px;
    }
}
