/* ===== ToppersSky Blog Redesign — Exact Netleon.com/blog Match ===== */

/* ============================================================
   1. GLOBAL PAGE BACKGROUND (blog pages = white)
   ============================================================ */
body.blog,
body.archive,
body.search,
body.single-post,
body.single-boards,
body.single-ncert-solutions,
body.page-template-blog-template,
body.author {
    background-color: #fff !important;
}

body.blog .site-content,
body.archive .site-content,
body.search .site-content,
body.single-post .site-content,
body.single-boards .site-content,
body.single-ncert-solutions .site-content,
body.page-template-blog-template .site-content,
body.author .site-content {
    background-color: #fff !important;
    color: #1e293b;
}

body.blog #page,
body.archive #page,
body.search #page,
body.single-post #page,
body.single-boards #page,
body.single-ncert-solutions #page,
body.page-template-blog-template #page,
body.author #page {
    background-color: #fff !important;
}

/* Hide old layout remnants */
body.blog .archive-grid,
body.archive .archive-grid,
body.search .archive-grid,
body.page-template-blog-template .archive-grid,
body.blog .top-fold,
body.archive .top-fold,
body.archive .page-header,
body.blog .entry-thumbnail,
body.archive .entry-thumbnail {
    display: none !important;
}

/* ============================================================
   2. BLOG CONTAINER
   ============================================================ */
.netleon-blog-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
}

/* ============================================================
   3. THIN DARK HEADER SPACER (matches netleon black hero bar)
   ============================================================ */
.blogs-header-black {
    background: #0f172a;
    height: 80px;
    display: block;
}

/* ============================================================
   4. HERO SECTION
   ============================================================ */
.netleon-blog-hero {
    padding: 60px 24px 40px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.netleon-blog-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.netleon-blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.netleon-blog-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.netleon-blog-hero-title {
    font-size: clamp(1.9rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
}

.netleon-blog-hero-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   5. SEARCH BAR  — pixel-perfect
   ============================================================ */
.netleon-blog-search-section {
    max-width: 640px;
    margin: 0 auto 48px;
    padding: 0 20px;
}

.netleon-blog-search-wrap {
    width: 100%;
}

.netleon-blog-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    padding: 6px 28px 6px 22px;
    gap: 12px;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.netleon-blog-search-form:focus-within {
    border-color: #fbc97a;
    box-shadow: 0 0 0 3px rgba(246, 159, 53, 0.2);
}

.netleon-search-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: #94a3b8;
    flex-shrink: 0;
    display: block;
    pointer-events: none;
}

.netleon-blog-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 14px 0;
    font-size: 15px;
    color: #334155;
    font-family: inherit;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
}

.netleon-blog-search-input::-webkit-search-decoration,
.netleon-blog-search-input::-webkit-search-cancel-button,
.netleon-blog-search-input::-webkit-search-results-button,
.netleon-blog-search-input::-webkit-search-results-decoration {
    display: none;
}

.netleon-blog-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* ============================================================
   6. BLOG GRID SECTION
   ============================================================ */
.netleon-blog-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 72px;
}

.netleon-blog-grid-wrap {
    width: 100%;
}

.netleon-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ============================================================
   7. BLOG CARD  — exact netleon style
   ============================================================ */
.netleon-blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8edf3;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.netleon-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.10);
    border-color: transparent;
}

.netleon-blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Image */
.netleon-blog-card-img {
    width: 100%;
    aspect-ratio: 768 / 285;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.netleon-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.netleon-blog-card:hover .netleon-blog-card-img img {
    transform: scale(1.04);
}

/* Card Body */
.netleon-blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category Badge */
.netleon-blog-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #f69f35;
    background: #fffaef;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 11px;
    width: fit-content;
    line-height: 1.5;
}

/* Card Title */
.netleon-blog-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.netleon-blog-card-link:hover .netleon-blog-card-title {
    color: #f69f35;
}

/* Card Excerpt */
.netleon-blog-card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card Meta Row */
.netleon-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    gap: 8px;
}

/* Author */
.netleon-blog-card-author {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    min-width: 0;
}

.netleon-author-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

.netleon-author-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.netleon-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.netleon-post-date {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.3;
    white-space: nowrap;
}

/* Read Time */
.netleon-blog-card-info {
    flex-shrink: 0;
}

.netleon-read-time {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.netleon-read-time strong {
    color: #334155;
    font-weight: 700;
}

/* ============================================================
   8. PAGINATION
   ============================================================ */
.ts-blog-pagination {
    margin-top: 52px;
    text-align: center;
}

.ts-blog-pagination .nav-links {
    display: inline-flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ts-blog-pagination .nav-links a,
.ts-blog-pagination .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #fff;
}

.ts-blog-pagination .nav-links a:hover {
    background: #f69f35;
    color: #fff;
    border-color: #f69f35;
}

.ts-blog-pagination .nav-links .current {
    background: #f69f35;
    color: #fff;
    border-color: #f69f35;
    font-weight: 700;
}

/* ============================================================
   9. SINGLE POST PAGE — netleon.com layout match
   ============================================================ */

/* Container + Wrap */
.netleon-single-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Back link */
.netleon-single-back {
    margin-bottom: 24px;
}

.netleon-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.netleon-back-link:hover {
    color: #1e293b;
}

.netleon-back-link svg {
    flex-shrink: 0;
}

/* Two-column layout */
.netleon-single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

/* Main Content Column */
.netleon-single-content {
    min-width: 0;
}

/* Title */
/* Post title */
.netleon-single-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 18px 0;
    letter-spacing: -0.2px;
}

/* Meta row */
.netleon-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: #64748b;
}

.netleon-single-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.netleon-single-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

.netleon-single-author-link {
    text-decoration: none;
}

.netleon-single-author-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 13.5px;
}

.netleon-single-meta-sep {
    color: #cbd5e1;
    font-size: 13px;
}

.netleon-single-date {
    color: #64748b;
    font-size: 13.5px;
}

.netleon-single-readtime {
    color: #64748b;
    font-size: 13.5px;
}

.netleon-single-category {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Image */
.netleon-single-featured {
    margin-bottom: 28px;
    border-radius: 10px;
    overflow: hidden;
}

.netleon-single-featured-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Article Body Typography */
.netleon-single-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.netleon-single-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 32px 0 12px;
    line-height: 1.35;
}

.netleon-single-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 24px 0 10px;
    line-height: 1.4;
}

.netleon-single-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 18px 0 8px;
}

.netleon-single-body p {
    margin-bottom: 16px;
    color: #334155;
    font-size: 16px;
    line-height: 1.8;
}

.netleon-single-body ul,
.netleon-single-body ol {
    margin: 0 0 16px 0;
    padding-left: 3rem;
}

article.category-blog.post ul,
article.category-blog.post ol {
    padding-left: 3rem;
}

.netleon-single-body li {
    margin-bottom: 6px;
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}

.netleon-single-body a {
    color: #f69f35;
    text-decoration: underline;
}

.netleon-single-body a:hover {
    color: #d4840a;
}

.netleon-single-body blockquote {
    border-left: 4px solid #f69f35;
    margin: 22px 0;
    padding: 12px 18px;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 15.5px;
    color: #475569;
}

.netleon-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.netleon-single-body strong {
    color: #1e293b;
    font-weight: 700;
}

/* CTA Banner inside article */
.netleon-single-cta-banner {
    margin-top: 32px;
}

/* Sidebar Column */
.netleon-single-sidebar {
    position: sticky;
    top: 100px;
}

/* TOC Card */
.netleon-single-toc-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 20px 16px;
    margin-bottom: 24px;
}

/* "ON THIS PAGE" label */
.netleon-toc-label {
    font-size: 11px;
    font-weight: 700;
    color: #f69f35;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* TOC list */
.netleon-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

article.category-blog.post ul.netleon-toc-list {
    padding-left: 1rem;
}

.netleon-toc-item {
    margin: 0;
    padding: 0;
}

/* h3/h4 indented */
.netleon-toc-h3 {
    padding-left: 14px;
}
.netleon-toc-h4 {
    padding-left: 26px;
}

/* TOC link */
.netleon-toc-link {
    display: block;
    padding: 5px 0 5px 10px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #475569;
    text-decoration: none !important;
    border-left: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.netleon-toc-link:hover {
    color: #b8730a;
    border-left-color: #fddcaa;
}

/* Active state — blue left bar + blue text */
.netleon-toc-item.is-active > .netleon-toc-link,
.netleon-toc-link.is-active {
    color: #d4840a;
    font-weight: 600;
    border-left-color: #f69f35;
}

/* override old toc plugin styles */
.netleon-single-toc-wrap #ez-toc-container,
.netleon-single-toc-wrap #lwptoc,
.netleon-single-toc-wrap .lwptoc_i {
    display: none !important;
}

/* App CTA in sidebar */
/* App CTA in sidebar */
.netleon-single-app-cta {
    position: relative;
    background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 40%, #1c1408 100%);
    border-radius: 16px;
    padding: 28px 22px 24px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(246, 159, 53, 0.25);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.6),
        0 8px 32px rgba(0,0,0,0.5),
        0 2px 8px rgba(246,159,53,0.12),
        inset 0 1px 0 rgba(246,159,53,0.15);
}

/* Golden top glow line */
.netleon-single-app-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #f69f35, #ffd97a, #f69f35, transparent);
    border-radius: 100px;
}

/* Glossy sheen */
.netleon-single-app-cta::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.netleon-single-app-cta h3 {
    position: relative;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd97a 0%, #f69f35 50%, #e8870e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
    line-height: 1.4;
    letter-spacing: 0.2px;
    text-shadow: none;
}

.netleon-single-app-cta p {
    position: relative;
    font-size: 13px;
    color: #b0bec5;
    margin-bottom: 20px;
    line-height: 1.65;
}

.netleon-single-app-cta a {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.netleon-single-app-cta a:last-child {
    margin-bottom: 0;
}

.netleon-single-app-cta img {
    display: inline-block;
    border-radius: 10px;
    border: 1.5px solid rgba(246,159,53,0.6);
    box-shadow:
        0 2px 12px rgba(246,159,53,0.2),
        0 1px 4px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.netleon-single-app-cta img:hover {
    transform: translateY(-2px);
    border-color: #f69f35;
    box-shadow:
        0 6px 20px rgba(246,159,53,0.35),
        0 2px 8px rgba(0,0,0,0.4);
}

/* Post Navigation */
.netleon-single-content .post-navigation {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.netleon-single-content .post-navigation .nav-links {
    margin: 0;
}

.netleon-single-content .post-navigation .nav-previous,
.netleon-single-content .post-navigation .nav-next {
    max-width: 48%;
}

.netleon-single-content .post-navigation a {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.netleon-single-content .post-navigation a:hover {
    color: #f69f35;
}

.netleon-single-content .post-navigation .meta-nav {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 4px;
}

/* ============================================================
   RELATED POSTS — "More Blogs You May Like"
   ============================================================ */
.netleon-related-wrap {
    border-top: 1px solid #e2e8f0;
    padding: 48px 0 60px;
    background: #fff;
}

.netleon-related-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.netleon-related-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 28px 0;
}

.netleon-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.netleon-related-card {
    text-decoration: none !important;
    color: inherit;
}

@media (max-width: 768px) {
    .netleon-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .netleon-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   10. NO RESULTS
   ============================================================ */
.ts-blog-no-results {
    text-align: center;
    padding: 72px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.ts-blog-no-results h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.ts-blog-no-results p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   11. AUTHOR PAGE
   ============================================================ */
.ts-author-hero {
    padding: 140px 24px 40px;
    text-align: center;
    background: #fff;
}

.ts-author-hero-inner {
    max-width: 560px;
    margin: 0 auto;
}

.ts-author-avatar-lg {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    margin-bottom: 18px;
    border: 4px solid #e2e8f0;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ts-author-hero h1 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.ts-author-bio {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.ts-author-post-count {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 28px;
    text-align: center;
}

/* ============================================================
   12. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .netleon-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .netleon-single-layout {
        grid-template-columns: 1fr 240px;
        gap: 32px;
    }
}

/* ── Tablet: ≤768px ───────────────────────────── */
@media (max-width: 768px) {

    /* Hero */
    .netleon-blog-hero {
        padding: 36px 16px 24px;
    }
    .netleon-blog-hero-title {
        font-size: 1.7rem;
    }
    .netleon-blog-hero-desc {
        font-size: 14px;
    }

    /* Search */
    .netleon-blog-search-section {
        padding: 0 16px;
        margin-bottom: 28px;
    }
    .netleon-blog-search-input {
        padding: 11px 0;
        font-size: 14px;
    }

    /* Grid: 1 col */
    .netleon-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .netleon-blog-grid-section {
        padding: 0 16px 48px;
    }

    /* Single post layout: stack */
    .netleon-single-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .netleon-single-sidebar {
        position: static;
        top: auto;
    }
    .netleon-single-wrap {
        padding: 24px 16px 40px;
    }
    .netleon-single-title {
        font-size: 28px;
    }
    .netleon-single-meta {
        gap: 6px;
        font-size: 13px;
    }
    .netleon-single-body {
        font-size: 15px;
    }
    .netleon-single-body h2 { font-size: 20px; }
    .netleon-single-body h3 { font-size: 17px; }
    .netleon-single-body h4 { font-size: 15px; }

    /* TOC */
    .netleon-single-toc-wrap {
        display: none;
    }

    /* Post navigation */
    .netleon-single-content .post-navigation {
        flex-direction: column;
        gap: 12px;
    }
    .netleon-single-content .post-navigation .nav-previous,
    .netleon-single-content .post-navigation .nav-next {
        max-width: 100%;
    }

    /* Related posts: 2 col */
    .netleon-related-wrap {
        padding: 36px 0 48px;
    }
    .netleon-related-inner {
        padding: 0 16px;
    }
    .netleon-related-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .netleon-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Author hero */
    .ts-author-hero {
        padding: 100px 16px 28px;
    }
    .ts-author-hero h1 {
        font-size: 1.5rem;
    }

    /* Pagination */
    .ts-blog-pagination {
        margin-top: 36px;
    }
}

/* ── Mobile: ≤480px ───────────────────────────── */
@media (max-width: 480px) {

    /* Hero */
    .netleon-blog-hero-title {
        font-size: 1.45rem;
    }
    .netleon-blog-badge {
        font-size: 11px;
    }

    /* Card */
    .netleon-blog-card-body {
        padding: 14px 14px 16px;
    }
    .netleon-blog-card-title {
        font-size: 15px;
    }
    .netleon-blog-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Single post */
    .netleon-single-title {
        font-size: 22px;
        line-height: 1.3;
    }
    .netleon-single-meta {
        font-size: 12px;
        gap: 5px;
    }
    .netleon-single-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    .netleon-single-body {
        font-size: 14.5px;
    }
    .netleon-single-body h2 { font-size: 18px; }
    .netleon-single-body h3 { font-size: 16px; }
    .netleon-single-body h4 { font-size: 14.5px; }
    .netleon-single-body ul,
    .netleon-single-body ol {
        padding-left: 1.5rem;
    }

    /* Related: 1 col */
    .netleon-related-grid {
        grid-template-columns: 1fr;
    }
    .netleon-related-title {
        font-size: 18px;
    }

    /* App CTA */
    .netleon-single-app-cta {
        padding: 20px 16px;
    }

    /* Back link */
    .netleon-back-link {
        font-size: 13px;
    }

    /* Search */
    .netleon-blog-search-form {
        padding: 4px 16px 4px 14px;
    }

    /* Pagination */
    .ts-blog-pagination .nav-links a,
    .ts-blog-pagination .nav-links span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 10px;
    }
}


/* ===== Blog Hero Section ===== */
.ts-blog-hero {
    padding: 140px 20px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ts-blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ts-blog-badge svg {
    width: 14px;
    height: 14px;
}

.ts-blog-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.ts-blog-hero-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* ===== Search Section ===== */
.ts-blog-search-section {
    max-width: 600px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

.ts-blog-search-form {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 4px 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ts-blog-search-form:focus-within {
    border-color: #f69f35;
    box-shadow: 0 0 0 3px rgba(246, 159, 53, 0.1);
}

.ts-blog-search-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    flex-shrink: 0;
}

.ts-blog-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 15px;
    color: #1e293b;
    outline: none;
}

.ts-blog-search-input::placeholder {
    color: #94a3b8;
}

/* ===== Blog Grid ===== */
.ts-blog-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.ts-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== Blog Card ===== */
.ts-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ts-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ts-blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ts-blog-card-img {
    width: 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
    background: #f1f5f9;
}

.ts-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ts-blog-card:hover .ts-blog-card-img img {
    transform: scale(1.05);
}

.ts-blog-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ts-blog-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f69f35;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.ts-blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-blog-card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.ts-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.ts-blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ts-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.ts-author-details {
    display: flex;
    flex-direction: column;
}

.ts-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.ts-post-date {
    font-size: 12px;
    color: #94a3b8;
}

.ts-blog-card-info .ts-read-time {
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 12px;
}

.ts-read-time strong {
    color: #1e293b;
}

/* ===== Pagination ===== */
.ts-blog-pagination {
    text-align: center;
    margin-top: 50px;
}

.ts-blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ts-blog-pagination .nav-links a,
.ts-blog-pagination .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #fff;
}

.ts-blog-pagination .nav-links a:hover {
    background: #f69f35;
    color: #fff;
    border-color: #f69f35;
}

.ts-blog-pagination .nav-links .current {
    background: #f69f35;
    color: #fff;
    border-color: #f69f35;
}

/* ===== No Results ===== */
.ts-blog-no-results {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.ts-blog-no-results h2 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 12px;
}

.ts-blog-no-results p {
    color: #64748b;
    font-size: 16px;
}

/* ===== Author Page ===== */
.ts-author-hero {
    padding: 140px 20px 40px;
    text-align: center;
}

.ts-author-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

.ts-author-hero .ts-author-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #e2e8f0;
}

.ts-author-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.ts-author-hero .ts-author-bio {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

.ts-author-post-count {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .ts-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .ts-blog-hero {
        padding: 100px 16px 28px;
    }
    .ts-blog-hero-title {
        font-size: 1.8rem;
    }
    .ts-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ts-blog-card-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ts-blog-hero-title {
        font-size: 1.5rem;
    }
    .ts-blog-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
