/* ============================================
   BLOG STYLES - MODERN & MINIMAL
   ============================================ */

/* ===== Blog Listing Page ===== */

/* Blog Hero Section */
.blog-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #fff5ed 0%, #fffaf5 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #ffe8d6;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 120, 0, 0.12) 0%, rgba(255, 120, 0, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.blog-hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px 0;
    color: var(--main-dark-txt-color);
}

.blog-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--main-txt-color);
    margin: 0;
    opacity: 0.9;
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-posts-grid {
    row-gap: 32px;
}

/* Blog Card */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
}

.blog-card-image-link {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    background: #f5f5f5;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-no-image {
    display: grid;
    place-items: center;
    color: var(--main-txt-color);
    opacity: 0.5;
    font-weight: 600;
    font-size: 18px;
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--main-txt-color);
    opacity: 0.8;
}

.blog-category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 120, 0, 0.1), rgba(255, 90, 0, 0.05));
    border: 1px solid rgba(255, 120, 0, 0.2);
    color: var(--main-theme-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.blog-date {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--main-dark-txt-color);
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--main-theme-color);
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--main-txt-color);
    margin: 0;
    opacity: 0.9;
}

.blog-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.blog-author-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.blog-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.blog-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--main-dark-txt-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--main-theme-color);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blog-read-more:hover {
    gap: 10px;
    color: var(--main-theme-dark-color);
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

/* No Posts Found */
.blog-no-posts {
    padding: 100px 20px;
    text-align: center;
}

.no-posts-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.blog-no-posts h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    margin: 0 0 12px 0;
}

.blog-no-posts p {
    font-size: 16px;
    color: var(--main-txt-color);
    margin: 0;
    opacity: 0.8;
}

/* ===== Single Blog Post Page ===== */

/* Single Blog Hero Section */
.single-blog-hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #fff5ed 0%, #fffaf5 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #ffe8d6;
}

.single-blog-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 120, 0, 0.12) 0%, rgba(255, 120, 0, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.single-blog-hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.single-blog-hero-content {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.blog-breadcrumb a {
    color: var(--main-txt-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
    color: var(--main-theme-color);
}

.breadcrumb-separator {
    color: var(--main-txt-color);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--main-theme-color);
    font-weight: 600;
}

/* Category Badge */
.single-blog-category {
    margin-bottom: 20px;
}

.category-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 120, 0, 0.15), rgba(255, 90, 0, 0.1));
    border: 2px solid rgba(255, 120, 0, 0.3);
    color: var(--main-theme-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Title */
.single-blog-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--main-dark-txt-color);
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
}

/* Meta Info */
.single-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 0;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.meta-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.meta-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meta-author-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    line-height: 1.3;
}

.meta-author-role {
    font-size: 14px;
    color: var(--main-txt-color);
    opacity: 0.8;
    line-height: 1.3;
}

.meta-details {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
    color: var(--main-txt-color);
}

.meta-details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.meta-details i {
    color: var(--main-theme-color);
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Single Blog Content Section */
.single-blog-content-section {
    padding: 60px 0 80px;
    background: #fff;
}

/* Featured Image */
.single-blog-featured-image {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.single-blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.single-blog-article {
    margin-bottom: 60px;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--main-txt-color);
}

.lead-paragraph {
    font-size: 22px;
    line-height: 1.7;
    color: var(--main-dark-txt-color);
    font-weight: 500;
    margin-bottom: 32px;
}

.article-content h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--main-dark-txt-color);
    margin: 48px 0 24px 0;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--main-dark-txt-color);
    margin: 40px 0 20px 0;
}

.article-content h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--main-dark-txt-color);
    margin: 32px 0 16px 0;
}

.article-content p {
    margin: 0 0 20px 0;
}

.article-content a {
    color: var(--main-theme-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 120, 0, 0.3);
    transition: all 0.2s ease;
}

.article-content a:hover {
    border-bottom-color: var(--main-theme-color);
}

.content-list {
    margin: 24px 0;
    padding-left: 24px;
}

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

.article-quote {
    margin: 40px 0;
    padding: 32px 40px;
    background: linear-gradient(135deg, #fff5ed 0%, #fffaf5 100%);
    border-left: 4px solid var(--main-theme-color);
    border-radius: 12px;
    font-size: 20px;
    line-height: 1.7;
    font-style: italic;
    color: var(--main-dark-txt-color);
}

.article-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    color: var(--main-theme-color);
}

.content-image-wrapper {
    margin: 40px 0;
}

.content-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.image-caption {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
    color: var(--main-txt-color);
    opacity: 0.8;
    font-style: italic;
}

/* Article Tags */
.article-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #f0f0f0;
}

.tags-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-link {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--main-txt-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: var(--main-theme-color);
    border-color: var(--main-theme-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Article Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.share-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-dark-txt-color);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

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

.share-link:hover {
    background: var(--main-theme-color);
    border-color: var(--main-theme-color);
    color: #fff;
}

/* Author Bio */
.article-author-bio {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, #fff5ed 0%, #fffaf5 100%);
    border-radius: 16px;
    border: 2px solid #ffe8d6;
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-bio-content {
    flex: 1;
}

.author-bio-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--main-dark-txt-color);
    margin: 0 0 4px 0;
}

.author-bio-title {
    font-size: 15px;
    color: var(--main-theme-color);
    font-weight: 600;
    margin: 0 0 12px 0;
}

.author-bio-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--main-txt-color);
    margin: 0 0 16px 0;
}

.author-bio-social {
    display: flex;
    gap: 10px;
}

.author-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-dark-txt-color);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.author-social-link:hover {
    background: var(--main-theme-color);
    border-color: var(--main-theme-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts-section {
    padding: 80px 0;
    background: #fafafa;
}

.related-posts-heading {
    font-size: 36px;
    font-weight: 800;
    color: var(--main-dark-txt-color);
    margin: 0 0 40px 0;
    text-align: center;
}

/* Blog CTA Section */
.blog-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #020026 0%, #1a1a3e 100%);
    position: relative;
    overflow: hidden;
}

.blog-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 120, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.blog-cta-wrapper {
    position: relative;
    z-index: 1;
}

.blog-cta-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

.blog-cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .blog-hero-title {
        font-size: 40px;
    }

    .single-blog-title {
        font-size: 38px;
    }

    .article-content {
        font-size: 17px;
    }

    .lead-paragraph {
        font-size: 20px;
    }

    .article-content h2 {
        font-size: 32px;
    }

    .article-content h3 {
        font-size: 24px;
    }

    .article-author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .blog-cta-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .blog-hero-section {
        padding: 60px 0 40px;
    }

    .blog-hero-title {
        font-size: 32px;
    }

    .blog-hero-subtitle {
        font-size: 16px;
    }

    .blog-posts-section {
        padding: 60px 0;
    }

    .blog-posts-grid {
        row-gap: 24px;
    }

    .blog-card-title {
        font-size: 18px;
    }

    .single-blog-hero-section {
        padding: 50px 0 30px;
    }

    .single-blog-title {
        font-size: 28px;
    }

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

    .meta-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .single-blog-content-section {
        padding: 40px 0 60px;
    }

    .article-content {
        font-size: 16px;
    }

    .lead-paragraph {
        font-size: 18px;
    }

    .article-content h2 {
        font-size: 26px;
        margin: 32px 0 16px 0;
    }

    .article-content h3 {
        font-size: 22px;
        margin: 28px 0 14px 0;
    }

    .article-quote {
        padding: 24px 20px;
        font-size: 18px;
    }

    .author-bio-avatar img {
        width: 80px;
        height: 80px;
    }

    .author-bio-name {
        font-size: 20px;
    }

    .related-posts-section {
        padding: 60px 0;
    }

    .related-posts-heading {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .blog-cta-section {
        padding: 60px 0;
    }

    .blog-cta-title {
        font-size: 26px;
    }

    .blog-cta-description {
        font-size: 16px;
    }

    .blog-cta-buttons {
        flex-direction: column;
    }

    .blog-cta-buttons .ts-theme-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-card-content {
        padding: 18px;
    }

    .single-blog-title {
        font-size: 24px;
    }

    .article-tags,
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .author-bio-avatar img {
        width: 64px;
        height: 64px;
    }
}

/* ============================================
   REDESIGNED SINGLE BLOG POST STYLES
   ============================================ */

/* Single Blog Section */
.single-blog-section {
    padding: 60px 0 100px;
    background: #ffffff;
}

/* Post Header */
.single-post-header {
    margin-bottom: 50px;
}

.post-category-badge {
    margin-bottom: 20px;
}

.category-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 120, 0, 0.1), rgba(255, 92, 0, 0.05));
    border: 2px solid rgba(255, 120, 0, 0.25);
    border-radius: 50px;
    color: var(--main-theme-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge-link:hover {
    background: var(--main-theme-color);
    color: #ffffff;
    border-color: var(--main-theme-color);
    transform: translateY(-2px);
}

.post-main-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--main-dark-txt-color);
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

/* Post Meta Info */
.post-meta-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    flex-wrap: wrap;
}

.meta-author-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-wrapper {
    flex-shrink: 0;
}

.author-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.author-avatar-img:hover {
    border-color: var(--main-theme-color);
}

.author-meta-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name-link {
    font-size: 17px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-name-link:hover {
    color: var(--main-theme-color);
}

.author-designation-text {
    font-size: 14px;
    color: var(--main-txt-color);
    opacity: 0.8;
}

.meta-stats-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-stats-wrapper .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--main-txt-color);
    white-space: nowrap;
}

.meta-stats-wrapper .meta-item i {
    color: var(--main-theme-color);
    font-size: 16px;
}

/* Featured Image */
.post-featured-image-wrapper {
    margin: 50px 0;
    border-radius: 20px;
    overflow: hidden;
}

.post-featured-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
    border-radius: 5px;
}

/* Post Content */
.post-content-wrapper {
    margin-top: 50px;
}

.post-main-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--main-txt-color);
}

.post-main-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--main-dark-txt-color);
    margin: 50px 0 25px 0;
}

.post-main-content h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--main-dark-txt-color);
    margin: 40px 0 20px 0;
}

.post-main-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--main-dark-txt-color);
    margin: 32px 0 16px 0;
}

.post-main-content p {
    margin: 0 0 24px 0;
}

.post-main-content a {
    color: var(--main-theme-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.post-main-content a:hover {
    color: var(--main-theme-dark-color);
    text-decoration-thickness: 2px;
}

.post-main-content ul,
.post-main-content ol {
    margin: 24px 0;
    padding-left: 30px;
}

.post-main-content li {
    margin-bottom: 12px;
}

.post-main-content img {
    border-radius: 12px;
    margin: 30px 0;
}

.post-main-content blockquote {
    margin: 40px 0;
    padding: 30px 35px;
    background: linear-gradient(135deg, #fff5ed 0%, #fffaf5 100%);
    border-left: 5px solid var(--main-theme-color);
    border-radius: 10px;
    font-size: 20px;
    line-height: 1.7;
    font-style: italic;
    color: var(--main-dark-txt-color);
}

.post-main-content code {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.post-main-content pre {
    background: #1e1e1e;
    color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

/* Tags Section */
.post-tags-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e8e8e8;
}

.tags-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tags-section-title i {
    color: var(--main-theme-color);
}

.tags-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-badge {
    display: inline-block;
    padding: 10px 18px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--main-txt-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background: var(--main-theme-color);
    border-color: var(--main-theme-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 120, 0, 0.3);
}

/* Share Section */
.post-share-section {
    margin-top: 40px;
    padding: 35px;
    background: #f8f9fa;
    border-radius: 15px;
}

.share-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-section-title i {
    color: var(--main-theme-color);
}

.share-buttons-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--main-dark-txt-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

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

.share-copy:hover {
    background: var(--main-theme-color);
    border-color: var(--main-theme-color);
    color: #ffffff;
}

/* Post Navigation */
.post-navigation-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.nav-post {
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.nav-post:hover {
    border-color: var(--main-theme-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.nav-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--main-theme-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.nav-post-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
}

.nav-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.nav-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-post-content {
    flex: 1;
    min-width: 0;
}

.nav-post-category {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--main-theme-color);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.nav-post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--main-dark-txt-color);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nav-post:hover .nav-post-title {
    color: var(--main-theme-color);
}

/* Author Bio Card */
.author-bio-card {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #fff5ed 0%, #fffaf5 100%);
    border: 2px solid #ffe8d6;
    border-radius: 20px;
}

.author-bio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.author-bio-name {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.author-bio-name a {
    color: var(--main-dark-txt-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-bio-name a:hover {
    color: var(--main-theme-color);
}

.author-bio-title {
    font-size: 15px;
    color: var(--main-theme-color);
    font-weight: 600;
    margin: 5px 0 0 0;
}

.author-bio-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--main-txt-color);
    margin-bottom: 20px;
}

.author-bio-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 120, 0, 0.2);
}

.author-posts-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--main-theme-color);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.author-posts-link:hover {
    gap: 12px;
    color: var(--main-theme-dark-color);
}

/* Newsletter CTA */
.post-newsletter-cta {
    margin: 60px 0;
    padding: 50px;
    background: linear-gradient(135deg, #020026 0%, #1a1a3e 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.post-newsletter-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 120, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 30px;
}

.newsletter-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--main-theme-color) 0%, var(--main-theme-dark-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-icon i {
    font-size: 36px;
    color: #ffffff;
}

.newsletter-text {
    flex: 1;
}

.newsletter-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.newsletter-cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-action .ts-theme-button {
    white-space: nowrap;
}

/* Comments Section */
.post-comments-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 3px solid #e8e8e8;
}

.comments-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--main-dark-txt-color);
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-section-title i {
    color: var(--main-theme-color);
}

/* Responsive Styles for Redesigned Blog */
@media (max-width: 991px) {
    .post-main-title {
        font-size: 38px;
    }

    .post-newsletter-cta {
        padding: 40px;
    }

    .newsletter-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-cta-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .single-blog-section {
        padding: 40px 0 60px;
    }

    .post-main-title {
        font-size: 28px;
    }

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

    .meta-stats-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .post-main-content {
        font-size: 16px;
    }

    .post-main-content h2 {
        font-size: 26px;
        margin: 35px 0 18px 0;
    }

    .post-main-content h3 {
        font-size: 22px;
    }

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

    .author-bio-card {
        padding: 25px;
    }

    .author-bio-header {
        flex-direction: column;
        text-align: center;
    }

    .author-bio-img {
        width: 80px;
        height: 80px;
    }

    .author-bio-name {
        font-size: 22px;
    }

    .post-newsletter-cta {
        padding: 30px 20px;
    }

    .newsletter-icon {
        width: 60px;
        height: 60px;
    }

    .newsletter-icon i {
        font-size: 28px;
    }

    .newsletter-cta-title {
        font-size: 20px;
    }

    .newsletter-cta-description {
        font-size: 14px;
    }

    .post-share-section {
        padding: 25px 20px;
    }

    .share-button {
        padding: 10px 18px;
        font-size: 13px;
    }
}
