@font-face {
    font-family: 'Yekan';
    src: url('../fontawesome-free-6.6.0-web/Yekan.ttf') format('truetype');
}

@font-face {
    font-family: 'BYekan';
    src: url('../fontawesome-free-6.6.0-web/BYekan.ttf') format('truetype');
}


@font-face {
    font-family: FontAwesome;
    src: url(../fontawesome-free-6.6.0-web/webfonts/fa-solid-900.woff2);
}

.align-item-center {
    align-items: center !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

:root {
    --bg-bac: white;
    --bg-bac2: #f5f5f5;
    --logo-color: #4A4A4A;
    --gray1: #8A8A8A;
    --gray2: #54595F;
    --gray3: #7A7A7A;
    --gray4: #A0A0A0;
    --gray-low0: #ececec;
    --gray-low: #f5f5f4;
    --gray-low2: #e2e2e2;
    --border-input: #e2e2e2;
    --bg-card: #f5f5f5;
    --bg-card2: rgb(255, 255, 255);
    --bg-footer: #FBFBFB;
    --gray5: #636363;
    --bg-section: white;
    --bg-section2: white;
    --dark-title: #222;
    --news-footer-lable: #777;
    --slidbar-b-bottom: #f1f1f1;
    --submenu-bg: #fafafa;
    --nav-submenu-bg: white;
}

.dark-theme {
    --bg-bac: #22272b;
    /*--bg-bac2: #22272b;*/
    --bg-bac2: #464d52;
    --logo-color: #F4F7F7;
    --gray1: #8A8A8A;
    --gray2: #d2d2d2;
    --gray3: #cacaca;
    --gray4: #A0A0A0;
    --gray-low0: #50616a;
    --gray-low: #f5f5f4;
    --gray-low2: #424242;
    --border-input: #696969;
    --bg-card: #373d42;
    --bg-card2: #373d42;
    --bg-footer: #1d2225;
    --gray5: #636363;
    --bg-section: #22272B;
    --bg-section2: #373D42;
    --dark-title: white;
    --news-footer-lable: #e7e7e7;
    --slidbar-b-bottom: #252b30;
    --submenu-bg: #2a3035;
    --nav-submenu-bg: #1c2024;
}

.color-gold {
    color: #FFAE4F;
    cursor: pointer;
}

.txt-gray {
    color: var(--gray3) !important;
}

a {
    text-decoration: none;
}

p {
    margin: 0;
}

html {
    overflow-x: hidden !important;
}

body {
    font-family: Yekan;
    overflow: hidden !important;
    background-color: var(--bg-bac);
}

.bac2 {
    background-color: var(--bg-bac2) !important;
}

/* nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 30px 10px;
    background-color: var(--bg-bac);
    /* overflow: hidden; */
}

.logo {
    display: flex;
    align-items: start;
    gap: 10px;
    position: relative;
    flex: 0 0 auto;
}

.line1 {
    display: flex;
    min-height: 5px;
    width: 100%;
    border-radius: 0px 0px 50px 50px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    background-color: #6e60c7;
    position: absolute;
    top: -34px;
    /* right: 10%; */
    z-index: 10;
}

.logo a {
    font-weight: bold;
    font-size: 18px;
    color: var(--logo-color) !important;
    display: block;
    /* font-family: Yekanbold !important; */
}

.logo span {
    font-size: 9px;
    color: var(--logo-color);
}

.logo img {
    width: 33px;
}

.logo div {
    line-height: 20px;
}

.menu {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

    .menu li a {
        text-decoration: none;
        color: var(--gray1);
        font-size: 16px;
        /* 15px */
        margin: 0 10px;
        padding: 0 8px;
        transition: all 0.1s ease-in-out;
    }

@media (min-width: 1000px) and (max-width: 1400px) {
    .menu li a {
        margin: 0;
    }
}

.menu li a:hover {
    font-weight: 600;
    color: #695ac1;
}

.icons {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: bold;
    color: var(--gray2);
}

    .icons .icon {
        color: gray;
    }

.icons-left {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 15px;
    color: var(--gray3);
    justify-content: end;
}

    .icons-left .icon {
        cursor: pointer;
    }

.hamburger {
    display: none;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    cursor: pointer;
    color: var(--gray2);
}

.nav-has-submenu {
    align-items: center;
    position: relative;
}

    .nav-has-submenu > a::after {
        content: "\f107";
        font-family: "FontAwesome";
        font-weight: 900;
        margin-right: 6px;
        font-size: 12px;
    }

.nav-submenu {
    position: absolute;
    top: 33px;
    left: -10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    background: var(--nav-submenu-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 180px;
    z-index: 100;
}

    .nav-submenu li {
        list-style: none;
    }

        .nav-submenu li a {
            display: block;
            padding: 8px 15px;
            text-decoration: none;
            color: var(--gray1);
            font-size: 14px;
            transition: background 0.2s;
        }

            .nav-submenu li a:hover {
                background: var(--bg-card);
                border-radius: 18px;
            }

.nav-has-submenu:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu {
    display: none;
}

/* حالت موبایل */
@media (max-width: 1000px) {
    .menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        padding: 15px;
        border: 1px solid #ddd;
    }

        .menu.active {
            display: flex;
        }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu {
        display: flex;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .top-nav {
        justify-content: center !important;
        align-items: center !important;
    }
}

/* منو کناری */
/* لایه پوشاننده */
.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--bg-bac);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .sidebar.open {
        right: 0;
    }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

    .sidebar-header .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: bold;
        color: var(--gray2);
        flex: 1;
    }

        .sidebar-header .logo span {
            font-size: 14px;
        }

    .sidebar-header .close-btn {
        font-size: 20px;
        cursor: pointer;
        color: var(--gray2);
    }

.menu2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu2 li {
        border-bottom: 1px solid var(--slidbar-b-bottom);
    }

        .menu2 li a {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            padding: 12px 15px;
            text-decoration: none;
            color: var(--gray2);
            transition: all 0.2s ease;
        }

            .menu2 li a.active {
                color: #6a5bcd;
            }

            .menu2 li a:hover {
                background: #695ac195;
            }

/* زیرمنو */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background: var(--submenu-bg);
}

    .submenu li a {
        padding-right: 40px;
    }

.has-submenu > a::after {
    content: "\f107";
    font-family: "FontAwesome";
    font-weight: 900;
    margin-right: auto;
}

.has-submenu.open > a::after {
    content: "\f106";
}

/* نمایش  اطلاعیه */
.ticker {
    width: 240px;
    height: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    position: absolute;
    animation: scroll 25s linear infinite;
}

.ticker:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-content a {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    margin: 0 10px;
    text-decoration: none;
    color: var(--gray3);
    font-size: 12px;
    padding-right: 12px;
    transition: all 0.2s ease-in;
}

    .ticker-content a::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        background: #6a5bcd;
        border-radius: 50%;
    }

    .ticker-content a:hover {
        color: #6a5bcd;
        font-weight: bold;
    }

@keyframes scroll {
    from {
        left: -300%;
    }

    to {
        left: 100%;
    }
}

@media (max-width: 450px) {
    .ticker {
        width: 170px;
    }
}

/* جستجو */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111827;
    opacity: 0.8;
    z-index: 999;
    backdrop-filter: blur(5px);
    /* محو تر */
    /* background: #1118279c;
    opacity: 1; */
}

/* پنل جستجو */
.search-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 34%;
    height: 54px;
}

@media (max-width:700px) {
    .search-box {
        width: 80%;
    }
}

.search-box input {
    width: 100%;
    padding: 10px 70px 10px 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    outline: none;
    height: 54px;
}

    .search-box input:focus {
        border: 1px solid #6E60C7 !important;
    }

.search-box .magnifying-glass-container {
    position: absolute;
    right: 0;
    top: 50%;
    height: 100%;
    width: 12%;
    transform: translateY(-50%);
    background: #6E60C7;
    color: #fff;
    padding: 6px 8px;
    border-radius: 0 14% 14% 0;
}

.search-box input::placeholder {
    color: var(--gray4);
}

/* news card */
.news-card {
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
    /* background: #fff; */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all 0.3s ease-out;
    }

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: 16px;
    background-color: var(--bg-bac);
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--dark-title);
}

.news-desc {
    font-size: 12px;
    color: var(--gray4);
    margin-bottom: 12px;
}

.news-title,
.news-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--news-footer-lable);
}

    .news-footer .meta {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 5px;
    }

        .news-footer .meta .des {
            display: flex;
            align-items: center;
            background-color: var(--gray-low0);
            border-radius: 20px;
            gap: 5px;
            padding: 0.25rem 0.375rem;
            font-size: 11px;
        }

    .news-footer a {
        /*color: var(--news-footer-lable);*/
        color: white;
    }

    .news-footer .meta .tag {
        color: #fff;
        border-radius: 20px;
        padding: 0.25rem 0.4rem;
        border-radius: 20px;
        white-space: nowrap;
        font-size: 10px;
    }

.block-chain {
    background: #0077cc;
}

.startup {
    background: #00f2ff;
}

.amniyat {
    background: #0073FF;
}

.shahr {
    background: #93009e;
}

.digital {
    background: #ffe100;
}

.gaming {
    background: #bc0000;
}

.metavers {
    background: #7a00f4;
}

.fanavari-metavers {
    background-color: #9500d6;
}

.fanavaran {
    background-color: #e56700cc;
}

.tak {
    background: #00b7c4cc;
}

.hosh {
    background-color: #0037ddd9;
}

/*  */
.news-card .news-image:before {
    background-color: transparent;
    background-image: linear-gradient(180deg, #F1F1F100 72%, var(--bg-bac) 100%);
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: inherit;
}

.section1 {
    border-bottom: 1px solid var(--gray-low2);
}

.section1-bg {
    background-image: url('../Media/Logo/2/B1.jpg');
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    z-index: 0;
}

    .section1-bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 284px;
        background: #6E60C7CC;
        z-index: -1;
    }

@media (max-width:568px) {
    .section1 .col-12 {
        padding: 0 20px 23px 20px !important;
    }

    .section1-bg {
        background-image: url(../Media/Logo/2/B1-small.jpg);
    }

        .section1-bg::before {
            height: 100px;
        }
}

/* section2 */
.circle-icon {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    padding: 0 12px;
    text-align: center;
    gap: 5px;
    font-size: 12px;
    margin: auto;
    /* box-shadow: 0px 0px 15px rgb(0 0 0 / 18%); */
    color: white;
    transition: transform .3s ease;
    margin: 9px 0;
}

.section2-title p,
.section3-title p {
    color: var(--gray4);
    font-size: 12px;
}

.section2-title h2 {
    font-size: 21px;
    font-weight: bold;
}

    .section2-title h2 .title1 {
        color: #6B5DC4;
        background-color: #6E60C738;
    }

    .section2-title h2 .title2 {
        color: var(--logo-color);
        background-color: #5959594D;
    }

.btn-section2 {
    background-color: #595959;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    border-radius: 24px 24px 24px 24px;
    color: white;
}

.section3-slider-container {
    border-radius: 100px 100px 100px 100px;
    box-shadow: 0px 0px 58px 0px rgba(0, 0, 0, 0.1);
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 16px;
    padding-right: 16px;
    background-color: var(--bg-section);
}

@media (max-width: 768px) {
    .section2-title {
        text-align: center !important;
    }

    .section3-slider-container {
        margin-top: 20px;
    }
}

.category-slider .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-icon i {
    font-size: 28px;
    margin-bottom: 8px;
}

.circle-icon:hover {
    transform: translateY(-4px);
}

/* section3 */
.section3-bg {
    background-image: url(../Media/Logo/2/section3-bg.jpg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.section3-title {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

    .section3-title h2,
    .section3-title h4 {
        background-color: #1A1A1ABF;
        font-size: 30px;
        line-height: 38px;
        color: #FFFFFF;
        width: fit-content;
        margin-bottom: 15px;
    }

    .section3-title h4 {
        font-weight: bold;
    }

    .section3-title span {
        background-color: #6B5DC4;
        font-size: 29px;
        font-weight: 700;
        line-height: 38px;
        color: #FFFFFF;
        width: fit-content;
    }

.category-slider2 .item,
.category-slider3 .item {
    padding: 0 12px;
}

    .category-slider2 .item .img-container,
    .category-slider3 .item .img-container {
        width: 100%;
        overflow: hidden;
        height: 155px;
        border-radius: 10px;
    }

        .category-slider2 .item .img-container img,
        .category-slider3 .item .img-container img {
            width: 100%;
            display: block;
            height: 155px;
            object-fit: cover;
            transition: .3s;
            border-radius: 10px;
            transition: all 0.3s ease-in-out;
        }

    .category-slider2 .item:hover img {
        transform: scale(1.07);
    }

    .category-slider3 .item:hover img {
        transform: scale(1.07);
    }

    .category-slider2 .item .news-title,
    .category-slider3 .item .news-title {
        margin-top: 10px;
        font-weight: bold;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /*color: var(--gray-low);*/
    }

    .category-slider2 .item .news-meta,
    .category-slider3 .item .news-meta,
    .section5-description .news-meta {
        font-size: 10px;
        color: var(--gray3);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5px;
    }

        .category-slider2 .item .news-meta .des,
        .category-slider3 .item .news-meta .des,
        .section5-description .news-meta .des {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 5px;
        }

.bottom-section {
    border-radius: 50px 50px 50px 50px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .bottom-section .the-text,
    .bottom-section .icon {
        font-size: 13px;
        color: white;
        font-weight: bold;
    }

.owl-nav button {
    color: white !important;
    font-size: 2em;
}

.news-tabs .btn.active {
    background-color: #6B5DC4;
    color: #fff;
    border-radius: 30px;
    border: none;
    outline: none;
    padding: 11px 24px;
}

.news-tabs .btn {
    font-size: 12px;
    font-weight: normal;
    color: var(--gray4);
    outline: none;
}

.btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
    color: white;
    background-color: transparent;
    border-color: transparent;
}

@media (max-width:768px) {
    .section3-title {
        align-items: center;
        margin-bottom: 10px;
        text-align: center;
    }

    .news-tabs .btn.active {
        padding: 11px 18px;
    }
}

/* section4 */
.section4-title {
    color: #6e60c7;
    font-size: 17px;
}

    .section4-title .title h4 {
        gap: 5px;
    }

    .section4-title .title h4 {
        font-size: 16px;
        font-weight: 800;
        line-height: 16px;
        color: #6e60c7;
        margin: 0;
    }

    .section4-title .title p {
        font-size: 12px;
        line-height: 16px;
        color: var(--gray3);
        font-weight: bold;
    }

.section4-card {
    width: 100%;
    /* border-radius: 16px; */
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
    /* background: #fff; */
    margin: 20px auto;
    transition: transform 0.3s ease;
}

    .section4-card:hover {
        transform: translateY(-5px);
    }

.section4-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 16px 16px 0 16px;
    display: block;
}

.section4-card-body {
    background-color: var(--bg-card);
    border-radius: 16px 0 16px 16px;
}


.section4-card-body-content {
    padding: 16px;
}

.section4-card-body-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--logo-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section4-card-body-desc {
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--gray4);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section4-card-body-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--news-footer-lable);
}

    .section4-card-body-footer .meta {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 5px;
    }

        .section4-card-body-footer .meta .des {
            display: flex;
            align-items: center;
            background-color: var(--gray-low0);
            border-radius: 20px;
            gap: 5px;
            padding: 0.25rem 0.375rem;
            font-size: 11px;
        }

    .section4-card-body-footer a {
        /*color: var(--news-footer-lable);*/
        color: white;
    }

    .section4-card-body-footer .meta .tag,
    .section4-card-body-footer .tag {
        color: #fff;
        border-radius: 20px;
        padding: 0.25rem 0.4rem;
        border-radius: 20px;
        white-space: nowrap;
        font-size: 10px;
    }

/* for category page */
.category-page {
    height: 350px !important;
}

    .category-page .section6-card-img img {
        height: 230px;
    }

.section4-card-body-footer .info-container img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.section4-card-body-footer .info-container .author-info p {
    font-weight: bold;
    font-size: 12px;
    margin: 0;
}

.section4-card-body-footer .info-container .author-info span {
    font-size: 10px;
}

.section4-card-body-footer .time {
    color: var(--news-footer-lable);
}

.section4-card-body-footer .comments {
    color: #fff;
    padding: 0.25rem 0.4rem;
    font-size: 10px;
}

/* section5 */
.sectiont5-sidebar {
    border-radius: 12px;
    background: var(--bg-section2);
    box-shadow: 0 2px 8px rgb(0 0 0 / 32%);
    padding: 12px;
}

@media (max-width:999px) {
    .sectiont5-sidebar {
        margin-top: 20px;
    }
}

.sectiont5-sidebar-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.sectiont5-sidebar-img img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease-in;
}

.sectiont5-sidebar-img:hover img {
    transform: scale(1.1);
}

.sectiont5-sidebar-content {
    flex: 1;
}

.sectiont5-sidebar-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--gray2);
}

.sectiont5-sidebar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray1);
    margin-bottom: 6px;
}

.sectiont5-sidebar-category {
    font-weight: 500;
}

.sectiont5-sidebar-desc {
    font-size: 12px;
    color: var(--gray2);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sectiont5-sidebar-btn {
    background-color: #6e60c7;
    font-size: 12px;
    font-weight: 600;
    border-radius: 16px;
    padding: 20px;
    color: white;
    transition: all 0.2s ease-in-out;
}

    .sectiont5-sidebar-btn:hover {
        border: 1px solid #6e60c7;
        color: #6e60c7;
    }

/* section5 nav */
.news-tabs2 .btn.active {
    background-color: #6E60C7;
    color: #fff;
    border: none;
    outline: none;
}

.news-tabs2 .btn {
    font-size: 15px;
    font-weight: normal;
    color: var(--gray4);
    outline: none;
    padding: 11px 24px;
    border-radius: 30px;
}

@media (max-width:768px) {
    .news-tabs2 .btn {
        font-size: 13px;
        padding: 11px 12px;
        border-radius: 25px;
    }
}

.news-tabs2 .btn:hover {
    background-color: #6E60C7;
    color: #fff;
}

.section5-img-container {
    height: 320px;
    border-radius: 16px;
    box-shadow: 0px 0px 0px black;
    overflow: hidden;
    padding: 0;
}

    .section5-img-container img {
        object-fit: cover;
        transition: all 0.3s ease-in-out;
        width: 100%;
        height: 100%;
    }

    .section5-img-container:hover img {
        transform: scale(1.1);
    }

.section5-description a .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--logo-color);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section5-description .des {
    font-size: 14px;
    color: var(--gray4);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* section6 */
.section6-card {
    height: 300px;
    margin: 10px auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

    .section6-card:hover {
        transform: translateY(-5px);
    }

.section6-card-img {
    position: relative;
}

    .section6-card-img img {
        width: 100%;
        height: 180px;
        display: block;
        object-fit: cover;
        border-radius: 20px;
    }

    .section6-card-img .lable {
        position: absolute;
        bottom: 56px;
        font-size: 12px;
        right: 3%;
        width: fit-content;
        z-index: 100;
        border-radius: 20px;
        padding: 3px 8px;
        color: white;
    }

.section6-card-overlay {
    position: absolute;
    bottom: -110px;
    left: 2%;
    width: 95%;
    background: #fff;
    box-shadow: -1px -3px 15px rgb(0 0 0 / 26%);
    border-radius: 20px;
    background-color: var(--bg-card);
}

.section6-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--dark-title);
}

.section6-card-subtitle {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* scroll up */
.scroll-up {
    text-align: center;
    background-color: #695ac1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 2.75rem;
    height: 2.75rem;
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    font-size: 15px;
    color: white;
    border-radius: 50%;
    z-index: 99;
}

/* footer */
footer {
    background-color: var(--bg-footer);
}

.footer-logo .detail h3 {
    font-weight: bold;
    color: var(--gray2);
    margin: 0;
    font-size: 17px;
}

.footer-logo .detail span {
    font-size: 9px;
    color: var(--gray3);
}

.foter-des {
    font-size: 14px;
    color: var(--gray5);
    text-align: justify;
}

    .foter-des span {
        font-weight: bold;
    }

footer .install-title .icon {
    color: #6e60c7;
    font-size: 20px;
}

footer .install-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--logo-color);
}

footer .install-des {
    font-size: 14px;
    color: var(--gray3);
    line-height: 27px;
}

.install-links {
    flex-wrap: wrap;
}

@media (max-width:999px) {
    footer .install-title {
        margin-top: 20px;
        font-size: 16px;
    }

    .install-links img {
        width: 128px;
    }
}

.footer-link-title {
    color: var(--gray2);
    font-weight: bold;
    font-size: 16px;
}

    .footer-link-title .icon {
        color: #6e60c7 !important;
    }

.footer-list-style {
    margin-top: 10px;
    color: var(--gray5);
    padding: 0;
    line-height: 30px;
}

    .footer-list-style li {
        list-style: none;
    }

        .footer-list-style li a {
            color: var(--gray3);
            font-size: 14px;
            transition: all 0.2s ease-in-out;
        }

            .footer-list-style li a:hover {
                color: var(--gray2);
            }

.copyright-description p {
    font-size: 13px;
    color: var(--gray3);
    font-weight: bold;
}

.copyright-description span {
    font-size: 7px;
    color: var(--gray4);
}

.scroll-up-footer {
    background-color: #6E60C7;
    padding: 6px 12px 16px 12px;
    border-radius: 100px 100px 0px 0px;
    color: white;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -25px;
    cursor: pointer;
}

@media (max-width:768px) {
    .scroll-up-footer {
        padding: 18px 12px 20px 12px;
    }
}

.social-icons a {
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--gray1);
}

    .social-icons a.whatsapp:hover {
        color: #25d366;
        transform: scale(1.2);
    }

    .social-icons a.telegram:hover {
        color: #0088cc;
        transform: scale(1.2);
    }

    .social-icons a.instagram:hover {
        color: #e4405f;
        transform: scale(1.2);
    }

    .social-icons a.linkedin:hover {
        color: #0077b5;
        transform: scale(1.2);
    }

/* category page */
.category-page .section6-card-overlay {
    background-color: var(--bg-card2);
}

.nav-shadow {
    box-shadow: 3px 3px 3px #00000024;
}

.category-page-title {
    color: #6e60c7;
    font-size: 18px;
}

    .category-page-title .title h4 {
        gap: 5px;
    }

    .category-page-title .title h4 {
        font-size: 16px;
        font-weight: 800;
        line-height: 16px;
        color: #6e60c7;
        margin: 0;
    }

    .category-page-title .title p {
        font-size: 20px;
        line-height: 20px;
        color: var(--gray3);
        font-weight: bold;
    }

.breadcrumb ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    position: relative;
    padding: 8px 16px 8px 28px;
    background-color: var(--gray-low2);
    /* margin-right: 8px; */
    color: var(--logo-color);
    font-weight: 500;
    /* border-radius: 4px; */
    transition: all 0.3s;
    font-size: 14px;
}

@media (max-width:768px) {
    .breadcrumb li {
        font-size: 12px;
    }
}

.br-4 {
    border-radius: 0 4px 4px 0;
}

.bl-4 {
    border-radius: 4px 0 0 4px;
}

.b-0 {
    border-radius: 0 !important;
}

.breadcrumb li.active {
    background-color: #6e60c7;
    color: #fff;
    padding: 8px 16px;
    cursor: none;
}

.breadcrumb li a {
    text-decoration: none;
    color: inherit;
}

/* مثلث سمت چپ */
.breadcrumb .triangle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #4a90e2;
}

.breadcrumb li:not(.active) .triangle {
    border-right-color: rgba(136, 136, 136, 0.433);
}

.breadcrumb li:not(.active):hover {
    background-color: #e0e0e0;
    cursor: pointer;
}

/* sidebar */
.sidebar-category {
    background: var(--bg-card2);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 20px rgb(0 0 0 / 14%);
    margin-bottom: 20px;
}

.sidebar-title {
    color: #6e60c7;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

    .sidebar-title span {
        color: var(--gray1);
        font-size: 12px;
        margin-bottom: 0px;
    }

.sidebar-subtitle {
    color: var(--gray3);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: bold;
}

.sidebar-category .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-category .category-list li {
        border-bottom: 1px solid var(--slidbar-b-bottom);
    }

        .sidebar-category .category-list li:last-child {
            border-bottom: none;
        }

    .sidebar-category .category-list a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 0;
        text-decoration: none;
        color: var(--gray3);
        transition: color 0.3s ease;
        font-size: 14px;
    }

        .sidebar-category .category-list a:hover {
            color: #6B5DC4;
        }

.sidebar-category .cat-icon {
    display: inline-block;
    margin-left: 8px;
    font-weight: bold;
    color: #aaa;
    font-size: 16px;
    width: 18px;
    text-align: center;
    transition: all 0.2s ease-in;
}

.sidebar-category .category-list a:hover .cat-icon {
    color: #6B5DC4;
}

/*  */
.sidebar-category-list2 {
    background: var(--bg-card2);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

    .sidebar-category-list2 img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .sidebar-category-list2 a,
    .sidebar-category-list3 a {
        flex: 1;
        font-size: 13px;
        font-weight: bold;
        color: var(--logo-color);
        text-decoration: none;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: color 0.3s;
        margin-bottom: 7px;
    }

        .sidebar-category-list2 a:hover {
            color: #695ac1;
        }

.no-bg {
    background-color: transparent !important;
}

.sidebar-category-list3-container {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
}

.sidebar-category-list3:nth-child(odd) {
    background-color: var(--bg-bac2);
}

.sidebar-category-list3:nth-child(even) {
    background: var(--bg-card2);
}

.sidebar-category-list3 {
    padding: 10px;
    display: flex;
    /* align-items: center; */
    gap: 10px;
}

.brt-10 {
    border-radius: 10px 10px 0 0;
}

.brb-10 {
    border-radius: 0 0 10px 10px;
}

.sidebar-category-list2 a:hover {
    color: #695ac1;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 8px;
}

    .pagination li {
        display: inline-block;
    }

    .pagination a {
        display: block;
        padding: 8px 14px;
        border-radius: 6px;
        background: var(--bg-card2);
        color: var(--dark-title);
        border: 1px solid var(--bg-bac2);
        text-decoration: none;
        transition: all 0.3s;
    }

    .pagination .prev a,
    .pagination .next a {
        background: transparent;
        color: #695ac1;
    }

        .pagination .prev a.pass,
        .pagination .next a.pass {
            background: transparent;
            color: var(--gray1);
        }

            .pagination .prev a.pass:hover,
            .pagination .next a.pass:hover {
                background: transparent;
                color: var(--gray1);
                cursor: default;
            }

    .pagination a:hover {
        background: #eee;
        color: #000;
    }

    .pagination .prev a:hover,
    .pagination .next a:hover {
        background: transparent;
        color: #695ac1;
    }

    .pagination .active a {
        background: #6E60C7;
        color: #fff;
        border-color: #6E60C7;
    }

    .pagination .disabled a {
        color: #aaa;
        cursor: not-allowed;
    }

/* blog-page */
.blog-bg-header {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .blog-bg-header::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        backdrop-filter: blur(18px);
        background: linear-gradient(to bottom, transparent -20%, #000);
    }

    .blog-bg-header .container {
        position: relative;
        z-index: 1;
    }

.blog-header img {
    border-radius: 12px;
    box-shadow: 2px 2px 2px rgba(33, 33, 33, 0.252);
}

.blog-header h1 {
    color: white;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-header p {
    color: white;
    font-size: 1rem;
    line-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

.blog-header .section4-card-body-footer {
    color: white;
    font-size: 14px !important;
}

@media (max-width:768px) {
    .blog-header .col-md-8 {
        margin-top: 30px;
    }

    .blog-header .section4-card-body-footer {
        font-size: 12px !important;
    }

    .section4-card-body-footer {
        gap: 7px !important;
    }
}

.blog-description,
.Author-profile,
.next-prev-blog {
    background-color: var(--bg-card2);
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    color: var(--gray3);
    line-height: 32px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (max-width:768px) {
    .next-prev-blog {
        flex-direction: column;
    }
}

.blog-description {
    line-height: 32px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

    .blog-description h2 {
        color: var(--dark-title);
        font-size: 18px;
        font-weight: bold;
        margin-top: 10px;
    }

    .blog-description p {
        font-size: 15px;
        text-align: justify;
        margin-top: 15px;
    }

        .blog-description p a {
            color: #6e60c7;
            text-decoration: none;
            font-size: 16px;
        }

@media (max-width: 768px) {
    .blog-description p {
        margin-top: 8px;
    }
}

.blog-description img {
    border-radius: 12px;
    box-shadow: 2px 2px 2px rgba(33, 33, 33, 0.252);
    object-fit: contain;
    margin: 40px auto;
    display: block;
}

.list-blog {
    list-style: none;
    padding: 0;
}

    .list-blog li::before {
        content: "";
        display: inline-block;
        margin-left: 6px;
        margin-bottom: 2px;
        width: 6px;
        height: 6px;
        background: #6a5bcd;
        border-radius: 50%;
    }

.bloglable a:hover {
    color: #6a5bcd;
}

.bloglable a {
    position: relative;
    padding: 0 12px;
    text-decoration: none;
    color: var(--gray3);
}

    .bloglable a:not(:first-of-type)::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 16px;
        background-color: var(--gray3);
    }

.bloglable .title {
    color: #695ac1;
    font-weight: bold;
    margin-left: 10px;
}

.bloglable {
    flex-wrap: wrap;
}

@media (max-width:999px) {
    .mt-sm-5 {
        margin-top: 3rem;
    }

    .bloglable {
        font-size: 13px;
        gap: 2px !important;
    }
}

.img-prof,
.img-news {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    width: 90px;
    height: 90px;
    overflow: hidden;
}

    .img-news img {
        width: 100%;
        height: 100%;
    }

@media (max-width:999px) {
    .img-news {
        width: 180px;
        height: 90px;
        overflow: hidden;
    }
}

.img-prof img {
    object-fit: cover;
    height: 100%;
}

.Author-profile .des .name {
    color: #6B5DC4;
    font-weight: bold;
}

.flex-end {
    align-items: flex-end;
}

.next-prev-blog div .des a {
    color: #6B5DC4;
}

.next-prev-blog div .des .title {
    color: var(--dark-title);
}

.comment-input {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(71, 71, 71, 0.049);
    border: 1px solid var(--border-input);
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
    background-color: var(--bg-card2);
    color: var(--gray3);
    height: 50px;
}

textarea {
    height: 190px !important;
}

.comment-input::placeholder {
    color: var(--gray1);
    font-size: 13px;
}

.comment-input:focus {
    outline: none;
    border-color: #695ac1;
    background-color: var(--bg-card2) !important;
    box-shadow: 0 0 6px #6e60c751;
}

.w-fit-content {
    width: fit-content;
}

.text-size-controller {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    border: 1px solid var(--bg-bac);
    border-radius: 27px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: fit-content;
    background-color: var(--bg-bac);
    color: var(--gray3);
}

    .text-size-controller button {
        border: none;
        background: #6a5bcd;
        color: #fff;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        line-height: 1;
        transition: 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .text-size-controller button:hover {
            background: #5446b1;
        }

    .text-size-controller .label {
        font-size: 14px;
        color: var(--gray3);
    }

.comment-box {
    /* border: 1px solid #ddd; */
    border-radius: 12px;
    padding: 16px;
    background: var(--bg-card2);
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.replay {
    background: var(--bg-bac2);
    margin-right: 20px;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    font-size: 15px;
    color: var(--dark-title);
}

.user-role {
    font-size: 13px;
    color: var(--gray3);
}

.comment-date {
    font-size: 13px;
    color: var(--gray3);
}

.comment-box hr {
    color: var(--gray3);
}

.comment-body {
    margin-top: 12px;
    font-size: 15px;
    color: var(--gray3);
    line-height: 1.6;
    white-space: pre-wrap;
}

.respons-btn {
    background-color: #6e60c7;
    font-size: 12px;
    border-radius: 50px;
    padding: 8px 20px;
    color: white;
    transition: all 0.2s ease-in-out;
}

    .respons-btn:hover {
        background-color: #6e60c7;
        color: white;
    }

.blog-link {
    background-color: #4c5cf01a;
    color: #4c5cf0;
    font-weight: bold;
    border-radius: 9999px;
    padding: 5px 55px 5px 15px;
    position: relative;
}

.blog-link-icon {
    border-radius: 9999px;
    background-color: #4c5cf0;
    border-bottom-left-radius: 0;
    padding: 5px 15px 5px 15px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-link a {
    color: #4c5cf0;
    font-weight: bold;
}

.link1 {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reply-title {
    color: var(--dark-title);
}

/* search */
.search-title {
    color: var(--dark-title);
    font-weight: bold;
    font-size: 24px;
}

.search-card {
    display: flex;
    align-items: center;
    background: var(--bg-card2);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 0px;
    position: relative;
    margin: 15px 0;
}

.search-card-image {
    flex-shrink: 0;
    position: relative;
}

    .search-card-image img {
        border-radius: 12px;
        width: 240px;
        height: 150px;
        object-fit: cover;
        position: relative;
        right: -50px;
    }

.search-card-content {
    flex: 1;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--dark-title);
}

.search-card-desc {
    margin: 5px 0;
    font-size: 13px;
    color: var(--gray3);
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

@media (max-width: 991px) {
    .search-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
        margin-bottom: 50px;
        gap: 0;
    }

    .search-card-image img {
        width: 400px;
        height: 180px;
        right: 0;
        bottom: 45px;
    }

    .search-card-content {
        margin-top: -10px;
    }
}

@media (max-width: 576px) {
    .search-card-image img {
        width: 250px;
        height: 150px;
        margin-bottom: -20px;
    }

    .search-card-title {
        font-size: 18px;
    }

    .search-card-desc {
        font-size: 13px;
    }
}

.search-card-content .section4-card-body-footer {
    font-size: 14px !important;
    font-weight: bold;
}

    .search-card-content .section4-card-body-footer .tag {
        font-size: 12px;
    }

    .search-card-content .section4-card-body-footer .info-container .author-info p {
        font-size: 13px;
    }

.bars {
    text-align: left;
}

    .bars span {
        font-size: 18px;
        cursor: pointer;
    }

        .bars span.active {
            color: #6e60c7;
        }


img, video {
    max-width: 100%;
    height: auto;
}
