/* =====================================================
SINGLE POST
===================================================== */

.abhira-single-post{
    background:#f7f7f8;
    padding:40px 0 100px;
}

.single-container{
    max-width:1440px;
    margin:auto;
    padding:0 24px;
}

.single-layout{
    display:grid;
    grid-template-columns:260px minmax(0, 820px) 300px;
    gap:40px;
    align-items:start;
}

/* =====================================================
READING BAR
===================================================== */

.reading-progress{
    position:fixed;
    top:0;
    left:0;
    width:0%;
    height:3px;
    background:#111;
    z-index:9999;
}

/* =====================================================
STICKY
===================================================== */

.sticky-sidebar{
    position:sticky;
    top:120px;
}

/* =====================================================
SIDEBAR BOXES
===================================================== */

.toc-box,
.share-box,
.sidebar-card,
.newsletter-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:24px;
    padding:24px;
    margin-bottom:24px;
}

.sidebar-label{
    display:block;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#888;
    margin-bottom:20px;
    font-weight:700;
}

/* =====================================================
TOC
===================================================== */

#table-of-contents ul{
    display:flex;
    flex-direction:column;
    gap:14px;
}

#table-of-contents a{
    color:#666;
    font-size:14px;
    line-height:1.6;
    transition:0.3s;
}

#table-of-contents a:hover{
    color:#000;
    padding-left:6px;
}

/* =====================================================
SHARE
===================================================== */

.share-links{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.share-links a{
    color:#444;
    font-weight:600;
}

/* =====================================================
MAIN ARTICLE
===================================================== */

.single-article{
    background:#fff;
    border-radius:32px;
    padding:40px;
    border:1px solid #ececec;
}

/* =====================================================
CATEGORY
===================================================== */

.post-category{
    margin-bottom:24px;
}

.post-category a{
    background:#111;
    color:#fff;
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}

/* =====================================================
TITLE
===================================================== */

.post-title{
    font-size:48px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-2px;
    margin-bottom:28px;
    color:#111;
}

/* =====================================================
META
===================================================== */

.post-meta{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:40px;
    color:#777;
    font-size:14px;
}

/* =====================================================
SUMMARY BOX
===================================================== */

.post-summary-box{
    background:#f5f7fb;
    border-radius:24px;
    padding:30px;
    margin-bottom:40px;
}

.post-summary-box h3{
    margin-bottom:18px;
    font-size:22px;
}

.post-summary-box ul{
    padding-left:18px;
}

.post-summary-box li{
    margin-bottom:12px;
}
.sidebar-card ul {
    padding-left: 20px;
}
/* =====================================================
FEATURED IMAGE
===================================================== */

.post-featured-image{
    margin-bottom:50px;
}

.post-featured-image img{
    width:100%;
    border-radius:28px;
    display:block;
    height:auto;
}

/* =====================================================
CONTENT
===================================================== */

.post-content{
    font-size:18px;
    line-height:1.9;
    color:#444;
}

.post-content h2{
    font-size:42px;
    line-height:1.2;
    margin-top:80px;
    margin-bottom:24px;
    color:#111;
}

.post-content h3{
    font-size:32px;
    margin-top:60px;
    margin-bottom:18px;
    color:#111;
}

.post-content p{
    margin-bottom:24px;
}

.post-content img{
    border-radius:24px;
    margin:40px 0;
}

.post-content pre{
    background:#0f172a;
    color:#fff;
    padding:28px;
    border-radius:24px;
    overflow:auto;
    margin:40px 0;
}

.post-content code{
    font-size:15px;
}

/* =====================================================
TAGS
===================================================== */

.post-tags{
    margin-top:50px;
}

.post-tags a{
    display:inline-block;
    background:#f3f3f3;
    padding:10px 16px;
    border-radius:999px;
    margin:6px;
    color:#333;
    font-size:14px;
}

/* =====================================================
AUTHOR BOX
===================================================== */

.author-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:32px;
    padding:34px;
    display:flex;
    gap:28px;
    align-items:flex-start;
    margin-top:50px;
}

.author-avatar{
    flex-shrink:0;
}

.author-avatar img{
    width:100px;
    height:100px;
    border-radius:50%;
}

.author-content{
    flex:1;
}
.author-label{
    display:inline-block;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#888;
    margin-bottom:12px;
    font-weight:700;
}

.author-name{
    font-size:30px;
    margin-bottom:16px;
    line-height:1.2;
}

.author-name a{
    color:#111;
    text-decoration:none;
}

.author-bio{
    color:#666;
    line-height:1.9;
    margin-bottom:24px;
    max-width:700px;
}

.author-socials{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.author-socials a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:42px;
    padding:0 18px;
    background:#f5f5f5;
    border-radius:999px;
    color:#111;
    font-size:14px;
    font-weight:600;
    transition:0.3s;
}

.author-socials a:hover{
    background:#111;
    color:#fff;
}

@media(max-width:768px){

    .author-box{
        flex-direction:column;
        padding:30px;
    }

    .author-name{
        font-size:24px;
    }
}

/* =====================================================
RELATED
===================================================== */
/* =====================================================
RELATED POSTS
===================================================== */

.related-posts{
    margin-top:100px;
    width:100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 32px;
    padding: 34px;
    gap: 28px;
    align-items: flex-start;
    margin-top: 50px;
}

.section-heading{
    margin-bottom:50px;
}

.section-mini-title{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1.5px;
    color:#777;
    margin-bottom:14px;
}

.section-heading h2{
    font-size:32px;
    line-height:1.05;
    letter-spacing:-2px;
    color:#111;
    margin:0;
}

/* =====================================================
RELATED GRID
===================================================== */

.related-slider{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
    width:100%;
    align-items:stretch;
}

/* =====================================================
CARD
===================================================== */

.related-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:30px;
    overflow:hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    display:flex;
    flex-direction:column;
    height:100%;
    position:relative;
}

.related-card:hover{
    transform:translateY(-10px);
    border-color:#e3e3e3;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.03),
        0 20px 50px rgba(0,0,0,0.08);
}

/* =====================================================
IMAGE
===================================================== */

.related-thumb{
    display:block;
    position:relative;
    overflow:hidden;
}

.related-thumb img{
    width:100%;
    height:auto;
    object-fit:cover;
    display:block;
    transition:transform 0.5s ease;
}

.related-card:hover .related-thumb img{
    transform:scale(1.04);
}

/* =====================================================
CONTENT
===================================================== */

.related-content{
    padding:30px;
    display:flex;
    flex-direction:column;
    flex:1;
}

/* =====================================================
CATEGORY
===================================================== */

.related-category{
    margin-bottom:18px;
}

.related-category a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 14px;
    background:#f5f5f5;
    border-radius:999px;
    color:#555;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.5px;
    transition:0.3s ease;
}

.related-category a:hover{
    background:#111;
    color:#fff;
}

/* =====================================================
TITLE
===================================================== */

.related-content h3{
    margin:0 0 18px;
    font-size:18px;
    line-height:1.3;
    font-weight:700;
    letter-spacing:-0.5px;
}

.related-content h3 a{
    color:#111;
    text-decoration:none;
    transition:0.3s ease;
}

.related-content h3 a:hover{
    color:#555;
}

/* =====================================================
EXCERPT
===================================================== */

.related-content p{
    color:#666;
    line-height:1.9;
    font-size:16px;
    margin-bottom:30px;
    flex:1;
}

/* =====================================================
BUTTON
===================================================== */

.read-more-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:15px;
    font-weight:700;
    color:#111;
    text-decoration:none;
    transition:0.3s ease;
}

.read-more-btn:hover{
    gap:16px;
}

/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:1200px){

    .related-slider{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .section-heading h2{
        font-size:42px;
    }
}

@media(max-width:768px){

    .related-posts{
        margin-top:70px;
    }

    .related-slider{
        grid-template-columns:1fr;
        gap:24px;
    }

    .section-heading{
        margin-bottom:36px;
    }

    .section-heading h2{
        font-size:34px;
        letter-spacing:-1px;
    }

    .related-thumb img{
        height:220px;
    }

    .related-content{
        padding:24px;
    }

    .related-content h3{
        font-size:24px;
    }

    .related-content p{
        font-size:15px;
    }
}
/* =====================================================
RIGHT SIDEBAR
===================================================== */

.sidebar-card ul{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.sidebar-card a{
    color:#444;
    font-weight:600;
}

/* =====================================================
NEWSLETTER
===================================================== */

.newsletter-tag{
    display:inline-block;
    background:#111;
    color:#fff;
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    margin-bottom:18px;
}

.newsletter-box h3{
    font-size:30px;
    line-height:1.2;
    margin-bottom:16px;
}

.newsletter-box p{
    color:#666;
    line-height:1.7;
    margin-bottom:24px;
}

.newsletter-box form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.newsletter-box input{
    width:100%;
    height:56px;
    border-radius:16px;
    border:1px solid #ddd;
    padding:0 18px;
    font-size:15px;
}

.newsletter-box button{
    height:56px;
    border:none;
    border-radius:16px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
}

/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:1200px){

    .single-layout{
        grid-template-columns:1fr;
    }

    .post-left-sidebar,
    .post-right-sidebar{
        display:none;
    }

    .post-main-content{
        max-width:900px;
        width:100%;
        margin:auto;
        overflow-x: hidden;
    }
}

@media(max-width:768px){

    .single-article{
        padding:30px;
        border-radius:24px;
    }

    .post-title{
        font-size:28px;
    }

    .post-content h2{
        font-size:32px;
    }

    .related-slider{
        grid-template-columns:1fr;
    }

    .author-box{
        flex-direction:column;
    }
}