.tut-wrap{max-width:1620px;margin:0 auto;padding:24px clamp(14px,2.5vw,32px) 52px;color:#0f172a}
body.page-tutorials .tut-wrap{padding-top:38px}
.tut-hero{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;background:linear-gradient(130deg,#0f172a 0%,#1e3a8a 60%,#4338ca 100%);color:#fff;padding:28px 30px;border-radius:20px;box-shadow:0 14px 36px rgba(15,23,42,.18);margin-bottom:18px}
.tut-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.1em;color:#a5b4fc !important;text-transform:uppercase;margin-bottom:6px}
.tut-hero h1,#tutorialsAcademy .tut-hero h1{margin:0 0 6px;font-size:clamp(22px,2.4vw,30px);font-weight:850;color:#ffffff !important}
.tut-hero p,#tutorialsAcademy .tut-hero p{margin:0;color:#e2e8f0 !important;font-size:14px;max-width:680px;line-height:1.55}
.tut-hero-stats{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.tut-stat{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:12px;padding:10px 16px;text-align:right}
.tut-stat strong{display:block;font-size:19px;font-weight:850;color:#ffffff !important}
.tut-stat span{font-size:11px;color:#cbd5e1 !important}
.tut-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 15px;border-radius:10px;border:1px solid #cbd5e1;font-size:13px;font-weight:750;text-decoration:none;cursor:pointer;background:#fff;color:#0f172a}
.tut-btn-primary{background:linear-gradient(135deg,#2563eb,#4f46e5);border-color:#2563eb;color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.3)}
.tut-btn-secondary{background:#f8fafc;border-color:#cbd5e1;color:#1e293b}

.tut-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.tut-cats{display:flex;gap:7px;flex-wrap:wrap}
.tut-cat{height:35px;padding:0 13px;border-radius:999px;border:1px solid #dbe4f0;background:#fff;color:#475569;font-size:12.5px;font-weight:700;cursor:pointer}
.tut-cat.active{background:#1e3a8a;border-color:#1e3a8a;color:#fff}
.tut-search{height:37px;width:min(310px,100%);border:1px solid #cbd5e1;border-radius:10px;padding:0 12px;font-size:13px;background:#fff}

.tut-stage{display:grid;grid-template-columns:1.4fr .82fr;gap:20px;align-items:start}
.tut-video-card{background:#fff;border:1px solid #dbe4f0;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px rgba(15,23,42,.06)}
.tut-video-box{background:#020617;aspect-ratio:16/9;width:100%;display:flex;align-items:center;justify-content:center}
.tut-video-box video{width:100%;height:100%;object-fit:contain;display:block;outline:none}
.tut-video-meta{padding:20px 24px}
.tut-meta-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.tut-pill{display:inline-flex;padding:4px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:800;margin-right:6px}
.tut-role,.tut-dur{font-size:12px;color:#64748b;font-weight:650;margin-right:8px}
.tut-meta-actions{display:flex;gap:8px;flex-wrap:wrap}
.tut-video-meta h2{margin:6px 0 8px;font-size:21px;font-weight:850;color:#0f172a}
.tut-video-meta p{margin:0 0 16px;color:#475569;font-size:14px;line-height:1.6}
.tut-chapters-steps{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid #e2e8f0;padding-top:16px}
.tut-chapters-steps h3{margin:0 0 10px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#475569}
.tut-chapter-list{display:flex;flex-direction:column;gap:7px}
.tut-chap-btn{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:9px 11px;cursor:pointer;text-align:left;font-size:12.5px;font-weight:650;color:#1e293b}
.tut-chap-btn:hover,.tut-chap-btn.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}
.tut-chap-btn.active .tut-chap-time{background:#2563eb;color:#fff}
.tut-chap-time{font-family:monospace;font-size:11.5px;font-weight:800;padding:2px 7px;border-radius:6px;background:#dbeafe;color:#1d4ed8;flex:0 0 auto}
.tut-steps-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px;font-size:13px;color:#334155;line-height:1.5}
.tut-steps-list li.active{color:#1e3a8a;font-weight:650}
.tut-speed-bar{display:inline-flex;align-items:center;gap:4px;background:#f1f5f9;border:1px solid #dbe4f0;border-radius:9px;padding:3px}
.tut-speed-btn{border:0;background:transparent;color:#475569;font-size:11.5px;font-weight:750;padding:4px 8px;border-radius:6px;cursor:pointer}
.tut-speed-btn.active{background:#2563eb;color:#fff}
.tut-video-error{padding:14px 18px;background:#fff7ed;border-top:1px solid #fed7aa;color:#9a3412;font-size:13px;font-weight:650;display:none}

.tut-playlist-col{background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:16px;box-shadow:0 8px 26px rgba(15,23,42,.05)}
.tut-playlist-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #e2e8f0;margin-bottom:12px}
.tut-playlist-head strong{font-size:16px}
.tut-playlist-head span{font-size:12px;color:#64748b}
.tut-playlist{display:flex;flex-direction:column;gap:10px}
.tut-item{display:grid;grid-template-columns:108px minmax(0,1fr);gap:11px;align-items:center;border:1.5px solid #e2e8f0;border-radius:12px;padding:8px;background:#fff;cursor:pointer;text-align:left;transition:all .14s}
.tut-item:hover{border-color:#93c5fd;background:#f8fafc}
.tut-item.active{border-color:#2563eb;background:#eff6ff}
.tut-thumb{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#0f172a}
.tut-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.tut-thumb-dur{position:absolute;right:4px;bottom:4px;background:rgba(15,23,42,.82);color:#fff;font-size:10px;font-weight:700;padding:1px 5px;border-radius:4px}
.tut-item-copy strong{display:block;font-size:13px;font-weight:750;color:#0f172a;line-height:1.3;margin-bottom:4px}
.tut-item-copy small{display:block;font-size:11.5px;color:#64748b}
.tut-watched-tag{display:inline-flex;margin-top:4px;padding:2px 7px;border-radius:999px;background:#ecfdf5;color:#15803d;font-size:10.5px;font-weight:800}

@media(max-width:1080px){.tut-stage{grid-template-columns:1fr}.tut-chapters-steps{grid-template-columns:1fr}}
@media(max-width:720px){
  body.page-tutorials .tut-wrap{padding:14px 12px 36px}
  .tut-hero{padding:18px 16px;border-radius:16px;gap:14px}
  .tut-hero-stats{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .tut-stat{text-align:left;padding:9px 12px}
  .tut-hero-stats .tut-btn{grid-column:1/-1;width:100%}
  .tut-cats{width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .tut-cat{flex:0 0 auto;min-height:36px}
  .tut-search{width:100%}
  .tut-video-meta{padding:14px}
  .tut-meta-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .tut-meta-actions .tut-btn{width:100%;padding:0 10px;font-size:12.5px}
  .tut-playlist-col{padding:12px;border-radius:14px}
  .tut-item{grid-template-columns:92px minmax(0,1fr);gap:10px;padding:7px}
}
