/*
Theme Name: Universal Child
Theme URI: https://example.com/
Description: Neve тақырыбына арналған child theme
Author: Сіз
Template: neve
Version: 1.0
*/

::selection {
		background: #FFCF2C;
		color: black;
}

/*top контайнері*/
/*top head*/
.header-top-inner .row {
    display: block !important;
}
.desktop-left {
	width: 100%;
}
@media (max-width: 959px) {
			.header-top-inner .row {
				display: grid;
			}
		.desktop-left {
			width: auto;
			}
}
.top-mak {
	display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.top-mak00 {
	display: flex;
    align-items: center;
	gap: 20px;
}
.date00 {
	font-size: 12px;
    font-weight: bold;
}

.top-mak00-1 {
	display: flex;
    align-items: center;
	gap: 10px;
}

/*text-headling00*/
.text-headling00 {
	border-bottom: 2px solid var(--nv-primary-accent);
}


/* Secondary menu dropdown enable */
.secondary-menu-wrapper,
.secondary-menu-wrapper * {
    list-style: none;
    margin: 0;
    padding: 0;
}

.secondary-menu-wrapper ul {
	display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--spacing) / 2 * -1);
    margin-left: calc(var(--spacing) / 2 * -1);
	text-transform: uppercase;
}

.secondary-menu-wrapper > li {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.secondary-menu-wrapper li a {
    text-decoration: none;
    padding: 5px 10px;
    display: block;
	font-size: 12px;
	font-weight: bold;
}

/* 🔹 Активті бет көк түсте болу үшін */
        .secondary-menu-wrapper .current-menu-item > a,
        .secondary-menu-wrapper .current-menu-parent > a,
		.secondary-menu-wrapper .current-menu-parent > a span {
            color: var(--nv-c-1);
        }

/* Submenu style */
.secondary-menu-wrapper .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 9999;
}

.secondary-menu-wrapper .menu-item-has-children:hover > .sub-menu {
        display: block;
    }
.secondary-menu-wrapper .sub-menu li {
    display: block;
    width: 100%;
}

.secondary-menu-wrapper .sub-menu li a {
    padding: 8px 14px;
    white-space: nowrap;
	color: var(--nv-text-color);
}
.secondary-menu-wrapper li a:hover,
.secondary-menu-wrapper .sub-menu li a:hover {
	color: var(--nv-c-1);
}
.secondary-menu-wrapper .menu-item-has-children > a {
    position: relative;
    padding-right: 22px; /* svg үшін орын */
}

/* SVG стрелка */
.secondary-menu-wrapper .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    background-size: 8px 8px;
    background-repeat: no-repeat;

    /* SVG — data URI форматында */
    background-image: url("data:image/svg+xml,%3Csvg fill='%23ffffff' aria-label='Dropdown' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3E%3C/svg%3E");
    opacity: 0.7;
}

/* Тек touchscreen құрылғыларда hover толық өшеді */
@media (hover: none) and (pointer: coarse) {
    .secondary-menu-wrapper .menu-item-has-children:hover > .sub-menu {
        display: none !important;
    }
}

@media (max-width: 959px) {
	.secondary-menu-wrapper ul {
		display: block;
	}
	.secondary-menu-wrapper .current-menu-item > a, .secondary-menu-wrapper .current-menu-parent > a, .secondary-menu-wrapper .current-menu-parent > a span {
		color: var(--nv-primary-accent);
	}
	.secondary-menu-wrapper li a {
		color: var(--nv-text-color);
	}
	.secondary-menu-wrapper li a:hover,
	.secondary-menu-wrapper .sub-menu li a:hover {
	color: var(--nv-primary-accent);
	}
	.secondary-menu-wrapper .sub-menu {
		display: none;
		padding-left: 10px;
		position: relative;
        background: none;
        box-shadow: none;
	}
	.secondary-menu-wrapper .submenu-open > .sub-menu {
    	display: block;
	}
	.secondary-menu-wrapper .menu-item-has-children > a {
		position: relative;
		padding-right: 24px; /* стрелкаға орын */
	}
	.secondary-menu-wrapper .menu-item-has-children > a::after {
		content: "";
		position: absolute;
		right: 4px;
		top: 50%;
		width: 20px;
        height: 20px;
		transform: translateY(-50%);
		background-size: 14px 14px;
		background-repeat: no-repeat;
		background-image: url("data:image/svg+xml,%3Csvg fill='%23000000' aria-label='Dropdown' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3E%3C/svg%3E");
    	opacity: 1;
		pointer-events: auto;
		cursor: pointer;
		background-position: center;
	}
	.secondary-menu-wrapper .menu-item-has-children.submenu-open > a::after {
        transform: translateY(-50%) rotate(180deg);
        opacity: 1;
    }
}


/*mobile*/
.mobile-burger {
    display: none;
    font-size: 20px;
    background: none;
    border: none;
    color: #000;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9999;
}
.mobile-burger:hover {
	background: none;
	color: #000;
}

/* MOBILE MENU PANEL (NOT FIXED) */
.mobile-menu-panel {
    background: #ebebeb;
    color: #333333;
    padding: 20px;
    width: 100%;
    display: none;
    position: absolute;
    z-index: 999;
    top: 50px;
	box-shadow: 0px 10px 20px #1f1f1f6e;
}

.mobile-menu-panel.open {
    display: block !important;
}

.mm-item {
    margin-bottom: 20px;
}

/* MOBILE MODE */
@media (max-width: 959px) {
    .top-mak {
        display: none !important;
    }

    .mobile-burger {
        display: block !important;
    }
}


/* Search Icon */
.header-search {
    position: relative;
    display: inline-block;
}
#search-toggle {
	display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer !important;
}
#search-toggle img {
		font-size: 16px;
		cursor: pointer;
		width: 15px;
}
.search-box {
    position: absolute;
    top: 100%; /* кнопканың астынан шығады */
    right: 0;
    width: 500px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
	color: var(--nv-text-color);
}
.search-box.hidden {
    display: none;
}
.search-box input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-results-item {
		border-bottom: 1px solid #e1e1e1;
    padding: 10px 0;
}
.search-results-item a {
		padding: 0 5px;
		display: flex;
}
.search-results-item a img {
		width: 100px;
		height: 100px;
		max-width: none;
}
.search-results-item .info {
		font-size: 15px;
    	line-height: 1.4;
		padding: 0 10px;
	    color: var(--nv-text-color);
}
.search-results-item .info .title {
		margin-bottom: 5px;
}
.search-results-item .info .date {
		font-size: 12px;
		padding: 2px 8px;
		border-radius: 6px;
		position: absolute;
		transition: 0.3s;
}
.search-results-item a:hover .date {
		background: #3a5997;
		color: white;
}
.search-results-item h4 {
		margin-bottom: 0px;
	    color: var(--nv-text-color);
}
.search-results-item a:hover {
		color: var(--nv-secondary-accent);
		transition: 0.3s;
}
@media (max-width: 959px) {
    .header-search {
        display: none;
    }
}



/*conent*/
@media (max-width: 781px) {
	.post-flex00 {
		flex-direction: column-reverse;
	}
}



/*category post*/
.blog01 {
	width: 100%;
}
@media (min-width: 960px) {
    .neve-main>.news-archive .col {
		max-width: 100% !important;
    }
}
.news-grid-attes {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 20px;
}
.news-it00 a {
    border: 1px solid #dadada;
    width: 100%;
    display: block;
    padding: 15px;
    border-radius: 15px;
    height: 100%;
	transition: all 0.3s;
}
.post-img00 {
    height: 300px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-image: url(/wp-content/themes/universal-child/assets/no-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.post-img00 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
.news-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--nv-text-color);
}
.news-date {
    color: gray;
    font-size: 14px;
}
.news-grid-attes a:hover .news-title {
	color: var(--nv-primary-accent);
}

/*paganation*/
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-links span, .nav-links a {
    background: #ebebeb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    margin: 0 5px;
}
.pagination {
	margin: 30px 0;
}






/*single post*/
.nv-single-breadcrumbs {
	margin-bottom: 20px !important;
}
.nv-single-breadcrumbs a,
.nv-single-breadcrumbs span {
	font-size: 13px;
    color: gray;
}
.nv-meta-categories a {
	background: var(--nv-secondary-accent);
    padding: 2px 5px;
    border-radius: 4px;
    color: white !important;
    font-size: 12px;
	text-transform: lowercase;
}
.nv-meta-categories a:hover {
	color: white !important;
}

.cus-meta00 {
	display: flex;
    justify-content: space-between;
}
.cus-meta00 .date,
.cus-meta00 .post-views-block {
	font-size: 12px;
    color: #4a4a4a;
}
.single-img img {
	width: 100%;
    height: 400px;
    object-fit: cover;
}

.load-static {
	display: none;
}


/*side bar on*/
.popular-post-item a {
	flex-direction: row;
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}
.popular-post-item a:hover .popular-name {
	color: var(--nv-primary-accent);
}
.pop-img00 {
	flex: 0 0 30%;
    width: 30%;
    display: block;
    order: 0;
}
.pop-img00 img {
	object-fit: cover;
}
.popular-text .popular-name {
	color: var(--nv-text-color);
    line-height: 1.2;
    font-size: 14px;
	font-weight: bold;
	
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popular-text .popular-meta {
	font-size: 12px;
    color: gray;
}

/*Бөлісу батырмалары*/
.share-buttons {
    margin-top: 25px;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.share-title {
    font-weight: 600;
    margin-right: 10px;
}

.share-btn {
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.share-btn.fb { background: #1877F2; }
.share-btn.tg { background: #0088cc; }
.share-btn.wa { background: #25D366; }

.share-btn:hover {
    opacity: 1;
    color: white;
}


/*comment*/
.single-comment {
	margin: 40px 0;
}


/*footer 1*/
.comitet-00 {
	color: #707070;
    font-size: 12px;
    text-align: justify;
    line-height: 1.3;
	margin-top: 20px;
}

.foot-con01 i,
.foot-con01 a:hover {
	color: var(--nv-primary-accent);
}

.social00 {
	display: flex;
    gap: 10px
}
.social00 li a {
	width: 30px;
    border: 1px solid var(--nv-primary-accent);
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color: var(--nv-primary-accent);
	transition: all 0.3s;
}
.social00 li a:hover {
	background: var(--nv-primary-accent);
	color: white;
}


/*footer 4*/
.component-wrap div,
.hfg-slot .cr {
	display: none;
}
.footer-bottom-inner .nv-footer-content {
	border-top: 1px solid #dadada;
}

