/*
 Theme Name:   Xtra Child
 Theme URI:    https://easygaam.com
 Description:  چایلد تم اختصاصی قالب اکسترا
 Template:     xtra
 Version:      1.0.0
*/
/* کانتینر اصلی */
.eg-grid-container {
    display: grid;
    gap: 20px; 
    direction: rtl;
    padding: 30px 15px;
    grid-template-columns: repeat(2, 1fr); 
}
.eg-glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(203, 168, 107, 0.25);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* انیمیشن فنری */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* سایه نرم اولیه */
    position: relative;
    overflow: hidden;
}

/* افکت هاور باکس‌ها */
.eg-glass-box:hover {
    transform: translateY(-10px); /* حرکت به بالا */
    border-color: #CBA86B;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(203, 168, 107, 0.15); /* سایه طلایی ملایم هنگام هاور */
}

.eg-box-title {
    font-size: 13px;
    color: #6a6a6a;
    margin-bottom: 8px;
    font-weight: 400;
}

.eg-box-value {
    font-size: 17px;
    color: #2c2c2c;
    font-weight: 800;
}

/* استایل دکمه کال تو اکشن (مشاوره) */
.eg-cta-button {
    grid-column: span 2; /* تمام عرض در موبایل */
    background: #CBA86B;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none !important;
    transition: all 0.4s ease;
    box-shadow: 0 12px 30px rgba(203, 168, 107, 0.4); /* سایه قوی برای دکمه */
}

.eg-cta-button:hover {
    background: #b3925a;
    transform: translateY(-8px) scale(1.02); /* بزرگنمایی و حرکت همزمان */
    box-shadow: 0 18px 45px rgba(203, 168, 107, 0.5);
}

.eg-cta-text {
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: 1.4;
}

.eg-cta-text span:first-child {
    font-weight: 800;
    font-size: 16px;
}

.eg-cta-text span:last-child {
    font-size: 13px;
    opacity: 0.95;
}

.eg-cta-icon {
    fill: #fff;
    width: 32px;
    height: 32px;
    /* انیمیشن لرزش ملایم آیکون تماس */
    animation: eg-phone-shake 3s infinite ease-in-out;
}

@keyframes eg-phone-shake {
    0%, 90%, 100% { transform: rotate(0); }
    92% { transform: rotate(-10deg); }
    94% { transform: rotate(10deg); }
    96% { transform: rotate(-10deg); }
    98% { transform: rotate(10deg); }
}

/* تنظیمات دسکتاپ */
@media (min-width: 992px) {
    .eg-grid-container {
        grid-template-columns: repeat(5, 1fr); /* نمایش ۵تایی افقی */
        padding: 40px 20px;
    }
    .eg-cta-button {
        grid-column: span 1;
    }
}
/* کانتینر اصلی */
.eg-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    direction: rtl;
    background-color: #fff;
}

.eg-table-wrapper table {
    width: 100%;
    border-collapse: collapse; /* حذف فواصل بین سلول‌ها */
    min-width: 700px;
    font-family: inherit;
    border: none !important;
}

/* ردیف اول (طلایی) */
.eg-table-wrapper thead tr {
    background-color: #CBA86B !important;
}

.eg-table-wrapper th {
    color: #ffffff !important;
    padding: 12px 8px;
    font-size: 13px; /* تیتر کوچکتر */
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3); /* خطوط بین ستون‌ها در ردیف اول */
}

/* سلول‌های محتوا */
.eg-table-wrapper td {
    padding: 12px 10px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #f0f0f0; /* خطوط ردیف‌های میانی */
    color: #444;
}

/* ردیف‌های یکی در میان */
.eg-table-wrapper tbody tr:nth-child(even) {
    background-color: #fcfaf7;
}

/* حذف حاشیه‌های اضافی در کناره‌ها */
.eg-table-wrapper th:first-child, .eg-table-wrapper td:first-child { border-right: none; }
.eg-table-wrapper th:last-child, .eg-table-wrapper td:last-child { border-left: none; }

/* *** بخش حیاتی: حذف هرگونه خط یا فضای اضافه در ردیف آخر *** */
.eg-table-wrapper tbody tr:last-child td {
    border-bottom: none !important;
}

.eg-table-wrapper table {
	margin-bottom: 0 !important;
}
uote {
    background-color: #fcfaf6; / یک پس‌زمینه بسیار روشن متمایل به کرم /
    border-right: 5px solid #CBA86B; / نوار رنگی اصلی سایت شما /
    border-radius: 10px;
    padding: 30px;
    margin: 25px 0;
    direction: rtl;
    box-shadow: 0 4px 20px rgba(203, 168, 107, 0.1); / سایه ملایم با تم رنگی سایت /
    position: relative;
}

/ متن برجسته اول /
.eg-quote-lead {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.6;
}

.eg-quote-lead strong {
    color: #CBA86B; / استفاده از رنگ اصلی برای نام برند /
}

/ متن توضیحات /
.eg-quote-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

/ دکمه تماس هوشمند /
.eg-quote-button {
    display: inline-flex;
    align-items: center;
    background-color: #CBA86B;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(203, 168, 107, 0.3);
}

.eg-quote-button:hover {
    background-color: #b08e54; / کمی تیره‌تر برای حالت هوور /
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(203, 168, 107, 0.4);
}

.eg-quote-button svg {
    margin-left: 12px;
}

/ واکنش‌گرا برای گوشی */
@media (max-width: 768px) {
    .eg-special-quote {
        padding: 20px;
        border-right-width: 8px;
    }

    .eg-quote-button {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
    }
}
.my-faq-wrapper .rank-math-list-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.my-faq-title {
    background: none !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    font-size: 18px !important;
    color: #2d3748 !important;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.my-faq-title:hover {
    color: #3182ce !important;
}

/* ===================================================
   ۱. فهرست مطالب (TOC) - رنک مث و اختصاصی
   =================================================== */
.easygam-toc,
.wp-block-rank-math-toc-block,
#rank-math-toc {
    margin: 32px 0;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-right: 4px solid #CBA86B; /* خط طلایی برند */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(11, 31, 58, 0.04);
    direction: rtl;
}

.easygam-toc .rank-math-toc-title,
#rank-math-toc h2 {
    margin: 0 0 12px 0 !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B1F3A;
}

.easygam-toc ul,
#rank-math-toc nav ul,
#rank-math-toc nav ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.easygam-toc li,
#rank-math-toc nav li {
    margin: 4px 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.easygam-toc a,
#rank-math-toc nav a {
    display: inline-block;
    padding: 3px 0;
    color: #444;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.easygam-toc a::before,
#rank-math-toc nav a::before {
    content: "•";
    color: #CBA86B;
    margin-left: 8px;
    font-weight: bold;
}

.easygam-toc a:hover,
#rank-math-toc nav a:hover {
    color: #CBA86B;
    padding-right: 5px;
}

.easygam-toc ul ul,
#rank-math-toc nav ul ul {
    margin-top: 4px;
    margin-right: 16px !important;
    padding-right: 12px !important;
    border-right: 1px dashed #e0e0e0;
}


/* ===================================================
   ۲. سوالات متداول (FAQ) - آکاردئونی با اسکیما
   =================================================== */
.easygam-faq,
.wp-block-rank-math-faq-block,
#rank-math-faq {
    margin: 35px 0;
    direction: rtl;
}

.easygam-faq .rank-math-list,
#rank-math-faq .rank-math-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.easygam-faq .rank-math-list-item,
#rank-math-faq .rank-math-list-item {
    background: #ffffff;
    border: 1px solid #ECECEC;
    border-right: 4px solid #CBA86B;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.easygam-faq .rank-math-question,
#rank-math-faq .rank-math-question {
    position: relative;
    padding: 16px 52px 16px 18px;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0B1F3A;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
}

/* دکمه دایره‌ای + و - کنار سوال */
.easygam-faq .rank-math-question::after,
#rank-math-faq .rank-math-question::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #CBA86B;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* وقتی سوال باز است */
.easygam-faq .rank-math-list-item.is-open .rank-math-question::after,
#rank-math-faq .rank-math-list-item.is-open .rank-math-question::after {
    content: "−";
    background: #0B1F3A;
}

/* پاسخ سوال */
.easygam-faq .rank-math-answer,
#rank-math-faq .rank-math-answer {
    padding: 0 20px 18px 20px;
    line-height: 1.85;
    color: #555555;
    font-size: 0.95rem;
    border-top: 1px solid #f9f9f9;
}

.easygam-faq .rank-math-answer p:last-child,
#rank-math-faq .rank-math-answer p:last-child {
    margin-bottom: 0;
}


/* ===================================================
   ۳. اسکیما HOW-TO (مراحل گام‌به‌گام رنک‌مث)
   =================================================== */
#rank-math-howto.rank-math-block {
    display: block;
    margin: 35px 0;
    direction: rtl;
    font-family: inherit;
}

#rank-math-howto .rank-math-steps {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: howto-step;
}

#rank-math-howto .rank-math-step {
    display: block !important;
    position: relative !important;
    padding: 24px 22px !important;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    box-sizing: border-box !important;
}

/* شماره‌گذاری دایره‌ای طلایی */
#rank-math-howto .rank-math-step::before {
    counter-increment: howto-step;
    content: counter(howto-step);
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    background: #CBA86B !important;
    color: #ffffff !important;
    font-weight: 700; 
    font-size: 15px;
    z-index: 2;
}

#rank-math-howto .rank-math-step-title {
    margin: 0 0 10px 0 !important;
    padding-right: 42px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B1F3A;
}

#rank-math-howto .rank-math-step-content {
    line-height: 1.85;
    color: #555555;
    font-size: 0.95rem;
}

/* فلش رو به پایین بین مراحل */
#rank-math-howto .rank-math-step:not(:last-child)::after {
    content: "↓";
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    color: #CBA86B;
    opacity: 0.7;
}


/* ===================================================
   ۴. جدول مقالات و CTA سایدبار (سرمه‌ای و طلایی)
   =================================================== */
.eg-sidebar-cta {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.eg-sidebar-cta__img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}
.eg-sidebar-cta__text {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}
.eg-sidebar-cta__btn {
    display: inline-block;
    padding: 10px 22px;
    background: #CBA86B;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.eg-sidebar-cta__btn:hover {
    background: #0B1F3A;
}

/* استایل جدول داخل مقالات */
.eg-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    direction: rtl;
    background-color: #fff;
}
.eg-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.eg-table-wrapper thead tr {
    background-color: #0B1F3A !important; /* سرمه‌ای برند */
}
.eg-table-wrapper th {
    color: #ffffff !important;
    padding: 14px 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.eg-table-wrapper td {
    padding: 12px 10px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #f0f0f0;
    color: #444;
}
.eg-table-wrapper tbody tr:nth-child(even) {
    background-color: #fcfaf7; /* تم ملایم کرم */
}
/* EasyGaam Luxury Steps - Final Robust Version */
:root {
    --gold-color: #CBA86B;
    --dark-gold: #b38f55;
    --light-bg: #fdfaf5;
}

.easy-steps-container {
    direction: rtl;
    padding: 5px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.easy-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    position: relative;
    justify-content: start; /* تراز از راست برای جلوگیری از وسط‌چین شدن */
}

.step-card {
    background: #fff;
    border: 1.5px solid #ececec;
    border-radius: 20px;
    padding: 35px 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

/* استایل عمومی فلش */
.step-card::after {
    content: '←' !important;
    position: absolute;
    top: 50%;
    left: -22px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--gold-color);
    font-weight: bold;
    opacity: 0.6;
    transition: all 0.3s;
    display: block !important; /* پیش‌فرض نمایش داده شود */
}

/* --- تنظیمات دسکتاپ --- */
@media (min-width: 993px) {
    /* حذف فلش برای کارت‌های آخر هر ردیف (۳، ۶، ۹ و ...) */
    .step-card:nth-child(3n)::after {
        display: none !important;
    }
}

/* --- راه‌حل نهایی برای حذف فلش آخرین کارت --- */
/* استفاده از last-of-type چون ممکن است اسکریپت یا تگ دیگری بعد از کارت‌ها باشد */
.easy-steps-grid .step-card:last-of-type::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-color);
    box-shadow: 0 20px 40px rgba(203, 168, 107, 0.12);
}

.step-card:hover::after {
    left: -28px;
    opacity: 1;
}

.step-number {
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: var(--gold-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(203, 168, 107, 0.4);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.5;
}

.step-description {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* --- موبایل --- */
@media (max-width: 992px) {
    .easy-steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .step-card::after {
        content: '↓' !important;
        top: auto;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%) !important;
        display: block !important;
    }

    /* حذف فلش کارت آخر در موبایل */
    .step-card:last-of-type::after {
        display: none !important;
    }
}

/* خط تزیینی پس‌زمینه */
@media (min-width: 993px) {
    .easy-steps-grid::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #eee, transparent);
        z-index: 1;
    }
}
/* ========================================= */
/* استایل پایه کارت‌های پرونده های موفق (مشترک برای همه) */
/* ========================================= */
.eg-modern-card {
    direction: rtl;
    font-family: inherit;
    background: #ffffff;
    border: 1px solid rgba(203, 168, 107, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.05);
    transition: all 0.4s ease;
    position: relative;
    margin-bottom: 20px;
}
.eg-modern-card:hover {
    box-shadow: 0 15px 40px rgba(11, 31, 58, 0.12);
    border-color: #CBA86B;
    transform: translateY(-5px);
}

/* ========================================= */
/* ۱. استایل مخصوص نمونه ویزاها */
/* ========================================= */
.eg-visa-wrapper {
    position: relative;
    border-radius: 12px;
    margin-bottom: 14px;
}

.eg-visa-wrapper img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    display: block;
    border: 1px solid #eee;
}

.eg-visa-details {
    text-align: center;
}

.eg-visa-details h4 {
    color: #0B1F3A;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* فاصله مناسب بین پرچم و نام ویزا */
}

/* اندازه استاندارد و کاملاً واضح پرچم (۳۲ پیکسل) */
.eg-modern-card img.eg-visa-flag,
img.eg-visa-flag {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    object-fit: cover !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.eg-visa-details p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ========================================= */
/* ۲. هدر و متن نظرات (مشترک برای ویدیو و ویس) */
/* ========================================= */
.eg-review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.eg-user-info { display: flex; align-items: center; gap: 15px; }
.eg-user-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #CBA86B; padding: 2px; }
.eg-user-name h4 { color: #0B1F3A; margin: 0 0 5px 0; font-size: 1.1rem; font-weight: bold; }
.eg-user-badge { background: rgba(11, 31, 58, 0.08); color: #0B1F3A; font-size: 0.75rem; padding: 3px 10px; border-radius: 12px; font-weight: bold; }
.eg-stars { color: #CBA86B; font-size: 1.1rem; letter-spacing: 2px; }
.eg-review-text { color: #555; font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; position: relative; padding-right: 25px; }
.eg-review-text::before { content: "❝"; position: absolute; right: 0; top: -5px; font-size: 2rem; color: rgba(203, 168, 107, 0.3); font-family: serif; }

/* ========================================= */
/* ۳. استایل ویدیو آپارات (استاندارد افقی 16:9) */
/* ========================================= */
.eg-video-horizontal {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* نسبت تصویر استاندارد بدون نیاز به padding */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.eg-video-horizontal iframe,
.eg-video-horizontal video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

/* ========================================= */
/* ۴. استایل پلیر صوتی (ویس) با فرکانس متحرک */
/* ========================================= */
.eg-voice-player { background: linear-gradient(135deg, #0B1F3A 0%, #153560 100%); border-radius: 15px; padding: 15px 20px; display: flex; align-items: center; gap: 15px; cursor: pointer; }
.eg-play-pause-btn { width: 45px; height: 45px; background: #CBA86B; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.eg-play-pause-btn svg { width: 20px; height: 20px; fill: #0B1F3A; }
.eg-waveform { display: flex; align-items: center; gap: 4px; height: 30px; flex-grow: 1; }
.eg-bar { width: 4px; background: #CBA86B; border-radius: 2px; height: 15%; opacity: 0.5; transition: height 0.2s ease; }
.eg-voice-player.is-playing .eg-bar { opacity: 1; animation: soundWave 0.8s infinite alternate ease-in-out; }
.eg-voice-player.is-playing .eg-bar:nth-child(1) { animation-delay: 0.1s; }
.eg-voice-player.is-playing .eg-bar:nth-child(2) { animation-delay: 0.4s; }
.eg-voice-player.is-playing .eg-bar:nth-child(3) { animation-delay: 0.2s; }
.eg-voice-player.is-playing .eg-bar:nth-child(4) { animation-delay: 0.6s; }
.eg-voice-player.is-playing .eg-bar:nth-child(5) { animation-delay: 0.3s; }
.eg-voice-player.is-playing .eg-bar:nth-child(6) { animation-delay: 0.5s; }
@keyframes soundWave { 0% { height: 15%; } 100% { height: 100%; } }
.eg-voice-time { color: #ffffff; font-size: 0.85rem; font-weight: bold; min-width: 45px; text-align: left; }
.eg-hidden-audio { display: none; }

/* ========================================= */
/* ۵. استایل چت عمودی (قاب گوشی) */
/* ========================================= */
.eg-chat-vertical { display: block; width: 100%; max-width: 320px; margin: 0 auto 20px; border-radius: 30px; border: 8px solid #0B1F3A; box-shadow: 0 15px 35px rgba(0,0,0,0.15); overflow: hidden; position: relative; background: #fff; transition: transform 0.4s ease; }
.eg-chat-vertical:hover { transform: translateY(-10px); }
.eg-chat-vertical img { width: 100%; height: auto; display: block; }
.eg-chat-vertical::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 15px; background: #0B1F3A; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; z-index: 2; }
/* ========================================= */
/* پایان استایل پرونده های موفق (مشترک برای همه) */
/* ========================================= */