/* ==========================================================================
   استایل راهنمای نصب چندرسانه‌ای — فاز ۴
   ========================================================================== */

.guide-section-title {
    margin: 32px 0 16px;
    background: #455a64;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
}

.guide-steps { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--header-border); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; }
.guide-step {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.guide-step:last-child { border-bottom: none; }
.guide-step:nth-child(even) { background: #fafbfc; }

.guide-step-num {
    flex: 0 0 32px;
    width: 32px; height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.guide-step-body { flex: 1; min-width: 0; }
.guide-step-title { margin: 0 0 6px; font-size: 15px; }
.guide-step-text { margin: 0 0 10px; font-size: 13px; line-height: 1.9; color: #444; }

.guide-step-media { display: block; margin-top: 8px; border-radius: 8px; }
.guide-step-image { max-width: 100%; max-height: 260px; border: 1px solid var(--header-border); }
.guide-step-audio { width: 100%; max-width: 360px; }
.guide-step-video { max-width: 100%; max-height: 320px; background: #000; }

/* ---------- صفحهٔ فهرست راهنماها ---------- */
.guide-list-card {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--header-border); border-radius: 8px;
    padding: 12px 16px; text-decoration: none; color: inherit; margin-bottom: 10px;
}
.guide-list-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.guide-list-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.guide-list-card .glc-title { font-weight: 600; font-size: 14px; }
.guide-list-card .glc-meta { font-size: 12px; color: #888; margin-top: 3px; }

@media (max-width: 768px) {
    .guide-step { flex-direction: column; }
    .guide-step-num { margin-bottom: 4px; }
}
