
.mint-new-guides {
    margin:40px 0;
}

.mint-new-guides .learn-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    margin-top:24px;
}

.mint-new-guides .learn-card {
    overflow:hidden;
    border-radius:20px;
    transition:transform .3s,box-shadow .3s;
}

.mint-new-guides .learn-art {
    min-height:145px;
    display:grid;
    place-items:center;
    background:linear-gradient(
        135deg,var(--a),var(--b)
    );
}

.mint-new-guides .learn-art svg {
    width:65px;
    height:65px;
    color:white;
    transition:transform .35s;
}

.mint-new-guides .learn-body {
    padding:22px;
}

.mint-guide-article {
    max-width:920px;
    margin:35px auto 60px;
    line-height:1.85;
}

.mint-guide-article h1 {
    font-size:clamp(28px,4vw,46px);
    line-height:1.25;
}

.mint-guide-category {
    display:block;
    color:#0d9488;
    font-weight:700;
    margin-top:24px;
}

.mint-guide-intro {
    font-size:18px;
    line-height:1.8;
}

.mint-guide-toc,
.mint-guide-lesson,
.mint-guide-example,
.mint-guide-faq {
    border:1px solid #94a3b840;
    border-radius:18px;
    padding:25px;
    margin:25px 0;
}

.mint-guide-toc {
    background:#10b9810c;
}

.mint-guide-toc a {
    display:block;
    padding:8px 0;
}

.mint-guide-lesson {
    scroll-margin-top:100px;
}

.mint-guide-lesson h2,
.mint-guide-example h2,
.mint-guide-faq h2 {
    font-size:23px;
    line-height:1.4;
}

.mint-guide-example {
    background:#102334;
    color:#e2e8f0;
}

.mint-guide-example pre {
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    font-family:inherit;
    line-height:1.8;
    color:#d1fae5;
}

.mint-guide-example button {
    background:#087f70;
    color:white;
    border:0;
    border-radius:9px;
    padding:12px 20px;
    font-weight:700;
    cursor:pointer;
}

.mint-guide-faq details {
    border-bottom:1px solid #94a3b833;
    padding:14px 0;
}

.mint-guide-faq summary {
    cursor:pointer;
    font-weight:600;
}

@media(hover:hover) {
    .mint-new-guides .learn-card:hover {
        transform:translateY(-6px);
        box-shadow:0 12px 30px #10b98120;
    }

    .mint-new-guides .learn-card:hover svg {
        transform:translateY(-5px) rotate(-6deg);
    }
}

@media(max-width:1000px) {
    .mint-new-guides .learn-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {
    .mint-new-guides .learn-grid {
        grid-template-columns:minmax(0,1fr);
    }

    .mint-guide-toc,
    .mint-guide-lesson,
    .mint-guide-example,
    .mint-guide-faq {
        padding:18px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .mint-new-guides *,
    .mint-guide-article * {
        animation:none !important;
        transition:none !important;
    }
}

/* GUIDE TOC FIX START */

html body .mint-guide-article {
    width:100%;
    max-width:920px;
    min-width:0;
    box-sizing:border-box;
    overflow-wrap:break-word;
}

html body .mint-guide-article nav.mint-guide-toc {
    position:relative !important;
    inset:auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    gap:12px !important;
    padding:26px !important;
    margin:28px 0 !important;
    box-sizing:border-box !important;
    border:1px solid #10b98140;
    border-radius:20px;
    background:#10b98108;
    transform:none !important;
    visibility:visible !important;
    opacity:1 !important;
    counter-reset:guide-step;
}

html body .mint-guide-toc > h2 {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    flex:none !important;
    margin:0 0 12px !important;
    font-size:26px !important;
    line-height:1.4 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    writing-mode:horizontal-tb !important;
}

html body .mint-guide-toc > a {
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex:none !important;
    gap:14px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:14px !important;
    margin:0 !important;
    box-sizing:border-box !important;
    border:1px solid #10b98130;
    border-radius:12px;
    background:#10b98108;
    font-size:15px !important;
    font-weight:600;
    line-height:1.6 !important;
    white-space:normal !important;
    word-break:normal !important;
    text-decoration:none;
    counter-increment:guide-step;
    transition:background .25s,transform .25s;
}

html body .mint-guide-toc > a::before {
    content:counter(guide-step,decimal-leading-zero);
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    flex:0 0 38px;
    border-radius:10px;
    background:linear-gradient(
        145deg,#10b981,#087f70
    );
    color:#fff;
    font-size:14px;
    font-weight:800;
    box-shadow:0 5px 12px #10b98125;
}

html body .mint-guide-toc > a::after {
    content:"\2198";
    margin-left:auto;
    flex-shrink:0;
    color:#10b981;
    font-size:20px;
}

html body .mint-guide-toc > a:hover {
    background:#10b98118;
    transform:translateX(4px);
    border-color:#10b98180;
}

html body .mint-guide-toc > a:focus-visible {
    outline:2px solid #10b981;
    outline-offset:2px;
}

html body .mint-guide-lesson {
    scroll-margin-top:110px;
    min-width:0;
}

html body .mint-guide-lesson h2 {
    word-break:normal;
    overflow-wrap:break-word;
}

@media(max-width:768px) {

    html body .mint-guide-article nav.mint-guide-toc {
        display:flex !important;
        position:relative !important;
        flex-direction:column !important;
        padding:18px !important;
        gap:10px !important;
    }

    html body .mint-guide-toc > h2 {
        font-size:22px !important;
    }

    html body .mint-guide-toc > a {
        padding:11px !important;
        font-size:14px !important;
        gap:10px !important;
    }

    html body .mint-guide-toc > a::before {
        width:32px;
        height:32px;
        flex-basis:32px;
    }
}

@media(prefers-reduced-motion:reduce) {

    html body .mint-guide-toc > a {
        transition:none !important;
        transform:none !important;
    }
}

/* GUIDE TOC FIX END */
