/* ==========================================================================
   SINGLE ARTICLE STYLES & TYPOGRAPHY
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #e91e63 0%, #ffeb3b 50%, #00bcd4 100%);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* Breadcrumbs */
.bhaiyyantop-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

.bhaiyyantop-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.bhaiyyantop-breadcrumbs a {
    color: #00bcd4;
    font-weight: 600;
    text-decoration: none;
}

.bhaiyyantop-breadcrumbs a:hover {
    color: #e91e63;
}

.bhaiyyantop-breadcrumbs .separator {
    color: #94a3b8;
    font-size: 11px;
}

.bhaiyyantop-breadcrumbs .active {
    color: #64748b;
    font-weight: 600;
}

/* Article Container & Header */
.single-article-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.single-article-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.35;
    color: #0f172a;
    margin: 12px 0 16px;
    letter-spacing: -0.5px;
}

.single-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #64748b;
}

.single-meta-bar .byline a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.single-meta-bar .byline a:hover {
    color: #e91e63;
}

.single-meta-badge {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    color: #334155;
}

/* Sticky Social Share Bar */
.single-content-wrapper {
    display: flex;
    gap: 30px;
    position: relative;
}

.bhaiyyantop-social-share {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 100px;
    height: fit-content;
    z-index: 10;
}

.share-label {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.share-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter  { background: #000000; }
.share-btn.telegram { background: #0088cc; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.copy-link { background: #64748b; }

/* Single Article Body Typography */
.single-post-content {
    flex-grow: 1;
    font-size: 19px;
    line-height: 1.8;
    color: #1e293b;
}

.single-post-content p {
    margin-bottom: 22px;
}

.single-post-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 32px 0 16px;
    color: #0f172a;
    border-left: 5px solid #00bcd4;
    padding-left: 12px;
}

.single-post-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 28px 0 14px;
    color: #0f172a;
}

.single-post-content blockquote {
    background: #f8fafc;
    border-left: 5px solid #e91e63;
    padding: 20px 25px;
    margin: 28px 0;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    font-size: 20px;
    font-weight: 600;
    color: #334155;
}

.single-post-content .pull-quote {
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
    border: 2px solid #ffeb3b;
    padding: 22px;
    margin: 30px 0;
    border-radius: 4px;
    font-size: 21px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
}

.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 16px;
}

.single-post-content th,
.single-post-content td {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.single-post-content th {
    background: #00bcd4;
    color: #ffffff;
    font-weight: 800;
}

.single-featured-image {
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.single-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

/* Author Box */
.bhaiyyantop-author-box {
    background: #f8fafc;
    border-radius: 4px;
    padding: 25px;
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #e91e63;
}

.author-box-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffeb3b;
}

.author-box-name a {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
}

.author-box-role {
    font-size: 13px;
    color: #00bcd4;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-box-bio {
    font-size: 15px;
    color: #475569;
    margin-bottom: 10px;
}

.author-all-posts {
    color: #e91e63;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

/* Post Navigation (Prev/Next) */
.bhaiyyantop-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 35px 0;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.nav-link-box {
    flex: 1;
}

.nav-link-box.next {
    text-align: right;
}

.nav-label {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.nav-link-box a {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
}

.nav-link-box a:hover {
    color: #00bcd4;
}

/* Related Posts Grid */
.bhaiyyantop-related-posts {
    margin: 45px 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Comments Area */
.bhaiyyantop-comments-area {
    margin-top: 50px;
    background: #ffffff;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Back To Top Floating Button */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e91e63;
    color: #ffffff;
    border: 2px solid #ffeb3b;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#backToTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#backToTopBtn:hover {
    background: #c2185b;
    transform: translateY(-4px);
}

@media (max-width: 992px) {
    .single-content-wrapper {
        flex-direction: column;
    }
    .bhaiyyantop-social-share {
        flex-direction: row;
        position: static;
        margin-bottom: 20px;
    }
}
