/*!
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Description: A plain-vanilla & lightweight theme for Elementor page builder
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor
*/

.latest-posts-grid .e-loop-item {
	border-bottom: 1px solid #ccc;
}

.latest-posts-grid .e-loop-item:first-of-type {
	border-top: 1px solid #ccc;
}

.latest-posts-grid-sidebar .e-loop-item {
	border-bottom: 1px solid #ccc;
}

.latest-posts-grid-sidebar .e-loop-item:last-child {
	border-bottom: none !important;
}

.elementor-widget-sidebar .widget {
	margin-bottom: 24px;
}

.elementor-widget-sidebar .widget:last-child {
	margin-bottom: 0;
}


/* =========================
   WordPress Comments Style
   ========================= */

#comments {
    margin-top: 0;
}

.title-comments {
	font-size: 1.2em;
	margin: 0;
	margin-bottom: 12px;
	font-weight: 600;
}

.comments-title,
.comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-right: 15px;
}

.comments-title:before,
.comment-reply-title:before {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    width: 4px;
    height: 28px;
    background: #ff3b30;
    border-radius: 20px;
}

/* فرم دیدگاه */

.comment-respond {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    transition: .25s;
    background: #fafafa;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #ff3b30;
    box-shadow: 0 0 0 4px rgba(255,59,48,.08);
    outline: none;
    background: #fff;
}

.comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

/* دکمه ارسال */

.comment-form .submit {
    background: #ff3b30;
    color: #fff;
    border: 0;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: .25s;
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,59,48,.25);
}

/* لیست دیدگاه ها */

.comment-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.comment-body {
    background: #fff;
    border-radius: 18px;
    padding: 12px !important;
    margin-bottom: 18px;
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

/* آواتار */

.comment-author img {
    border-radius: 50%;
}

/* نام نویسنده */

.comment-author .fn {
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

/* تاریخ */

#comments .comment-meta {
    margin: 0 !important;
	margin-block-end: none;
    font-size: 13px;
}

.comment-metadata a {
    color: #888;
    text-decoration: none;
}

/* متن دیدگاه */

.comment-content {
    margin-top: 0 !important;
    line-height: 2;
    color: #444;
}

/* دکمه پاسخ */

.reply a {
    display: inline-block;
    margin-top: 10px;
    color: #ff3b30;
    font-weight: 600;
    text-decoration: none;
}

/* دیدگاه های تو در تو */

.children {
    margin: 0 !important;
    padding-right: 30px;
}

.children .comment-body {
    border-right: 3px solid #ff3b30;
}


.pld-like-dislike-wrap {
	margin: 0;
}

.cbxwpbkmarktrig .cbxwpbkmarktrig-icon {
	width: 16px;
	height: 16px;
}

.cbxwpbkmarktrig .cbxwpbkmarktrig-button-addto {
	margin: 0;
}

.ld-ext-left>.ld {
	position: absolute;
	left: 8px;
}

.ld-ring:after {
	position: absolute;
	left: 0;
	top: 0;	
}

.simple-share-wrap{
    position:relative;
    display:inline-block;
}

.simple-share-btn,
.simple-bookmark-btn{
    border:none;
    background:#111827;
    color:#fff;
    padding:10px 16px;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}

.simple-share-btn:hover,
.simple-bookmark-btn:hover{
    transform:translateY(-2px);
}

.simple-share-popup{
    position:absolute;
    top:110%;
    right:0;
    min-width:150px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    padding:8px;
    display:none;
    z-index:999;
}

.simple-share-wrap.active .simple-share-popup{
    display:block;
}

.simple-share-popup a{
    display:block;
    padding:8px 10px;
    text-decoration:none;
    color:#333;
    border-radius:8px;
}

.simple-share-popup a:hover{
    background:#f5f5f5;
}


.accordion-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.accordion-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.accordion-nav > li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.accordion-nav .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
.accordion-nav .sub-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.accordion-nav .sub-menu li a {
	padding-right: 30px;	
}
.accordion-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-weight: normal;
	font-family: 'iransans', sans-serif;
}
/* SVG icon styling */
.accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 32px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.accordion-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.25s ease;
}
/* Rotate icon when parent is open */
.accordion-nav .menu-item-has-children.open .accordion-icon svg {
    transform: rotate(180deg);
}
.accordion-nav a:hover {
    background: #ffe4da;
	color: var( --e-global-color-primary );
}
/* Hide on desktop (optional) */
@media (min-width: 769px) {
    .custom-accordion-menu {
        display: none;
    }
}

h1, h2, h3, h4, h5, h6, [id] {
    scroll-margin-top: 72px;
}

.my-account-edit .field.avatar-field {
	display: flex;
	flex: row;
	align-items: center;
}
body.dark-mode {
	background-color: #1a1a1a;
	color: #e0e0e0;
}

body.dark-mode .auragame-navbar a {
	color: #e0e0e0 !important;
}

body.dark-mode .auragame-navbar svg,
body.dark-mode .auragame-navbar .elementor-widget-theme-site-logo{
	filter: invert(1) !important;
}

body.dark-mode a {
	color: #90caf9;
}

body.dark-mode .auragame-navbar,
body.dark-mode .auragame-navbar .sub-menu {
	background-color: #1a1a1a !important;
}
body.dark-mode .auragame-navbar .sub-menu  a:hover {
	background-color: #272727 !important;
	color: #FF692E !important
}

body.dark-mode .elementor-section,
body.dark-mode .elementor-widget,
body.dark-mode .elementor-widget-wrap,
body.dark-mode .elementor-container {
	background-color: transparent !important; 
}

/* نمونه: می‌توانید رنگ‌های خاص المنتور را هم تغییر دهید */
body.dark-mode .elementor-heading-title {
	color: #ffffff !important;
}

/* استایل نشانگر ماوس برای دکمه دارک مود */
#dark-mode-toggle {
	cursor: pointer;
}
body.dark-mode .elementor-widget-n-tabs .e-n-tab-title {
	background-color: #494949 !important;
	border-color: #494949 !important;
	color: #fff !important;
}

body.dark-mode .elementor-widget-n-tabs > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"] {
	background-color: var( --e-global-color-primary ) !important;
	border-color: var( --e-global-color-primary ) !important;
	color: #fff !important;
}

body.dark-mode .elementor-widget-post-info span {
	color: #c1c1c1 !important;
}

body.dark-mode .latest-posts-grid .e-loop-item {
	border-bottom: 1px solid #494949;
}

body.dark-mode .latest-posts-grid .e-loop-item:first-of-type {
	border-top: 1px solid #494949;
}

body.dark-mode .latest-posts-grid-sidebar .e-loop-item {
	border-bottom: 1px solid #494949;
}
