/* ═══════════════════════════════════════════════════════
   Blog / News Page – 2026 Design System
   Prefix: tb-bl-
   Accent: #4e64df
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.tb-bl-hero {
    background: linear-gradient(135deg, #0b0d17 0%, #141833 100%);
    padding: 80px 0 60px; 
    text-align: center;
}
.tb-bl-hero-inner { max-width: 720px; margin: 0 auto; }
.tb-bl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 1.85rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    margin-bottom: 20px; 
}
.tb-bl-badge i { color: #4e64df; }
.tb-bl-title {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 18px;
}
.tb-bl-title span { color: #4e64df; }
.tb-bl-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin: 0;
}

/* ── Category Filter ── */
.tb-bl-cats {
    padding: 30px 0 0;
    background: #fff;
}
.tb-bl-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.tb-bl-cat-link {
    display: inline-block;
    padding: 10px 24px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
    background: #f8f9fc;
    border: 1px solid #eef1f8;
    border-radius: 30px;
    text-decoration: none;
    transition: all .25s ease;
}
.tb-bl-cat-link:hover,
.tb-bl-cat-link.active {
    background: #4e64df;
    color: #fff;
    border-color: #4e64df;
}

/* ── Featured Post ── */
.tb-bl-featured {
    padding: 50px 0 30px;
    background: #fff;
}
.tb-bl-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #f8f9fc;
    border: 1px solid #eef1f8;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow .3s ease;
}
.tb-bl-featured-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
}
.tb-bl-featured-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}
.tb-bl-featured-body {
    padding: 36px 36px 36px 0;
}
.tb-bl-featured-cat {
    display: inline-block;
    padding: 6px 16px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #4e64df;
    background: rgba(78,100,223,.1);
    border-radius: 20px;
    margin-bottom: 14px;
}
.tb-bl-featured-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px;
    line-height: 1.3;
}
.tb-bl-featured-title a { color: inherit; text-decoration: none; }
.tb-bl-featured-title a:hover { color: #4e64df; }
.tb-bl-featured-excerpt {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 18px;
}
.tb-bl-featured-meta {
    font-size: 1.4rem;
    color: #888;
}
.tb-bl-featured-meta i { color: #4e64df; margin-right: 4px; }

/* ── Posts Grid ── */
.tb-bl-posts {
    padding: 50px 0 60px;
    background: #fff;
}
.tb-bl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
a.tb-bl-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #f8f9fc;
    border: 1px solid #eef1f8;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
a.tb-bl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
    border-color: #4e64df;
    color: inherit;
    text-decoration: none;
}
.tb-bl-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.tb-bl-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4e64df20, #6b7eff20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4e64df;
    font-size: 2rem;
}
.tb-bl-card-body { padding: 24px; }
.tb-bl-card-cat {
    display: inline-block;
    padding: 5px 14px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4e64df;
    background: rgba(78,100,223,.1);
    border-radius: 16px;
    margin-bottom: 10px;
}
.tb-bl-card-title {
    font-size: 1.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.35;
}
.tb-bl-card-title a { color: inherit; text-decoration: none; }
.tb-bl-card-title a:hover { color: #4e64df; }
.tb-bl-card-excerpt {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tb-bl-card-meta {
    font-size: 1.3rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 14px;
}
.tb-bl-card-meta i { color: #4e64df; margin-right: 3px; }

/* ── Pagination ── */
.tb-bl-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.tb-bl-page-link {
    padding: 10px 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
    background: #f8f9fc;
    border: 1px solid #eef1f8;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s ease;
}
.tb-bl-page-link:hover,
.tb-bl-page-link.active {
    background: #4e64df;
    color: #fff;
    border-color: #4e64df;
}
.tb-bl-page-link.disabled {
    opacity: .4;
    pointer-events: none;
}

/* ── CTA Banner ── */
.tb-bl-cta {
    background: linear-gradient(135deg, #0b0d17 0%, #141833 100%);
    text-align: center;
    padding: 60px 0;
}
.tb-bl-cta h2 {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.tb-bl-cta p {
    font-size: 2rem;
    color: rgba(255,255,255,.6);
    margin: 0 0 28px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.tb-bl-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4e64df;
    color: #fff;
    font-size: 1.95rem;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}
.tb-bl-cta-btn:hover {
    background: #3a50c8;
    transform: translateY(-2px);
    color: #fff;
}

/* ══════════════════════════════════════════
   Single Post Page
   ══════════════════════════════════════════ */
.tb-bl-post-hero {
    background: linear-gradient(135deg, #0b0d17 0%, #141833 100%);
    padding: 80px 0 50px;
    text-align: center;
}
.tb-bl-post-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}
.tb-bl-post-hero-cat {
    display: inline-block;
    padding: 8px 22px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(78,100,223,.15);
    border-radius: 6px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: background .2s;
}
.tb-bl-post-hero-cat:hover {
    background: rgba(78,100,223,.25);
    color: #4e64df;
}
.tb-bl-post-hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}
.tb-bl-post-hero-meta {
    font-size: 1.5rem;
    color: rgba(255,255,255,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.tb-bl-post-hero-meta i { color: #4e64df; margin-right: 6px; }

.tb-bl-post-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

/* Post 2-column Layout */
.tb-bl-post-content {
    padding: 50px 0 60px;
    background: #fff;
}
.tb-bl-post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}
.tb-bl-post-main { min-width: 0; }

/* Post Body */
.tb-bl-post-body {
    font-size: 1.85rem;
    color: #333;
    line-height: 1.85;
}
.tb-bl-post-body h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 36px 0 14px;
}
.tb-bl-post-body h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 12px;
}
.tb-bl-post-body p { margin: 0 0 18px; }
.tb-bl-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}
.tb-bl-post-body blockquote {
    border-left: 4px solid #4e64df;
    padding: 16px 24px;
    background: #f8f9fc;
    border-radius: 0 10px 10px 0;
    margin: 24px 0;
    font-style: italic;
    color: #555;
}
.tb-bl-post-body ul, .tb-bl-post-body ol {
    padding-left: 24px;
    margin: 12px 0 18px;
}
.tb-bl-post-body li { margin-bottom: 8px; }

/* Share Buttons */
.tb-bl-post-share {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 0;
    margin-top: 30px;
    border-top: 1px solid #eef1f8;
    font-size: 1.5rem;
    color: #555;
}
.tb-bl-post-share a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fc;
    border: 1px solid #eef1f8;
    color: #555;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all .25s ease;
}
.tb-bl-post-share a:hover {
    background: #4e64df;
    border-color: #4e64df;
    color: #fff;
}

/* Back Link */
.tb-bl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #4e64df;
    text-decoration: none;
    margin-top: 20px;
    transition: color .2s;
}
.tb-bl-back-link:hover { color: #3a50c8; }

/* ── Sidebar ── */
.tb-bl-sidebar { position: sticky; top: 30px; }
.tb-bl-sidebar-block {
    background: #f8f9fc;
    border: 1px solid #eef1f8;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}
.tb-bl-sidebar-block h4 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #4e64df;
}

/* Recent Posts in sidebar */
.tb-bl-sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tb-bl-sidebar-posts li { margin-bottom: 16px; }
.tb-bl-sidebar-posts li:last-child { margin-bottom: 0; }
.tb-bl-sidebar-posts a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
    transition: opacity .2s;
}
.tb-bl-sidebar-posts a:hover { opacity: .8; }
.tb-bl-sidebar-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.tb-bl-sidebar-post-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}
.tb-bl-sidebar-posts a:hover .tb-bl-sidebar-post-title { color: #4e64df; }
.tb-bl-sidebar-post-date {
    display: block;
    font-size: 1.2rem;
    color: #999;
    margin-top: 3px;
}

/* Categories in sidebar */
.tb-bl-sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tb-bl-sidebar-cats li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f8;
}
.tb-bl-sidebar-cats li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.tb-bl-sidebar-cats a {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    color: #555;
    text-decoration: none;
    transition: color .2s;
}
.tb-bl-sidebar-cats a:hover,
.tb-bl-sidebar-cats a.active { color: #4e64df; font-weight: 600; }
.tb-bl-sidebar-cats span { color: #999; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .tb-bl-title { font-size: 2.8rem; }
    .tb-bl-post-hero-title { font-size: 2.8rem; }
    .tb-bl-grid { grid-template-columns: repeat(2, 1fr); }
    .tb-bl-featured-card { grid-template-columns: 1fr; }
    .tb-bl-featured-body { padding: 24px; }
    .tb-bl-post-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .tb-bl-hero { padding: 60px 0 40px; }
    .tb-bl-title { font-size: 2.2rem; }
    .tb-bl-subtitle { font-size: 1.2rem; }
    .tb-bl-post-hero-title { font-size: 2.2rem; }
    .tb-bl-post-hero-meta { flex-direction: column; gap: 8px; }
    .tb-bl-grid { grid-template-columns: 1fr; }
    .tb-bl-featured-img { min-height: 200px; }
    .tb-bl-featured-title { font-size: 2rem; }
    .tb-bl-cta h2 { font-size: 2rem; }
    .tb-bl-cta p { font-size: 1.3rem; }
    .tb-bl-post-body { font-size: 1.4rem; }
    .tb-bl-post-body h2 { font-size: 2rem; }
    .tb-bl-post-body h3 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
    .tb-bl-title { font-size: 1.8rem; }
    .tb-bl-post-hero-title { font-size: 1.8rem; }
    .tb-bl-card-title { font-size: 1.5rem; }
}
