/* ATGR tutorials section — shared by product pages and the Tutorials hub */
:root {
    --gradient: linear-gradient(to right, #564EE7 0%, #C32BF9 100%);
    --purple: #C32BF9;
    --text: #A1A9B9;
}
#tutorials, .tutorials { padding: 10vh 0 6vh 0; }
#tutorials .tut-head, .tutorials .tut-head { text-align: center; margin-bottom: 40px; }
#tutorials .tut-head h2, .tutorials .tut-head h2 {
    color: #fff; font-weight: 600; font-size: 26px;
    letter-spacing: -1px; margin: 0 0 8px; text-transform: none;
}
#tutorials .tut-head p, .tutorials .tut-head p {
    color: var(--text); font-weight: 300; font-size: 14px; margin: 0;
}
.tut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.tut-card {
    background-color: rgba(17, 24, 37, 0.92);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; overflow: hidden; transition: .3s;
}
.tut-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.tut-thumb {
    display: block; width: 100%; aspect-ratio: 16 / 9;
    border: 0; padding: 0; margin: 0; cursor: pointer;
    background-size: cover; background-position: center;
    background-color: #000; position: relative;
}
.tut-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(6, 3, 22, 0.55);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6) inset; transition: .3s;
}
.tut-play::after {
    content: ""; position: absolute; top: 50%; left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid; border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
}
.tut-thumb:hover .tut-play { background: var(--purple); box-shadow: 0 0 0 2px #fff inset; }
.tut-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.tut-title {
    color: var(--text); font-size: 13px; font-weight: 400;
    line-height: 1.45; margin: 0; padding: 14px 16px 18px;
}
.tut-fallback { display: block; padding: 20px 16px; color: #fff; text-decoration: none; font-size: 14px; }
.tut-fallback:hover { color: var(--purple); }
.tut-empty {
    grid-column: 1 / -1; text-align: center;
    color: var(--text); font-style: italic; font-weight: 300;
}
.tut-playlist-btn {
    display: inline-block; margin: 34px auto 0; text-align: center;
    background-image: var(--gradient); color: #fff; text-decoration: none;
    padding: 13px 28px; border-radius: 6px; font-size: 13px;
    font-weight: 500; letter-spacing: .5px; transition: .3s;
}
.tut-playlist-btn i { margin-right: 8px; }
.tut-playlist-btn:hover { background: none; box-shadow: inset 0 0 0 1px #fff; }
[data-tutorials] { text-align: center; }
[data-tutorials] .tut-grid { text-align: left; }
@media only screen and (max-width: 600px) {
    .tut-grid { grid-template-columns: 1fr; }
    #tutorials .tut-head h2, .tutorials .tut-head h2 { font-size: 22px; }
}
.tut-playlist-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}
.tut-playlist-row .tut-playlist-btn { margin: 0; }
