/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #777;
    font-family: vazir;
}
.star-rating span:before {
    color: #f39c12;
}
.banner h1
 {
  font-size: 1.8rem !important;  /* یا هر اندازه‌ای که با طراحی قبلی هماهنگ شود */
    line-height: 1.3;
}


/* برای موبایل */
@media (max-width: 549px) {
	.banner h1{
        font-size: 1.2rem !important;
    }
}
/* استایل برای تگ blockquote (نقل‌قول پاراگرافی) */
blockquote {
  position: relative; /* برای کنترل before */
  border-right: 5px solid #a50034;
  background-color: #f9f9f9;
  color: #333;
  font-style: italic;
  padding: 1rem 1.5rem 1rem 2.5rem; /* فضای اضافه برای آیکون */
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.7;
  border-radius: 6px;
}

blockquote::before {
  content: "“";
  font-size: 2.5rem;
  color: #a50034;
  position: absolute;
  left: 10px;
  top: 5px;
  font-family: Georgia, serif;
}
.wp-block-quote cite {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #a50034;
  font-weight: bold;
  text-align: right;
}

/* استایل برای تگ q (نقل‌قول درون‌خطی) */
q {
  quotes: "“" "”";
  color: #cc0000;
  font-style: italic;
  font-weight: bold;
}

.style-tip {
  background-color: #fff5f7;
  border: 1px solid #a50034;
  padding: 1rem;
  border-radius: 8px;
  color: #222;
  margin: 1.5rem 0;
  position: relative;
  font-size: 0.95rem;
}
.style-tip::before {
  content: "💡";
  color: #cc0000;
  font-weight: bold;
  position: absolute;
  top: -18px;
  right: 10px;
  background: transparent;
  padding: 0 0.5rem;
  font-size: 26px;
}
/* هشدار - زرد روشن */
.style-warning {
  background-color: #fffbea;
  border-color: #ff9800;
}

/* یادداشت یا نکته خنثی */
.style-note {
  background-color: #f3f4f6;
  border-color: #999;
}

/* موفقیت - سبز */
.style-success {
  background-color: #ecfdf5;
  border-color: #10b981;
}
.yoast-table-of-contents {
  background: #fff8fa;
  border: 1px solid #e0cbd0;
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  font-family: iranyekan, tahoma, sans-serif;
  box-shadow: 0 3px 8px rgba(165, 0, 52, 0.07);
  margin-bottom: 2rem;
  position: relative;
}

.yoast-table-of-contents::before {
  content: "📚 فهرست مطالب";
  font-weight: bold;
  font-size: 1.2rem;
  color: #A50034;
  display: block;
  margin-bottom: 1rem;
  border-bottom: 2px dashed #A50034;
  padding-bottom: 0.5rem;
}

.yoast-table-of-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yoast-table-of-contents li {
  margin-bottom: 0.5rem;
}

.yoast-table-of-contents li a {
  color: #A50034;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  padding-right: 0.5rem;
  position: relative;
}

.yoast-table-of-contents li a::before {
  content: "➤";
  font-size: 0.9rem;
  color: #A50034;
  margin-left: 0.5rem;
}

.yoast-table-of-contents li a:hover {
  color: #7c0029;
  text-decoration: underline;
}

.yoast-table-of-contents ul ul {
  margin-top: 0.3rem;
  margin-right: 1rem;
  border-right: 2px dotted #e7b5c2;
  padding-right: 0.7rem;
}
.entry-author.author-box {
  background: #fdfdfd;
  border: 1px solid #eaeaea;
  border-right: 5px solid #a50034; /* رنگ برند LG */
  padding: 20px;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 20px;
}

.entry-author .blog-author-image img {
  border-radius: 50%;
  border: 2px solid #a50034;
  width: 90px;
  height: 90px;
}

.entry-author .author-name {
  font-size: 18px;
  font-weight: bold;
  color: #a50034;
  margin-bottom: 8px;
  text-transform: none;
}

.entry-author .author-desc {
  font-size: 14.5px;
  color: #444;
  line-height: 1.8;
  text-align: justify;
}
div#comments {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.children {
  margin-left: 1px;
  border-left: 2px solid #e0e0e0;
  padding-left: 5px;
}
.comment .children .comment {
  background-color: #f7f7f7;
  padding: 10px;
  border-radius: 5px;
}
.comment-meta time {
  display: none;
}
.custom-author-box {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  padding: 15px;
  border-radius: 8px;
  margin-top: 30px;
  border: 1px solid #ddd;
}

.author-avatar img {
  border-radius: 50%;
  margin-left: 15px;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

.author-bio {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.footer-primary ul.links li a {color: #f1f1f1;}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}