/*!
Theme Name: darkoob
Theme URI: https://underscores.me/
Author: Automattic
Author URI: https://automattic.com/
Description: Hi. I'm a starter theme called <code>darkoob</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: darkoob
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

darkoob is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: "IRANSansWebFaNum";
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: "IRANSansWebFaNum";
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: "IRANSansWebFaNum";
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "IRANSansWebFaNum";
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family:"IRANSansWebFaNum";
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 3em 1.5em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-right: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}


a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-right: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: right;
	position: absolute;
	top: 100%;
	right: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	right: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	right: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	right: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}
.post-navigation{
    display:none !important;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1.5em;
}

/* My Styles */
@font-face {
    font-family: 'FontAwesome';
    src: url('fonts/fontawesome-webfont.eot'); 
    src: url('fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), 
         url('fonts/fontawesome-webfont.woff2') format('woff2'),
         url('fonts/fontawesome-webfont.woff') format('woff'), 
         url('fonts/fontawesome-webfont.ttf') format('truetype'), 
         url('fonts/fontawesome-webfont.svg#FontAwesome') format('svg'); 
    font-weight: normal;
    font-style: large;
}
@font-face {
    font-family: "IRANSansWebFaNum";
    src: url('fonts/IRANSansWebFaNum.eot');
    src: url('fonts/IRANSansWebFaNum.eot?#iefix') format('embedded-opentype'),
         url('fonts/IRANSansWebFaNum.woff2') format('woff2'),
         url('fonts/IRANSansWebFaNum.woff') format('woff'),
         url('fonts/VIRANSansWebFaNum.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: "titr";
	src: url('fonts/B\ Titr\ Bold.ttf');
	
	font-weight: bold;
	font-style: normal;
}
@media only screen and (max-width: 768px){
    h1{ font-size: 20px !important; }
    h2{ font-size: 23px !important; }
    h3{ font-size: 16px !important; }
    h4{ font-size: 14px !important; }
  }
  
  @media only screen  and (min-width: 768px)
{
    .woocommerce-page div.product div.images {
        width: 30% !important;
    }
    .woocommerce-page div.product div.summary {
        width: 67%;
    }
    h1{ font-size: 20px !important; }
    h2{ font-size: 23px !important; }
    h3{ font-size: 16px !important; }
    h4{ font-size: 14px !important; }
}

body {
    font-family: "IRANSansWebFaNum";
    background:#E8ECF0;
    overflow-x: hidden;
	
}
#text-7{
	margin: 0;
}
#text-7 p{
	margin-bottom: 0;
}
.head .search-field {
    font-family: "IRANSansWebFaNum" !important;
    border-radius: 0 8px 8px 0;
    border: 1px solid #80808047;
    position:relative;
    left:85px;
}

.head .search-submit::before {
    font-family: 'FontAwesome';
    content: "\f002";	
}

.search .search-form {
    margin-top: 12px;
    
}

.search .search-submit {
    font-family: "IRANSansWebFaNum" !important;
}

.search input[type="submit"] {
    padding: 0.47em 1em 0.47em !important;
    background: #008100;
    color: #fff;
    border-radius: 8px 0 0 8px;
}
#text-7 img{
	margin-bottom: 0;
}
#text-8{
	text-align: center;
	margin-bottom: 0;
	margin-top: 10px;
	
}
#text-8 a{
	padding: 5px 15px;
	text-decoration: none;
	background: #008100;
	color: #fff;
	border-radius: 5px ;
}
#search-2{
    margin-bottom:0 !important;
}
#search-2 .search-submit{
    position:relative;
    bottom:33px;
    right:110px;
}
#text-8 a::before{
	font-family: "FontAwesome";
	content: "\f007";
	margin-left: 3px;
}
#text-8 p{
	text-align:left;
}
.logo{
	margin-top: 5px;
}
.search{
	margin-top: 10px;
}
.account{
	margin-top: 15px;
}
.menu{
	display: inline-flex;
}
.menu li{
	list-style-type: none;
	margin-left: 50px;
}
.menu li a{
	text-decoration:none;
	color: #333;
	font-size: 14px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s 
ease;
    z-index: 999;
    display: block !important;
}

.menu-item-has-children  > a::after

 {
    content: "▾";
    font-size: 12px;
    margin-right: 5px;
    transition: transform 0.3s 
ease;
}
.menu-item-has-children {
    position: relative;
}
/* نمایش زیرمنو در هاور */
.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}
.sub-menu li{
    margin-left:0 !important;
}
.sub-menu li a {
    padding: 10px ;
    display: block;
    color: #555;
    font-size: 15px !important;
    text-decoration: none;
    transition: all 0.3s 
ease;
}
.sub-menu .sub-menu {
    top: 0;
    right: 200px; 
}
.sub-menu .sub-menu .sub-menu{
    top:40px;
    right:0;
}
.menu ul{
	padding-right: 0;
	margin-bottom: 0;
	padding-top: 16px;
	padding-bottom: 15px;
}
#text-9{
	font-size: 14px !important;
	margin-bottom:0;
	padding-top: 15px;
	padding-bottom: 17px;
}
#text-9 .textwidget::after{
	font-family: "FontAwesome";
    content: "\f073";
    margin-right: 10px;
    color: #008100;
    padding: 12px;
    background: #fff;
    font-size: 16px;
    border-radius: 5px;
}
.head1 {
    position: sticky;
    top: 0;
    z-index: 9999;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.head1.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);

    z-index: 99999;
}

.menu .widget{
	margin: 0;
}
.hero{
	margin-top: 20px;
}
.grid-amir{
	background: #008100;
	border-radius:15px;
}
.grid-amir .widget{
	margin: 0;
}
.showcase-title .highlight{
	font-size: 22px;
}.fab-heading{
    font-size: 22px !important;
    font-weight: 900;
    line-height: 1.8em;
    color: #FFFFFF;
}
.fab-section{
background: linear-gradient(90deg,#3c5d22,#1f3412);
padding:40px;
border-radius:15px;
}

.fab-heading{
color:white;
margin-bottom:35px;
font-size:22px;
}

.fab-wrapper{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
}

.fab-item{
text-align:center;
width:160px;
}

.fab-thumb img{
width:100%;
height:120px;
object-fit:cover;
border-radius:20px;
}


.fab-title{
margin-top:12px;
font-size:15px;
font-weight:bold;
color:white;
line-height:1.6;
}

.fab-item a{
text-decoration:none;
color:inherit;
}

@media (max-width: 768px) {
    .fab-wrapper {
        gap: 20px;
    }
    
    .fab-item {
        width: calc(50% - 10px);
        max-width: 160px;
    }
    
    .fab-section {
        padding: 20px;
    }
}

.academy {
    position: relative;
}

.academy .news {
    position: sticky;
    top: 70px;
}
.mnb-widget .mnb-title{
	font-size: 20px !important;
	color: #000000;
}
.wiki-box {
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            margin: 35px 0;
            box-shadow: 0 4px 18px rgba(0,0,0,0.06);
        }

        .wiki-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 22px;
        }

        .wiki-title {
            margin: 0;
            font-size: 27px !important;
    font-weight: 900 !important;
    line-height: 1.8em;
    color: #056307;
        }

        .wiki-subtitle {
            margin: 6px 0 0 0;
            color: #666;
            font-size: 16px !important;
    font-weight: 300 !important;
    
        }

        .wiki-more {
            background: #fff;
            padding: 7px 16px;
            border-radius: 8px;
            border: 1px solid #ddd;
            font-size: 14px;
            color: #333;
            text-decoration: none;
            transition: 0.2s ease;
        }

        .wiki-more:hover {
            background: #f6f6f6;
        }

        .wmlp-wrapper {
            display: flex;
            gap: 22px;
        }

        .wmlp-card {
            width: 32%;
            display: block;
            border-radius: 14px;
            overflow: hidden;
            position: relative;
            background: #fff;
            box-shadow: 0 4px 18px rgba(0,0,0,0.07);
            cursor: pointer;
            transition: 0.3s ease;
        }

        .wmlp-card:hover {
            transform: translateY(-4px);
        }

        .wmlp-thumb {
            width: 100%;
            height: 240px;
            background-size: cover;
            background-position: center;
            filter: brightness(0.88) contrast(1.05);
        }

        .wmlp-title {
            position: absolute;
            bottom: 12px;
            right: 12px;
            padding: 6px 12px;
            background: rgba(0,0,0,0.55);
            color: #fff;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 700;
        }

        @media(max-width: 768px){
            .wiki-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            .wmlp-wrapper {
                flex-direction: column;
            }
            .wmlp-card {
                width: 100%;
            }
        }
.amozesh{
	margin-top: 35px;
}
.foot1 {
    background: #fff;
    border-radius: 65px 65px 0 0;
    border-top: 4px solid rgb(0, 51, 0);

    box-shadow:
        /* سایه اصلی عمیق */
        0 15px 35px rgba(0, 0, 0, 0.18),
        /* سایه میانی برای حجم */
        0 8px 20px rgba(0, 0, 0, 0.12),
        /* سایه نزدیک برای برجستگی سطح */
        0 3px 8px rgba(0, 0, 0, 0.10),
        /* سایه جهت‌دار ملایم برای حس 3D */
        0 -4px 10px rgba(0, 60, 0, 0.06) inset;
}

.foot1-in{
	padding:30px;
	border-radius: 55px 55px 0 0;

	border-top: 4px solid #008100;
}
#text-25 p{
	text-align:center;
	font-size: 20px;
	margin-bottom: 0;
}
.access a{
	text-decoration: none;
	color: #333;
}
.access p{
	font-size: 13px;
}
#text-22 h2{
	font-weight: 600;
}
#text-22 p{
	font-size: 13px;
}
#text-22 strong{
    font-size:15px;
}
#text-23 .widget-title{
	margin-bottom: 21px;
}
#text-23 strong{
    font-size:15px;
}

.social-icons{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.social-icons img{
	width: 55px;
	height: 55px;
	padding: 15px;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	background: #fff;
	transition: all 0.3s ease;
	cursor: pointer;
}

.social-icons img:hover{
	border-color: #bdbdbd;
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	transform: translateY(-5px);
	filter: grayscale(0%);
}

.social-icons img{
	filter: grayscale(30%);
}
.app{
	background: url("https://haggchat.ir/test/wp-content/uploads/2026/05/6622352d-eb38-4890-9047-2cd1d78fdf1f-2-scaled.webp");
	background-size: cover;
	height: 75px;
	width: 99%;
	margin:auto;
	margin-bottom: 15px;
}
#text-27{
	margin-top: 25px;
}
#text-27 .widget-title{
	font-size: 25px !important;
	font-weight: 600;
	color: #000000;
}
#text-27 p{
	font-size: 14px;
	line-height: 30px;
	text-align: justify;
}
.cert-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.cert-container img {
    width: 110px;      
    height: 110px;     
    object-fit: contain;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;       
    border-radius: 12px;         
    box-shadow: 0 2px 6px rgba(0,0,0,0.08); 
}
.copy-in{
	padding-top: 20px;
	border-top: 1px solid rgba(197, 197, 197, 0.459);
}
.daneshname{
	text-align: right;
}
.copyright{
	text-align: left;
}
#text-29 a{
	text-decoration: none;
	color: #056307;
}
.copyright{
	font-size: 13px;
}
#text-11{
	margin-bottom: 10px !important;
}
/* HERO */

.article-hero{
    background:#0a8f08;
    padding-top: 60px;
    padding-bottom: 100px;
}

.hero-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
  
}

.hero-image img{
    width:285px;
    border-radius:10px;
}

.hero-title h1{
    color:#fff;
    font-size:30px !important;
    font-weight:700;
}
.home-h1 {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


/* MAIN */

.article-wrapper{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:40px;
    padding:40px 0;
}


/* SIDEBAR */

.article-sidebar{
    width:280px;
}

.toc-box{
    background:#f5f5f5;
    padding:20px;
    border-radius:10px;
}

.toc-box h3{
    margin-bottom:15px;
    font-weight: 600;
}

.toc-box ul{
    list-style:none;
    padding:0;
    margin-right: 0;

}
.entry-content{
	padding: 20px;
	margin-top: 0;
	background: #fff;
	border-radius: 10px;
	
}
.article-content .entry-content{
position: relative;
	bottom: 90px;
}

.toc-box li{
    margin-bottom:10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(172, 172, 172, 0.507);
}
.toc-box li a{
	text-decoration: none;
	color: #056307;
	font-size: 14px;
}

/* CONTENT */

.article-content{
    flex:1;
}

.article-content p{
    line-height:2;
    font-size:16px;
}
.reading-progress{
    width:100%;
    height:3px;
    background:#e0e0e0;
    border-radius:50px;
    margin-top:20px;
    overflow:hidden;
}

.progress-bar{
    width:0%;
    height:100%;
    background:#0a8f08;
    transition:width 0.1s linear;
}

.article-sidebar{
    width:280px;
    position: relative;
    bottom: 90px;
}

.article-sidebar .toc-box{
    position: sticky;
    top: 100px; 
}
.toc-mizan{
	margin-bottom: 5px;
}
.toc-actions{
    display:flex;
    gap:10px;
    margin-top:20px;
}

.toc-btn{
    flex:1;
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:14px 10px;
    text-align:center;
    text-decoration:none;
    color:#333;
    font-size:14px;
    position:relative;
}
.toc-btn:hover{
	background: #056307;
	color: #fff;
	transition: 0.5s;
}
.toc-btn:before{
    font-family:"FontAwesome";
    margin-left:8px;
}
.comments-btn:before{
    content:"\f086"; 
}
.rating-btn:before{
    content:"\f005";
}
.article-categories{
    margin-bottom:15px;
    font-size:14px;
}

.article-categories a{
    color:#c8f7c5;
    text-decoration:none;
    margin-left:8px;
}

.article-categories a:after{
    content:"،";
    margin-right:5px;
}

.article-categories a:last-child:after{
    content:"";
}
.hero-title{
    position:relative;
    color:#fff;
    font-size: 30px !important;
    font-weight:700;
    padding-right:45px;
}

.hero-title:before{
    font-family:"FontAwesome";
    content:"\f053"; /* angle-left */
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    background:#ffc107;
    color:#000;
    width:35px;
    height:35px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
}
.entry-content h2{
	font-size: 23px !important;
	font-weight: 600;
}
.entry-content h3{
	font-size: 19px !important;
	font-weight: 600;
	color: #008080;
}
.entry-content h4{
	font-size: 17px !important;
	font-weight: 600;
	color: #056307;
}
.entry-content h5{
	font-size: 15px !important;
	font-weight: 600;
	color: #008100;
}
.entry-content{
	text-align: justify;
}
.entry-content p{
	color: rgb(97, 97, 97);
}
.entry-content a{
	padding: 3px;
	color: #005602;
	text-decoration: none;
	border-radius: 5px;
}
.entry-content a:visited{
	padding: 3px;
	background: #056307;
	color: #005602;
	text-decoration: none;
	border-radius: 5px;
}
.related-wrapper {
    margin: 40px auto;
    max-width: 100%; 
}

.related-section-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}
.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.related-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: 0.3s;
}

.related-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.related-info {
    flex: 1;
    padding-left: 15px;
    text-align: right;
}
.related-title{
	text-align: center;
	font-size: 20px !important;
	font-weight: 600;
	margin-bottom: 10px;
}
.related-post-title {
    font-size: 14px !important;
    color: #222;
    margin: 0 0 5px 0;
    line-height: 1.4;
    margin-right: 13px;
    font-weight: 600;
}

.related-cat {
    font-size: 12px;
    color: #888;
    margin-right: 13px;
}

/* تصویر سمت راست */
.related-thumb {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}
.nav-links{
	display: none !important;
}
.comments-area {
    margin-top: 40px;
    background: #004d26;
    padding: 20px;
    border-radius: 12px;
    color: #fff;
}
.comments-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #fff;
}
.dk-comment-box {
    list-style: none;
    background: #b4ffb4;
    margin-bottom: 25px;
    padding: 10px;
    border-radius: 20px 20px 0 20px;
    color: #000;
    position: relative;
    border-right: 5px solid #004d26;
}

.dk-comment-header {
    margin-bottom: 10px;
}

.dk-comment-date {
    font-size: 13px;
    color: #ffe;
    background: #003f1f;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
}

.dk-comment-author {
    font-weight: bold;
    font-size: 16px;
    color: #004d26;
}

.dk-comment-text {
    margin-top: 10px;
    line-height: 1.9;
}

.dk-comment-footer {
    margin-top: 15px;
}

.dk-comment-footer a {
    background: #004d26;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}

.dk-comment-footer a:hover {
    background: #007f3a;
}
.logged-in-as{
	display:none;
}
.comments-area {
    background: #004d26;
    margin-top: 40px;
    padding: 25px;
    border-radius: 15px;
    color: #fff;
}

.comments-title {
    font-size: 22px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.dk-comment-date {
    background: #003818;
    padding: 5px 12px;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
}

.dk-comment-author {
    color: #004d26;
    font-size: 16px;
}

.dk-comment-footer a {
    background: #004d26;
    padding: 6px 14px;
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px;
}

.dk-comment-footer a:hover {
    background: #007f3a;
}

.comment-textarea-wrap textarea {
    width: 100%;
    background: #e7ffe7;
    border-radius: 15px;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 15px;
}

.comment-input-wrap {
    display: inline-block;
    width: 48%;
}

.comment-input-wrap input {
    width: 100%;
    background: #ffffff;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    border: none;
    outline: none;
    margin-top: 5px;
}

.comment-textarea-wrap label,
.comment-input-wrap label {
    color: #fff;
}
.captcha-wrap {
    margin-top: 20px;
    color: #fff;
    font-size: 15px;
}

.captcha-question {
    font-weight: bold;
    margin-right: 10px;
}

.captcha-input {
    width: 80px;
    padding: 8px;
    border-radius: 10px;
    border: none;
    margin-top: 5px;
}
.dk-submit-btn {
    background: #ffbe45;
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.dk-submit-btn:hover {
    background: #f8a600;
}
input[type="submit"]{
	font-family: "IRANSansWebFaNum" !important;
}
#text-23 .widget-title{
	font-weight: 600;
}
.archive-wrapper {
    display: flex;
    gap: 30px;
}

.custom-sidebar {
    width: 260px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.sidebar-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.archive-posts {
    flex: 1;
}

.archive-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,.1);
}

.card-thumb img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.card-title {
    font-size: 18px;
    margin: 0 0 10px;
}
.card-cat {
    display: inline-block;
    padding: 3px 10px;
    background: #e8ffe8;
    border-radius: 20px;
    font-size: 12px;
    color: #008000;
}
.category-hero{
    background: linear-gradient(180deg, #11a63a 0%, #0a8f2d 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.category-hero h1{
    font-size: 25px !important;
}
.category-hero::after{
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 60px;
    background: #0a8f2d;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.category-hero{
    margin-bottom: 80px;
}
.custom-pagination{
    background:#e9ecef;
    padding:10px 15px;
    border-radius:14px;
    display:flex;
    justify-content:center;
    gap:10px;
}

.custom-pagination .page-numbers{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#dcdcdc;
    border-radius:8px;
    text-decoration:none;
    color:#333;
    font-weight:600;
    transition:all .2s ease;
}
.custom-pagination .page-numbers:hover{
    background:#cfcfcf;
}
.custom-pagination .current{
    background:#ffc107;
    color:#000;
    box-shadow:0 0 12px rgba(255,193,7,.7);
}
.archive-article{
    border-bottom: 1px dashed rgba(128, 128, 128, 0.404);
}
.archive-article a{
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
}
.single-cat-title{
    text-align: center;
    font-size: 18px;
    color: #000;
}
.round{
    border-radius: 15px;
}
.badge{
    color: #6a6a6aad !important;
    position: relative;
    top:10px;
}
.arti-titile{
    position: relative;
    bottom: 10px;
}
.arti-titile a{
    font-weight: 600;
    font-size: 15px;
}
.archive-img{
    padding: 15px;
}
.hi{
    border-radius: 5px;
}
.card-archive{
    border-radius: 10px;
}
.arti-titile::before{
    font-family: "FontAwesome";
    content: "\f0a8";
    font-size: 20px;
    color: #e7b804;
}
.category-description{
    line-height: 2;
    font-size: 15px;
}
.category-description .cat-desc-toggle{
    border-radius: 999px;
    padding: 4px 16px;
    font-size: 13px;
    line-height: 1.8;
    font-family: "IRANSansWebFaNum";
}
.entry-content h1{
    text-align: center;
    margin-top: 50px;
    color: #003818;
    font-weight: 600;
    font-size: 30px !important;
}
.contact-box{
    padding: 20px;
}
.contact-contact{
    text-align: center;
}
.contact-box{
    background: #008000;
    border-radius: 15px;
}
.contact-box p{
    color: #fff;
    font-size: 16px;
    line-height: 30px;
}
.contact-box h3{
    color: #fff !important;
    margin-bottom: 15px;
    font-size: 23px !important;
}
.contact-work{
    text-align: center;
}
.contact-address{
    text-align: center;
}
.contact-map{
    text-align:center;
    position: relative;
    bottom: 100px;
}
.about-top{
    background: url("/hagg/wp-content/uploads/2026/04/a.png");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px;
    margin-top: 30px;
}
.about-top h2{
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-size: 40px !important;
    padding-top: 10px;
}
.about-top p{
    color: #fff;
    font-size: 18px;
}
.fasle-yek{
    margin-top: 30px;
}
.fasle-yek h3{
    font-size: 33px !important;
    margin-bottom: 10px;
}
.fasle-yek p{
    text-align: justify;
    margin-bottom: 0 !important;
    color:#000000;
}
.fasle-do{
    margin-top: 30px;
    padding: 10px;
    background: #EDEDED;
    padding: 20px;
    border-radius: 10px;
}
.fasle-do h3{
    font-size: 33px !important;
    margin-bottom: 10px;
}
.fasle-do p{
    line-height: 35px;
}
.fasle-se{
    margin-top: 30px;
}
.fasle-se h3{
    font-size: 33px !important;
    margin-bottom: 10px;
    text-align: center;
}
.fasle-se h4{
    color: gray;
    font-size: 28px !important;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 100;
}
.fasle-se p{
    width: 80%;
    margin: auto;
}
.marja{
    margin-top: 30px;
    padding: 10px;
    background: #EDEDED;
    padding: 20px;
    border-radius: 10px;
}
.marja h3{
    font-size: 25px !important;
    color: #000;
}
.marja p{
    color: gray;
}
.eco{
    margin-top: 30px;
}
.eco h3{
    font-size: 33px !important;
    margin-bottom: 10px;
    text-align: center;
}
.lale h3{
    font-size: 33px !important;
    margin-bottom: 10px;
}
.lale strong{
    color: red;
    font-size: 18px;
}
.mojavez-rast{
    position: relative;
    top: 150px;
}
.mojavez-chap{
    position: relative;
    top: 150px;
}
.kalam-akhar{
    margin-top: 30px;
}
.kalam-akhar h3{
    font-size: 28px !important;
    margin-bottom: 10px;
}
.entry-title{
    background:green !important;
    border-radius:10px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 91px;
    font-weight: 600;
    font-size: 30px !important;
    color: #fff;
}
.post-thumbnail{
    text-align: center;
    margin-bottom:20px !important;
}

/*.entry-content img {*/
/*    max-width: 100% !important;*/
/*    height: auto;*/
/*    display: block;*/
/*    margin:auto;*/
/*}*/
.entry-content figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
}
.cat-side {
    position: -webkit-sticky;
    position: sticky;
    top: 70px; 
    align-self: flex-start;
}
.breadcrumb-item.active{
    color:#fff !important;
}
.error-404-page{
min-height:70vh;
display:flex;
align-items:center;
}

.error-404-page h1{
font-size:120px;
line-height:1;
}

.error-404-page img{
opacity:.9;
}

.error-404-page .btn{
padding:10px 22px;
font-weight:600;
border-radius:8px;
}


@media (max-width: 768px) {
    .entry-content table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
    font-size:13px;
    width:340px !important;
}
    .wp-caption img[class*="wp-image-"]{
        max-width:300px !important;
    }
    .hero-title{
        font-size:20px !important;
    }
    .box-content {
        display:none;
    }
    .wp-singular ul{
        display:none;
    }
    
    .entry-content table thead {
        display: table-header-group;
    }
    
    .entry-content table tbody {
        display: table-row-group;
    }
    
    .entry-content table tr {
        display: table-row;
    }
    
    .entry-content table th,
    .entry-content table td {
        display: table-cell;
    }
    .hero-title{
        font-size:20px;
    }
    .comments-area ol{
        margin-right:0;
        padding:0;
    }
}

.entry-content table tr {
    border-bottom: 1px solid #e5e5e5;
}
.entry-content{
    overflow: hidden;
}
.entry-content table th,
.entry-content table td {
    padding: 12px 15px;
    text-align: right;
    vertical-align: middle;
}
.entry-content table th {
    background: #1fae37;    
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #148528;
    white-space: nowrap;
}
.entry-content table tr:nth-child(even) {
    background: #f7fff9;
}
.entry-content table tr:hover {
    background: #e6ffec; 
    transition: 0.2s;
}
.entry-content table {
    border: 1px solid #d5ecd9;
    border-radius: 6px;
}
.entry-content table td {
    border-bottom: 1px solid #f0f0f0;
}
.entry-content table {
    -webkit-overflow-scrolling: touch;
}
.entry-content table caption {
    caption-side: top;
    text-align: right;
    padding: 12px 0;
    font-weight: bold;
    color: #148528;
}
#post-1251 .entry-title{
    display: none;
}
.error-404{
    margin-top:20px;
    margin-bottom:20px;
}
@media (max-width: 767px) {
    .head-res{
        padding:10px;
        background:#c4cdcd47;
        border-radius:10px;
        margin-top:20px;
    }
    .showcase-title .highlight {
        font-size:20px !important;
        line-height:30px;
    }
    .wiki-title{
        font-size:20px !important;
    }
    
    .entry-title {
        padding-top: 60px;
        padding-bottom: 60px;
        font-size: 16px !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    #text-29 p{
        text-align:center;
    }
    .app {
        height: 50px;
        width: 100%;
        margin-bottom: 10px;
        background-size: cover;
        background-position: center;
    }
    .copyright{
        text-align:center;
        padding-bottom:15px;
    }
    .head-res {
        
        box-shadow: 0 2px 8px rgb(0 0 0 / 38%);
    }
    .article-sidebar{
        display:none;
    }
    
}
#rmp-container-137335{
    background:#1c512d !important;
}
.mobile-bottom-nav {
    display: none;
}
@media (max-width: 768px) {
    .arti-titile {
        bottom:0;
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: #fff;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        border-radius: 18px 18px 0 0;
    }

    .mobile-bottom-nav .nav-item {
        flex: 1;
        text-align: center;
        color: #444;
        text-decoration: none;
        font-size: 12px;
        padding-top: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mobile-bottom-nav .nav-item::before {
        font-family: 'FontAwesome';
        font-size: 22px;
        margin-bottom: 3px;
        display: block;
    }

    .mobile-bottom-nav .nav-item span {
        font-size: 11px;
    }
    .nav-search::before {
        content: '\f002'; 
    }
    .nav-gallery::before {
        content: '\f073';
    }

    .nav-menu::before {
        content: '\f067';
    }
    .nav-profile::before {
        content: '\f007'; 
    }

    .mobile-bottom-nav .nav-center {
        background: #1e6d2f;
        width: 65px;
        height: 65px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -35px;
        color: #fff !important;
        box-shadow: 0 6px 18px rgba(30,109,47,0.4);
        flex: 0 0 auto;
    }

    .nav-center::before {
        content: '\f015'; 
        font-size: 28px;
        margin: 0;
        color: #fff;
    }

    .nav-center span {
        display: none;
    }

}
.hagg-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.hagg-modal-content {
    background: #fff;
    width: 85%;
    max-width: 320px;
    border-radius: 18px;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalUp 0.35s ease;
}

@keyframes modalUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hagg-icon {
    font-size: 42px;
    color: #1e6d2f;
    margin-bottom: 10px;
}
#rmp-container-137912{
    background:#008100 !important;
}
.hagg-modal-content h3 {
    margin: 10px 0;
    font-size: 20px;
}

.hagg-modal-content p {
    font-size: 14px;
    color: #666;
}
#searchModal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.hagg-modal-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    animation: modalUp 0.35s ease;
}

.hagg-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
/* --- استایل مودال هاگ پلاس (قبلی) --- */
.hagg-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.hagg-modal-content {
    background: #fff;
    width: 85%;
    max-width: 320px;
    border-radius: 18px;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalUp 0.35s ease;
    position: relative; /* اضافه شد برای موقعیت دهی دکمه بستن */
}

.hagg-close { /* استایل کلی دکمه بستن */
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}
.hagg-close:hover {
    color: #aaa;
}

#searchModal {
    display: none;
    position: fixed;
    z-index: 100000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 15px; 
}

#searchModal .hagg-modal-content{
    max-width: 400px;
    padding: 30px 25px;
}

.search-close { 
    top: 15px;
    left: 15px; 
    right: auto; 
    background: #eee;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    font-size: 20px;
    color: #333;
}
.search-close:hover {
    background: #ccc;
    color: #000;
}


.search-title {
    margin-bottom: 25px;
    color: #333;
    font-weight: bold;
    font-size: 20px;
}

.search-form-modern {
    display: flex;
    background: #f4f4f4;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    padding: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.search-form-modern:focus-within {
    border-color: #1e6d2f;
    box-shadow: 0 0 15px rgba(30,109,47,0.25);
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    outline: none;
    font-size: 15px;
    color: #333;
    direction: rtl;
}

.search-field::placeholder {
    color: #999;
}

.search-submit {
    background: #1e6d2f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 40px; 
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.search-submit:hover {
    background: #154d21;
    transform: scale(1.05);
}

.search-submit i {
    margin: 0; 
}

@keyframes modalUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .mobile-bottom-nav .nav-item.nav-search {
        color: #1e6d2f;
    }
    .mobile-bottom-nav .nav-item.nav-search span {
        font-weight: bold;
    }
    .mobile-bottom-nav .nav-center {
         margin-top: -35px;
    }
}


@keyframes modalUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hagg-close {
    position: absolute;
    top: 12px;
    left: 18px;
    font-size: 24px;
    cursor: pointer;
}
.hagg-modal-content input[type="search"]{
    border: 1px solid #cccccc00 !important;
}
.hagg-modal-content .search-submit {
    padding:0 9px !important;
    font-size:11px !important;
}
.search-results .card {
    border: 1px solid rgba(12, 161, 12, 0.1) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-results .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(12, 161, 12, 0.15) !important;
    border-color: #0ca10c !important;
}

.search-results .card-title a {
    color: #333;
    transition: color 0.2s;
}

.search-results .card:hover .card-title a {
    color: #0ca10c !important;
}

.search-results .btn-success {
    background-color: #0ca10c !important;
    border-color: #0ca10c !important;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px;
}
.rmp-container-137912{
    background:#1E6D2F !important;
}
.search-results .btn-success:hover {
    background-color: #067406 !important;
    border-color: #067406 !important;
    box-shadow: 0 4px 12px rgba(6, 116, 6, 0.3);
}

.search-results .card-footer {
    background: transparent;
    border-top: 1px dashed #eee;
}

.search-results .text-muted {
    color: #6c757d !important;
}

.search-results .page-title span {
    color: #0ca10c;
    border-bottom: 2px solid #0ca10c;
    padding-bottom: 2px;
}
.breadcrumb{
font-size:14px;
margin-bottom:15px;
color:#777;
}

.breadcrumb a{
color:#FFC107;
text-decoration:none;
}

.breadcrumb a:hover{
text-decoration:underline;
}

.breadcrumb .current{
color:#fff;
font-weight:600;
}

.breadcrumb .sep{
margin:0 5px;
color:#FFC107;
}
.lwptoc-light .lwptoc_i{
    background: #fafafa00 !important;
}
.lwptoc_item{
    padding-top:10px !important;
    padding-bottom:10px !important;
}
.lwptoc:first-child {
    margin-top: 0px !important;
}
@media (max-width: 768px) {
    .search-results .row {
        --bs-gutter-y: 1.5rem;
    }
    #wp-admin-bar-root-default{
        display:block !important;
    }
}
.cat-desc-wrapper.collapsed .cat-desc-content {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.cat-desc-wrapper.collapsed .cat-desc-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #f8f9fa);
}
.code-div code{
    direction:rtl !important;
}
