/* ============================================
   متغیرهای رنگ - برای تغییر رنگ کل ماژول کافیه
   همین دو خط رو عوض کنی
   ============================================ */
.film-analysis-box {
    --fa-accent: #e0a458;       /* رنگ اصلی (فعلاً کهربایی/طلایی) */
    --fa-accent-dark: #c98a34;  /* رنگ تیره‌تر برای گرادیانت/هاور */
    margin: 24px 0;
}

.film-analysis-box h6 {
    margin-bottom: 14px;
}

/* چیدمان: وقتی هم پادکست و هم تحلیل هست -> دو ستونه */
.film-analysis-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: start;
}

@media (max-width: 768px) {
    .film-analysis-grid {
        grid-template-columns: 1fr;
    }
}

/* --- کارت پلیر پادکست --- */
.podcast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 24px 16px;
    border-radius: 14px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--fa-accent) 16%, transparent), color-mix(in srgb, var(--fa-accent) 3%, transparent));
}

.podcast-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fa-accent), var(--fa-accent-dark));
    box-shadow: 0 6px 18px color-mix(in srgb, var(--fa-accent) 45%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.podcast-play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--fa-accent) 55%, transparent);
}

.podcast-play-btn:active {
    transform: scale(0.97);
}

.podcast-play-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.podcast-play-btn .icon-pause {
    display: none;
}

.podcast-play-btn.is-playing .icon-play {
    display: none;
}

.podcast-play-btn.is-playing .icon-pause {
    display: block;
}

.podcast-title {
    font-size: 14px;
    font-weight: 600;
}

.podcast-subtitle {
    font-size: 12px;
    opacity: 0.65;
}

/* نوارهای انیمیشنی هنگام پخش */
.podcast-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.podcast-bars span {
    width: 3px;
    background: var(--fa-accent);
    border-radius: 2px;
    height: 4px;
    opacity: 0.35;
    transition: height 0.2s ease;
}

.podcast-card.is-playing .podcast-bars span {
    animation: fa-bar-bounce 0.9s ease-in-out infinite;
    opacity: 1;
}

.podcast-bars span:nth-child(1) { animation-delay: 0s; }
.podcast-bars span:nth-child(2) { animation-delay: 0.15s; }
.podcast-bars span:nth-child(3) { animation-delay: 0.3s; }
.podcast-bars span:nth-child(4) { animation-delay: 0.1s; }
.podcast-bars span:nth-child(5) { animation-delay: 0.25s; }

@keyframes fa-bar-bounce {
    0%, 100% { height: 4px; }
    50% { height: 18px; }
}

/* --- باکس متن تحلیل (سبک مجله‌ای با خط accent کنار متن) --- */
.analiz-wrap {
    position: relative;
    padding-right: 18px;
    border-right: 3px solid var(--fa-accent);
}

.analiz-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fa-accent-dark);
    margin-bottom: 10px;
}

.analiz-heading svg {
    width: 16px;
    height: 16px;
    fill: var(--fa-accent);
}

.analiz-collapsed {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.35s ease;
    line-height: 2.1;
}

.analiz-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

.analiz-expanded {
    max-height: none;
    overflow: visible;
}

.analiz-expanded::after {
    display: none;
}

/* حرف اول پاراگراف بزرگ‌تر - سبک مجله‌ای */
.analiz-collapsed p:first-of-type::first-letter {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--fa-accent);
    float: right;
    margin-left: 8px;
    line-height: 1;
}

/* ============================================
   دکمه‌ی عمومی fa-btn - قابل استفاده مجدد
   بعداً می‌شه همین کلاس رو به دکمه‌های دیگه هم داد
   ============================================ */
.fa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.fa-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.fa-btn svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.fa-btn.is-open svg {
    transform: rotate(180deg);
}
