/*
Theme Name: Astra Child
Theme URI: http://example.com/astra-child
Description: قالب فرزند برای قالب آسترا
Author: Your Name
Author URI: http://example.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

a {
    text-decoration: none !important;
}

.site-header-section>div:last-child{
    width: 100%;
}
.site-header .ast-inline-search.ast-search-menu-icon .search-field{
    border: 1px solid #D4AF37 !important;
	font-family: 'iransans';
}
.ast-inline-search.ast-search-menu-icon .search-submit {
    top: 4px !important;
    color:#D4AF37 !important;
}

/* ── Comment Form ── */
.comments-area {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 24px;
  direction: rtl;
}

/* عنوان */
.comment-reply-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #D4AF37;
  display: inline-block;
}

/* فرم */
.comment-form {
  background: #f7f7f5;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px;
}

/* متن لاگین */
.logged-in-as {
  font-size: 13px;
  color: #777;
  margin-bottom: 20px;
}

.logged-in-as a {
  color: #D4AF37;
  text-decoration: none;
}

/* کپچا */
.comment-form-captcha {
  margin-bottom: 8px;
}

.comment-form-captcha label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.comment-form-captcha img {
  display: block;
  border-radius: 6px;
  margin: 8px 0;
  border: 1px solid #e0e0e0;
}

#captcha_code {
  width: 140px;
  padding: 9px 12px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  direction: ltr;
  text-align: center;
}

#captcha_code:focus {
  border-color: #D4AF37;
}

/* تکست‌ایریا */
.comment-form-textarea {
  margin-top: 16px;
}

#comment {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #111;
  resize: vertical;
  min-height: 130px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  direction: rtl;
}

#comment:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

#comment::placeholder {
  color: #bbb;
}

/* دکمه ارسال */
.form-submit {
  margin-top: 16px;
}

#submit {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#submit:hover {
  background: #D4AF37;
  color: #111;
}


/* استایل اصلی جدول */
.table_resp {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #D4AF37; /* رنگ طلایی برای حاشیه جدول */
    text-align: center;
	margin: 20px 0 !important;
}

/* استایل سلول‌ها */
.table_resp th, .table_resp td {
    padding: 12px;
    border: 1px solid #D4AF37; /* رنگ طلایی برای حاشیه سلول‌ها */
}

/* استایل عنوان ستون‌ها */
.table_resp th {
    background-color: #D4AF37; /* پس‌زمینه طلایی برای عنوان‌ها */
    color: #FFFFFF; /* متن سفید */
    font-weight: bold;
}

/* پس‌زمینه برای سلول‌های داده */
.table_resp td {
    background-color: #FFFFFF; /* پس‌زمینه سفید برای داده‌ها */
    color: #333333; /* رنگ متن تیره */
}

/* رنگ پس‌زمینه ردیف‌های زوج */
.table_resp tr:nth-child(even) {
    background-color: #F5F5F5; /* پس‌زمینه خاکستری کم‌رنگ */
}

/* ریسپانسیو سازی */
@media (max-width: 768px) {
    .table_resp {
        display: block;
        overflow-x: auto; /* فعال کردن اسکرول افقی */
        -webkit-overflow-scrolling: touch; /* روان‌سازی اسکرول در دستگاه‌های لمسی */
    }
    
    .table_resp th, .table_resp td {
        white-space: nowrap; /* جلوگیری از شکستن خطوط برای خوانایی بهتر */
        padding: 8px; /* کاهش حاشیه‌ها در موبایل */
        font-size: 14px;
    }
}

.faq-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-item {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #D4AF37;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* کانتینر اصلی FAQ */
#rank-math-faq {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* هر سوال */
#rank-math-faq .rank-math-list-item {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #D4AF37;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* عنوان سوال */
#rank-math-faq .rank-math-question {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.5;
}

/* متن پاسخ */
#rank-math-faq .rank-math-answer,
#rank-math-faq .rank-math-answer p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* حذف فاصله اضافی آخرین آیتم */
#rank-math-faq .rank-math-list-item:last-child {
    margin-bottom: 0;
}

/* ===================================
   Floating Contact Button
=================================== */

.floating-call-container{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:999999;
    direction:rtl;
}

/* دکمه اصلی */

#floating-call-btn{
    position:relative;

    width:90px;
    height:90px;

    border:none;
    border-radius:50%;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#111;

    background:linear-gradient(
        135deg,
        #d4af37 0%,
        #f5d76e 100%
    );

    box-shadow:
        0 10px 30px rgba(212,175,55,.35),
        0 0 0 8px rgba(212,175,55,.08);

    transition:.3s ease;
}

#floating-call-btn:hover{
    transform:translateY(-4px) scale(1.05);

    box-shadow:
        0 15px 40px rgba(212,175,55,.45),
        0 0 0 12px rgba(212,175,55,.10);
}

#floating-call-btn svg{
    position:relative;
    z-index:2;
}

/* افکت ضربان */

#floating-call-btn::before{
    content:"";
    position:absolute;

    width:100%;
    height:100%;

    border-radius:50%;

    background:rgba(212,175,55,.25);

    animation:floatingPulse 2s infinite;
}

@keyframes floatingPulse{

    0%{
        transform:scale(1);
        opacity:.7;
    }

    100%{
        transform:scale(1.8);
        opacity:0;
    }
}

/* باکس تماس */

#call-box{
    position:absolute;

    bottom:80px;
    right:0;

    width:280px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    border:1px solid #ececec;

    box-shadow:
        0 20px 60px rgba(0,0,0,.12);

    transform-origin:bottom right;

    animation:slideUp .25s ease;
}

.call-box-hidden{
    display:none;
}

@keyframes slideUp{

    from{
        opacity:0;
        transform:translateY(15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* هدر */

.call-box-header{

    background:linear-gradient(
        135deg,
        #111111,
        #34495e
    );

    color:#d4af37;

    text-align:center;

    font-size:14px;
    font-weight:700;

    padding:15px;
}

/* آیتم */

.call-item{

    display:flex;
    align-items:center;

    gap:12px;

    padding:15px;

    text-decoration:none;

    color:#111;

    transition:.25s ease;
}

.call-item:hover{
    background:#f7f8fa;
}

.call-item:not(:last-child){
    border-bottom:1px solid #efefef;
}

/* آیکون ها */

.call-icon{

    width:42px;
    height:42px;

    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;
}

.call-icon svg{
    display:block;
}

.call-icon-phone{
    background:#d4af37;
    color:#111;
}

.call-icon-telegram{
    background:#d7dde2;
    color:#34495e;
}

/* متن */

.call-info{
    display:flex;
    flex-direction:column;
}

.call-label{
    font-size:11px;
    color:#8b8b8b;
    margin-bottom:4px;
}

.call-value{
    font-size:14px;
    font-weight:700;
    color:#111;
}

/* موبایل */

@media(max-width:768px){

    .floating-call-container{
        right:15px;
        bottom:15px;
    }

    #floating-call-btn{
        width:55px;
        height:55px;
		padding: 0px !important;
    }

    #call-box{
        width:250px;
    }

    .call-item{
        padding:13px;
    }

    .call-value{
        font-size:13px;
    }
}

/* موبایل کوچک */

@media(max-width:480px){

    #call-box{
        width:230px;
    }

    .call-icon{
        width:38px;
        height:38px;
    }

    .call-label{
        font-size:10px;
    }

    .call-value{
        font-size:12px;
    }
}


/* ══ Courses Archive ══ */

.arn-courses-hero {
  background: #111;
  padding: 44px 32px 40px;
  position: relative;
  overflow: hidden;
}

.arn-courses-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 70%);
  pointer-events: none;
}

.arn-courses-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.arn-courses-tag {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  color: #E8CB6A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.arn-courses-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.arn-courses-h1 em { font-style: italic; color: #D4AF37; }

.arn-courses-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

/* WRAP */
.arn-courses-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* FILTER */
.arn-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #F0F0F0;
}

.arn-filter-btn {
  background: #F7F7F5;
  border: 1px solid #E0E0E0;
  color: #555;
  padding: 8px 18px;
  border-radius: 20px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.arn-filter-btn:hover { background: #eee; color: #111; }

.arn-filter-btn.active {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* GRID */
.arn-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* CARD - بهینه‌سازی شده برای حالت بدون عکس */
.arn-course-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-top: 3px solid #E8E8E8; /* ایجاد لبه همرنگ */
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.arn-course-card:hover {
  border-color: #D4AF37;
  border-top-color: #D4AF37;
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(212,175,55,0.1);
}

/* BODY - فضای منعطف و خوانایی بالا */
.arn-course-body {
  padding: 24px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* بخش متا دسته‌بندی و تخفیف بالای کارت */
.arn-course-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.arn-course-badge {
  background: rgba(212,175,55,0.1);
  color: #ba9624;
  border: 1px solid rgba(212,175,55,0.25);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.arn-discount-badge {
  background: #D4AF37;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.arn-course-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.arn-course-title a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.arn-course-title a:hover {
  color: #D4AF37;
}

.arn-course-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.arn-cmeta {
  font-size: 11px;
  color: #777;
  background: #F7F7F5;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid #EEE;
}

.arn-course-teacher {
  font-size: 13px;
  color: #666;
  border-top: 1px dashed #F0F0F0;
  padding-top: 10px;
}

.arn-teacher-name-link {
  color: #111;
  font-weight: 600;
}

.arn-teacher-label { color: #aaa; font-size: 11px; }

/* FOOTER */
.arn-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid #F0F0F0;
}

.arn-price-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arn-price-old {
  font-size: 12px;
  color: #bbb;
  text-decoration: line-through;
}

.arn-price-new {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.arn-no-price {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
}

.arn-btn-course {
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}

.arn-course-card:hover .arn-btn-course {
  background: #D4AF37;
  color: #111;
}

.arn-no-course {
  text-align: center;
  padding: 48px;
  color: #aaa;
  font-size: 14px;
  grid-column: 1 / -1;
}

/* TEACHERS */
.arn-teachers-section {
  border-top: 2px solid #F0F0F0;
  padding-top: 40px;
}

.arn-teachers-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E8E8E8;
}

.arn-teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.arn-teacher-card {
  background: #F7F7F5;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 20px 14px;
  text-decoration: none;
  color: #111;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color .2s, transform .2s;
}

.arn-teacher-card:hover {
  border-color: #D4AF37;
  transform: translateY(-2px);
}

.arn-teacher-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #E8E8E8;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
  flex-shrink: 0;
}

.arn-teacher-card:hover .arn-teacher-avatar { border-color: #D4AF37; }

.arn-teacher-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.arn-teacher-initials {
  font-size: 20px;
  font-weight: 700;
  color: #bbb;
}

.arn-teacher-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.arn-teacher-role {
  font-size: 11px;
  color: #D4AF37;
  font-weight: 600;
}

.arn-teacher-city {
  font-size: 11px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .arn-courses-grid    { grid-template-columns: 1fr 1fr; }
  .arn-teachers-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .arn-courses-grid    { grid-template-columns: 1fr; }
  .arn-courses-wrap    { padding: 20px 16px 48px; }
  .arn-courses-h1      { font-size: 26px; }
}


/* ══ Course Categories Section ══ */

.arn-cat-section {
  border-top: 2px solid #F0F0F0;
  padding-top: 50px;
  margin-top: 50px;
}

.arn-cat-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  text-align: center;
}

.arn-cat-section-desc {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-bottom: 32px;
}

/* GRID */
.arn-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ITEM CARD */
.arn-cat-item {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 16px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
}

.arn-cat-item:hover {
  border-color: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.06);
}

/* ICON */
.arn-cat-icon {
  width: 40px;
  height: 40px;
  background: #F7F7F5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .25s, color .25s;
  flex-shrink: 0;
}

.arn-cat-item:hover .arn-cat-icon {
  background: rgba(212,175,55,0.1);
  color: #D4AF37;
}

/* INFO */
.arn-cat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.arn-cat-name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  transition: color .25s;
}

.arn-cat-item:hover .arn-cat-name {
  color: #D4AF37;
}

.arn-cat-count {
  font-size: 11px;
  color: #aaa;
}

/* ARROW */
.arn-cat-arrow {
  font-size: 16px;
  color: #ccc;
  transition: transform .25s, color .25s;
}

.arn-cat-item:hover .arn-cat-arrow {
  color: #D4AF37;
  transform: translateX(-4px); /* حرکت جزیی فلش به سمت چپ در حالت هاور برای زبان فارسی */
}

.arn-no-cat {
  text-align: center;
  padding: 24px;
  color: #bbb;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .arn-cat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .arn-cat-grid { grid-template-columns: 1fr; }
  .arn-cat-section-title { font-size: 19px; }
}


/*صفحه دسته بندی دوره ها*/
/* ══ Archive Courses Modern Style ══ */

/* HERO & BREADCRUMB */
.arc-hero {
  background: #111;
  padding: 44px 32px 40px;
  position: relative;
  overflow: hidden;
}

.arc-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 70%);
  pointer-events: none;
}

.arc-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.arc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.arc-breadcrumb a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color .2s;
}

.arc-breadcrumb a:hover { color: #D4AF37; }
.arc-bc-current { color: rgba(255,255,255,0.55); }

.arc-hero-tag {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  color: #E8CB6A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.arc-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.arc-hero-h1 em { font-style: italic; color: #D4AF37; }

.arc-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 24px;
}

.arc-hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.arc-hstat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.arc-hstat strong { color: #fff; font-weight: 700; }
.arc-hstat-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #D4AF37;
  flex-shrink: 0;
}

/* MAIN CONTAINER WRAP */
.arc-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

/* SECTION HEAD */
.arc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E8E8E8;
}

.arc-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.arc-section-count {
  font-size: 12px;
  color: #999;
  background: #F7F7F5;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid #E8E8E8;
}

/* LINEAR ROW CARDS CONTAINER */
.arc-courses-row-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

/* THE LINEAR CARD STRUCT */
.arc-course-row-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-right: 4px solid #E8E8E8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 20px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.arc-course-row-card:hover {
  border-color: #D4AF37;
  border-right-color: #D4AF37;
  transform: translateX(-4px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.07);
}

.arc-row-thumb-side {
  width: 180px;
  height: 115px;
  background: #1a1410;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.arc-row-thumb-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arc-row-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}

.arc-row-badge-discount {
  position: absolute;
  top: 8px; right: 8px;
  background: #D4AF37;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.arc-row-content-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arc-row-card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.arc-row-card-title a {
  color: #111;
  text-decoration: none;
  transition: color .2s;
}

.arc-row-card-title a:hover { color: #D4AF37; }

.arc-row-card-excerpt {
  font-size: 12px;
  color: #777;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arc-row-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.arc-row-cmeta {
  font-size: 11px;
  color: #888;
  background: #F7F7F5;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #EEE;
}

.arc-row-teacher-name { color: #111; font-weight: 600; }

.arc-row-action-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 150px;
  flex-shrink: 0;
  border-right: 1px solid #F0F0F0;
  padding-right: 20px;
}

.arc-row-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.arc-row-old-price {
  font-size: 11px;
  color: #bbb;
  text-decoration: line-through;
}

.arc-row-new-price { font-size: 16px; font-weight: 700; color: #111; }
.arc-row-new-price small { font-size: 11px; color: #666; font-weight: normal; }
.arc-row-no-price-label { font-size: 12px; color: #aaa; font-style: italic; }

.arc-row-action-btn {
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background .2s, color .2s;
  width: 100%;
}

.arc-course-row-card:hover .arc-row-action-btn { background: #D4AF37; color: #111; }
.arc-empty { text-align: center; padding: 48px; color: #aaa; font-size: 14px; }

/* TEACHERS GRID */
.arc-teachers-section { margin-bottom: 40px; }
.arc-teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.arc-teacher-card {
  background: #F7F7F5;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 20px 14px;
  text-decoration: none;
  color: #111;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color .2s, transform .2s;
}

.arc-teacher-card:hover { border-color: #D4AF37; transform: translateY(-2px); }
.arc-teacher-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #E8E8E8;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.arc-teacher-card:hover .arc-teacher-avatar { border-color: #D4AF37; }
.arc-teacher-avatar img { width:100%; height:100%; object-fit:cover; }
.arc-teacher-initials { font-size: 20px; font-weight: 700; color: #bbb; }
.arc-teacher-name { font-size: 13px; font-weight: 700; color: #111; }
.arc-teacher-role { font-size: 11px; color: #D4AF37; font-weight: 600; }
.arc-teacher-city { font-size: 11px; color: #aaa; }

/* SERVICES GRID STYLES */
.arc-services-section {
  margin-bottom: 44px;
}

.arc-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.arc-service-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.arc-service-card:hover {
  border-color: #D4AF37;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.08);
}

.arc-service-thumb-link {
  display: block;
  width: 100%;
}

.arc-service-thumb {
  height: 125px;
  background: #111;
  overflow: hidden;
  position: relative;
}

.arc-service-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.arc-service-card:hover .arc-service-thumb img {
  transform: scale(1.06);
}

.arc-service-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #D4AF37;
}

.arc-service-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  text-align: center;
}

.arc-service-card-title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.arc-service-card-title a {
  color: #111;
  text-decoration: none;
  transition: color .2s;
}

.arc-service-card:hover .arc-service-card-title a,
.arc-service-card-title a:hover {
  color: #C9A227;
}

.arc-service-footer-border {
  height: 2px;
  background: transparent;
  width: 100%;
  transition: background .2s;
}
.arc-service-card:hover .arc-service-footer-border {
  background: #D4AF37;
}

/* OTHER RELEVANT STYLES */
.arc-related-section { margin-bottom: 32px; }
.arc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.arc-related-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 18px 14px;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.arc-related-card:hover { border-color: #D4AF37; transform: translateY(-2px); }
.arc-related-icon { font-size: 24px; }
.arc-related-name { font-size: 13px; font-weight: 700; }
.arc-related-count { font-size: 11px; color: #aaa; }

/* SEO BOX */
.arc-seo-box {
  background: #F7F7F5;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #666;
  line-height: 1.9;
}

.arc-seo-box h2 { font-size: 17px; font-weight: 700; color: #111; margin-top: 0; margin-bottom: 12px; }

/* JOIN BOX */
.arc-join-box {
  background: #111;
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.arc-join-box::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 70%);
  pointer-events: none;
}

.arc-join-text { position: relative; z-index: 1; }
.arc-join-label { font-size: 10px; font-weight: 700; color: #D4AF37; margin-bottom: 6px; }
.arc-join-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.arc-join-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; }

.arc-btn-join {
  background: #D4AF37;
  color: #111;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.arc-btn-join:hover { background: #E8CB6A; transform: translateY(-1px); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .arc-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .arc-teachers-grid, .arc-related-grid { grid-template-columns: repeat(2, 1fr); }
  .arc-course-row-card { gap: 16px; padding: 14px; }
  .arc-row-thumb-side { width: 140px; height: 100px; }
}

@media (max-width: 680px) {
  .arc-course-row-card { flex-direction: column; align-items: stretch; gap: 14px; }
  .arc-row-thumb-side { width: 100%; height: 160px; }
  .arc-row-action-side {
    border-right: none;
    border-top: 1px dashed #E8E8E8;
    padding-right: 0;
    padding-top: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .arc-row-price-block { align-items: flex-start; }
  .arc-row-action-btn { width: auto; }
  .arc-join-box { flex-direction: column; text-align: center; padding: 28px 20px; }
  .arc-btn-join { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .arc-services-grid { grid-template-columns: 1fr; }
}

/*پویا سازی صفحه تک دوره*/
/* ══ Single Course Style Sheet ══ */

.course-single-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px 64px;
    font-family: inherit;
}

/* INTRO HERO AREA */
.course-arin-intro {
    background: #111;
    padding: 44px 32px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.course-arin-intro::before {
    content: '';
    position: absolute;
    top: -50px; left: -50px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(212,175,55,0.07), transparent 70%);
    pointer-events: none;
}

.course-arin-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.4;
}

.course-arin-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.course-arin-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 12px 16px;
    border-radius: 8px;
}

.course-arin-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin: 0 0 6px 0;
}

.course-arin-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.course-arin-old-price {
    text-decoration: line-through;
    color: rgba(255,255,255,0.3) !important;
    font-size: 13px;
}

.course-arin-new-price {
    color: #D4AF37 !important;
    font-size: 16px;
}
.course-arin-new-price small { font-size: 11px; color: #fff; font-weight: normal; }

.course-arin-discount { color: #E8CB6A !important; font-size: 12px; }
.course-arin-no-discount { color: #888 !important; font-size: 12px; }

.course-arin-certificate {
    grid-column: 1 / -1;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    color: #E8CB6A;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* TEACHER BIO SECTION */
.course-arin-desc-box {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.course-arin-desc-wrapper {
    display: flex;
    gap: 24px;
    align-items: center;
}

.course-arin-desc-image, .course-arin-desc-image-placeholder {
    width: 110px; height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F0F0F0;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #F7F7F5; font-size: 40px;
}

.course-arin-desc-image img { width: 100%; height: 100%; object-fit: cover; }
.course-arin-desc-text { flex: 1; font-size: 13.5px; color: #555; line-height: 1.8; }
.course-arin-bio-title { font-size: 16px; font-weight: 700; color: #111; margin-top: 0; margin-bottom: 8px; }

/* CONTACT TEACHER NEW BOX (جایگزین فانتزی گرویتی فرم) */
.course-arin-contact-teacher {
    margin-bottom: 32px;
}

.cat-contact-box {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-right: 4px solid #D4AF37;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cat-contact-info { flex: 1; }
.cat-contact-badge {
    display: inline-block;
    background: rgba(212,175,55,0.1);
    color: #C9A227; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
}
.cat-contact-title { font-size: 17px; font-weight: 700; color: #111; margin: 0 0 8px 0; }
.cat-contact-desc { font-size: 13px; color: #666; line-height: 1.8; margin: 0; }

.cat-contact-actions {
    display: flex; flex-direction: column; gap: 12px; min-width: 280px;
}
.cat-btn-call {
    background: #111; color: #fff; text-decoration: none;
    padding: 12px; border-radius: 8px; display: flex;
    flex-direction: column; align-items: center; justify-content: center;
    transition: background .2s, transform .2s; text-align: center;
}
.cat-btn-call:hover { background: #D4AF37; color: #111; transform: translateY(-2px); }
.cat-btn-call span { font-size: 11px; opacity: 0.8; }
.cat-btn-call strong { font-size: 16px; font-weight: 700; margin-top: 2px; }

.cat-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat-btn-whatsapp, .cat-btn-telegram {
    padding: 10px; border-radius: 6px; font-size: 11px; font-weight: 700;
    text-decoration: none; text-align: center; transition: opacity .2s;
}
.cat-btn-whatsapp { background: #25D366; color: #fff; }
.cat-btn-telegram { background: #229ED9; color: #fff; }
.cat-btn-whatsapp:hover, .cat-btn-telegram:hover { opacity: 0.9; }

/* VIDEO INTRO SECTION */
.course-arin-video-section {
    background: #F7F7F5; border: 1px solid #E8E8E8;
    border-radius: 12px; padding: 24px; margin-bottom: 32px;
    display: flex; flex-direction: column; gap: 16px;
}
.course-arin-video-content h2 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 6px 0; }
.course-arin-video-content p { font-size: 13px; color: #666; margin: 0; line-height: 1.7; }
.course-arin-video-wrapper {
    width: 100%; border-radius: 8px; overflow: hidden; background: #000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05); aspect-ratio: 16/9;
}
.course-arin-video-wrapper iframe, 
.course-arin-video-wrapper video { width: 100%; height: 100%; border: none; display: block; }

/* FEATURES GRID CONTAINER */
.course-arin-feature-container {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px;
}
.course-arin-feature-box {
    background: #fff; border: 1px solid #E8E8E8; padding: 20px 16px;
    border-radius: 10px; text-align: center; transition: border-color .2s;
}
.course-arin-feature-box:hover { border-color: #D4AF37; }
.course-arin-feature-icon-wrap {
    width: 44px; height: 44px; background: #F7F7F5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.course-arin-feature-icon { color: #D4AF37; font-size: 18px; }
.course-arin-feature-box h3 { font-size: 14px; font-weight: 700; color: #111; margin: 0 0 6px 0; }
.course-arin-feature-box p { font-size: 12px; color: #777; margin: 0; line-height: 1.6; }

/* FLEXIBLE SECTIONS & BOXES */
.course-box { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.course-section { background: #fff; border: 1px solid #E8E8E8; border-radius: 10px; padding: 20px; }
.course-section h3 { font-size: 15px; font-weight: 700; color: #111; margin: 0 0 12px 0; display: flex; align-items: center; gap: 8px; }
.course-section h3 i { color: #D4AF37; }
.course-section-body { font-size: 13.5px; color: #555; line-height: 1.8; }

/* SYLLABUS TABLES STRUCT */
.course-chapters-section { margin-bottom: 32px; }
.table-section-title { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 14px; }
.table-container-resp { width: 100%; overflow-x: auto; border: 1px solid #E8E8E8; border-radius: 10px; }
.table_resp { width: 100%; border-collapse: collapse; background: #fff; text-align: right; font-size: 13px; }
.table_resp th { background: #F7F7F5; color: #111; font-weight: 700; padding: 12px 16px; border-bottom: 1px solid #E8E8E8; }
.table_resp td { padding: 14px 16px; border-bottom: 1px solid #E8E8E8; color: #555; line-height: 1.7; }
.table_resp tr:last-child td { border-bottom: none; }
.syl-number { color: #D4AF37; font-weight: 700; margin-left: 4px; }

/* METHOD STRUCTURE FORMAT */
.course-format { margin-bottom: 32px; }
.course-format h2 { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 16px; }
.course-format-content { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.course-method-card { background: #fff; border: 1px solid #E8E8E8; padding: 18px; border-radius: 10px; }
.course-method-card .section-title { font-size: 14px; font-weight: 700; color: #111; margin: 0 0 6px 0; }
.course-method-card .section-description { font-size: 12.5px; color: #666; margin: 0; line-height: 1.7; }

/* PRICING BLOCK SECTION */
.pricing-package {
    background: #fff; border: 1px solid #E8E8E8; border-radius: 12px; padding: 28px; margin-bottom: 32px;
}
.pricing-title { font-size: 17px; font-weight: 700; color: #111; margin-top: 0; margin-bottom: 20px; text-align: center; }
.price-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.price-item {
    background: #F7F7F5; border: 1px solid #E8E8E8; border-radius: 8px; padding: 16px;
    display: flex; align-items: center; gap: 10px;
}
.price-icon { color: #D4AF37; font-size: 18px; }
.price-label { font-size: 13px; color: #666; }
.price-value { font-size: 16px; font-weight: 700; color: #111; margin-right: auto; }

.price-details-description h3, .payment-options h3, .money-back-guarantee h3 {
    font-size: 14px; font-weight: 700; color: #111; margin: 0 0 8px 0;
}
.price-details-description p, .money-back-guarantee p { font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.pricing-section-content { background: #FAFAFA; padding: 16px; border-radius: 8px; margin-bottom: 20px; font-size: 13px; color: #555; line-height: 1.8; }
.pricing-section-content ul { margin: 8px 18px 0 0; padding: 0; }
.pricing-section-content li { margin-bottom: 6px; }
.premium-notice { color: #111; font-weight: 600; margin-top: 10px !important; }

.payment-options { border-top: 1px dashed #E8E8E8; padding-top: 20px; margin-bottom: 20px; }
.payment-options ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 8px 0 0 0; font-size: 12.5px; color: #444; }
.payment-options li i { color: #25D366; margin-left: 4px; }

.money-back-guarantee { background: rgba(37,211,102,0.04); border: 1px solid rgba(37,211,102,0.15); padding: 16px; border-radius: 8px; }
.money-back-guarantee h3 { color: #1E7E34; }
.money-back-guarantee p { color: #2E6930; margin: 0; }

/* FINAL DETAILED CONTENT */
.course-arin-desc-takmili-box {
    background: #fff; border: 1px solid #E8E8E8; border-radius: 12px; padding: 32px; font-size: 14px; color: #444; line-height: 1.9;
}
.course-arin-content-inner p { margin-bottom: 16px; }
.course-arin-content-inner h2, .course-arin-content-inner h3 { color: #111; font-weight: 700; margin-top: 24px; margin-bottom: 12px; }

/* RESPONSIVE SUB MODULE */
@media (max-width: 860px) {
    .cat-contact-box { flex-direction: column; align-items: stretch; text-align: center; }
    .cat-contact-actions { min-width: 100%; }
    .course-arin-feature-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .course-arin-desc-wrapper { flex-direction: column; text-align: center; }
    .course-arin-feature-container { grid-template-columns: 1fr; }
    .course-format-content, .price-details { grid-template-columns: 1fr; }
    .payment-options ul { flex-direction: column; gap: 8px; }
    .course-arin-intro { padding: 28px 20px; }
}