/*
Theme Name: cointelegraph
Theme URI: https://wordpress.org/themes/cointelegraph/
Author: Mahdieh ahmadi
Author URI: https://wordpress.org
Description: cointelegraph is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: metaverseinjas.com
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
@font-face {
    font-family: 'IRANSans';
    src: url('assets/fonts/IRANSans/Farsi_numerals/webFonts/fonts/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),
    url('assets/fonts/IRANSans/Farsi_numerals/webFonts/fonts/woff/IRANSansWeb(FaNum).woff') format('woff'),
    url('assets/fonts/IRANSans/Farsi_numerals/webFonts/fonts/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'IRANSans', sans-serif !important;
}
.navbar-nav li a {
    color: #000 !important;
    text-decoration: none;
    padding: 13px 13px;
    transition: background-color 0.3s, color 0.3s;

}
.navbar-nav li a:hover {
    background-color: #ffe17d;
    color: #000 !important;
}
#searchInput {
    width: 100%;
    max-width: 400px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

#toggleSearch {
    z-index: 2000;
}
input#searchInput {
    width: 300px;
    margin-top: 12px !important;
}
button#ecosystemDropdown {
    background-color: black !important;
    border: none !important;
}

.navbar-toggler .close-icon {
    display: none;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    display: none;
}

.navbar-toggler:not(.collapsed) .close-icon {
    display: inline-block;
}
span.close-icon.fs-3 {
    background-color: #fabc2c;
    width: 50px;
    padding: 5px;
}
input#newsletterEmail {
    border-radius: 5px;
}
#meta_ads_slide img{
	border-radius:5px !important;
}
img{
	border-radius:5px !important;
}
.nav-tabs{
	border-bottom: 2px solid #fabc2c !important;
}
.the_content_font_size{
    text-align: justify;
    line-height: 30px;
}
img.attachment-large.size-large.wp-post-image {
    width: 100%;
    height: 500px;
}
div#slider_learn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
}

                .custom-nav
                {
                    display: block;
                    position: absolute;
                    left: 8rem;

                }
                .news-card-slide {
                    position: relative;
                    background-color: #192024;
                    border-radius: 12px;
                    height: 320px;
                    overflow: hidden;
                    display: flex;
                    flex-direction: column;
                }

                .card-lower {
                    position: absolute;
                    bottom: 0;
                    width: 100%;
                    background-color: #3a464c;
                    padding-top: 90px !important;
                    font-size: 16px;
                    opacity: 0;
                    transform: translateY(20px);
                    transition: opacity 0.5s ease, transform 0.5s ease;
                    color: #fff;
                    height: 100%;
                    z-index: 1;
                }

                .news-card-slide:hover .card-lower {
                    opacity: 1;
                    transform: translateY(25%);
                    z-index: 2;
                    border-radius: 8px;
                }

                .card-upper {
                    position: relative;
                    z-index: 2;
                    transition: transform 0.4s ease;
                }

                .news-card-slide:hover .card-upper {
                    transform: translateY(-60%);
                }

                .image-wrapper {
                    position: relative;
                }

                .image-wrapper img {
                
                    object-fit: cover;
                    border-top-left-radius: 12px;
                    border-top-right-radius: 12px;
                }


                .text-bg-subtle {
                    color: #192024;
                }
                .post-category-badge {
                    position: absolute;
                    bottom: 8px;
                    right: 8px;
                    background-color: #fabc2c;
                    color: #1e1f22;
                    padding: 4px 10px;
                    font-size: 12px;
                    border-radius: 0.25rem;
                    text-transform: uppercase;
                    z-index: 2;
                }

                .gradient-overlay::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background: linear-gradient(0deg, #192024 0%, rgba(16, 116, 173, 0.8) 20%, rgba(16, 23, 27, 0) 55%);
                    pointer-events: none;
                    z-index: 1;
                }

                .card-image-container {
                    position: relative;
                    overflow: hidden;
                }

                .card-img-cover {
                    width: 100%;
                    height: auto;
                    display: block;
                    position: relative;
                    z-index: 0;
                }

                .card-content {
                    background: linear-gradient(to top, #192024, transparent 90%);
                }

                .card-content h5,
                .card-content p {
                    z-index: 2;
                    position: relative;
                }

                .custom-nav button {
                    background: #3a4147;
                    border: none;
                    width: 32px;
                    height: 32px;
                    border-radius: 50%;
                    color: #ffffff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.3s ease;
                    cursor: pointer;
                    font-size: 12px;
                    border: 1px solid #4a5259;
                }

                .custom-nav button:hover {
                    background: #f7931a;
                    color: #000;
                    transform: scale(1.05);
                    border-color: #f7931a;
                }

                .custom-nav button:active {
                    transform: scale(0.95);
                }

                .gaming_news_dot_2 .card {
                    transition: transform 0.3s ease, box-shadow 0.3s ease;
                    border: 1px solid #3a4147;
                    overflow: hidden;
                    cursor: pointer;
                }

                .gaming_news_dot_2 .card:hover {
                    transform: translateY(-5px);
                    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
                }


                .gaming_news_dot_2 .owl-nav {
                    display: none !important;
                }

                .owl-dots {
                    display: none !important;
                }

                .image-box-research {
                    background-image: url('https://testforfatemeh.top/cointelegraph/wp-content/uploads/2025/05/Screenshot-2025-05-27-151447.png');
                    background-size: cover;
                    background-position: center;
                    min-height: 300px;
                }

                .image-box-research_end {
                    background-image: url('https://testforfatemeh.top/cointelegraph/wp-content/uploads/2025/05/Screenshot-2025-05-28-042104.png');
                    background-size: cover;
                    background-position: center;
                    min-height: 250px;
                }

                .category-list {
                    list-style: none;
                    padding: 0;
                    margin: 0;
                    text-align: center;
                }

                .category-list li {
                    position: relative;
                    padding-left: 15px;
                    margin-right: 6px;
                    color: white;
                    font-size: 18px;
                }

                .category-list li::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 50%;
                    width: 6px;
                    height: 6px;
                    background-color: #f4c518;
                    transform: translateY(-50%);
                }

                @media (max-width: 768px) {
                    .d-flex.justify-content-between {
                        flex-direction: column;
                    }

                    .d-flex.align-items-center.mb-3 {
                        justify-content: space-between;
                        width: 100%;
                    }

                    .custom-nav {
                        margin-top: 0;
                    }

                    .custom-nav button {
                        width: 28px;
                        height: 28px;
                        font-size: 10px;
                    }

                    .gaming_news_dot .card {
                        height: 280px;
                    }

                    .card-description-section {
                        max-height: 50%;
                    }

                    .description-text {
                        font-size: 12px;
                        line-height: 1.5;
                    }
                }

                @media (max-width: 576px) {
                    .d-flex.align-items-center.mb-3 {
                        flex-direction: column;
                        align-items: flex-start !important;
                    }

                    .custom-nav {
                        margin-top: 10px;
                    }

                    .gaming_news_dot_2 .card {
                        height: 260px;
                    }

                    .card-description-section {
                        max-height: 45%;
                    }

                    .description-text {
                        font-size: 11px;
                        line-height: 1.4;
                    }
                }
   
   .image-wrapper_re {
                            position: relative;
                            overflow: hidden;
                        }
                        .excerpt-hover_re {
                            position: absolute;
                            top: 50%;
                            left: 10px;
                            right: 10px;
                            height: 50%;
                            background-color: rgba(37, 49, 54, 0.82);
                            color: white;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            opacity: 0;
                            transition: opacity 0.4s ease-in-out;
                            z-index: 2;
                            font-size: 14px;
                            border-radius: 8px;
                            text-align: center;
                            padding: 20px;
                            transform: translateY(-50%);
                        }
                        .image-wrapper_re:hover .excerpt-hover_re {
                            opacity: 1;
                        }
                        .accordion-body ul li a {
                            color: black;
                            font-weight: 700;
                        }
                        .faq-section {

                        }

                        .accordion-item {
                            border: none;
                        }

                        .accordion-button {
                            background-color: transparent;
                            border: none;
                            font-weight: 500;
                            padding-left: 0;
                            padding-right: 2rem;
                            position: relative;
                        }

                        .accordion-button::after {
                            display: none;
                        }

                        .plus-icon-wrapper {
                            width: 32px;
                            height: 32px;
                            border-radius: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            transition: background-color 0.3s ease;
                        }

                        .plus-icon {
                            font-size: 1.5rem;
                            color: #fff;
                            transition: transform 0.3s ease, color 0.3s ease;
                        }

                        .accordion-button:hover .plus-icon-wrapper {
                            background-color: rgba(255, 255, 255, 0.1);
                        }

                        .accordion-button:not(.collapsed) .plus-icon {
                            transform: rotate(45deg);
                            color: #bbb;
                        }

                        .accordion-body {
                            background-color: #1e1e1e;
                            padding: 1rem;
                            border-radius: 0.25rem;
                        }



@media (min-width :901px){
	.show_recent_coin_desktop{
		display:none !important;
	}
}
@media(max-width:900px){
    .adv_desktop{
        display: none !important;
    }
	.selected-swiper_two{
		display:none;
	}
	.newsTab{
		width:100% !important;
	}
	.row_adv{
		display:flex;
		flex-direction: column;
	}
	.postviewsweb{
		width:100% !important;
	}
	.show_author_archive{
		font-size:12px !important;
	}
	img.attachment-large.size-large.wp-post-image{
		height: auto !important;
	}
	.show_recent_coin_news{
		display:none !important;
	}
	     div#slider_learn{
        display: none !important;
    }
	.form_research_boxl{
		width:100% !important;
	}
	.custom-nav{
		left:3rem !important;
	}
	.btn_research_width{
		width:100% !important;
	}
	.image-box-research_end{
		display:none;
	}
	.reserach_btn_read{
		font-size:10px !important;
	}
	  .event-table{
        font-size: 10px !important;
    }
}
@media(max-width:480px){
	 .event-table{
        font-size: 8px !important;
    }
}

