/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/
/* fix bug in scroll related to sticky header */
html[dir=rtl]{
	overflow-y:auto;
}

/* homepage tags */
.post-tags{
	display:none;
}
.home .post-tags{
	display:inline;
	position: relative;
}
.home .post-tags a{
	padding: 0 34px 0 7px;
}
.home .feat-grid .meta-item .date-link{
	display:none;
	visibility:hidden;
	width:0;
	height:0;
}
.home .feat-grid .post-tags a.tag-item{
    background: #333;
	color: #efefef;
}
.home .post-meta .meta-item:before{
	padding:0;
}

.home .post-tags .tag-item .tag-img{
	width:24px;
	height:24px;
	background-size: cover;
    background-position: center;
    position: absolute;
    top: -1px;
    right: 3px;
}


/* header mega menu flags */

.mega-menu-cities a{
	font-family: "Noto Kufi Arabic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.mega-menu-cities ul.sub-menu li.menu-item::before{
	content: " ";
	width:32px;
	height:32px;
	background-size: cover;
    background-position: center;
    position: absolute;
    top: 5px;
    right: 5px;
}
.menu-item-ru::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/russia.png');
}
.menu-item-kz::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/kazakhstan.png');
}
.menu-item-az::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/azerbaijan.png');
}
.menu-item-ge::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/georgia.png');
}
.menu-item-ar::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/armenia.png');
}
.menu-item-br::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/belarus.png');
}
.menu-item-uz::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/uzbekistan.png');
}
.menu-item-tu::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/turkmenistan.png');
}
.menu-item-tj::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/tajikistan.png');
}
.menu-item-ky::before {
  background-image: url('https://eurasiaalyoum.com/wp-content/uploads/2025/08/kyrgyzstan.png');
}

.mega-menu-cities ul.sub-menu li.menu-item a{
	padding-right: 45px;
}
.mobile-menu .mega-menu-cities li a{
    display: flex;
    align-items: center;
}

/* footer */

.mid-footer{
	padding: 50px 0;
    background-color: #F7F7F9;
}
.mid-footer a{
	color: #000000;	
}
.footer-ex3__news-links {
	display: flex;
	flex-direction: column;
	grid-row-gap: 1rem;
	justify-content: flex-start;
	align-items: flex-start
}
.footer-ex3__news-links__element{
	flex: auto;
	width: 100%;
	display:list-item;
}
.footer-ex3__news-links__element__label {
	flex: 0 0 8rem;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
}
.footer-ex3__news-links__secondary {
	height:0;
    overflow: hidden;
    transition: height .1s linear;
    will-change: height;
}
.footer-ex3__news-links__secondary li{
	margin:15px 0;
	font-size:16px;
}
.footer-ex3__news-links__secondary li a:hover{
	color:var(--c-main);
}
.footer-ex3__news-links__element__label i{
	margin-right: 10px;
    color: #000;
}


@media (min-width: 941px) {
	.footer-ex3__news-links__element{
		flex: auto;
		display: flex;
		flex: 0 0 10%;
		text-align: right;
	}
	.footer-ex3__news-links__secondary {
		height: auto !important;padding-right: 2.4rem;
		border-right: .4rem solid #151515;
		display: flex;
		flex-direction: row;
		gap: 2.4rem;
	}
	.footer-ex3__news-links__element__label i {
		font-size:0;
	}
	.footer-ex3__news-links__secondary li{
		margin: 0;
	}
}



/* pages-titels in all pages */

.pages-titels-ar{
	font-family: "Noto Kufi Arabic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 14px ;
    font-weight: 600 ;
}


/* post single page featured image fix   */
body.single .featured .ratio-is-custom {
    padding-bottom: 0;
}
body.single-post .featured .media-ratio {
    height: auto;
}
body.single .featured .media-ratio .wp-post-image, 
body.single .featured .media-ratio > img {
    position: relative;
    height: auto;
}

/* homepage main hero on mobile */
@media (max-width: 540px) {
    .grid-overlay .content {
        padding: 10px;
    }
	.home .post-tags a {
		padding: 0 30px 0 5px;
	}
	.post-meta .cat-labels + .meta-item:before {
		margin-right: 0px;
	}
	.feat-grid .item-small .post-title {
		margin: 2px 0;
	}
}


/*  twitter social colors */
.spc-social-colors .s-twitter {
    --c-spcs-icon: #000;
}