/* بخش آموزش (/guide): فهرست آموزش‌ها و قدم‌به‌قدم با اسکرین‌شات */
.guide-hero { padding: 48px 16px 18px; text-align: center; }
.guide-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 10px 0 10px; line-height: 1.35; }
.guide-hero > p { max-width: 720px; margin: 0 auto; color: var(--text-soft); line-height: 1.9; }
.guide-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: .85rem; }
.guide-crumbs { font-size: .85rem; color: var(--text-faint); }
.guide-crumbs a { color: var(--text-soft); }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; padding-top: 18px; padding-bottom: 30px; }
.guide-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); min-width: 0; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card-cover { position: relative; height: 190px; overflow: hidden; background: linear-gradient(135deg, #12a0a8, #0e7c86 45%, #f2543f); }
.guide-card-cover img { width: 100%; display: block; object-fit: cover; object-position: top; height: 100%; }
.guide-card-num { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 12px; background: var(--grad-brand); color: #fff; font-weight: 900; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.guide-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card-body h2 { font-size: 1.08rem; margin: 0; display: flex; gap: 8px; align-items: center; line-height: 1.5; }
.guide-card-body p { margin: 0; color: var(--text-soft); font-size: .92rem; line-height: 1.8; flex: 1; }
.guide-card-meta { color: var(--primary); font-weight: 700; font-size: .88rem; }

.guide-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.guide-toc a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); font-size: .82rem; text-decoration: none; }
.guide-toc a:hover { border-color: var(--primary); color: var(--primary-dark); }
.guide-toc b { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .75rem; }

.guide-steps { display: flex; flex-direction: column; gap: 22px; padding-top: 10px; padding-bottom: 20px; }
.guide-step { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; padding: 26px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.guide-step:nth-child(even) { grid-template-columns: 300px minmax(0, 1fr); }
.guide-step:nth-child(even) .guide-step-text { order: 2; }
.guide-step-num { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .82rem; }
.guide-step h2 { margin: 12px 0 10px; font-size: 1.3rem; line-height: 1.5; }
.guide-step-body { color: var(--text-soft); line-height: 2; }
.guide-tip { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary-dark); font-size: .9rem; line-height: 1.8; }
.guide-tip .ico-sm { flex: none; margin-top: 4px; }
.guide-shot { margin: 0; justify-self: center; width: 100%; max-width: 300px; padding: 9px; border-radius: 38px; background: #12232a; box-shadow: var(--shadow-lg); }
.guide-shot img { display: block; width: 100%; height: auto; border-radius: 30px; }

.guide-nav { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; }
.guide-nav-card { flex: 1; max-width: 420px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; }
.guide-nav-card small { display: block; color: var(--text-faint); }
.guide-nav-card strong { color: var(--primary-dark); }
.guide-nav-next { text-align: left; }

.guide-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 60px; margin-top: 20px; padding: 24px; border-radius: var(--radius-lg); background: var(--primary-soft); }
.guide-help h2 { margin: 0 0 6px; font-size: 1.2rem; }
.guide-help p { margin: 0; color: var(--text-soft); }

@media (max-width: 760px) {
    .guide-step, .guide-step:nth-child(even) { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
    .guide-step:nth-child(even) .guide-step-text { order: 0; }
    .guide-shot { max-width: 260px; }
    .guide-nav { flex-direction: column; }
    .guide-nav-card { max-width: none; }
}
