.mta-content{
    background:#f5f5f5;
    color:#111;
}

body.single-post .site-content .ast-container,
body.page .site-content .ast-container{
    max-width:none;
    padding-left:0;
    padding-right:0;
}

.mta-content-container{
    width:100%;
    max-width:1240px;
    margin:0 auto;
    padding:32px 16px 56px;
}

.mta-single-layout{
    display:grid;
    grid-template-columns:minmax(0, 780px) minmax(320px, 360px);
    gap:32px;
    align-items:start;
    justify-content:center;
}

.mta-single-main{
    min-width:0;
}

.mta-article{
    width:100%;
    margin:0;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(15,23,42,0.04);
}

.mta-reading-progress{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:9999;
    height:3px;
    background:transparent;
}

.mta-reading-progress span{
    display:block;
    width:100%;
    height:100%;
    background:#e10600;
    transform:scaleX(0);
    transform-origin:left center;
}

.mta-article-header{
    padding:34px 34px 22px;
}

.mta-article-category{
    display:inline-block;
    margin-bottom:12px;
    color:#e10600;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.mta-article-title{
    margin:0;
    color:#111;
    font-size:clamp(34px, 5vw, 58px);
    line-height:1.05;
    font-weight:900;
    letter-spacing:0;
}

.mta-article-deck{
    max-width:760px;
    margin:16px 0 0;
    color:#4b5563;
    font-size:20px;
    line-height:1.55;
}

.mta-article-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    margin-top:16px;
    color:#5f6368;
    font-size:14px;
    font-weight:600;
}

.mta-single-sidebar{
    position:sticky;
    top:24px;
    display:grid;
    gap:16px;
}

.mta-sidebar-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:18px;
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
}

.mta-sidebar-kicker{
    display:block;
    margin-bottom:6px;
    color:#e10600;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.mta-sidebar-card h2{
    margin:0 0 14px;
    color:#111;
    font-size:18px;
    line-height:1.2;
}

.mta-sidebar-share{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-bottom:8px;
}

.mta-sidebar-share a,
.mta-sidebar-card .mta-copy-link{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 10px;
    color:#111;
    background:#f3f4f6;
    border:1px solid #e5e7eb;
    border-radius:6px;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}

.mta-sidebar-card .mta-copy-link{
    width:100%;
}

.mta-sidebar-share a:hover,
.mta-sidebar-card .mta-copy-link:hover{
    background:#111;
    color:#fff;
}

.mta-sidebar-trending ol{
    margin:0;
    padding:0;
    list-style:none;
    counter-reset:mtaTrending;
}

.mta-sidebar-trending li{
    counter-increment:mtaTrending;
    display:grid;
    grid-template-columns:28px 1fr;
    gap:10px;
    padding:12px 0;
    border-top:1px solid #eef0f3;
}

.mta-sidebar-trending li:first-child{
    border-top:none;
}

.mta-sidebar-trending li::before{
    content:counter(mtaTrending);
    color:#e10600;
    font-size:20px;
    font-weight:900;
    line-height:1;
}

.mta-sidebar-trending a{
    color:#111;
    font-size:14px;
    font-weight:800;
    line-height:1.35;
    text-decoration:none;
}

.mta-sidebar-trending a:hover{
    color:#b80500;
}

.mta-ad-sidebar{
    min-height:280px;
    margin:0;
}

.mta-ad-article,
.mta-ad-sidebar{
    background:#f8fafc;
    border:1px dashed #cbd5e1;
}

.mta-ad-article:empty,
.mta-ad-sidebar:empty{
    display:none;
}

.mta-sidebar-fx .mta-exchange-card{
    background:#0f172a;
}

.mta-sharebar{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:18px;
}

.mta-sharebar a,
.mta-sharebar button{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    color:#111;
    background:#f3f4f6;
    border:1px solid #e5e7eb;
    border-radius:6px;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}

.mta-sharebar a:hover,
.mta-sharebar button:hover{
    background:#111;
    color:#fff;
}

.mta-article-image{
    margin:0;
    background:#e5e7eb;
}

.mta-article-image img{
    width:100%;
    height:auto;
    display:block;
}

.mta-article-image figcaption{
    padding:10px 34px 0;
    color:#666;
    font-size:12px;
}

.mta-article-body{
    padding:26px 34px 38px;
    color:#1f2933;
    font-size:18px;
    line-height:1.75;
}

.mta-toc{
    margin:0 34px 8px;
    padding:16px 18px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:8px;
}

.mta-toc strong{
    display:block;
    margin-bottom:8px;
    color:#111;
}

.mta-toc ol{
    margin:0;
    padding-left:20px;
}

.mta-toc li{
    margin:6px 0;
}

.mta-toc a{
    color:#b80500;
    font-weight:700;
    text-decoration:none;
}

.mta-article-body > *:first-child{
    margin-top:0;
}

.mta-article-body p,
.mta-article-body ul,
.mta-article-body ol,
.mta-article-body blockquote{
    margin:0 0 1.35em;
}

.mta-article-body h2,
.mta-article-body h3,
.mta-article-body h4{
    margin:1.6em 0 .65em;
    color:#111;
    line-height:1.2;
}

.mta-article-body h2{
    font-size:30px;
}

.mta-article-body h3{
    font-size:24px;
}

.mta-article-body a{
    color:#b80500;
    text-decoration:underline;
    text-underline-offset:3px;
}

.mta-article-body img{
    max-width:100%;
    height:auto;
    border-radius:6px;
}

.mta-article-body blockquote{
    padding:16px 20px;
    border-left:4px solid #e10600;
    background:#f8fafc;
    color:#111;
    font-weight:650;
}

.mta-page-links,
.mta-article-tags,
.mta-author-box,
.mta-related{
    padding:0 34px 30px;
}

.mta-post-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    padding:0 34px 34px;
}

.mta-post-nav a{
    min-height:100%;
    display:block;
    padding:16px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:8px;
    color:#111;
    text-decoration:none;
}

.mta-post-nav span{
    display:block;
    margin-bottom:6px;
    color:#666;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.mta-post-nav strong{
    display:block;
    line-height:1.35;
}

.mta-article-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    color:#666;
}

.mta-article-tags a{
    display:inline-flex;
    padding:6px 10px;
    background:#f3f4f6;
    border-radius:6px;
    color:#111;
    font-size:13px;
    font-weight:700;
}

.mta-author-box{
    margin:0 34px 30px;
    padding:18px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:8px;
}

.mta-author-box strong{
    display:block;
    margin-bottom:6px;
}

.mta-author-box p{
    margin:0;
    color:#5f6368;
}

.mta-related{
    border-top:1px solid #e5e7eb;
    padding-top:28px;
}

.mta-related h2{
    margin:0 0 18px;
    color:#111;
    font-size:24px;
}

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

.mta-comments-wrap{
    max-width:780px;
    margin:28px auto 0;
    padding:28px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    box-shadow:0 8px 24px rgba(15,23,42,0.04);
}

.mta-ad-article{
    margin:0 34px 24px;
    min-height:250px;
}

.mta-page-article{
    max-width:920px;
}

@media(max-width:1080px){
    .mta-single-layout{
        grid-template-columns:1fr;
        max-width:780px;
        margin:0 auto;
    }

    .mta-single-sidebar{
        position:static;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .mta-sidebar-trending,
    .mta-sidebar-fx{
        grid-column:1 / -1;
    }
}

@media(max-width:800px){
    .mta-content-container{
        padding:18px 12px 42px;
    }

    .mta-article-header,
    .mta-article-body,
    .mta-page-links,
    .mta-article-tags,
    .mta-related,
    .mta-post-nav{
        padding-left:18px;
        padding-right:18px;
    }

    .mta-author-box,
    .mta-ad-article,
    .mta-toc{
        margin-left:18px;
        margin-right:18px;
    }

    .mta-article-body{
        font-size:17px;
    }

    .mta-related-grid{
        grid-template-columns:1fr;
    }

    .mta-post-nav{
        grid-template-columns:1fr;
    }

    .mta-article-deck{
        font-size:18px;
    }

    .mta-comments-wrap{
        padding:18px;
    }

    .mta-single-sidebar{
        grid-template-columns:1fr;
    }
}
