/**
 * Theme Name:   INB News S-10.02
 * Theme URI:    https://inbdigital.com
 * Description:  GeneratePress child theme. This child theme designed by inbdigital.com
 * Author:       INB Digital
 * Author URI:   https://inbdigital.com
 * Template:     generatepress
 * Version:      1.0.0
*/

/* Customization by inbdigital.com */

img {
    vertical-align: middle;
}

a:hover {
    background-size: 100% 1px;
}

a {
    text-decoration: none;
    background: no-repeat center 100%;
    background-image: linear-gradient(transparent, var(--main-color, #d50007));
    background-size: 0 1px;
    transition: background-size .3s ease;
}

.single-post .entry-content a {
    border-bottom: 1px solid #3274da;
    color: #3274da;
}

.single-post .entry-content a:hover {
    background-size: 0;
    background-image: none;
}

.entry-content ol,
.entry-content ul {
    margin-left: 1.7em;
}

/*===============
Home Hero Section
=================*/
.inbDigital__Home-HeroSec {
    position: relative;
}

.inbDigital__Home-HeroSec::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    top: 70px;
    left: 519px;
    background-color: rgba(255, 0, 153, .5);
    border-radius: 100%;
    -o-filter: blur(150px);
    filter: blur(150px);
    pointer-events: none;
}

.inbDigital__Home-HeroSec::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    top: 85px;
    right: 437px;
    background-color: rgba(72, 0, 255, .5);
    border-radius: 100%;
    -o-filter: blur(150px);
    filter: blur(150px);
    pointer-events: none;
}

/*====================
Home Hero Category Box
======================*/
.inbDigital__Home-catBox::before,
.inbDigital__Home-catBox::after {
    border: 0 solid transparent;
    box-sizing: border-box;
    content: "";
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    right: 0;
}

.inbDigital__Home-catBox:hover::before,
.inbDigital__Home-catBox:hover::after {
    border-color: rgba(213, 0, 7, .5);
    transition: border-color 0s, width .1s, height .1s;
    width: 100%;
    height: 100%;
}

.inbDigital__Home-catBox::before {
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.inbDigital__Home-catBox::after {
    border-top-width: 1px;
    border-right-width: 1px;
}

.inbDigital__Home-catBox:hover::before {
    transition-delay: 0s, 0s, .1s;
}

.inbDigital__Home-catBox:hover::after {
    transition-delay: 0s, .1s, 0s;
}

/*=========
Scroll List
===========*/
.gb-query-a5964f01::-webkit-scrollbar {
    width: 2px
}

.gb-query-a5964f01::-webkit-scrollbar-thumb {
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background: rgba(213, 0, 7, .2)
}

.gb-query-a5964f01::-webkit-scrollbar-track {
    width: 5px;
    height: 5px;
    background-color: rgba(213, 0, 7, .07);
    border-radius: 10px
}

/*========
Search Box
==========*/
form.wp-block-search__button-inside.wp-block-search__text-button.wp-block-search {
    position: relative;
}

#wp-block-search__input-1 {
    border: 0px;
    font-size: 15px;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
    border-radius: 40px;
    width: 100%;
    max-width: 600px !important;
    box-shadow: 0px 18px 21px rgba(213, 0, 6, .11);
    background: #fff;
    border: 1px solid var(--fade-color, #f9e2e2);

}

input[type="search"] {
    border-radius: 50PX;
}

.wp-block-search__button {
    border-radius: 50px;
    font-size: 15px;
}

.wp-block-search__button.has-icon {
    border-radius: 50px !important;
}

/*=================
Home List with Icon
===================*/
.inbDigital__Home-ListGrid .inbDigital__Home-ListItem {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    border-right: 1px solid rgba(0, 0, 0, .06);
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 10px;
}

.inbDigital__Home-ListGrid .inbDigital__Home-ListItem:nth-child(2n) {
    border-right: none;
}

.inbDigital__Home-ListGrid .inbDigital__Home-ListItem:nth-child(odd) {
    padding-left: 0;
}

.inbDigital__Home-ListGrid .inbDigital__Home-ListItem:first-child,
.inbDigital__Home-ListGrid .inbDigital__Home-ListItem:nth-child(2) {
    padding-top: 0;
}

.inbDigital__Home-ListGrid .inbDigital__Home-ListItem:last-child,
.inbDigital__Home-ListGrid .inbDigital__Home-ListItem:nth-last-child(2) {
    border-bottom: 0;
    padding-bottom: 0;
}

.inbDigital__archiveGrid .inbDigital__archiveGrid_item:first-child .inbDigital__archiveGrid_item__title {
    font-size: 1.3rem;
    font-weight: 900;
    -webkit-line-clamp: 4;
}

.main-navigation.auto-hide-sticky {
    transition: top 0.3s ease-in-out !important;
}

.inbDigital__sticky-bottom-menu {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    transition: transform .3s
}

.inbDigital__scroll-down .inbDigital__sticky-bottom-menu {
    transform: translate3d(0, 100%, 0)
}

.inbDigital__scroll-up .inbDigital__sticky-bottom-menu {
    transform: none
}

/*===========
Text Truncate
=============*/
.inbDigital__text-truncate_comm {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--inb-line-clamp);
    word-break: break-word;
    overflow: hidden
}

.inbDigital__text-truncate_1 {
    --inb-line-clamp: 1
}

.inbDigital__text-truncate_2 {
    --inb-line-clamp: 2
}

.inbDigital__text-truncate_3 {
    --inb-line-clamp: 3
}

.inbDigital__text-truncate_4 {
    --inb-line-clamp: 4
}

.inbDigital__text-truncate_5 {
    --inb-line-clamp: 5
}

.inbDigital__text-truncate_6 {
    --inb-line-clamp: 6
}

/*=====================
Comment Form and Others
=======================*/
.comment-form input,
.comment-form textarea,
blockquote {
    border-radius: 8px
}

.comment-form .submit {
    border-radius: 5px
}

input:focus-visible,
textarea:focus-visible {
    outline: -webkit-focus-ring-color auto 0
}

/*===================
GP Back To Top Button
=====================*/
.generate-back-to-top {
    --generate-back-to-top-bottom-space: 40px;
    border-radius: 50%;
    bottom: var(--generate-back-to-top-bottom-space);
    right: 18px
}

/*==========
Search Modal
============*/
.search-modal-form {
    border-radius: 50px;
    overflow: hidden
}

/*========
Post Image
==========*/
.entry-content .wp-block-image {
    margin-bottom: .6em
}

.entry-content .wp-block-image figcaption {
    font-size: 13px;
    text-align: center
}

/*===============
Post Preformatted
=================*/
.entry-content pre {
    background-color: #ffffd1
}

/*========
Blockquote
==========*/
blockquote {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    background: #fff;
    border-left: 5px solid var(--main-color);
    box-shadow: rgba(23, 43, 99, .3) 0 2px 8px;
    padding: 10px;
    margin: 0 0 1.5em
}

@media (min-width: 769px) {

    .inside-left-sidebar,
    .inside-right-sidebar {
        position: sticky;
        top: 95px;
    }

    .main-navigation {
        box-shadow: none !important;
        background-color: transparent;
    }

    .main-navigation .inside-navigation {
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, .1);
        background: #fff;
        margin-top: 12px;
        border-radius: 8px;
        z-index: 1;
    }

    .inbDigital__archiveGrid {
        margin: 0 -10px;
    }

    .inbDigital__archiveGrid .inbDigital__archiveGrid_item:first-child {
        width: calc(100% - 20%);
        display: flex;
        column-gap: 1rem;
    }

    .inbDigital__archiveGrid .inbDigital__archiveGrid_item:first-child figure {
        width: 50%;
    }

    .inbDigital__archiveGrid .inbDigital__archiveGrid_item:first-child .inbDigital__archiveGrid_item__title {
        font-size: 1.4rem;

    }

    .inbDigital__archiveGrid {
        display: flex;
        flex-wrap: wrap;
        /*     justify-content: space-between; */
        row-gap: 1rem;
    }

    .inbDigital__archiveGrid .inbDigital__archiveGrid_item {
        width: 20%;
        margin-bottom: 0;
        padding-bottom: 0;
        padding: 0 10px;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .inbDigital__text-truncate_1_mob {
        --inb-line-clamp: 1
    }

    .inbDigital__text-truncate_2_mob {
        --inb-line-clamp: 2
    }

    .inbDigital__text-truncate_3_mob {
        --inb-line-clamp: 3
    }

    .inbDigital__text-truncate_4_mob {
        --inb-line-clamp: 4
    }

    .main-navigation.is_stuck {
        background-color: hsla(0, 0%, 100%, .7);
        -webkit-backdrop-filter: blur(22px);
        backdrop-filter: blur(22px);
    }

    .main-navigation.auto-hide-sticky {
        box-shadow: 0 2px 2px -2px rgb(255 0 0) !important;
        z-index: 1;
        position: relative;
    }

    .main-navigation.slideout-navigation .main-nav ul li a {
        padding-left: 36px;
    }

    .menu-toggle {
        padding-left: 16px;
    }

    span.gp-icon.icon-menu-bars,
    span.gp-icon.icon-search {
        font-size: 17px;
    }

    .inbDigital__archiveGrid .inbDigital__archiveGrid_item:first-child {
        display: block;
    }

    .inbDigital__archiveGrid .inbDigital__archiveGrid_item:first-child figure {
        margin-bottom: 8px;
    }

    .inbDigital__Home-HeroSec::before {
        left: 0;
        top: 140px;
        width: 100px;
        height: 100px;
    }

    .inbDigital__Home-HeroSec::after {
        right: 0;
        width: 150px;
        height: 150px;
    }
}

/* Customization by inbdigital.com */