/* =========================================
   TISA BLOG HERO BACKGROUND
   ========================================= */

.tisa-blog-section {
    background: #000 !important;
}

/* Actual visible hero par image */
.tisa-blog-section .tisa-hero-modern {
    position: relative !important;
    background-image: url("https://www.thetisa.com/blog/wp-content/themes/astra/assets/svg/bg-image.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

/* Agar hero ka pseudo-element black layer bana raha ho */
.tisa-blog-section .tisa-hero-modern::before,
.tisa-blog-section .tisa-hero-modern::after {
    background-image: none !important;
}

/* Content image ke upar rahe */
.tisa-blog-section .tisa-hero-modern-content {
    position: relative !important;
    z-index: 2 !important;
}

.tisa-hero-modern {
    width: 100%;
    text-align: center;
    padding: 120px 20px 65px;
    box-sizing: border-box;
}

.tisa-hero-modern-content {
    max-width: 850px;
    margin: 0 auto;
}

.tisa-hero-modern h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
    color: #ffffff !important;
}

.tisa-hero-modern h1 span {
    background: linear-gradient(
        90deg,
        #ff3b8d,
        #ff4b5c,
        #ff7a18
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tisa-hero-modern h3 {
    margin: 16px 0 22px;
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.3;
    font-weight: 500;
    color: #ffffff;
}

.tisa-hero-modern p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    color: #ffffff;
}

@media (max-width: 600px) {

    .tisa-hero-modern {
        padding: 0 18px 45px;
    }

    .tisa-hero-modern h1 {
        letter-spacing: -1px;
    }

    .tisa-hero-modern h3 {
        margin: 12px 0 18px;
        font-size: 20px;
    }

    .tisa-hero-modern p {
        font-size: 15px;
        line-height: 1.6;
    }

}

.hero-search {
    max-width: 900px;
    margin: -30px auto 0;
}

.search-box {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 18px 0 22px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-box input {
    flex: 1;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 15px !important;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.search-box button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 19px;
    cursor: pointer;
}

/* Popular Searches */

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
        margin-bottom: 30px;
    margin-top: 13px;
    flex-wrap: wrap;
}

.popular-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-right: 4px;
}

.popular-tag {
    padding: 6px 15px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);

    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;

    transition: all 0.25s ease;
}

.popular-tag:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

/* Mobile */

@media (max-width: 600px) {

    .hero-search {
        margin-top: 25px;
    }

    .search-box {
        height: 54px;
        border-radius: 15px;
        padding-left: 16px;
    }

    .search-box input {
        font-size: 13px;
    }

    .popular-searches {
        justify-content:center;
        gap: 7px;
    }

    .popular-label {
        width: 100%;
        margin-bottom: 3px;
    }

    .popular-tag {
        font-size: 12px;
        padding: 6px 11px;
    }
}


/* ================================
   CATEGORY TABS SCROLLER
================================ */

.category-tabs {
    width: calc(100% - 90px);
    max-width: 1140px;
    margin: 0 auto 50px;

    min-height: 66px;
    padding: 6px;

    display: flex;
    align-items: center;
    gap: 8px;

    background: rgba(10, 15, 38, 0.88);
    border: 1px solid rgba(100, 120, 180, 0.18);
    border-radius: 40px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: thin;
    scrollbar-color: #7c3aed rgba(255,255,255,0.08);
}


/* Chrome / Edge / Safari */

.category-tabs::-webkit-scrollbar {
    height: 5px;
}

.category-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(
        90deg,
        #6d28ff,
        #c026ff,
        #ff4b91
    );

    border-radius: 10px;
}

.category-tabs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        90deg,
        #8b5cf6,
        #d946ef,
        #ff5c9d
    );
}


/* CATEGORY BUTTON */

.category-tabs .tab-btn {
    flex: 0 0 auto;

    height: 50px;
    padding: 0 26px;

    border: none;
    outline: none;
    border-radius: 30px;

    background: transparent;
    color: #ffffff;

    font-size: 14px;
    font-weight: 500;
    font-family: inherit;

    white-space: nowrap;
    cursor: pointer;

    transition: all 0.3s ease;
}


/* Hover */

.category-tabs .tab-btn:hover {
    background: rgba(139, 92, 246, 0.12);
    color: #ffffff;
}


/* Active */

.category-tabs .tab-btn.active {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #6d28ff,
        #8b35ff,
        #c026ff
    );

    box-shadow:
        0 0 20px rgba(109, 40, 255, 0.4),
        0 5px 20px rgba(109, 40, 255, 0.2);

    font-weight: 600;
}


/* MOBILE */

@media (max-width: 600px) {

    .category-tabs {
        width: calc(100% - 24px);
        min-height: 58px;
        padding: 5px;

        border-radius: 32px;
    }

    .category-tabs .tab-btn {
        height: 46px;
        padding: 0 18px;
        font-size: 12px;
    }

    .category-tabs::-webkit-scrollbar {
        height: 4px;
    }
}


/* =========================================
   TISA FEATURED INSIGHT
========================================= */

.tisa-featured-section {
    width: calc(100% - 90px);
    max-width: 1280px;

    margin: 45px auto 55px;
}


/* =========================================
   MAIN CARD
========================================= */

.tisa-featured-card {

    position: relative;

    display: grid;

    grid-template-columns: 35% 65%;

    height:auto;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #09091c 0%,
            #0c0b24 48%,
            #080819 100%
        );

    border: 1px solid rgba(100, 90, 255, 0.30);

    border-radius: 20px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        inset 0 0 40px rgba(94, 54, 255, 0.04);
}


/* =========================================
   LEFT CONTENT
========================================= */

.tisa-featured-content {

    position: relative;

    z-index: 3;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:30px 44px 42px 45px;
}


/* =========================================
   TOP LABEL
========================================= */

.featured-top-label {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    color: #d58cff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;
}


.featured-top-label span {

    color: #ff4f9a;

    font-size: 17px;
}


/* =========================================
   CATEGORY
========================================= */

.tisa-featured-content .featured-category {

    width: fit-content;

    margin-bottom: 15px;

    padding: 6px 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            rgba(109, 40, 255, 0.18),
            rgba(192, 38, 255, 0.12)
        );

    border: 1px solid rgba(192, 38, 255, 0.22);

    color: #d9b6ff;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;
}


/* =========================================
   TITLE
========================================= */

.featured-title {

    margin: 0 0 15px;

    max-width: 610px;

    font-size: 22px;

    line-height: 1.16;

    font-weight: 700;

    letter-spacing: -0.5px;
}


.featured-title a {

    color: #ffffff;

    text-decoration: none;

    transition: color 0.3s ease;
}


.featured-title a:hover {

    color: #c879ff;
}


/* =========================================
   EXCERPT
========================================= */

.featured-excerpt {

    max-width: 600px;

    margin: 0 0 21px;

    color: #b6b5c8;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================
   META
========================================= */

.featured-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 25px;

    color:white;

    font-size: 12px;
}


.featured-meta span {

    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.featured-meta i {

    color: #b66cff;

    font-size: 12px;
}


/* =========================================
   BUTTON
========================================= */

.featured-read-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    width: fit-content;

    padding: 12px 19px;

    border-radius: 10px;

    background:
        linear-gradient(
            100deg,
            #6d28ff 0%,
            #a62cff 55%,
            #d629d9 100%
        );

    color: #ffffff !important;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    box-shadow:
        0 8px 25px rgba(109, 40, 255, 0.22);

    transition: all 0.3s ease;
}


.featured-read-button span {

    font-size: 18px;

    line-height: 1;

    transition: transform 0.3s ease;
}


.featured-read-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(109, 40, 255, 0.32);
}


.featured-read-button:hover span {

    transform: translateX(5px);
}


/* =========================================
   RIGHT IMAGE
========================================= */

.tisa-featured-image {

    position: relative;

    min-height: 390px;

    overflow: hidden;

    background: #080817;
}


.tisa-featured-image a {

    display: block;

    width: 100%;

    height: 100%;
}


.tisa-featured-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: fill;

    object-position: center;

    transition: transform 0.6s ease;
}


.tisa-featured-card:hover
.tisa-featured-image img {

    transform: scale(1.035);
}


/* SUBTLE IMAGE OVERLAY */

.tisa-featured-image::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(8, 8, 25, 0.05),
            rgba(8, 8, 25, 0.15)
        );
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .tisa-featured-section {

        width: calc(100% - 40px);

    }


    .tisa-featured-card {

        grid-template-columns: 1fr;

    }


    .tisa-featured-image {

        order: -1;

        min-height: 300px;

    }


    .tisa-featured-content {

        padding: 35px;

    }


    .featured-title {

        font-size: 29px;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .tisa-featured-section {

        width: calc(100% - 24px);

        margin-top: 30px;

    }


    .tisa-featured-card {

        border-radius: 17px;

    }


    .tisa-featured-image {

        min-height: 230px;

    }


    .tisa-featured-content {

        padding: 28px 22px;

    }


    .featured-top-label {

        margin-bottom: 20px;

        font-size: 12px;

    }


    .featured-title {

        font-size: 24px;

        line-height: 1.2;

    }


    .featured-excerpt {

        font-size: 13px;

    }


    .featured-meta {

        gap: 12px;

    }

}



/* =====================================================
   LATEST INSIGHTS + TRENDING
===================================================== */

.tisa-latest-trending-section {
    width: 100%;
    max-width: 1280px;
    margin: 55px auto 70px;
    padding: 0 0 0;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
    gap: 30px;
    box-sizing: border-box;
}


/* =====================================================
   LATEST AREA
===================================================== */

.tisa-latest-area {
    min-width: 0;
}

.tisa-latest-heading {
    margin-bottom: 18px;
}

.tisa-latest-heading h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .4px;
}


/* =====================================================
   LATEST GRID
===================================================== */

.tisa-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
}


/* =====================================================
   LATEST BLOG CARD
===================================================== */

.tisa-latest-blog-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #0d1020 !important;
    border: 1px solid purple !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
    transition: transform .3s ease, border-color .3s ease;
}

.tisa-latest-blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(154, 77, 255, .55);
}


/* =====================================================
   IMAGE
===================================================== */

.tisa-latest-blog-image {
    position: relative;
    width: 100%;
    height: 158px;
    overflow: hidden;
}

.tisa-latest-blog-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.tisa-latest-blog-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit:fill;
    transition: transform .4s ease;
}

.tisa-latest-blog-card:hover
.tisa-latest-blog-image img {
    transform: scale(1.04);
}


/* =====================================================
   CATEGORY BADGE
===================================================== */

.tisa-latest-category {
    position: absolute;
    left: 14px;
    bottom: 12px;
    padding: 6px 12px;
    border-radius: 7px;
    background: rgba(77, 35, 180, .90);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}


/* =====================================================
   CARD CONTENT
===================================================== */

.tisa-latest-content {
    padding: 16px 16px 14px;
}

.tisa-latest-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.tisa-latest-content h3 a {
    color: #ffffff;
    text-decoration: none;
}

.tisa-latest-content p {
    margin: 0 0 18px;
    color: #a9adbd;
    font-size: 13px;
    line-height: 1.5;
}


/* =====================================================
   META
===================================================== */

.tisa-latest-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #9ea3b7;
    font-size: 11px;
}

.tisa-meta-separator {
    opacity: .6;
}

.tisa-latest-arrow {
    margin-left: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 20px;
    transition: .3s ease;
}

.tisa-latest-blog-card:hover .tisa-latest-arrow {
    background: linear-gradient(
        135deg,
        #6d28ff,
        #c026ff
    );
}


/* =====================================================
   TRENDING
===================================================== */

.tisa-trending-area {
    min-width: 0;
}

.tisa-trending-heading {
    margin-bottom: 18px;
}

.tisa-trending-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.tisa-trending-heading h2 span {
    margin-right: 5px;
}


/* =====================================================
   TRENDING BOX
===================================================== */

.tisa-trending-list {
    padding: 12px 16px;
    border-radius: 14px;
    background: #0d1020;
    border: 1px solid rgba(118, 112, 255, .18);
}


/* =====================================================
   TRENDING ITEM
===================================================== */
.tisa-trending-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.tisa-trending-item:last-child {
    border-bottom: 0;
}


/* =====================================================
   NUMBER
===================================================== */

.tisa-trending-number {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}


/* =====================================================
   TRENDING IMAGE
===================================================== */

.tisa-trending-image {
    width: 150px;
    height: 90px;
    overflow: hidden;
    border-radius: 8px;
}

.tisa-trending-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit:fill;
}


/* =====================================================
   TRENDING CONTENT
===================================================== */

.tisa-trending-content {
    min-width: 0;
}

.tisa-trending-content h3 {
    margin: 0 0 7px;
    color: #ffffff !important;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
}

.tisa-trending-content span {
    display: block;
    color: #9ea3b7;
    font-size: 10px;
}

.tisa-trending-content small {
    display: block;
    margin-top: 3px;
    color: #777d91;
    font-size: 9px;
}


/* =====================================================
   NO TRENDING
===================================================== */

.tisa-no-trending {
    padding: 25px 10px;
    text-align: center;
    color: #888;
    font-size: 13px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    .tisa-latest-trending-section {
        grid-template-columns: 1fr;
    }

    .tisa-trending-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 20px;
    }

    .tisa-trending-item:nth-child(5) {
        grid-column: 1 / -1;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .tisa-latest-trending-section {
        margin-top: 40px;
        padding: 0 15px;
    }

    .tisa-latest-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tisa-latest-blog-image {
        height: 190px;
    }

    .tisa-trending-list {
        display: block;
    }

    .tisa-trending-item {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .tisa-trending-image {
        width: 125px;
        height: 75px;
    }

}


.tisa-show-more-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0 10px;
    background: #000000;
}

#showMoreBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 200px;
    height: 42px;

    padding: 0;

    background: transparent;
    color: #fff;
    border:1px solid white;
    border-radius: 30px;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;

    transition: all 0.3s ease;
}

#showMoreBtn:hover {
    background: #fff;
    color: #000;
}


/* =====================================================
   EXPLORE BY TOPIC
===================================================== */

.tisa-topic-section {
    width: calc(100% - 40px);
    max-width: 1280px;
    background:#000000 !important;
    padding:0 50px 0;
    margin: 50px auto 60px;
    position: relative;
}


/* =====================================================
   HEADER
===================================================== */

.tisa-topic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.tisa-topic-header h2 {
    margin: 0;
    color: #c879ff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}


/* =====================================================
   ARROWS
===================================================== */

.tisa-topic-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tisa-topic-arrow {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: rgba(10, 12, 30, .85);
    border: 1px solid rgba(120, 130, 190, .35);
    border-radius: 50%;

    color: #ffffff;
    font-size: 18px;
    line-height: 1;

    cursor: pointer;

    transition: all .3s ease;
}

.tisa-topic-arrow:hover {
    background: rgba(109, 40, 255, .25);
    border-color: rgba(170, 110, 255, .7);
    transform: translateY(-1px);
}


/* =====================================================
   SLIDER
===================================================== */

.tisa-topic-slider {
    display: flex;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    padding: 2px 2px 10px;

    scrollbar-width: none;

    cursor: grab;
}

.tisa-topic-slider::-webkit-scrollbar {
    display: none;
}

.tisa-topic-slider:active {
    cursor: grabbing;
}


/* =====================================================
   TOPIC CARD
===================================================== */

.tisa-topic-card {

    flex: 0 0 calc(
        (100% - 60px) / 6
    );

    min-width: 0;

    height: 225px;

    box-sizing: border-box;

    padding: 20px 18px 17px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(14, 18, 48, .98),
            rgba(8, 11, 30, .98)
        );

    border: 1px solid rgba(105, 112, 180, .22);

    border-radius: 14px;

    text-decoration: none !important;

    scroll-snap-align: start;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .20),
        inset 0 0 25px rgba(95, 70, 255, .035);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


/* =====================================================
   CARD HOVER
===================================================== */

.tisa-topic-card:hover {
    transform: translateY(-4px);

    border-color: rgba(145, 100, 255, .55);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, .35),
        0 0 25px rgba(100, 50, 255, .08);
}


/* =====================================================
   ICON
===================================================== */

.tisa-topic-icon {

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(92, 45, 220, .35),
            rgba(60, 35, 150, .15)
        );

    border: 1px solid rgba(120, 80, 255, .25);

    color: #b56cff;

    font-size: 19px;

    box-shadow:
        0 0 20px rgba(100, 50, 255, .12);
}


/* =====================================================
   TITLE
===================================================== */

.tisa-topic-card h3 {

    margin: 0 0 9px;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.25;

    font-weight: 700;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.tisa-topic-card p {

    margin: 0;

    color: #a6aabd;

    font-size: 11px;

    line-height: 1.5;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =====================================================
   EXPLORE LINK
===================================================== */

.tisa-topic-link {

    margin-top: auto;

    display: flex;
    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;
}

.tisa-topic-link span {

    font-size: 16px;

    transition: transform .3s ease;
}

.tisa-topic-card:hover
.tisa-topic-link span {

    transform: translateX(4px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .tisa-topic-card {
        flex-basis: calc(
            (100% - 36px) / 4
        );
    }

}


/* =====================================================
   TABLET SMALL
===================================================== */

@media (max-width: 800px) {

    .tisa-topic-card {
        flex-basis: calc(
            (100% - 24px) / 3
        );
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .tisa-topic-section {
        width: calc(100% - 15px);
        margin-top: 50px;
    }

    .tisa-topic-header h2 {
        font-size: 14px;
    }

    .tisa-topic-arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .tisa-topic-card {
        flex-basis: calc(
            (100% - 12px) / 2
        );

        height: 215px;

        padding: 17px 15px;
    }

    .tisa-topic-card h3 {
        font-size: 14px;
    }

    .tisa-topic-card p {
        font-size: 10px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .tisa-topic-card {
        flex-basis: 82%;
    }

}


/* =====================================================
   NEWSLETTER CTA
===================================================== */

.tisa-newsletter-cta {
    position: relative;

    width: calc(100% - 48px);
    max-width: 1280px;

    min-height: 170px;

    margin:0 auto;

    padding: 30px 38px;

    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1.05fr 1.15fr .55fr;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(112, 55, 255, .22),
            transparent 35%
        ),
        linear-gradient(
            110deg,
            #10102c 0%,
            #0d1028 48%,
            #0b0c24 100%
        );

    border: 1px solid rgba(110, 92, 255, .28);

    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, .35),
        inset 0 0 45px rgba(100, 60, 255, .05);
}


/* =====================================================
   SUBTLE TOP GLOW
===================================================== */

.tisa-newsletter-cta::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #6d28ff,
            #d946ef,
            #ff5c9d,
            transparent
        );

    opacity: .8;
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.tisa-newsletter-content {
    position: relative;
    z-index: 3;

    padding-right: 25px;
}

.tisa-newsletter-content h2 {
    margin: 0 0 12px;

    color: #ffffff !important;

    font-size: 51px;
    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -.7px;
}

.tisa-newsletter-content h2 span {
    background:
        linear-gradient(
            90deg,
            #c879ff,
            #ff4b91
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}

.tisa-newsletter-content p {
    max-width: 390px;

    margin: 0;

    color: #b4b6c8 !important;

    font-size: 16px;
    line-height: 1.65;
}



/* =====================================================
   TRUST POINTS
===================================================== */

.tisa-newsletter-points {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 17px;

    color: #999caf;

    font-size: 13px;
}

.tisa-newsletter-points span {
    white-space: nowrap;
}

.tisa-newsletter-points span::first-letter {
    color: #ffffff;
}


/* =====================================================
   RIGHT ART
===================================================== */

.tisa-newsletter-art {
    position: relative;

    height: 145px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =====================================================
   GLOW
===================================================== */

.newsletter-glow {
    position: absolute;

    width: 150px;
    height: 120px;

    background:
        radial-gradient(
            circle,
            rgba(120, 50, 255, .30),
            transparent 70%
        );

    filter: blur(15px);
}


/* =====================================================
   ENVELOPE
===================================================== */

.newsletter-envelope {
    position: relative;

    width: 125px;
    height: 92px;

    transform: rotate(-2deg);

    filter:
        drop-shadow(
            0 12px 16px rgba(0,0,0,.35)
        );
}


/* Envelope body */

.envelope-body {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 125px;
    height: 78px;

    background:
        linear-gradient(
            145deg,
            #6d35d9,
            #47209e
        );

    border-radius: 5px 5px 12px 12px;

    z-index: 2;
}


/* Envelope flap */

.envelope-flap {
    position: absolute;

    top: 12px;
    left: 8px;

    width: 109px;
    height: 65px;

    background:
        linear-gradient(
            145deg,
            #a565ed,
            #6e35c9
        );

    clip-path: polygon(
        0 0,
        50% 55%,
        100% 0,
        100% 100%,
        0 100%
    );

    z-index: 4;

    opacity: .95;
}


/* Paper */

.envelope-paper {
    position: absolute;

    width: 72px;
    height: 80px;

    left: 27px;
    top: -35px;

    padding: 13px 10px;

    box-sizing: border-box;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #ddd9ed
        );

    border-radius: 3px;

    transform: rotate(5deg);

    z-index: 3;

    box-shadow:
        0 5px 12px rgba(0,0,0,.22);
}

.envelope-paper::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 10px;

    width: 28px;
    height: 5px;

    background: #d067e8;

    border-radius: 3px;
}

.envelope-paper span {
    display: block;

    width: 48px;
    height: 3px;

    margin-top: 10px;

    background: #aaa8ba;

    border-radius: 3px;
}

.envelope-paper span:first-child {
    margin-top: 18px;
}


/* =====================================================
   FLOATING ICONS
===================================================== */

.newsletter-float {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #6d28ff,
            #bd28e8
        );

    border: 1px solid rgba(255,255,255,.15);

    color: #ffffff;

    font-size: 12px;

    box-shadow:
        0 5px 15px rgba(70,30,180,.35);
}

.float-one {
    top: 16px;
    right: 20px;

    transform: rotate(12deg);
}

.float-two {
    bottom: 20px;
    left: 12px;

    transform: rotate(-12deg);
}

.float-three {
    top: 55px;
    right: 0;

    transform: rotate(20deg);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .tisa-newsletter-cta {
        grid-template-columns: 1fr 1fr;

        padding: 28px;
    }

    .tisa-newsletter-art {
        display: none;
    }

    .tisa-newsletter-form-area {
        padding-left: 15px;
    }

}


@media (max-width: 700px) {

    .tisa-newsletter-cta {
        width: calc(100% - 24px) !important;

        grid-template-columns: 1fr;

        gap: 25px;

        padding: 28px 20px;

        border-radius: 15px;
    }

    .tisa-newsletter-content {
        padding-right: 0;
    }

    .tisa-newsletter-content h2 {
        font-size: 24px;
    }

    .tisa-newsletter-content p {
        font-size: 12px;
    }

    .tisa-newsletter-form-area {
        padding: 0;
    }

    .tisa-newsletter-form {
        height: auto;

        flex-direction: column;

        gap: 8px;

        padding: 7px;

        background: rgba(255,255,255,.06);
    }

    .tisa-newsletter-form input {
        width: 100%;

        height: 45px;

        box-sizing: border-box;
    }

    .tisa-newsletter-form button {
        width: 100%;
    }

    .tisa-newsletter-points {
        flex-wrap: wrap;

        gap: 8px 15px;

        line-height: 1.4;
    }

}


/* =====================================================
   RANDOM BLOG FEATURE CARD
===================================================== */

.tisa-random-blog-card {
    width: calc(100% - 40px);
    max-width: 1237px;

    min-height: 320px;

    margin: 65px auto 0;

    display: grid;
    grid-template-columns: 58% 42%;

    overflow: hidden;
    box-sizing: border-box;

    background:
        linear-gradient(
            105deg,
            #080b1d 0%,
            #0c1028 55%,
            #080a18 100%
        );

    border: 1px solid rgba(110, 120, 190, .30);

    border-radius: 17px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .35),
        inset 0 0 40px rgba(80, 50, 255, .035);

    position: relative;
}


/* LAPTOP / DESKTOP */
@media (min-width: 1024px) {

    .tisa-random-blog-card {
        width: calc(100% - 40px) !important;
        max-width: 1237px !important;

        margin: 55px auto 40px !important;

        grid-template-columns: 58% 42% !important;

        min-height: 290px !important;

        box-sizing: border-box !important;
    }
}



/* =====================================================
   TOP GLOW
===================================================== */

.tisa-random-blog-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #6d28ff,
            #c026ff,
            #ff4b91,
            transparent
        );

    opacity: .8;

    z-index: 5;
}


/* =====================================================
   LEFT IMAGE
===================================================== */

.tisa-random-blog-image {
    position: relative;

    min-height: 320px;

    overflow: hidden;

    background: #090b1c;
}


.tisa-random-blog-image a {
    display: block;

    width: 100%;
    height: 100%;
}


.tisa-random-blog-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit:fill;

    object-position: center;

    transition: transform .6s ease;
}


.tisa-random-blog-card:hover
.tisa-random-blog-image img {
    transform: scale(1.035);
}


/* Image overlay */

.tisa-random-blog-image::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent 55%,
            rgba(7, 9, 25, .45) 100%
        );
}


/* =====================================================
   FALLBACK IMAGE
===================================================== */

.tisa-random-image-placeholder {
    width: 100%;
    height: 100%;

    min-height: 320px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(110, 50, 255, .28),
            transparent 55%
        ),
        #090b1d;
}


.tisa-random-image-placeholder span {
    color: #ffffff;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =====================================================
   RIGHT CONTENT
===================================================== */

.tisa-random-blog-content {
    position: relative;

    z-index: 3;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 42px 42px 38px;
}


/* =====================================================
   CATEGORY
===================================================== */

.tisa-random-blog-category {
    width: fit-content;

    margin-bottom: 16px;

    padding: 6px 11px;

    border-radius: 20px;

    background:
        rgba(117, 53, 255, .12);

    border: 1px solid rgba(143, 90, 255, .28);

    color: #c879ff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .5px;

    text-transform: uppercase;
}


/* =====================================================
   TITLE
===================================================== */

.tisa-random-blog-content h2 {
    margin: 0 0 15px;

    font-size: 29px;

    line-height: 1.18;

    font-weight: 700;

    letter-spacing: -.5px;
}


.tisa-random-blog-content h2 a {
    color: #ffffff;

    text-decoration: none;

    transition: color .3s ease;
}


.tisa-random-blog-content h2 a:hover {
    color: #c879ff;
}


/* =====================================================
   EXCERPT
===================================================== */

.tisa-random-blog-excerpt {
    max-width: 520px;

    margin: 0 0 20px;

    color: #aeb2c5 !important;

    font-size: 15px;

    line-height: 1.65;
}


/* =====================================================
   META
===================================================== */

.tisa-random-blog-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 24px;

    color: white;

    font-size: 13px;
}


.tisa-random-blog-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.tisa-random-blog-meta i {
    color: #a45cff;

    font-size: 11px;
}


/* =====================================================
   READ BUTTON
===================================================== */

.tisa-random-read-btn {
    width: fit-content;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 11px 19px;

    border-radius: 9px;

    background:
        linear-gradient(
            100deg,
            #5725ed,
            #8b28ed,
            #c026ff
        );

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 600;

    box-shadow:
        0 8px 25px rgba(105, 40, 255, .22);

    transition: all .3s ease;
}


.tisa-random-read-btn span {
    font-size: 17px;

    line-height: 1;

    transition: transform .3s ease;
}


.tisa-random-read-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(105, 40, 255, .35);
}


.tisa-random-read-btn:hover span {
    transform: translateX(4px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .tisa-random-blog-card {
        grid-template-columns: 1fr;
    }

    .tisa-random-blog-image {
        min-height: 280px;
    }

    .tisa-random-image-placeholder {
        min-height: 280px;
    }

    .tisa-random-blog-content {
        padding: 30px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .tisa-random-blog-card {
        width: calc(100% - 24px) !important;

        margin: 45px auto;

        border-radius: 14px;
    }

    .tisa-random-blog-image {
        min-height: 220px;
    }

    .tisa-random-image-placeholder {
        min-height: 220px;
    }

    .tisa-random-blog-content {
        padding: 25px 21px;
    }

    .tisa-random-blog-content h2 {
        font-size: 23px;
    }

    .tisa-random-blog-excerpt {
        font-size: 12px;
    }

}

/* =========================================
   FIX: FULL WIDTH BLOG PAGE
========================================= */

.tisa-blog-section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.tisa-hero-modern {
    width: 100% !important;
    max-width: none !important;
}

/* ==============================
   TRENDING - VIEW ALL BUTTON
============================== */

.tisa-view-all-trending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 18px;
    padding: 11px 22px;

    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;

    color: #ffffff;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.3s ease;
}

.tisa-view-all-trending span {
    font-size: 17px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.tisa-view-all-trending:hover {
    border-color: #c026ff;
    background: linear-gradient(
        100deg,
        rgba(139, 92, 246, 0.12),
        rgba(192, 38, 255, 0.12),
        rgba(255, 122, 24, 0.10)
    );

    transform: translateY(-2px);
}

.tisa-view-all-trending:hover span {
    transform: translateX(4px);
}


/* =========================================
   TRENDING LIST - FIXED HEIGHT
========================================= */

.tisa-trending-list {
    position: relative;
    height: 650px;
    max-height: 650px;
    overflow: hidden;
    box-sizing: border-box;
}

/* =========================================
   AFTER VIEW ALL
   SAME HEIGHT + INTERNAL SCROLL
========================================= */

.tisa-trending-list.trending-expanded {
    height: 650px;
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding-right: 6px;
}

/* =========================================
   SCROLLBAR
========================================= */

.tisa-trending-list.trending-expanded::-webkit-scrollbar {
    width: 6px;
}

.tisa-trending-list.trending-expanded::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
}

.tisa-trending-list.trending-expanded::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.65);
    border-radius: 10px;
}

.tisa-trending-list.trending-expanded::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.9);
}

/* Firefox */

.tisa-trending-list.trending-expanded {
    scrollbar-width: thin;
}

/* MOBILE BUTTON - HIDDEN ON DESKTOP */

.tisa-mobile-show-more-wrap {
    display: none;
}


@media (max-width: 768px) {

    /* Desktop wala button mobile par hide */
    .tisa-show-more-wrap {
        display: none !important;
    }

    /* Mobile wala button */
    .tisa-mobile-show-more-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0 0 18px;
    }

    .tisa-mobile-show-more-wrap button {
        background: transparent;
        color: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 30px;
        padding: 11px 20px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
    }
    
    .tisa-mobile-show-more-wrap button:hover{
     background:white !important;
     color: black !important;
    }

    .tisa-mobile-show-more-wrap button span {
        margin-left: 4px;
    }
}


/* =====================================================
   GLOBAL BLOG SECTION ALIGNMENT
   Same left/right spacing for all major sections
===================================================== */

.tisa-featured-section,
.tisa-latest-trending-section,
.tisa-topic-section,
.tisa-newsletter-cta,
.tisa-random-blog-card {

    width: calc(100% - 40px) !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box !important;
}


/* =====================================================
   VERTICAL SPACING
===================================================== */

/* Featured */
.tisa-featured-section {
    margin-top: 45px !important;
    margin-bottom: 55px !important;
}

/* Latest + Trending */
.tisa-latest-trending-section {
    margin-top: 55px !important;
    margin-bottom: 60px !important;
}

/* Explore Topics */
.tisa-topic-section {
    margin-top: 55px !important;
    margin-bottom: 60px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Newsletter */
.tisa-newsletter-cta {
    margin-top: 15px !important;
    margin-bottom: 25px !important;
}

/* Random Blog */
.tisa-random-blog-card {
    margin-top: 55px !important;
    margin-bottom: 60px !important;
}


/* =====================================================
   CATEGORY TABS
===================================================== */

.category-tabs {
    width: calc(100% - 90px) !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    margin-bottom: 50px !important;

    box-sizing: border-box !important;
}


/* =====================================================
   SHOW MORE BUTTON
===================================================== */

.tisa-show-more-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .tisa-featured-section,
    .tisa-latest-trending-section,
    .tisa-topic-section,
    .tisa-newsletter-cta,
    .tisa-random-blog-card {

        width: calc(100% - 24px) !important;
        max-width: none !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }


    .tisa-featured-section {
        margin-top: 30px !important;
        margin-bottom: 40px !important;
    }


    .tisa-latest-trending-section {
        margin-top: 40px !important;
        margin-bottom: 45px !important;
    }


    .tisa-topic-section {
        margin-top: 45px !important;
        margin-bottom: 45px !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    .tisa-newsletter-cta {
        margin-top: 45px !important;
        margin-bottom: 45px !important;
    }


    .tisa-random-blog-card {
        margin-top: 45px !important;
        margin-bottom: 45px !important;
    }


    .category-tabs {
        width: calc(100% - 24px) !important;
        margin-bottom: 35px !important;
    }

}

.category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tabs .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* =========================================
   NEWSLETTER INPUT + BUTTON SAME ROW
========================================= */

.tisa-newsletter-form .newsletter-form-row {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
}


/* INPUT */

.tisa-newsletter-form .newsletter-form-row
.wpcf7-form-control-wrap {
    flex: 1 1 auto !important;
    width: auto !important;
    margin: 0 !important;
}


.tisa-newsletter-form .newsletter-form-row
input[type="email"] {
    width: 100% !important;
    height: 54px !important;
    box-sizing: border-box !important;

    padding: 0 18px !important;

    background: #151315 !important;
    border: 1px solid #303033 !important;
    border-radius: 12px !important;

    color: #fff !important;
}


/* SUBSCRIBE BUTTON */

.tisa-newsletter-form .newsletter-form-row
input[type="submit"] {
    flex: 0 0 auto !important;

    width: auto !important;
    height: 54px !important;
transform: translateY(10px);
    padding: 0 24px !important;

    margin: 0 !important;

    border: none !important;
    border-radius: 12px !important;

    background: linear-gradient(
        100deg,
        #8B5CF6,
        #C026FF,
        #FF7A18
    ) !important;

    color: #fff !important;

    white-space: nowrap !important;
    cursor: pointer !important;
}


/* REMOVE CF7 DEFAULT SPACING */

.tisa-newsletter-form .newsletter-form-row p {
    margin: 0 !important;
    padding: 0 !important;
}

.tisa-newsletter-form .newsletter-form-row br {
    display: none !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .tisa-newsletter-form .newsletter-form-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .tisa-newsletter-form .newsletter-form-row
    .wpcf7-form-control-wrap {
        width: 100% !important;
    }

    .tisa-newsletter-form .newsletter-form-row
    input[type="submit"] {
        width: 100% !important;
    }

}