/*
 * DEADKOP PRO 4.36.1 — article typography and content stability
 * Loaded last. It intentionally overrides old duplicated article rules.
 */

.single-post .single-content,
.single-post .entry-content,
.single-post .post-content,
.single-post .single-article-content{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    color:#d7e6f8!important;
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:clamp(17px,1.25vw,20px)!important;
    font-weight:450!important;
    line-height:1.78!important;
    letter-spacing:-.006em!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

.single-post .single-content > :first-child,
.single-post .entry-content > :first-child,
.single-post .post-content > :first-child,
.single-post .single-article-content > :first-child{margin-top:0!important}
.single-post .single-content > :last-child,
.single-post .entry-content > :last-child,
.single-post .post-content > :last-child,
.single-post .single-article-content > :last-child{margin-bottom:0!important}

.single-post .single-content p,
.single-post .entry-content p,
.single-post .post-content p,
.single-post .single-article-content p{
    min-height:0!important;
    width:auto!important;
    max-width:none!important;
    margin:0 0 1.2em!important;
    padding:0!important;
    color:#d7e6f8!important;
    font:inherit!important;
    line-height:inherit!important;
    white-space:normal!important;
}

.single-post .single-content p:empty,
.single-post .entry-content p:empty,
.single-post .post-content p:empty,
.single-post .single-article-content p:empty,
.single-post .single-content p:has(>br:only-child),
.single-post .entry-content p:has(>br:only-child),
.single-post .post-content p:has(>br:only-child),
.single-post .single-article-content p:has(>br:only-child),
.single-post .single-content > br,
.single-post .entry-content > br,
.single-post .post-content > br,
.single-post .single-article-content > br{display:none!important}

.single-post .single-content h2,
.single-post .entry-content h2,
.single-post .post-content h2,
.single-post .single-article-content h2{
    margin:1.85em 0 .62em!important;
    color:#fff!important;
    font-size:clamp(28px,3vw,38px)!important;
    font-weight:950!important;
    line-height:1.16!important;
    letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
    scroll-margin-top:120px;
}

.single-post .single-content h3,
.single-post .entry-content h3,
.single-post .post-content h3,
.single-post .single-article-content h3{
    margin:1.55em 0 .58em!important;
    color:#f3f8ff!important;
    font-size:clamp(23px,2.2vw,29px)!important;
    font-weight:900!important;
    line-height:1.22!important;
    letter-spacing:-.025em!important;
    overflow-wrap:anywhere!important;
    scroll-margin-top:120px;
}

.single-post .single-content h4,
.single-post .entry-content h4,
.single-post .post-content h4,
.single-post .single-article-content h4{
    margin:1.35em 0 .5em!important;
    color:#eaf4ff!important;
    font-size:clamp(20px,1.8vw,24px)!important;
    font-weight:850!important;
    line-height:1.28!important;
}

.single-post .single-content strong,
.single-post .entry-content strong,
.single-post .post-content strong,
.single-post .single-article-content strong{color:#fff!important;font-weight:850!important}
.single-post .single-content em,
.single-post .entry-content em,
.single-post .post-content em,
.single-post .single-article-content em{color:#c9ddf2!important}

.single-post .single-content a,
.single-post .entry-content a,
.single-post .post-content a,
.single-post .single-article-content a{
    color:#55c9ff!important;
    font-weight:780!important;
    text-decoration:underline!important;
    text-decoration-color:rgba(85,201,255,.48)!important;
    text-decoration-thickness:1.5px!important;
    text-underline-offset:3px!important;
    overflow-wrap:anywhere!important;
}
.single-post .single-content a:hover,
.single-post .entry-content a:hover,
.single-post .post-content a:hover,
.single-post .single-article-content a:hover{color:#9ae4ff!important;text-decoration-color:currentColor!important}

.single-post .single-content ul,
.single-post .single-content ol,
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .post-content ul,
.single-post .post-content ol,
.single-post .single-article-content ul,
.single-post .single-article-content ol{
    min-height:0!important;
    margin:1.1em 0 1.45em!important;
    padding:0 0 0 1.45em!important;
    color:#d7e6f8!important;
}
.single-post .single-content li,
.single-post .entry-content li,
.single-post .post-content li,
.single-post .single-article-content li{
    min-height:0!important;
    margin:.45em 0!important;
    padding-left:.28em!important;
    color:#d7e6f8!important;
    line-height:1.62!important;
}
.single-post .single-content li::marker,
.single-post .entry-content li::marker,
.single-post .post-content li::marker,
.single-post .single-article-content li::marker{color:#36c7ff;font-weight:900}

/* Plain multi-line blocks pasted from ChatGPT become compact feature/check lists. */
.single-post .single-content .dk-tech-list,
.single-post .entry-content .dk-tech-list,
.single-post .post-content .dk-tech-list,
.single-post .single-article-content .dk-tech-list{
    display:grid!important;
    gap:9px!important;
    margin:1.25em 0 1.55em!important;
    padding:15px!important;
    list-style:none!important;
    border:1px solid rgba(80,177,255,.18)!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,rgba(8,27,54,.88),rgba(5,17,35,.86))!important;
    box-shadow:0 16px 44px rgba(0,0,0,.16)!important;
}
.single-post .single-content .dk-tech-list li,
.single-post .entry-content .dk-tech-list li,
.single-post .post-content .dk-tech-list li,
.single-post .single-article-content .dk-tech-list li{
    position:relative!important;
    margin:0!important;
    padding:10px 12px 10px 38px!important;
    border:1px solid rgba(111,174,232,.10)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.025)!important;
    color:#dff2ff!important;
    font-family:inherit!important;
    font-size:.92em!important;
    font-weight:700!important;
    line-height:1.42!important;
    white-space:normal!important;
}
.single-post .single-content .dk-tech-list li:before,
.single-post .entry-content .dk-tech-list li:before,
.single-post .post-content .dk-tech-list li:before,
.single-post .single-article-content .dk-tech-list li:before{
    content:"✓";
    position:absolute;
    left:13px;
    top:10px;
    display:grid;
    place-items:center;
    width:17px;
    height:17px;
    border-radius:6px;
    background:linear-gradient(135deg,#0aa8ff,#3978ff);
    color:#fff;
    font-size:10px;
    font-weight:950;
}

.single-post .single-content blockquote,
.single-post .entry-content blockquote,
.single-post .post-content blockquote,
.single-post .single-article-content blockquote{
    position:relative!important;
    min-height:0!important;
    margin:1.25em 0 1.45em!important;
    padding:16px 18px 16px 22px!important;
    border:1px solid rgba(68,184,255,.18)!important;
    border-left:4px solid #22bfff!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,rgba(0,183,255,.09),rgba(65,102,210,.055))!important;
    box-shadow:none!important;
    color:#dff2ff!important;
    font-family:inherit!important;
    font-size:1em!important;
    font-style:normal!important;
    font-weight:650!important;
    line-height:1.62!important;
}
.single-post .single-content blockquote p,
.single-post .entry-content blockquote p,
.single-post .post-content blockquote p,
.single-post .single-article-content blockquote p{margin:0!important;color:inherit!important;font:inherit!important}

.single-post .single-content pre,
.single-post .entry-content pre,
.single-post .post-content pre,
.single-post .single-article-content pre{
    display:block!important;
    min-height:0!important;
    max-height:none!important;
    width:100%!important;
    max-width:100%!important;
    margin:1.25em 0 1.55em!important;
    padding:18px 20px!important;
    overflow:auto!important;
    border:1px solid rgba(86,167,240,.18)!important;
    border-radius:16px!important;
    background:linear-gradient(180deg,#07172d,#061226)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
    color:#d7ebff!important;
    font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace!important;
    font-size:clamp(14px,1.1vw,16px)!important;
    font-weight:600!important;
    line-height:1.62!important;
    letter-spacing:0!important;
    tab-size:4!important;
    white-space:pre-wrap!important;
    word-break:break-word!important;
    overflow-wrap:anywhere!important;
}
.single-post .single-content pre code,
.single-post .entry-content pre code,
.single-post .post-content pre code,
.single-post .single-article-content pre code{
    display:block!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    font:inherit!important;
    white-space:inherit!important;
}
.single-post .single-content :not(pre)>code,
.single-post .entry-content :not(pre)>code,
.single-post .post-content :not(pre)>code,
.single-post .single-article-content :not(pre)>code{
    padding:.18em .42em!important;
    border:1px solid rgba(86,167,240,.16)!important;
    border-radius:7px!important;
    background:rgba(13,39,71,.82)!important;
    color:#aee6ff!important;
    font-family:"SFMono-Regular",Consolas,monospace!important;
    font-size:.88em!important;
}

.single-post .single-content figure,
.single-post .entry-content figure,
.single-post .post-content figure,
.single-post .single-article-content figure{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:1.6em auto!important;
    padding:0!important;
    clear:both!important;
}
.single-post .single-content img,
.single-post .entry-content img,
.single-post .post-content img,
.single-post .single-article-content img{
    display:block!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
    border-radius:18px!important;
    object-fit:cover!important;
}
.single-post .single-content figcaption,
.single-post .entry-content figcaption,
.single-post .post-content figcaption,
.single-post .single-article-content figcaption{
    margin:10px auto 0!important;
    max-width:92%!important;
    color:#8faac5!important;
    font-size:13px!important;
    line-height:1.5!important;
    text-align:center!important;
}

.single-post .single-content iframe,
.single-post .single-content video,
.single-post .entry-content iframe,
.single-post .entry-content video,
.single-post .post-content iframe,
.single-post .post-content video,
.single-post .single-article-content iframe,
.single-post .single-article-content video{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:1.6em auto!important;
    border:0!important;
    border-radius:18px!important;
    background:#030912!important;
}
.single-post .single-content iframe,
.single-post .entry-content iframe,
.single-post .post-content iframe,
.single-post .single-article-content iframe{aspect-ratio:16/9!important;height:auto!important;min-height:0!important}

.single-post .single-content table,
.single-post .entry-content table,
.single-post .post-content table,
.single-post .single-article-content table{
    display:table!important;
    width:100%!important;
    max-width:100%!important;
    margin:1.4em 0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    overflow:hidden!important;
    border:1px solid rgba(107,166,225,.17)!important;
    border-radius:14px!important;
    background:rgba(6,20,40,.72)!important;
    color:#dceeff!important;
    font-size:.9em!important;
}
.single-post .single-content th,
.single-post .single-content td,
.single-post .entry-content th,
.single-post .entry-content td,
.single-post .post-content th,
.single-post .post-content td,
.single-post .single-article-content th,
.single-post .single-article-content td{padding:11px 13px!important;border-bottom:1px solid rgba(107,166,225,.10)!important;text-align:left!important;vertical-align:top!important}
.single-post .single-content th,
.single-post .entry-content th,
.single-post .post-content th,
.single-post .single-article-content th{background:rgba(27,100,165,.16)!important;color:#fff!important;font-weight:850!important}

.single-post .single-content hr,
.single-post .entry-content hr,
.single-post .post-content hr,
.single-post .single-article-content hr{
    height:1px!important;
    margin:2em 0!important;
    border:0!important;
    background:linear-gradient(90deg,transparent,rgba(65,189,255,.42),transparent)!important;
}

/* Neutralize pasted inline layout properties that previously produced giant gaps. */
.single-post .single-content p,
.single-post .single-content div,
.single-post .single-content span,
.single-post .single-content blockquote,
.single-post .single-content pre,
.single-post .single-content ul,
.single-post .single-content ol,
.single-post .single-content li{max-height:none!important;float:none!important;clear:none!important}

@media(max-width:1050px){
    .single-post .single-content-card{padding:clamp(24px,4.5vw,38px)!important}
}

@media(max-width:720px){
    .single-post .single-content,
    .single-post .entry-content,
    .single-post .post-content,
    .single-post .single-article-content{font-size:17px!important;line-height:1.72!important}
    .single-post .single-content h2,
    .single-post .entry-content h2,
    .single-post .post-content h2,
    .single-post .single-article-content h2{font-size:28px!important;margin-top:1.65em!important}
    .single-post .single-content h3,
    .single-post .entry-content h3,
    .single-post .post-content h3,
    .single-post .single-article-content h3{font-size:23px!important}
    .single-post .single-content blockquote,
    .single-post .entry-content blockquote,
    .single-post .post-content blockquote,
    .single-post .single-article-content blockquote{padding:14px 15px 14px 18px!important;border-radius:12px!important}
    .single-post .single-content pre,
    .single-post .entry-content pre,
    .single-post .post-content pre,
    .single-post .single-article-content pre{padding:15px!important;border-radius:13px!important;font-size:13px!important}
    .single-post .single-content .dk-tech-list,
    .single-post .entry-content .dk-tech-list,
    .single-post .post-content .dk-tech-list,
    .single-post .single-article-content .dk-tech-list{padding:11px!important;border-radius:15px!important}
    .single-post .single-content table,
    .single-post .entry-content table,
    .single-post .post-content table,
    .single-post .single-article-content table{display:block!important;overflow-x:auto!important;white-space:nowrap!important}
}
