.profile-top-section{
    border-bottom: 0px;

}


/* ================================================
   BLOG POST SPECIFIC STYLES
   ================================================ */

/* Blog Post Container */
.blog-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    border-left: 4px solid #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: monospace;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #333;
    color: #ffffff;
    border-color: #333;
    transform: translateX(-5px);
}

/* Blog Post Header */
.blog-post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #747474;
}

/* Featured Image */
.blog-post-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-featured-image:hover img {
    transform: scale(1.05);
}

/* Post Meta Information */
.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-date,
.meta-read-time,
.meta-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 600;
    font-family: monospace;
}

.meta-date i,
.meta-read-time i,
.meta-author i {
    font-size: 12px;
}

/* Post Title */
.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
    font-family: monospace;
    letter-spacing: 1px;
}

/* Post Tags */
.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.post-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 2px solid #d0d0d0;
    color: #333;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    font-family: monospace;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    color: #ffffff;
    border-color: #000;
    transform: translateY(-2px);
}

/* Post Subtitle */
.blog-post-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    font-family: monospace;
    font-style: italic;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #333;
    border-radius: 4px;
}

/* Blog Post Content */
.blog-post-content {
    font-family: monospace;
    color: #2c2c2c;
    line-height: 1.8;
    font-size: 16px;
}
.main-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.blog-post-content .content-section {
    display: block; /* Override main styles.css display: none */
    margin-bottom: 40px;
}

.blog-post-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
    color: #000;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #333;
    letter-spacing: 0.3px;
}

.blog-post-content p {
    margin-bottom: 20px;
    text-align: left;
}

.blog-post-content strong {
    font-weight: bold;
    color: #000;
}

.blog-post-content a {
    color: maroon;
    text-decoration: underline dotted;
    transition: all 0.2s ease;
}

.blog-post-content a:hover {
    background-color: rgb(226, 191, 191);
}

/* Content Images */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 12px;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Lists */
.content-list {
    margin: 20px 0;
    padding-left: 30px;
}

.content-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-list li strong {
    color: #000;
}

/* Code Blocks */
.code-block {
    margin: 25px 0;
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #2d2d2d;
    border-bottom: 1px solid #444;
}

.code-language {
    font-size: 0.875rem;
    font-weight: 600;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copy-code-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-code-btn:hover {
    background-color: #555;
}

.code-block pre {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #d4d4d4;
}

/* Blockquotes */
.content-quote {
    position: relative;
    margin: 30px 0;
    padding: 25px 30px 25px 60px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-left: 5px solid #333;
    border-radius: 8px;
    font-style: italic;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #333;
    opacity: 0.3;
}

.content-quote p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
}

/* Info Boxes */
.info-box {
    margin: 25px 0;
    padding: 20px 25px;
    border-radius: 8px;
    border: 2px solid;
    background-color: #fff;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.info-box-header i {
    font-size: 18px;
}

.info-box p {
    margin: 0;
    line-height: 1.7;
}

.tip-box {
    border-color: #28a745;
    background-color: #f0f9f3;
}

.tip-box .info-box-header {
    color: #28a745;
}

.warning-box {
    border-color: #ffc107;
    background-color: #fff9e6;
}

.warning-box .info-box-header {
    color: #f57c00;
}

/* Blog Post Footer */
.blog-post-footer {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

/* Share Section */
.post-share {
    text-align: center;
    margin-bottom: 40px;
}

.post-share h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    font-family: monospace;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.share-btn.twitter:hover {
    background-color: #1DA1F2;
}

.share-btn.linkedin:hover {
    background-color: #0077B5;
}

.share-btn.facebook:hover {
    background-color: #1877F2;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.nav-post {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-post:hover {
    background-color: #333;
    color: #ffffff;
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-post.prev-post {
    border-left: 4px solid #333;
}

.nav-post.next-post {
    border-right: 4px solid #333;
    align-items: flex-end;
    text-align: right;
}

.nav-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.nav-post:hover .nav-label {
    color: #ffffff;
}

.nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    font-family: monospace;
}

.nav-post:hover .nav-title {
    color: #ffffff;
}

/* Back to Blog Button */
.back-to-blog {
    text-align: center;
}
.back-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #ffffff;
    border: 2px solid #000;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.back-blog-btn:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .blog-post {
        padding: 25px 20px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }

    .blog-post-featured-image {
        height: 250px;
    }

    .blog-post-title {
        font-size: 1.875rem;
    }

    .blog-post-content h2 {
        font-size: 1.5rem;
    }

    .blog-post-content h3 {
        font-size: 1.25rem;
    }

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

    .nav-post.next-post {
        align-items: flex-start;
        text-align: left;
    }

    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-post-featured-image {
        height: 200px;
    }

    .post-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ================================================
   BLOG SIDEBAR ENHANCEMENTS
   ================================================ */

/* Author Image Styling */
.blog-author-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-author-image img {
    width: 100%;
    height: 125%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-author-image:hover {
    transform: scale(1.03) rotate(3deg);
    border-color: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.blog-author-image:hover img {
    transform: scale(1.1);
}

/* Blog Tagline */
.blog-tagline {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
    font-family: monospace;
    font-style: italic;
    padding: 0 10px;
}

/* Author Bio Section */
.blog-author-bio {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border: 2px solid #e0e0e0;
    border-left: 4px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    transition: all 0.3s ease;
}

.blog-author-bio:hover {
    border-left-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateX(3px);
    cursor: pointer;
}

.bio-header {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #333;
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bio-text {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    font-family: monospace;
}

/* Blog Navigation Links */
.blog-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 25px 0;
}

.blog-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: monospace;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.blog-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #333 0%, #000 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.blog-nav-link:hover::before {
    width: 100%;
}

.blog-nav-link:hover {
    color: #ffffff;
    border-color: #333;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-nav-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.blog-nav-link:hover i {
    transform: scale(1.2);
}

/* Blog Social Links */
.blog-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 2px solid #e0e0e0;
}

.blog-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-social-icon::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background-color: #333;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-family: monospace;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.blog-social-icon:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.blog-social-icon:hover {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* LinkedIn */
.blog-social-icon:nth-child(1):hover {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    border-color: #0077b5;
    color: #ffffff;
}

/* GitHub */
.blog-social-icon:nth-child(2):hover {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    border-color: #333;
    color: #ffffff;
}

/* Instagram */
.blog-social-icon:nth-child(3):hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
    color: #ffffff;
}

.blog-post strong{
    font-weight: bold;
    background-color: #e7e4bb;
    color: black;
}

/* Responsive Adjustments for Blog Sidebar */
@media (max-width: 768px) {
    .blog-author-image {
        width: 100px;
        height: 100px;
    }

    .blog-author-bio {
        padding: 15px;
        margin: 20px 0;
    }

    .bio-header {
        font-size: 12px;
    }

    .bio-text {
        font-size: 12px;
    }

    .blog-nav-link {
        padding: 10px 14px;
        font-size: 12px;
    }

    .blog-social-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}
