/* ================================
   SINGLE ARTICLE
================================ */

body.single-post{
    background:var(--light-bg);
    color:var(--text-color);
}
body.single-post .container{
    width:87%;
    max-width:1200px;
    margin:auto;
}
body.single-post .site-main{
    background:var(--white);
    padding:35px;
    margin-bottom:40px;
    border:1px solid var(--border-color);
    border-radius:18px;
    box-shadow:0 8px 30px rgba(7,69,184,.06);
}
body.single-post article.post{
    margin:0;
}
body.single-post .post-thumbnail{
    width:100%;
    margin:0 0 30px;
    text-align:center;
    overflow:hidden;
    border-radius:16px;
    background:var(--primary-light);
}
body.single-post .post-thumbnail img.img-fluid.rounded{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    max-height:520px;
    object-fit:cover;
    margin:0 auto;
    border-radius:16px;
    box-shadow:none;
}
body.single-post .entry-header{
    margin:0 0 28px;
    padding:0 0 22px;
    border-bottom:1px solid var(--border-color);
}
body.single-post .entry-title{
    margin:0 0 18px;
    color:var(--text-color)!important;
    font-family:var(--font-family);
    font-size:32px;
    font-weight:800;
    line-height:1.55;
    text-align:right;
}
body.single-post .entry-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px 18px;
    color:var(--muted-color)!important;
    font-family:var(--font-family);
    font-size:13px;
    line-height:1.8;
}
body.single-post .entry-meta span{
    margin:0;
}
body.single-post .entry-meta span+span{
    position:relative;
    padding-right:18px;
}
body.single-post .entry-meta span+span::before{
    content:"";
    position:absolute;
    right:0;
    top:50%;
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--primary-color);
    transform:translateY(-50%);
}
body.single-post .entry-content{
    color:var(--text-color);
    font-family:var(--font-family);
    font-size:16px;
    line-height:2.15;
}
body.single-post .entry-content p{
    margin:0 0 22px;
    text-align:justify;
}
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4{
    color:var(--text-color);
    font-family:var(--font-family);
    font-weight:800;
    line-height:1.6;
    position:relative;
}
body.single-post .entry-content h2{
    font-size:24px;
    margin:40px 0 18px;
    padding-right:14px;
}
body.single-post .entry-content h2::before{
    content:"";
    position:absolute;
    right:0;
    top:5px;
    width:4px;
    height:calc(100% - 10px);
    border-radius:4px;
    background:var(--primary-color);
}
body.single-post .entry-content h3{
    font-size:20px;
    margin:32px 0 14px;
}
body.single-post .entry-content h4{
    font-size:17px;
    margin:25px 0 12px;
}
body.single-post .entry-content a{
    color:var(--primary-color);
    text-decoration:none;
    font-weight:600;
    transition:color .25s ease;
}
body.single-post .entry-content a:hover{
    color:var(--primary-hover);
    text-decoration:underline;
}
body.single-post .entry-content ul,
body.single-post .entry-content ol{
    margin:0 0 25px;
    padding-right:25px;
}
body.single-post .entry-content li{
    margin-bottom:10px;
    padding-right:4px;
}
body.single-post .entry-content li::marker{
    color:var(--primary-color);
}
body.single-post .entry-content img{
    display:block;
    max-width:100%;
    height:auto;
    margin:28px auto;
    border-radius:14px;
}
body.single-post .entry-content figure{
    margin:30px 0;
}
body.single-post .entry-content figcaption{
    margin-top:10px;
    color:var(--muted-color);
    font-size:13px;
    text-align:center;
}
body.single-post .entry-content blockquote{
    margin:30px 0;
    padding:20px 22px;
    border-right:4px solid var(--primary-color);
    border-left:0;
    border-radius:10px;
    background:var(--primary-light);
    color:var(--text-color);
    font-size:17px;
    line-height:2;
}
body.single-post .entry-content blockquote p{
    margin:0;
}
body.single-post .entry-content table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
    overflow:hidden;
    border:1px solid var(--border-color);
    border-radius:10px;
}
body.single-post .entry-content th{
    background:var(--primary-light);
    color:var(--text-color);
    font-weight:700;
}
body.single-post .entry-content th,
body.single-post .entry-content td{
    padding:12px 14px;
    border:1px solid var(--border-color);
    text-align:right;
}
body.single-post .entry-footer{
    margin-top:40px;
    padding-top:24px;
    border-top:1px solid var(--border-color);
}
body.single-post .tags{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    color:var(--muted-color);
    font-family:var(--font-family);
    font-size:13px;
}
body.single-post .tags a{
    display:inline-flex;
    align-items:center;
    padding:6px 12px;
    border-radius:20px;
    background:var(--primary-light);
    color:var(--primary-color);
    text-decoration:none;
    transition:all .25s ease;
}
body.single-post .tags a:hover{
    background:var(--primary-color);
    color:var(--white);
}
body.single-post .post-navigation{
    margin:30px 0 40px;
    padding:20px 0;
    border-top:1px solid var(--border-color);
    border-bottom:1px solid var(--border-color);
}
body.single-post .post-navigation .nav-links{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    gap:15px;
}
body.single-post .post-navigation .nav-links a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 18px;
    border:1px solid var(--border-color);
    border-radius:9px;
    background:var(--white);
    color:var(--text-color);
    font-family:var(--font-family);
    font-size:13px;
    font-weight:600;
    line-height:1.6;
    text-decoration:none;
    transition:all .25s ease;
}
body.single-post .post-navigation .nav-links a:hover{
    border-color:var(--primary-color);
    background:var(--primary-light);
    color:var(--primary-color);
}
body.single-post #commentform{
    margin-top:35px;
    padding:25px;
    background:var(--light-bg);
    border:1px solid var(--border-color);
    border-radius:14px;
    box-shadow:none;
}
body.single-post #commentform input,
body.single-post #commentform textarea{
    width:100%;
    box-sizing:border-box;
    padding:12px 14px;
    margin-bottom:14px;
    border:1px solid var(--border-color);
    border-radius:9px;
    background:var(--white);
    color:var(--text-color);
    font-family:var(--font-family);
    transition:border-color .25s ease,box-shadow .25s ease;
}
body.single-post #commentform input:focus,
body.single-post #commentform textarea:focus{
    outline:none;
    border-color:var(--primary-color);
    box-shadow:0 0 0 3px rgba(7,69,184,.10);
}
body.single-post #commentform input[type="submit"]{
    width:auto;
    margin:5px 0 0;
    padding:11px 24px;
    border:0;
    border-radius:8px;
    background:var(--primary-color);
    color:var(--white);
    font-family:var(--font-family);
    font-weight:700;
    cursor:pointer;
    transition:background .25s ease,transform .25s ease;
}
body.single-post #commentform input[type="submit"]:hover{
    background:var(--primary-hover);
    transform:translateY(-1px);
}

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

@media (max-width:768px){
body.single-post .container{
width:calc(100% - 20px);
}
body.single-post .site-main{
padding:18px;
margin:5px 0 25px;
border-radius:14px;
}
body.single-post .post-thumbnail{
margin-bottom:22px;
border-radius:12px;
}
body.single-post .post-thumbnail img.img-fluid.rounded{
max-height:none;
border-radius:12px;
}
body.single-post .entry-header{
margin-bottom:22px;
padding-bottom:18px;
}
body.single-post .entry-title{
font-size:23px;
line-height:1.65;
margin-bottom:14px;
}
body.single-post .entry-meta{
font-size:11px;
gap:6px 12px;
}
body.single-post .entry-meta span+span{
padding-right:12px;
}
body.single-post .entry-meta span+span::before{
width:4px;
height:4px;
}
body.single-post .entry-content{
font-size:14px;
line-height:2.1;
}
body.single-post .entry-content p{
margin-bottom:18px;
text-align:right;
}
body.single-post .entry-content h2{
font-size:20px;
margin:30px 0 15px;
}
body.single-post .entry-content h3{
font-size:18px;
margin:25px 0 12px;
}
body.single-post .entry-content h4{
font-size:16px;
margin:22px 0 10px;
}
body.single-post .entry-content blockquote{
margin:24px 0;
padding:15px 16px;
font-size:14px;
line-height:2;
}
body.single-post .entry-content ul,
body.single-post .entry-content ol{
padding-right:20px;
}
body.single-post .entry-content img{
margin:22px auto;
border-radius:10px;
}
body.single-post .entry-footer{
margin-top:30px;
padding-top:20px;
}
body.single-post .post-navigation{
margin:25px 0 30px;
}
body.single-post .post-navigation .nav-links{
flex-direction:column;
gap:10px;
}
body.single-post .post-navigation .nav-links a{
width:100%;
box-sizing:border-box;
font-size:12px;
}
body.single-post #commentform{
padding:18px;
border-radius:12px;
}
}