
/* AiPromptMint Premium Responsive Update */

.mint-pro-hero {
    position:relative;
    isolation:isolate;
    display:grid;
    grid-template-columns:minmax(0,1.15fr)
                          minmax(0,.85fr);
    align-items:center;
    gap:clamp(24px,4vw,65px);
    padding:clamp(24px,5vw,70px);
    margin:24px 0;
    border:1px solid #34d39955;
    border-radius:32px;
    background:
        radial-gradient(ellipse at top right,
        #126b59,transparent 65%),
        linear-gradient(135deg,#102630,#0c202c);
    color:#f1fff9;
    box-shadow:0 24px 65px #0003;
    overflow:hidden;
}

.mph-copy,.mph-visual {
    min-width:0;
    position:relative;
}

.mph-label {
    display:inline-flex;
    padding:9px 15px;
    border:1px solid #6ee7b755;
    border-radius:40px;
    color:#a7f3d0;
    background:#10b98115;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.5px;
}

.mint-pro-hero h1 {
    font-size:clamp(32px,4.2vw,62px);
    line-height:1.12;
    letter-spacing:-.045em;
    color:#f1fff9;
    margin:22px 0;
}

.mint-pro-hero h1 em {
    display:block;
    color:#6ee7b7;
    font-style:normal;
}

.mph-intro {
    color:#e0f7ef;
    font-size:clamp(16px,1.4vw,19px);
    line-height:1.75;
}

.mph-description {
    color:#b8d5d0;
    font-size:15px;
    line-height:1.8;
}

.mph-actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:25px 0;
}

.mph-primary,.mph-secondary {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-height:48px;
    padding:13px 20px;
    border-radius:13px;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    transition:transform .2s,box-shadow .2s;
}

.mph-primary {
    background:#6ee7b7;
    color:#073c30;
    box-shadow:0 8px 20px #10b98122;
}

.mph-secondary {
    background:#ffffff0c;
    border:1px solid #ffffff40;
    color:#fff;
}

.mph-primary:hover,.mph-secondary:hover {
    transform:translateY(-3px);
}

.mph-search {
    display:flex;
    align-items:center;
    background:#fff;
    padding:7px;
    border-radius:14px;
    gap:8px;
}

.mph-search input {
    flex:1;
    min-width:0;
    width:100%;
    padding:12px;
    border:0;
    background:transparent;
    color:#123b34;
    font-size:15px;
}

.mph-search a {
    flex-shrink:0;
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    background:#d1fae5;
    color:#047857;
    border-radius:10px;
    font-size:23px;
}

.mph-categories,.mph-facts {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:9px;
    margin-top:18px;
    font-size:12px;
}

.mph-categories a {
    padding:7px 12px;
    border:1px solid #ffffff30;
    border-radius:30px;
    color:#a7f3d0;
}

.mph-categories a:hover {
    background:#10b98130;
}

.mph-facts {
    color:#a7f3d0;
    font-weight:700;
}

.mph-visual {
    display:grid;
    place-items:center;
    perspective:1000px;
}

.mph-orbit {
    position:absolute;
    width:90%;
    aspect-ratio:1;
    border:1px solid #6ee7b755;
    border-radius:50%;
    box-shadow:
        0 0 0 25px #6ee7b710,
        0 0 0 50px #6ee7b708;
}

.mph-window {
    position:relative;
    width:100%;
    max-width:490px;
    padding:22px;
    background:#f8fffc;
    color:#123b34;
    border:1px solid #bce8d8;
    border-radius:24px;
    transform:rotate(-2deg);
    box-shadow:0 30px 60px #0004;
    transition:transform .35s;
}

.mph-window:hover {
    transform:rotate(0);
}

.mph-window-head {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:22px;
}

.mph-icon {
    display:grid;
    place-items:center;
    flex-shrink:0;
    width:44px;
    height:44px;
    background:#047857;
    color:white;
    border-radius:13px;
    font-size:23px;
}

.mph-window small {
    display:block;
    font-size:10px;
    color:#526b65;
}

.mph-status {
    margin-left:auto;
    color:#047857;
    font-size:11px;
}

.mph-field {
    background:#edf6f2;
    border:1px solid #d2e7dd;
    padding:14px;
    border-radius:12px;
    margin-bottom:12px;
    overflow-wrap:anywhere;
}

.mph-field strong {
    font-size:14px;
}

.mph-fields {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.mph-result {
    background:#102f2d;
    border-radius:15px;
    padding:18px;
    margin-bottom:15px;
}

.mph-result small {
    color:#6ee7b7;
    font-weight:800;
}

.mph-result p {
    color:#effff8;
    font-size:14px;
    line-height:1.75;
}

.mph-window .mph-primary {
    width:100%;
    background:#047857;
    color:#fff;
}

.mph-note {
    font-size:11px;
    color:#526b65;
    text-align:center;
    margin-top:12px;
}

.mph-benefits {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.mph-benefits a {
    padding:18px 12px;
    border:1px solid #ffffff25;
    border-radius:16px;
    background:#ffffff08;
    text-align:center;
    min-width:0;
}

.mph-benefits strong {
    display:block;
    font-size:25px;
    color:#6ee7b7;
}

.mph-benefits span {
    display:block;
    color:#d1e9e1;
    font-size:13px;
}

/* Shared responsive improvements */

img,video,canvas,iframe {
    max-width:100%;
}

main,.wrap,.panel,.article,
.card,.utility-card,.learn-card {
    min-width:0;
    max-width:100%;
}

main p,main li,main h1,main h2,main h3 {
    overflow-wrap:anywhere;
}

input,select,textarea {
    max-width:100%;
    min-width:0;
}

pre {
    max-width:100%;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

main table {
    display:block;
    max-width:100%;
    overflow-x:auto;
}

#tools,#daily-tools {
    scroll-margin-top:100px;
}

@media(max-width:950px) {

    .mint-pro-hero {
        grid-template-columns:minmax(0,1fr);
    }

    .mph-window {
        transform:none;
    }

    .mph-visual {
        padding:20px 0;
    }

    .mph-benefits {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {

    .wrap {
        width:calc(100% - 24px);
    }

    .mint-pro-hero {
        padding:20px;
        border-radius:20px;
        gap:24px;
    }

    .mint-pro-hero h1 {
        font-size:34px;
    }

    .mph-actions {
        flex-direction:column;
    }

    .mph-actions a {
        width:100%;
    }

    .mph-window {
        padding:15px;
    }

    .mph-window-head {
        gap:8px;
    }

    .mph-benefits strong {
        font-size:22px;
    }

    .mph-benefits span {
        font-size:12px;
    }

    .sectionhead {
        flex-wrap:wrap;
        align-items:flex-start;
    }

    .fields,.studio-steps,.footgrid,
    .ml-grid,.ml-compare,.learn-grid {
        grid-template-columns:minmax(0,1fr);
    }

    .utility-grid {
        grid-template-columns:minmax(0,1fr);
    }

    .actions,.related-studio {
        flex-wrap:wrap;
    }

    .nav {
        gap:8px;
    }

    .brand {
        font-size:18px;
        letter-spacing:-.5px;
    }

    .brand img {
        width:36px;
        height:36px;
    }

    input,textarea,select {
        font-size:16px;
    }
}

@media(max-width:380px) {

    .mint-pro-hero h1 {
        font-size:29px;
    }

    .mph-fields,#tools .grid {
        grid-template-columns:minmax(0,1fr);
    }
}

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

    .mph-window,.mph-primary,.mph-secondary {
        transition:none;
        transform:none;
    }
}

/* Compact Premium Hero */

.mint-pro-hero {
    padding: 30px 42px;
    gap: 24px;
    margin: 16px 0;
    border-radius: 24px;
    grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
}

.mint-pro-hero h1 {
    font-size: clamp(30px,3.3vw,48px);
    line-height: 1.12;
    margin: 14px 0;
}

.mph-label {
    padding: 6px 12px;
    font-size: 10px;
}

.mph-intro {
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0;
}

.mph-description {
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0;
}

.mph-actions {
    margin: 16px 0;
    gap: 10px;
}

.mph-primary,
.mph-secondary {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
}

.mph-search {
    padding: 5px;
}

.mph-search input {
    padding: 8px;
}

.mph-search a {
    width: 36px;
    height: 36px;
}

.mph-categories,
.mph-facts {
    margin-top: 10px;
    gap: 7px;
    font-size: 11px;
}

.mph-categories a {
    padding: 5px 9px;
}

.mph-window {
    max-width: 390px;
    padding: 16px;
    border-radius: 18px;
}

.mph-window-head {
    margin-bottom: 12px;
}

.mph-field {
    padding: 10px;
    margin-bottom: 8px;
}

.mph-result {
    padding: 12px;
    margin-bottom: 10px;
}

.mph-result p {
    font-size: 12px;
    line-height: 1.6;
    margin: 8px 0;
}

.mph-benefits {
    gap: 10px;
}

.mph-benefits a {
    padding: 10px;
}

.mph-benefits strong {
    font-size: 21px;
}

.mph-benefits span {
    font-size: 12px;
}

@media(max-width:950px) {

    .mint-pro-hero {
        grid-template-columns: minmax(0,1fr);
        padding: 26px;
        gap: 18px;
    }

    .mph-window {
        max-width: 420px;
        transform: none;
    }

    .mph-visual {
        padding: 8px 0;
    }

    .mph-benefits {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {

    .mint-pro-hero {
        padding: 20px;
        margin: 12px 0;
        border-radius: 18px;
        gap: 16px;
    }

    .mint-pro-hero h1 {
        font-size: clamp(27px,7.5vw,34px);
    }

    .mph-intro {
        font-size: 14px;
    }

    .mph-description {
        font-size: 13px;
    }

    .mph-actions {
        flex-direction: column;
    }

    .mph-window {
        padding: 12px;
    }

    .mph-benefits a {
        padding: 10px 6px;
    }

    .mph-benefits strong {
        font-size: 18px;
    }

    .mph-benefits span {
        font-size: 11px;
    }
}


/* Premium Productivity Cards */

.utility-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.utility-card {
    position:relative;
    min-width:0;
    padding:22px;
    border-radius:20px;
    border:1px solid #34d39940;
    background:linear-gradient(
        145deg,#142d38,#101d2c
    );
    box-shadow:0 5px 0 #233e44,
               0 12px 24px #0002;
    transition:transform .25s,
               border-color .25s;
}

.utility-card:hover {
    transform:translateY(-5px);
    border-color:#6ee7b7;
}

.utility-card a {
    color:#6ee7b7;
}

.utility-card p {
    line-height:1.7;
    color:#bfd4df;
}

/* Individual Tool Educational Content */

.mint-tool-guide {
    margin:32px 0;
    padding:clamp(20px,4vw,40px);
    border-radius:24px;
    border:1px solid #34d39940;
    background:#132536;
    color:#f1fff9;
}

.mtg-label {
    color:#6ee7b7;
    font-size:11px;
    letter-spacing:2px;
    font-weight:800;
}

.mint-tool-guide h2 {
    font-size:clamp(24px,3vw,34px);
    color:#fff;
    margin:15px 0;
}

.mint-tool-guide h3 {
    font-size:21px;
    color:#a7f3d0;
    margin:28px 0 12px;
}

.mint-tool-guide p,
.mint-tool-guide li {
    color:#c5d9df;
    font-size:15px;
    line-height:1.85;
}

.mtg-steps {
    padding-left:24px;
}

.mtg-steps li {
    margin:12px 0;
}

.mtg-compare {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.mtg-before,.mtg-after {
    padding:20px;
    border-radius:16px;
    overflow-wrap:anywhere;
}

.mtg-before {
    background:#192e45;
    border:1px solid #365675;
}

.mtg-after {
    background:#123d37;
    border:1px solid #6ee7b740;
}

.mtg-before strong {
    color:#93c5fd;
}

.mtg-after strong {
    color:#6ee7b7;
}

.mint-tool-guide details {
    padding:16px;
    margin:12px 0;
    background:#ffffff06;
    border:1px solid #ffffff20;
    border-radius:12px;
}

.mint-tool-guide summary {
    cursor:pointer;
    font-weight:700;
}

.mtg-related {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.mtg-related a {
    padding:14px;
    border:1px solid #34d39940;
    border-radius:12px;
    background:#10b98110;
    color:#6ee7b7;
    font-weight:700;
    text-decoration:none;
}

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

    .mtg-related {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {
    .utility-grid,
    .mtg-compare,
    .mtg-related {
        grid-template-columns:minmax(0,1fr);
    }

    .utility-card {
        padding:18px;
    }

    .mint-tool-guide {
        padding:18px;
        border-radius:18px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .utility-card {
        transition:none;
    }

    .utility-card:hover {
        transform:none;
    }
}


/* Detailed Educational Content */

.utility-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:stretch;
    gap:18px;
}

.utility-card {
    display:flex;
    flex-direction:column;
    padding:22px;
    min-width:0;
}

.utility-card p {
    font-size:14px;
    line-height:1.75;
    color:#c5d9df;
}

.utility-card a:last-child {
    margin-top:auto;
    padding-top:14px;
}

.mint-expanded-guide {
    padding:clamp(20px,4vw,40px);
    margin:30px 0;
    border:1px solid #345465;
    border-radius:24px;
    background:#132536;
    color:#effff8;
    overflow-wrap:anywhere;
}

.mint-expanded-guide h2 {
    font-size:clamp(24px,3vw,34px);
    line-height:1.3;
    color:#ffffff;
}

.mint-expanded-guide h3 {
    color:#6ee7b7;
    font-size:21px;
    margin:30px 0 12px;
}

.mint-expanded-guide p {
    color:#c5d9df;
    font-size:16px;
    line-height:1.85;
    margin:14px 0;
}

.mint-expanded-guide pre {
    padding:20px;
    border-radius:14px;
    background:#0d1726;
    color:#a7f3d0;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

.mint-expanded-guide details {
    border:1px solid #345465;
    border-radius:12px;
    padding:16px;
    margin:12px 0;
    background:#ffffff05;
}

.mint-expanded-guide summary {
    cursor:pointer;
    color:#f1fff9;
    font-weight:700;
}

@media(max-width:1100px) {
    .utility-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

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

    .utility-card {
        padding:18px;
    }

    .mint-expanded-guide {
        padding:18px;
        border-radius:16px;
    }

    .mint-expanded-guide p {
        font-size:15px;
    }
}


/* Expanded productivity cards */

.utility-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    align-items:stretch;
}

.utility-card {
    display:flex;
    flex-direction:column;
    height:auto;
    min-width:0;
    padding:22px;
    text-decoration:none;
}

.utility-card p {
    display:block;
    font-size:14px;
    line-height:1.8;
    color:#c5d9df;
    white-space:normal;
    overflow:visible;
    max-height:none;
    -webkit-line-clamp:unset;
    margin-bottom:16px;
}

.utility-card strong:last-child {
    margin-top:auto;
    color:#6ee7b7;
}

/* Detailed tool pages and FAQ */

.mint-home-faq,
.mint-verified-guide {
    padding:clamp(20px,4vw,36px);
    margin:30px 0;
    border-radius:24px;
    border:1px solid #345465;
    background:linear-gradient(
        135deg,#132536,#101e2d
    );
    color:#f1fff9;
}

.mint-home-faq h2,
.mint-verified-guide h2 {
    font-size:clamp(24px,3vw,34px);
    color:#fff;
}

.mint-home-faq p,
.mint-verified-guide p {
    font-size:15px;
    line-height:1.85;
    color:#c5d9df;
}

.mint-verified-guide h3 {
    color:#6ee7b7;
    margin-top:25px;
}

.mint-home-faq details {
    padding:18px;
    margin:12px 0;
    border:1px solid #345465;
    border-radius:14px;
    background:#ffffff05;
}

.mint-home-faq details[open] {
    border-color:#34d399;
    background:#10b98109;
}

.mint-home-faq summary {
    cursor:pointer;
    font-size:16px;
    font-weight:700;
    color:#f1fff9;
}

.mint-faq-number {
    color:#6ee7b7;
    margin-right:12px;
}

.mint-example-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.mint-example-grid>div {
    padding:20px;
    border:1px solid #345465;
    border-radius:14px;
    background:#0d1726;
    overflow-wrap:anywhere;
}

.mint-example-grid>div:last-child {
    border-color:#34d39966;
    background:#123d37;
}

@media(max-width:1100px) {
    .utility-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

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

    .utility-card,
    .mint-home-faq,
    .mint-verified-guide {
        padding:18px;
        border-radius:16px;
    }

    .mint-home-faq summary {
        font-size:14px;
    }
}



/* MINT PREMIUM GLOBAL START */

/* =========================================
   AIPROMPTMINT PREMIUM GLOBAL DESIGN
========================================= */

:root {
    --mint-glow:#6ee7b7;
    --mint-primary:#10b981;
    --mint-dark:#0d1726;
    --mint-card:#132b37;
}

/* All supported website cards */

:is(
    .utility-card,
    .tool-card,
    .guide-card,
    .prompt-card,
    .feature-card,
    .category-card,
    .blog-card,
    .article-card,
    .resource-card,
    .pi-card,
    .pi-roadmap>a
) {
    position:relative;
    isolation:isolate;
    box-sizing:border-box;
    min-width:0;
    border:1px solid #34d39940 !important;
    border-radius:20px !important;

    background:
        radial-gradient(
            ellipse at top right,
            #10b9810c,
            transparent 60%
        ),
        linear-gradient(
            145deg,
            #142e39,
            #101e2d
        ) !important;

    box-shadow:
        0 5px 0 #24434a,
        0 12px 30px #00000020;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;

    overflow:hidden;
}

/* Premium top border glow */

:is(
    .utility-card,
    .tool-card,
    .guide-card,
    .prompt-card,
    .feature-card,
    .category-card,
    .blog-card,
    .article-card,
    .resource-card,
    .pi-card,
    .pi-roadmap>a
)::before {
    content:"";
    position:absolute;
    top:0;
    left:10%;
    width:80%;
    height:1px;
    background:linear-gradient(
        90deg,
        transparent,
        #6ee7b7,
        transparent
    );
    opacity:.65;
    pointer-events:none;
}

/* Animated shine effect */

:is(
    .utility-card,
    .tool-card,
    .guide-card,
    .prompt-card,
    .feature-card,
    .category-card,
    .blog-card,
    .article-card,
    .resource-card,
    .pi-card,
    .pi-roadmap>a
)::after {
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:55%;
    height:100%;
    background:linear-gradient(
        110deg,
        transparent,
        #ffffff08,
        transparent
    );
    transform:skewX(-20deg);
    pointer-events:none;
    transition:left .65s ease;
}

/* Desktop hover effects */

@media(hover:hover) and (pointer:fine) {

    :is(
        .utility-card,
        .tool-card,
        .guide-card,
        .prompt-card,
        .feature-card,
        .category-card,
        .blog-card,
        .article-card,
        .resource-card,
        .pi-card,
        .pi-roadmap>a
    ):hover {
        transform:translateY(-7px);
        border-color:#6ee7b7 !important;

        box-shadow:
            0 6px 0 #286256,
            0 18px 35px #00000035,
            0 0 24px #10b98118;
    }

    :is(
        .utility-card,
        .tool-card,
        .guide-card,
        .prompt-card,
        .feature-card,
        .category-card,
        .blog-card,
        .article-card,
        .resource-card,
        .pi-card,
        .pi-roadmap>a
    ):hover::after {
        left:160%;
    }
}

/* =========================================
   CARD CONTENT AND ALIGNMENT
========================================= */

.utility-grid {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px !important;
    align-items:stretch;
}

.utility-card {
    display:flex !important;
    flex-direction:column;
    padding:24px !important;
    height:auto;
    text-decoration:none;
}

.utility-card :is(h2,h3,h4) {
    font-size:19px;
    line-height:1.45;
    color:#f1fff9;
    transition:color .25s ease;
}

.utility-card:hover :is(h2,h3,h4) {
    color:#6ee7b7;
}

.utility-card p {
    font-size:14px !important;
    line-height:1.85 !important;
    color:#c5d9df !important;
    margin:12px 0 20px;
    display:block;
    max-height:none;
    overflow:visible;
    white-space:normal;
    overflow-wrap:anywhere;
    -webkit-line-clamp:unset;
}

/* Card call-to-action */

.utility-card>strong:last-child,
.utility-card>.card-link:last-child {
    display:flex;
    align-items:center;
    margin-top:auto;
    padding:12px 15px;
    border:1px solid #34d39940;
    border-radius:10px;
    background:#10b98112;
    color:#6ee7b7 !important;
    font-size:14px;
    font-weight:700;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.utility-card:hover>strong:last-child,
.utility-card:hover>.card-link:last-child {
    background:#087d70;
    color:#ffffff !important;
    border-color:#34d399;
}

/* =========================================
   ANIMATED CARD ICONS
========================================= */

:is(
    .utility-card,
    .tool-card,
    .guide-card,
    .prompt-card,
    .feature-card,
    .category-card,
    .pi-card
) :is(
    .icon,
    .card-icon,
    .utility-icon,
    .tool-icon,
    .guide-icon,
    .feature-icon,
    .pi-icon
) {
    background:linear-gradient(
        135deg,#10b981,#087d70
    );
    border-radius:14px;
    box-shadow:0 6px 16px #10b98125;
    transition:transform .3s ease,
               box-shadow .3s ease;
}

@media(hover:hover) and (pointer:fine) {

    :is(
        .utility-card,
        .tool-card,
        .guide-card,
        .prompt-card,
        .feature-card,
        .category-card,
        .pi-card
    ):hover :is(
        .icon,
        .card-icon,
        .utility-icon,
        .tool-icon,
        .guide-icon,
        .feature-icon,
        .pi-icon
    ) {
        transform:rotate(-7deg) scale(1.10);
        box-shadow:0 8px 20px #10b98140;
    }
}

/* =========================================
   PREMIUM SECTION HEADINGS
========================================= */

:is(
    .section-heading,
    .section-header,
    .section-title,
    .pi-toc-heading
) {
    margin-bottom:25px;
}

:is(
    .section-heading,
    .section-header,
    .pi-panel
)>h2::after {
    content:"";
    display:block;
    width:65px;
    height:3px;
    margin-top:13px;
    border-radius:10px;
    background:linear-gradient(
        90deg,#10b981,#6ee7b7
    );
}

/* =========================================
   FAQ AND EDUCATIONAL SECTIONS
========================================= */

:is(
    .mint-home-faq,
    .mint-verified-guide,
    .mint-learning,
    .pi-panel,
    .pi-toc
) {
    border:1px solid #34d39935;
    border-radius:22px;
    background:linear-gradient(
        145deg,#142a3b,#101e2d
    );
    box-shadow:0 10px 30px #00000018;
    transition:border-color .3s ease;
}

:is(
    .mint-home-faq,
    .mint-verified-guide,
    .mint-learning,
    .pi-panel
):hover {
    border-color:#34d39975;
}

:is(
    .mint-home-faq,
    .studio-faq,
    .pi-guide,
    .mint-learning
) details {
    border:1px solid #345465;
    border-radius:14px;
    transition:
        background .25s ease,
        border-color .25s ease;
}

:is(
    .mint-home-faq,
    .studio-faq,
    .pi-guide,
    .mint-learning
) details[open] {
    background:#10b9810c;
    border-color:#34d399;
}

details[open]>p {
    animation:mintAnswer .3s ease-out;
}

@keyframes mintAnswer {
    from {
        opacity:.6;
        transform:translateY(-4px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================================
   SCROLL ENTRANCE ANIMATION
   Supported browsers only.
========================================= */

@keyframes mintCardReveal {
    from {
        opacity:.7;
        translate:0 18px;
    }
    to {
        opacity:1;
        translate:0 0;
    }
}

@supports (animation-timeline:view()) {

    :is(
        .utility-card,
        .tool-card,
        .guide-card,
        .prompt-card,
        .feature-card,
        .category-card,
        .blog-card,
        .article-card,
        .resource-card,
        .pi-card
    ) {
        animation:mintCardReveal linear both;
        animation-timeline:view();
        animation-range:entry 0% entry 65%;
    }
}

/* =========================================
   KEYBOARD ACCESSIBILITY
========================================= */

:is(
    .utility-card,
    .tool-card,
    .guide-card,
    .prompt-card,
    .feature-card,
    .category-card,
    .pi-card,
    .pi-roadmap>a
):focus-visible {
    outline:2px solid #6ee7b7;
    outline-offset:4px;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media(max-width:1100px) {

    .utility-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
        gap:16px !important;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media(max-width:600px) {

    .utility-grid {
        grid-template-columns:
            minmax(0,1fr);
        gap:15px !important;
    }

    :is(
        .utility-card,
        .tool-card,
        .guide-card,
        .prompt-card,
        .feature-card,
        .category-card,
        .pi-card
    ) {
        border-radius:16px !important;
    }

    .utility-card {
        padding:18px !important;
    }

    .utility-card p {
        font-size:14px !important;
        line-height:1.8 !important;
    }

    .utility-card :is(h2,h3,h4) {
        font-size:18px;
    }

    .utility-card>strong:last-child {
        padding:12px;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

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

    :is(
        .utility-card,
        .tool-card,
        .guide-card,
        .prompt-card,
        .feature-card,
        .category-card,
        .blog-card,
        .article-card,
        .resource-card,
        .pi-card,
        .pi-roadmap>a
    ),
    .pi-guide *,
    .mint-home-faq * {
        animation:none !important;
        transition:none !important;
        transform:none !important;
        translate:none !important;
        opacity:1 !important;
    }
}

/* MINT PREMIUM GLOBAL END */


/* MINT POSITIVE COMPARISON START */

html body .mtg-before,
html body .mtg-after {
    position:relative;
    min-width:0;
    border-radius:18px !important;
    padding:24px !important;
    box-sizing:border-box;
    transition:transform .3s ease,
               box-shadow .3s ease;
}

/* BASIC PROMPT - LIGHT MODE */

html body .mtg-before {
    background:linear-gradient(
        145deg,#eff6ff,#e8f1fc
    ) !important;
    border:1px solid #bfd6ef !important;
    color:#243f60 !important;
}

html body .mtg-before strong {
    color:#245b9b !important;
}

/* ENHANCED PROMPT - LIGHT MODE */

html body .mtg-after {
    background:linear-gradient(
        145deg,#ecfdf5,#dff7ef
    ) !important;
    border:1px solid #a7dfcc !important;
    color:#174c3e !important;
}

html body .mtg-after strong {
    color:#087f70 !important;
}

/* DARK MODE */

html body.dark .mtg-before {
    background:linear-gradient(
        145deg,#192e45,#17283c
    ) !important;
    border:1px solid #365675 !important;
    color:#d1e4f7 !important;
}

html body.dark .mtg-before strong {
    color:#93c5fd !important;
}

html body.dark .mtg-after {
    background:linear-gradient(
        145deg,#143d37,#10332f
    ) !important;
    border:1px solid #286454 !important;
    color:#d1fae5 !important;
}

html body.dark .mtg-after strong {
    color:#6ee7b7 !important;
}

html body .mtg-before p,
html body .mtg-after p {
    color:inherit !important;
    line-height:1.85;
}

/* HEADING ICONS */

html body .mtg-before strong,
html body .mtg-after strong {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:16px;
}

html body .mtg-before strong::before,
html body .mtg-after strong::before {
    display:inline-grid;
    place-items:center;
    width:32px;
    height:32px;
    flex:0 0 32px;
    border-radius:9px;
    font-size:19px;
}

html body .mtg-before strong::before {
    content:"\2630";
    color:#93c5fd;
    background:#2563eb25;
}

html body .mtg-after strong::before {
    content:"\2726";
    color:#10b981;
    background:#10b98125;
}

/* PREMIUM HOVER EFFECT */

@media(hover:hover) {

    html body .mtg-before:hover {
        transform:translateY(-4px);
        box-shadow:0 10px 26px #2563eb18;
    }

    html body .mtg-after:hover {
        transform:translateY(-4px);
        box-shadow:0 10px 26px #10b98118;
    }

}

@media(max-width:600px) {

    html body .mtg-before,
    html body .mtg-after {
        padding:18px !important;
        border-radius:14px !important;
    }

}

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

    html body .mtg-before,
    html body .mtg-after {
        transition:none !important;
        transform:none !important;
    }

}

/* MINT POSITIVE COMPARISON END */

/* MUP TABLE FIX START */

html body .mup-content .mup-table-wrap {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow-x:auto !important;
    border:1px solid #10b98140 !important;
    border-radius:18px !important;
    margin:24px 0 40px !important;
    box-sizing:border-box !important;
}

html body .mup-content table.mup-table {
    display:table !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    table-layout:fixed !important;
    border-collapse:collapse !important;
    border-spacing:0 !important;
    margin:0 !important;
}

html body .mup-content .mup-table thead {
    display:table-header-group !important;
    width:auto !important;
}

html body .mup-content .mup-table tbody {
    display:table-row-group !important;
    width:auto !important;
}

html body .mup-content .mup-table tr {
    display:table-row !important;
    width:auto !important;
}

html body .mup-content .mup-table th,
html body .mup-content .mup-table td {
    display:table-cell !important;
    padding:22px 26px !important;
    vertical-align:middle !important;
    text-align:left !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    font-size:15px !important;
    line-height:1.7 !important;
    border-bottom:1px solid #8098a525 !important;
}

html body .mup-content .mup-table th:nth-child(1),
html body .mup-content .mup-table td:nth-child(1) {
    width:34% !important;
}

html body .mup-content .mup-table th:nth-child(2),
html body .mup-content .mup-table td:nth-child(2) {
    width:33% !important;
}

html body .mup-content .mup-table th:nth-child(3),
html body .mup-content .mup-table td:nth-child(3) {
    width:33% !important;
}

/* PREMIUM TABLE HEADER */

html body .mup-content .mup-table th {
    background:#087f70 !important;
    color:#ffffff !important;
    font-weight:700 !important;
}

/* LIGHT MODE */

html body .mup-content .mup-table tbody tr {
    background:#ffffff !important;
}

html body .mup-content .mup-table tbody tr:nth-child(even) {
    background:#eff8f6 !important;
}

html body .mup-content .mup-table td {
    color:#24384a !important;
}

html body .mup-content .mup-table td:nth-child(2) {
    color:#087f70 !important;
    font-weight:700 !important;
}

/* DARK MODE */

html body.dark .mup-content .mup-table tbody tr {
    background:#101e30 !important;
}

html body.dark .mup-content .mup-table tbody tr:nth-child(even) {
    background:#152638 !important;
}

html body.dark .mup-content .mup-table td {
    color:#dbe8f3 !important;
}

html body.dark .mup-content .mup-table td:nth-child(2) {
    color:#6ee7b7 !important;
}

/* REMOVE LAST ROW BORDER */

html body .mup-content .mup-table tbody tr:last-child td {
    border-bottom:0 !important;
}

/* ROW HOVER */

@media(hover:hover) {

    html body .mup-content .mup-table tbody tr:hover {
        background:#10b98118 !important;
    }

    html body.dark .mup-content .mup-table tbody tr:hover {
        background:#173a40 !important;
    }

}

/* TABLET */

@media(max-width:1000px) {

    html body .mup-content .mup-table th,
    html body .mup-content .mup-table td {
        padding:17px !important;
        font-size:14px !important;
    }

}

/* MOBILE */

@media(max-width:600px) {

    html body .mup-content .mup-table-wrap {
        border-radius:12px !important;
    }

    html body .mup-content table.mup-table {
        min-width:520px !important;
    }

    html body .mup-content .mup-table th,
    html body .mup-content .mup-table td {
        padding:14px !important;
        font-size:13px !important;
    }

}

/* MUP TABLE FIX END */


/* MINT GLOBAL INNER RESPONSIVE FIX START */

html body .msi-guide,
html body .mtg-guide,
html body .mtg-section,
html body .mtg-content,
html body .pi-guide,
html body .mint-guide-article,
html body section:has(> .mtg-label),
html body section:has(.mtg-before):has(.mtg-after) {
    box-sizing: border-box !important;
    width: calc(100% - 64px) !important;
    max-width: 1320px !important;
    min-width: 0 !important;
    margin: 32px auto !important;
}

html body .msi-guide section,
html body .mtg-guide section,
html body .pi-guide section {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

html body .mtg-before,
html body .mtg-after,
html body .msi-card,
html body .pi-card,
html body .pi-example {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
}

html body .mtg-grid,
html body .mtg-compare,
html body .mtg-comparison,
html body .msi-grid,
html body .msi-checks,
html body div:has(> .mtg-before):has(> .mtg-after) {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body .msi-related {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}

.msi-guide pre,
.mtg-guide pre,
.pi-guide pre {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.msi-guide img,
.mtg-guide img,
.pi-guide img {
    max-width: 100%;
    height: auto;
}

.msi-guide table,
.mtg-guide table,
.pi-guide table {
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media(min-width: 1600px) {

    html body .msi-guide,
    html body .mtg-guide,
    html body .pi-guide {
        max-width: 1320px !important;
    }

}

@media(max-width: 1024px) {

    html body .msi-guide,
    html body .mtg-guide,
    html body .mtg-section,
    html body .mtg-content,
    html body .pi-guide,
    html body .mint-guide-article,
    html body section:has(> .mtg-label),
    html body section:has(.mtg-before):has(.mtg-after) {
        width: calc(100% - 40px) !important;
        padding: 24px !important;
    }

    html body .msi-related {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

}

@media(max-width: 700px) {

    html body .msi-guide,
    html body .mtg-guide,
    html body .mtg-section,
    html body .mtg-content,
    html body .pi-guide,
    html body .mint-guide-article,
    html body section:has(> .mtg-label),
    html body section:has(.mtg-before):has(.mtg-after) {
        width: calc(100% - 24px) !important;
        margin: 20px auto !important;
        padding: 20px 16px !important;
        border-radius: 18px !important;
    }

    html body .mtg-grid,
    html body .mtg-compare,
    html body .mtg-comparison,
    html body .msi-grid,
    html body .msi-checks,
    html body .msi-related,
    html body div:has(> .mtg-before):has(> .mtg-after) {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 15px !important;
    }

    html body .mtg-before,
    html body .mtg-after,
    html body .msi-card,
    html body .pi-card {
        width: 100% !important;
        padding: 18px !important;
    }

    html body .msi-guide h2,
    html body .mtg-guide h2,
    html body .pi-guide h2 {
        font-size: 24px !important;
        line-height: 1.4 !important;
        overflow-wrap: anywhere;
    }

    html body .msi-guide p,
    html body .mtg-guide p,
    html body .pi-guide p {
        font-size: 14px !important;
        line-height: 1.85 !important;
    }

}

@media(max-width: 380px) {

    html body .msi-guide,
    html body .mtg-guide,
    html body .pi-guide {
        width: calc(100% - 16px) !important;
        padding: 16px 12px !important;
    }

}

/* MINT GLOBAL INNER RESPONSIVE FIX END */


/* MINT OLD GUIDE TOC FIX START */

html body main .guide-toc {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 20px !important;
    margin: 24px auto !important;
    position: relative !important;
    inset: auto !important;
    border: 1px solid rgba(52,211,153,.22);
    border-radius: 20px;
    background: #10243a;
}

html body main .guide-toc > :not(a) {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
}

html body main .guide-toc > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    color: #d1fae5 !important;
    background: #142e43 !important;
    border: 1px solid rgba(52,211,153,.18);
    border-radius: 12px;
    text-decoration: none !important;
    transition: background .2s ease,
                border-color .2s ease;
}

html body main .guide-toc > a:hover {
    background: #17483e !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
}

html body main .guide-toc > a:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

@media (max-width: 1024px) {

    html body main .guide-toc {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 16px !important;
    }

}

@media (max-width: 600px) {

    html body main .guide-toc {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 12px !important;
        gap: 10px !important;
    }

    html body main .guide-toc > a {
        padding: 12px !important;
        font-size: 14px !important;
    }

}

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

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

}

/* MINT OLD GUIDE TOC FIX END */
