.header.light-header {
    background: #FFFFFF;
    box-shadow: 0px 2px 2px 0px #00000026;
}
.header.light-header .header__bottom {
    padding: .8rem .25rem;
}
.header.light-header .header__bottom .menu-item a {
    color: #000;
}
.header.light-header .header__bottom .menu-item a:hover {
    color: #2C168A;
}
.header.light-header .header__bottom .menu-item.menu-item-has-children>a>span>svg path {
    fill: #000;
}
.header.light-header .header__bottom .menu-item.menu-item--button a {
    box-shadow: 0px 4px 4px 0px #00000040;
    background: linear-gradient(90deg, #7F27F0 0%, #2C168A 100%);
    padding: 16px 30px;
    border-radius: 40px;
    transition: all .25s linear;
    border: 0;
    font-family: 'Source Sans 3';
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.header.light-header .header__bottom .sub-menu {
    background: #fff;
}

/* Light Header end here */


html body.post-type-archive .header,
html body.page-template-template-post-list header {
    background: linear-gradient(90deg, rgba(56, 46, 245, 0.06) 8.96%, rgba(127, 39, 240, 0.2) 54.85%), linear-gradient(0deg, #000000, #000000);
}
html body.single-glossary .header {
    box-shadow: unset;
    background: transparent;
}
/* Sticky */
html body.single-glossary .header.dark-header.header--sticky,
body.single-glossary.menu-is-open .header--mobile-active {
    background: linear-gradient(90deg, rgba(56, 46, 245, 0.06) 8.96%, rgba(127, 39, 240, 0.2) 54.85%), linear-gradient(0deg, #000000, #000000);
}


/* Body */
html body.post-type-archive,
html body.page-template-template-post-list {
    background: linear-gradient(90deg, rgba(56, 46, 245, 0.06) 8.96%, rgba(127, 39, 240, 0.2) 54.85%), linear-gradient(0deg, #000000, #000000);
}
html body.single-glossary {
    position: relative;
    background: linear-gradient(90deg, rgba(56, 46, 245, 0.06) 8.96%, rgba(127, 39, 240, 0.2) 54.85%), linear-gradient(0deg, #000000, #000000);
}
html body.single-glossary:before {
    content: "";
    position: absolute;
    background: url(/wp-content/themes/code-logic/assets/img/faded-nl-bg.png) top / contain no-repeat;
    filter: blur(40px);
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
html body.single-glossary div ,
.glossary-content-sec * {
    color: #191A15;
}
.glossary-content-sec .gloss-content h2,
.glossary-content-sec .gloss-content h3,
.glossary-content-sec .gloss-content h4,
.glossary-content-sec .gloss-content h5,
.glossary-content-sec .gloss-content h6  {
    font-weight: 500;
}

html body.post-type-archive-glossary .footer-subscribe,
html body.single-glossary .footer-subscribe,
html body.page-template-template-post-list .footer-subscribe {
    background: #000;
}
.f-white {
    color: #fff !important;
}


/* Glossay section */
.glossary-section {
    position: relative;
    padding: 60px 0 80px;
}
.glossary-section:before {
    content: "";
    position: absolute;
    background: url(/wp-content/themes/code-logic/assets/img/nl-bg.png) top / contain no-repeat;
    filter: blur(80px);
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.glossary-section > .container {
    position: relative;
    z-index: 1;
    max-width: 1340px;
    padding-left: 20px;
    padding-right: 20px;
}
.glossary-hd-con h2 {
    text-align: center;
    font-size: 40px;
    line-height: 1.25;
    text-transform: capitalize;
    font-weight: 700;
    color: #fff;
}
.gloss-subhead {
    background: linear-gradient(24deg, #382EF5 37.85%, #7F27F0 54.84%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-family: 'Prompt';
    font-size: 18px;
    line-height: 100%;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
    display: block;
}

/* Glossary List */
.glossary-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 20px;
    margin-top: 50px;
}
.glossary-list .glossary-card {
    border: 1px solid #E5E5E5;
    border-radius: 24px;
    padding: 30px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 70px;
    min-height: 445px;
    box-shadow: 2px 4px 8px 0px #D8BEF473;
    transition: all .3s linear;
}
.glossary-list .glossary-card:hover {
    box-shadow: 0px 1px 20px 6px #c389ff7d;
}
.glossary-title, 
.glossary-title a {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    line-height: .95 !important;
}
.glossary-tag {
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .02em;
    color: #7F27F0;
    margin-bottom: 15px;
}
.gloss-cat {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: .02em;
    text-align: center;
    color: #fff;
}

.glossary-text {
    font-family: 'Source Sans 3';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    margin: 0 0 15px 0;
}
.glossary-link {
    font-family: 'Source Sans 3';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #191A15;
    display: flex;
    gap: 15px;
    transition: color .3s linear;
}
.glossary-card:hover .glossary-link {
    color: #7F27F0;
}
.glossary-card .glossary-link img.hover,
.glossary-card:hover .glossary-link img.initial {
    display: none;
}

.glossary-card:hover .glossary-link img.hover {
    display: block;
}

/* Single glossary */
.glossary-sgl-ban-sec {
    background: linear-gradient(90deg, rgba(56, 46, 245, 0.06) 8.96%, rgba(127, 39, 240, 0.2) 54.85%), linear-gradient(0deg, #000000, #000000);
}
.sgl-gloss-tags {
    display: flex;
    gap: 15px;
    text-align: center;
    justify-content: center;
}
.sgl-gloss-banner {
    padding: 80px 0 90px;
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
}
.sgl-gloss-banner .gloss-title {
    font-family: 'Prompt';
    font-weight: 700;
    font-size: 55px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;

}
.gloss-excerpt {
    max-width: 600px;
    margin: 0 auto;
}
.gloss-author {
    display: flex;
    gap: 15px;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
}
.gloss-author span {
    color: #fff;
    font-size: 16px;
}

/* Single Glossary Content */
.glossary-content-sec {
    background: #fff;
    padding: 75px 0 60px;
}
.glossary-content-sec .container {
    max-width: 1480px !important;
}
.sgl-gloss-content {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 35px;
    position: relative;
}

.gloss-side-con > div {
    padding:30px 20px;
    border-radius: 24px;
    border: 1px solid #E5E5E5;
    background: #FFFFFFD9;
    position: sticky;
    top: 90px;
}

/* Table of Content */

.gloss-tbl-content {
  position: relative;
}

.gloss-tbl-content ul {
    max-height: 365px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    overflow: auto;
    position: relative;
    overflow-y: auto;
    direction: rtl;
    padding-left: 25px;
    scroll-behavior: smooth;
}

.gloss-tbl-content ul li.active a {
    font-weight: 700;
}

.gloss-tbl-content ul::-webkit-scrollbar {
    width: 10px;
    position: absolute;
    left: 0;
}
.gloss-tbl-content ul::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #E5E7EB;
    direction: ltr; 
}
.gloss-tbl-content ul::-webkit-scrollbar-thumb {
    background: #7F27F0; 
    border-radius: 10px;
    direction: ltr; 
}

.gloss-tbl-content ul li {
    list-style: none;    
    line-height: 1;
    direction: ltr;
}
.gloss-tbl-content ul li a {
    font-family: 'Source Sans 3';
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
}


/* Sidebar */
.sidebar-con {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0px 4px 4px 0px #D8BEF473;
}
.glss-sb-shd {
    font-family: 'Prompt';
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.02em;
    background: linear-gradient(24deg, #382EF5 37.85%, #7F27F0 54.84%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}
.glss-sb-desc {
    font-family: 'Source Sans 3';
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 15px;
}
.sidebar-con .link {
    font-family: 'Source Sans 3';
    font-weight: 700;
    font-size: 16px;
    color: #7F27F0;
}
.glss-sb-hd {
    font-weight: 700;
    color: #191A15;
    line-height: 1.18 !important;
}


/* Glossary Share */
.glossary-social-section {
    background: #fff;
    padding-bottom: 60px;
}
.glossary-social-section .container {
    max-width: 1480px !important;
    padding: 0 20px;
}
.gloss-share-con {
    padding:50px 20px;
    border-radius: 24px;
    border: 1px solid #E5E5E5;
    background: #FFFFFFD9;
    /* margin-top: 60px; */
    box-shadow: 0px 4px 4px 0px #D8BEF473;
    max-width: 770px;
    margin: 0 auto;
}
.gloss-share {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-self: center;
}
.gloss-share > span {
    font-family: 'Prompt';
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #7F27F0;
}
.gloss-share-list {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 20px;
}

/* Bottom Section */
.single-gloss-btm-sec {
    background: #fff;
    padding: 75px 20px 40px;
}
.single-gloss-btm-sec .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    padding: 0;
    margin: 0;
    z-index: 1;
    position: relative;
}
.single-gloss-btm-sec .content-col {
    display: flex;
    align-items: center;
}
.single-gloss-btm-sec .fifty__image-gallery img {
    width: 100%;
}



/* Related Glossary Section */
.section-related-gloss {
    background: #fff;
    padding: 35px 0 80px;
    position: relative;
    z-index: 1;
}
.section-related-gloss h2 {
    color: #000;
}

.gloss-inner-sgl {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 25px;
}
.section-related-gloss .glossary-card {
    padding: 30px 20px;
    box-shadow: unset !important;
}
.glossary-card .img-con img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 393/275;
    object-fit: cover;
    margin-bottom: 25px;
}
.section-related-gloss .glossary-card .glossary-tag {
    margin-bottom: 15px;
    display: block;
}
.glossary-card .gloss-title a,
.glossary-card .gloss-title {
    color: #000;
    font-size: 24px;
}

html body .gloss-content h2 {
    font-weight: 500;
    font-size: 45px;
    margin-top: 60px;
}
.gloss-content h2:first-child {
    margin-top: 0;
}


/* Call to Action Block */
.block-call-to-action .inner {
    position: relative;
    z-index: 1;
}
.block-call-to-action .hd {
    font-size: 24px;
    font-weight: 700;
}
.block-call-to-action .sub {
    font-family: 'Prompt';
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.02em;
}
.block-call-to-action .desc {
    font-family: Source Sans 3;
    font-weight: 400;
    font-size: 16px;
}
.block-call-to-action .btn {
    color: #fff;
}



/* Responsive */

@media only screen and (min-width: 1100px) and (max-width: 1480px) {
    .glossary-social-section .container {
        max-width: 100%;
        padding: 0;
    }
    .gloss-share-con {
        max-width: calc(100% - 710px) !important;
    }

}
@media only screen and (max-width: 1100px) {
    .sgl-gloss-content {
        grid-template-columns: 250px 1fr 250px;
    }
    .gloss-tbl-content ul li a {
        font-size: 16px;
        line-height: 1.2;
    }

    /* Bottom Content */
    .single-gloss-btm-sec .row {
        gap: 15px;
    }
    

    /* ********************************  single Post  **************************************** */
    body.single-post .post__body {
        padding: 60px 30px !important;
    }


}
@media only screen and (max-width: 998px) {
    .glossary-list {
        grid-template-columns: repeat(2, 1fr);
    }
    html body .gloss-content h2 {
        font-size: 40px;
        margin-top: 30px;
    }
    .sgl-gloss-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px 25px;
    }
    .gloss-content {
        order: 3;
        grid-column: span 2;
    }
    
    /* ********************************  single Post  **************************************** */
    body.single-post .post__body {
        padding: 60px 15px !important;
    }

}
@media only screen and (max-width: 767px) {
    .glossary-hd-con h2 {
        font-size: 30px;
    }
    .glossary-list {
        grid-template-columns: 100%;
    }
    .glossary-title a {
        font-size: 24px;
    }
    .glossary-list .glossary-card {
        min-height: unset;
    }
    html body .gloss-content h2 {
        font-size: 30px;
        margin-top: 20px;
    }
    .sgl-gloss-banner {
        padding: 50px 0;
    }
    .gloss-excerpt {
        font-size: 16px;
    }
    .sgl-gloss-banner .gloss-title {
        font-size: 40px;
    }
    
    .gloss-author span {
        font-size: 16px;
    }
    .sgl-gloss-content {
        grid-template-columns: 100%;
        gap: 25px;
    }
    .gloss-content {
        order: 1;
        grid-column: unset;
    }
    .gloss-side-con {
        order: 2;
    }
    .gloss-sidebar {
        order: 3;
    }

    /* Bottom Content */
    .single-gloss-btm-sec {
        padding-top: 0;
    }
    .single-gloss-btm-sec .row {
        grid-template-columns: 100%;
        padding: 40px 20px;
    }
    .single-gloss-btm-sec .container .fifty__content {
        padding: 20px;
    }
    .single-gloss-btm-sec .btn {
        font-size: 16px;
    }

    /* ********************************  single Post  **************************************** */
    body.single-post .post__body {
        padding: 30px 0px !important;
        border-radius: 20px;
    }


}

